1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for package-unused version-unused.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68	 X"$0" : 'X\(//\)$' \| \
69	 X"$0" : 'X\(/\)$' \| \
70	 .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
74  	  /^X\/\(\/\).*/{ s//\1/; q; }
75  	  s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136	 case $as_dir in
137	 /*)
138	   if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146	     CONFIG_SHELL=$as_dir/$as_base
147	     export CONFIG_SHELL
148	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149	   fi;;
150	 esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='	' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" 	$as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete.  It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME='package-unused'
269PACKAGE_TARNAME='libstdc++'
270PACKAGE_VERSION='version-unused'
271PACKAGE_STRING='package-unused version-unused'
272PACKAGE_BUGREPORT=''
273
274ac_unique_file="src/ios.cc"
275# Factoring default headers for most tests.
276ac_includes_default="\
277#include <stdio.h>
278#if HAVE_SYS_TYPES_H
279# include <sys/types.h>
280#endif
281#if HAVE_SYS_STAT_H
282# include <sys/stat.h>
283#endif
284#if STDC_HEADERS
285# include <stdlib.h>
286# include <stddef.h>
287#else
288# if HAVE_STDLIB_H
289#  include <stdlib.h>
290# endif
291#endif
292#if HAVE_STRING_H
293# if !STDC_HEADERS && HAVE_MEMORY_H
294#  include <memory.h>
295# endif
296# include <string.h>
297#endif
298#if HAVE_STRINGS_H
299# include <strings.h>
300#endif
301#if HAVE_INTTYPES_H
302# include <inttypes.h>
303#else
304# if HAVE_STDINT_H
305#  include <stdint.h>
306# endif
307#endif
308#if HAVE_UNISTD_H
309# include <unistd.h>
310#endif"
311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313ac_subst_files=''
314
315# Initialize some variables set by options.
316ac_init_help=
317ac_init_version=false
318# The variables have the same names as the options, with
319# dashes changed to underlines.
320cache_file=/dev/null
321exec_prefix=NONE
322no_create=
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
331verbose=
332x_includes=NONE
333x_libraries=NONE
334
335# Installation directory options.
336# These are left unexpanded so users can "make install exec_prefix=/foo"
337# and all the variables that are supposed to be based on exec_prefix
338# by default will actually change.
339# Use braces instead of parens because sh, perl, etc. also accept them.
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
353ac_prev=
354for ac_option
355do
356  # If the previous option needs an argument, assign it.
357  if test -n "$ac_prev"; then
358    eval "$ac_prev=\$ac_option"
359    ac_prev=
360    continue
361  fi
362
363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365  # Accept the important Cygnus configure options, so we can diagnose typos.
366
367  case $ac_option in
368
369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
370    ac_prev=bindir ;;
371  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372    bindir=$ac_optarg ;;
373
374  -build | --build | --buil | --bui | --bu)
375    ac_prev=build_alias ;;
376  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377    build_alias=$ac_optarg ;;
378
379  -cache-file | --cache-file | --cache-fil | --cache-fi \
380  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381    ac_prev=cache_file ;;
382  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384    cache_file=$ac_optarg ;;
385
386  --config-cache | -C)
387    cache_file=config.cache ;;
388
389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390    ac_prev=datadir ;;
391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392  | --da=*)
393    datadir=$ac_optarg ;;
394
395  -disable-* | --disable-*)
396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397    # Reject names that are not valid shell variable names.
398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400   { (exit 1); exit 1; }; }
401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402    eval "enable_$ac_feature=no" ;;
403
404  -enable-* | --enable-*)
405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406    # Reject names that are not valid shell variable names.
407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409   { (exit 1); exit 1; }; }
410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411    case $ac_option in
412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413      *) ac_optarg=yes ;;
414    esac
415    eval "enable_$ac_feature='$ac_optarg'" ;;
416
417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419  | --exec | --exe | --ex)
420    ac_prev=exec_prefix ;;
421  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423  | --exec=* | --exe=* | --ex=*)
424    exec_prefix=$ac_optarg ;;
425
426  -gas | --gas | --ga | --g)
427    # Obsolete; use --with-gas.
428    with_gas=yes ;;
429
430  -help | --help | --hel | --he | -h)
431    ac_init_help=long ;;
432  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433    ac_init_help=recursive ;;
434  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435    ac_init_help=short ;;
436
437  -host | --host | --hos | --ho)
438    ac_prev=host_alias ;;
439  -host=* | --host=* | --hos=* | --ho=*)
440    host_alias=$ac_optarg ;;
441
442  -includedir | --includedir | --includedi | --included | --include \
443  | --includ | --inclu | --incl | --inc)
444    ac_prev=includedir ;;
445  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446  | --includ=* | --inclu=* | --incl=* | --inc=*)
447    includedir=$ac_optarg ;;
448
449  -infodir | --infodir | --infodi | --infod | --info | --inf)
450    ac_prev=infodir ;;
451  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452    infodir=$ac_optarg ;;
453
454  -libdir | --libdir | --libdi | --libd)
455    ac_prev=libdir ;;
456  -libdir=* | --libdir=* | --libdi=* | --libd=*)
457    libdir=$ac_optarg ;;
458
459  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460  | --libexe | --libex | --libe)
461    ac_prev=libexecdir ;;
462  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463  | --libexe=* | --libex=* | --libe=*)
464    libexecdir=$ac_optarg ;;
465
466  -localstatedir | --localstatedir | --localstatedi | --localstated \
467  | --localstate | --localstat | --localsta | --localst \
468  | --locals | --local | --loca | --loc | --lo)
469    ac_prev=localstatedir ;;
470  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473    localstatedir=$ac_optarg ;;
474
475  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476    ac_prev=mandir ;;
477  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478    mandir=$ac_optarg ;;
479
480  -nfp | --nfp | --nf)
481    # Obsolete; use --without-fp.
482    with_fp=no ;;
483
484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485  | --no-cr | --no-c | -n)
486    no_create=yes ;;
487
488  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490    no_recursion=yes ;;
491
492  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494  | --oldin | --oldi | --old | --ol | --o)
495    ac_prev=oldincludedir ;;
496  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499    oldincludedir=$ac_optarg ;;
500
501  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502    ac_prev=prefix ;;
503  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504    prefix=$ac_optarg ;;
505
506  -program-prefix | --program-prefix | --program-prefi | --program-pref \
507  | --program-pre | --program-pr | --program-p)
508    ac_prev=program_prefix ;;
509  -program-prefix=* | --program-prefix=* | --program-prefi=* \
510  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511    program_prefix=$ac_optarg ;;
512
513  -program-suffix | --program-suffix | --program-suffi | --program-suff \
514  | --program-suf | --program-su | --program-s)
515    ac_prev=program_suffix ;;
516  -program-suffix=* | --program-suffix=* | --program-suffi=* \
517  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518    program_suffix=$ac_optarg ;;
519
520  -program-transform-name | --program-transform-name \
521  | --program-transform-nam | --program-transform-na \
522  | --program-transform-n | --program-transform- \
523  | --program-transform | --program-transfor \
524  | --program-transfo | --program-transf \
525  | --program-trans | --program-tran \
526  | --progr-tra | --program-tr | --program-t)
527    ac_prev=program_transform_name ;;
528  -program-transform-name=* | --program-transform-name=* \
529  | --program-transform-nam=* | --program-transform-na=* \
530  | --program-transform-n=* | --program-transform-=* \
531  | --program-transform=* | --program-transfor=* \
532  | --program-transfo=* | --program-transf=* \
533  | --program-trans=* | --program-tran=* \
534  | --progr-tra=* | --program-tr=* | --program-t=*)
535    program_transform_name=$ac_optarg ;;
536
537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538  | -silent | --silent | --silen | --sile | --sil)
539    silent=yes ;;
540
541  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542    ac_prev=sbindir ;;
543  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544  | --sbi=* | --sb=*)
545    sbindir=$ac_optarg ;;
546
547  -sharedstatedir | --sharedstatedir | --sharedstatedi \
548  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549  | --sharedst | --shareds | --shared | --share | --shar \
550  | --sha | --sh)
551    ac_prev=sharedstatedir ;;
552  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555  | --sha=* | --sh=*)
556    sharedstatedir=$ac_optarg ;;
557
558  -site | --site | --sit)
559    ac_prev=site ;;
560  -site=* | --site=* | --sit=*)
561    site=$ac_optarg ;;
562
563  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564    ac_prev=srcdir ;;
565  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566    srcdir=$ac_optarg ;;
567
568  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569  | --syscon | --sysco | --sysc | --sys | --sy)
570    ac_prev=sysconfdir ;;
571  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573    sysconfdir=$ac_optarg ;;
574
575  -target | --target | --targe | --targ | --tar | --ta | --t)
576    ac_prev=target_alias ;;
577  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578    target_alias=$ac_optarg ;;
579
580  -v | -verbose | --verbose | --verbos | --verbo | --verb)
581    verbose=yes ;;
582
583  -version | --version | --versio | --versi | --vers | -V)
584    ac_init_version=: ;;
585
586  -with-* | --with-*)
587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588    # Reject names that are not valid shell variable names.
589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590      { echo "$as_me: error: invalid package name: $ac_package" >&2
591   { (exit 1); exit 1; }; }
592    ac_package=`echo $ac_package| sed 's/-/_/g'`
593    case $ac_option in
594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595      *) ac_optarg=yes ;;
596    esac
597    eval "with_$ac_package='$ac_optarg'" ;;
598
599  -without-* | --without-*)
600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601    # Reject names that are not valid shell variable names.
602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603      { echo "$as_me: error: invalid package name: $ac_package" >&2
604   { (exit 1); exit 1; }; }
605    ac_package=`echo $ac_package | sed 's/-/_/g'`
606    eval "with_$ac_package=no" ;;
607
608  --x)
609    # Obsolete; use --with-x.
610    with_x=yes ;;
611
612  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613  | --x-incl | --x-inc | --x-in | --x-i)
614    ac_prev=x_includes ;;
615  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617    x_includes=$ac_optarg ;;
618
619  -x-libraries | --x-libraries | --x-librarie | --x-librari \
620  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621    ac_prev=x_libraries ;;
622  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624    x_libraries=$ac_optarg ;;
625
626  -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628   { (exit 1); exit 1; }; }
629    ;;
630
631  *=*)
632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633    # Reject names that are not valid shell variable names.
634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636   { (exit 1); exit 1; }; }
637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638    eval "$ac_envvar='$ac_optarg'"
639    export $ac_envvar ;;
640
641  *)
642    # FIXME: should be removed in autoconf 3.0.
643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647    ;;
648
649  esac
650done
651
652if test -n "$ac_prev"; then
653  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654  { echo "$as_me: error: missing argument to $ac_option" >&2
655   { (exit 1); exit 1; }; }
656fi
657
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
661  eval ac_val=$`echo $ac_var`
662  case $ac_val in
663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665   { (exit 1); exit 1; }; };;
666  esac
667done
668
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671	      localstatedir libdir includedir oldincludedir infodir mandir
672do
673  eval ac_val=$`echo $ac_var`
674  case $ac_val in
675    [\\/$]* | ?:[\\/]* ) ;;
676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677   { (exit 1); exit 1; }; };;
678  esac
679done
680
681# There might be people who depend on the old broken behavior: `$host'
682# used to hold the argument of --host etc.
683# FIXME: To remove some day.
684build=$build_alias
685host=$host_alias
686target=$target_alias
687
688# FIXME: To remove some day.
689if test "x$host_alias" != x; then
690  if test "x$build_alias" = x; then
691    cross_compiling=maybe
692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693    If a cross compiler is detected then cross compile mode will be used." >&2
694  elif test "x$build_alias" != "x$host_alias"; then
695    cross_compiling=yes
696  fi
697fi
698
699ac_tool_prefix=
700test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702test "$silent" = yes && exec 6>/dev/null
703
704
705# Find the source files, if location was not specified.
706if test -z "$srcdir"; then
707  ac_srcdir_defaulted=yes
708  # Try the directory containing this script, then its parent.
709  ac_confdir=`(dirname "$0") 2>/dev/null ||
710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711	 X"$0" : 'X\(//\)[^/]' \| \
712	 X"$0" : 'X\(//\)$' \| \
713	 X"$0" : 'X\(/\)' \| \
714	 .     : '\(.\)' 2>/dev/null ||
715echo X"$0" |
716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718  	  /^X\(\/\/\)$/{ s//\1/; q; }
719  	  /^X\(\/\).*/{ s//\1/; q; }
720  	  s/.*/./; q'`
721  srcdir=$ac_confdir
722  if test ! -r $srcdir/$ac_unique_file; then
723    srcdir=..
724  fi
725else
726  ac_srcdir_defaulted=no
727fi
728if test ! -r $srcdir/$ac_unique_file; then
729  if test "$ac_srcdir_defaulted" = yes; then
730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731   { (exit 1); exit 1; }; }
732  else
733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734   { (exit 1); exit 1; }; }
735  fi
736fi
737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739   { (exit 1); exit 1; }; }
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741ac_env_build_alias_set=${build_alias+set}
742ac_env_build_alias_value=$build_alias
743ac_cv_env_build_alias_set=${build_alias+set}
744ac_cv_env_build_alias_value=$build_alias
745ac_env_host_alias_set=${host_alias+set}
746ac_env_host_alias_value=$host_alias
747ac_cv_env_host_alias_set=${host_alias+set}
748ac_cv_env_host_alias_value=$host_alias
749ac_env_target_alias_set=${target_alias+set}
750ac_env_target_alias_value=$target_alias
751ac_cv_env_target_alias_set=${target_alias+set}
752ac_cv_env_target_alias_value=$target_alias
753ac_env_CPP_set=${CPP+set}
754ac_env_CPP_value=$CPP
755ac_cv_env_CPP_set=${CPP+set}
756ac_cv_env_CPP_value=$CPP
757ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758ac_env_CPPFLAGS_value=$CPPFLAGS
759ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761ac_env_CXXCPP_set=${CXXCPP+set}
762ac_env_CXXCPP_value=$CXXCPP
763ac_cv_env_CXXCPP_set=${CXXCPP+set}
764ac_cv_env_CXXCPP_value=$CXXCPP
765
766#
767# Report the --help message.
768#
769if test "$ac_init_help" = "long"; then
770  # Omit some internal or obsolete options to make the list less imposing.
771  # This message is too long to be a string in the A/UX 3.1 sh.
772  cat <<_ACEOF
773\`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775Usage: $0 [OPTION]... [VAR=VALUE]...
776
777To assign environment variables (e.g., CC, CFLAGS...), specify them as
778VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780Defaults for the options are specified in brackets.
781
782Configuration:
783  -h, --help              display this help and exit
784      --help=short        display options specific to this package
785      --help=recursive    display the short help of all the included packages
786  -V, --version           display version information and exit
787  -q, --quiet, --silent   do not print \`checking...' messages
788      --cache-file=FILE   cache test results in FILE [disabled]
789  -C, --config-cache      alias for \`--cache-file=config.cache'
790  -n, --no-create         do not create output files
791      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793_ACEOF
794
795  cat <<_ACEOF
796Installation directories:
797  --prefix=PREFIX         install architecture-independent files in PREFIX
798			  [$ac_default_prefix]
799  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800			  [PREFIX]
801
802By default, \`make install' will install all the files in
803\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805for instance \`--prefix=\$HOME'.
806
807For better control, use the options below.
808
809Fine tuning of the installation directories:
810  --bindir=DIR           user executables [EPREFIX/bin]
811  --sbindir=DIR          system admin executables [EPREFIX/sbin]
812  --libexecdir=DIR       program executables [EPREFIX/libexec]
813  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817  --libdir=DIR           object code libraries [EPREFIX/lib]
818  --includedir=DIR       C header files [PREFIX/include]
819  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820  --infodir=DIR          info documentation [PREFIX/info]
821  --mandir=DIR           man documentation [PREFIX/man]
822_ACEOF
823
824  cat <<\_ACEOF
825
826Program names:
827  --program-prefix=PREFIX            prepend PREFIX to installed program names
828  --program-suffix=SUFFIX            append SUFFIX to installed program names
829  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831System types:
832  --build=BUILD     configure for building on BUILD [guessed]
833  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834  --target=TARGET   configure for building compilers for TARGET [HOST]
835_ACEOF
836fi
837
838if test -n "$ac_init_help"; then
839  case $ac_init_help in
840     short | recursive ) echo "Configuration of package-unused version-unused:";;
841   esac
842  cat <<\_ACEOF
843
844Optional Features:
845  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847  --enable-multilib       build many library versions (default)
848  --enable-maintainer-mode  enable make rules and dependencies not useful
849			  (and sometimes confusing) to the casual installer
850  --enable-shared=PKGS  build shared libraries default=yes
851  --enable-static=PKGS  build static libraries default=yes
852  --enable-fast-install=PKGS  optimize for fast installation default=yes
853  --disable-libtool-lock  avoid locking (might break parallel builds)
854  --disable-hosted-libstdcxx
855                          only build freestanding C++ runtime support
856  --enable-sjlj-exceptions
857                          force use of builtin_setjmp for exceptions
858                          [default=auto]
859  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                          [default=$is_hosted]
861  --enable-cstdio=PACKAGE use target-specific I/O package
862                          [default=stdio]
863  --enable-clocale[=MODEL]
864                          use MODEL for target locale package
865                          [default=auto]
866  --enable-nls            use Native Language Support (default)
867  --enable-libstdcxx-allocator=KIND
868                          use KIND for target std::allocator base
869                          [default=auto]
870  --enable-cheaders=KIND  construct "C" headers for g++
871                          [default=$c_model]
872  --enable-long-long      enable template specializations for 'long long'
873                          [default=yes]
874  --enable-wchar_t        enable template specializations for 'wchar_t'
875                          [default=yes]
876  --enable-c99            turns on ISO/IEC 9899:1999 support
877                          [default=yes]
878  --enable-concept-checks use Boost-derived template checks [default=no]
879  --enable-libstdcxx-debug-flags=FLAGS
880                          pass compiler FLAGS when building debug library
881                          [default="-g3 -O0"]
882  --enable-libstdcxx-debug
883                          build extra debug library [default=no]
884  --enable-cxx-flags=FLAGS
885                          pass compiler FLAGS when building library
886                          [default=]
887  --enable-fully-dynamic-string
888                          do not put empty strings in per-process static
889                          memory [default=no]
890  --enable-tls            Use thread-local storage [default=yes]
891  --enable-symvers=STYLE  enables symbol versioning of the shared library
892                          [default=yes]
893  --enable-visibility     enables visibility safe usage [default=yes]
894  --enable-version-specific-runtime-libs
895                          Specify that runtime libraries should be installed
896                          in a compiler-specific directory
897
898Optional Packages:
899  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
900  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
901  --with-target-subdir=SUBDIR
902                          configuring in a subdirectory
903  --with-cross-host=HOST  configuring with a cross compiler
904  --with-newlib           assume newlib as a system C library
905  --with-gnu-ld           assume the C compiler uses GNU ld default=no
906  --with-pic              try to use only PIC/non-PIC objects default=use both
907  --with-gxx-include-dir=DIR
908                          installation directory for include files
909
910Some influential environment variables:
911  CC          C compiler command
912  CFLAGS      C compiler flags
913  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
914              nonstandard directory <lib dir>
915  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
916              headers in a nonstandard directory <include dir>
917  CXX         C++ compiler command
918  CXXFLAGS    C++ compiler flags
919  CPP         C preprocessor
920  CXXCPP      C++ preprocessor
921
922Use these variables to override the choices made by `configure' or to help
923it to find libraries and programs with nonstandard names/locations.
924
925_ACEOF
926fi
927
928if test "$ac_init_help" = "recursive"; then
929  # If there are subdirs, report their specific --help.
930  ac_popdir=`pwd`
931  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932    test -d $ac_dir || continue
933    ac_builddir=.
934
935if test "$ac_dir" != .; then
936  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937  # A "../" for each directory in $ac_dir_suffix.
938  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939else
940  ac_dir_suffix= ac_top_builddir=
941fi
942
943case $srcdir in
944  .)  # No --srcdir option.  We are building in place.
945    ac_srcdir=.
946    if test -z "$ac_top_builddir"; then
947       ac_top_srcdir=.
948    else
949       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950    fi ;;
951  [\\/]* | ?:[\\/]* )  # Absolute path.
952    ac_srcdir=$srcdir$ac_dir_suffix;
953    ac_top_srcdir=$srcdir ;;
954  *) # Relative path.
955    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956    ac_top_srcdir=$ac_top_builddir$srcdir ;;
957esac
958
959# Do not use `cd foo && pwd` to compute absolute paths, because
960# the directories may not exist.
961case `pwd` in
962.) ac_abs_builddir="$ac_dir";;
963*)
964  case "$ac_dir" in
965  .) ac_abs_builddir=`pwd`;;
966  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967  *) ac_abs_builddir=`pwd`/"$ac_dir";;
968  esac;;
969esac
970case $ac_abs_builddir in
971.) ac_abs_top_builddir=${ac_top_builddir}.;;
972*)
973  case ${ac_top_builddir}. in
974  .) ac_abs_top_builddir=$ac_abs_builddir;;
975  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977  esac;;
978esac
979case $ac_abs_builddir in
980.) ac_abs_srcdir=$ac_srcdir;;
981*)
982  case $ac_srcdir in
983  .) ac_abs_srcdir=$ac_abs_builddir;;
984  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986  esac;;
987esac
988case $ac_abs_builddir in
989.) ac_abs_top_srcdir=$ac_top_srcdir;;
990*)
991  case $ac_top_srcdir in
992  .) ac_abs_top_srcdir=$ac_abs_builddir;;
993  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995  esac;;
996esac
997
998    cd $ac_dir
999    # Check for guested configure; otherwise get Cygnus style configure.
1000    if test -f $ac_srcdir/configure.gnu; then
1001      echo
1002      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1003    elif test -f $ac_srcdir/configure; then
1004      echo
1005      $SHELL $ac_srcdir/configure  --help=recursive
1006    elif test -f $ac_srcdir/configure.ac ||
1007	   test -f $ac_srcdir/configure.in; then
1008      echo
1009      $ac_configure --help
1010    else
1011      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012    fi
1013    cd $ac_popdir
1014  done
1015fi
1016
1017test -n "$ac_init_help" && exit 0
1018if $ac_init_version; then
1019  cat <<\_ACEOF
1020package-unused configure version-unused
1021generated by GNU Autoconf 2.59
1022
1023Copyright (C) 2003 Free Software Foundation, Inc.
1024This configure script is free software; the Free Software Foundation
1025gives unlimited permission to copy, distribute and modify it.
1026_ACEOF
1027  exit 0
1028fi
1029exec 5>config.log
1030cat >&5 <<_ACEOF
1031This file contains any messages produced by compilers while
1032running configure, to aid debugging if configure makes a mistake.
1033
1034It was created by package-unused $as_me version-unused, which was
1035generated by GNU Autoconf 2.59.  Invocation command line was
1036
1037  $ $0 $@
1038
1039_ACEOF
1040{
1041cat <<_ASUNAME
1042## --------- ##
1043## Platform. ##
1044## --------- ##
1045
1046hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1054
1055/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1056/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1057/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1059/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1060/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1061/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1062
1063_ASUNAME
1064
1065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066for as_dir in $PATH
1067do
1068  IFS=$as_save_IFS
1069  test -z "$as_dir" && as_dir=.
1070  echo "PATH: $as_dir"
1071done
1072
1073} >&5
1074
1075cat >&5 <<_ACEOF
1076
1077
1078## ----------- ##
1079## Core tests. ##
1080## ----------- ##
1081
1082_ACEOF
1083
1084
1085# Keep a trace of the command line.
1086# Strip out --no-create and --no-recursion so they do not pile up.
1087# Strip out --silent because we don't want to record it for future runs.
1088# Also quote any args containing shell meta-characters.
1089# Make two passes to allow for proper duplicate-argument suppression.
1090ac_configure_args=
1091ac_configure_args0=
1092ac_configure_args1=
1093ac_sep=
1094ac_must_keep_next=false
1095for ac_pass in 1 2
1096do
1097  for ac_arg
1098  do
1099    case $ac_arg in
1100    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102    | -silent | --silent | --silen | --sile | --sil)
1103      continue ;;
1104    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106    esac
1107    case $ac_pass in
1108    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109    2)
1110      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111      if test $ac_must_keep_next = true; then
1112	ac_must_keep_next=false # Got value, back to normal.
1113      else
1114	case $ac_arg in
1115	  *=* | --config-cache | -C | -disable-* | --disable-* \
1116	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118	  | -with-* | --with-* | -without-* | --without-* | --x)
1119	    case "$ac_configure_args0 " in
1120	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121	    esac
1122	    ;;
1123	  -* ) ac_must_keep_next=true ;;
1124	esac
1125      fi
1126      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127      # Get rid of the leading space.
1128      ac_sep=" "
1129      ;;
1130    esac
1131  done
1132done
1133$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136# When interrupted or exit'd, cleanup temporary files, and complete
1137# config.log.  We remove comments because anyway the quotes in there
1138# would cause problems or look ugly.
1139# WARNING: Be sure not to use single quotes in there, as some shells,
1140# such as our DU 5.0 friend, will then `close' the trap.
1141trap 'exit_status=$?
1142  # Save into config.log some information that might help in debugging.
1143  {
1144    echo
1145
1146    cat <<\_ASBOX
1147## ---------------- ##
1148## Cache variables. ##
1149## ---------------- ##
1150_ASBOX
1151    echo
1152    # The following way of writing the cache mishandles newlines in values,
1153{
1154  (set) 2>&1 |
1155    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156    *ac_space=\ *)
1157      sed -n \
1158	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160      ;;
1161    *)
1162      sed -n \
1163	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164      ;;
1165    esac;
1166}
1167    echo
1168
1169    cat <<\_ASBOX
1170## ----------------- ##
1171## Output variables. ##
1172## ----------------- ##
1173_ASBOX
1174    echo
1175    for ac_var in $ac_subst_vars
1176    do
1177      eval ac_val=$`echo $ac_var`
1178      echo "$ac_var='"'"'$ac_val'"'"'"
1179    done | sort
1180    echo
1181
1182    if test -n "$ac_subst_files"; then
1183      cat <<\_ASBOX
1184## ------------- ##
1185## Output files. ##
1186## ------------- ##
1187_ASBOX
1188      echo
1189      for ac_var in $ac_subst_files
1190      do
1191	eval ac_val=$`echo $ac_var`
1192	echo "$ac_var='"'"'$ac_val'"'"'"
1193      done | sort
1194      echo
1195    fi
1196
1197    if test -s confdefs.h; then
1198      cat <<\_ASBOX
1199## ----------- ##
1200## confdefs.h. ##
1201## ----------- ##
1202_ASBOX
1203      echo
1204      sed "/^$/d" confdefs.h | sort
1205      echo
1206    fi
1207    test "$ac_signal" != 0 &&
1208      echo "$as_me: caught signal $ac_signal"
1209    echo "$as_me: exit $exit_status"
1210  } >&5
1211  rm -f core *.core &&
1212  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213    exit $exit_status
1214     ' 0
1215for ac_signal in 1 2 13 15; do
1216  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217done
1218ac_signal=0
1219
1220# confdefs.h avoids OS command line length limits that DEFS can exceed.
1221rm -rf conftest* confdefs.h
1222# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223echo >confdefs.h
1224
1225# Predefined preprocessor variables.
1226
1227cat >>confdefs.h <<_ACEOF
1228#define PACKAGE_NAME "$PACKAGE_NAME"
1229_ACEOF
1230
1231
1232cat >>confdefs.h <<_ACEOF
1233#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234_ACEOF
1235
1236
1237cat >>confdefs.h <<_ACEOF
1238#define PACKAGE_VERSION "$PACKAGE_VERSION"
1239_ACEOF
1240
1241
1242cat >>confdefs.h <<_ACEOF
1243#define PACKAGE_STRING "$PACKAGE_STRING"
1244_ACEOF
1245
1246
1247cat >>confdefs.h <<_ACEOF
1248#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249_ACEOF
1250
1251
1252# Let the site file select an alternate cache file if it wants to.
1253# Prefer explicitly selected file to automatically selected ones.
1254if test -z "$CONFIG_SITE"; then
1255  if test "x$prefix" != xNONE; then
1256    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257  else
1258    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259  fi
1260fi
1261for ac_site_file in $CONFIG_SITE; do
1262  if test -r "$ac_site_file"; then
1263    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264echo "$as_me: loading site script $ac_site_file" >&6;}
1265    sed 's/^/| /' "$ac_site_file" >&5
1266    . "$ac_site_file"
1267  fi
1268done
1269
1270if test -r "$cache_file"; then
1271  # Some versions of bash will fail to source /dev/null (special
1272  # files actually), so we avoid doing that.
1273  if test -f "$cache_file"; then
1274    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275echo "$as_me: loading cache $cache_file" >&6;}
1276    case $cache_file in
1277      [\\/]* | ?:[\\/]* ) . $cache_file;;
1278      *)                      . ./$cache_file;;
1279    esac
1280  fi
1281else
1282  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283echo "$as_me: creating cache $cache_file" >&6;}
1284  >$cache_file
1285fi
1286
1287# Check that the precious variables saved in the cache have kept the same
1288# value.
1289ac_cache_corrupted=false
1290for ac_var in `(set) 2>&1 |
1291	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293  eval ac_new_set=\$ac_env_${ac_var}_set
1294  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295  eval ac_new_val="\$ac_env_${ac_var}_value"
1296  case $ac_old_set,$ac_new_set in
1297    set,)
1298      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300      ac_cache_corrupted=: ;;
1301    ,set)
1302      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304      ac_cache_corrupted=: ;;
1305    ,);;
1306    *)
1307      if test "x$ac_old_val" != "x$ac_new_val"; then
1308	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1311echo "$as_me:   former value:  $ac_old_val" >&2;}
1312	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1313echo "$as_me:   current value: $ac_new_val" >&2;}
1314	ac_cache_corrupted=:
1315      fi;;
1316  esac
1317  # Pass precious variables to config.status.
1318  if test "$ac_new_set" = set; then
1319    case $ac_new_val in
1320    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322    *) ac_arg=$ac_var=$ac_new_val ;;
1323    esac
1324    case " $ac_configure_args " in
1325      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1326      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327    esac
1328  fi
1329done
1330if $ac_cache_corrupted; then
1331  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335   { (exit 1); exit 1; }; }
1336fi
1337
1338ac_ext=c
1339ac_cpp='$CPP $CPPFLAGS'
1340ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371          ac_config_headers="$ac_config_headers config.h"
1372
1373
1374# This works around the fact that libtool configuration may change LD
1375# for this particular configuration, but some shells, instead of
1376# keeping the changes in LD private, export them just because LD is
1377# exported.  Only used at the end of this file.
1378### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380# For libtool versioning info, format is CURRENT:REVISION:AGE
1381libtool_VERSION=6:9:0
1382
1383
1384# Find the rest of the source tree framework.
1385# Default to --enable-multilib
1386# Check whether --enable-multilib or --disable-multilib was given.
1387if test "${enable_multilib+set}" = set; then
1388  enableval="$enable_multilib"
1389  case "$enableval" in
1390  yes) multilib=yes ;;
1391  no)  multilib=no ;;
1392  *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394   { (exit 1); exit 1; }; } ;;
1395 esac
1396else
1397  multilib=yes
1398fi;
1399
1400# We may get other options which we leave undocumented:
1401# --with-target-subdir, --with-multisrctop, --with-multisubdir
1402# See config-ml.in if you want the gory details.
1403
1404if test "$srcdir" = "."; then
1405  if test "$with_target_subdir" != "."; then
1406    multi_basedir="$srcdir/$with_multisrctop../.."
1407  else
1408    multi_basedir="$srcdir/$with_multisrctop.."
1409  fi
1410else
1411  multi_basedir="$srcdir/.."
1412fi
1413
1414
1415# Even if the default multilib is not a cross compilation,
1416# it may be that some of the other multilibs are.
1417if test $cross_compiling = no && test $multilib = yes \
1418   && test "x${with_multisubdir}" != x ; then
1419   cross_compiling=maybe
1420fi
1421
1422          ac_config_commands="$ac_config_commands default-1"
1423
1424
1425# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1426#
1427# You will slowly go insane if you do not grok the following fact:  when
1428# building v3 as part of the compiler, the top-level /target/ becomes the
1429# library's /host/.  configure then causes --target to default to --host,
1430# exactly like any other package using autoconf.  Therefore, 'target' and
1431# 'host' will always be the same.  This makes sense both for native and
1432# cross compilers, just think about it for a little while.  :-)
1433#
1434# Also, if v3 is being configured as part of a cross compiler, the top-level
1435# configure script will pass the "real" host as $with_cross_host.
1436#
1437# Do not delete or change the following two lines.  For why, see
1438# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1439ac_aux_dir=
1440for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1441  if test -f $ac_dir/install-sh; then
1442    ac_aux_dir=$ac_dir
1443    ac_install_sh="$ac_aux_dir/install-sh -c"
1444    break
1445  elif test -f $ac_dir/install.sh; then
1446    ac_aux_dir=$ac_dir
1447    ac_install_sh="$ac_aux_dir/install.sh -c"
1448    break
1449  elif test -f $ac_dir/shtool; then
1450    ac_aux_dir=$ac_dir
1451    ac_install_sh="$ac_aux_dir/shtool install -c"
1452    break
1453  fi
1454done
1455if test -z "$ac_aux_dir"; then
1456  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1457echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1458   { (exit 1); exit 1; }; }
1459fi
1460ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1461ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1462ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1463
1464# Make sure we can run config.sub.
1465$ac_config_sub sun4 >/dev/null 2>&1 ||
1466  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1467echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1468   { (exit 1); exit 1; }; }
1469
1470echo "$as_me:$LINENO: checking build system type" >&5
1471echo $ECHO_N "checking build system type... $ECHO_C" >&6
1472if test "${ac_cv_build+set}" = set; then
1473  echo $ECHO_N "(cached) $ECHO_C" >&6
1474else
1475  ac_cv_build_alias=$build_alias
1476test -z "$ac_cv_build_alias" &&
1477  ac_cv_build_alias=`$ac_config_guess`
1478test -z "$ac_cv_build_alias" &&
1479  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1480echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1481   { (exit 1); exit 1; }; }
1482ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1483  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1484echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1485   { (exit 1); exit 1; }; }
1486
1487fi
1488echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1489echo "${ECHO_T}$ac_cv_build" >&6
1490build=$ac_cv_build
1491build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1492build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1493build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1494
1495
1496echo "$as_me:$LINENO: checking host system type" >&5
1497echo $ECHO_N "checking host system type... $ECHO_C" >&6
1498if test "${ac_cv_host+set}" = set; then
1499  echo $ECHO_N "(cached) $ECHO_C" >&6
1500else
1501  ac_cv_host_alias=$host_alias
1502test -z "$ac_cv_host_alias" &&
1503  ac_cv_host_alias=$ac_cv_build_alias
1504ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1505  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1506echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1507   { (exit 1); exit 1; }; }
1508
1509fi
1510echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1511echo "${ECHO_T}$ac_cv_host" >&6
1512host=$ac_cv_host
1513host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1514host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1515host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1516
1517
1518echo "$as_me:$LINENO: checking target system type" >&5
1519echo $ECHO_N "checking target system type... $ECHO_C" >&6
1520if test "${ac_cv_target+set}" = set; then
1521  echo $ECHO_N "(cached) $ECHO_C" >&6
1522else
1523  ac_cv_target_alias=$target_alias
1524test "x$ac_cv_target_alias" = "x" &&
1525  ac_cv_target_alias=$ac_cv_host_alias
1526ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1527  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1528echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1529   { (exit 1); exit 1; }; }
1530
1531fi
1532echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1533echo "${ECHO_T}$ac_cv_target" >&6
1534target=$ac_cv_target
1535target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1536target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1537target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1538
1539
1540# The aliases save the names the user supplied, while $host etc.
1541# will get canonicalized.
1542test -n "$target_alias" &&
1543  test "$program_prefix$program_suffix$program_transform_name" = \
1544    NONENONEs,x,x, &&
1545  program_prefix=${target_alias}-
1546target_alias=${target_alias-$host_alias}
1547
1548# Handy for debugging:
1549#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1550
1551if test "$build" != "$host"; then
1552  # We are being configured with some form of cross compiler.
1553  GLIBCXX_IS_NATIVE=false
1554  case "$host","$target" in
1555    # Darwin crosses can use the host system's libraries and headers,
1556    # because of the fat library support.  Of course, it must be the
1557    # same version of Darwin on both sides.  Allow the user to
1558    # just say --target=foo-darwin without a version number to mean
1559    # "the version on this system".
1560      *-*-darwin*,*-*-darwin*)
1561	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1562	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1563	if test $hostos = $targetos -o $targetos = darwin ; then
1564	  GLIBCXX_IS_NATIVE=true
1565	fi
1566	;;
1567
1568      *)
1569
1570	;;
1571  esac
1572else
1573  GLIBCXX_IS_NATIVE=true
1574fi
1575
1576# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1577# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1578#  1.x:  minimum required version
1579#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1580#              of other PACKAGE_* variables will, however, and there's nothing
1581#              we can do about that; they come from AC_INIT).
1582#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1583#            file in the top srcdir, etc, etc), so stop complaining.
1584#  no-dependencies:  turns off auto dependency generation (just for now)
1585#  -Wall:  turns on all automake warnings...
1586#  -Wno-portability:  ...except this one, since GNU make is now required.
1587am__api_version="1.9"
1588# Find a good install program.  We prefer a C program (faster),
1589# so one script is as good as another.  But avoid the broken or
1590# incompatible versions:
1591# SysV /etc/install, /usr/sbin/install
1592# SunOS /usr/etc/install
1593# IRIX /sbin/install
1594# AIX /bin/install
1595# AmigaOS /C/install, which installs bootblocks on floppy discs
1596# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1597# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1598# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1599# OS/2's system install, which has a completely different semantic
1600# ./install, which can be erroneously created by make from ./install.sh.
1601echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1602echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1603if test -z "$INSTALL"; then
1604if test "${ac_cv_path_install+set}" = set; then
1605  echo $ECHO_N "(cached) $ECHO_C" >&6
1606else
1607  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608for as_dir in $PATH
1609do
1610  IFS=$as_save_IFS
1611  test -z "$as_dir" && as_dir=.
1612  # Account for people who put trailing slashes in PATH elements.
1613case $as_dir/ in
1614  ./ | .// | /cC/* | \
1615  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1616  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1617  /usr/ucb/* ) ;;
1618  *)
1619    # OSF1 and SCO ODT 3.0 have their own names for install.
1620    # Don't use installbsd from OSF since it installs stuff as root
1621    # by default.
1622    for ac_prog in ginstall scoinst install; do
1623      for ac_exec_ext in '' $ac_executable_extensions; do
1624	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1625	  if test $ac_prog = install &&
1626	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1627	    # AIX install.  It has an incompatible calling convention.
1628	    :
1629	  elif test $ac_prog = install &&
1630	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1631	    # program-specific install script used by HP pwplus--don't use.
1632	    :
1633	  else
1634	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1635	    break 3
1636	  fi
1637	fi
1638      done
1639    done
1640    ;;
1641esac
1642done
1643
1644
1645fi
1646  if test "${ac_cv_path_install+set}" = set; then
1647    INSTALL=$ac_cv_path_install
1648  else
1649    # As a last resort, use the slow shell script.  We don't cache a
1650    # path for INSTALL within a source directory, because that will
1651    # break other packages using the cache if that directory is
1652    # removed, or if the path is relative.
1653    INSTALL=$ac_install_sh
1654  fi
1655fi
1656echo "$as_me:$LINENO: result: $INSTALL" >&5
1657echo "${ECHO_T}$INSTALL" >&6
1658
1659# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1660# It thinks the first close brace ends the variable substitution.
1661test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1662
1663test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1664
1665test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1666
1667echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1668echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1669# Just in case
1670sleep 1
1671echo timestamp > conftest.file
1672# Do `set' in a subshell so we don't clobber the current shell's
1673# arguments.  Must try -L first in case configure is actually a
1674# symlink; some systems play weird games with the mod time of symlinks
1675# (eg FreeBSD returns the mod time of the symlink's containing
1676# directory).
1677if (
1678   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1679   if test "$*" = "X"; then
1680      # -L didn't work.
1681      set X `ls -t $srcdir/configure conftest.file`
1682   fi
1683   rm -f conftest.file
1684   if test "$*" != "X $srcdir/configure conftest.file" \
1685      && test "$*" != "X conftest.file $srcdir/configure"; then
1686
1687      # If neither matched, then we have a broken ls.  This can happen
1688      # if, for instance, CONFIG_SHELL is bash and it inherits a
1689      # broken ls alias from the environment.  This has actually
1690      # happened.  Such a system could not be considered "sane".
1691      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1692alias in your environment" >&5
1693echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1694alias in your environment" >&2;}
1695   { (exit 1); exit 1; }; }
1696   fi
1697
1698   test "$2" = conftest.file
1699   )
1700then
1701   # Ok.
1702   :
1703else
1704   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1705Check your system clock" >&5
1706echo "$as_me: error: newly created file is older than distributed files!
1707Check your system clock" >&2;}
1708   { (exit 1); exit 1; }; }
1709fi
1710echo "$as_me:$LINENO: result: yes" >&5
1711echo "${ECHO_T}yes" >&6
1712test "$program_prefix" != NONE &&
1713  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1714# Use a double $ so make ignores it.
1715test "$program_suffix" != NONE &&
1716  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1717# Double any \ or $.  echo might interpret backslashes.
1718# By default was `s,x,x', remove it if useless.
1719cat <<\_ACEOF >conftest.sed
1720s/[\\$]/&&/g;s/;s,x,x,$//
1721_ACEOF
1722program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1723rm conftest.sed
1724
1725# expand $ac_aux_dir to an absolute path
1726am_aux_dir=`cd $ac_aux_dir && pwd`
1727
1728test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1729# Use eval to expand $SHELL
1730if eval "$MISSING --run true"; then
1731  am_missing_run="$MISSING --run "
1732else
1733  am_missing_run=
1734  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1735echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1736fi
1737
1738if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1739  # We used to keeping the `.' as first argument, in order to
1740  # allow $(mkdir_p) to be used without argument.  As in
1741  #   $(mkdir_p) $(somedir)
1742  # where $(somedir) is conditionally defined.  However this is wrong
1743  # for two reasons:
1744  #  1. if the package is installed by a user who cannot write `.'
1745  #     make install will fail,
1746  #  2. the above comment should most certainly read
1747  #     $(mkdir_p) $(DESTDIR)$(somedir)
1748  #     so it does not work when $(somedir) is undefined and
1749  #     $(DESTDIR) is not.
1750  #  To support the latter case, we have to write
1751  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1752  #  so the `.' trick is pointless.
1753  mkdir_p='mkdir -p --'
1754else
1755  # On NextStep and OpenStep, the `mkdir' command does not
1756  # recognize any option.  It will interpret all options as
1757  # directories to create, and then abort because `.' already
1758  # exists.
1759  for d in ./-p ./--version;
1760  do
1761    test -d $d && rmdir $d
1762  done
1763  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1764  if test -f "$ac_aux_dir/mkinstalldirs"; then
1765    mkdir_p='$(mkinstalldirs)'
1766  else
1767    mkdir_p='$(install_sh) -d'
1768  fi
1769fi
1770
1771for ac_prog in gawk mawk nawk awk
1772do
1773  # Extract the first word of "$ac_prog", so it can be a program name with args.
1774set dummy $ac_prog; ac_word=$2
1775echo "$as_me:$LINENO: checking for $ac_word" >&5
1776echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777if test "${ac_cv_prog_AWK+set}" = set; then
1778  echo $ECHO_N "(cached) $ECHO_C" >&6
1779else
1780  if test -n "$AWK"; then
1781  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1782else
1783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784for as_dir in $PATH
1785do
1786  IFS=$as_save_IFS
1787  test -z "$as_dir" && as_dir=.
1788  for ac_exec_ext in '' $ac_executable_extensions; do
1789  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790    ac_cv_prog_AWK="$ac_prog"
1791    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792    break 2
1793  fi
1794done
1795done
1796
1797fi
1798fi
1799AWK=$ac_cv_prog_AWK
1800if test -n "$AWK"; then
1801  echo "$as_me:$LINENO: result: $AWK" >&5
1802echo "${ECHO_T}$AWK" >&6
1803else
1804  echo "$as_me:$LINENO: result: no" >&5
1805echo "${ECHO_T}no" >&6
1806fi
1807
1808  test -n "$AWK" && break
1809done
1810
1811echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1812echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1813set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1814if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1815  echo $ECHO_N "(cached) $ECHO_C" >&6
1816else
1817  cat >conftest.make <<\_ACEOF
1818all:
1819	@echo 'ac_maketemp="$(MAKE)"'
1820_ACEOF
1821# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1822eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1823if test -n "$ac_maketemp"; then
1824  eval ac_cv_prog_make_${ac_make}_set=yes
1825else
1826  eval ac_cv_prog_make_${ac_make}_set=no
1827fi
1828rm -f conftest.make
1829fi
1830if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1831  echo "$as_me:$LINENO: result: yes" >&5
1832echo "${ECHO_T}yes" >&6
1833  SET_MAKE=
1834else
1835  echo "$as_me:$LINENO: result: no" >&5
1836echo "${ECHO_T}no" >&6
1837  SET_MAKE="MAKE=${MAKE-make}"
1838fi
1839
1840rm -rf .tst 2>/dev/null
1841mkdir .tst 2>/dev/null
1842if test -d .tst; then
1843  am__leading_dot=.
1844else
1845  am__leading_dot=_
1846fi
1847rmdir .tst 2>/dev/null
1848
1849# test to see if srcdir already configured
1850if test "`cd $srcdir && pwd`" != "`pwd`" &&
1851   test -f $srcdir/config.status; then
1852  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1853echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1854   { (exit 1); exit 1; }; }
1855fi
1856
1857# test whether we have cygpath
1858if test -z "$CYGPATH_W"; then
1859  if (cygpath --version) >/dev/null 2>/dev/null; then
1860    CYGPATH_W='cygpath -w'
1861  else
1862    CYGPATH_W=echo
1863  fi
1864fi
1865
1866
1867# Define the identity of the package.
1868 PACKAGE='libstdc++'
1869 VERSION='version-unused'
1870
1871
1872# Some tools Automake needs.
1873
1874ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1875
1876
1877AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1878
1879
1880AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1881
1882
1883AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1884
1885
1886MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1887
1888install_sh=${install_sh-"$am_aux_dir/install-sh"}
1889
1890# Installed binaries are usually stripped using `strip' when the user
1891# run `make install-strip'.  However `strip' might not be the right
1892# tool to use in cross-compilation environments, therefore Automake
1893# will honor the `STRIP' environment variable to overrule this program.
1894if test "$cross_compiling" != no; then
1895  if test -n "$ac_tool_prefix"; then
1896  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897set dummy ${ac_tool_prefix}strip; ac_word=$2
1898echo "$as_me:$LINENO: checking for $ac_word" >&5
1899echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900if test "${ac_cv_prog_STRIP+set}" = set; then
1901  echo $ECHO_N "(cached) $ECHO_C" >&6
1902else
1903  if test -n "$STRIP"; then
1904  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905else
1906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907for as_dir in $PATH
1908do
1909  IFS=$as_save_IFS
1910  test -z "$as_dir" && as_dir=.
1911  for ac_exec_ext in '' $ac_executable_extensions; do
1912  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915    break 2
1916  fi
1917done
1918done
1919
1920fi
1921fi
1922STRIP=$ac_cv_prog_STRIP
1923if test -n "$STRIP"; then
1924  echo "$as_me:$LINENO: result: $STRIP" >&5
1925echo "${ECHO_T}$STRIP" >&6
1926else
1927  echo "$as_me:$LINENO: result: no" >&5
1928echo "${ECHO_T}no" >&6
1929fi
1930
1931fi
1932if test -z "$ac_cv_prog_STRIP"; then
1933  ac_ct_STRIP=$STRIP
1934  # Extract the first word of "strip", so it can be a program name with args.
1935set dummy strip; ac_word=$2
1936echo "$as_me:$LINENO: checking for $ac_word" >&5
1937echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939  echo $ECHO_N "(cached) $ECHO_C" >&6
1940else
1941  if test -n "$ac_ct_STRIP"; then
1942  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943else
1944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945for as_dir in $PATH
1946do
1947  IFS=$as_save_IFS
1948  test -z "$as_dir" && as_dir=.
1949  for ac_exec_ext in '' $ac_executable_extensions; do
1950  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951    ac_cv_prog_ac_ct_STRIP="strip"
1952    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953    break 2
1954  fi
1955done
1956done
1957
1958  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1959fi
1960fi
1961ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962if test -n "$ac_ct_STRIP"; then
1963  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964echo "${ECHO_T}$ac_ct_STRIP" >&6
1965else
1966  echo "$as_me:$LINENO: result: no" >&5
1967echo "${ECHO_T}no" >&6
1968fi
1969
1970  STRIP=$ac_ct_STRIP
1971else
1972  STRIP="$ac_cv_prog_STRIP"
1973fi
1974
1975fi
1976INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1977
1978# We need awk for the "check" target.  The system "awk" is bad on
1979# some platforms.
1980# Always define AMTAR for backward compatibility.
1981
1982AMTAR=${AMTAR-"${am_missing_run}tar"}
1983
1984am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995# Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1996# up critical shell variables.
1997
1998ac_ext=c
1999ac_cpp='$CPP $CPPFLAGS'
2000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2004echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2005# On Suns, sometimes $CPP names a directory.
2006if test -n "$CPP" && test -d "$CPP"; then
2007  CPP=
2008fi
2009if test -z "$CPP"; then
2010  if test "${ac_cv_prog_CPP+set}" = set; then
2011  echo $ECHO_N "(cached) $ECHO_C" >&6
2012else
2013      # Double quotes because CPP needs to be expanded
2014    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2015    do
2016      ac_preproc_ok=false
2017for ac_c_preproc_warn_flag in '' yes
2018do
2019  # Use a header file that comes with gcc, so configuring glibc
2020  # with a fresh cross-compiler works.
2021  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2022  # <limits.h> exists even on freestanding compilers.
2023  # On the NeXT, cc -E runs the code through the compiler's parser,
2024  # not just through cpp. "Syntax error" is here to catch this case.
2025  cat >conftest.$ac_ext <<_ACEOF
2026/* confdefs.h.  */
2027_ACEOF
2028cat confdefs.h >>conftest.$ac_ext
2029cat >>conftest.$ac_ext <<_ACEOF
2030/* end confdefs.h.  */
2031#ifdef __STDC__
2032# include <limits.h>
2033#else
2034# include <assert.h>
2035#endif
2036		     Syntax error
2037_ACEOF
2038if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2039  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2040  ac_status=$?
2041  grep -v '^ *+' conftest.er1 >conftest.err
2042  rm -f conftest.er1
2043  cat conftest.err >&5
2044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045  (exit $ac_status); } >/dev/null; then
2046  if test -s conftest.err; then
2047    ac_cpp_err=$ac_c_preproc_warn_flag
2048    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2049  else
2050    ac_cpp_err=
2051  fi
2052else
2053  ac_cpp_err=yes
2054fi
2055if test -z "$ac_cpp_err"; then
2056  :
2057else
2058  echo "$as_me: failed program was:" >&5
2059sed 's/^/| /' conftest.$ac_ext >&5
2060
2061  # Broken: fails on valid input.
2062continue
2063fi
2064rm -f conftest.err conftest.$ac_ext
2065
2066  # OK, works on sane cases.  Now check whether non-existent headers
2067  # can be detected and how.
2068  cat >conftest.$ac_ext <<_ACEOF
2069/* confdefs.h.  */
2070_ACEOF
2071cat confdefs.h >>conftest.$ac_ext
2072cat >>conftest.$ac_ext <<_ACEOF
2073/* end confdefs.h.  */
2074#include <ac_nonexistent.h>
2075_ACEOF
2076if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2077  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2078  ac_status=$?
2079  grep -v '^ *+' conftest.er1 >conftest.err
2080  rm -f conftest.er1
2081  cat conftest.err >&5
2082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083  (exit $ac_status); } >/dev/null; then
2084  if test -s conftest.err; then
2085    ac_cpp_err=$ac_c_preproc_warn_flag
2086    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2087  else
2088    ac_cpp_err=
2089  fi
2090else
2091  ac_cpp_err=yes
2092fi
2093if test -z "$ac_cpp_err"; then
2094  # Broken: success on invalid input.
2095continue
2096else
2097  echo "$as_me: failed program was:" >&5
2098sed 's/^/| /' conftest.$ac_ext >&5
2099
2100  # Passes both tests.
2101ac_preproc_ok=:
2102break
2103fi
2104rm -f conftest.err conftest.$ac_ext
2105
2106done
2107# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2108rm -f conftest.err conftest.$ac_ext
2109if $ac_preproc_ok; then
2110  break
2111fi
2112
2113    done
2114    ac_cv_prog_CPP=$CPP
2115
2116fi
2117  CPP=$ac_cv_prog_CPP
2118else
2119  ac_cv_prog_CPP=$CPP
2120fi
2121echo "$as_me:$LINENO: result: $CPP" >&5
2122echo "${ECHO_T}$CPP" >&6
2123ac_preproc_ok=false
2124for ac_c_preproc_warn_flag in '' yes
2125do
2126  # Use a header file that comes with gcc, so configuring glibc
2127  # with a fresh cross-compiler works.
2128  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2129  # <limits.h> exists even on freestanding compilers.
2130  # On the NeXT, cc -E runs the code through the compiler's parser,
2131  # not just through cpp. "Syntax error" is here to catch this case.
2132  cat >conftest.$ac_ext <<_ACEOF
2133/* confdefs.h.  */
2134_ACEOF
2135cat confdefs.h >>conftest.$ac_ext
2136cat >>conftest.$ac_ext <<_ACEOF
2137/* end confdefs.h.  */
2138#ifdef __STDC__
2139# include <limits.h>
2140#else
2141# include <assert.h>
2142#endif
2143		     Syntax error
2144_ACEOF
2145if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2146  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2147  ac_status=$?
2148  grep -v '^ *+' conftest.er1 >conftest.err
2149  rm -f conftest.er1
2150  cat conftest.err >&5
2151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152  (exit $ac_status); } >/dev/null; then
2153  if test -s conftest.err; then
2154    ac_cpp_err=$ac_c_preproc_warn_flag
2155    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2156  else
2157    ac_cpp_err=
2158  fi
2159else
2160  ac_cpp_err=yes
2161fi
2162if test -z "$ac_cpp_err"; then
2163  :
2164else
2165  echo "$as_me: failed program was:" >&5
2166sed 's/^/| /' conftest.$ac_ext >&5
2167
2168  # Broken: fails on valid input.
2169continue
2170fi
2171rm -f conftest.err conftest.$ac_ext
2172
2173  # OK, works on sane cases.  Now check whether non-existent headers
2174  # can be detected and how.
2175  cat >conftest.$ac_ext <<_ACEOF
2176/* confdefs.h.  */
2177_ACEOF
2178cat confdefs.h >>conftest.$ac_ext
2179cat >>conftest.$ac_ext <<_ACEOF
2180/* end confdefs.h.  */
2181#include <ac_nonexistent.h>
2182_ACEOF
2183if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2184  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2185  ac_status=$?
2186  grep -v '^ *+' conftest.er1 >conftest.err
2187  rm -f conftest.er1
2188  cat conftest.err >&5
2189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190  (exit $ac_status); } >/dev/null; then
2191  if test -s conftest.err; then
2192    ac_cpp_err=$ac_c_preproc_warn_flag
2193    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2194  else
2195    ac_cpp_err=
2196  fi
2197else
2198  ac_cpp_err=yes
2199fi
2200if test -z "$ac_cpp_err"; then
2201  # Broken: success on invalid input.
2202continue
2203else
2204  echo "$as_me: failed program was:" >&5
2205sed 's/^/| /' conftest.$ac_ext >&5
2206
2207  # Passes both tests.
2208ac_preproc_ok=:
2209break
2210fi
2211rm -f conftest.err conftest.$ac_ext
2212
2213done
2214# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2215rm -f conftest.err conftest.$ac_ext
2216if $ac_preproc_ok; then
2217  :
2218else
2219  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2220See \`config.log' for more details." >&5
2221echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2222See \`config.log' for more details." >&2;}
2223   { (exit 1); exit 1; }; }
2224fi
2225
2226ac_ext=c
2227ac_cpp='$CPP $CPPFLAGS'
2228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230ac_compiler_gnu=$ac_cv_c_compiler_gnu
2231
2232
2233echo "$as_me:$LINENO: checking for egrep" >&5
2234echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2235if test "${ac_cv_prog_egrep+set}" = set; then
2236  echo $ECHO_N "(cached) $ECHO_C" >&6
2237else
2238  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2239    then ac_cv_prog_egrep='grep -E'
2240    else ac_cv_prog_egrep='egrep'
2241    fi
2242fi
2243echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2244echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2245 EGREP=$ac_cv_prog_egrep
2246
2247
2248
2249  # Keep these sync'd with the list in Makefile.am.  The first provides an
2250  # expandable list at autoconf time; the second provides an expandable list
2251  # (i.e., shell variable) at configure time.
2252
2253  SUBDIRS='include libmath libsupc++ src po testsuite'
2254
2255  # These need to be absolute paths, yet at the same time need to
2256  # canonicalize only relative paths, because then amd will not unmount
2257  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2258  glibcxx_builddir=`${PWDCMD-pwd}`
2259  case $srcdir in
2260    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2261    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2262  esac
2263  toplevel_srcdir=${glibcxx_srcdir}/..
2264
2265
2266
2267
2268  # We use these options to decide which functions to include.  They are
2269  # set from the top level.
2270
2271# Check whether --with-target-subdir or --without-target-subdir was given.
2272if test "${with_target_subdir+set}" = set; then
2273  withval="$with_target_subdir"
2274
2275fi;
2276
2277
2278# Check whether --with-cross-host or --without-cross-host was given.
2279if test "${with_cross_host+set}" = set; then
2280  withval="$with_cross_host"
2281
2282fi;
2283
2284
2285# Check whether --with-newlib or --without-newlib was given.
2286if test "${with_newlib+set}" = set; then
2287  withval="$with_newlib"
2288
2289fi;
2290
2291  # We're almost certainly being configured before anything else which uses
2292  # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2293  # we not cache the value of CXX that we "discover" here, because it's set
2294  # to something unique for us and libjava.  Other target libraries need to
2295  # find CXX for themselves.  We yank the rug out from under the normal AC_*
2296  # process by sneakily renaming the cache variable.  This also lets us debug
2297  # the value of "our" CXX in postmortems.
2298  #
2299  # We must also force CXX to /not/ be a precious variable, otherwise the
2300  # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2301  # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2302  # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2303  # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2304  #
2305  # -fno-builtin must be present here so that a non-conflicting form of
2306  # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2307
2308
2309
2310
2311  save_CXXFLAGS="$CXXFLAGS"
2312  CXXFLAGS="$CXXFLAGS -fno-builtin"
2313  ac_ext=c
2314ac_cpp='$CPP $CPPFLAGS'
2315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318if test -n "$ac_tool_prefix"; then
2319  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2320set dummy ${ac_tool_prefix}gcc; ac_word=$2
2321echo "$as_me:$LINENO: checking for $ac_word" >&5
2322echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323if test "${ac_cv_prog_CC+set}" = set; then
2324  echo $ECHO_N "(cached) $ECHO_C" >&6
2325else
2326  if test -n "$CC"; then
2327  ac_cv_prog_CC="$CC" # Let the user override the test.
2328else
2329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330for as_dir in $PATH
2331do
2332  IFS=$as_save_IFS
2333  test -z "$as_dir" && as_dir=.
2334  for ac_exec_ext in '' $ac_executable_extensions; do
2335  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2337    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338    break 2
2339  fi
2340done
2341done
2342
2343fi
2344fi
2345CC=$ac_cv_prog_CC
2346if test -n "$CC"; then
2347  echo "$as_me:$LINENO: result: $CC" >&5
2348echo "${ECHO_T}$CC" >&6
2349else
2350  echo "$as_me:$LINENO: result: no" >&5
2351echo "${ECHO_T}no" >&6
2352fi
2353
2354fi
2355if test -z "$ac_cv_prog_CC"; then
2356  ac_ct_CC=$CC
2357  # Extract the first word of "gcc", so it can be a program name with args.
2358set dummy gcc; ac_word=$2
2359echo "$as_me:$LINENO: checking for $ac_word" >&5
2360echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362  echo $ECHO_N "(cached) $ECHO_C" >&6
2363else
2364  if test -n "$ac_ct_CC"; then
2365  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2366else
2367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368for as_dir in $PATH
2369do
2370  IFS=$as_save_IFS
2371  test -z "$as_dir" && as_dir=.
2372  for ac_exec_ext in '' $ac_executable_extensions; do
2373  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374    ac_cv_prog_ac_ct_CC="gcc"
2375    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376    break 2
2377  fi
2378done
2379done
2380
2381fi
2382fi
2383ac_ct_CC=$ac_cv_prog_ac_ct_CC
2384if test -n "$ac_ct_CC"; then
2385  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2386echo "${ECHO_T}$ac_ct_CC" >&6
2387else
2388  echo "$as_me:$LINENO: result: no" >&5
2389echo "${ECHO_T}no" >&6
2390fi
2391
2392  CC=$ac_ct_CC
2393else
2394  CC="$ac_cv_prog_CC"
2395fi
2396
2397if test -z "$CC"; then
2398  if test -n "$ac_tool_prefix"; then
2399  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2400set dummy ${ac_tool_prefix}cc; ac_word=$2
2401echo "$as_me:$LINENO: checking for $ac_word" >&5
2402echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403if test "${ac_cv_prog_CC+set}" = set; then
2404  echo $ECHO_N "(cached) $ECHO_C" >&6
2405else
2406  if test -n "$CC"; then
2407  ac_cv_prog_CC="$CC" # Let the user override the test.
2408else
2409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410for as_dir in $PATH
2411do
2412  IFS=$as_save_IFS
2413  test -z "$as_dir" && as_dir=.
2414  for ac_exec_ext in '' $ac_executable_extensions; do
2415  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416    ac_cv_prog_CC="${ac_tool_prefix}cc"
2417    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418    break 2
2419  fi
2420done
2421done
2422
2423fi
2424fi
2425CC=$ac_cv_prog_CC
2426if test -n "$CC"; then
2427  echo "$as_me:$LINENO: result: $CC" >&5
2428echo "${ECHO_T}$CC" >&6
2429else
2430  echo "$as_me:$LINENO: result: no" >&5
2431echo "${ECHO_T}no" >&6
2432fi
2433
2434fi
2435if test -z "$ac_cv_prog_CC"; then
2436  ac_ct_CC=$CC
2437  # Extract the first word of "cc", so it can be a program name with args.
2438set dummy cc; ac_word=$2
2439echo "$as_me:$LINENO: checking for $ac_word" >&5
2440echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2442  echo $ECHO_N "(cached) $ECHO_C" >&6
2443else
2444  if test -n "$ac_ct_CC"; then
2445  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2446else
2447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448for as_dir in $PATH
2449do
2450  IFS=$as_save_IFS
2451  test -z "$as_dir" && as_dir=.
2452  for ac_exec_ext in '' $ac_executable_extensions; do
2453  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454    ac_cv_prog_ac_ct_CC="cc"
2455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456    break 2
2457  fi
2458done
2459done
2460
2461fi
2462fi
2463ac_ct_CC=$ac_cv_prog_ac_ct_CC
2464if test -n "$ac_ct_CC"; then
2465  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2466echo "${ECHO_T}$ac_ct_CC" >&6
2467else
2468  echo "$as_me:$LINENO: result: no" >&5
2469echo "${ECHO_T}no" >&6
2470fi
2471
2472  CC=$ac_ct_CC
2473else
2474  CC="$ac_cv_prog_CC"
2475fi
2476
2477fi
2478if test -z "$CC"; then
2479  # Extract the first word of "cc", so it can be a program name with args.
2480set dummy cc; ac_word=$2
2481echo "$as_me:$LINENO: checking for $ac_word" >&5
2482echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483if test "${ac_cv_prog_CC+set}" = set; then
2484  echo $ECHO_N "(cached) $ECHO_C" >&6
2485else
2486  if test -n "$CC"; then
2487  ac_cv_prog_CC="$CC" # Let the user override the test.
2488else
2489  ac_prog_rejected=no
2490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491for as_dir in $PATH
2492do
2493  IFS=$as_save_IFS
2494  test -z "$as_dir" && as_dir=.
2495  for ac_exec_ext in '' $ac_executable_extensions; do
2496  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2498       ac_prog_rejected=yes
2499       continue
2500     fi
2501    ac_cv_prog_CC="cc"
2502    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503    break 2
2504  fi
2505done
2506done
2507
2508if test $ac_prog_rejected = yes; then
2509  # We found a bogon in the path, so make sure we never use it.
2510  set dummy $ac_cv_prog_CC
2511  shift
2512  if test $# != 0; then
2513    # We chose a different compiler from the bogus one.
2514    # However, it has the same basename, so the bogon will be chosen
2515    # first if we set CC to just the basename; use the full file name.
2516    shift
2517    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2518  fi
2519fi
2520fi
2521fi
2522CC=$ac_cv_prog_CC
2523if test -n "$CC"; then
2524  echo "$as_me:$LINENO: result: $CC" >&5
2525echo "${ECHO_T}$CC" >&6
2526else
2527  echo "$as_me:$LINENO: result: no" >&5
2528echo "${ECHO_T}no" >&6
2529fi
2530
2531fi
2532if test -z "$CC"; then
2533  if test -n "$ac_tool_prefix"; then
2534  for ac_prog in cl
2535  do
2536    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2537set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2538echo "$as_me:$LINENO: checking for $ac_word" >&5
2539echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2540if test "${ac_cv_prog_CC+set}" = set; then
2541  echo $ECHO_N "(cached) $ECHO_C" >&6
2542else
2543  if test -n "$CC"; then
2544  ac_cv_prog_CC="$CC" # Let the user override the test.
2545else
2546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547for as_dir in $PATH
2548do
2549  IFS=$as_save_IFS
2550  test -z "$as_dir" && as_dir=.
2551  for ac_exec_ext in '' $ac_executable_extensions; do
2552  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2554    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555    break 2
2556  fi
2557done
2558done
2559
2560fi
2561fi
2562CC=$ac_cv_prog_CC
2563if test -n "$CC"; then
2564  echo "$as_me:$LINENO: result: $CC" >&5
2565echo "${ECHO_T}$CC" >&6
2566else
2567  echo "$as_me:$LINENO: result: no" >&5
2568echo "${ECHO_T}no" >&6
2569fi
2570
2571    test -n "$CC" && break
2572  done
2573fi
2574if test -z "$CC"; then
2575  ac_ct_CC=$CC
2576  for ac_prog in cl
2577do
2578  # Extract the first word of "$ac_prog", so it can be a program name with args.
2579set dummy $ac_prog; ac_word=$2
2580echo "$as_me:$LINENO: checking for $ac_word" >&5
2581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2582if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2583  echo $ECHO_N "(cached) $ECHO_C" >&6
2584else
2585  if test -n "$ac_ct_CC"; then
2586  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587else
2588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589for as_dir in $PATH
2590do
2591  IFS=$as_save_IFS
2592  test -z "$as_dir" && as_dir=.
2593  for ac_exec_ext in '' $ac_executable_extensions; do
2594  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595    ac_cv_prog_ac_ct_CC="$ac_prog"
2596    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597    break 2
2598  fi
2599done
2600done
2601
2602fi
2603fi
2604ac_ct_CC=$ac_cv_prog_ac_ct_CC
2605if test -n "$ac_ct_CC"; then
2606  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2607echo "${ECHO_T}$ac_ct_CC" >&6
2608else
2609  echo "$as_me:$LINENO: result: no" >&5
2610echo "${ECHO_T}no" >&6
2611fi
2612
2613  test -n "$ac_ct_CC" && break
2614done
2615
2616  CC=$ac_ct_CC
2617fi
2618
2619fi
2620
2621
2622test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2623See \`config.log' for more details." >&5
2624echo "$as_me: error: no acceptable C compiler found in \$PATH
2625See \`config.log' for more details." >&2;}
2626   { (exit 1); exit 1; }; }
2627
2628# Provide some information about the compiler.
2629echo "$as_me:$LINENO:" \
2630     "checking for C compiler version" >&5
2631ac_compiler=`set X $ac_compile; echo $2`
2632{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2633  (eval $ac_compiler --version </dev/null >&5) 2>&5
2634  ac_status=$?
2635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636  (exit $ac_status); }
2637{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2638  (eval $ac_compiler -v </dev/null >&5) 2>&5
2639  ac_status=$?
2640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641  (exit $ac_status); }
2642{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2643  (eval $ac_compiler -V </dev/null >&5) 2>&5
2644  ac_status=$?
2645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646  (exit $ac_status); }
2647
2648cat >conftest.$ac_ext <<_ACEOF
2649/* confdefs.h.  */
2650_ACEOF
2651cat confdefs.h >>conftest.$ac_ext
2652cat >>conftest.$ac_ext <<_ACEOF
2653/* end confdefs.h.  */
2654
2655int
2656main ()
2657{
2658
2659  ;
2660  return 0;
2661}
2662_ACEOF
2663# FIXME: Cleanup?
2664if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2665  (eval $ac_link) 2>&5
2666  ac_status=$?
2667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668  (exit $ac_status); }; then
2669  gcc_no_link=no
2670else
2671  gcc_no_link=yes
2672fi
2673
2674if test x$gcc_no_link = xyes; then
2675  # Setting cross_compile will disable run tests; it will
2676  # also disable AC_CHECK_FILE but that's generally
2677  # correct if we can't link.
2678  cross_compiling=yes
2679  EXEEXT=
2680else
2681  cat >conftest.$ac_ext <<_ACEOF
2682/* confdefs.h.  */
2683_ACEOF
2684cat confdefs.h >>conftest.$ac_ext
2685cat >>conftest.$ac_ext <<_ACEOF
2686/* end confdefs.h.  */
2687
2688int
2689main ()
2690{
2691
2692  ;
2693  return 0;
2694}
2695_ACEOF
2696ac_clean_files_save=$ac_clean_files
2697ac_clean_files="$ac_clean_files a.out a.exe b.out"
2698# Try to create an executable without -o first, disregard a.out.
2699# It will help us diagnose broken compilers, and finding out an intuition
2700# of exeext.
2701echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2702echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2703ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2704if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2705  (eval $ac_link_default) 2>&5
2706  ac_status=$?
2707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708  (exit $ac_status); }; then
2709  # Find the output, starting from the most likely.  This scheme is
2710# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2711# resort.
2712
2713# Be careful to initialize this variable, since it used to be cached.
2714# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2715ac_cv_exeext=
2716# b.out is created by i960 compilers.
2717for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2718do
2719  test -f "$ac_file" || continue
2720  case $ac_file in
2721    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2722	;;
2723    conftest.$ac_ext )
2724	# This is the source file.
2725	;;
2726    [ab].out )
2727	# We found the default executable, but exeext='' is most
2728	# certainly right.
2729	break;;
2730    *.* )
2731	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2732	# FIXME: I believe we export ac_cv_exeext for Libtool,
2733	# but it would be cool to find out if it's true.  Does anybody
2734	# maintain Libtool? --akim.
2735	export ac_cv_exeext
2736	break;;
2737    * )
2738	break;;
2739  esac
2740done
2741else
2742  echo "$as_me: failed program was:" >&5
2743sed 's/^/| /' conftest.$ac_ext >&5
2744
2745{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2746See \`config.log' for more details." >&5
2747echo "$as_me: error: C compiler cannot create executables
2748See \`config.log' for more details." >&2;}
2749   { (exit 77); exit 77; }; }
2750fi
2751
2752ac_exeext=$ac_cv_exeext
2753echo "$as_me:$LINENO: result: $ac_file" >&5
2754echo "${ECHO_T}$ac_file" >&6
2755
2756# Check the compiler produces executables we can run.  If not, either
2757# the compiler is broken, or we cross compile.
2758echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2759echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2760# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2761# If not cross compiling, check that we can run a simple program.
2762if test "$cross_compiling" != yes; then
2763  if { ac_try='./$ac_file'
2764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765  (eval $ac_try) 2>&5
2766  ac_status=$?
2767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768  (exit $ac_status); }; }; then
2769    cross_compiling=no
2770  else
2771    if test "$cross_compiling" = maybe; then
2772	cross_compiling=yes
2773    else
2774	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2775If you meant to cross compile, use \`--host'.
2776See \`config.log' for more details." >&5
2777echo "$as_me: error: cannot run C compiled programs.
2778If you meant to cross compile, use \`--host'.
2779See \`config.log' for more details." >&2;}
2780   { (exit 1); exit 1; }; }
2781    fi
2782  fi
2783fi
2784echo "$as_me:$LINENO: result: yes" >&5
2785echo "${ECHO_T}yes" >&6
2786
2787rm -f a.out a.exe conftest$ac_cv_exeext b.out
2788ac_clean_files=$ac_clean_files_save
2789# Check the compiler produces executables we can run.  If not, either
2790# the compiler is broken, or we cross compile.
2791echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2792echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2793echo "$as_me:$LINENO: result: $cross_compiling" >&5
2794echo "${ECHO_T}$cross_compiling" >&6
2795
2796echo "$as_me:$LINENO: checking for suffix of executables" >&5
2797echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2799  (eval $ac_link) 2>&5
2800  ac_status=$?
2801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802  (exit $ac_status); }; then
2803  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2804# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2805# work properly (i.e., refer to `conftest.exe'), while it won't with
2806# `rm'.
2807for ac_file in conftest.exe conftest conftest.*; do
2808  test -f "$ac_file" || continue
2809  case $ac_file in
2810    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2811    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812	  export ac_cv_exeext
2813	  break;;
2814    * ) break;;
2815  esac
2816done
2817else
2818  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2819See \`config.log' for more details." >&5
2820echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2821See \`config.log' for more details." >&2;}
2822   { (exit 1); exit 1; }; }
2823fi
2824
2825rm -f conftest$ac_cv_exeext
2826echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2827echo "${ECHO_T}$ac_cv_exeext" >&6
2828
2829rm -f conftest.$ac_ext
2830EXEEXT=$ac_cv_exeext
2831ac_exeext=$EXEEXT
2832fi
2833echo "$as_me:$LINENO: checking for suffix of object files" >&5
2834echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2835if test "${ac_cv_objext+set}" = set; then
2836  echo $ECHO_N "(cached) $ECHO_C" >&6
2837else
2838  cat >conftest.$ac_ext <<_ACEOF
2839/* confdefs.h.  */
2840_ACEOF
2841cat confdefs.h >>conftest.$ac_ext
2842cat >>conftest.$ac_ext <<_ACEOF
2843/* end confdefs.h.  */
2844
2845int
2846main ()
2847{
2848
2849  ;
2850  return 0;
2851}
2852_ACEOF
2853rm -f conftest.o conftest.obj
2854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855  (eval $ac_compile) 2>&5
2856  ac_status=$?
2857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858  (exit $ac_status); }; then
2859  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2860  case $ac_file in
2861    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2862    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2863       break;;
2864  esac
2865done
2866else
2867  echo "$as_me: failed program was:" >&5
2868sed 's/^/| /' conftest.$ac_ext >&5
2869
2870{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2871See \`config.log' for more details." >&5
2872echo "$as_me: error: cannot compute suffix of object files: cannot compile
2873See \`config.log' for more details." >&2;}
2874   { (exit 1); exit 1; }; }
2875fi
2876
2877rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878fi
2879echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2880echo "${ECHO_T}$ac_cv_objext" >&6
2881OBJEXT=$ac_cv_objext
2882ac_objext=$OBJEXT
2883echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2884echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2885if test "${ac_cv_c_compiler_gnu+set}" = set; then
2886  echo $ECHO_N "(cached) $ECHO_C" >&6
2887else
2888  cat >conftest.$ac_ext <<_ACEOF
2889/* confdefs.h.  */
2890_ACEOF
2891cat confdefs.h >>conftest.$ac_ext
2892cat >>conftest.$ac_ext <<_ACEOF
2893/* end confdefs.h.  */
2894
2895int
2896main ()
2897{
2898#ifndef __GNUC__
2899       choke me
2900#endif
2901
2902  ;
2903  return 0;
2904}
2905_ACEOF
2906rm -f conftest.$ac_objext
2907if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908  (eval $ac_compile) 2>conftest.er1
2909  ac_status=$?
2910  grep -v '^ *+' conftest.er1 >conftest.err
2911  rm -f conftest.er1
2912  cat conftest.err >&5
2913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914  (exit $ac_status); } &&
2915	 { ac_try='test -z "$ac_c_werror_flag"
2916			 || test ! -s conftest.err'
2917  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918  (eval $ac_try) 2>&5
2919  ac_status=$?
2920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921  (exit $ac_status); }; } &&
2922	 { ac_try='test -s conftest.$ac_objext'
2923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924  (eval $ac_try) 2>&5
2925  ac_status=$?
2926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927  (exit $ac_status); }; }; then
2928  ac_compiler_gnu=yes
2929else
2930  echo "$as_me: failed program was:" >&5
2931sed 's/^/| /' conftest.$ac_ext >&5
2932
2933ac_compiler_gnu=no
2934fi
2935rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936ac_cv_c_compiler_gnu=$ac_compiler_gnu
2937
2938fi
2939echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2940echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2941GCC=`test $ac_compiler_gnu = yes && echo yes`
2942ac_test_CFLAGS=${CFLAGS+set}
2943ac_save_CFLAGS=$CFLAGS
2944CFLAGS="-g"
2945echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2946echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2947if test "${ac_cv_prog_cc_g+set}" = set; then
2948  echo $ECHO_N "(cached) $ECHO_C" >&6
2949else
2950  cat >conftest.$ac_ext <<_ACEOF
2951/* confdefs.h.  */
2952_ACEOF
2953cat confdefs.h >>conftest.$ac_ext
2954cat >>conftest.$ac_ext <<_ACEOF
2955/* end confdefs.h.  */
2956
2957int
2958main ()
2959{
2960
2961  ;
2962  return 0;
2963}
2964_ACEOF
2965rm -f conftest.$ac_objext
2966if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967  (eval $ac_compile) 2>conftest.er1
2968  ac_status=$?
2969  grep -v '^ *+' conftest.er1 >conftest.err
2970  rm -f conftest.er1
2971  cat conftest.err >&5
2972  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973  (exit $ac_status); } &&
2974	 { ac_try='test -z "$ac_c_werror_flag"
2975			 || test ! -s conftest.err'
2976  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977  (eval $ac_try) 2>&5
2978  ac_status=$?
2979  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980  (exit $ac_status); }; } &&
2981	 { ac_try='test -s conftest.$ac_objext'
2982  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983  (eval $ac_try) 2>&5
2984  ac_status=$?
2985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986  (exit $ac_status); }; }; then
2987  ac_cv_prog_cc_g=yes
2988else
2989  echo "$as_me: failed program was:" >&5
2990sed 's/^/| /' conftest.$ac_ext >&5
2991
2992ac_cv_prog_cc_g=no
2993fi
2994rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2995fi
2996echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2997echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2998if test "$ac_test_CFLAGS" = set; then
2999  CFLAGS=$ac_save_CFLAGS
3000elif test $ac_cv_prog_cc_g = yes; then
3001  if test "$GCC" = yes; then
3002    CFLAGS="-g -O2"
3003  else
3004    CFLAGS="-g"
3005  fi
3006else
3007  if test "$GCC" = yes; then
3008    CFLAGS="-O2"
3009  else
3010    CFLAGS=
3011  fi
3012fi
3013echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3014echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3015if test "${ac_cv_prog_cc_stdc+set}" = set; then
3016  echo $ECHO_N "(cached) $ECHO_C" >&6
3017else
3018  ac_cv_prog_cc_stdc=no
3019ac_save_CC=$CC
3020cat >conftest.$ac_ext <<_ACEOF
3021/* confdefs.h.  */
3022_ACEOF
3023cat confdefs.h >>conftest.$ac_ext
3024cat >>conftest.$ac_ext <<_ACEOF
3025/* end confdefs.h.  */
3026#include <stdarg.h>
3027#include <stdio.h>
3028#include <sys/types.h>
3029#include <sys/stat.h>
3030/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3031struct buf { int x; };
3032FILE * (*rcsopen) (struct buf *, struct stat *, int);
3033static char *e (p, i)
3034     char **p;
3035     int i;
3036{
3037  return p[i];
3038}
3039static char *f (char * (*g) (char **, int), char **p, ...)
3040{
3041  char *s;
3042  va_list v;
3043  va_start (v,p);
3044  s = g (p, va_arg (v,int));
3045  va_end (v);
3046  return s;
3047}
3048
3049/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3050   function prototypes and stuff, but not '\xHH' hex character constants.
3051   These don't provoke an error unfortunately, instead are silently treated
3052   as 'x'.  The following induces an error, until -std1 is added to get
3053   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3054   array size at least.  It's necessary to write '\x00'==0 to get something
3055   that's true only with -std1.  */
3056int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3057
3058int test (int i, double x);
3059struct s1 {int (*f) (int a);};
3060struct s2 {int (*f) (double a);};
3061int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062int argc;
3063char **argv;
3064int
3065main ()
3066{
3067return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3068  ;
3069  return 0;
3070}
3071_ACEOF
3072# Don't try gcc -ansi; that turns off useful extensions and
3073# breaks some systems' header files.
3074# AIX			-qlanglvl=ansi
3075# Ultrix and OSF/1	-std1
3076# HP-UX 10.20 and later	-Ae
3077# HP-UX older versions	-Aa -D_HPUX_SOURCE
3078# SVR4			-Xc -D__EXTENSIONS__
3079for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3080do
3081  CC="$ac_save_CC $ac_arg"
3082  rm -f conftest.$ac_objext
3083if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3084  (eval $ac_compile) 2>conftest.er1
3085  ac_status=$?
3086  grep -v '^ *+' conftest.er1 >conftest.err
3087  rm -f conftest.er1
3088  cat conftest.err >&5
3089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090  (exit $ac_status); } &&
3091	 { ac_try='test -z "$ac_c_werror_flag"
3092			 || test ! -s conftest.err'
3093  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094  (eval $ac_try) 2>&5
3095  ac_status=$?
3096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097  (exit $ac_status); }; } &&
3098	 { ac_try='test -s conftest.$ac_objext'
3099  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100  (eval $ac_try) 2>&5
3101  ac_status=$?
3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103  (exit $ac_status); }; }; then
3104  ac_cv_prog_cc_stdc=$ac_arg
3105break
3106else
3107  echo "$as_me: failed program was:" >&5
3108sed 's/^/| /' conftest.$ac_ext >&5
3109
3110fi
3111rm -f conftest.err conftest.$ac_objext
3112done
3113rm -f conftest.$ac_ext conftest.$ac_objext
3114CC=$ac_save_CC
3115
3116fi
3117
3118case "x$ac_cv_prog_cc_stdc" in
3119  x|xno)
3120    echo "$as_me:$LINENO: result: none needed" >&5
3121echo "${ECHO_T}none needed" >&6 ;;
3122  *)
3123    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125    CC="$CC $ac_cv_prog_cc_stdc" ;;
3126esac
3127
3128# Some people use a C++ compiler to compile C.  Since we use `exit',
3129# in C++ we need to declare it.  In case someone uses the same compiler
3130# for both compiling C and C++ we need to have the C++ compiler decide
3131# the declaration of exit, since it's the most demanding environment.
3132cat >conftest.$ac_ext <<_ACEOF
3133#ifndef __cplusplus
3134  choke me
3135#endif
3136_ACEOF
3137rm -f conftest.$ac_objext
3138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139  (eval $ac_compile) 2>conftest.er1
3140  ac_status=$?
3141  grep -v '^ *+' conftest.er1 >conftest.err
3142  rm -f conftest.er1
3143  cat conftest.err >&5
3144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145  (exit $ac_status); } &&
3146	 { ac_try='test -z "$ac_c_werror_flag"
3147			 || test ! -s conftest.err'
3148  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149  (eval $ac_try) 2>&5
3150  ac_status=$?
3151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152  (exit $ac_status); }; } &&
3153	 { ac_try='test -s conftest.$ac_objext'
3154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155  (eval $ac_try) 2>&5
3156  ac_status=$?
3157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158  (exit $ac_status); }; }; then
3159  for ac_declaration in \
3160   '' \
3161   'extern "C" void std::exit (int) throw (); using std::exit;' \
3162   'extern "C" void std::exit (int); using std::exit;' \
3163   'extern "C" void exit (int) throw ();' \
3164   'extern "C" void exit (int);' \
3165   'void exit (int);'
3166do
3167  cat >conftest.$ac_ext <<_ACEOF
3168/* confdefs.h.  */
3169_ACEOF
3170cat confdefs.h >>conftest.$ac_ext
3171cat >>conftest.$ac_ext <<_ACEOF
3172/* end confdefs.h.  */
3173$ac_declaration
3174#include <stdlib.h>
3175int
3176main ()
3177{
3178exit (42);
3179  ;
3180  return 0;
3181}
3182_ACEOF
3183rm -f conftest.$ac_objext
3184if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185  (eval $ac_compile) 2>conftest.er1
3186  ac_status=$?
3187  grep -v '^ *+' conftest.er1 >conftest.err
3188  rm -f conftest.er1
3189  cat conftest.err >&5
3190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191  (exit $ac_status); } &&
3192	 { ac_try='test -z "$ac_c_werror_flag"
3193			 || test ! -s conftest.err'
3194  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195  (eval $ac_try) 2>&5
3196  ac_status=$?
3197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198  (exit $ac_status); }; } &&
3199	 { ac_try='test -s conftest.$ac_objext'
3200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201  (eval $ac_try) 2>&5
3202  ac_status=$?
3203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204  (exit $ac_status); }; }; then
3205  :
3206else
3207  echo "$as_me: failed program was:" >&5
3208sed 's/^/| /' conftest.$ac_ext >&5
3209
3210continue
3211fi
3212rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3213  cat >conftest.$ac_ext <<_ACEOF
3214/* confdefs.h.  */
3215_ACEOF
3216cat confdefs.h >>conftest.$ac_ext
3217cat >>conftest.$ac_ext <<_ACEOF
3218/* end confdefs.h.  */
3219$ac_declaration
3220int
3221main ()
3222{
3223exit (42);
3224  ;
3225  return 0;
3226}
3227_ACEOF
3228rm -f conftest.$ac_objext
3229if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3230  (eval $ac_compile) 2>conftest.er1
3231  ac_status=$?
3232  grep -v '^ *+' conftest.er1 >conftest.err
3233  rm -f conftest.er1
3234  cat conftest.err >&5
3235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236  (exit $ac_status); } &&
3237	 { ac_try='test -z "$ac_c_werror_flag"
3238			 || test ! -s conftest.err'
3239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240  (eval $ac_try) 2>&5
3241  ac_status=$?
3242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243  (exit $ac_status); }; } &&
3244	 { ac_try='test -s conftest.$ac_objext'
3245  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246  (eval $ac_try) 2>&5
3247  ac_status=$?
3248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249  (exit $ac_status); }; }; then
3250  break
3251else
3252  echo "$as_me: failed program was:" >&5
3253sed 's/^/| /' conftest.$ac_ext >&5
3254
3255fi
3256rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3257done
3258rm -f conftest*
3259if test -n "$ac_declaration"; then
3260  echo '#ifdef __cplusplus' >>confdefs.h
3261  echo $ac_declaration      >>confdefs.h
3262  echo '#endif'             >>confdefs.h
3263fi
3264
3265else
3266  echo "$as_me: failed program was:" >&5
3267sed 's/^/| /' conftest.$ac_ext >&5
3268
3269fi
3270rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3271ac_ext=c
3272ac_cpp='$CPP $CPPFLAGS'
3273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275ac_compiler_gnu=$ac_cv_c_compiler_gnu
3276
3277  ac_ext=cc
3278ac_cpp='$CXXCPP $CPPFLAGS'
3279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3282if test -n "$ac_tool_prefix"; then
3283  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3284  do
3285    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287echo "$as_me:$LINENO: checking for $ac_word" >&5
3288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289if test "${glibcxx_cv_prog_CXX+set}" = set; then
3290  echo $ECHO_N "(cached) $ECHO_C" >&6
3291else
3292  if test -n "$CXX"; then
3293  glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3294else
3295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296for as_dir in $PATH
3297do
3298  IFS=$as_save_IFS
3299  test -z "$as_dir" && as_dir=.
3300  for ac_exec_ext in '' $ac_executable_extensions; do
3301  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302    glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3303    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304    break 2
3305  fi
3306done
3307done
3308
3309fi
3310fi
3311CXX=$glibcxx_cv_prog_CXX
3312if test -n "$CXX"; then
3313  echo "$as_me:$LINENO: result: $CXX" >&5
3314echo "${ECHO_T}$CXX" >&6
3315else
3316  echo "$as_me:$LINENO: result: no" >&5
3317echo "${ECHO_T}no" >&6
3318fi
3319
3320    test -n "$CXX" && break
3321  done
3322fi
3323if test -z "$CXX"; then
3324  ac_ct_CXX=$CXX
3325  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3326do
3327  # Extract the first word of "$ac_prog", so it can be a program name with args.
3328set dummy $ac_prog; ac_word=$2
3329echo "$as_me:$LINENO: checking for $ac_word" >&5
3330echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3331if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3332  echo $ECHO_N "(cached) $ECHO_C" >&6
3333else
3334  if test -n "$ac_ct_CXX"; then
3335  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3336else
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340  IFS=$as_save_IFS
3341  test -z "$as_dir" && as_dir=.
3342  for ac_exec_ext in '' $ac_executable_extensions; do
3343  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344    ac_cv_prog_ac_ct_CXX="$ac_prog"
3345    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346    break 2
3347  fi
3348done
3349done
3350
3351fi
3352fi
3353ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3354if test -n "$ac_ct_CXX"; then
3355  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3356echo "${ECHO_T}$ac_ct_CXX" >&6
3357else
3358  echo "$as_me:$LINENO: result: no" >&5
3359echo "${ECHO_T}no" >&6
3360fi
3361
3362  test -n "$ac_ct_CXX" && break
3363done
3364test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3365
3366  CXX=$ac_ct_CXX
3367fi
3368
3369
3370# Provide some information about the compiler.
3371echo "$as_me:$LINENO:" \
3372     "checking for C++ compiler version" >&5
3373ac_compiler=`set X $ac_compile; echo $2`
3374{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3375  (eval $ac_compiler --version </dev/null >&5) 2>&5
3376  ac_status=$?
3377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378  (exit $ac_status); }
3379{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3380  (eval $ac_compiler -v </dev/null >&5) 2>&5
3381  ac_status=$?
3382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383  (exit $ac_status); }
3384{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3385  (eval $ac_compiler -V </dev/null >&5) 2>&5
3386  ac_status=$?
3387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388  (exit $ac_status); }
3389
3390echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3391echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3392if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3393  echo $ECHO_N "(cached) $ECHO_C" >&6
3394else
3395  cat >conftest.$ac_ext <<_ACEOF
3396/* confdefs.h.  */
3397_ACEOF
3398cat confdefs.h >>conftest.$ac_ext
3399cat >>conftest.$ac_ext <<_ACEOF
3400/* end confdefs.h.  */
3401
3402int
3403main ()
3404{
3405#ifndef __GNUC__
3406       choke me
3407#endif
3408
3409  ;
3410  return 0;
3411}
3412_ACEOF
3413rm -f conftest.$ac_objext
3414if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415  (eval $ac_compile) 2>conftest.er1
3416  ac_status=$?
3417  grep -v '^ *+' conftest.er1 >conftest.err
3418  rm -f conftest.er1
3419  cat conftest.err >&5
3420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421  (exit $ac_status); } &&
3422	 { ac_try='test -z "$ac_cxx_werror_flag"
3423			 || test ! -s conftest.err'
3424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425  (eval $ac_try) 2>&5
3426  ac_status=$?
3427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428  (exit $ac_status); }; } &&
3429	 { ac_try='test -s conftest.$ac_objext'
3430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431  (eval $ac_try) 2>&5
3432  ac_status=$?
3433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434  (exit $ac_status); }; }; then
3435  ac_compiler_gnu=yes
3436else
3437  echo "$as_me: failed program was:" >&5
3438sed 's/^/| /' conftest.$ac_ext >&5
3439
3440ac_compiler_gnu=no
3441fi
3442rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3443ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3444
3445fi
3446echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3447echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3448GXX=`test $ac_compiler_gnu = yes && echo yes`
3449ac_test_CXXFLAGS=${CXXFLAGS+set}
3450ac_save_CXXFLAGS=$CXXFLAGS
3451CXXFLAGS="-g"
3452echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3453echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3454if test "${ac_cv_prog_cxx_g+set}" = set; then
3455  echo $ECHO_N "(cached) $ECHO_C" >&6
3456else
3457  cat >conftest.$ac_ext <<_ACEOF
3458/* confdefs.h.  */
3459_ACEOF
3460cat confdefs.h >>conftest.$ac_ext
3461cat >>conftest.$ac_ext <<_ACEOF
3462/* end confdefs.h.  */
3463
3464int
3465main ()
3466{
3467
3468  ;
3469  return 0;
3470}
3471_ACEOF
3472rm -f conftest.$ac_objext
3473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474  (eval $ac_compile) 2>conftest.er1
3475  ac_status=$?
3476  grep -v '^ *+' conftest.er1 >conftest.err
3477  rm -f conftest.er1
3478  cat conftest.err >&5
3479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480  (exit $ac_status); } &&
3481	 { ac_try='test -z "$ac_cxx_werror_flag"
3482			 || test ! -s conftest.err'
3483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484  (eval $ac_try) 2>&5
3485  ac_status=$?
3486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487  (exit $ac_status); }; } &&
3488	 { ac_try='test -s conftest.$ac_objext'
3489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490  (eval $ac_try) 2>&5
3491  ac_status=$?
3492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493  (exit $ac_status); }; }; then
3494  ac_cv_prog_cxx_g=yes
3495else
3496  echo "$as_me: failed program was:" >&5
3497sed 's/^/| /' conftest.$ac_ext >&5
3498
3499ac_cv_prog_cxx_g=no
3500fi
3501rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3502fi
3503echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3504echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3505if test "$ac_test_CXXFLAGS" = set; then
3506  CXXFLAGS=$ac_save_CXXFLAGS
3507elif test $ac_cv_prog_cxx_g = yes; then
3508  if test "$GXX" = yes; then
3509    CXXFLAGS="-g -O2"
3510  else
3511    CXXFLAGS="-g"
3512  fi
3513else
3514  if test "$GXX" = yes; then
3515    CXXFLAGS="-O2"
3516  else
3517    CXXFLAGS=
3518  fi
3519fi
3520for ac_declaration in \
3521   '' \
3522   'extern "C" void std::exit (int) throw (); using std::exit;' \
3523   'extern "C" void std::exit (int); using std::exit;' \
3524   'extern "C" void exit (int) throw ();' \
3525   'extern "C" void exit (int);' \
3526   'void exit (int);'
3527do
3528  cat >conftest.$ac_ext <<_ACEOF
3529/* confdefs.h.  */
3530_ACEOF
3531cat confdefs.h >>conftest.$ac_ext
3532cat >>conftest.$ac_ext <<_ACEOF
3533/* end confdefs.h.  */
3534$ac_declaration
3535#include <stdlib.h>
3536int
3537main ()
3538{
3539exit (42);
3540  ;
3541  return 0;
3542}
3543_ACEOF
3544rm -f conftest.$ac_objext
3545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3546  (eval $ac_compile) 2>conftest.er1
3547  ac_status=$?
3548  grep -v '^ *+' conftest.er1 >conftest.err
3549  rm -f conftest.er1
3550  cat conftest.err >&5
3551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552  (exit $ac_status); } &&
3553	 { ac_try='test -z "$ac_cxx_werror_flag"
3554			 || test ! -s conftest.err'
3555  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556  (eval $ac_try) 2>&5
3557  ac_status=$?
3558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559  (exit $ac_status); }; } &&
3560	 { ac_try='test -s conftest.$ac_objext'
3561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562  (eval $ac_try) 2>&5
3563  ac_status=$?
3564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565  (exit $ac_status); }; }; then
3566  :
3567else
3568  echo "$as_me: failed program was:" >&5
3569sed 's/^/| /' conftest.$ac_ext >&5
3570
3571continue
3572fi
3573rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3574  cat >conftest.$ac_ext <<_ACEOF
3575/* confdefs.h.  */
3576_ACEOF
3577cat confdefs.h >>conftest.$ac_ext
3578cat >>conftest.$ac_ext <<_ACEOF
3579/* end confdefs.h.  */
3580$ac_declaration
3581int
3582main ()
3583{
3584exit (42);
3585  ;
3586  return 0;
3587}
3588_ACEOF
3589rm -f conftest.$ac_objext
3590if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591  (eval $ac_compile) 2>conftest.er1
3592  ac_status=$?
3593  grep -v '^ *+' conftest.er1 >conftest.err
3594  rm -f conftest.er1
3595  cat conftest.err >&5
3596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597  (exit $ac_status); } &&
3598	 { ac_try='test -z "$ac_cxx_werror_flag"
3599			 || test ! -s conftest.err'
3600  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601  (eval $ac_try) 2>&5
3602  ac_status=$?
3603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604  (exit $ac_status); }; } &&
3605	 { ac_try='test -s conftest.$ac_objext'
3606  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607  (eval $ac_try) 2>&5
3608  ac_status=$?
3609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610  (exit $ac_status); }; }; then
3611  break
3612else
3613  echo "$as_me: failed program was:" >&5
3614sed 's/^/| /' conftest.$ac_ext >&5
3615
3616fi
3617rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618done
3619rm -f conftest*
3620if test -n "$ac_declaration"; then
3621  echo '#ifdef __cplusplus' >>confdefs.h
3622  echo $ac_declaration      >>confdefs.h
3623  echo '#endif'             >>confdefs.h
3624fi
3625
3626ac_ext=c
3627ac_cpp='$CPP $CPPFLAGS'
3628ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631
3632  CXXFLAGS="$save_CXXFLAGS"
3633
3634
3635
3636
3637  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3638  # available).  Uncomment the next line to force a particular method.
3639  echo "$as_me:$LINENO: checking whether ln -s works" >&5
3640echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3641LN_S=$as_ln_s
3642if test "$LN_S" = "ln -s"; then
3643  echo "$as_me:$LINENO: result: yes" >&5
3644echo "${ECHO_T}yes" >&6
3645else
3646  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3647echo "${ECHO_T}no, using $LN_S" >&6
3648fi
3649
3650  #LN_S='cp -p'
3651
3652  if test -n "$ac_tool_prefix"; then
3653  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3654set dummy ${ac_tool_prefix}as; ac_word=$2
3655echo "$as_me:$LINENO: checking for $ac_word" >&5
3656echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3657if test "${ac_cv_prog_AS+set}" = set; then
3658  echo $ECHO_N "(cached) $ECHO_C" >&6
3659else
3660  if test -n "$AS"; then
3661  ac_cv_prog_AS="$AS" # Let the user override the test.
3662else
3663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664for as_dir in $PATH
3665do
3666  IFS=$as_save_IFS
3667  test -z "$as_dir" && as_dir=.
3668  for ac_exec_ext in '' $ac_executable_extensions; do
3669  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670    ac_cv_prog_AS="${ac_tool_prefix}as"
3671    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672    break 2
3673  fi
3674done
3675done
3676
3677fi
3678fi
3679AS=$ac_cv_prog_AS
3680if test -n "$AS"; then
3681  echo "$as_me:$LINENO: result: $AS" >&5
3682echo "${ECHO_T}$AS" >&6
3683else
3684  echo "$as_me:$LINENO: result: no" >&5
3685echo "${ECHO_T}no" >&6
3686fi
3687
3688fi
3689if test -z "$ac_cv_prog_AS"; then
3690  ac_ct_AS=$AS
3691  # Extract the first word of "as", so it can be a program name with args.
3692set dummy as; ac_word=$2
3693echo "$as_me:$LINENO: checking for $ac_word" >&5
3694echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3696  echo $ECHO_N "(cached) $ECHO_C" >&6
3697else
3698  if test -n "$ac_ct_AS"; then
3699  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3700else
3701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702for as_dir in $PATH
3703do
3704  IFS=$as_save_IFS
3705  test -z "$as_dir" && as_dir=.
3706  for ac_exec_ext in '' $ac_executable_extensions; do
3707  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708    ac_cv_prog_ac_ct_AS="as"
3709    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3710    break 2
3711  fi
3712done
3713done
3714
3715fi
3716fi
3717ac_ct_AS=$ac_cv_prog_ac_ct_AS
3718if test -n "$ac_ct_AS"; then
3719  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3720echo "${ECHO_T}$ac_ct_AS" >&6
3721else
3722  echo "$as_me:$LINENO: result: no" >&5
3723echo "${ECHO_T}no" >&6
3724fi
3725
3726  AS=$ac_ct_AS
3727else
3728  AS="$ac_cv_prog_AS"
3729fi
3730
3731  if test -n "$ac_tool_prefix"; then
3732  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3733set dummy ${ac_tool_prefix}ar; ac_word=$2
3734echo "$as_me:$LINENO: checking for $ac_word" >&5
3735echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736if test "${ac_cv_prog_AR+set}" = set; then
3737  echo $ECHO_N "(cached) $ECHO_C" >&6
3738else
3739  if test -n "$AR"; then
3740  ac_cv_prog_AR="$AR" # Let the user override the test.
3741else
3742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743for as_dir in $PATH
3744do
3745  IFS=$as_save_IFS
3746  test -z "$as_dir" && as_dir=.
3747  for ac_exec_ext in '' $ac_executable_extensions; do
3748  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749    ac_cv_prog_AR="${ac_tool_prefix}ar"
3750    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751    break 2
3752  fi
3753done
3754done
3755
3756fi
3757fi
3758AR=$ac_cv_prog_AR
3759if test -n "$AR"; then
3760  echo "$as_me:$LINENO: result: $AR" >&5
3761echo "${ECHO_T}$AR" >&6
3762else
3763  echo "$as_me:$LINENO: result: no" >&5
3764echo "${ECHO_T}no" >&6
3765fi
3766
3767fi
3768if test -z "$ac_cv_prog_AR"; then
3769  ac_ct_AR=$AR
3770  # Extract the first word of "ar", so it can be a program name with args.
3771set dummy ar; ac_word=$2
3772echo "$as_me:$LINENO: checking for $ac_word" >&5
3773echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3774if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3775  echo $ECHO_N "(cached) $ECHO_C" >&6
3776else
3777  if test -n "$ac_ct_AR"; then
3778  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3779else
3780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781for as_dir in $PATH
3782do
3783  IFS=$as_save_IFS
3784  test -z "$as_dir" && as_dir=.
3785  for ac_exec_ext in '' $ac_executable_extensions; do
3786  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787    ac_cv_prog_ac_ct_AR="ar"
3788    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789    break 2
3790  fi
3791done
3792done
3793
3794fi
3795fi
3796ac_ct_AR=$ac_cv_prog_ac_ct_AR
3797if test -n "$ac_ct_AR"; then
3798  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3799echo "${ECHO_T}$ac_ct_AR" >&6
3800else
3801  echo "$as_me:$LINENO: result: no" >&5
3802echo "${ECHO_T}no" >&6
3803fi
3804
3805  AR=$ac_ct_AR
3806else
3807  AR="$ac_cv_prog_AR"
3808fi
3809
3810  if test -n "$ac_tool_prefix"; then
3811  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3812set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3813echo "$as_me:$LINENO: checking for $ac_word" >&5
3814echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815if test "${ac_cv_prog_RANLIB+set}" = set; then
3816  echo $ECHO_N "(cached) $ECHO_C" >&6
3817else
3818  if test -n "$RANLIB"; then
3819  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3820else
3821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822for as_dir in $PATH
3823do
3824  IFS=$as_save_IFS
3825  test -z "$as_dir" && as_dir=.
3826  for ac_exec_ext in '' $ac_executable_extensions; do
3827  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3829    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830    break 2
3831  fi
3832done
3833done
3834
3835fi
3836fi
3837RANLIB=$ac_cv_prog_RANLIB
3838if test -n "$RANLIB"; then
3839  echo "$as_me:$LINENO: result: $RANLIB" >&5
3840echo "${ECHO_T}$RANLIB" >&6
3841else
3842  echo "$as_me:$LINENO: result: no" >&5
3843echo "${ECHO_T}no" >&6
3844fi
3845
3846fi
3847if test -z "$ac_cv_prog_RANLIB"; then
3848  ac_ct_RANLIB=$RANLIB
3849  # Extract the first word of "ranlib", so it can be a program name with args.
3850set dummy ranlib; ac_word=$2
3851echo "$as_me:$LINENO: checking for $ac_word" >&5
3852echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3853if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3854  echo $ECHO_N "(cached) $ECHO_C" >&6
3855else
3856  if test -n "$ac_ct_RANLIB"; then
3857  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3858else
3859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860for as_dir in $PATH
3861do
3862  IFS=$as_save_IFS
3863  test -z "$as_dir" && as_dir=.
3864  for ac_exec_ext in '' $ac_executable_extensions; do
3865  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866    ac_cv_prog_ac_ct_RANLIB="ranlib"
3867    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868    break 2
3869  fi
3870done
3871done
3872
3873  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3874fi
3875fi
3876ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3877if test -n "$ac_ct_RANLIB"; then
3878  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3879echo "${ECHO_T}$ac_ct_RANLIB" >&6
3880else
3881  echo "$as_me:$LINENO: result: no" >&5
3882echo "${ECHO_T}no" >&6
3883fi
3884
3885  RANLIB=$ac_ct_RANLIB
3886else
3887  RANLIB="$ac_cv_prog_RANLIB"
3888fi
3889
3890
3891  echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3892echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3893    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3894if test "${enable_maintainer_mode+set}" = set; then
3895  enableval="$enable_maintainer_mode"
3896  USE_MAINTAINER_MODE=$enableval
3897else
3898  USE_MAINTAINER_MODE=no
3899fi;
3900  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3901echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3902
3903
3904if test $USE_MAINTAINER_MODE = yes; then
3905  MAINTAINER_MODE_TRUE=
3906  MAINTAINER_MODE_FALSE='#'
3907else
3908  MAINTAINER_MODE_TRUE='#'
3909  MAINTAINER_MODE_FALSE=
3910fi
3911
3912  MAINT=$MAINTAINER_MODE_TRUE
3913
3914
3915
3916  # Set up safe default values for all subsequent AM_CONDITIONAL tests
3917  # which are themselves conditionally expanded.
3918  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3919  ## other macros from doing the same.  This should be automated.)  -pme
3920  need_libmath=no
3921
3922  # Check for uClibc since Linux platforms use different configuration
3923  # directories depending on the C library in use.
3924  cat >conftest.$ac_ext <<_ACEOF
3925/* confdefs.h.  */
3926_ACEOF
3927cat confdefs.h >>conftest.$ac_ext
3928cat >>conftest.$ac_ext <<_ACEOF
3929/* end confdefs.h.  */
3930
3931  #include <stdio.h>
3932  #if __UCLIBC__
3933    _using_uclibc
3934  #endif
3935
3936_ACEOF
3937if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3938  $EGREP "_using_uclibc" >/dev/null 2>&1; then
3939  uclibc=yes
3940else
3941  uclibc=no
3942fi
3943rm -f conftest*
3944
3945
3946  # Find platform-specific directories containing configuration info.
3947  # Also possibly modify flags used elsewhere, as needed by the platform.
3948
3949  . $glibcxx_srcdir/configure.host
3950  { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3951echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3952  { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3953echo "$as_me: OS config directory is $os_include_dir" >&6;}
3954
3955
3956
3957
3958# Check whether --enable-shared or --disable-shared was given.
3959if test "${enable_shared+set}" = set; then
3960  enableval="$enable_shared"
3961  p=${PACKAGE-default}
3962case $enableval in
3963yes) enable_shared=yes ;;
3964no) enable_shared=no ;;
3965*)
3966  enable_shared=no
3967  # Look at the argument we got.  We use all the common list separators.
3968  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3969  for pkg in $enableval; do
3970    if test "X$pkg" = "X$p"; then
3971      enable_shared=yes
3972    fi
3973  done
3974  IFS="$ac_save_ifs"
3975  ;;
3976esac
3977else
3978  enable_shared=yes
3979fi;
3980# Check whether --enable-static or --disable-static was given.
3981if test "${enable_static+set}" = set; then
3982  enableval="$enable_static"
3983  p=${PACKAGE-default}
3984case $enableval in
3985yes) enable_static=yes ;;
3986no) enable_static=no ;;
3987*)
3988  enable_static=no
3989  # Look at the argument we got.  We use all the common list separators.
3990  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3991  for pkg in $enableval; do
3992    if test "X$pkg" = "X$p"; then
3993      enable_static=yes
3994    fi
3995  done
3996  IFS="$ac_save_ifs"
3997  ;;
3998esac
3999else
4000  enable_static=yes
4001fi;
4002# Check whether --enable-fast-install or --disable-fast-install was given.
4003if test "${enable_fast_install+set}" = set; then
4004  enableval="$enable_fast_install"
4005  p=${PACKAGE-default}
4006case $enableval in
4007yes) enable_fast_install=yes ;;
4008no) enable_fast_install=no ;;
4009*)
4010  enable_fast_install=no
4011  # Look at the argument we got.  We use all the common list separators.
4012  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4013  for pkg in $enableval; do
4014    if test "X$pkg" = "X$p"; then
4015      enable_fast_install=yes
4016    fi
4017  done
4018  IFS="$ac_save_ifs"
4019  ;;
4020esac
4021else
4022  enable_fast_install=yes
4023fi;
4024
4025# Check whether --with-gnu-ld or --without-gnu-ld was given.
4026if test "${with_gnu_ld+set}" = set; then
4027  withval="$with_gnu_ld"
4028  test "$withval" = no || with_gnu_ld=yes
4029else
4030  with_gnu_ld=no
4031fi;
4032ac_prog=ld
4033if test "$GCC" = yes; then
4034  # Check if gcc -print-prog-name=ld gives a path.
4035  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4036echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4037  case $host in
4038  *-*-mingw*)
4039    # gcc leaves a trailing carriage return which upsets mingw
4040    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4041  *)
4042    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4043  esac
4044  case $ac_prog in
4045    # Accept absolute paths.
4046    [\\/]* | [A-Za-z]:[\\/]*)
4047      re_direlt='/[^/][^/]*/\.\./'
4048      # Canonicalize the path of ld
4049      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4050      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4051	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4052      done
4053      test -z "$LD" && LD="$ac_prog"
4054      ;;
4055  "")
4056    # If it fails, then pretend we aren't using GCC.
4057    ac_prog=ld
4058    ;;
4059  *)
4060    # If it is relative, then search for the first ld in PATH.
4061    with_gnu_ld=unknown
4062    ;;
4063  esac
4064elif test "$with_gnu_ld" = yes; then
4065  echo "$as_me:$LINENO: checking for GNU ld" >&5
4066echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4067else
4068  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4069echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4070fi
4071if test "${lt_cv_path_LD+set}" = set; then
4072  echo $ECHO_N "(cached) $ECHO_C" >&6
4073else
4074  if test -z "$LD"; then
4075  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4076  for ac_dir in $PATH; do
4077    test -z "$ac_dir" && ac_dir=.
4078    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4079      lt_cv_path_LD="$ac_dir/$ac_prog"
4080      # Check to see if the program is GNU ld.  I'd rather use --version,
4081      # but apparently some GNU ld's only accept -v.
4082      # Break only if it was the GNU/non-GNU ld that we prefer.
4083      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4084	test "$with_gnu_ld" != no && break
4085      else
4086	test "$with_gnu_ld" != yes && break
4087      fi
4088    fi
4089  done
4090  IFS="$ac_save_ifs"
4091else
4092  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4093fi
4094fi
4095
4096LD="$lt_cv_path_LD"
4097if test -n "$LD"; then
4098  echo "$as_me:$LINENO: result: $LD" >&5
4099echo "${ECHO_T}$LD" >&6
4100else
4101  echo "$as_me:$LINENO: result: no" >&5
4102echo "${ECHO_T}no" >&6
4103fi
4104test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4105echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4106   { (exit 1); exit 1; }; }
4107echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4108echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4109if test "${lt_cv_prog_gnu_ld+set}" = set; then
4110  echo $ECHO_N "(cached) $ECHO_C" >&6
4111else
4112  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4113if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4114  lt_cv_prog_gnu_ld=yes
4115else
4116  lt_cv_prog_gnu_ld=no
4117fi
4118fi
4119echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4120echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4121with_gnu_ld=$lt_cv_prog_gnu_ld
4122
4123
4124echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4125echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4126if test "${lt_cv_ld_reload_flag+set}" = set; then
4127  echo $ECHO_N "(cached) $ECHO_C" >&6
4128else
4129  lt_cv_ld_reload_flag='-r'
4130fi
4131echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4132echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4133reload_flag=$lt_cv_ld_reload_flag
4134test -n "$reload_flag" && reload_flag=" $reload_flag"
4135
4136echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4137echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4138if test "${lt_cv_path_NM+set}" = set; then
4139  echo $ECHO_N "(cached) $ECHO_C" >&6
4140else
4141  if test -n "$NM"; then
4142  # Let the user override the test.
4143  lt_cv_path_NM="$NM"
4144else
4145  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4146  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4147    test -z "$ac_dir" && ac_dir=.
4148    tmp_nm=$ac_dir/${ac_tool_prefix}nm
4149    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4150      # Check to see if the nm accepts a BSD-compat flag.
4151      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4152      #   nm: unknown option "B" ignored
4153      # Tru64's nm complains that /dev/null is an invalid object file
4154      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4155	lt_cv_path_NM="$tmp_nm -B"
4156	break
4157      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4158	lt_cv_path_NM="$tmp_nm -p"
4159	break
4160      else
4161	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4162	continue # so that we can try to find one that supports BSD flags
4163      fi
4164    fi
4165  done
4166  IFS="$ac_save_ifs"
4167  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4168fi
4169fi
4170
4171NM="$lt_cv_path_NM"
4172echo "$as_me:$LINENO: result: $NM" >&5
4173echo "${ECHO_T}$NM" >&6
4174
4175echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4176echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4177if test "${lt_cv_deplibs_check_method+set}" = set; then
4178  echo $ECHO_N "(cached) $ECHO_C" >&6
4179else
4180  lt_cv_file_magic_cmd='$MAGIC_CMD'
4181lt_cv_file_magic_test_file=
4182lt_cv_deplibs_check_method='unknown'
4183# Need to set the preceding variable on all platforms that support
4184# interlibrary dependencies.
4185# 'none' -- dependencies not supported.
4186# `unknown' -- same as none, but documents that we really don't know.
4187# 'pass_all' -- all dependencies passed with no checks.
4188# 'test_compile' -- check by making test program.
4189# 'file_magic [regex]' -- check by looking for files in library path
4190# which responds to the $file_magic_cmd with a given egrep regex.
4191# If you have `file' or equivalent on your system and you're not sure
4192# whether `pass_all' will *always* work, you probably want this one.
4193
4194case $host_os in
4195aix*)
4196  lt_cv_deplibs_check_method=pass_all
4197  ;;
4198
4199beos*)
4200  lt_cv_deplibs_check_method=pass_all
4201  ;;
4202
4203bsdi4*)
4204  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4205  lt_cv_file_magic_cmd='/usr/bin/file -L'
4206  lt_cv_file_magic_test_file=/shlib/libc.so
4207  ;;
4208
4209cygwin* | mingw* |pw32*)
4210  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4211  lt_cv_file_magic_cmd='$OBJDUMP -f'
4212  ;;
4213
4214darwin* | rhapsody*)
4215  # this will be overwritten by pass_all, but leave it in just in case
4216  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4217  lt_cv_file_magic_cmd='/usr/bin/file -L'
4218  case "$host_os" in
4219  rhapsody* | darwin1.012)
4220    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4221    ;;
4222  *) # Darwin 1.3 on
4223    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4224    ;;
4225  esac
4226  lt_cv_deplibs_check_method=pass_all
4227  ;;
4228
4229freebsd* | kfreebsd*-gnu)
4230  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4231    case $host_cpu in
4232    i*86 )
4233      # Not sure whether the presence of OpenBSD here was a mistake.
4234      # Let's accept both of them until this is cleared up.
4235      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4236      lt_cv_file_magic_cmd=/usr/bin/file
4237      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4238      ;;
4239    esac
4240  else
4241    lt_cv_deplibs_check_method=pass_all
4242  fi
4243  ;;
4244
4245gnu*)
4246  lt_cv_deplibs_check_method=pass_all
4247  ;;
4248
4249hpux10.20*|hpux11*)
4250  case $host_cpu in
4251  hppa*)
4252    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4253    lt_cv_file_magic_cmd=/usr/bin/file
4254    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4255    ;;
4256  ia64*)
4257    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4258    lt_cv_file_magic_cmd=/usr/bin/file
4259    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4260    ;;
4261  esac
4262  ;;
4263
4264irix5* | irix6*)
4265  case $host_os in
4266  irix5*)
4267    # this will be overridden with pass_all, but let us keep it just in case
4268    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4269    ;;
4270  *)
4271    case $LD in
4272    *-32|*"-32 ") libmagic=32-bit;;
4273    *-n32|*"-n32 ") libmagic=N32;;
4274    *-64|*"-64 ") libmagic=64-bit;;
4275    *) libmagic=never-match;;
4276    esac
4277    # this will be overridden with pass_all, but let us keep it just in case
4278    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4279    ;;
4280  esac
4281  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4282  lt_cv_deplibs_check_method=pass_all
4283  ;;
4284
4285# This must be Linux ELF.
4286linux-gnu*)
4287  lt_cv_deplibs_check_method=pass_all
4288  ;;
4289
4290netbsd* | knetbsd*-gnu)
4291  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4292    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4293  else
4294    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4295  fi
4296  ;;
4297
4298newsos6)
4299  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4300  lt_cv_file_magic_cmd=/usr/bin/file
4301  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4302  ;;
4303
4304osf3* | osf4* | osf5*)
4305  # this will be overridden with pass_all, but let us keep it just in case
4306  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4307  lt_cv_file_magic_test_file=/shlib/libc.so
4308  lt_cv_deplibs_check_method=pass_all
4309  ;;
4310
4311sco3.2v5*)
4312  lt_cv_deplibs_check_method=pass_all
4313  ;;
4314
4315solaris*)
4316  lt_cv_deplibs_check_method=pass_all
4317  lt_cv_file_magic_test_file=/lib/libc.so
4318  ;;
4319
4320sysv5uw[78]* | sysv4*uw2*)
4321  lt_cv_deplibs_check_method=pass_all
4322  ;;
4323
4324sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4325  case $host_vendor in
4326  ncr)
4327    lt_cv_deplibs_check_method=pass_all
4328    ;;
4329  motorola)
4330    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]'
4331    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4332    ;;
4333  esac
4334  ;;
4335esac
4336
4337fi
4338echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4339echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4340file_magic_cmd=$lt_cv_file_magic_cmd
4341deplibs_check_method=$lt_cv_deplibs_check_method
4342
4343
4344
4345
4346# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4347
4348# find the maximum length of command line arguments
4349echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4350echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4351if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4352  echo $ECHO_N "(cached) $ECHO_C" >&6
4353else
4354    i=0
4355  teststring="ABCD"
4356
4357  case $build_os in
4358  msdosdjgpp*)
4359    # On DJGPP, this test can blow up pretty badly due to problems in libc
4360    # (any single argument exceeding 2000 bytes causes a buffer overrun
4361    # during glob expansion).  Even if it were fixed, the result of this
4362    # check would be larger than it should be.
4363    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4364    ;;
4365
4366  cygwin* | mingw*)
4367    # On Win9x/ME, this test blows up -- it succeeds, but takes
4368    # about 5 minutes as the teststring grows exponentially.
4369    # Worse, since 9x/ME are not pre-emptively multitasking,
4370    # you end up with a "frozen" computer, even though with patience
4371    # the test eventually succeeds (with a max line length of 256k).
4372    # Instead, let's just punt: use the minimum linelength reported by
4373    # all of the supported platforms: 8192 (on NT/2K/XP).
4374    lt_cv_sys_max_cmd_len=8192;
4375    ;;
4376
4377  amigaos*)
4378    # On AmigaOS with pdksh, this test takes hours, literally.
4379    # So we just punt and use a minimum line length of 8192.
4380    lt_cv_sys_max_cmd_len=8192;
4381    ;;
4382
4383  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4384    # This has been around since 386BSD, at least.  Likely further.
4385    if test -x /sbin/sysctl; then
4386      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4387    elif test -x /usr/sbin/sysctl; then
4388      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4389    else
4390      lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4391    fi
4392    # And add a safety zone
4393    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4394    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4395    ;;
4396  esac
4397
4398fi
4399
4400if test -n "$lt_cv_sys_max_cmd_len" ; then
4401  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4402echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4403else
4404  echo "$as_me:$LINENO: result: none" >&5
4405echo "${ECHO_T}none" >&6
4406fi
4407
4408
4409# Only perform the check for file, if the check method requires it
4410case $deplibs_check_method in
4411file_magic*)
4412  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4413    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4414echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4415if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4416  echo $ECHO_N "(cached) $ECHO_C" >&6
4417else
4418  case $MAGIC_CMD in
4419  /*)
4420  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4421  ;;
4422  ?:/*)
4423  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4424  ;;
4425  *)
4426  ac_save_MAGIC_CMD="$MAGIC_CMD"
4427  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4428  ac_dummy="/usr/bin:$PATH"
4429  for ac_dir in $ac_dummy; do
4430    test -z "$ac_dir" && ac_dir=.
4431    if test -f $ac_dir/${ac_tool_prefix}file; then
4432      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4433      if test -n "$file_magic_test_file"; then
4434	case $deplibs_check_method in
4435	"file_magic "*)
4436	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4437	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4438	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4439	    egrep "$file_magic_regex" > /dev/null; then
4440	    :
4441	  else
4442	    cat <<EOF 1>&2
4443
4444*** Warning: the command libtool uses to detect shared libraries,
4445*** $file_magic_cmd, produces output that libtool cannot recognize.
4446*** The result is that libtool may fail to recognize shared libraries
4447*** as such.  This will affect the creation of libtool libraries that
4448*** depend on shared libraries, but programs linked with such libtool
4449*** libraries will work regardless of this problem.  Nevertheless, you
4450*** may want to report the problem to your system manager and/or to
4451*** bug-libtool@gnu.org
4452
4453EOF
4454	  fi ;;
4455	esac
4456      fi
4457      break
4458    fi
4459  done
4460  IFS="$ac_save_ifs"
4461  MAGIC_CMD="$ac_save_MAGIC_CMD"
4462  ;;
4463esac
4464fi
4465
4466MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4467if test -n "$MAGIC_CMD"; then
4468  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4469echo "${ECHO_T}$MAGIC_CMD" >&6
4470else
4471  echo "$as_me:$LINENO: result: no" >&5
4472echo "${ECHO_T}no" >&6
4473fi
4474
4475if test -z "$lt_cv_path_MAGIC_CMD"; then
4476  if test -n "$ac_tool_prefix"; then
4477    echo "$as_me:$LINENO: checking for file" >&5
4478echo $ECHO_N "checking for file... $ECHO_C" >&6
4479if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4480  echo $ECHO_N "(cached) $ECHO_C" >&6
4481else
4482  case $MAGIC_CMD in
4483  /*)
4484  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4485  ;;
4486  ?:/*)
4487  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4488  ;;
4489  *)
4490  ac_save_MAGIC_CMD="$MAGIC_CMD"
4491  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4492  ac_dummy="/usr/bin:$PATH"
4493  for ac_dir in $ac_dummy; do
4494    test -z "$ac_dir" && ac_dir=.
4495    if test -f $ac_dir/file; then
4496      lt_cv_path_MAGIC_CMD="$ac_dir/file"
4497      if test -n "$file_magic_test_file"; then
4498	case $deplibs_check_method in
4499	"file_magic "*)
4500	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4501	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4502	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4503	    egrep "$file_magic_regex" > /dev/null; then
4504	    :
4505	  else
4506	    cat <<EOF 1>&2
4507
4508*** Warning: the command libtool uses to detect shared libraries,
4509*** $file_magic_cmd, produces output that libtool cannot recognize.
4510*** The result is that libtool may fail to recognize shared libraries
4511*** as such.  This will affect the creation of libtool libraries that
4512*** depend on shared libraries, but programs linked with such libtool
4513*** libraries will work regardless of this problem.  Nevertheless, you
4514*** may want to report the problem to your system manager and/or to
4515*** bug-libtool@gnu.org
4516
4517EOF
4518	  fi ;;
4519	esac
4520      fi
4521      break
4522    fi
4523  done
4524  IFS="$ac_save_ifs"
4525  MAGIC_CMD="$ac_save_MAGIC_CMD"
4526  ;;
4527esac
4528fi
4529
4530MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4531if test -n "$MAGIC_CMD"; then
4532  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4533echo "${ECHO_T}$MAGIC_CMD" >&6
4534else
4535  echo "$as_me:$LINENO: result: no" >&5
4536echo "${ECHO_T}no" >&6
4537fi
4538
4539  else
4540    MAGIC_CMD=:
4541  fi
4542fi
4543
4544  fi
4545  ;;
4546esac
4547
4548if test -n "$ac_tool_prefix"; then
4549  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4550set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4551echo "$as_me:$LINENO: checking for $ac_word" >&5
4552echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553if test "${ac_cv_prog_RANLIB+set}" = set; then
4554  echo $ECHO_N "(cached) $ECHO_C" >&6
4555else
4556  if test -n "$RANLIB"; then
4557  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4558else
4559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560for as_dir in $PATH
4561do
4562  IFS=$as_save_IFS
4563  test -z "$as_dir" && as_dir=.
4564  for ac_exec_ext in '' $ac_executable_extensions; do
4565  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4567    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568    break 2
4569  fi
4570done
4571done
4572
4573fi
4574fi
4575RANLIB=$ac_cv_prog_RANLIB
4576if test -n "$RANLIB"; then
4577  echo "$as_me:$LINENO: result: $RANLIB" >&5
4578echo "${ECHO_T}$RANLIB" >&6
4579else
4580  echo "$as_me:$LINENO: result: no" >&5
4581echo "${ECHO_T}no" >&6
4582fi
4583
4584fi
4585if test -z "$ac_cv_prog_RANLIB"; then
4586  ac_ct_RANLIB=$RANLIB
4587  # Extract the first word of "ranlib", so it can be a program name with args.
4588set dummy ranlib; ac_word=$2
4589echo "$as_me:$LINENO: checking for $ac_word" >&5
4590echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4592  echo $ECHO_N "(cached) $ECHO_C" >&6
4593else
4594  if test -n "$ac_ct_RANLIB"; then
4595  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4596else
4597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598for as_dir in $PATH
4599do
4600  IFS=$as_save_IFS
4601  test -z "$as_dir" && as_dir=.
4602  for ac_exec_ext in '' $ac_executable_extensions; do
4603  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604    ac_cv_prog_ac_ct_RANLIB="ranlib"
4605    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606    break 2
4607  fi
4608done
4609done
4610
4611  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4612fi
4613fi
4614ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4615if test -n "$ac_ct_RANLIB"; then
4616  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4617echo "${ECHO_T}$ac_ct_RANLIB" >&6
4618else
4619  echo "$as_me:$LINENO: result: no" >&5
4620echo "${ECHO_T}no" >&6
4621fi
4622
4623  RANLIB=$ac_ct_RANLIB
4624else
4625  RANLIB="$ac_cv_prog_RANLIB"
4626fi
4627
4628if test -n "$ac_tool_prefix"; then
4629  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4630set dummy ${ac_tool_prefix}strip; ac_word=$2
4631echo "$as_me:$LINENO: checking for $ac_word" >&5
4632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4633if test "${ac_cv_prog_STRIP+set}" = set; then
4634  echo $ECHO_N "(cached) $ECHO_C" >&6
4635else
4636  if test -n "$STRIP"; then
4637  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4638else
4639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640for as_dir in $PATH
4641do
4642  IFS=$as_save_IFS
4643  test -z "$as_dir" && as_dir=.
4644  for ac_exec_ext in '' $ac_executable_extensions; do
4645  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4647    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648    break 2
4649  fi
4650done
4651done
4652
4653fi
4654fi
4655STRIP=$ac_cv_prog_STRIP
4656if test -n "$STRIP"; then
4657  echo "$as_me:$LINENO: result: $STRIP" >&5
4658echo "${ECHO_T}$STRIP" >&6
4659else
4660  echo "$as_me:$LINENO: result: no" >&5
4661echo "${ECHO_T}no" >&6
4662fi
4663
4664fi
4665if test -z "$ac_cv_prog_STRIP"; then
4666  ac_ct_STRIP=$STRIP
4667  # Extract the first word of "strip", so it can be a program name with args.
4668set dummy strip; ac_word=$2
4669echo "$as_me:$LINENO: checking for $ac_word" >&5
4670echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4671if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4672  echo $ECHO_N "(cached) $ECHO_C" >&6
4673else
4674  if test -n "$ac_ct_STRIP"; then
4675  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4676else
4677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678for as_dir in $PATH
4679do
4680  IFS=$as_save_IFS
4681  test -z "$as_dir" && as_dir=.
4682  for ac_exec_ext in '' $ac_executable_extensions; do
4683  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684    ac_cv_prog_ac_ct_STRIP="strip"
4685    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686    break 2
4687  fi
4688done
4689done
4690
4691  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4692fi
4693fi
4694ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4695if test -n "$ac_ct_STRIP"; then
4696  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4697echo "${ECHO_T}$ac_ct_STRIP" >&6
4698else
4699  echo "$as_me:$LINENO: result: no" >&5
4700echo "${ECHO_T}no" >&6
4701fi
4702
4703  STRIP=$ac_ct_STRIP
4704else
4705  STRIP="$ac_cv_prog_STRIP"
4706fi
4707
4708
4709# Check for any special flags to pass to ltconfig.
4710libtool_flags="--cache-file=$cache_file"
4711test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4712test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4713test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4714test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4715test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4716
4717
4718# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4719if test "${enable_libtool_lock+set}" = set; then
4720  enableval="$enable_libtool_lock"
4721
4722fi;
4723test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4724test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4725
4726
4727# Check whether --with-pic or --without-pic was given.
4728if test "${with_pic+set}" = set; then
4729  withval="$with_pic"
4730  pic_mode="$withval"
4731else
4732  pic_mode=default
4733fi;
4734test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4735test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4736
4737# Some flags need to be propagated to the compiler or linker for good
4738# libtool support.
4739case $host in
4740*-*-irix6*)
4741  # Find out which ABI we are using.
4742  echo '#line 4742 "configure"' > conftest.$ac_ext
4743  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744  (eval $ac_compile) 2>&5
4745  ac_status=$?
4746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747  (exit $ac_status); }; then
4748   if test "$lt_cv_prog_gnu_ld" = yes; then
4749    case `/usr/bin/file conftest.$ac_objext` in
4750    *32-bit*)
4751      LD="${LD-ld} -melf32bsmip"
4752      ;;
4753    *N32*)
4754      LD="${LD-ld} -melf32bmipn32"
4755      ;;
4756    *64-bit*)
4757      LD="${LD-ld} -melf64bmip"
4758      ;;
4759    esac
4760   else
4761    case `/usr/bin/file conftest.$ac_objext` in
4762    *32-bit*)
4763      LD="${LD-ld} -32"
4764      ;;
4765    *N32*)
4766      LD="${LD-ld} -n32"
4767      ;;
4768    *64-bit*)
4769      LD="${LD-ld} -64"
4770      ;;
4771    esac
4772   fi
4773  fi
4774  rm -rf conftest*
4775  ;;
4776
4777ia64-*-hpux*)
4778  # Find out which ABI we are using.
4779  echo 'int i;' > conftest.$ac_ext
4780  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781  (eval $ac_compile) 2>&5
4782  ac_status=$?
4783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784  (exit $ac_status); }; then
4785    case "`/usr/bin/file conftest.o`" in
4786    *ELF-32*)
4787      HPUX_IA64_MODE="32"
4788      ;;
4789    *ELF-64*)
4790      HPUX_IA64_MODE="64"
4791      ;;
4792    esac
4793  fi
4794  rm -rf conftest*
4795  ;;
4796
4797x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4798  # Find out which ABI we are using.
4799  echo 'int i;' > conftest.$ac_ext
4800  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801  (eval $ac_compile) 2>&5
4802  ac_status=$?
4803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804  (exit $ac_status); }; then
4805    case "`/usr/bin/file conftest.o`" in
4806    *32-bit*)
4807      case $host in
4808        x86_64-*linux*)
4809          LD="${LD-ld} -m elf_i386"
4810          ;;
4811        ppc64-*linux*|powerpc64-*linux*)
4812          LD="${LD-ld} -m elf32ppclinux"
4813          ;;
4814        s390x-*linux*)
4815          LD="${LD-ld} -m elf_s390"
4816          ;;
4817        sparc64-*linux*)
4818          LD="${LD-ld} -m elf32_sparc"
4819          ;;
4820      esac
4821      ;;
4822    *64-bit*)
4823      case $host in
4824        x86_64-*linux*)
4825          LD="${LD-ld} -m elf_x86_64"
4826          ;;
4827        ppc*-*linux*|powerpc*-*linux*)
4828          LD="${LD-ld} -m elf64ppc"
4829          ;;
4830        s390*-*linux*)
4831          LD="${LD-ld} -m elf64_s390"
4832          ;;
4833        sparc*-*linux*)
4834          LD="${LD-ld} -m elf64_sparc"
4835          ;;
4836      esac
4837      ;;
4838    esac
4839  fi
4840  rm -rf conftest*
4841  ;;
4842
4843*-*-sco3.2v5*)
4844  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4845  SAVE_CFLAGS="$CFLAGS"
4846  CFLAGS="$CFLAGS -belf"
4847  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4848echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4849if test "${lt_cv_cc_needs_belf+set}" = set; then
4850  echo $ECHO_N "(cached) $ECHO_C" >&6
4851else
4852
4853
4854     ac_ext=c
4855ac_cpp='$CPP $CPPFLAGS'
4856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858ac_compiler_gnu=$ac_cv_c_compiler_gnu
4859
4860     if test x$gcc_no_link = xyes; then
4861  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4862echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4863   { (exit 1); exit 1; }; }
4864fi
4865cat >conftest.$ac_ext <<_ACEOF
4866/* confdefs.h.  */
4867_ACEOF
4868cat confdefs.h >>conftest.$ac_ext
4869cat >>conftest.$ac_ext <<_ACEOF
4870/* end confdefs.h.  */
4871
4872int
4873main ()
4874{
4875
4876  ;
4877  return 0;
4878}
4879_ACEOF
4880rm -f conftest.$ac_objext conftest$ac_exeext
4881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882  (eval $ac_link) 2>conftest.er1
4883  ac_status=$?
4884  grep -v '^ *+' conftest.er1 >conftest.err
4885  rm -f conftest.er1
4886  cat conftest.err >&5
4887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888  (exit $ac_status); } &&
4889	 { ac_try='test -z "$ac_c_werror_flag"
4890			 || test ! -s conftest.err'
4891  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892  (eval $ac_try) 2>&5
4893  ac_status=$?
4894  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895  (exit $ac_status); }; } &&
4896	 { ac_try='test -s conftest$ac_exeext'
4897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898  (eval $ac_try) 2>&5
4899  ac_status=$?
4900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901  (exit $ac_status); }; }; then
4902  lt_cv_cc_needs_belf=yes
4903else
4904  echo "$as_me: failed program was:" >&5
4905sed 's/^/| /' conftest.$ac_ext >&5
4906
4907lt_cv_cc_needs_belf=no
4908fi
4909rm -f conftest.err conftest.$ac_objext \
4910      conftest$ac_exeext conftest.$ac_ext
4911     ac_ext=c
4912ac_cpp='$CPP $CPPFLAGS'
4913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915ac_compiler_gnu=$ac_cv_c_compiler_gnu
4916
4917fi
4918echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4919echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4920  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4921    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4922    CFLAGS="$SAVE_CFLAGS"
4923  fi
4924  ;;
4925
4926
4927esac
4928
4929
4930# Save cache, so that ltconfig can load it
4931cat >confcache <<\_ACEOF
4932# This file is a shell script that caches the results of configure
4933# tests run on this system so they can be shared between configure
4934# scripts and configure runs, see configure's option --config-cache.
4935# It is not useful on other systems.  If it contains results you don't
4936# want to keep, you may remove or edit it.
4937#
4938# config.status only pays attention to the cache file if you give it
4939# the --recheck option to rerun configure.
4940#
4941# `ac_cv_env_foo' variables (set or unset) will be overridden when
4942# loading this file, other *unset* `ac_cv_foo' will be assigned the
4943# following values.
4944
4945_ACEOF
4946
4947# The following way of writing the cache mishandles newlines in values,
4948# but we know of no workaround that is simple, portable, and efficient.
4949# So, don't put newlines in cache variables' values.
4950# Ultrix sh set writes to stderr and can't be redirected directly,
4951# and sets the high bit in the cache file unless we assign to the vars.
4952{
4953  (set) 2>&1 |
4954    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4955    *ac_space=\ *)
4956      # `set' does not quote correctly, so add quotes (double-quote
4957      # substitution turns \\\\ into \\, and sed turns \\ into \).
4958      sed -n \
4959	"s/'/'\\\\''/g;
4960	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4961      ;;
4962    *)
4963      # `set' quotes correctly as required by POSIX, so do not add quotes.
4964      sed -n \
4965	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4966      ;;
4967    esac;
4968} |
4969  sed '
4970     t clear
4971     : clear
4972     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4973     t end
4974     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4975     : end' >>confcache
4976if diff $cache_file confcache >/dev/null 2>&1; then :; else
4977  if test -w $cache_file; then
4978    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4979    cat confcache >$cache_file
4980  else
4981    echo "not updating unwritable cache $cache_file"
4982  fi
4983fi
4984rm -f confcache
4985
4986# Actually configure libtool.  ac_aux_dir is where install-sh is found.
4987AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4988MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4989LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4990AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4991objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4992deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4993${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4994$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4995|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4996echo "$as_me: error: libtool configure failed" >&2;}
4997   { (exit 1); exit 1; }; }
4998
4999# Reload cache, that may have been modified by ltconfig
5000if test -r "$cache_file"; then
5001  # Some versions of bash will fail to source /dev/null (special
5002  # files actually), so we avoid doing that.
5003  if test -f "$cache_file"; then
5004    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5005echo "$as_me: loading cache $cache_file" >&6;}
5006    case $cache_file in
5007      [\\/]* | ?:[\\/]* ) . $cache_file;;
5008      *)                      . ./$cache_file;;
5009    esac
5010  fi
5011else
5012  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5013echo "$as_me: creating cache $cache_file" >&6;}
5014  >$cache_file
5015fi
5016
5017
5018# This can be used to rebuild libtool when needed
5019LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5020
5021# Always use our own libtool.
5022LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5023
5024# Redirect the config.log output again, so that the ltconfig log is not
5025# clobbered by the next message.
5026exec 5>>./config.log
5027
5028ac_ext=cc
5029ac_cpp='$CXXCPP $CPPFLAGS'
5030ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5033echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5034echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5035if test -z "$CXXCPP"; then
5036  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5037  echo $ECHO_N "(cached) $ECHO_C" >&6
5038else
5039      # Double quotes because CXXCPP needs to be expanded
5040    for CXXCPP in "$CXX -E" "/lib/cpp"
5041    do
5042      ac_preproc_ok=false
5043for ac_cxx_preproc_warn_flag in '' yes
5044do
5045  # Use a header file that comes with gcc, so configuring glibc
5046  # with a fresh cross-compiler works.
5047  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048  # <limits.h> exists even on freestanding compilers.
5049  # On the NeXT, cc -E runs the code through the compiler's parser,
5050  # not just through cpp. "Syntax error" is here to catch this case.
5051  cat >conftest.$ac_ext <<_ACEOF
5052/* confdefs.h.  */
5053_ACEOF
5054cat confdefs.h >>conftest.$ac_ext
5055cat >>conftest.$ac_ext <<_ACEOF
5056/* end confdefs.h.  */
5057#ifdef __STDC__
5058# include <limits.h>
5059#else
5060# include <assert.h>
5061#endif
5062		     Syntax error
5063_ACEOF
5064if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5065  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5066  ac_status=$?
5067  grep -v '^ *+' conftest.er1 >conftest.err
5068  rm -f conftest.er1
5069  cat conftest.err >&5
5070  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071  (exit $ac_status); } >/dev/null; then
5072  if test -s conftest.err; then
5073    ac_cpp_err=$ac_cxx_preproc_warn_flag
5074    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5075  else
5076    ac_cpp_err=
5077  fi
5078else
5079  ac_cpp_err=yes
5080fi
5081if test -z "$ac_cpp_err"; then
5082  :
5083else
5084  echo "$as_me: failed program was:" >&5
5085sed 's/^/| /' conftest.$ac_ext >&5
5086
5087  # Broken: fails on valid input.
5088continue
5089fi
5090rm -f conftest.err conftest.$ac_ext
5091
5092  # OK, works on sane cases.  Now check whether non-existent headers
5093  # can be detected and how.
5094  cat >conftest.$ac_ext <<_ACEOF
5095/* confdefs.h.  */
5096_ACEOF
5097cat confdefs.h >>conftest.$ac_ext
5098cat >>conftest.$ac_ext <<_ACEOF
5099/* end confdefs.h.  */
5100#include <ac_nonexistent.h>
5101_ACEOF
5102if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5104  ac_status=$?
5105  grep -v '^ *+' conftest.er1 >conftest.err
5106  rm -f conftest.er1
5107  cat conftest.err >&5
5108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109  (exit $ac_status); } >/dev/null; then
5110  if test -s conftest.err; then
5111    ac_cpp_err=$ac_cxx_preproc_warn_flag
5112    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5113  else
5114    ac_cpp_err=
5115  fi
5116else
5117  ac_cpp_err=yes
5118fi
5119if test -z "$ac_cpp_err"; then
5120  # Broken: success on invalid input.
5121continue
5122else
5123  echo "$as_me: failed program was:" >&5
5124sed 's/^/| /' conftest.$ac_ext >&5
5125
5126  # Passes both tests.
5127ac_preproc_ok=:
5128break
5129fi
5130rm -f conftest.err conftest.$ac_ext
5131
5132done
5133# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5134rm -f conftest.err conftest.$ac_ext
5135if $ac_preproc_ok; then
5136  break
5137fi
5138
5139    done
5140    ac_cv_prog_CXXCPP=$CXXCPP
5141
5142fi
5143  CXXCPP=$ac_cv_prog_CXXCPP
5144else
5145  ac_cv_prog_CXXCPP=$CXXCPP
5146fi
5147echo "$as_me:$LINENO: result: $CXXCPP" >&5
5148echo "${ECHO_T}$CXXCPP" >&6
5149ac_preproc_ok=false
5150for ac_cxx_preproc_warn_flag in '' yes
5151do
5152  # Use a header file that comes with gcc, so configuring glibc
5153  # with a fresh cross-compiler works.
5154  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155  # <limits.h> exists even on freestanding compilers.
5156  # On the NeXT, cc -E runs the code through the compiler's parser,
5157  # not just through cpp. "Syntax error" is here to catch this case.
5158  cat >conftest.$ac_ext <<_ACEOF
5159/* confdefs.h.  */
5160_ACEOF
5161cat confdefs.h >>conftest.$ac_ext
5162cat >>conftest.$ac_ext <<_ACEOF
5163/* end confdefs.h.  */
5164#ifdef __STDC__
5165# include <limits.h>
5166#else
5167# include <assert.h>
5168#endif
5169		     Syntax error
5170_ACEOF
5171if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5172  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5173  ac_status=$?
5174  grep -v '^ *+' conftest.er1 >conftest.err
5175  rm -f conftest.er1
5176  cat conftest.err >&5
5177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178  (exit $ac_status); } >/dev/null; then
5179  if test -s conftest.err; then
5180    ac_cpp_err=$ac_cxx_preproc_warn_flag
5181    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5182  else
5183    ac_cpp_err=
5184  fi
5185else
5186  ac_cpp_err=yes
5187fi
5188if test -z "$ac_cpp_err"; then
5189  :
5190else
5191  echo "$as_me: failed program was:" >&5
5192sed 's/^/| /' conftest.$ac_ext >&5
5193
5194  # Broken: fails on valid input.
5195continue
5196fi
5197rm -f conftest.err conftest.$ac_ext
5198
5199  # OK, works on sane cases.  Now check whether non-existent headers
5200  # can be detected and how.
5201  cat >conftest.$ac_ext <<_ACEOF
5202/* confdefs.h.  */
5203_ACEOF
5204cat confdefs.h >>conftest.$ac_ext
5205cat >>conftest.$ac_ext <<_ACEOF
5206/* end confdefs.h.  */
5207#include <ac_nonexistent.h>
5208_ACEOF
5209if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5210  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5211  ac_status=$?
5212  grep -v '^ *+' conftest.er1 >conftest.err
5213  rm -f conftest.er1
5214  cat conftest.err >&5
5215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216  (exit $ac_status); } >/dev/null; then
5217  if test -s conftest.err; then
5218    ac_cpp_err=$ac_cxx_preproc_warn_flag
5219    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5220  else
5221    ac_cpp_err=
5222  fi
5223else
5224  ac_cpp_err=yes
5225fi
5226if test -z "$ac_cpp_err"; then
5227  # Broken: success on invalid input.
5228continue
5229else
5230  echo "$as_me: failed program was:" >&5
5231sed 's/^/| /' conftest.$ac_ext >&5
5232
5233  # Passes both tests.
5234ac_preproc_ok=:
5235break
5236fi
5237rm -f conftest.err conftest.$ac_ext
5238
5239done
5240# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5241rm -f conftest.err conftest.$ac_ext
5242if $ac_preproc_ok; then
5243  :
5244else
5245  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5246See \`config.log' for more details." >&5
5247echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5248See \`config.log' for more details." >&2;}
5249   { (exit 1); exit 1; }; }
5250fi
5251
5252ac_ext=c
5253ac_cpp='$CPP $CPPFLAGS'
5254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256ac_compiler_gnu=$ac_cv_c_compiler_gnu
5257
5258
5259
5260LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5261lt_save_CC="$CC"
5262lt_save_CFLAGS="$CFLAGS"
5263AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5264MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5265LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5266AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5267objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5268deplibs_check_method="$deplibs_check_method" \
5269file_magic_cmd="$file_magic_cmd" \
5270${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5271--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5272|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5273echo "$as_me: error: libtool tag configuration failed" >&2;}
5274   { (exit 1); exit 1; }; }
5275CC="$lt_save_CC"
5276CFLAGS="$lt_save_CFLAGS"
5277
5278# Redirect the config.log output again, so that the ltconfig log is not
5279# clobbered by the next message.
5280exec 5>>./config.log
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290# Possibly disable most of the library.
5291## TODO: Consider skipping unncessary tests altogether in this case, rather
5292## than just ignoring the results.  Faster /and/ more correct, win win.
5293
5294  # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5295if test "${enable_hosted_libstdcxx+set}" = set; then
5296  enableval="$enable_hosted_libstdcxx"
5297
5298else
5299  case "$host" in
5300	arm*-*-symbianelf*)
5301	    enable_hosted_libstdcxx=no
5302	    ;;
5303        *)
5304	    enable_hosted_libstdcxx=yes
5305	    ;;
5306     esac
5307fi;
5308  if test "$enable_hosted_libstdcxx" = no; then
5309    { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5310echo "$as_me: Only freestanding libraries will be built" >&6;}
5311    is_hosted=no
5312    hosted_define=0
5313    enable_abi_check=no
5314    enable_libstdcxx_pch=no
5315  else
5316    is_hosted=yes
5317    hosted_define=1
5318  fi
5319
5320
5321cat >>confdefs.h <<_ACEOF
5322#define _GLIBCXX_HOSTED $hosted_define
5323_ACEOF
5324
5325
5326
5327# Check for compiler support that doesn't require linking.
5328
5329  echo "$as_me:$LINENO: checking for exception model to use" >&5
5330echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5331
5332
5333  ac_ext=cc
5334ac_cpp='$CXXCPP $CPPFLAGS'
5335ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5336ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5337ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5338
5339   # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5340if test "${enable_sjlj_exceptions+set}" = set; then
5341  enableval="$enable_sjlj_exceptions"
5342
5343      case "$enableval" in
5344       yes|no|auto) ;;
5345       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5346echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5347   { (exit 1); exit 1; }; } ;;
5348                          esac
5349
5350else
5351  enable_sjlj_exceptions=auto
5352fi;
5353
5354
5355  if test $enable_sjlj_exceptions = auto; then
5356    # Botheration.  Now we've got to detect the exception model.  Link tests
5357    # against libgcc.a are problematic since we've not been given proper -L
5358    # bits for single-tree newlib and libgloss.
5359    #
5360    # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5361    cat > conftest.$ac_ext << EOF
5362#line 5362 "configure"
5363struct S { ~S(); };
5364void bar();
5365void foo()
5366{
5367  S s;
5368  bar();
5369}
5370EOF
5371    old_CXXFLAGS="$CXXFLAGS"
5372    CXXFLAGS=-S
5373    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5374  (eval $ac_compile) 2>&5
5375  ac_status=$?
5376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377  (exit $ac_status); }; then
5378      if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5379        enable_sjlj_exceptions=yes
5380      elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5381        enable_sjlj_exceptions=no
5382      elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5383        enable_sjlj_exceptions=no
5384      fi
5385    fi
5386    CXXFLAGS="$old_CXXFLAGS"
5387    rm -f conftest*
5388  fi
5389
5390  # This is a tad weird, for hysterical raisins.  We have to map
5391  # enable/disable to two different models.
5392  case $enable_sjlj_exceptions in
5393    yes)
5394
5395cat >>confdefs.h <<\_ACEOF
5396#define _GLIBCXX_SJLJ_EXCEPTIONS 1
5397_ACEOF
5398
5399      ac_exception_model_name=sjlj
5400      ;;
5401    no)
5402      ac_exception_model_name="call frame"
5403      ;;
5404    *)
5405      { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5406echo "$as_me: error: unable to detect exception model" >&2;}
5407   { (exit 1); exit 1; }; }
5408      ;;
5409  esac
5410 ac_ext=c
5411ac_cpp='$CPP $CPPFLAGS'
5412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414ac_compiler_gnu=$ac_cv_c_compiler_gnu
5415
5416 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5417echo "${ECHO_T}$ac_exception_model_name" >&6
5418
5419
5420   # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5421if test "${enable_libstdcxx_pch+set}" = set; then
5422  enableval="$enable_libstdcxx_pch"
5423
5424      case "$enableval" in
5425       yes|no) ;;
5426       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5427echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5428   { (exit 1); exit 1; }; } ;;
5429      esac
5430
5431else
5432  enable_libstdcxx_pch=$is_hosted
5433fi;
5434
5435  if test $enable_libstdcxx_pch = yes; then
5436    echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5437echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5438if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5439  echo $ECHO_N "(cached) $ECHO_C" >&6
5440else
5441  ac_save_CXXFLAGS="$CXXFLAGS"
5442       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5443
5444
5445       ac_ext=cc
5446ac_cpp='$CXXCPP $CPPFLAGS'
5447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5450
5451       echo '#include <math.h>' > conftest.h
5452       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5453		          -o conftest.h.gch 1>&5 2>&1 &&
5454	        echo '#error "pch failed"' > conftest.h &&
5455          echo '#include "conftest.h"' > conftest.cc &&
5456	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5457       then
5458         glibcxx_cv_prog_CXX_pch=yes
5459       else
5460         glibcxx_cv_prog_CXX_pch=no
5461       fi
5462       rm -f conftest*
5463       CXXFLAGS=$ac_save_CXXFLAGS
5464       ac_ext=c
5465ac_cpp='$CPP $CPPFLAGS'
5466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468ac_compiler_gnu=$ac_cv_c_compiler_gnu
5469
5470
5471fi
5472echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5473echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5474    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5475  fi
5476
5477  echo "$as_me:$LINENO: checking for enabled PCH" >&5
5478echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5479  echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5480echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5481
5482
5483  if test $enable_libstdcxx_pch = yes; then
5484    glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5485  else
5486    glibcxx_PCHFLAGS=""
5487  fi
5488
5489
5490
5491# Enable all the variable C++ runtime options.
5492
5493  echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5494echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5495   # Check whether --enable-cstdio or --disable-cstdio was given.
5496if test "${enable_cstdio+set}" = set; then
5497  enableval="$enable_cstdio"
5498
5499      case "$enableval" in
5500       stdio) ;;
5501       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5502echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5503   { (exit 1); exit 1; }; } ;;
5504                          esac
5505
5506else
5507  enable_cstdio=stdio
5508fi;
5509
5510
5511  # Now that libio has been removed, you can have any color you want as long
5512  # as it's black.  This is one big no-op until other packages are added, but
5513  # showing the framework never hurts.
5514  case ${enable_cstdio} in
5515    stdio)
5516      CSTDIO_H=config/io/c_io_stdio.h
5517      BASIC_FILE_H=config/io/basic_file_stdio.h
5518      BASIC_FILE_CC=config/io/basic_file_stdio.cc
5519      echo "$as_me:$LINENO: result: stdio" >&5
5520echo "${ECHO_T}stdio" >&6
5521      ;;
5522  esac
5523
5524
5525
5526
5527
5528echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5529echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5530if test "${ac_cv_header_stdc+set}" = set; then
5531  echo $ECHO_N "(cached) $ECHO_C" >&6
5532else
5533  cat >conftest.$ac_ext <<_ACEOF
5534/* confdefs.h.  */
5535_ACEOF
5536cat confdefs.h >>conftest.$ac_ext
5537cat >>conftest.$ac_ext <<_ACEOF
5538/* end confdefs.h.  */
5539#include <stdlib.h>
5540#include <stdarg.h>
5541#include <string.h>
5542#include <float.h>
5543
5544int
5545main ()
5546{
5547
5548  ;
5549  return 0;
5550}
5551_ACEOF
5552rm -f conftest.$ac_objext
5553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554  (eval $ac_compile) 2>conftest.er1
5555  ac_status=$?
5556  grep -v '^ *+' conftest.er1 >conftest.err
5557  rm -f conftest.er1
5558  cat conftest.err >&5
5559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560  (exit $ac_status); } &&
5561	 { ac_try='test -z "$ac_c_werror_flag"
5562			 || test ! -s conftest.err'
5563  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564  (eval $ac_try) 2>&5
5565  ac_status=$?
5566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567  (exit $ac_status); }; } &&
5568	 { ac_try='test -s conftest.$ac_objext'
5569  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570  (eval $ac_try) 2>&5
5571  ac_status=$?
5572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573  (exit $ac_status); }; }; then
5574  ac_cv_header_stdc=yes
5575else
5576  echo "$as_me: failed program was:" >&5
5577sed 's/^/| /' conftest.$ac_ext >&5
5578
5579ac_cv_header_stdc=no
5580fi
5581rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5582
5583if test $ac_cv_header_stdc = yes; then
5584  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5585  cat >conftest.$ac_ext <<_ACEOF
5586/* confdefs.h.  */
5587_ACEOF
5588cat confdefs.h >>conftest.$ac_ext
5589cat >>conftest.$ac_ext <<_ACEOF
5590/* end confdefs.h.  */
5591#include <string.h>
5592
5593_ACEOF
5594if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5595  $EGREP "memchr" >/dev/null 2>&1; then
5596  :
5597else
5598  ac_cv_header_stdc=no
5599fi
5600rm -f conftest*
5601
5602fi
5603
5604if test $ac_cv_header_stdc = yes; then
5605  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5606  cat >conftest.$ac_ext <<_ACEOF
5607/* confdefs.h.  */
5608_ACEOF
5609cat confdefs.h >>conftest.$ac_ext
5610cat >>conftest.$ac_ext <<_ACEOF
5611/* end confdefs.h.  */
5612#include <stdlib.h>
5613
5614_ACEOF
5615if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5616  $EGREP "free" >/dev/null 2>&1; then
5617  :
5618else
5619  ac_cv_header_stdc=no
5620fi
5621rm -f conftest*
5622
5623fi
5624
5625if test $ac_cv_header_stdc = yes; then
5626  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5627  if test "$cross_compiling" = yes; then
5628  :
5629else
5630  cat >conftest.$ac_ext <<_ACEOF
5631/* confdefs.h.  */
5632_ACEOF
5633cat confdefs.h >>conftest.$ac_ext
5634cat >>conftest.$ac_ext <<_ACEOF
5635/* end confdefs.h.  */
5636#include <ctype.h>
5637#if ((' ' & 0x0FF) == 0x020)
5638# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5639# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5640#else
5641# define ISLOWER(c) \
5642		   (('a' <= (c) && (c) <= 'i') \
5643		     || ('j' <= (c) && (c) <= 'r') \
5644		     || ('s' <= (c) && (c) <= 'z'))
5645# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5646#endif
5647
5648#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5649int
5650main ()
5651{
5652  int i;
5653  for (i = 0; i < 256; i++)
5654    if (XOR (islower (i), ISLOWER (i))
5655	|| toupper (i) != TOUPPER (i))
5656      exit(2);
5657  exit (0);
5658}
5659_ACEOF
5660rm -f conftest$ac_exeext
5661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5662  (eval $ac_link) 2>&5
5663  ac_status=$?
5664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5666  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5667  (eval $ac_try) 2>&5
5668  ac_status=$?
5669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670  (exit $ac_status); }; }; then
5671  :
5672else
5673  echo "$as_me: program exited with status $ac_status" >&5
5674echo "$as_me: failed program was:" >&5
5675sed 's/^/| /' conftest.$ac_ext >&5
5676
5677( exit $ac_status )
5678ac_cv_header_stdc=no
5679fi
5680rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5681fi
5682fi
5683fi
5684echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5685echo "${ECHO_T}$ac_cv_header_stdc" >&6
5686if test $ac_cv_header_stdc = yes; then
5687
5688cat >>confdefs.h <<\_ACEOF
5689#define STDC_HEADERS 1
5690_ACEOF
5691
5692fi
5693
5694# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5705		  inttypes.h stdint.h unistd.h
5706do
5707as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5708echo "$as_me:$LINENO: checking for $ac_header" >&5
5709echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5710if eval "test \"\${$as_ac_Header+set}\" = set"; then
5711  echo $ECHO_N "(cached) $ECHO_C" >&6
5712else
5713  cat >conftest.$ac_ext <<_ACEOF
5714/* confdefs.h.  */
5715_ACEOF
5716cat confdefs.h >>conftest.$ac_ext
5717cat >>conftest.$ac_ext <<_ACEOF
5718/* end confdefs.h.  */
5719$ac_includes_default
5720
5721#include <$ac_header>
5722_ACEOF
5723rm -f conftest.$ac_objext
5724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725  (eval $ac_compile) 2>conftest.er1
5726  ac_status=$?
5727  grep -v '^ *+' conftest.er1 >conftest.err
5728  rm -f conftest.er1
5729  cat conftest.err >&5
5730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731  (exit $ac_status); } &&
5732	 { ac_try='test -z "$ac_c_werror_flag"
5733			 || test ! -s conftest.err'
5734  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735  (eval $ac_try) 2>&5
5736  ac_status=$?
5737  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738  (exit $ac_status); }; } &&
5739	 { ac_try='test -s conftest.$ac_objext'
5740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741  (eval $ac_try) 2>&5
5742  ac_status=$?
5743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744  (exit $ac_status); }; }; then
5745  eval "$as_ac_Header=yes"
5746else
5747  echo "$as_me: failed program was:" >&5
5748sed 's/^/| /' conftest.$ac_ext >&5
5749
5750eval "$as_ac_Header=no"
5751fi
5752rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5753fi
5754echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5755echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5756if test `eval echo '${'$as_ac_Header'}'` = yes; then
5757  cat >>confdefs.h <<_ACEOF
5758#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5759_ACEOF
5760
5761fi
5762
5763done
5764
5765
5766
5767   # Check whether --enable-clocale or --disable-clocale was given.
5768if test "${enable_clocale+set}" = set; then
5769  enableval="$enable_clocale"
5770
5771      case "$enableval" in
5772       generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5773       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5774echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5775   { (exit 1); exit 1; }; } ;;
5776                          esac
5777
5778else
5779  enable_clocale=auto
5780fi;
5781
5782
5783  # Deal with gettext issues.  Default to not using it (=no) until we detect
5784  # support for it later.  Let the user turn it off via --e/d, but let that
5785  # default to on for easier handling.
5786  USE_NLS=no
5787  # Check whether --enable-nls or --disable-nls was given.
5788if test "${enable_nls+set}" = set; then
5789  enableval="$enable_nls"
5790
5791else
5792  enable_nls=yes
5793fi;
5794
5795  # Either a known packaage, or "auto"
5796  if test $enable_clocale = no || test $enable_clocale = yes; then
5797     enable_clocale=auto
5798  fi
5799  enable_clocale_flag=$enable_clocale
5800
5801  # Probe for locale model to use if none specified.
5802  # Default to "generic".
5803  if test $enable_clocale_flag = auto; then
5804    case ${target_os} in
5805      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5806        enable_clocale_flag=gnu
5807        ;;
5808      darwin* | freebsd*)
5809        enable_clocale_flag=darwin
5810	;;
5811      *)
5812        enable_clocale_flag=generic
5813        ;;
5814    esac
5815  fi
5816
5817  # Sanity check model, and test for special functionality.
5818  if test $enable_clocale_flag = gnu; then
5819    cat >conftest.$ac_ext <<_ACEOF
5820/* confdefs.h.  */
5821_ACEOF
5822cat confdefs.h >>conftest.$ac_ext
5823cat >>conftest.$ac_ext <<_ACEOF
5824/* end confdefs.h.  */
5825
5826    #include <features.h>
5827    #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5828      _GLIBCXX_ok
5829    #endif
5830
5831_ACEOF
5832if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5833  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5834  enable_clocale_flag=gnu
5835else
5836  enable_clocale_flag=generic
5837fi
5838rm -f conftest*
5839
5840
5841    if test $enable_clocale = auto; then
5842      # Test for bugs early in glibc-2.2.x series
5843      if test "$cross_compiling" = yes; then
5844  enable_clocale_flag=generic
5845else
5846  cat >conftest.$ac_ext <<_ACEOF
5847/* confdefs.h.  */
5848_ACEOF
5849cat confdefs.h >>conftest.$ac_ext
5850cat >>conftest.$ac_ext <<_ACEOF
5851/* end confdefs.h.  */
5852
5853      #define _GNU_SOURCE 1
5854      #include <locale.h>
5855      #include <string.h>
5856      #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5857      extern __typeof(newlocale) __newlocale;
5858      extern __typeof(duplocale) __duplocale;
5859      extern __typeof(strcoll_l) __strcoll_l;
5860      #endif
5861      int main()
5862      {
5863	const char __one[] = "���uglein Augmen";
5864        const char __two[] = "���uglein";
5865       	int i;
5866        int j;
5867        __locale_t        loc;
5868        __locale_t        loc_dup;
5869        loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5870        loc_dup = __duplocale(loc);
5871        i = __strcoll_l(__one, __two, loc);
5872        j = __strcoll_l(__one, __two, loc_dup);
5873        return 0;
5874      }
5875
5876_ACEOF
5877rm -f conftest$ac_exeext
5878if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5879  (eval $ac_link) 2>&5
5880  ac_status=$?
5881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5883  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884  (eval $ac_try) 2>&5
5885  ac_status=$?
5886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887  (exit $ac_status); }; }; then
5888  enable_clocale_flag=gnu
5889else
5890  echo "$as_me: program exited with status $ac_status" >&5
5891echo "$as_me: failed program was:" >&5
5892sed 's/^/| /' conftest.$ac_ext >&5
5893
5894( exit $ac_status )
5895enable_clocale_flag=generic
5896fi
5897rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5898fi
5899    fi
5900
5901    # Set it to scream when it hurts.
5902    ac_save_CFLAGS="$CFLAGS"
5903    CFLAGS="-Wimplicit-function-declaration -Werror"
5904
5905    # Use strxfrm_l if available.
5906    cat >conftest.$ac_ext <<_ACEOF
5907/* confdefs.h.  */
5908_ACEOF
5909cat confdefs.h >>conftest.$ac_ext
5910cat >>conftest.$ac_ext <<_ACEOF
5911/* end confdefs.h.  */
5912#define _GNU_SOURCE 1
5913     		    #include <string.h>
5914		    #include <locale.h>
5915int
5916main ()
5917{
5918char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
5919  ;
5920  return 0;
5921}
5922_ACEOF
5923rm -f conftest.$ac_objext
5924if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5925  (eval $ac_compile) 2>conftest.er1
5926  ac_status=$?
5927  grep -v '^ *+' conftest.er1 >conftest.err
5928  rm -f conftest.er1
5929  cat conftest.err >&5
5930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931  (exit $ac_status); } &&
5932	 { ac_try='test -z "$ac_c_werror_flag"
5933			 || test ! -s conftest.err'
5934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935  (eval $ac_try) 2>&5
5936  ac_status=$?
5937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938  (exit $ac_status); }; } &&
5939	 { ac_try='test -s conftest.$ac_objext'
5940  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941  (eval $ac_try) 2>&5
5942  ac_status=$?
5943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944  (exit $ac_status); }; }; then
5945
5946cat >>confdefs.h <<\_ACEOF
5947#define HAVE_STRXFRM_L 1
5948_ACEOF
5949
5950else
5951  echo "$as_me: failed program was:" >&5
5952sed 's/^/| /' conftest.$ac_ext >&5
5953
5954fi
5955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5956
5957    # Use strerror_l if available.
5958    cat >conftest.$ac_ext <<_ACEOF
5959/* confdefs.h.  */
5960_ACEOF
5961cat confdefs.h >>conftest.$ac_ext
5962cat >>conftest.$ac_ext <<_ACEOF
5963/* end confdefs.h.  */
5964#define _GNU_SOURCE 1
5965		    #include <string.h>
5966		    #include <locale.h>
5967int
5968main ()
5969{
5970__locale_t loc; strerror_l(5, loc);
5971  ;
5972  return 0;
5973}
5974_ACEOF
5975rm -f conftest.$ac_objext
5976if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5977  (eval $ac_compile) 2>conftest.er1
5978  ac_status=$?
5979  grep -v '^ *+' conftest.er1 >conftest.err
5980  rm -f conftest.er1
5981  cat conftest.err >&5
5982  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983  (exit $ac_status); } &&
5984	 { ac_try='test -z "$ac_c_werror_flag"
5985			 || test ! -s conftest.err'
5986  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987  (eval $ac_try) 2>&5
5988  ac_status=$?
5989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990  (exit $ac_status); }; } &&
5991	 { ac_try='test -s conftest.$ac_objext'
5992  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993  (eval $ac_try) 2>&5
5994  ac_status=$?
5995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996  (exit $ac_status); }; }; then
5997
5998cat >>confdefs.h <<\_ACEOF
5999#define HAVE_STRERROR_L 1
6000_ACEOF
6001
6002else
6003  echo "$as_me: failed program was:" >&5
6004sed 's/^/| /' conftest.$ac_ext >&5
6005
6006fi
6007rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6008
6009    CFLAGS="$ac_save_CFLAGS"
6010  fi
6011
6012  # Perhaps use strerror_r if available, and strerror_l isn't.
6013  ac_save_CFLAGS="$CFLAGS"
6014  CFLAGS="-Wimplicit-function-declaration -Werror"
6015  cat >conftest.$ac_ext <<_ACEOF
6016/* confdefs.h.  */
6017_ACEOF
6018cat confdefs.h >>conftest.$ac_ext
6019cat >>conftest.$ac_ext <<_ACEOF
6020/* end confdefs.h.  */
6021#define _GNU_SOURCE 1
6022	     	  #include <string.h>
6023		  #include <locale.h>
6024int
6025main ()
6026{
6027char s[128]; strerror_r(5, s, 128);
6028  ;
6029  return 0;
6030}
6031_ACEOF
6032rm -f conftest.$ac_objext
6033if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034  (eval $ac_compile) 2>conftest.er1
6035  ac_status=$?
6036  grep -v '^ *+' conftest.er1 >conftest.err
6037  rm -f conftest.er1
6038  cat conftest.err >&5
6039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040  (exit $ac_status); } &&
6041	 { ac_try='test -z "$ac_c_werror_flag"
6042			 || test ! -s conftest.err'
6043  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044  (eval $ac_try) 2>&5
6045  ac_status=$?
6046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047  (exit $ac_status); }; } &&
6048	 { ac_try='test -s conftest.$ac_objext'
6049  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050  (eval $ac_try) 2>&5
6051  ac_status=$?
6052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053  (exit $ac_status); }; }; then
6054
6055cat >>confdefs.h <<\_ACEOF
6056#define HAVE_STRERROR_R 1
6057_ACEOF
6058
6059else
6060  echo "$as_me: failed program was:" >&5
6061sed 's/^/| /' conftest.$ac_ext >&5
6062
6063fi
6064rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6065  CFLAGS="$ac_save_CFLAGS"
6066
6067  # Set configure bits for specified locale package
6068  echo "$as_me:$LINENO: checking for C locale to use" >&5
6069echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
6070  case ${enable_clocale_flag} in
6071    generic)
6072      echo "$as_me:$LINENO: result: generic" >&5
6073echo "${ECHO_T}generic" >&6
6074
6075      CLOCALE_H=config/locale/generic/c_locale.h
6076      CLOCALE_CC=config/locale/generic/c_locale.cc
6077      CCODECVT_CC=config/locale/generic/codecvt_members.cc
6078      CCOLLATE_CC=config/locale/generic/collate_members.cc
6079      CCTYPE_CC=config/locale/generic/ctype_members.cc
6080      CMESSAGES_H=config/locale/generic/messages_members.h
6081      CMESSAGES_CC=config/locale/generic/messages_members.cc
6082      CMONEY_CC=config/locale/generic/monetary_members.cc
6083      CNUMERIC_CC=config/locale/generic/numeric_members.cc
6084      CTIME_H=config/locale/generic/time_members.h
6085      CTIME_CC=config/locale/generic/time_members.cc
6086      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6087      ;;
6088    darwin)
6089      echo "$as_me:$LINENO: result: darwin or freebsd" >&5
6090echo "${ECHO_T}darwin or freebsd" >&6
6091
6092      CLOCALE_H=config/locale/generic/c_locale.h
6093      CLOCALE_CC=config/locale/generic/c_locale.cc
6094      CCODECVT_CC=config/locale/generic/codecvt_members.cc
6095      CCOLLATE_CC=config/locale/generic/collate_members.cc
6096      CCTYPE_CC=config/locale/darwin/ctype_members.cc
6097      CMESSAGES_H=config/locale/generic/messages_members.h
6098      CMESSAGES_CC=config/locale/generic/messages_members.cc
6099      CMONEY_CC=config/locale/generic/monetary_members.cc
6100      CNUMERIC_CC=config/locale/generic/numeric_members.cc
6101      CTIME_H=config/locale/generic/time_members.h
6102      CTIME_CC=config/locale/generic/time_members.cc
6103      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6104      ;;
6105
6106    gnu)
6107      echo "$as_me:$LINENO: result: gnu" >&5
6108echo "${ECHO_T}gnu" >&6
6109
6110      # Declare intention to use gettext, and add support for specific
6111      # languages.
6112      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
6113      ALL_LINGUAS="de fr"
6114
6115      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
6116      # Extract the first word of "msgfmt", so it can be a program name with args.
6117set dummy msgfmt; ac_word=$2
6118echo "$as_me:$LINENO: checking for $ac_word" >&5
6119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6120if test "${ac_cv_prog_check_msgfmt+set}" = set; then
6121  echo $ECHO_N "(cached) $ECHO_C" >&6
6122else
6123  if test -n "$check_msgfmt"; then
6124  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
6125else
6126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127for as_dir in $PATH
6128do
6129  IFS=$as_save_IFS
6130  test -z "$as_dir" && as_dir=.
6131  for ac_exec_ext in '' $ac_executable_extensions; do
6132  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133    ac_cv_prog_check_msgfmt="yes"
6134    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6135    break 2
6136  fi
6137done
6138done
6139
6140  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
6141fi
6142fi
6143check_msgfmt=$ac_cv_prog_check_msgfmt
6144if test -n "$check_msgfmt"; then
6145  echo "$as_me:$LINENO: result: $check_msgfmt" >&5
6146echo "${ECHO_T}$check_msgfmt" >&6
6147else
6148  echo "$as_me:$LINENO: result: no" >&5
6149echo "${ECHO_T}no" >&6
6150fi
6151
6152      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
6153        USE_NLS=yes
6154      fi
6155      # Export the build objects.
6156      for ling in $ALL_LINGUAS; do \
6157        glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
6158        glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
6159      done
6160
6161
6162
6163      CLOCALE_H=config/locale/gnu/c_locale.h
6164      CLOCALE_CC=config/locale/gnu/c_locale.cc
6165      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6166      CCOLLATE_CC=config/locale/gnu/collate_members.cc
6167      CCTYPE_CC=config/locale/gnu/ctype_members.cc
6168      CMESSAGES_H=config/locale/gnu/messages_members.h
6169      CMESSAGES_CC=config/locale/gnu/messages_members.cc
6170      CMONEY_CC=config/locale/gnu/monetary_members.cc
6171      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6172      CTIME_H=config/locale/gnu/time_members.h
6173      CTIME_CC=config/locale/gnu/time_members.cc
6174      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6175      ;;
6176    ieee_1003.1-2001)
6177      echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6178echo "${ECHO_T}IEEE 1003.1" >&6
6179
6180      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6181      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6182      CCODECVT_CC=config/locale/generic/codecvt_members.cc
6183      CCOLLATE_CC=config/locale/generic/collate_members.cc
6184      CCTYPE_CC=config/locale/generic/ctype_members.cc
6185      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6186      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6187      CMONEY_CC=config/locale/generic/monetary_members.cc
6188      CNUMERIC_CC=config/locale/generic/numeric_members.cc
6189      CTIME_H=config/locale/generic/time_members.h
6190      CTIME_CC=config/locale/generic/time_members.cc
6191      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6192      ;;
6193  esac
6194
6195  # This is where the testsuite looks for locale catalogs, using the
6196  # -DLOCALEDIR define during testsuite compilation.
6197  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6198
6199
6200  # A standalone libintl (e.g., GNU libintl) may be in use.
6201  if test $USE_NLS = yes; then
6202
6203for ac_header in libintl.h
6204do
6205as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6206if eval "test \"\${$as_ac_Header+set}\" = set"; then
6207  echo "$as_me:$LINENO: checking for $ac_header" >&5
6208echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6209if eval "test \"\${$as_ac_Header+set}\" = set"; then
6210  echo $ECHO_N "(cached) $ECHO_C" >&6
6211fi
6212echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6213echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6214else
6215  # Is the header compilable?
6216echo "$as_me:$LINENO: checking $ac_header usability" >&5
6217echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6218cat >conftest.$ac_ext <<_ACEOF
6219/* confdefs.h.  */
6220_ACEOF
6221cat confdefs.h >>conftest.$ac_ext
6222cat >>conftest.$ac_ext <<_ACEOF
6223/* end confdefs.h.  */
6224$ac_includes_default
6225#include <$ac_header>
6226_ACEOF
6227rm -f conftest.$ac_objext
6228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229  (eval $ac_compile) 2>conftest.er1
6230  ac_status=$?
6231  grep -v '^ *+' conftest.er1 >conftest.err
6232  rm -f conftest.er1
6233  cat conftest.err >&5
6234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235  (exit $ac_status); } &&
6236	 { ac_try='test -z "$ac_c_werror_flag"
6237			 || test ! -s conftest.err'
6238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239  (eval $ac_try) 2>&5
6240  ac_status=$?
6241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242  (exit $ac_status); }; } &&
6243	 { ac_try='test -s conftest.$ac_objext'
6244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245  (eval $ac_try) 2>&5
6246  ac_status=$?
6247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248  (exit $ac_status); }; }; then
6249  ac_header_compiler=yes
6250else
6251  echo "$as_me: failed program was:" >&5
6252sed 's/^/| /' conftest.$ac_ext >&5
6253
6254ac_header_compiler=no
6255fi
6256rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6257echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6258echo "${ECHO_T}$ac_header_compiler" >&6
6259
6260# Is the header present?
6261echo "$as_me:$LINENO: checking $ac_header presence" >&5
6262echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6263cat >conftest.$ac_ext <<_ACEOF
6264/* confdefs.h.  */
6265_ACEOF
6266cat confdefs.h >>conftest.$ac_ext
6267cat >>conftest.$ac_ext <<_ACEOF
6268/* end confdefs.h.  */
6269#include <$ac_header>
6270_ACEOF
6271if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6272  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6273  ac_status=$?
6274  grep -v '^ *+' conftest.er1 >conftest.err
6275  rm -f conftest.er1
6276  cat conftest.err >&5
6277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278  (exit $ac_status); } >/dev/null; then
6279  if test -s conftest.err; then
6280    ac_cpp_err=$ac_c_preproc_warn_flag
6281    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6282  else
6283    ac_cpp_err=
6284  fi
6285else
6286  ac_cpp_err=yes
6287fi
6288if test -z "$ac_cpp_err"; then
6289  ac_header_preproc=yes
6290else
6291  echo "$as_me: failed program was:" >&5
6292sed 's/^/| /' conftest.$ac_ext >&5
6293
6294  ac_header_preproc=no
6295fi
6296rm -f conftest.err conftest.$ac_ext
6297echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6298echo "${ECHO_T}$ac_header_preproc" >&6
6299
6300# So?  What about this header?
6301case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6302  yes:no: )
6303    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6304echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6305    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6306echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6307    ac_header_preproc=yes
6308    ;;
6309  no:yes:* )
6310    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6311echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6312    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6313echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6314    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6315echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6316    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6317echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6318    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6319echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6320    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6321echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6322    (
6323      cat <<\_ASBOX
6324## ----------------------------------------- ##
6325## Report this to the package-unused lists.  ##
6326## ----------------------------------------- ##
6327_ASBOX
6328    ) |
6329      sed "s/^/$as_me: WARNING:     /" >&2
6330    ;;
6331esac
6332echo "$as_me:$LINENO: checking for $ac_header" >&5
6333echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6334if eval "test \"\${$as_ac_Header+set}\" = set"; then
6335  echo $ECHO_N "(cached) $ECHO_C" >&6
6336else
6337  eval "$as_ac_Header=\$ac_header_preproc"
6338fi
6339echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6340echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6341
6342fi
6343if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344  cat >>confdefs.h <<_ACEOF
6345#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346_ACEOF
6347
6348else
6349  USE_NLS=no
6350fi
6351
6352done
6353
6354    echo "$as_me:$LINENO: checking for library containing gettext" >&5
6355echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6356if test "${ac_cv_search_gettext+set}" = set; then
6357  echo $ECHO_N "(cached) $ECHO_C" >&6
6358else
6359  ac_func_search_save_LIBS=$LIBS
6360ac_cv_search_gettext=no
6361if test x$gcc_no_link = xyes; then
6362  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6363echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6364   { (exit 1); exit 1; }; }
6365fi
6366cat >conftest.$ac_ext <<_ACEOF
6367/* confdefs.h.  */
6368_ACEOF
6369cat confdefs.h >>conftest.$ac_ext
6370cat >>conftest.$ac_ext <<_ACEOF
6371/* end confdefs.h.  */
6372
6373/* Override any gcc2 internal prototype to avoid an error.  */
6374#ifdef __cplusplus
6375extern "C"
6376#endif
6377/* We use char because int might match the return type of a gcc2
6378   builtin and then its argument prototype would still apply.  */
6379char gettext ();
6380int
6381main ()
6382{
6383gettext ();
6384  ;
6385  return 0;
6386}
6387_ACEOF
6388rm -f conftest.$ac_objext conftest$ac_exeext
6389if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6390  (eval $ac_link) 2>conftest.er1
6391  ac_status=$?
6392  grep -v '^ *+' conftest.er1 >conftest.err
6393  rm -f conftest.er1
6394  cat conftest.err >&5
6395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396  (exit $ac_status); } &&
6397	 { ac_try='test -z "$ac_c_werror_flag"
6398			 || test ! -s conftest.err'
6399  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400  (eval $ac_try) 2>&5
6401  ac_status=$?
6402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403  (exit $ac_status); }; } &&
6404	 { ac_try='test -s conftest$ac_exeext'
6405  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406  (eval $ac_try) 2>&5
6407  ac_status=$?
6408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409  (exit $ac_status); }; }; then
6410  ac_cv_search_gettext="none required"
6411else
6412  echo "$as_me: failed program was:" >&5
6413sed 's/^/| /' conftest.$ac_ext >&5
6414
6415fi
6416rm -f conftest.err conftest.$ac_objext \
6417      conftest$ac_exeext conftest.$ac_ext
6418if test "$ac_cv_search_gettext" = no; then
6419  for ac_lib in intl; do
6420    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6421    if test x$gcc_no_link = xyes; then
6422  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6423echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6424   { (exit 1); exit 1; }; }
6425fi
6426cat >conftest.$ac_ext <<_ACEOF
6427/* confdefs.h.  */
6428_ACEOF
6429cat confdefs.h >>conftest.$ac_ext
6430cat >>conftest.$ac_ext <<_ACEOF
6431/* end confdefs.h.  */
6432
6433/* Override any gcc2 internal prototype to avoid an error.  */
6434#ifdef __cplusplus
6435extern "C"
6436#endif
6437/* We use char because int might match the return type of a gcc2
6438   builtin and then its argument prototype would still apply.  */
6439char gettext ();
6440int
6441main ()
6442{
6443gettext ();
6444  ;
6445  return 0;
6446}
6447_ACEOF
6448rm -f conftest.$ac_objext conftest$ac_exeext
6449if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6450  (eval $ac_link) 2>conftest.er1
6451  ac_status=$?
6452  grep -v '^ *+' conftest.er1 >conftest.err
6453  rm -f conftest.er1
6454  cat conftest.err >&5
6455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456  (exit $ac_status); } &&
6457	 { ac_try='test -z "$ac_c_werror_flag"
6458			 || test ! -s conftest.err'
6459  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460  (eval $ac_try) 2>&5
6461  ac_status=$?
6462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463  (exit $ac_status); }; } &&
6464	 { ac_try='test -s conftest$ac_exeext'
6465  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466  (eval $ac_try) 2>&5
6467  ac_status=$?
6468  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469  (exit $ac_status); }; }; then
6470  ac_cv_search_gettext="-l$ac_lib"
6471break
6472else
6473  echo "$as_me: failed program was:" >&5
6474sed 's/^/| /' conftest.$ac_ext >&5
6475
6476fi
6477rm -f conftest.err conftest.$ac_objext \
6478      conftest$ac_exeext conftest.$ac_ext
6479  done
6480fi
6481LIBS=$ac_func_search_save_LIBS
6482fi
6483echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6484echo "${ECHO_T}$ac_cv_search_gettext" >&6
6485if test "$ac_cv_search_gettext" != no; then
6486  test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6487
6488else
6489  USE_NLS=no
6490fi
6491
6492  fi
6493  if test $USE_NLS = yes; then
6494
6495cat >>confdefs.h <<\_ACEOF
6496#define _GLIBCXX_USE_NLS 1
6497_ACEOF
6498
6499  fi
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516  echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6517echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6518   # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6519if test "${enable_libstdcxx_allocator+set}" = set; then
6520  enableval="$enable_libstdcxx_allocator"
6521
6522      case "$enableval" in
6523       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6524       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6525echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6526   { (exit 1); exit 1; }; } ;;
6527                          esac
6528
6529else
6530  enable_libstdcxx_allocator=auto
6531fi;
6532
6533
6534  # If they didn't use this option switch, or if they specified --enable
6535  # with no specific model, we'll have to look for one.  If they
6536  # specified --disable (???), do likewise.
6537  if test $enable_libstdcxx_allocator = no ||
6538     test $enable_libstdcxx_allocator = yes;
6539  then
6540     enable_libstdcxx_allocator=auto
6541  fi
6542
6543  # Either a known package, or "auto". Auto implies the default choice
6544  # for a particular platform.
6545  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6546
6547  # Probe for host-specific support if no specific model is specified.
6548  # Default to "new".
6549  if test $enable_libstdcxx_allocator_flag = auto; then
6550    case ${target_os} in
6551      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6552        enable_libstdcxx_allocator_flag=new
6553        ;;
6554      *)
6555        enable_libstdcxx_allocator_flag=new
6556        ;;
6557    esac
6558  fi
6559  echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6560echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6561
6562
6563  # Set configure bits for specified locale package
6564  case ${enable_libstdcxx_allocator_flag} in
6565    bitmap)
6566      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6567      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6568      ;;
6569    malloc)
6570      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6571      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6572      ;;
6573    mt)
6574      ALLOCATOR_H=config/allocator/mt_allocator_base.h
6575      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6576      ;;
6577    new)
6578      ALLOCATOR_H=config/allocator/new_allocator_base.h
6579      ALLOCATOR_NAME=__gnu_cxx::new_allocator
6580      ;;
6581    pool)
6582      ALLOCATOR_H=config/allocator/pool_allocator_base.h
6583      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6584      ;;
6585  esac
6586
6587
6588
6589
6590
6591   # Check whether --enable-cheaders or --disable-cheaders was given.
6592if test "${enable_cheaders+set}" = set; then
6593  enableval="$enable_cheaders"
6594
6595      case "$enableval" in
6596       c|c_std) ;;
6597       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6598echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6599   { (exit 1); exit 1; }; } ;;
6600                          esac
6601
6602else
6603  enable_cheaders=$c_model
6604fi;
6605
6606  { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6607echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6608
6609  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6610
6611
6612
6613
6614
6615
6616   # Check whether --enable-long-long or --disable-long-long was given.
6617if test "${enable_long_long+set}" = set; then
6618  enableval="$enable_long_long"
6619
6620      case "$enableval" in
6621       yes|no) ;;
6622       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6623echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6624   { (exit 1); exit 1; }; } ;;
6625      esac
6626
6627else
6628  enable_long_long=yes
6629fi;
6630
6631  if test $enable_long_long = yes; then
6632
6633cat >>confdefs.h <<\_ACEOF
6634#define _GLIBCXX_USE_LONG_LONG 1
6635_ACEOF
6636
6637  fi
6638  echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6639echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6640  echo "$as_me:$LINENO: result: $enable_long_long" >&5
6641echo "${ECHO_T}$enable_long_long" >&6
6642
6643
6644
6645   # Check whether --enable-wchar_t or --disable-wchar_t was given.
6646if test "${enable_wchar_t+set}" = set; then
6647  enableval="$enable_wchar_t"
6648
6649      case "$enableval" in
6650       yes|no) ;;
6651       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6652echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6653   { (exit 1); exit 1; }; } ;;
6654      esac
6655
6656else
6657  enable_wchar_t=yes
6658fi;
6659
6660
6661  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6662
6663for ac_header in wchar.h
6664do
6665as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666if eval "test \"\${$as_ac_Header+set}\" = set"; then
6667  echo "$as_me:$LINENO: checking for $ac_header" >&5
6668echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6669if eval "test \"\${$as_ac_Header+set}\" = set"; then
6670  echo $ECHO_N "(cached) $ECHO_C" >&6
6671fi
6672echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6674else
6675  # Is the header compilable?
6676echo "$as_me:$LINENO: checking $ac_header usability" >&5
6677echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6678cat >conftest.$ac_ext <<_ACEOF
6679/* confdefs.h.  */
6680_ACEOF
6681cat confdefs.h >>conftest.$ac_ext
6682cat >>conftest.$ac_ext <<_ACEOF
6683/* end confdefs.h.  */
6684$ac_includes_default
6685#include <$ac_header>
6686_ACEOF
6687rm -f conftest.$ac_objext
6688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6689  (eval $ac_compile) 2>conftest.er1
6690  ac_status=$?
6691  grep -v '^ *+' conftest.er1 >conftest.err
6692  rm -f conftest.er1
6693  cat conftest.err >&5
6694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695  (exit $ac_status); } &&
6696	 { ac_try='test -z "$ac_c_werror_flag"
6697			 || test ! -s conftest.err'
6698  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699  (eval $ac_try) 2>&5
6700  ac_status=$?
6701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702  (exit $ac_status); }; } &&
6703	 { ac_try='test -s conftest.$ac_objext'
6704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705  (eval $ac_try) 2>&5
6706  ac_status=$?
6707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708  (exit $ac_status); }; }; then
6709  ac_header_compiler=yes
6710else
6711  echo "$as_me: failed program was:" >&5
6712sed 's/^/| /' conftest.$ac_ext >&5
6713
6714ac_header_compiler=no
6715fi
6716rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6717echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6718echo "${ECHO_T}$ac_header_compiler" >&6
6719
6720# Is the header present?
6721echo "$as_me:$LINENO: checking $ac_header presence" >&5
6722echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6723cat >conftest.$ac_ext <<_ACEOF
6724/* confdefs.h.  */
6725_ACEOF
6726cat confdefs.h >>conftest.$ac_ext
6727cat >>conftest.$ac_ext <<_ACEOF
6728/* end confdefs.h.  */
6729#include <$ac_header>
6730_ACEOF
6731if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6732  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6733  ac_status=$?
6734  grep -v '^ *+' conftest.er1 >conftest.err
6735  rm -f conftest.er1
6736  cat conftest.err >&5
6737  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738  (exit $ac_status); } >/dev/null; then
6739  if test -s conftest.err; then
6740    ac_cpp_err=$ac_c_preproc_warn_flag
6741    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6742  else
6743    ac_cpp_err=
6744  fi
6745else
6746  ac_cpp_err=yes
6747fi
6748if test -z "$ac_cpp_err"; then
6749  ac_header_preproc=yes
6750else
6751  echo "$as_me: failed program was:" >&5
6752sed 's/^/| /' conftest.$ac_ext >&5
6753
6754  ac_header_preproc=no
6755fi
6756rm -f conftest.err conftest.$ac_ext
6757echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6758echo "${ECHO_T}$ac_header_preproc" >&6
6759
6760# So?  What about this header?
6761case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6762  yes:no: )
6763    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6764echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6765    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6766echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6767    ac_header_preproc=yes
6768    ;;
6769  no:yes:* )
6770    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6771echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6772    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6773echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6774    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6775echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6776    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6777echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6778    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6779echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6780    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6781echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6782    (
6783      cat <<\_ASBOX
6784## ----------------------------------------- ##
6785## Report this to the package-unused lists.  ##
6786## ----------------------------------------- ##
6787_ASBOX
6788    ) |
6789      sed "s/^/$as_me: WARNING:     /" >&2
6790    ;;
6791esac
6792echo "$as_me:$LINENO: checking for $ac_header" >&5
6793echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6794if eval "test \"\${$as_ac_Header+set}\" = set"; then
6795  echo $ECHO_N "(cached) $ECHO_C" >&6
6796else
6797  eval "$as_ac_Header=\$ac_header_preproc"
6798fi
6799echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6800echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6801
6802fi
6803if test `eval echo '${'$as_ac_Header'}'` = yes; then
6804  cat >>confdefs.h <<_ACEOF
6805#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6806_ACEOF
6807 ac_has_wchar_h=yes
6808else
6809  ac_has_wchar_h=no
6810fi
6811
6812done
6813
6814  echo "$as_me:$LINENO: checking for mbstate_t" >&5
6815echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6816  cat >conftest.$ac_ext <<_ACEOF
6817/* confdefs.h.  */
6818_ACEOF
6819cat confdefs.h >>conftest.$ac_ext
6820cat >>conftest.$ac_ext <<_ACEOF
6821/* end confdefs.h.  */
6822#include <wchar.h>
6823int
6824main ()
6825{
6826mbstate_t teststate;
6827  ;
6828  return 0;
6829}
6830_ACEOF
6831rm -f conftest.$ac_objext
6832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833  (eval $ac_compile) 2>conftest.er1
6834  ac_status=$?
6835  grep -v '^ *+' conftest.er1 >conftest.err
6836  rm -f conftest.er1
6837  cat conftest.err >&5
6838  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839  (exit $ac_status); } &&
6840	 { ac_try='test -z "$ac_c_werror_flag"
6841			 || test ! -s conftest.err'
6842  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843  (eval $ac_try) 2>&5
6844  ac_status=$?
6845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846  (exit $ac_status); }; } &&
6847	 { ac_try='test -s conftest.$ac_objext'
6848  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849  (eval $ac_try) 2>&5
6850  ac_status=$?
6851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852  (exit $ac_status); }; }; then
6853  have_mbstate_t=yes
6854else
6855  echo "$as_me: failed program was:" >&5
6856sed 's/^/| /' conftest.$ac_ext >&5
6857
6858have_mbstate_t=no
6859fi
6860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861  echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6862echo "${ECHO_T}$have_mbstate_t" >&6
6863  if test x"$have_mbstate_t" = xyes; then
6864
6865cat >>confdefs.h <<\_ACEOF
6866#define HAVE_MBSTATE_T 1
6867_ACEOF
6868
6869  fi
6870
6871  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6872  # ac_has_wchar_h.
6873
6874for ac_header in wctype.h
6875do
6876as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6877if eval "test \"\${$as_ac_Header+set}\" = set"; then
6878  echo "$as_me:$LINENO: checking for $ac_header" >&5
6879echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6880if eval "test \"\${$as_ac_Header+set}\" = set"; then
6881  echo $ECHO_N "(cached) $ECHO_C" >&6
6882fi
6883echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6884echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6885else
6886  # Is the header compilable?
6887echo "$as_me:$LINENO: checking $ac_header usability" >&5
6888echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6889cat >conftest.$ac_ext <<_ACEOF
6890/* confdefs.h.  */
6891_ACEOF
6892cat confdefs.h >>conftest.$ac_ext
6893cat >>conftest.$ac_ext <<_ACEOF
6894/* end confdefs.h.  */
6895$ac_includes_default
6896#include <$ac_header>
6897_ACEOF
6898rm -f conftest.$ac_objext
6899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6900  (eval $ac_compile) 2>conftest.er1
6901  ac_status=$?
6902  grep -v '^ *+' conftest.er1 >conftest.err
6903  rm -f conftest.er1
6904  cat conftest.err >&5
6905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906  (exit $ac_status); } &&
6907	 { ac_try='test -z "$ac_c_werror_flag"
6908			 || test ! -s conftest.err'
6909  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910  (eval $ac_try) 2>&5
6911  ac_status=$?
6912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913  (exit $ac_status); }; } &&
6914	 { ac_try='test -s conftest.$ac_objext'
6915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916  (eval $ac_try) 2>&5
6917  ac_status=$?
6918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919  (exit $ac_status); }; }; then
6920  ac_header_compiler=yes
6921else
6922  echo "$as_me: failed program was:" >&5
6923sed 's/^/| /' conftest.$ac_ext >&5
6924
6925ac_header_compiler=no
6926fi
6927rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6928echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6929echo "${ECHO_T}$ac_header_compiler" >&6
6930
6931# Is the header present?
6932echo "$as_me:$LINENO: checking $ac_header presence" >&5
6933echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6934cat >conftest.$ac_ext <<_ACEOF
6935/* confdefs.h.  */
6936_ACEOF
6937cat confdefs.h >>conftest.$ac_ext
6938cat >>conftest.$ac_ext <<_ACEOF
6939/* end confdefs.h.  */
6940#include <$ac_header>
6941_ACEOF
6942if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6943  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6944  ac_status=$?
6945  grep -v '^ *+' conftest.er1 >conftest.err
6946  rm -f conftest.er1
6947  cat conftest.err >&5
6948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949  (exit $ac_status); } >/dev/null; then
6950  if test -s conftest.err; then
6951    ac_cpp_err=$ac_c_preproc_warn_flag
6952    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6953  else
6954    ac_cpp_err=
6955  fi
6956else
6957  ac_cpp_err=yes
6958fi
6959if test -z "$ac_cpp_err"; then
6960  ac_header_preproc=yes
6961else
6962  echo "$as_me: failed program was:" >&5
6963sed 's/^/| /' conftest.$ac_ext >&5
6964
6965  ac_header_preproc=no
6966fi
6967rm -f conftest.err conftest.$ac_ext
6968echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6969echo "${ECHO_T}$ac_header_preproc" >&6
6970
6971# So?  What about this header?
6972case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6973  yes:no: )
6974    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6975echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6976    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6977echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6978    ac_header_preproc=yes
6979    ;;
6980  no:yes:* )
6981    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6982echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6983    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6984echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6985    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6986echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6987    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6988echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6989    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6990echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6991    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6992echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6993    (
6994      cat <<\_ASBOX
6995## ----------------------------------------- ##
6996## Report this to the package-unused lists.  ##
6997## ----------------------------------------- ##
6998_ASBOX
6999    ) |
7000      sed "s/^/$as_me: WARNING:     /" >&2
7001    ;;
7002esac
7003echo "$as_me:$LINENO: checking for $ac_header" >&5
7004echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7005if eval "test \"\${$as_ac_Header+set}\" = set"; then
7006  echo $ECHO_N "(cached) $ECHO_C" >&6
7007else
7008  eval "$as_ac_Header=\$ac_header_preproc"
7009fi
7010echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7011echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7012
7013fi
7014if test `eval echo '${'$as_ac_Header'}'` = yes; then
7015  cat >>confdefs.h <<_ACEOF
7016#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017_ACEOF
7018 ac_has_wctype_h=yes
7019else
7020  ac_has_wctype_h=no
7021fi
7022
7023done
7024
7025
7026  if test x"$enable_wchar_t" = x"yes"; then
7027
7028
7029
7030    ac_ext=cc
7031ac_cpp='$CXXCPP $CPPFLAGS'
7032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7035
7036
7037    if test x"$ac_has_wchar_h" = xyes &&
7038       test x"$ac_has_wctype_h" = xyes; then
7039      cat >conftest.$ac_ext <<_ACEOF
7040/* confdefs.h.  */
7041_ACEOF
7042cat confdefs.h >>conftest.$ac_ext
7043cat >>conftest.$ac_ext <<_ACEOF
7044/* end confdefs.h.  */
7045#include <wchar.h>
7046                      #include <stddef.h>
7047                      wint_t i;
7048		      long l = WEOF;
7049		      long j = WCHAR_MIN;
7050		      long k = WCHAR_MAX;
7051                      namespace test
7052                      {
7053			using ::btowc;
7054			using ::fgetwc;
7055			using ::fgetws;
7056			using ::fputwc;
7057			using ::fputws;
7058			using ::fwide;
7059			using ::fwprintf;
7060			using ::fwscanf;
7061			using ::getwc;
7062			using ::getwchar;
7063 			using ::mbrlen;
7064			using ::mbrtowc;
7065			using ::mbsinit;
7066			using ::mbsrtowcs;
7067			using ::putwc;
7068			using ::putwchar;
7069			using ::swprintf;
7070			using ::swscanf;
7071			using ::ungetwc;
7072			using ::vfwprintf;
7073			using ::vswprintf;
7074			using ::vwprintf;
7075			using ::wcrtomb;
7076			using ::wcscat;
7077			using ::wcschr;
7078			using ::wcscmp;
7079			using ::wcscoll;
7080			using ::wcscpy;
7081			using ::wcscspn;
7082			using ::wcsftime;
7083			using ::wcslen;
7084			using ::wcsncat;
7085			using ::wcsncmp;
7086			using ::wcsncpy;
7087			using ::wcspbrk;
7088			using ::wcsrchr;
7089			using ::wcsrtombs;
7090			using ::wcsspn;
7091			using ::wcsstr;
7092			using ::wcstod;
7093			using ::wcstok;
7094			using ::wcstol;
7095			using ::wcstoul;
7096			using ::wcsxfrm;
7097			using ::wctob;
7098			using ::wmemchr;
7099			using ::wmemcmp;
7100			using ::wmemcpy;
7101			using ::wmemmove;
7102			using ::wmemset;
7103			using ::wprintf;
7104			using ::wscanf;
7105		      }
7106
7107int
7108main ()
7109{
7110
7111  ;
7112  return 0;
7113}
7114_ACEOF
7115rm -f conftest.$ac_objext
7116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7117  (eval $ac_compile) 2>conftest.er1
7118  ac_status=$?
7119  grep -v '^ *+' conftest.er1 >conftest.err
7120  rm -f conftest.er1
7121  cat conftest.err >&5
7122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123  (exit $ac_status); } &&
7124	 { ac_try='test -z "$ac_cxx_werror_flag"
7125			 || test ! -s conftest.err'
7126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127  (eval $ac_try) 2>&5
7128  ac_status=$?
7129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130  (exit $ac_status); }; } &&
7131	 { ac_try='test -s conftest.$ac_objext'
7132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133  (eval $ac_try) 2>&5
7134  ac_status=$?
7135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136  (exit $ac_status); }; }; then
7137  :
7138else
7139  echo "$as_me: failed program was:" >&5
7140sed 's/^/| /' conftest.$ac_ext >&5
7141
7142enable_wchar_t=no
7143fi
7144rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7145    else
7146      enable_wchar_t=no
7147    fi
7148
7149    ac_ext=c
7150ac_cpp='$CPP $CPPFLAGS'
7151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7153ac_compiler_gnu=$ac_cv_c_compiler_gnu
7154
7155  fi
7156
7157  if test x"$enable_wchar_t" = x"yes"; then
7158
7159cat >>confdefs.h <<\_ACEOF
7160#define _GLIBCXX_USE_WCHAR_T 1
7161_ACEOF
7162
7163  fi
7164
7165  echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7166echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7167  echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7168echo "${ECHO_T}$enable_wchar_t" >&6
7169
7170
7171
7172   # Check whether --enable-c99 or --disable-c99 was given.
7173if test "${enable_c99+set}" = set; then
7174  enableval="$enable_c99"
7175
7176      case "$enableval" in
7177       yes|no) ;;
7178       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7179echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7180   { (exit 1); exit 1; }; } ;;
7181      esac
7182
7183else
7184  enable_c99=yes
7185fi;
7186
7187
7188  if test x"$enable_c99" = x"yes"; then
7189
7190
7191
7192  ac_ext=cc
7193ac_cpp='$CXXCPP $CPPFLAGS'
7194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7197
7198
7199  # Check for the existence of <math.h> functions used if C99 is enabled.
7200  echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7201echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7202  if test "${ac_c99_math+set}" = set; then
7203  echo $ECHO_N "(cached) $ECHO_C" >&6
7204else
7205
7206  cat >conftest.$ac_ext <<_ACEOF
7207/* confdefs.h.  */
7208_ACEOF
7209cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h.  */
7212#include <math.h>
7213int
7214main ()
7215{
7216fpclassify(0.0);
7217	          isfinite(0.0);
7218		  isinf(0.0);
7219	          isnan(0.0);
7220		  isnormal(0.0);
7221	  	  signbit(0.0);
7222	 	  isgreater(0.0,0.0);
7223		  isgreaterequal(0.0,0.0);
7224		  isless(0.0,0.0);
7225		  islessequal(0.0,0.0);
7226		  islessgreater(0.0,0.0);
7227		  islessgreater(0.0,0.0);
7228		  isunordered(0.0,0.0);
7229
7230  ;
7231  return 0;
7232}
7233_ACEOF
7234rm -f conftest.$ac_objext
7235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7236  (eval $ac_compile) 2>conftest.er1
7237  ac_status=$?
7238  grep -v '^ *+' conftest.er1 >conftest.err
7239  rm -f conftest.er1
7240  cat conftest.err >&5
7241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242  (exit $ac_status); } &&
7243	 { ac_try='test -z "$ac_cxx_werror_flag"
7244			 || test ! -s conftest.err'
7245  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246  (eval $ac_try) 2>&5
7247  ac_status=$?
7248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249  (exit $ac_status); }; } &&
7250	 { ac_try='test -s conftest.$ac_objext'
7251  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252  (eval $ac_try) 2>&5
7253  ac_status=$?
7254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255  (exit $ac_status); }; }; then
7256  ac_c99_math=yes
7257else
7258  echo "$as_me: failed program was:" >&5
7259sed 's/^/| /' conftest.$ac_ext >&5
7260
7261ac_c99_math=no
7262fi
7263rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7264
7265fi
7266
7267  echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7268echo "${ECHO_T}$ac_c99_math" >&6
7269  if test x"$ac_c99_math" = x"yes"; then
7270
7271cat >>confdefs.h <<\_ACEOF
7272#define _GLIBCXX_USE_C99_MATH 1
7273_ACEOF
7274
7275  fi
7276
7277  # Check for the existence of <complex.h> complex math functions.
7278  # This is necessary even though libstdc++ uses the builtin versions
7279  # of these functions, because if the builtin cannot be used, a reference
7280  # to the library function is emitted.
7281
7282for ac_header in complex.h
7283do
7284as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285if eval "test \"\${$as_ac_Header+set}\" = set"; then
7286  echo "$as_me:$LINENO: checking for $ac_header" >&5
7287echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7288if eval "test \"\${$as_ac_Header+set}\" = set"; then
7289  echo $ECHO_N "(cached) $ECHO_C" >&6
7290fi
7291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7292echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7293else
7294  # Is the header compilable?
7295echo "$as_me:$LINENO: checking $ac_header usability" >&5
7296echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7297cat >conftest.$ac_ext <<_ACEOF
7298/* confdefs.h.  */
7299_ACEOF
7300cat confdefs.h >>conftest.$ac_ext
7301cat >>conftest.$ac_ext <<_ACEOF
7302/* end confdefs.h.  */
7303$ac_includes_default
7304#include <$ac_header>
7305_ACEOF
7306rm -f conftest.$ac_objext
7307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7308  (eval $ac_compile) 2>conftest.er1
7309  ac_status=$?
7310  grep -v '^ *+' conftest.er1 >conftest.err
7311  rm -f conftest.er1
7312  cat conftest.err >&5
7313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314  (exit $ac_status); } &&
7315	 { ac_try='test -z "$ac_cxx_werror_flag"
7316			 || test ! -s conftest.err'
7317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318  (eval $ac_try) 2>&5
7319  ac_status=$?
7320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321  (exit $ac_status); }; } &&
7322	 { ac_try='test -s conftest.$ac_objext'
7323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7324  (eval $ac_try) 2>&5
7325  ac_status=$?
7326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327  (exit $ac_status); }; }; then
7328  ac_header_compiler=yes
7329else
7330  echo "$as_me: failed program was:" >&5
7331sed 's/^/| /' conftest.$ac_ext >&5
7332
7333ac_header_compiler=no
7334fi
7335rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7336echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7337echo "${ECHO_T}$ac_header_compiler" >&6
7338
7339# Is the header present?
7340echo "$as_me:$LINENO: checking $ac_header presence" >&5
7341echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7342cat >conftest.$ac_ext <<_ACEOF
7343/* confdefs.h.  */
7344_ACEOF
7345cat confdefs.h >>conftest.$ac_ext
7346cat >>conftest.$ac_ext <<_ACEOF
7347/* end confdefs.h.  */
7348#include <$ac_header>
7349_ACEOF
7350if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7351  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7352  ac_status=$?
7353  grep -v '^ *+' conftest.er1 >conftest.err
7354  rm -f conftest.er1
7355  cat conftest.err >&5
7356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357  (exit $ac_status); } >/dev/null; then
7358  if test -s conftest.err; then
7359    ac_cpp_err=$ac_cxx_preproc_warn_flag
7360    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7361  else
7362    ac_cpp_err=
7363  fi
7364else
7365  ac_cpp_err=yes
7366fi
7367if test -z "$ac_cpp_err"; then
7368  ac_header_preproc=yes
7369else
7370  echo "$as_me: failed program was:" >&5
7371sed 's/^/| /' conftest.$ac_ext >&5
7372
7373  ac_header_preproc=no
7374fi
7375rm -f conftest.err conftest.$ac_ext
7376echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7377echo "${ECHO_T}$ac_header_preproc" >&6
7378
7379# So?  What about this header?
7380case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7381  yes:no: )
7382    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7383echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7384    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7385echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7386    ac_header_preproc=yes
7387    ;;
7388  no:yes:* )
7389    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7390echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7391    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7392echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7393    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7394echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7395    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7396echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7397    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7398echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7399    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7400echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7401    (
7402      cat <<\_ASBOX
7403## ----------------------------------------- ##
7404## Report this to the package-unused lists.  ##
7405## ----------------------------------------- ##
7406_ASBOX
7407    ) |
7408      sed "s/^/$as_me: WARNING:     /" >&2
7409    ;;
7410esac
7411echo "$as_me:$LINENO: checking for $ac_header" >&5
7412echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7413if eval "test \"\${$as_ac_Header+set}\" = set"; then
7414  echo $ECHO_N "(cached) $ECHO_C" >&6
7415else
7416  eval "$as_ac_Header=\$ac_header_preproc"
7417fi
7418echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7419echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7420
7421fi
7422if test `eval echo '${'$as_ac_Header'}'` = yes; then
7423  cat >>confdefs.h <<_ACEOF
7424#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7425_ACEOF
7426 ac_has_complex_h=yes
7427else
7428  ac_has_complex_h=no
7429fi
7430
7431done
7432
7433  ac_c99_complex=no;
7434  if test x"$ac_has_complex_h" = x"yes"; then
7435    echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7436echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7437    cat >conftest.$ac_ext <<_ACEOF
7438/* confdefs.h.  */
7439_ACEOF
7440cat confdefs.h >>conftest.$ac_ext
7441cat >>conftest.$ac_ext <<_ACEOF
7442/* end confdefs.h.  */
7443#include <complex.h>
7444int
7445main ()
7446{
7447typedef __complex__ float float_type; float_type tmpf;
7448	            cabsf(tmpf);
7449		    cargf(tmpf);
7450		    ccosf(tmpf);
7451  		    ccoshf(tmpf);
7452		    cexpf(tmpf);
7453	            clogf(tmpf);
7454		    csinf(tmpf);
7455		    csinhf(tmpf);
7456		    csqrtf(tmpf);
7457		    ctanf(tmpf);
7458		    ctanhf(tmpf);
7459		    cpowf(tmpf, tmpf);
7460		    typedef __complex__ double double_type; double_type tmpd;
7461	            cabs(tmpd);
7462		    carg(tmpd);
7463		    ccos(tmpd);
7464  		    ccosh(tmpd);
7465		    cexp(tmpd);
7466	            clog(tmpd);
7467		    csin(tmpd);
7468		    csinh(tmpd);
7469		    csqrt(tmpd);
7470		    ctan(tmpd);
7471		    ctanh(tmpd);
7472		    cpow(tmpd, tmpd);
7473		    typedef __complex__ long double ld_type; ld_type tmpld;
7474	            cabsl(tmpld);
7475		    cargl(tmpld);
7476		    ccosl(tmpld);
7477  		    ccoshl(tmpld);
7478		    cexpl(tmpld);
7479	            clogl(tmpld);
7480		    csinl(tmpld);
7481		    csinhl(tmpld);
7482		    csqrtl(tmpld);
7483		    ctanl(tmpld);
7484		    ctanhl(tmpld);
7485		    cpowl(tmpld, tmpld);
7486
7487  ;
7488  return 0;
7489}
7490_ACEOF
7491rm -f conftest.$ac_objext
7492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493  (eval $ac_compile) 2>conftest.er1
7494  ac_status=$?
7495  grep -v '^ *+' conftest.er1 >conftest.err
7496  rm -f conftest.er1
7497  cat conftest.err >&5
7498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499  (exit $ac_status); } &&
7500	 { ac_try='test -z "$ac_cxx_werror_flag"
7501			 || test ! -s conftest.err'
7502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7503  (eval $ac_try) 2>&5
7504  ac_status=$?
7505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506  (exit $ac_status); }; } &&
7507	 { ac_try='test -s conftest.$ac_objext'
7508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509  (eval $ac_try) 2>&5
7510  ac_status=$?
7511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512  (exit $ac_status); }; }; then
7513  ac_c99_complex=yes
7514else
7515  echo "$as_me: failed program was:" >&5
7516sed 's/^/| /' conftest.$ac_ext >&5
7517
7518ac_c99_complex=no
7519fi
7520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7521  fi
7522  echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7523echo "${ECHO_T}$ac_c99_complex" >&6
7524  if test x"$ac_c99_complex" = x"yes"; then
7525
7526cat >>confdefs.h <<\_ACEOF
7527#define _GLIBCXX_USE_C99_COMPLEX 1
7528_ACEOF
7529
7530  fi
7531
7532  # Check for the existence in <stdio.h> of vscanf, et. al.
7533  echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7534echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7535  if test "${ac_c99_stdio+set}" = set; then
7536  echo $ECHO_N "(cached) $ECHO_C" >&6
7537else
7538
7539  cat >conftest.$ac_ext <<_ACEOF
7540/* confdefs.h.  */
7541_ACEOF
7542cat confdefs.h >>conftest.$ac_ext
7543cat >>conftest.$ac_ext <<_ACEOF
7544/* end confdefs.h.  */
7545#include <stdio.h>
7546		  #include <stdarg.h>
7547                  void foo(char* fmt, ...)
7548                  {
7549	            va_list args; va_start(args, fmt);
7550                    vfscanf(stderr, "%i", args);
7551		    vscanf("%i", args);
7552                    vsnprintf(fmt, 0, "%i", args);
7553                    vsscanf(fmt, "%i", args);
7554		  }
7555int
7556main ()
7557{
7558snprintf("12", 0, "%i");
7559  ;
7560  return 0;
7561}
7562_ACEOF
7563rm -f conftest.$ac_objext
7564if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7565  (eval $ac_compile) 2>conftest.er1
7566  ac_status=$?
7567  grep -v '^ *+' conftest.er1 >conftest.err
7568  rm -f conftest.er1
7569  cat conftest.err >&5
7570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571  (exit $ac_status); } &&
7572	 { ac_try='test -z "$ac_cxx_werror_flag"
7573			 || test ! -s conftest.err'
7574  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575  (eval $ac_try) 2>&5
7576  ac_status=$?
7577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578  (exit $ac_status); }; } &&
7579	 { ac_try='test -s conftest.$ac_objext'
7580  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581  (eval $ac_try) 2>&5
7582  ac_status=$?
7583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584  (exit $ac_status); }; }; then
7585  ac_c99_stdio=yes
7586else
7587  echo "$as_me: failed program was:" >&5
7588sed 's/^/| /' conftest.$ac_ext >&5
7589
7590ac_c99_stdio=no
7591fi
7592rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7593
7594fi
7595
7596  echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7597echo "${ECHO_T}$ac_c99_stdio" >&6
7598
7599  # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7600  echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7601echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7602  if test "${ac_c99_stdlib+set}" = set; then
7603  echo $ECHO_N "(cached) $ECHO_C" >&6
7604else
7605
7606  cat >conftest.$ac_ext <<_ACEOF
7607/* confdefs.h.  */
7608_ACEOF
7609cat confdefs.h >>conftest.$ac_ext
7610cat >>conftest.$ac_ext <<_ACEOF
7611/* end confdefs.h.  */
7612#include <stdlib.h>
7613int
7614main ()
7615{
7616char* tmp;
7617	    	  strtof("gnu", &tmp);
7618		  strtold("gnu", &tmp);
7619	          strtoll("gnu", &tmp, 10);
7620	          strtoull("gnu", &tmp, 10);
7621	          llabs(10);
7622		  lldiv(10,1);
7623		  atoll("10");
7624		  _Exit(0);
7625		  lldiv_t mydivt;
7626  ;
7627  return 0;
7628}
7629_ACEOF
7630rm -f conftest.$ac_objext
7631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7632  (eval $ac_compile) 2>conftest.er1
7633  ac_status=$?
7634  grep -v '^ *+' conftest.er1 >conftest.err
7635  rm -f conftest.er1
7636  cat conftest.err >&5
7637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638  (exit $ac_status); } &&
7639	 { ac_try='test -z "$ac_cxx_werror_flag"
7640			 || test ! -s conftest.err'
7641  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642  (eval $ac_try) 2>&5
7643  ac_status=$?
7644  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645  (exit $ac_status); }; } &&
7646	 { ac_try='test -s conftest.$ac_objext'
7647  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648  (eval $ac_try) 2>&5
7649  ac_status=$?
7650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651  (exit $ac_status); }; }; then
7652  ac_c99_stdlib=yes
7653else
7654  echo "$as_me: failed program was:" >&5
7655sed 's/^/| /' conftest.$ac_ext >&5
7656
7657ac_c99_stdlib=no
7658fi
7659rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7660
7661fi
7662
7663  echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7664echo "${ECHO_T}$ac_c99_stdlib" >&6
7665
7666  # Check for the existence in <wchar.h> of wcstold, etc.
7667  ac_c99_wchar=no;
7668  if test x"$ac_has_wchar_h" = xyes &&
7669     test x"$ac_has_wctype_h" = xyes; then
7670    echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7671echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7672    cat >conftest.$ac_ext <<_ACEOF
7673/* confdefs.h.  */
7674_ACEOF
7675cat confdefs.h >>conftest.$ac_ext
7676cat >>conftest.$ac_ext <<_ACEOF
7677/* end confdefs.h.  */
7678#include <wchar.h>
7679                    namespace test
7680                    {
7681		      using ::wcstold;
7682		      using ::wcstoll;
7683		      using ::wcstoull;
7684		    }
7685
7686int
7687main ()
7688{
7689
7690  ;
7691  return 0;
7692}
7693_ACEOF
7694rm -f conftest.$ac_objext
7695if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7696  (eval $ac_compile) 2>conftest.er1
7697  ac_status=$?
7698  grep -v '^ *+' conftest.er1 >conftest.err
7699  rm -f conftest.er1
7700  cat conftest.err >&5
7701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702  (exit $ac_status); } &&
7703	 { ac_try='test -z "$ac_cxx_werror_flag"
7704			 || test ! -s conftest.err'
7705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706  (eval $ac_try) 2>&5
7707  ac_status=$?
7708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709  (exit $ac_status); }; } &&
7710	 { ac_try='test -s conftest.$ac_objext'
7711  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712  (eval $ac_try) 2>&5
7713  ac_status=$?
7714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715  (exit $ac_status); }; }; then
7716  ac_c99_wchar=yes
7717else
7718  echo "$as_me: failed program was:" >&5
7719sed 's/^/| /' conftest.$ac_ext >&5
7720
7721ac_c99_wchar=no
7722fi
7723rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7724
7725    # Checks for wide character functions that may not be present.
7726    # Injection of these is wrapped with guard macros.
7727    # NB: only put functions here, instead of immediately above, if
7728    # absolutely necessary.
7729    cat >conftest.$ac_ext <<_ACEOF
7730/* confdefs.h.  */
7731_ACEOF
7732cat confdefs.h >>conftest.$ac_ext
7733cat >>conftest.$ac_ext <<_ACEOF
7734/* end confdefs.h.  */
7735#include <wchar.h>
7736                    namespace test { using ::vfwscanf; }
7737int
7738main ()
7739{
7740
7741  ;
7742  return 0;
7743}
7744_ACEOF
7745rm -f conftest.$ac_objext
7746if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7747  (eval $ac_compile) 2>conftest.er1
7748  ac_status=$?
7749  grep -v '^ *+' conftest.er1 >conftest.err
7750  rm -f conftest.er1
7751  cat conftest.err >&5
7752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753  (exit $ac_status); } &&
7754	 { ac_try='test -z "$ac_cxx_werror_flag"
7755			 || test ! -s conftest.err'
7756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757  (eval $ac_try) 2>&5
7758  ac_status=$?
7759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760  (exit $ac_status); }; } &&
7761	 { ac_try='test -s conftest.$ac_objext'
7762  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763  (eval $ac_try) 2>&5
7764  ac_status=$?
7765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766  (exit $ac_status); }; }; then
7767
7768cat >>confdefs.h <<\_ACEOF
7769#define HAVE_VFWSCANF 1
7770_ACEOF
7771
7772else
7773  echo "$as_me: failed program was:" >&5
7774sed 's/^/| /' conftest.$ac_ext >&5
7775
7776fi
7777rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7778
7779    cat >conftest.$ac_ext <<_ACEOF
7780/* confdefs.h.  */
7781_ACEOF
7782cat confdefs.h >>conftest.$ac_ext
7783cat >>conftest.$ac_ext <<_ACEOF
7784/* end confdefs.h.  */
7785#include <wchar.h>
7786                    namespace test { using ::vswscanf; }
7787int
7788main ()
7789{
7790
7791  ;
7792  return 0;
7793}
7794_ACEOF
7795rm -f conftest.$ac_objext
7796if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7797  (eval $ac_compile) 2>conftest.er1
7798  ac_status=$?
7799  grep -v '^ *+' conftest.er1 >conftest.err
7800  rm -f conftest.er1
7801  cat conftest.err >&5
7802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803  (exit $ac_status); } &&
7804	 { ac_try='test -z "$ac_cxx_werror_flag"
7805			 || test ! -s conftest.err'
7806  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807  (eval $ac_try) 2>&5
7808  ac_status=$?
7809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810  (exit $ac_status); }; } &&
7811	 { ac_try='test -s conftest.$ac_objext'
7812  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7813  (eval $ac_try) 2>&5
7814  ac_status=$?
7815  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816  (exit $ac_status); }; }; then
7817
7818cat >>confdefs.h <<\_ACEOF
7819#define HAVE_VSWSCANF 1
7820_ACEOF
7821
7822else
7823  echo "$as_me: failed program was:" >&5
7824sed 's/^/| /' conftest.$ac_ext >&5
7825
7826fi
7827rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7828
7829    cat >conftest.$ac_ext <<_ACEOF
7830/* confdefs.h.  */
7831_ACEOF
7832cat confdefs.h >>conftest.$ac_ext
7833cat >>conftest.$ac_ext <<_ACEOF
7834/* end confdefs.h.  */
7835#include <wchar.h>
7836                    namespace test { using ::vwscanf; }
7837int
7838main ()
7839{
7840
7841  ;
7842  return 0;
7843}
7844_ACEOF
7845rm -f conftest.$ac_objext
7846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7847  (eval $ac_compile) 2>conftest.er1
7848  ac_status=$?
7849  grep -v '^ *+' conftest.er1 >conftest.err
7850  rm -f conftest.er1
7851  cat conftest.err >&5
7852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853  (exit $ac_status); } &&
7854	 { ac_try='test -z "$ac_cxx_werror_flag"
7855			 || test ! -s conftest.err'
7856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857  (eval $ac_try) 2>&5
7858  ac_status=$?
7859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860  (exit $ac_status); }; } &&
7861	 { ac_try='test -s conftest.$ac_objext'
7862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7863  (eval $ac_try) 2>&5
7864  ac_status=$?
7865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866  (exit $ac_status); }; }; then
7867
7868cat >>confdefs.h <<\_ACEOF
7869#define HAVE_VWSCANF 1
7870_ACEOF
7871
7872else
7873  echo "$as_me: failed program was:" >&5
7874sed 's/^/| /' conftest.$ac_ext >&5
7875
7876fi
7877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7878
7879    cat >conftest.$ac_ext <<_ACEOF
7880/* confdefs.h.  */
7881_ACEOF
7882cat confdefs.h >>conftest.$ac_ext
7883cat >>conftest.$ac_ext <<_ACEOF
7884/* end confdefs.h.  */
7885#include <wchar.h>
7886                    namespace test { using ::wcstof; }
7887int
7888main ()
7889{
7890
7891  ;
7892  return 0;
7893}
7894_ACEOF
7895rm -f conftest.$ac_objext
7896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7897  (eval $ac_compile) 2>conftest.er1
7898  ac_status=$?
7899  grep -v '^ *+' conftest.er1 >conftest.err
7900  rm -f conftest.er1
7901  cat conftest.err >&5
7902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903  (exit $ac_status); } &&
7904	 { ac_try='test -z "$ac_cxx_werror_flag"
7905			 || test ! -s conftest.err'
7906  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907  (eval $ac_try) 2>&5
7908  ac_status=$?
7909  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910  (exit $ac_status); }; } &&
7911	 { ac_try='test -s conftest.$ac_objext'
7912  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913  (eval $ac_try) 2>&5
7914  ac_status=$?
7915  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916  (exit $ac_status); }; }; then
7917
7918cat >>confdefs.h <<\_ACEOF
7919#define HAVE_WCSTOF 1
7920_ACEOF
7921
7922else
7923  echo "$as_me: failed program was:" >&5
7924sed 's/^/| /' conftest.$ac_ext >&5
7925
7926fi
7927rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7928
7929    cat >conftest.$ac_ext <<_ACEOF
7930/* confdefs.h.  */
7931_ACEOF
7932cat confdefs.h >>conftest.$ac_ext
7933cat >>conftest.$ac_ext <<_ACEOF
7934/* end confdefs.h.  */
7935#include <wctype.h>
7936int
7937main ()
7938{
7939 wint_t t; int i = iswblank(t);
7940  ;
7941  return 0;
7942}
7943_ACEOF
7944rm -f conftest.$ac_objext
7945if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7946  (eval $ac_compile) 2>conftest.er1
7947  ac_status=$?
7948  grep -v '^ *+' conftest.er1 >conftest.err
7949  rm -f conftest.er1
7950  cat conftest.err >&5
7951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952  (exit $ac_status); } &&
7953	 { ac_try='test -z "$ac_cxx_werror_flag"
7954			 || test ! -s conftest.err'
7955  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956  (eval $ac_try) 2>&5
7957  ac_status=$?
7958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959  (exit $ac_status); }; } &&
7960	 { ac_try='test -s conftest.$ac_objext'
7961  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962  (eval $ac_try) 2>&5
7963  ac_status=$?
7964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965  (exit $ac_status); }; }; then
7966
7967cat >>confdefs.h <<\_ACEOF
7968#define HAVE_ISWBLANK 1
7969_ACEOF
7970
7971else
7972  echo "$as_me: failed program was:" >&5
7973sed 's/^/| /' conftest.$ac_ext >&5
7974
7975fi
7976rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7977
7978    echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7979echo "${ECHO_T}$ac_c99_wchar" >&6
7980  fi
7981
7982  # Option parsed, now set things appropriately.
7983  if test x"$ac_c99_math" = x"no" ||
7984     test x"$ac_c99_complex" = x"no" ||
7985     test x"$ac_c99_stdio" = x"no" ||
7986     test x"$ac_c99_stdlib" = x"no" ||
7987     test x"$ac_c99_wchar" = x"no"; then
7988    enable_c99=no;
7989  else
7990
7991cat >>confdefs.h <<\_ACEOF
7992#define _GLIBCXX_USE_C99 1
7993_ACEOF
7994
7995  fi
7996
7997  ac_ext=c
7998ac_cpp='$CPP $CPPFLAGS'
7999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8001ac_compiler_gnu=$ac_cv_c_compiler_gnu
8002
8003  fi
8004
8005  echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
8006echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
8007  echo "$as_me:$LINENO: result: $enable_c99" >&5
8008echo "${ECHO_T}$enable_c99" >&6
8009
8010
8011   # Check whether --enable-concept-checks or --disable-concept-checks was given.
8012if test "${enable_concept_checks+set}" = set; then
8013  enableval="$enable_concept_checks"
8014
8015      case "$enableval" in
8016       yes|no) ;;
8017       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
8018echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
8019   { (exit 1); exit 1; }; } ;;
8020      esac
8021
8022else
8023  enable_concept_checks=no
8024fi;
8025
8026  if test $enable_concept_checks = yes; then
8027
8028cat >>confdefs.h <<\_ACEOF
8029#define _GLIBCXX_CONCEPT_CHECKS 1
8030_ACEOF
8031
8032  fi
8033
8034
8035   # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
8036if test "${enable_libstdcxx_debug_flags+set}" = set; then
8037  enableval="$enable_libstdcxx_debug_flags"
8038  case "x$enable_libstdcxx_debug_flags" in
8039      xno | x)    enable_libstdcxx_debug_flags= ;;
8040      x-*)        ;;
8041      *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
8042echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
8043   { (exit 1); exit 1; }; } ;;
8044     esac
8045else
8046  enable_libstdcxx_debug_flags="-g3 -O0"
8047fi;
8048
8049
8050  # Option parsed, now set things appropriately
8051  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
8052
8053
8054  { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
8055echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
8056
8057
8058  echo "$as_me:$LINENO: checking for additional debug build" >&5
8059echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
8060   # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
8061if test "${enable_libstdcxx_debug+set}" = set; then
8062  enableval="$enable_libstdcxx_debug"
8063
8064      case "$enableval" in
8065       yes|no) ;;
8066       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
8067echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
8068   { (exit 1); exit 1; }; } ;;
8069      esac
8070
8071else
8072  enable_libstdcxx_debug=no
8073fi;
8074
8075  echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
8076echo "${ECHO_T}$enable_libstdcxx_debug" >&6
8077
8078
8079  echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
8080echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
8081   # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
8082if test "${enable_cxx_flags+set}" = set; then
8083  enableval="$enable_cxx_flags"
8084  case "x$enable_cxx_flags" in
8085      xno | x)   enable_cxx_flags= ;;
8086      x-*)       ;;
8087      *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
8088echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
8089   { (exit 1); exit 1; }; } ;;
8090     esac
8091else
8092  enable_cxx_flags=
8093fi;
8094
8095
8096  # Run through flags (either default or command-line) and set anything
8097  # extra (e.g., #defines) that must accompany particular g++ options.
8098  if test -n "$enable_cxx_flags"; then
8099    for f in $enable_cxx_flags; do
8100      case "$f" in
8101        -fhonor-std)  ;;
8102        -*)  ;;
8103        *)   # and we're trying to pass /what/ exactly?
8104             { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
8105echo "$as_me: error: compiler flags start with a -" >&2;}
8106   { (exit 1); exit 1; }; } ;;
8107      esac
8108    done
8109  fi
8110
8111  EXTRA_CXX_FLAGS="$enable_cxx_flags"
8112  echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
8113echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
8114
8115
8116
8117   # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
8118if test "${enable_fully_dynamic_string+set}" = set; then
8119  enableval="$enable_fully_dynamic_string"
8120
8121      case "$enableval" in
8122       yes|no) ;;
8123       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
8124echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
8125   { (exit 1); exit 1; }; } ;;
8126      esac
8127
8128else
8129  enable_fully_dynamic_string=no
8130fi;
8131
8132  if test $enable_fully_dynamic_string = yes; then
8133
8134cat >>confdefs.h <<\_ACEOF
8135#define _GLIBCXX_FULLY_DYNAMIC_STRING 1
8136_ACEOF
8137
8138  fi
8139
8140
8141# No surprises, no surprises...
8142
8143  echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8144echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8145  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
8146  echo "$as_me:$LINENO: result: $target_thread_file" >&5
8147echo "${ECHO_T}$target_thread_file" >&6
8148
8149  if test $target_thread_file != single; then
8150
8151cat >>confdefs.h <<\_ACEOF
8152#define HAVE_GTHR_DEFAULT 1
8153_ACEOF
8154
8155  fi
8156
8157  glibcxx_thread_h=gthr-$target_thread_file.h
8158
8159    gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
8160  if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8161    enable_thread=yes
8162  else
8163   enable_thread=no
8164  fi
8165
8166
8167
8168
8169  echo "$as_me:$LINENO: checking for atomic builtins" >&5
8170echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8171
8172
8173  ac_ext=cc
8174ac_cpp='$CXXCPP $CPPFLAGS'
8175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8178
8179
8180  # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
8181    cat > conftest.$ac_ext << EOF
8182#line 8182 "configure"
8183int main()
8184{
8185  // NB: _Atomic_word not necessarily int.
8186  typedef int atomic_type;
8187  atomic_type c1;
8188  atomic_type c2;
8189  const atomic_type c3(0);
8190  if (__sync_fetch_and_add(&c1, c2) == c3)
8191    {
8192      // Do something.
8193    }
8194   return 0;
8195}
8196EOF
8197    old_CXXFLAGS="$CXXFLAGS"
8198    CXXFLAGS=-S
8199    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8200  (eval $ac_compile) 2>&5
8201  ac_status=$?
8202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203  (exit $ac_status); }; then
8204      if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8205        enable_atomic_builtins=no
8206      else
8207
8208cat >>confdefs.h <<\_ACEOF
8209#define _GLIBCXX_ATOMIC_BUILTINS 1
8210_ACEOF
8211
8212        enable_atomic_builtins=yes
8213	atomicity_dir=cpu/generic/atomicity_builtins
8214      fi
8215    fi
8216    CXXFLAGS="$old_CXXFLAGS"
8217    rm -f conftest*
8218
8219   # Now, if still generic, set to mutex.
8220  if test $atomicity_dir = "cpu/generic" ; then
8221	atomicity_dir=cpu/generic/atomicity_mutex
8222  fi
8223 ac_ext=c
8224ac_cpp='$CPP $CPPFLAGS'
8225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8227ac_compiler_gnu=$ac_cv_c_compiler_gnu
8228
8229 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8230echo "${ECHO_T}$enable_atomic_builtins" >&6
8231
8232if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8233  { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8234echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8235  if test $target_thread_file = single; then
8236    { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8237echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8238    { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8239echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8240  else
8241    { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8242echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8243    { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8244echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8245  fi
8246fi
8247
8248
8249  # All these tests are for C++; save the language and the compiler flags.
8250  # The CXXFLAGS thing is suspicious, but based on similar bits previously
8251  # found in GLIBCXX_CONFIGURE.
8252
8253
8254  ac_ext=cc
8255ac_cpp='$CXXCPP $CPPFLAGS'
8256ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8257ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8258ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8259
8260  ac_test_CXXFLAGS="${CXXFLAGS+set}"
8261  ac_save_CXXFLAGS="$CXXFLAGS"
8262
8263  # Check for maintainer-mode bits.
8264  if test x"$USE_MAINTAINER_MODE" = xno; then
8265    WERROR=''
8266  else
8267    WERROR='-Werror'
8268  fi
8269
8270  # Check for -ffunction-sections -fdata-sections
8271  echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8272echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8273  CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8274  cat >conftest.$ac_ext <<_ACEOF
8275/* confdefs.h.  */
8276_ACEOF
8277cat confdefs.h >>conftest.$ac_ext
8278cat >>conftest.$ac_ext <<_ACEOF
8279/* end confdefs.h.  */
8280
8281int
8282main ()
8283{
8284int foo;
8285  ;
8286  return 0;
8287}
8288_ACEOF
8289rm -f conftest.$ac_objext
8290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8291  (eval $ac_compile) 2>conftest.er1
8292  ac_status=$?
8293  grep -v '^ *+' conftest.er1 >conftest.err
8294  rm -f conftest.er1
8295  cat conftest.err >&5
8296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297  (exit $ac_status); } &&
8298	 { ac_try='test -z "$ac_cxx_werror_flag"
8299			 || test ! -s conftest.err'
8300  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301  (eval $ac_try) 2>&5
8302  ac_status=$?
8303  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304  (exit $ac_status); }; } &&
8305	 { ac_try='test -s conftest.$ac_objext'
8306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8307  (eval $ac_try) 2>&5
8308  ac_status=$?
8309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310  (exit $ac_status); }; }; then
8311  ac_fdsections=yes
8312else
8313  echo "$as_me: failed program was:" >&5
8314sed 's/^/| /' conftest.$ac_ext >&5
8315
8316ac_fdsections=no
8317fi
8318rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8319  if test "$ac_test_CXXFLAGS" = set; then
8320    CXXFLAGS="$ac_save_CXXFLAGS"
8321  else
8322    # this is the suspicious part
8323    CXXFLAGS=''
8324  fi
8325  if test x"$ac_fdsections" = x"yes"; then
8326    SECTION_FLAGS='-ffunction-sections -fdata-sections'
8327  fi
8328  echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8329echo "${ECHO_T}$ac_fdsections" >&6
8330
8331  ac_ext=c
8332ac_cpp='$CPP $CPPFLAGS'
8333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8335ac_compiler_gnu=$ac_cv_c_compiler_gnu
8336
8337
8338
8339
8340
8341if $GLIBCXX_IS_NATIVE; then
8342
8343  # We can do more elaborate tests that assume a working linker.
8344  CANADIAN=no
8345
8346  # Check for available headers.
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8363  machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8364  sys/types.h sys/ipc.h sys/sem.h
8365do
8366as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8367if eval "test \"\${$as_ac_Header+set}\" = set"; then
8368  echo "$as_me:$LINENO: checking for $ac_header" >&5
8369echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8370if eval "test \"\${$as_ac_Header+set}\" = set"; then
8371  echo $ECHO_N "(cached) $ECHO_C" >&6
8372fi
8373echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8374echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8375else
8376  # Is the header compilable?
8377echo "$as_me:$LINENO: checking $ac_header usability" >&5
8378echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8379cat >conftest.$ac_ext <<_ACEOF
8380/* confdefs.h.  */
8381_ACEOF
8382cat confdefs.h >>conftest.$ac_ext
8383cat >>conftest.$ac_ext <<_ACEOF
8384/* end confdefs.h.  */
8385$ac_includes_default
8386#include <$ac_header>
8387_ACEOF
8388rm -f conftest.$ac_objext
8389if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390  (eval $ac_compile) 2>conftest.er1
8391  ac_status=$?
8392  grep -v '^ *+' conftest.er1 >conftest.err
8393  rm -f conftest.er1
8394  cat conftest.err >&5
8395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396  (exit $ac_status); } &&
8397	 { ac_try='test -z "$ac_c_werror_flag"
8398			 || test ! -s conftest.err'
8399  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400  (eval $ac_try) 2>&5
8401  ac_status=$?
8402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403  (exit $ac_status); }; } &&
8404	 { ac_try='test -s conftest.$ac_objext'
8405  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406  (eval $ac_try) 2>&5
8407  ac_status=$?
8408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409  (exit $ac_status); }; }; then
8410  ac_header_compiler=yes
8411else
8412  echo "$as_me: failed program was:" >&5
8413sed 's/^/| /' conftest.$ac_ext >&5
8414
8415ac_header_compiler=no
8416fi
8417rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8418echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8419echo "${ECHO_T}$ac_header_compiler" >&6
8420
8421# Is the header present?
8422echo "$as_me:$LINENO: checking $ac_header presence" >&5
8423echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8424cat >conftest.$ac_ext <<_ACEOF
8425/* confdefs.h.  */
8426_ACEOF
8427cat confdefs.h >>conftest.$ac_ext
8428cat >>conftest.$ac_ext <<_ACEOF
8429/* end confdefs.h.  */
8430#include <$ac_header>
8431_ACEOF
8432if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8433  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8434  ac_status=$?
8435  grep -v '^ *+' conftest.er1 >conftest.err
8436  rm -f conftest.er1
8437  cat conftest.err >&5
8438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439  (exit $ac_status); } >/dev/null; then
8440  if test -s conftest.err; then
8441    ac_cpp_err=$ac_c_preproc_warn_flag
8442    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8443  else
8444    ac_cpp_err=
8445  fi
8446else
8447  ac_cpp_err=yes
8448fi
8449if test -z "$ac_cpp_err"; then
8450  ac_header_preproc=yes
8451else
8452  echo "$as_me: failed program was:" >&5
8453sed 's/^/| /' conftest.$ac_ext >&5
8454
8455  ac_header_preproc=no
8456fi
8457rm -f conftest.err conftest.$ac_ext
8458echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8459echo "${ECHO_T}$ac_header_preproc" >&6
8460
8461# So?  What about this header?
8462case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8463  yes:no: )
8464    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8465echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8466    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8467echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8468    ac_header_preproc=yes
8469    ;;
8470  no:yes:* )
8471    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8472echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8473    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8474echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8475    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8476echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8477    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8478echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8479    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8480echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8481    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8482echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8483    (
8484      cat <<\_ASBOX
8485## ----------------------------------------- ##
8486## Report this to the package-unused lists.  ##
8487## ----------------------------------------- ##
8488_ASBOX
8489    ) |
8490      sed "s/^/$as_me: WARNING:     /" >&2
8491    ;;
8492esac
8493echo "$as_me:$LINENO: checking for $ac_header" >&5
8494echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8495if eval "test \"\${$as_ac_Header+set}\" = set"; then
8496  echo $ECHO_N "(cached) $ECHO_C" >&6
8497else
8498  eval "$as_ac_Header=\$ac_header_preproc"
8499fi
8500echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8501echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8502
8503fi
8504if test `eval echo '${'$as_ac_Header'}'` = yes; then
8505  cat >>confdefs.h <<_ACEOF
8506#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8507_ACEOF
8508
8509fi
8510
8511done
8512
8513
8514
8515  # If we're not using GNU ld, then there's no point in even trying these
8516  # tests.  Check for that first.  We should have already tested for gld
8517  # by now (in libtool), but require it now just to be safe...
8518  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8519  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8520
8521
8522
8523  # The name set by libtool depends on the version of libtool.  Shame on us
8524  # for depending on an impl detail, but c'est la vie.  Older versions used
8525  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8526  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8527  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8528  # set (hence we're using an older libtool), then set it.
8529  if test x${with_gnu_ld+set} != xset; then
8530    if test x${ac_cv_prog_gnu_ld+set} != xset; then
8531      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8532      with_gnu_ld=no
8533    else
8534      with_gnu_ld=$ac_cv_prog_gnu_ld
8535    fi
8536  fi
8537
8538  # Start by getting the version number.  I think the libtool test already
8539  # does some of this, but throws away the result.
8540  if test x"$with_gnu_ld" = x"yes"; then
8541    echo "$as_me:$LINENO: checking for ld version" >&5
8542echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8543
8544    ldver=`$LD --version 2>/dev/null | head -1 | \
8545           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
8546
8547    glibcxx_gnu_ld_version=`echo $ldver | \
8548           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8549    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8550echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8551  fi
8552
8553  # Set --gc-sections.
8554  glibcxx_gcsections_min_ld=21602
8555  if test x"$with_gnu_ld" = x"yes" &&
8556	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8557
8558    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
8559    # NB: This flag only works reliably after 2.16.1. Configure tests
8560    # for this are difficult, so hard wire a value that should work.
8561
8562    ac_test_CFLAGS="${CFLAGS+set}"
8563    ac_save_CFLAGS="$CFLAGS"
8564    CFLAGS='-Wl,--gc-sections'
8565
8566    # Check for -Wl,--gc-sections
8567    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8568echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8569    if test x$gcc_no_link = xyes; then
8570  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8571echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8572   { (exit 1); exit 1; }; }
8573fi
8574cat >conftest.$ac_ext <<_ACEOF
8575/* confdefs.h.  */
8576_ACEOF
8577cat confdefs.h >>conftest.$ac_ext
8578cat >>conftest.$ac_ext <<_ACEOF
8579/* end confdefs.h.  */
8580 int one(void) { return 1; }
8581     int two(void) { return 2; }
8582
8583int
8584main ()
8585{
8586 two();
8587  ;
8588  return 0;
8589}
8590_ACEOF
8591rm -f conftest.$ac_objext conftest$ac_exeext
8592if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8593  (eval $ac_link) 2>conftest.er1
8594  ac_status=$?
8595  grep -v '^ *+' conftest.er1 >conftest.err
8596  rm -f conftest.er1
8597  cat conftest.err >&5
8598  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599  (exit $ac_status); } &&
8600	 { ac_try='test -z "$ac_c_werror_flag"
8601			 || test ! -s conftest.err'
8602  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603  (eval $ac_try) 2>&5
8604  ac_status=$?
8605  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606  (exit $ac_status); }; } &&
8607	 { ac_try='test -s conftest$ac_exeext'
8608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609  (eval $ac_try) 2>&5
8610  ac_status=$?
8611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612  (exit $ac_status); }; }; then
8613  ac_gcsections=yes
8614else
8615  echo "$as_me: failed program was:" >&5
8616sed 's/^/| /' conftest.$ac_ext >&5
8617
8618ac_gcsections=no
8619fi
8620rm -f conftest.err conftest.$ac_objext \
8621      conftest$ac_exeext conftest.$ac_ext
8622    if test "$ac_gcsections" = "yes"; then
8623      rm -f conftest.c
8624      touch conftest.c
8625      if $CC -c conftest.c; then
8626	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8627	   grep "Warning: gc-sections option ignored" > /dev/null; then
8628	  ac_gcsections=no
8629	fi
8630      fi
8631      rm -f conftest.c conftest.o conftest
8632    fi
8633    if test "$ac_gcsections" = "yes"; then
8634      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8635    fi
8636    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8637echo "${ECHO_T}$ac_gcsections" >&6
8638
8639    if test "$ac_test_CFLAGS" = set; then
8640      CFLAGS="$ac_save_CFLAGS"
8641    else
8642      # this is the suspicious part
8643      CFLAGS=''
8644    fi
8645  fi
8646
8647  # Set -z,relro.
8648  # Note this is only for shared objects.
8649  ac_ld_relro=no
8650  if test x"$with_gnu_ld" = x"yes"; then
8651    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8652echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8653    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8654    if test -n "$cxx_z_relo"; then
8655      OPT_LDFLAGS="-Wl,-z,relro"
8656      ac_ld_relro=yes
8657    fi
8658    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8659echo "${ECHO_T}$ac_ld_relro" >&6
8660  fi
8661
8662  # Set linker optimization flags.
8663  if test x"$with_gnu_ld" = x"yes"; then
8664    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8665  fi
8666
8667
8668
8669
8670
8671  ac_test_CXXFLAGS="${CXXFLAGS+set}"
8672  ac_save_CXXFLAGS="$CXXFLAGS"
8673  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8674
8675    echo "$as_me:$LINENO: checking for sin in -lm" >&5
8676echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8677if test "${ac_cv_lib_m_sin+set}" = set; then
8678  echo $ECHO_N "(cached) $ECHO_C" >&6
8679else
8680  ac_check_lib_save_LIBS=$LIBS
8681LIBS="-lm  $LIBS"
8682if test x$gcc_no_link = xyes; then
8683  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8684echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8685   { (exit 1); exit 1; }; }
8686fi
8687cat >conftest.$ac_ext <<_ACEOF
8688/* confdefs.h.  */
8689_ACEOF
8690cat confdefs.h >>conftest.$ac_ext
8691cat >>conftest.$ac_ext <<_ACEOF
8692/* end confdefs.h.  */
8693
8694/* Override any gcc2 internal prototype to avoid an error.  */
8695#ifdef __cplusplus
8696extern "C"
8697#endif
8698/* We use char because int might match the return type of a gcc2
8699   builtin and then its argument prototype would still apply.  */
8700char sin ();
8701int
8702main ()
8703{
8704sin ();
8705  ;
8706  return 0;
8707}
8708_ACEOF
8709rm -f conftest.$ac_objext conftest$ac_exeext
8710if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711  (eval $ac_link) 2>conftest.er1
8712  ac_status=$?
8713  grep -v '^ *+' conftest.er1 >conftest.err
8714  rm -f conftest.er1
8715  cat conftest.err >&5
8716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717  (exit $ac_status); } &&
8718	 { ac_try='test -z "$ac_c_werror_flag"
8719			 || test ! -s conftest.err'
8720  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721  (eval $ac_try) 2>&5
8722  ac_status=$?
8723  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724  (exit $ac_status); }; } &&
8725	 { ac_try='test -s conftest$ac_exeext'
8726  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727  (eval $ac_try) 2>&5
8728  ac_status=$?
8729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730  (exit $ac_status); }; }; then
8731  ac_cv_lib_m_sin=yes
8732else
8733  echo "$as_me: failed program was:" >&5
8734sed 's/^/| /' conftest.$ac_ext >&5
8735
8736ac_cv_lib_m_sin=no
8737fi
8738rm -f conftest.err conftest.$ac_objext \
8739      conftest$ac_exeext conftest.$ac_ext
8740LIBS=$ac_check_lib_save_LIBS
8741fi
8742echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8743echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8744if test $ac_cv_lib_m_sin = yes; then
8745  libm="-lm"
8746fi
8747
8748  ac_save_LIBS="$LIBS"
8749  LIBS="$LIBS $libm"
8750
8751
8752
8753  echo "$as_me:$LINENO: checking for isinf declaration" >&5
8754echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8755  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8756    if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8757  echo $ECHO_N "(cached) $ECHO_C" >&6
8758else
8759
8760
8761
8762      ac_ext=cc
8763ac_cpp='$CXXCPP $CPPFLAGS'
8764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8767
8768      cat >conftest.$ac_ext <<_ACEOF
8769/* confdefs.h.  */
8770_ACEOF
8771cat confdefs.h >>conftest.$ac_ext
8772cat >>conftest.$ac_ext <<_ACEOF
8773/* end confdefs.h.  */
8774#include <math.h>
8775		      #ifdef HAVE_IEEEFP_H
8776		      #include <ieeefp.h>
8777		      #endif
8778
8779int
8780main ()
8781{
8782 isinf(0);
8783  ;
8784  return 0;
8785}
8786_ACEOF
8787rm -f conftest.$ac_objext
8788if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8789  (eval $ac_compile) 2>conftest.er1
8790  ac_status=$?
8791  grep -v '^ *+' conftest.er1 >conftest.err
8792  rm -f conftest.er1
8793  cat conftest.err >&5
8794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795  (exit $ac_status); } &&
8796	 { ac_try='test -z "$ac_cxx_werror_flag"
8797			 || test ! -s conftest.err'
8798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799  (eval $ac_try) 2>&5
8800  ac_status=$?
8801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802  (exit $ac_status); }; } &&
8803	 { ac_try='test -s conftest.$ac_objext'
8804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805  (eval $ac_try) 2>&5
8806  ac_status=$?
8807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808  (exit $ac_status); }; }; then
8809  glibcxx_cv_func_isinf_use=yes
8810else
8811  echo "$as_me: failed program was:" >&5
8812sed 's/^/| /' conftest.$ac_ext >&5
8813
8814glibcxx_cv_func_isinf_use=no
8815fi
8816rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8817      ac_ext=c
8818ac_cpp='$CPP $CPPFLAGS'
8819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8821ac_compiler_gnu=$ac_cv_c_compiler_gnu
8822
8823
8824fi
8825
8826  fi
8827  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8828echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8829
8830  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8831
8832for ac_func in isinf
8833do
8834as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8835echo "$as_me:$LINENO: checking for $ac_func" >&5
8836echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8837if eval "test \"\${$as_ac_var+set}\" = set"; then
8838  echo $ECHO_N "(cached) $ECHO_C" >&6
8839else
8840  if test x$gcc_no_link = xyes; then
8841  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8842echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8843   { (exit 1); exit 1; }; }
8844fi
8845cat >conftest.$ac_ext <<_ACEOF
8846/* confdefs.h.  */
8847_ACEOF
8848cat confdefs.h >>conftest.$ac_ext
8849cat >>conftest.$ac_ext <<_ACEOF
8850/* end confdefs.h.  */
8851/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8852   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8853#define $ac_func innocuous_$ac_func
8854
8855/* System header to define __stub macros and hopefully few prototypes,
8856    which can conflict with char $ac_func (); below.
8857    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858    <limits.h> exists even on freestanding compilers.  */
8859
8860#ifdef __STDC__
8861# include <limits.h>
8862#else
8863# include <assert.h>
8864#endif
8865
8866#undef $ac_func
8867
8868/* Override any gcc2 internal prototype to avoid an error.  */
8869#ifdef __cplusplus
8870extern "C"
8871{
8872#endif
8873/* We use char because int might match the return type of a gcc2
8874   builtin and then its argument prototype would still apply.  */
8875char $ac_func ();
8876/* The GNU C library defines this for functions which it implements
8877    to always fail with ENOSYS.  Some functions are actually named
8878    something starting with __ and the normal name is an alias.  */
8879#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880choke me
8881#else
8882char (*f) () = $ac_func;
8883#endif
8884#ifdef __cplusplus
8885}
8886#endif
8887
8888int
8889main ()
8890{
8891return f != $ac_func;
8892  ;
8893  return 0;
8894}
8895_ACEOF
8896rm -f conftest.$ac_objext conftest$ac_exeext
8897if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898  (eval $ac_link) 2>conftest.er1
8899  ac_status=$?
8900  grep -v '^ *+' conftest.er1 >conftest.err
8901  rm -f conftest.er1
8902  cat conftest.err >&5
8903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904  (exit $ac_status); } &&
8905	 { ac_try='test -z "$ac_c_werror_flag"
8906			 || test ! -s conftest.err'
8907  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908  (eval $ac_try) 2>&5
8909  ac_status=$?
8910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911  (exit $ac_status); }; } &&
8912	 { ac_try='test -s conftest$ac_exeext'
8913  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914  (eval $ac_try) 2>&5
8915  ac_status=$?
8916  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917  (exit $ac_status); }; }; then
8918  eval "$as_ac_var=yes"
8919else
8920  echo "$as_me: failed program was:" >&5
8921sed 's/^/| /' conftest.$ac_ext >&5
8922
8923eval "$as_ac_var=no"
8924fi
8925rm -f conftest.err conftest.$ac_objext \
8926      conftest$ac_exeext conftest.$ac_ext
8927fi
8928echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8929echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8930if test `eval echo '${'$as_ac_var'}'` = yes; then
8931  cat >>confdefs.h <<_ACEOF
8932#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8933_ACEOF
8934
8935fi
8936done
8937
8938  else
8939
8940  echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8941echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8942  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8943    if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8944  echo $ECHO_N "(cached) $ECHO_C" >&6
8945else
8946
8947
8948
8949      ac_ext=cc
8950ac_cpp='$CXXCPP $CPPFLAGS'
8951ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8954
8955      cat >conftest.$ac_ext <<_ACEOF
8956/* confdefs.h.  */
8957_ACEOF
8958cat confdefs.h >>conftest.$ac_ext
8959cat >>conftest.$ac_ext <<_ACEOF
8960/* end confdefs.h.  */
8961#include <math.h>
8962		      #ifdef HAVE_IEEEFP_H
8963		      #include <ieeefp.h>
8964		      #endif
8965
8966int
8967main ()
8968{
8969 _isinf(0);
8970  ;
8971  return 0;
8972}
8973_ACEOF
8974rm -f conftest.$ac_objext
8975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8976  (eval $ac_compile) 2>conftest.er1
8977  ac_status=$?
8978  grep -v '^ *+' conftest.er1 >conftest.err
8979  rm -f conftest.er1
8980  cat conftest.err >&5
8981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982  (exit $ac_status); } &&
8983	 { ac_try='test -z "$ac_cxx_werror_flag"
8984			 || test ! -s conftest.err'
8985  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986  (eval $ac_try) 2>&5
8987  ac_status=$?
8988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989  (exit $ac_status); }; } &&
8990	 { ac_try='test -s conftest.$ac_objext'
8991  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992  (eval $ac_try) 2>&5
8993  ac_status=$?
8994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995  (exit $ac_status); }; }; then
8996  glibcxx_cv_func__isinf_use=yes
8997else
8998  echo "$as_me: failed program was:" >&5
8999sed 's/^/| /' conftest.$ac_ext >&5
9000
9001glibcxx_cv_func__isinf_use=no
9002fi
9003rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9004      ac_ext=c
9005ac_cpp='$CPP $CPPFLAGS'
9006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008ac_compiler_gnu=$ac_cv_c_compiler_gnu
9009
9010
9011fi
9012
9013  fi
9014  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
9015echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
9016
9017    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
9018
9019for ac_func in _isinf
9020do
9021as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9022echo "$as_me:$LINENO: checking for $ac_func" >&5
9023echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9024if eval "test \"\${$as_ac_var+set}\" = set"; then
9025  echo $ECHO_N "(cached) $ECHO_C" >&6
9026else
9027  if test x$gcc_no_link = xyes; then
9028  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9029echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9030   { (exit 1); exit 1; }; }
9031fi
9032cat >conftest.$ac_ext <<_ACEOF
9033/* confdefs.h.  */
9034_ACEOF
9035cat confdefs.h >>conftest.$ac_ext
9036cat >>conftest.$ac_ext <<_ACEOF
9037/* end confdefs.h.  */
9038/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9039   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9040#define $ac_func innocuous_$ac_func
9041
9042/* System header to define __stub macros and hopefully few prototypes,
9043    which can conflict with char $ac_func (); below.
9044    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9045    <limits.h> exists even on freestanding compilers.  */
9046
9047#ifdef __STDC__
9048# include <limits.h>
9049#else
9050# include <assert.h>
9051#endif
9052
9053#undef $ac_func
9054
9055/* Override any gcc2 internal prototype to avoid an error.  */
9056#ifdef __cplusplus
9057extern "C"
9058{
9059#endif
9060/* We use char because int might match the return type of a gcc2
9061   builtin and then its argument prototype would still apply.  */
9062char $ac_func ();
9063/* The GNU C library defines this for functions which it implements
9064    to always fail with ENOSYS.  Some functions are actually named
9065    something starting with __ and the normal name is an alias.  */
9066#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9067choke me
9068#else
9069char (*f) () = $ac_func;
9070#endif
9071#ifdef __cplusplus
9072}
9073#endif
9074
9075int
9076main ()
9077{
9078return f != $ac_func;
9079  ;
9080  return 0;
9081}
9082_ACEOF
9083rm -f conftest.$ac_objext conftest$ac_exeext
9084if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9085  (eval $ac_link) 2>conftest.er1
9086  ac_status=$?
9087  grep -v '^ *+' conftest.er1 >conftest.err
9088  rm -f conftest.er1
9089  cat conftest.err >&5
9090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091  (exit $ac_status); } &&
9092	 { ac_try='test -z "$ac_c_werror_flag"
9093			 || test ! -s conftest.err'
9094  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095  (eval $ac_try) 2>&5
9096  ac_status=$?
9097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098  (exit $ac_status); }; } &&
9099	 { ac_try='test -s conftest$ac_exeext'
9100  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101  (eval $ac_try) 2>&5
9102  ac_status=$?
9103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104  (exit $ac_status); }; }; then
9105  eval "$as_ac_var=yes"
9106else
9107  echo "$as_me: failed program was:" >&5
9108sed 's/^/| /' conftest.$ac_ext >&5
9109
9110eval "$as_ac_var=no"
9111fi
9112rm -f conftest.err conftest.$ac_objext \
9113      conftest$ac_exeext conftest.$ac_ext
9114fi
9115echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9116echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9117if test `eval echo '${'$as_ac_var'}'` = yes; then
9118  cat >>confdefs.h <<_ACEOF
9119#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9120_ACEOF
9121
9122fi
9123done
9124
9125    fi
9126  fi
9127
9128
9129
9130
9131
9132
9133  echo "$as_me:$LINENO: checking for isnan declaration" >&5
9134echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
9135  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
9136    if test "${glibcxx_cv_func_isnan_use+set}" = set; then
9137  echo $ECHO_N "(cached) $ECHO_C" >&6
9138else
9139
9140
9141
9142      ac_ext=cc
9143ac_cpp='$CXXCPP $CPPFLAGS'
9144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9147
9148      cat >conftest.$ac_ext <<_ACEOF
9149/* confdefs.h.  */
9150_ACEOF
9151cat confdefs.h >>conftest.$ac_ext
9152cat >>conftest.$ac_ext <<_ACEOF
9153/* end confdefs.h.  */
9154#include <math.h>
9155		      #ifdef HAVE_IEEEFP_H
9156		      #include <ieeefp.h>
9157		      #endif
9158
9159int
9160main ()
9161{
9162 isnan(0);
9163  ;
9164  return 0;
9165}
9166_ACEOF
9167rm -f conftest.$ac_objext
9168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9169  (eval $ac_compile) 2>conftest.er1
9170  ac_status=$?
9171  grep -v '^ *+' conftest.er1 >conftest.err
9172  rm -f conftest.er1
9173  cat conftest.err >&5
9174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175  (exit $ac_status); } &&
9176	 { ac_try='test -z "$ac_cxx_werror_flag"
9177			 || test ! -s conftest.err'
9178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179  (eval $ac_try) 2>&5
9180  ac_status=$?
9181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182  (exit $ac_status); }; } &&
9183	 { ac_try='test -s conftest.$ac_objext'
9184  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185  (eval $ac_try) 2>&5
9186  ac_status=$?
9187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188  (exit $ac_status); }; }; then
9189  glibcxx_cv_func_isnan_use=yes
9190else
9191  echo "$as_me: failed program was:" >&5
9192sed 's/^/| /' conftest.$ac_ext >&5
9193
9194glibcxx_cv_func_isnan_use=no
9195fi
9196rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9197      ac_ext=c
9198ac_cpp='$CPP $CPPFLAGS'
9199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9201ac_compiler_gnu=$ac_cv_c_compiler_gnu
9202
9203
9204fi
9205
9206  fi
9207  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9208echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9209
9210  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9211
9212for ac_func in isnan
9213do
9214as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9215echo "$as_me:$LINENO: checking for $ac_func" >&5
9216echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9217if eval "test \"\${$as_ac_var+set}\" = set"; then
9218  echo $ECHO_N "(cached) $ECHO_C" >&6
9219else
9220  if test x$gcc_no_link = xyes; then
9221  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9222echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9223   { (exit 1); exit 1; }; }
9224fi
9225cat >conftest.$ac_ext <<_ACEOF
9226/* confdefs.h.  */
9227_ACEOF
9228cat confdefs.h >>conftest.$ac_ext
9229cat >>conftest.$ac_ext <<_ACEOF
9230/* end confdefs.h.  */
9231/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9232   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9233#define $ac_func innocuous_$ac_func
9234
9235/* System header to define __stub macros and hopefully few prototypes,
9236    which can conflict with char $ac_func (); below.
9237    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9238    <limits.h> exists even on freestanding compilers.  */
9239
9240#ifdef __STDC__
9241# include <limits.h>
9242#else
9243# include <assert.h>
9244#endif
9245
9246#undef $ac_func
9247
9248/* Override any gcc2 internal prototype to avoid an error.  */
9249#ifdef __cplusplus
9250extern "C"
9251{
9252#endif
9253/* We use char because int might match the return type of a gcc2
9254   builtin and then its argument prototype would still apply.  */
9255char $ac_func ();
9256/* The GNU C library defines this for functions which it implements
9257    to always fail with ENOSYS.  Some functions are actually named
9258    something starting with __ and the normal name is an alias.  */
9259#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9260choke me
9261#else
9262char (*f) () = $ac_func;
9263#endif
9264#ifdef __cplusplus
9265}
9266#endif
9267
9268int
9269main ()
9270{
9271return f != $ac_func;
9272  ;
9273  return 0;
9274}
9275_ACEOF
9276rm -f conftest.$ac_objext conftest$ac_exeext
9277if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9278  (eval $ac_link) 2>conftest.er1
9279  ac_status=$?
9280  grep -v '^ *+' conftest.er1 >conftest.err
9281  rm -f conftest.er1
9282  cat conftest.err >&5
9283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284  (exit $ac_status); } &&
9285	 { ac_try='test -z "$ac_c_werror_flag"
9286			 || test ! -s conftest.err'
9287  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288  (eval $ac_try) 2>&5
9289  ac_status=$?
9290  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291  (exit $ac_status); }; } &&
9292	 { ac_try='test -s conftest$ac_exeext'
9293  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294  (eval $ac_try) 2>&5
9295  ac_status=$?
9296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297  (exit $ac_status); }; }; then
9298  eval "$as_ac_var=yes"
9299else
9300  echo "$as_me: failed program was:" >&5
9301sed 's/^/| /' conftest.$ac_ext >&5
9302
9303eval "$as_ac_var=no"
9304fi
9305rm -f conftest.err conftest.$ac_objext \
9306      conftest$ac_exeext conftest.$ac_ext
9307fi
9308echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9309echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9310if test `eval echo '${'$as_ac_var'}'` = yes; then
9311  cat >>confdefs.h <<_ACEOF
9312#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9313_ACEOF
9314
9315fi
9316done
9317
9318  else
9319
9320  echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9321echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9322  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9323    if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9324  echo $ECHO_N "(cached) $ECHO_C" >&6
9325else
9326
9327
9328
9329      ac_ext=cc
9330ac_cpp='$CXXCPP $CPPFLAGS'
9331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9334
9335      cat >conftest.$ac_ext <<_ACEOF
9336/* confdefs.h.  */
9337_ACEOF
9338cat confdefs.h >>conftest.$ac_ext
9339cat >>conftest.$ac_ext <<_ACEOF
9340/* end confdefs.h.  */
9341#include <math.h>
9342		      #ifdef HAVE_IEEEFP_H
9343		      #include <ieeefp.h>
9344		      #endif
9345
9346int
9347main ()
9348{
9349 _isnan(0);
9350  ;
9351  return 0;
9352}
9353_ACEOF
9354rm -f conftest.$ac_objext
9355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9356  (eval $ac_compile) 2>conftest.er1
9357  ac_status=$?
9358  grep -v '^ *+' conftest.er1 >conftest.err
9359  rm -f conftest.er1
9360  cat conftest.err >&5
9361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362  (exit $ac_status); } &&
9363	 { ac_try='test -z "$ac_cxx_werror_flag"
9364			 || test ! -s conftest.err'
9365  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366  (eval $ac_try) 2>&5
9367  ac_status=$?
9368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369  (exit $ac_status); }; } &&
9370	 { ac_try='test -s conftest.$ac_objext'
9371  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372  (eval $ac_try) 2>&5
9373  ac_status=$?
9374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375  (exit $ac_status); }; }; then
9376  glibcxx_cv_func__isnan_use=yes
9377else
9378  echo "$as_me: failed program was:" >&5
9379sed 's/^/| /' conftest.$ac_ext >&5
9380
9381glibcxx_cv_func__isnan_use=no
9382fi
9383rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9384      ac_ext=c
9385ac_cpp='$CPP $CPPFLAGS'
9386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388ac_compiler_gnu=$ac_cv_c_compiler_gnu
9389
9390
9391fi
9392
9393  fi
9394  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9395echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9396
9397    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9398
9399for ac_func in _isnan
9400do
9401as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9402echo "$as_me:$LINENO: checking for $ac_func" >&5
9403echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9404if eval "test \"\${$as_ac_var+set}\" = set"; then
9405  echo $ECHO_N "(cached) $ECHO_C" >&6
9406else
9407  if test x$gcc_no_link = xyes; then
9408  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9409echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9410   { (exit 1); exit 1; }; }
9411fi
9412cat >conftest.$ac_ext <<_ACEOF
9413/* confdefs.h.  */
9414_ACEOF
9415cat confdefs.h >>conftest.$ac_ext
9416cat >>conftest.$ac_ext <<_ACEOF
9417/* end confdefs.h.  */
9418/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9419   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9420#define $ac_func innocuous_$ac_func
9421
9422/* System header to define __stub macros and hopefully few prototypes,
9423    which can conflict with char $ac_func (); below.
9424    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9425    <limits.h> exists even on freestanding compilers.  */
9426
9427#ifdef __STDC__
9428# include <limits.h>
9429#else
9430# include <assert.h>
9431#endif
9432
9433#undef $ac_func
9434
9435/* Override any gcc2 internal prototype to avoid an error.  */
9436#ifdef __cplusplus
9437extern "C"
9438{
9439#endif
9440/* We use char because int might match the return type of a gcc2
9441   builtin and then its argument prototype would still apply.  */
9442char $ac_func ();
9443/* The GNU C library defines this for functions which it implements
9444    to always fail with ENOSYS.  Some functions are actually named
9445    something starting with __ and the normal name is an alias.  */
9446#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9447choke me
9448#else
9449char (*f) () = $ac_func;
9450#endif
9451#ifdef __cplusplus
9452}
9453#endif
9454
9455int
9456main ()
9457{
9458return f != $ac_func;
9459  ;
9460  return 0;
9461}
9462_ACEOF
9463rm -f conftest.$ac_objext conftest$ac_exeext
9464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9465  (eval $ac_link) 2>conftest.er1
9466  ac_status=$?
9467  grep -v '^ *+' conftest.er1 >conftest.err
9468  rm -f conftest.er1
9469  cat conftest.err >&5
9470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471  (exit $ac_status); } &&
9472	 { ac_try='test -z "$ac_c_werror_flag"
9473			 || test ! -s conftest.err'
9474  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475  (eval $ac_try) 2>&5
9476  ac_status=$?
9477  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478  (exit $ac_status); }; } &&
9479	 { ac_try='test -s conftest$ac_exeext'
9480  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481  (eval $ac_try) 2>&5
9482  ac_status=$?
9483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484  (exit $ac_status); }; }; then
9485  eval "$as_ac_var=yes"
9486else
9487  echo "$as_me: failed program was:" >&5
9488sed 's/^/| /' conftest.$ac_ext >&5
9489
9490eval "$as_ac_var=no"
9491fi
9492rm -f conftest.err conftest.$ac_objext \
9493      conftest$ac_exeext conftest.$ac_ext
9494fi
9495echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9496echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9497if test `eval echo '${'$as_ac_var'}'` = yes; then
9498  cat >>confdefs.h <<_ACEOF
9499#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9500_ACEOF
9501
9502fi
9503done
9504
9505    fi
9506  fi
9507
9508
9509
9510
9511
9512
9513  echo "$as_me:$LINENO: checking for finite declaration" >&5
9514echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9515  if test x${glibcxx_cv_func_finite_use+set} != xset; then
9516    if test "${glibcxx_cv_func_finite_use+set}" = set; then
9517  echo $ECHO_N "(cached) $ECHO_C" >&6
9518else
9519
9520
9521
9522      ac_ext=cc
9523ac_cpp='$CXXCPP $CPPFLAGS'
9524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9527
9528      cat >conftest.$ac_ext <<_ACEOF
9529/* confdefs.h.  */
9530_ACEOF
9531cat confdefs.h >>conftest.$ac_ext
9532cat >>conftest.$ac_ext <<_ACEOF
9533/* end confdefs.h.  */
9534#include <math.h>
9535		      #ifdef HAVE_IEEEFP_H
9536		      #include <ieeefp.h>
9537		      #endif
9538
9539int
9540main ()
9541{
9542 finite(0);
9543  ;
9544  return 0;
9545}
9546_ACEOF
9547rm -f conftest.$ac_objext
9548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9549  (eval $ac_compile) 2>conftest.er1
9550  ac_status=$?
9551  grep -v '^ *+' conftest.er1 >conftest.err
9552  rm -f conftest.er1
9553  cat conftest.err >&5
9554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555  (exit $ac_status); } &&
9556	 { ac_try='test -z "$ac_cxx_werror_flag"
9557			 || test ! -s conftest.err'
9558  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9559  (eval $ac_try) 2>&5
9560  ac_status=$?
9561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562  (exit $ac_status); }; } &&
9563	 { ac_try='test -s conftest.$ac_objext'
9564  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9565  (eval $ac_try) 2>&5
9566  ac_status=$?
9567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568  (exit $ac_status); }; }; then
9569  glibcxx_cv_func_finite_use=yes
9570else
9571  echo "$as_me: failed program was:" >&5
9572sed 's/^/| /' conftest.$ac_ext >&5
9573
9574glibcxx_cv_func_finite_use=no
9575fi
9576rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9577      ac_ext=c
9578ac_cpp='$CPP $CPPFLAGS'
9579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581ac_compiler_gnu=$ac_cv_c_compiler_gnu
9582
9583
9584fi
9585
9586  fi
9587  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9588echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9589
9590  if test x$glibcxx_cv_func_finite_use = x"yes"; then
9591
9592for ac_func in finite
9593do
9594as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9595echo "$as_me:$LINENO: checking for $ac_func" >&5
9596echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9597if eval "test \"\${$as_ac_var+set}\" = set"; then
9598  echo $ECHO_N "(cached) $ECHO_C" >&6
9599else
9600  if test x$gcc_no_link = xyes; then
9601  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9602echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9603   { (exit 1); exit 1; }; }
9604fi
9605cat >conftest.$ac_ext <<_ACEOF
9606/* confdefs.h.  */
9607_ACEOF
9608cat confdefs.h >>conftest.$ac_ext
9609cat >>conftest.$ac_ext <<_ACEOF
9610/* end confdefs.h.  */
9611/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9612   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9613#define $ac_func innocuous_$ac_func
9614
9615/* System header to define __stub macros and hopefully few prototypes,
9616    which can conflict with char $ac_func (); below.
9617    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9618    <limits.h> exists even on freestanding compilers.  */
9619
9620#ifdef __STDC__
9621# include <limits.h>
9622#else
9623# include <assert.h>
9624#endif
9625
9626#undef $ac_func
9627
9628/* Override any gcc2 internal prototype to avoid an error.  */
9629#ifdef __cplusplus
9630extern "C"
9631{
9632#endif
9633/* We use char because int might match the return type of a gcc2
9634   builtin and then its argument prototype would still apply.  */
9635char $ac_func ();
9636/* The GNU C library defines this for functions which it implements
9637    to always fail with ENOSYS.  Some functions are actually named
9638    something starting with __ and the normal name is an alias.  */
9639#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9640choke me
9641#else
9642char (*f) () = $ac_func;
9643#endif
9644#ifdef __cplusplus
9645}
9646#endif
9647
9648int
9649main ()
9650{
9651return f != $ac_func;
9652  ;
9653  return 0;
9654}
9655_ACEOF
9656rm -f conftest.$ac_objext conftest$ac_exeext
9657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9658  (eval $ac_link) 2>conftest.er1
9659  ac_status=$?
9660  grep -v '^ *+' conftest.er1 >conftest.err
9661  rm -f conftest.er1
9662  cat conftest.err >&5
9663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664  (exit $ac_status); } &&
9665	 { ac_try='test -z "$ac_c_werror_flag"
9666			 || test ! -s conftest.err'
9667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668  (eval $ac_try) 2>&5
9669  ac_status=$?
9670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671  (exit $ac_status); }; } &&
9672	 { ac_try='test -s conftest$ac_exeext'
9673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9674  (eval $ac_try) 2>&5
9675  ac_status=$?
9676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677  (exit $ac_status); }; }; then
9678  eval "$as_ac_var=yes"
9679else
9680  echo "$as_me: failed program was:" >&5
9681sed 's/^/| /' conftest.$ac_ext >&5
9682
9683eval "$as_ac_var=no"
9684fi
9685rm -f conftest.err conftest.$ac_objext \
9686      conftest$ac_exeext conftest.$ac_ext
9687fi
9688echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9689echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9690if test `eval echo '${'$as_ac_var'}'` = yes; then
9691  cat >>confdefs.h <<_ACEOF
9692#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9693_ACEOF
9694
9695fi
9696done
9697
9698  else
9699
9700  echo "$as_me:$LINENO: checking for _finite declaration" >&5
9701echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9702  if test x${glibcxx_cv_func__finite_use+set} != xset; then
9703    if test "${glibcxx_cv_func__finite_use+set}" = set; then
9704  echo $ECHO_N "(cached) $ECHO_C" >&6
9705else
9706
9707
9708
9709      ac_ext=cc
9710ac_cpp='$CXXCPP $CPPFLAGS'
9711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9714
9715      cat >conftest.$ac_ext <<_ACEOF
9716/* confdefs.h.  */
9717_ACEOF
9718cat confdefs.h >>conftest.$ac_ext
9719cat >>conftest.$ac_ext <<_ACEOF
9720/* end confdefs.h.  */
9721#include <math.h>
9722		      #ifdef HAVE_IEEEFP_H
9723		      #include <ieeefp.h>
9724		      #endif
9725
9726int
9727main ()
9728{
9729 _finite(0);
9730  ;
9731  return 0;
9732}
9733_ACEOF
9734rm -f conftest.$ac_objext
9735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9736  (eval $ac_compile) 2>conftest.er1
9737  ac_status=$?
9738  grep -v '^ *+' conftest.er1 >conftest.err
9739  rm -f conftest.er1
9740  cat conftest.err >&5
9741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742  (exit $ac_status); } &&
9743	 { ac_try='test -z "$ac_cxx_werror_flag"
9744			 || test ! -s conftest.err'
9745  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746  (eval $ac_try) 2>&5
9747  ac_status=$?
9748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749  (exit $ac_status); }; } &&
9750	 { ac_try='test -s conftest.$ac_objext'
9751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9752  (eval $ac_try) 2>&5
9753  ac_status=$?
9754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755  (exit $ac_status); }; }; then
9756  glibcxx_cv_func__finite_use=yes
9757else
9758  echo "$as_me: failed program was:" >&5
9759sed 's/^/| /' conftest.$ac_ext >&5
9760
9761glibcxx_cv_func__finite_use=no
9762fi
9763rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9764      ac_ext=c
9765ac_cpp='$CPP $CPPFLAGS'
9766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9768ac_compiler_gnu=$ac_cv_c_compiler_gnu
9769
9770
9771fi
9772
9773  fi
9774  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9775echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9776
9777    if test x$glibcxx_cv_func__finite_use = x"yes"; then
9778
9779for ac_func in _finite
9780do
9781as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9782echo "$as_me:$LINENO: checking for $ac_func" >&5
9783echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9784if eval "test \"\${$as_ac_var+set}\" = set"; then
9785  echo $ECHO_N "(cached) $ECHO_C" >&6
9786else
9787  if test x$gcc_no_link = xyes; then
9788  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9789echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9790   { (exit 1); exit 1; }; }
9791fi
9792cat >conftest.$ac_ext <<_ACEOF
9793/* confdefs.h.  */
9794_ACEOF
9795cat confdefs.h >>conftest.$ac_ext
9796cat >>conftest.$ac_ext <<_ACEOF
9797/* end confdefs.h.  */
9798/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9799   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9800#define $ac_func innocuous_$ac_func
9801
9802/* System header to define __stub macros and hopefully few prototypes,
9803    which can conflict with char $ac_func (); below.
9804    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9805    <limits.h> exists even on freestanding compilers.  */
9806
9807#ifdef __STDC__
9808# include <limits.h>
9809#else
9810# include <assert.h>
9811#endif
9812
9813#undef $ac_func
9814
9815/* Override any gcc2 internal prototype to avoid an error.  */
9816#ifdef __cplusplus
9817extern "C"
9818{
9819#endif
9820/* We use char because int might match the return type of a gcc2
9821   builtin and then its argument prototype would still apply.  */
9822char $ac_func ();
9823/* The GNU C library defines this for functions which it implements
9824    to always fail with ENOSYS.  Some functions are actually named
9825    something starting with __ and the normal name is an alias.  */
9826#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9827choke me
9828#else
9829char (*f) () = $ac_func;
9830#endif
9831#ifdef __cplusplus
9832}
9833#endif
9834
9835int
9836main ()
9837{
9838return f != $ac_func;
9839  ;
9840  return 0;
9841}
9842_ACEOF
9843rm -f conftest.$ac_objext conftest$ac_exeext
9844if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9845  (eval $ac_link) 2>conftest.er1
9846  ac_status=$?
9847  grep -v '^ *+' conftest.er1 >conftest.err
9848  rm -f conftest.er1
9849  cat conftest.err >&5
9850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851  (exit $ac_status); } &&
9852	 { ac_try='test -z "$ac_c_werror_flag"
9853			 || test ! -s conftest.err'
9854  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855  (eval $ac_try) 2>&5
9856  ac_status=$?
9857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858  (exit $ac_status); }; } &&
9859	 { ac_try='test -s conftest$ac_exeext'
9860  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861  (eval $ac_try) 2>&5
9862  ac_status=$?
9863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864  (exit $ac_status); }; }; then
9865  eval "$as_ac_var=yes"
9866else
9867  echo "$as_me: failed program was:" >&5
9868sed 's/^/| /' conftest.$ac_ext >&5
9869
9870eval "$as_ac_var=no"
9871fi
9872rm -f conftest.err conftest.$ac_objext \
9873      conftest$ac_exeext conftest.$ac_ext
9874fi
9875echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9876echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9877if test `eval echo '${'$as_ac_var'}'` = yes; then
9878  cat >>confdefs.h <<_ACEOF
9879#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9880_ACEOF
9881
9882fi
9883done
9884
9885    fi
9886  fi
9887
9888
9889
9890
9891
9892
9893  echo "$as_me:$LINENO: checking for copysign declaration" >&5
9894echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9895  if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9896    if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9897  echo $ECHO_N "(cached) $ECHO_C" >&6
9898else
9899
9900
9901
9902      ac_ext=cc
9903ac_cpp='$CXXCPP $CPPFLAGS'
9904ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9905ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9906ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9907
9908      cat >conftest.$ac_ext <<_ACEOF
9909/* confdefs.h.  */
9910_ACEOF
9911cat confdefs.h >>conftest.$ac_ext
9912cat >>conftest.$ac_ext <<_ACEOF
9913/* end confdefs.h.  */
9914#include <math.h>
9915int
9916main ()
9917{
9918 copysign(0, 0);
9919  ;
9920  return 0;
9921}
9922_ACEOF
9923rm -f conftest.$ac_objext
9924if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9925  (eval $ac_compile) 2>conftest.er1
9926  ac_status=$?
9927  grep -v '^ *+' conftest.er1 >conftest.err
9928  rm -f conftest.er1
9929  cat conftest.err >&5
9930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931  (exit $ac_status); } &&
9932	 { ac_try='test -z "$ac_cxx_werror_flag"
9933			 || test ! -s conftest.err'
9934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935  (eval $ac_try) 2>&5
9936  ac_status=$?
9937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938  (exit $ac_status); }; } &&
9939	 { ac_try='test -s conftest.$ac_objext'
9940  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941  (eval $ac_try) 2>&5
9942  ac_status=$?
9943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944  (exit $ac_status); }; }; then
9945  glibcxx_cv_func_copysign_use=yes
9946else
9947  echo "$as_me: failed program was:" >&5
9948sed 's/^/| /' conftest.$ac_ext >&5
9949
9950glibcxx_cv_func_copysign_use=no
9951fi
9952rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9953      ac_ext=c
9954ac_cpp='$CPP $CPPFLAGS'
9955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9957ac_compiler_gnu=$ac_cv_c_compiler_gnu
9958
9959
9960fi
9961
9962  fi
9963  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9964echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9965
9966  if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9967
9968for ac_func in copysign
9969do
9970as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9971echo "$as_me:$LINENO: checking for $ac_func" >&5
9972echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9973if eval "test \"\${$as_ac_var+set}\" = set"; then
9974  echo $ECHO_N "(cached) $ECHO_C" >&6
9975else
9976  if test x$gcc_no_link = xyes; then
9977  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9978echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9979   { (exit 1); exit 1; }; }
9980fi
9981cat >conftest.$ac_ext <<_ACEOF
9982/* confdefs.h.  */
9983_ACEOF
9984cat confdefs.h >>conftest.$ac_ext
9985cat >>conftest.$ac_ext <<_ACEOF
9986/* end confdefs.h.  */
9987/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9988   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9989#define $ac_func innocuous_$ac_func
9990
9991/* System header to define __stub macros and hopefully few prototypes,
9992    which can conflict with char $ac_func (); below.
9993    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9994    <limits.h> exists even on freestanding compilers.  */
9995
9996#ifdef __STDC__
9997# include <limits.h>
9998#else
9999# include <assert.h>
10000#endif
10001
10002#undef $ac_func
10003
10004/* Override any gcc2 internal prototype to avoid an error.  */
10005#ifdef __cplusplus
10006extern "C"
10007{
10008#endif
10009/* We use char because int might match the return type of a gcc2
10010   builtin and then its argument prototype would still apply.  */
10011char $ac_func ();
10012/* The GNU C library defines this for functions which it implements
10013    to always fail with ENOSYS.  Some functions are actually named
10014    something starting with __ and the normal name is an alias.  */
10015#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10016choke me
10017#else
10018char (*f) () = $ac_func;
10019#endif
10020#ifdef __cplusplus
10021}
10022#endif
10023
10024int
10025main ()
10026{
10027return f != $ac_func;
10028  ;
10029  return 0;
10030}
10031_ACEOF
10032rm -f conftest.$ac_objext conftest$ac_exeext
10033if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10034  (eval $ac_link) 2>conftest.er1
10035  ac_status=$?
10036  grep -v '^ *+' conftest.er1 >conftest.err
10037  rm -f conftest.er1
10038  cat conftest.err >&5
10039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040  (exit $ac_status); } &&
10041	 { ac_try='test -z "$ac_c_werror_flag"
10042			 || test ! -s conftest.err'
10043  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044  (eval $ac_try) 2>&5
10045  ac_status=$?
10046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047  (exit $ac_status); }; } &&
10048	 { ac_try='test -s conftest$ac_exeext'
10049  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050  (eval $ac_try) 2>&5
10051  ac_status=$?
10052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053  (exit $ac_status); }; }; then
10054  eval "$as_ac_var=yes"
10055else
10056  echo "$as_me: failed program was:" >&5
10057sed 's/^/| /' conftest.$ac_ext >&5
10058
10059eval "$as_ac_var=no"
10060fi
10061rm -f conftest.err conftest.$ac_objext \
10062      conftest$ac_exeext conftest.$ac_ext
10063fi
10064echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10065echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10066if test `eval echo '${'$as_ac_var'}'` = yes; then
10067  cat >>confdefs.h <<_ACEOF
10068#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10069_ACEOF
10070
10071fi
10072done
10073
10074  else
10075
10076  echo "$as_me:$LINENO: checking for _copysign declaration" >&5
10077echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
10078  if test x${glibcxx_cv_func__copysign_use+set} != xset; then
10079    if test "${glibcxx_cv_func__copysign_use+set}" = set; then
10080  echo $ECHO_N "(cached) $ECHO_C" >&6
10081else
10082
10083
10084
10085      ac_ext=cc
10086ac_cpp='$CXXCPP $CPPFLAGS'
10087ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10088ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10089ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10090
10091      cat >conftest.$ac_ext <<_ACEOF
10092/* confdefs.h.  */
10093_ACEOF
10094cat confdefs.h >>conftest.$ac_ext
10095cat >>conftest.$ac_ext <<_ACEOF
10096/* end confdefs.h.  */
10097#include <math.h>
10098int
10099main ()
10100{
10101 _copysign(0, 0);
10102  ;
10103  return 0;
10104}
10105_ACEOF
10106rm -f conftest.$ac_objext
10107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10108  (eval $ac_compile) 2>conftest.er1
10109  ac_status=$?
10110  grep -v '^ *+' conftest.er1 >conftest.err
10111  rm -f conftest.er1
10112  cat conftest.err >&5
10113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114  (exit $ac_status); } &&
10115	 { ac_try='test -z "$ac_cxx_werror_flag"
10116			 || test ! -s conftest.err'
10117  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10118  (eval $ac_try) 2>&5
10119  ac_status=$?
10120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121  (exit $ac_status); }; } &&
10122	 { ac_try='test -s conftest.$ac_objext'
10123  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124  (eval $ac_try) 2>&5
10125  ac_status=$?
10126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127  (exit $ac_status); }; }; then
10128  glibcxx_cv_func__copysign_use=yes
10129else
10130  echo "$as_me: failed program was:" >&5
10131sed 's/^/| /' conftest.$ac_ext >&5
10132
10133glibcxx_cv_func__copysign_use=no
10134fi
10135rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10136      ac_ext=c
10137ac_cpp='$CPP $CPPFLAGS'
10138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10140ac_compiler_gnu=$ac_cv_c_compiler_gnu
10141
10142
10143fi
10144
10145  fi
10146  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
10147echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
10148
10149    if test x$glibcxx_cv_func__copysign_use = x"yes"; then
10150
10151for ac_func in _copysign
10152do
10153as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10154echo "$as_me:$LINENO: checking for $ac_func" >&5
10155echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10156if eval "test \"\${$as_ac_var+set}\" = set"; then
10157  echo $ECHO_N "(cached) $ECHO_C" >&6
10158else
10159  if test x$gcc_no_link = xyes; then
10160  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10161echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10162   { (exit 1); exit 1; }; }
10163fi
10164cat >conftest.$ac_ext <<_ACEOF
10165/* confdefs.h.  */
10166_ACEOF
10167cat confdefs.h >>conftest.$ac_ext
10168cat >>conftest.$ac_ext <<_ACEOF
10169/* end confdefs.h.  */
10170/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10171   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10172#define $ac_func innocuous_$ac_func
10173
10174/* System header to define __stub macros and hopefully few prototypes,
10175    which can conflict with char $ac_func (); below.
10176    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10177    <limits.h> exists even on freestanding compilers.  */
10178
10179#ifdef __STDC__
10180# include <limits.h>
10181#else
10182# include <assert.h>
10183#endif
10184
10185#undef $ac_func
10186
10187/* Override any gcc2 internal prototype to avoid an error.  */
10188#ifdef __cplusplus
10189extern "C"
10190{
10191#endif
10192/* We use char because int might match the return type of a gcc2
10193   builtin and then its argument prototype would still apply.  */
10194char $ac_func ();
10195/* The GNU C library defines this for functions which it implements
10196    to always fail with ENOSYS.  Some functions are actually named
10197    something starting with __ and the normal name is an alias.  */
10198#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10199choke me
10200#else
10201char (*f) () = $ac_func;
10202#endif
10203#ifdef __cplusplus
10204}
10205#endif
10206
10207int
10208main ()
10209{
10210return f != $ac_func;
10211  ;
10212  return 0;
10213}
10214_ACEOF
10215rm -f conftest.$ac_objext conftest$ac_exeext
10216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10217  (eval $ac_link) 2>conftest.er1
10218  ac_status=$?
10219  grep -v '^ *+' conftest.er1 >conftest.err
10220  rm -f conftest.er1
10221  cat conftest.err >&5
10222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223  (exit $ac_status); } &&
10224	 { ac_try='test -z "$ac_c_werror_flag"
10225			 || test ! -s conftest.err'
10226  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227  (eval $ac_try) 2>&5
10228  ac_status=$?
10229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230  (exit $ac_status); }; } &&
10231	 { ac_try='test -s conftest$ac_exeext'
10232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233  (eval $ac_try) 2>&5
10234  ac_status=$?
10235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236  (exit $ac_status); }; }; then
10237  eval "$as_ac_var=yes"
10238else
10239  echo "$as_me: failed program was:" >&5
10240sed 's/^/| /' conftest.$ac_ext >&5
10241
10242eval "$as_ac_var=no"
10243fi
10244rm -f conftest.err conftest.$ac_objext \
10245      conftest$ac_exeext conftest.$ac_ext
10246fi
10247echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10248echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10249if test `eval echo '${'$as_ac_var'}'` = yes; then
10250  cat >>confdefs.h <<_ACEOF
10251#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10252_ACEOF
10253
10254fi
10255done
10256
10257    fi
10258  fi
10259
10260
10261
10262
10263
10264
10265  echo "$as_me:$LINENO: checking for sincos declaration" >&5
10266echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10267  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10268    if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10269  echo $ECHO_N "(cached) $ECHO_C" >&6
10270else
10271
10272
10273
10274      ac_ext=cc
10275ac_cpp='$CXXCPP $CPPFLAGS'
10276ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10277ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10278ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10279
10280      cat >conftest.$ac_ext <<_ACEOF
10281/* confdefs.h.  */
10282_ACEOF
10283cat confdefs.h >>conftest.$ac_ext
10284cat >>conftest.$ac_ext <<_ACEOF
10285/* end confdefs.h.  */
10286#include <math.h>
10287int
10288main ()
10289{
10290 sincos(0, 0, 0);
10291  ;
10292  return 0;
10293}
10294_ACEOF
10295rm -f conftest.$ac_objext
10296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297  (eval $ac_compile) 2>conftest.er1
10298  ac_status=$?
10299  grep -v '^ *+' conftest.er1 >conftest.err
10300  rm -f conftest.er1
10301  cat conftest.err >&5
10302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303  (exit $ac_status); } &&
10304	 { ac_try='test -z "$ac_cxx_werror_flag"
10305			 || test ! -s conftest.err'
10306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307  (eval $ac_try) 2>&5
10308  ac_status=$?
10309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310  (exit $ac_status); }; } &&
10311	 { ac_try='test -s conftest.$ac_objext'
10312  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10313  (eval $ac_try) 2>&5
10314  ac_status=$?
10315  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316  (exit $ac_status); }; }; then
10317  glibcxx_cv_func_sincos_use=yes
10318else
10319  echo "$as_me: failed program was:" >&5
10320sed 's/^/| /' conftest.$ac_ext >&5
10321
10322glibcxx_cv_func_sincos_use=no
10323fi
10324rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10325      ac_ext=c
10326ac_cpp='$CPP $CPPFLAGS'
10327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10329ac_compiler_gnu=$ac_cv_c_compiler_gnu
10330
10331
10332fi
10333
10334  fi
10335  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10336echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10337
10338  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10339
10340for ac_func in sincos
10341do
10342as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10343echo "$as_me:$LINENO: checking for $ac_func" >&5
10344echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10345if eval "test \"\${$as_ac_var+set}\" = set"; then
10346  echo $ECHO_N "(cached) $ECHO_C" >&6
10347else
10348  if test x$gcc_no_link = xyes; then
10349  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10350echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10351   { (exit 1); exit 1; }; }
10352fi
10353cat >conftest.$ac_ext <<_ACEOF
10354/* confdefs.h.  */
10355_ACEOF
10356cat confdefs.h >>conftest.$ac_ext
10357cat >>conftest.$ac_ext <<_ACEOF
10358/* end confdefs.h.  */
10359/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10360   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10361#define $ac_func innocuous_$ac_func
10362
10363/* System header to define __stub macros and hopefully few prototypes,
10364    which can conflict with char $ac_func (); below.
10365    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10366    <limits.h> exists even on freestanding compilers.  */
10367
10368#ifdef __STDC__
10369# include <limits.h>
10370#else
10371# include <assert.h>
10372#endif
10373
10374#undef $ac_func
10375
10376/* Override any gcc2 internal prototype to avoid an error.  */
10377#ifdef __cplusplus
10378extern "C"
10379{
10380#endif
10381/* We use char because int might match the return type of a gcc2
10382   builtin and then its argument prototype would still apply.  */
10383char $ac_func ();
10384/* The GNU C library defines this for functions which it implements
10385    to always fail with ENOSYS.  Some functions are actually named
10386    something starting with __ and the normal name is an alias.  */
10387#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10388choke me
10389#else
10390char (*f) () = $ac_func;
10391#endif
10392#ifdef __cplusplus
10393}
10394#endif
10395
10396int
10397main ()
10398{
10399return f != $ac_func;
10400  ;
10401  return 0;
10402}
10403_ACEOF
10404rm -f conftest.$ac_objext conftest$ac_exeext
10405if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10406  (eval $ac_link) 2>conftest.er1
10407  ac_status=$?
10408  grep -v '^ *+' conftest.er1 >conftest.err
10409  rm -f conftest.er1
10410  cat conftest.err >&5
10411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412  (exit $ac_status); } &&
10413	 { ac_try='test -z "$ac_c_werror_flag"
10414			 || test ! -s conftest.err'
10415  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416  (eval $ac_try) 2>&5
10417  ac_status=$?
10418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419  (exit $ac_status); }; } &&
10420	 { ac_try='test -s conftest$ac_exeext'
10421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422  (eval $ac_try) 2>&5
10423  ac_status=$?
10424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425  (exit $ac_status); }; }; then
10426  eval "$as_ac_var=yes"
10427else
10428  echo "$as_me: failed program was:" >&5
10429sed 's/^/| /' conftest.$ac_ext >&5
10430
10431eval "$as_ac_var=no"
10432fi
10433rm -f conftest.err conftest.$ac_objext \
10434      conftest$ac_exeext conftest.$ac_ext
10435fi
10436echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10437echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10438if test `eval echo '${'$as_ac_var'}'` = yes; then
10439  cat >>confdefs.h <<_ACEOF
10440#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10441_ACEOF
10442
10443fi
10444done
10445
10446  else
10447
10448  echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10449echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10450  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10451    if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10452  echo $ECHO_N "(cached) $ECHO_C" >&6
10453else
10454
10455
10456
10457      ac_ext=cc
10458ac_cpp='$CXXCPP $CPPFLAGS'
10459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10462
10463      cat >conftest.$ac_ext <<_ACEOF
10464/* confdefs.h.  */
10465_ACEOF
10466cat confdefs.h >>conftest.$ac_ext
10467cat >>conftest.$ac_ext <<_ACEOF
10468/* end confdefs.h.  */
10469#include <math.h>
10470int
10471main ()
10472{
10473 _sincos(0, 0, 0);
10474  ;
10475  return 0;
10476}
10477_ACEOF
10478rm -f conftest.$ac_objext
10479if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480  (eval $ac_compile) 2>conftest.er1
10481  ac_status=$?
10482  grep -v '^ *+' conftest.er1 >conftest.err
10483  rm -f conftest.er1
10484  cat conftest.err >&5
10485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486  (exit $ac_status); } &&
10487	 { ac_try='test -z "$ac_cxx_werror_flag"
10488			 || test ! -s conftest.err'
10489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490  (eval $ac_try) 2>&5
10491  ac_status=$?
10492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493  (exit $ac_status); }; } &&
10494	 { ac_try='test -s conftest.$ac_objext'
10495  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496  (eval $ac_try) 2>&5
10497  ac_status=$?
10498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499  (exit $ac_status); }; }; then
10500  glibcxx_cv_func__sincos_use=yes
10501else
10502  echo "$as_me: failed program was:" >&5
10503sed 's/^/| /' conftest.$ac_ext >&5
10504
10505glibcxx_cv_func__sincos_use=no
10506fi
10507rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10508      ac_ext=c
10509ac_cpp='$CPP $CPPFLAGS'
10510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10512ac_compiler_gnu=$ac_cv_c_compiler_gnu
10513
10514
10515fi
10516
10517  fi
10518  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10519echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10520
10521    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10522
10523for ac_func in _sincos
10524do
10525as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10526echo "$as_me:$LINENO: checking for $ac_func" >&5
10527echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10528if eval "test \"\${$as_ac_var+set}\" = set"; then
10529  echo $ECHO_N "(cached) $ECHO_C" >&6
10530else
10531  if test x$gcc_no_link = xyes; then
10532  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10533echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10534   { (exit 1); exit 1; }; }
10535fi
10536cat >conftest.$ac_ext <<_ACEOF
10537/* confdefs.h.  */
10538_ACEOF
10539cat confdefs.h >>conftest.$ac_ext
10540cat >>conftest.$ac_ext <<_ACEOF
10541/* end confdefs.h.  */
10542/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10543   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10544#define $ac_func innocuous_$ac_func
10545
10546/* System header to define __stub macros and hopefully few prototypes,
10547    which can conflict with char $ac_func (); below.
10548    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549    <limits.h> exists even on freestanding compilers.  */
10550
10551#ifdef __STDC__
10552# include <limits.h>
10553#else
10554# include <assert.h>
10555#endif
10556
10557#undef $ac_func
10558
10559/* Override any gcc2 internal prototype to avoid an error.  */
10560#ifdef __cplusplus
10561extern "C"
10562{
10563#endif
10564/* We use char because int might match the return type of a gcc2
10565   builtin and then its argument prototype would still apply.  */
10566char $ac_func ();
10567/* The GNU C library defines this for functions which it implements
10568    to always fail with ENOSYS.  Some functions are actually named
10569    something starting with __ and the normal name is an alias.  */
10570#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10571choke me
10572#else
10573char (*f) () = $ac_func;
10574#endif
10575#ifdef __cplusplus
10576}
10577#endif
10578
10579int
10580main ()
10581{
10582return f != $ac_func;
10583  ;
10584  return 0;
10585}
10586_ACEOF
10587rm -f conftest.$ac_objext conftest$ac_exeext
10588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10589  (eval $ac_link) 2>conftest.er1
10590  ac_status=$?
10591  grep -v '^ *+' conftest.er1 >conftest.err
10592  rm -f conftest.er1
10593  cat conftest.err >&5
10594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595  (exit $ac_status); } &&
10596	 { ac_try='test -z "$ac_c_werror_flag"
10597			 || test ! -s conftest.err'
10598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599  (eval $ac_try) 2>&5
10600  ac_status=$?
10601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602  (exit $ac_status); }; } &&
10603	 { ac_try='test -s conftest$ac_exeext'
10604  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605  (eval $ac_try) 2>&5
10606  ac_status=$?
10607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608  (exit $ac_status); }; }; then
10609  eval "$as_ac_var=yes"
10610else
10611  echo "$as_me: failed program was:" >&5
10612sed 's/^/| /' conftest.$ac_ext >&5
10613
10614eval "$as_ac_var=no"
10615fi
10616rm -f conftest.err conftest.$ac_objext \
10617      conftest$ac_exeext conftest.$ac_ext
10618fi
10619echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10620echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10621if test `eval echo '${'$as_ac_var'}'` = yes; then
10622  cat >>confdefs.h <<_ACEOF
10623#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10624_ACEOF
10625
10626fi
10627done
10628
10629    fi
10630  fi
10631
10632
10633
10634
10635
10636
10637  echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10638echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10639  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10640    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10641  echo $ECHO_N "(cached) $ECHO_C" >&6
10642else
10643
10644
10645
10646      ac_ext=cc
10647ac_cpp='$CXXCPP $CPPFLAGS'
10648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10651
10652      cat >conftest.$ac_ext <<_ACEOF
10653/* confdefs.h.  */
10654_ACEOF
10655cat confdefs.h >>conftest.$ac_ext
10656cat >>conftest.$ac_ext <<_ACEOF
10657/* end confdefs.h.  */
10658#include <math.h>
10659		      #ifdef HAVE_IEEEFP_H
10660		      #include <ieeefp.h>
10661		      #endif
10662
10663int
10664main ()
10665{
10666 fpclass(0);
10667  ;
10668  return 0;
10669}
10670_ACEOF
10671rm -f conftest.$ac_objext
10672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10673  (eval $ac_compile) 2>conftest.er1
10674  ac_status=$?
10675  grep -v '^ *+' conftest.er1 >conftest.err
10676  rm -f conftest.er1
10677  cat conftest.err >&5
10678  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679  (exit $ac_status); } &&
10680	 { ac_try='test -z "$ac_cxx_werror_flag"
10681			 || test ! -s conftest.err'
10682  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683  (eval $ac_try) 2>&5
10684  ac_status=$?
10685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686  (exit $ac_status); }; } &&
10687	 { ac_try='test -s conftest.$ac_objext'
10688  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689  (eval $ac_try) 2>&5
10690  ac_status=$?
10691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692  (exit $ac_status); }; }; then
10693  glibcxx_cv_func_fpclass_use=yes
10694else
10695  echo "$as_me: failed program was:" >&5
10696sed 's/^/| /' conftest.$ac_ext >&5
10697
10698glibcxx_cv_func_fpclass_use=no
10699fi
10700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701      ac_ext=c
10702ac_cpp='$CPP $CPPFLAGS'
10703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10705ac_compiler_gnu=$ac_cv_c_compiler_gnu
10706
10707
10708fi
10709
10710  fi
10711  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10712echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10713
10714  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10715
10716for ac_func in fpclass
10717do
10718as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10719echo "$as_me:$LINENO: checking for $ac_func" >&5
10720echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10721if eval "test \"\${$as_ac_var+set}\" = set"; then
10722  echo $ECHO_N "(cached) $ECHO_C" >&6
10723else
10724  if test x$gcc_no_link = xyes; then
10725  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10726echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10727   { (exit 1); exit 1; }; }
10728fi
10729cat >conftest.$ac_ext <<_ACEOF
10730/* confdefs.h.  */
10731_ACEOF
10732cat confdefs.h >>conftest.$ac_ext
10733cat >>conftest.$ac_ext <<_ACEOF
10734/* end confdefs.h.  */
10735/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10736   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10737#define $ac_func innocuous_$ac_func
10738
10739/* System header to define __stub macros and hopefully few prototypes,
10740    which can conflict with char $ac_func (); below.
10741    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10742    <limits.h> exists even on freestanding compilers.  */
10743
10744#ifdef __STDC__
10745# include <limits.h>
10746#else
10747# include <assert.h>
10748#endif
10749
10750#undef $ac_func
10751
10752/* Override any gcc2 internal prototype to avoid an error.  */
10753#ifdef __cplusplus
10754extern "C"
10755{
10756#endif
10757/* We use char because int might match the return type of a gcc2
10758   builtin and then its argument prototype would still apply.  */
10759char $ac_func ();
10760/* The GNU C library defines this for functions which it implements
10761    to always fail with ENOSYS.  Some functions are actually named
10762    something starting with __ and the normal name is an alias.  */
10763#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10764choke me
10765#else
10766char (*f) () = $ac_func;
10767#endif
10768#ifdef __cplusplus
10769}
10770#endif
10771
10772int
10773main ()
10774{
10775return f != $ac_func;
10776  ;
10777  return 0;
10778}
10779_ACEOF
10780rm -f conftest.$ac_objext conftest$ac_exeext
10781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782  (eval $ac_link) 2>conftest.er1
10783  ac_status=$?
10784  grep -v '^ *+' conftest.er1 >conftest.err
10785  rm -f conftest.er1
10786  cat conftest.err >&5
10787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788  (exit $ac_status); } &&
10789	 { ac_try='test -z "$ac_c_werror_flag"
10790			 || test ! -s conftest.err'
10791  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792  (eval $ac_try) 2>&5
10793  ac_status=$?
10794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795  (exit $ac_status); }; } &&
10796	 { ac_try='test -s conftest$ac_exeext'
10797  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798  (eval $ac_try) 2>&5
10799  ac_status=$?
10800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801  (exit $ac_status); }; }; then
10802  eval "$as_ac_var=yes"
10803else
10804  echo "$as_me: failed program was:" >&5
10805sed 's/^/| /' conftest.$ac_ext >&5
10806
10807eval "$as_ac_var=no"
10808fi
10809rm -f conftest.err conftest.$ac_objext \
10810      conftest$ac_exeext conftest.$ac_ext
10811fi
10812echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10813echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10814if test `eval echo '${'$as_ac_var'}'` = yes; then
10815  cat >>confdefs.h <<_ACEOF
10816#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10817_ACEOF
10818
10819fi
10820done
10821
10822  else
10823
10824  echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10825echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10826  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10827    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10828  echo $ECHO_N "(cached) $ECHO_C" >&6
10829else
10830
10831
10832
10833      ac_ext=cc
10834ac_cpp='$CXXCPP $CPPFLAGS'
10835ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10836ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10837ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10838
10839      cat >conftest.$ac_ext <<_ACEOF
10840/* confdefs.h.  */
10841_ACEOF
10842cat confdefs.h >>conftest.$ac_ext
10843cat >>conftest.$ac_ext <<_ACEOF
10844/* end confdefs.h.  */
10845#include <math.h>
10846		      #ifdef HAVE_IEEEFP_H
10847		      #include <ieeefp.h>
10848		      #endif
10849
10850int
10851main ()
10852{
10853 _fpclass(0);
10854  ;
10855  return 0;
10856}
10857_ACEOF
10858rm -f conftest.$ac_objext
10859if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860  (eval $ac_compile) 2>conftest.er1
10861  ac_status=$?
10862  grep -v '^ *+' conftest.er1 >conftest.err
10863  rm -f conftest.er1
10864  cat conftest.err >&5
10865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866  (exit $ac_status); } &&
10867	 { ac_try='test -z "$ac_cxx_werror_flag"
10868			 || test ! -s conftest.err'
10869  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870  (eval $ac_try) 2>&5
10871  ac_status=$?
10872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873  (exit $ac_status); }; } &&
10874	 { ac_try='test -s conftest.$ac_objext'
10875  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876  (eval $ac_try) 2>&5
10877  ac_status=$?
10878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879  (exit $ac_status); }; }; then
10880  glibcxx_cv_func__fpclass_use=yes
10881else
10882  echo "$as_me: failed program was:" >&5
10883sed 's/^/| /' conftest.$ac_ext >&5
10884
10885glibcxx_cv_func__fpclass_use=no
10886fi
10887rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10888      ac_ext=c
10889ac_cpp='$CPP $CPPFLAGS'
10890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892ac_compiler_gnu=$ac_cv_c_compiler_gnu
10893
10894
10895fi
10896
10897  fi
10898  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10899echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10900
10901    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10902
10903for ac_func in _fpclass
10904do
10905as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10906echo "$as_me:$LINENO: checking for $ac_func" >&5
10907echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10908if eval "test \"\${$as_ac_var+set}\" = set"; then
10909  echo $ECHO_N "(cached) $ECHO_C" >&6
10910else
10911  if test x$gcc_no_link = xyes; then
10912  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10913echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10914   { (exit 1); exit 1; }; }
10915fi
10916cat >conftest.$ac_ext <<_ACEOF
10917/* confdefs.h.  */
10918_ACEOF
10919cat confdefs.h >>conftest.$ac_ext
10920cat >>conftest.$ac_ext <<_ACEOF
10921/* end confdefs.h.  */
10922/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10923   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10924#define $ac_func innocuous_$ac_func
10925
10926/* System header to define __stub macros and hopefully few prototypes,
10927    which can conflict with char $ac_func (); below.
10928    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10929    <limits.h> exists even on freestanding compilers.  */
10930
10931#ifdef __STDC__
10932# include <limits.h>
10933#else
10934# include <assert.h>
10935#endif
10936
10937#undef $ac_func
10938
10939/* Override any gcc2 internal prototype to avoid an error.  */
10940#ifdef __cplusplus
10941extern "C"
10942{
10943#endif
10944/* We use char because int might match the return type of a gcc2
10945   builtin and then its argument prototype would still apply.  */
10946char $ac_func ();
10947/* The GNU C library defines this for functions which it implements
10948    to always fail with ENOSYS.  Some functions are actually named
10949    something starting with __ and the normal name is an alias.  */
10950#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10951choke me
10952#else
10953char (*f) () = $ac_func;
10954#endif
10955#ifdef __cplusplus
10956}
10957#endif
10958
10959int
10960main ()
10961{
10962return f != $ac_func;
10963  ;
10964  return 0;
10965}
10966_ACEOF
10967rm -f conftest.$ac_objext conftest$ac_exeext
10968if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969  (eval $ac_link) 2>conftest.er1
10970  ac_status=$?
10971  grep -v '^ *+' conftest.er1 >conftest.err
10972  rm -f conftest.er1
10973  cat conftest.err >&5
10974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975  (exit $ac_status); } &&
10976	 { ac_try='test -z "$ac_c_werror_flag"
10977			 || test ! -s conftest.err'
10978  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979  (eval $ac_try) 2>&5
10980  ac_status=$?
10981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982  (exit $ac_status); }; } &&
10983	 { ac_try='test -s conftest$ac_exeext'
10984  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985  (eval $ac_try) 2>&5
10986  ac_status=$?
10987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988  (exit $ac_status); }; }; then
10989  eval "$as_ac_var=yes"
10990else
10991  echo "$as_me: failed program was:" >&5
10992sed 's/^/| /' conftest.$ac_ext >&5
10993
10994eval "$as_ac_var=no"
10995fi
10996rm -f conftest.err conftest.$ac_objext \
10997      conftest$ac_exeext conftest.$ac_ext
10998fi
10999echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11000echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11001if test `eval echo '${'$as_ac_var'}'` = yes; then
11002  cat >>confdefs.h <<_ACEOF
11003#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004_ACEOF
11005
11006fi
11007done
11008
11009    fi
11010  fi
11011
11012
11013
11014
11015
11016
11017  echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
11018echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
11019  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
11020    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
11021  echo $ECHO_N "(cached) $ECHO_C" >&6
11022else
11023
11024
11025
11026      ac_ext=cc
11027ac_cpp='$CXXCPP $CPPFLAGS'
11028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11031
11032      cat >conftest.$ac_ext <<_ACEOF
11033/* confdefs.h.  */
11034_ACEOF
11035cat confdefs.h >>conftest.$ac_ext
11036cat >>conftest.$ac_ext <<_ACEOF
11037/* end confdefs.h.  */
11038#include <math.h>
11039		      #ifdef HAVE_IEEEFP_H
11040		      #include <ieeefp.h>
11041		      #endif
11042
11043int
11044main ()
11045{
11046 qfpclass(0);
11047  ;
11048  return 0;
11049}
11050_ACEOF
11051rm -f conftest.$ac_objext
11052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11053  (eval $ac_compile) 2>conftest.er1
11054  ac_status=$?
11055  grep -v '^ *+' conftest.er1 >conftest.err
11056  rm -f conftest.er1
11057  cat conftest.err >&5
11058  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059  (exit $ac_status); } &&
11060	 { ac_try='test -z "$ac_cxx_werror_flag"
11061			 || test ! -s conftest.err'
11062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063  (eval $ac_try) 2>&5
11064  ac_status=$?
11065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066  (exit $ac_status); }; } &&
11067	 { ac_try='test -s conftest.$ac_objext'
11068  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069  (eval $ac_try) 2>&5
11070  ac_status=$?
11071  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072  (exit $ac_status); }; }; then
11073  glibcxx_cv_func_qfpclass_use=yes
11074else
11075  echo "$as_me: failed program was:" >&5
11076sed 's/^/| /' conftest.$ac_ext >&5
11077
11078glibcxx_cv_func_qfpclass_use=no
11079fi
11080rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11081      ac_ext=c
11082ac_cpp='$CPP $CPPFLAGS'
11083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11085ac_compiler_gnu=$ac_cv_c_compiler_gnu
11086
11087
11088fi
11089
11090  fi
11091  echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
11092echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
11093
11094  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
11095
11096for ac_func in qfpclass
11097do
11098as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11099echo "$as_me:$LINENO: checking for $ac_func" >&5
11100echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11101if eval "test \"\${$as_ac_var+set}\" = set"; then
11102  echo $ECHO_N "(cached) $ECHO_C" >&6
11103else
11104  if test x$gcc_no_link = xyes; then
11105  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11106echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11107   { (exit 1); exit 1; }; }
11108fi
11109cat >conftest.$ac_ext <<_ACEOF
11110/* confdefs.h.  */
11111_ACEOF
11112cat confdefs.h >>conftest.$ac_ext
11113cat >>conftest.$ac_ext <<_ACEOF
11114/* end confdefs.h.  */
11115/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11116   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11117#define $ac_func innocuous_$ac_func
11118
11119/* System header to define __stub macros and hopefully few prototypes,
11120    which can conflict with char $ac_func (); below.
11121    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11122    <limits.h> exists even on freestanding compilers.  */
11123
11124#ifdef __STDC__
11125# include <limits.h>
11126#else
11127# include <assert.h>
11128#endif
11129
11130#undef $ac_func
11131
11132/* Override any gcc2 internal prototype to avoid an error.  */
11133#ifdef __cplusplus
11134extern "C"
11135{
11136#endif
11137/* We use char because int might match the return type of a gcc2
11138   builtin and then its argument prototype would still apply.  */
11139char $ac_func ();
11140/* The GNU C library defines this for functions which it implements
11141    to always fail with ENOSYS.  Some functions are actually named
11142    something starting with __ and the normal name is an alias.  */
11143#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11144choke me
11145#else
11146char (*f) () = $ac_func;
11147#endif
11148#ifdef __cplusplus
11149}
11150#endif
11151
11152int
11153main ()
11154{
11155return f != $ac_func;
11156  ;
11157  return 0;
11158}
11159_ACEOF
11160rm -f conftest.$ac_objext conftest$ac_exeext
11161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162  (eval $ac_link) 2>conftest.er1
11163  ac_status=$?
11164  grep -v '^ *+' conftest.er1 >conftest.err
11165  rm -f conftest.er1
11166  cat conftest.err >&5
11167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168  (exit $ac_status); } &&
11169	 { ac_try='test -z "$ac_c_werror_flag"
11170			 || test ! -s conftest.err'
11171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172  (eval $ac_try) 2>&5
11173  ac_status=$?
11174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175  (exit $ac_status); }; } &&
11176	 { ac_try='test -s conftest$ac_exeext'
11177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178  (eval $ac_try) 2>&5
11179  ac_status=$?
11180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181  (exit $ac_status); }; }; then
11182  eval "$as_ac_var=yes"
11183else
11184  echo "$as_me: failed program was:" >&5
11185sed 's/^/| /' conftest.$ac_ext >&5
11186
11187eval "$as_ac_var=no"
11188fi
11189rm -f conftest.err conftest.$ac_objext \
11190      conftest$ac_exeext conftest.$ac_ext
11191fi
11192echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11193echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11194if test `eval echo '${'$as_ac_var'}'` = yes; then
11195  cat >>confdefs.h <<_ACEOF
11196#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11197_ACEOF
11198
11199fi
11200done
11201
11202  else
11203
11204  echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11205echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11206  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11207    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11208  echo $ECHO_N "(cached) $ECHO_C" >&6
11209else
11210
11211
11212
11213      ac_ext=cc
11214ac_cpp='$CXXCPP $CPPFLAGS'
11215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11218
11219      cat >conftest.$ac_ext <<_ACEOF
11220/* confdefs.h.  */
11221_ACEOF
11222cat confdefs.h >>conftest.$ac_ext
11223cat >>conftest.$ac_ext <<_ACEOF
11224/* end confdefs.h.  */
11225#include <math.h>
11226		      #ifdef HAVE_IEEEFP_H
11227		      #include <ieeefp.h>
11228		      #endif
11229
11230int
11231main ()
11232{
11233 _qfpclass(0);
11234  ;
11235  return 0;
11236}
11237_ACEOF
11238rm -f conftest.$ac_objext
11239if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11240  (eval $ac_compile) 2>conftest.er1
11241  ac_status=$?
11242  grep -v '^ *+' conftest.er1 >conftest.err
11243  rm -f conftest.er1
11244  cat conftest.err >&5
11245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246  (exit $ac_status); } &&
11247	 { ac_try='test -z "$ac_cxx_werror_flag"
11248			 || test ! -s conftest.err'
11249  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250  (eval $ac_try) 2>&5
11251  ac_status=$?
11252  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253  (exit $ac_status); }; } &&
11254	 { ac_try='test -s conftest.$ac_objext'
11255  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256  (eval $ac_try) 2>&5
11257  ac_status=$?
11258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259  (exit $ac_status); }; }; then
11260  glibcxx_cv_func__qfpclass_use=yes
11261else
11262  echo "$as_me: failed program was:" >&5
11263sed 's/^/| /' conftest.$ac_ext >&5
11264
11265glibcxx_cv_func__qfpclass_use=no
11266fi
11267rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11268      ac_ext=c
11269ac_cpp='$CPP $CPPFLAGS'
11270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11272ac_compiler_gnu=$ac_cv_c_compiler_gnu
11273
11274
11275fi
11276
11277  fi
11278  echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11279echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11280
11281    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11282
11283for ac_func in _qfpclass
11284do
11285as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11286echo "$as_me:$LINENO: checking for $ac_func" >&5
11287echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11288if eval "test \"\${$as_ac_var+set}\" = set"; then
11289  echo $ECHO_N "(cached) $ECHO_C" >&6
11290else
11291  if test x$gcc_no_link = xyes; then
11292  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11293echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11294   { (exit 1); exit 1; }; }
11295fi
11296cat >conftest.$ac_ext <<_ACEOF
11297/* confdefs.h.  */
11298_ACEOF
11299cat confdefs.h >>conftest.$ac_ext
11300cat >>conftest.$ac_ext <<_ACEOF
11301/* end confdefs.h.  */
11302/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11303   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11304#define $ac_func innocuous_$ac_func
11305
11306/* System header to define __stub macros and hopefully few prototypes,
11307    which can conflict with char $ac_func (); below.
11308    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11309    <limits.h> exists even on freestanding compilers.  */
11310
11311#ifdef __STDC__
11312# include <limits.h>
11313#else
11314# include <assert.h>
11315#endif
11316
11317#undef $ac_func
11318
11319/* Override any gcc2 internal prototype to avoid an error.  */
11320#ifdef __cplusplus
11321extern "C"
11322{
11323#endif
11324/* We use char because int might match the return type of a gcc2
11325   builtin and then its argument prototype would still apply.  */
11326char $ac_func ();
11327/* The GNU C library defines this for functions which it implements
11328    to always fail with ENOSYS.  Some functions are actually named
11329    something starting with __ and the normal name is an alias.  */
11330#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11331choke me
11332#else
11333char (*f) () = $ac_func;
11334#endif
11335#ifdef __cplusplus
11336}
11337#endif
11338
11339int
11340main ()
11341{
11342return f != $ac_func;
11343  ;
11344  return 0;
11345}
11346_ACEOF
11347rm -f conftest.$ac_objext conftest$ac_exeext
11348if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11349  (eval $ac_link) 2>conftest.er1
11350  ac_status=$?
11351  grep -v '^ *+' conftest.er1 >conftest.err
11352  rm -f conftest.er1
11353  cat conftest.err >&5
11354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355  (exit $ac_status); } &&
11356	 { ac_try='test -z "$ac_c_werror_flag"
11357			 || test ! -s conftest.err'
11358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11359  (eval $ac_try) 2>&5
11360  ac_status=$?
11361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362  (exit $ac_status); }; } &&
11363	 { ac_try='test -s conftest$ac_exeext'
11364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365  (eval $ac_try) 2>&5
11366  ac_status=$?
11367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368  (exit $ac_status); }; }; then
11369  eval "$as_ac_var=yes"
11370else
11371  echo "$as_me: failed program was:" >&5
11372sed 's/^/| /' conftest.$ac_ext >&5
11373
11374eval "$as_ac_var=no"
11375fi
11376rm -f conftest.err conftest.$ac_objext \
11377      conftest$ac_exeext conftest.$ac_ext
11378fi
11379echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11380echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11381if test `eval echo '${'$as_ac_var'}'` = yes; then
11382  cat >>confdefs.h <<_ACEOF
11383#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11384_ACEOF
11385
11386fi
11387done
11388
11389    fi
11390  fi
11391
11392
11393
11394
11395
11396
11397  echo "$as_me:$LINENO: checking for hypot declaration" >&5
11398echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11399  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11400    if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11401  echo $ECHO_N "(cached) $ECHO_C" >&6
11402else
11403
11404
11405
11406      ac_ext=cc
11407ac_cpp='$CXXCPP $CPPFLAGS'
11408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11411
11412      cat >conftest.$ac_ext <<_ACEOF
11413/* confdefs.h.  */
11414_ACEOF
11415cat confdefs.h >>conftest.$ac_ext
11416cat >>conftest.$ac_ext <<_ACEOF
11417/* end confdefs.h.  */
11418#include <math.h>
11419int
11420main ()
11421{
11422 hypot(0, 0);
11423  ;
11424  return 0;
11425}
11426_ACEOF
11427rm -f conftest.$ac_objext
11428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11429  (eval $ac_compile) 2>conftest.er1
11430  ac_status=$?
11431  grep -v '^ *+' conftest.er1 >conftest.err
11432  rm -f conftest.er1
11433  cat conftest.err >&5
11434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435  (exit $ac_status); } &&
11436	 { ac_try='test -z "$ac_cxx_werror_flag"
11437			 || test ! -s conftest.err'
11438  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11439  (eval $ac_try) 2>&5
11440  ac_status=$?
11441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442  (exit $ac_status); }; } &&
11443	 { ac_try='test -s conftest.$ac_objext'
11444  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445  (eval $ac_try) 2>&5
11446  ac_status=$?
11447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448  (exit $ac_status); }; }; then
11449  glibcxx_cv_func_hypot_use=yes
11450else
11451  echo "$as_me: failed program was:" >&5
11452sed 's/^/| /' conftest.$ac_ext >&5
11453
11454glibcxx_cv_func_hypot_use=no
11455fi
11456rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11457      ac_ext=c
11458ac_cpp='$CPP $CPPFLAGS'
11459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11461ac_compiler_gnu=$ac_cv_c_compiler_gnu
11462
11463
11464fi
11465
11466  fi
11467  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11468echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11469
11470  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11471
11472for ac_func in hypot
11473do
11474as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11475echo "$as_me:$LINENO: checking for $ac_func" >&5
11476echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11477if eval "test \"\${$as_ac_var+set}\" = set"; then
11478  echo $ECHO_N "(cached) $ECHO_C" >&6
11479else
11480  if test x$gcc_no_link = xyes; then
11481  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11482echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11483   { (exit 1); exit 1; }; }
11484fi
11485cat >conftest.$ac_ext <<_ACEOF
11486/* confdefs.h.  */
11487_ACEOF
11488cat confdefs.h >>conftest.$ac_ext
11489cat >>conftest.$ac_ext <<_ACEOF
11490/* end confdefs.h.  */
11491/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11492   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11493#define $ac_func innocuous_$ac_func
11494
11495/* System header to define __stub macros and hopefully few prototypes,
11496    which can conflict with char $ac_func (); below.
11497    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11498    <limits.h> exists even on freestanding compilers.  */
11499
11500#ifdef __STDC__
11501# include <limits.h>
11502#else
11503# include <assert.h>
11504#endif
11505
11506#undef $ac_func
11507
11508/* Override any gcc2 internal prototype to avoid an error.  */
11509#ifdef __cplusplus
11510extern "C"
11511{
11512#endif
11513/* We use char because int might match the return type of a gcc2
11514   builtin and then its argument prototype would still apply.  */
11515char $ac_func ();
11516/* The GNU C library defines this for functions which it implements
11517    to always fail with ENOSYS.  Some functions are actually named
11518    something starting with __ and the normal name is an alias.  */
11519#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11520choke me
11521#else
11522char (*f) () = $ac_func;
11523#endif
11524#ifdef __cplusplus
11525}
11526#endif
11527
11528int
11529main ()
11530{
11531return f != $ac_func;
11532  ;
11533  return 0;
11534}
11535_ACEOF
11536rm -f conftest.$ac_objext conftest$ac_exeext
11537if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11538  (eval $ac_link) 2>conftest.er1
11539  ac_status=$?
11540  grep -v '^ *+' conftest.er1 >conftest.err
11541  rm -f conftest.er1
11542  cat conftest.err >&5
11543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544  (exit $ac_status); } &&
11545	 { ac_try='test -z "$ac_c_werror_flag"
11546			 || test ! -s conftest.err'
11547  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548  (eval $ac_try) 2>&5
11549  ac_status=$?
11550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551  (exit $ac_status); }; } &&
11552	 { ac_try='test -s conftest$ac_exeext'
11553  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554  (eval $ac_try) 2>&5
11555  ac_status=$?
11556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557  (exit $ac_status); }; }; then
11558  eval "$as_ac_var=yes"
11559else
11560  echo "$as_me: failed program was:" >&5
11561sed 's/^/| /' conftest.$ac_ext >&5
11562
11563eval "$as_ac_var=no"
11564fi
11565rm -f conftest.err conftest.$ac_objext \
11566      conftest$ac_exeext conftest.$ac_ext
11567fi
11568echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11569echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11570if test `eval echo '${'$as_ac_var'}'` = yes; then
11571  cat >>confdefs.h <<_ACEOF
11572#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11573_ACEOF
11574
11575fi
11576done
11577
11578  else
11579
11580  echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11581echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11582  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11583    if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11584  echo $ECHO_N "(cached) $ECHO_C" >&6
11585else
11586
11587
11588
11589      ac_ext=cc
11590ac_cpp='$CXXCPP $CPPFLAGS'
11591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11594
11595      cat >conftest.$ac_ext <<_ACEOF
11596/* confdefs.h.  */
11597_ACEOF
11598cat confdefs.h >>conftest.$ac_ext
11599cat >>conftest.$ac_ext <<_ACEOF
11600/* end confdefs.h.  */
11601#include <math.h>
11602int
11603main ()
11604{
11605 _hypot(0, 0);
11606  ;
11607  return 0;
11608}
11609_ACEOF
11610rm -f conftest.$ac_objext
11611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11612  (eval $ac_compile) 2>conftest.er1
11613  ac_status=$?
11614  grep -v '^ *+' conftest.er1 >conftest.err
11615  rm -f conftest.er1
11616  cat conftest.err >&5
11617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618  (exit $ac_status); } &&
11619	 { ac_try='test -z "$ac_cxx_werror_flag"
11620			 || test ! -s conftest.err'
11621  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622  (eval $ac_try) 2>&5
11623  ac_status=$?
11624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625  (exit $ac_status); }; } &&
11626	 { ac_try='test -s conftest.$ac_objext'
11627  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628  (eval $ac_try) 2>&5
11629  ac_status=$?
11630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631  (exit $ac_status); }; }; then
11632  glibcxx_cv_func__hypot_use=yes
11633else
11634  echo "$as_me: failed program was:" >&5
11635sed 's/^/| /' conftest.$ac_ext >&5
11636
11637glibcxx_cv_func__hypot_use=no
11638fi
11639rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11640      ac_ext=c
11641ac_cpp='$CPP $CPPFLAGS'
11642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11644ac_compiler_gnu=$ac_cv_c_compiler_gnu
11645
11646
11647fi
11648
11649  fi
11650  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11651echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11652
11653    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11654
11655for ac_func in _hypot
11656do
11657as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11658echo "$as_me:$LINENO: checking for $ac_func" >&5
11659echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11660if eval "test \"\${$as_ac_var+set}\" = set"; then
11661  echo $ECHO_N "(cached) $ECHO_C" >&6
11662else
11663  if test x$gcc_no_link = xyes; then
11664  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11665echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11666   { (exit 1); exit 1; }; }
11667fi
11668cat >conftest.$ac_ext <<_ACEOF
11669/* confdefs.h.  */
11670_ACEOF
11671cat confdefs.h >>conftest.$ac_ext
11672cat >>conftest.$ac_ext <<_ACEOF
11673/* end confdefs.h.  */
11674/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11675   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11676#define $ac_func innocuous_$ac_func
11677
11678/* System header to define __stub macros and hopefully few prototypes,
11679    which can conflict with char $ac_func (); below.
11680    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11681    <limits.h> exists even on freestanding compilers.  */
11682
11683#ifdef __STDC__
11684# include <limits.h>
11685#else
11686# include <assert.h>
11687#endif
11688
11689#undef $ac_func
11690
11691/* Override any gcc2 internal prototype to avoid an error.  */
11692#ifdef __cplusplus
11693extern "C"
11694{
11695#endif
11696/* We use char because int might match the return type of a gcc2
11697   builtin and then its argument prototype would still apply.  */
11698char $ac_func ();
11699/* The GNU C library defines this for functions which it implements
11700    to always fail with ENOSYS.  Some functions are actually named
11701    something starting with __ and the normal name is an alias.  */
11702#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11703choke me
11704#else
11705char (*f) () = $ac_func;
11706#endif
11707#ifdef __cplusplus
11708}
11709#endif
11710
11711int
11712main ()
11713{
11714return f != $ac_func;
11715  ;
11716  return 0;
11717}
11718_ACEOF
11719rm -f conftest.$ac_objext conftest$ac_exeext
11720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721  (eval $ac_link) 2>conftest.er1
11722  ac_status=$?
11723  grep -v '^ *+' conftest.er1 >conftest.err
11724  rm -f conftest.er1
11725  cat conftest.err >&5
11726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727  (exit $ac_status); } &&
11728	 { ac_try='test -z "$ac_c_werror_flag"
11729			 || test ! -s conftest.err'
11730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731  (eval $ac_try) 2>&5
11732  ac_status=$?
11733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734  (exit $ac_status); }; } &&
11735	 { ac_try='test -s conftest$ac_exeext'
11736  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737  (eval $ac_try) 2>&5
11738  ac_status=$?
11739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740  (exit $ac_status); }; }; then
11741  eval "$as_ac_var=yes"
11742else
11743  echo "$as_me: failed program was:" >&5
11744sed 's/^/| /' conftest.$ac_ext >&5
11745
11746eval "$as_ac_var=no"
11747fi
11748rm -f conftest.err conftest.$ac_objext \
11749      conftest$ac_exeext conftest.$ac_ext
11750fi
11751echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11752echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11753if test `eval echo '${'$as_ac_var'}'` = yes; then
11754  cat >>confdefs.h <<_ACEOF
11755#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11756_ACEOF
11757
11758fi
11759done
11760
11761    fi
11762  fi
11763
11764
11765
11766
11767
11768
11769    echo "$as_me:$LINENO: checking for float trig functions" >&5
11770echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11771  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11772  echo $ECHO_N "(cached) $ECHO_C" >&6
11773else
11774
11775
11776
11777    ac_ext=cc
11778ac_cpp='$CXXCPP $CPPFLAGS'
11779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11782
11783    cat >conftest.$ac_ext <<_ACEOF
11784/* confdefs.h.  */
11785_ACEOF
11786cat confdefs.h >>conftest.$ac_ext
11787cat >>conftest.$ac_ext <<_ACEOF
11788/* end confdefs.h.  */
11789#include <math.h>
11790int
11791main ()
11792{
11793acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11794  ;
11795  return 0;
11796}
11797_ACEOF
11798rm -f conftest.$ac_objext
11799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800  (eval $ac_compile) 2>conftest.er1
11801  ac_status=$?
11802  grep -v '^ *+' conftest.er1 >conftest.err
11803  rm -f conftest.er1
11804  cat conftest.err >&5
11805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806  (exit $ac_status); } &&
11807	 { ac_try='test -z "$ac_cxx_werror_flag"
11808			 || test ! -s conftest.err'
11809  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810  (eval $ac_try) 2>&5
11811  ac_status=$?
11812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813  (exit $ac_status); }; } &&
11814	 { ac_try='test -s conftest.$ac_objext'
11815  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816  (eval $ac_try) 2>&5
11817  ac_status=$?
11818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819  (exit $ac_status); }; }; then
11820  glibcxx_cv_func_float_trig_use=yes
11821else
11822  echo "$as_me: failed program was:" >&5
11823sed 's/^/| /' conftest.$ac_ext >&5
11824
11825glibcxx_cv_func_float_trig_use=no
11826fi
11827rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11828    ac_ext=c
11829ac_cpp='$CPP $CPPFLAGS'
11830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832ac_compiler_gnu=$ac_cv_c_compiler_gnu
11833
11834fi
11835
11836  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11837echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11838  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11849do
11850as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11851echo "$as_me:$LINENO: checking for $ac_func" >&5
11852echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11853if eval "test \"\${$as_ac_var+set}\" = set"; then
11854  echo $ECHO_N "(cached) $ECHO_C" >&6
11855else
11856  if test x$gcc_no_link = xyes; then
11857  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11858echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11859   { (exit 1); exit 1; }; }
11860fi
11861cat >conftest.$ac_ext <<_ACEOF
11862/* confdefs.h.  */
11863_ACEOF
11864cat confdefs.h >>conftest.$ac_ext
11865cat >>conftest.$ac_ext <<_ACEOF
11866/* end confdefs.h.  */
11867/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11868   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11869#define $ac_func innocuous_$ac_func
11870
11871/* System header to define __stub macros and hopefully few prototypes,
11872    which can conflict with char $ac_func (); below.
11873    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874    <limits.h> exists even on freestanding compilers.  */
11875
11876#ifdef __STDC__
11877# include <limits.h>
11878#else
11879# include <assert.h>
11880#endif
11881
11882#undef $ac_func
11883
11884/* Override any gcc2 internal prototype to avoid an error.  */
11885#ifdef __cplusplus
11886extern "C"
11887{
11888#endif
11889/* We use char because int might match the return type of a gcc2
11890   builtin and then its argument prototype would still apply.  */
11891char $ac_func ();
11892/* The GNU C library defines this for functions which it implements
11893    to always fail with ENOSYS.  Some functions are actually named
11894    something starting with __ and the normal name is an alias.  */
11895#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896choke me
11897#else
11898char (*f) () = $ac_func;
11899#endif
11900#ifdef __cplusplus
11901}
11902#endif
11903
11904int
11905main ()
11906{
11907return f != $ac_func;
11908  ;
11909  return 0;
11910}
11911_ACEOF
11912rm -f conftest.$ac_objext conftest$ac_exeext
11913if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914  (eval $ac_link) 2>conftest.er1
11915  ac_status=$?
11916  grep -v '^ *+' conftest.er1 >conftest.err
11917  rm -f conftest.er1
11918  cat conftest.err >&5
11919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920  (exit $ac_status); } &&
11921	 { ac_try='test -z "$ac_c_werror_flag"
11922			 || test ! -s conftest.err'
11923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924  (eval $ac_try) 2>&5
11925  ac_status=$?
11926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927  (exit $ac_status); }; } &&
11928	 { ac_try='test -s conftest$ac_exeext'
11929  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930  (eval $ac_try) 2>&5
11931  ac_status=$?
11932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933  (exit $ac_status); }; }; then
11934  eval "$as_ac_var=yes"
11935else
11936  echo "$as_me: failed program was:" >&5
11937sed 's/^/| /' conftest.$ac_ext >&5
11938
11939eval "$as_ac_var=no"
11940fi
11941rm -f conftest.err conftest.$ac_objext \
11942      conftest$ac_exeext conftest.$ac_ext
11943fi
11944echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11945echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11946if test `eval echo '${'$as_ac_var'}'` = yes; then
11947  cat >>confdefs.h <<_ACEOF
11948#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11949_ACEOF
11950
11951fi
11952done
11953
11954  else
11955    echo "$as_me:$LINENO: checking for _float trig functions" >&5
11956echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11957    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11958  echo $ECHO_N "(cached) $ECHO_C" >&6
11959else
11960
11961
11962
11963      ac_ext=cc
11964ac_cpp='$CXXCPP $CPPFLAGS'
11965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11968
11969      cat >conftest.$ac_ext <<_ACEOF
11970/* confdefs.h.  */
11971_ACEOF
11972cat confdefs.h >>conftest.$ac_ext
11973cat >>conftest.$ac_ext <<_ACEOF
11974/* end confdefs.h.  */
11975#include <math.h>
11976int
11977main ()
11978{
11979_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11980  ;
11981  return 0;
11982}
11983_ACEOF
11984rm -f conftest.$ac_objext
11985if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986  (eval $ac_compile) 2>conftest.er1
11987  ac_status=$?
11988  grep -v '^ *+' conftest.er1 >conftest.err
11989  rm -f conftest.er1
11990  cat conftest.err >&5
11991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992  (exit $ac_status); } &&
11993	 { ac_try='test -z "$ac_cxx_werror_flag"
11994			 || test ! -s conftest.err'
11995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996  (eval $ac_try) 2>&5
11997  ac_status=$?
11998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999  (exit $ac_status); }; } &&
12000	 { ac_try='test -s conftest.$ac_objext'
12001  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002  (eval $ac_try) 2>&5
12003  ac_status=$?
12004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005  (exit $ac_status); }; }; then
12006  glibcxx_cv_func__float_trig_use=yes
12007else
12008  echo "$as_me: failed program was:" >&5
12009sed 's/^/| /' conftest.$ac_ext >&5
12010
12011glibcxx_cv_func__float_trig_use=no
12012fi
12013rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12014      ac_ext=c
12015ac_cpp='$CPP $CPPFLAGS'
12016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12018ac_compiler_gnu=$ac_cv_c_compiler_gnu
12019
12020fi
12021
12022    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
12023echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
12024    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
12035do
12036as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12037echo "$as_me:$LINENO: checking for $ac_func" >&5
12038echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12039if eval "test \"\${$as_ac_var+set}\" = set"; then
12040  echo $ECHO_N "(cached) $ECHO_C" >&6
12041else
12042  if test x$gcc_no_link = xyes; then
12043  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12044echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12045   { (exit 1); exit 1; }; }
12046fi
12047cat >conftest.$ac_ext <<_ACEOF
12048/* confdefs.h.  */
12049_ACEOF
12050cat confdefs.h >>conftest.$ac_ext
12051cat >>conftest.$ac_ext <<_ACEOF
12052/* end confdefs.h.  */
12053/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12054   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12055#define $ac_func innocuous_$ac_func
12056
12057/* System header to define __stub macros and hopefully few prototypes,
12058    which can conflict with char $ac_func (); below.
12059    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12060    <limits.h> exists even on freestanding compilers.  */
12061
12062#ifdef __STDC__
12063# include <limits.h>
12064#else
12065# include <assert.h>
12066#endif
12067
12068#undef $ac_func
12069
12070/* Override any gcc2 internal prototype to avoid an error.  */
12071#ifdef __cplusplus
12072extern "C"
12073{
12074#endif
12075/* We use char because int might match the return type of a gcc2
12076   builtin and then its argument prototype would still apply.  */
12077char $ac_func ();
12078/* The GNU C library defines this for functions which it implements
12079    to always fail with ENOSYS.  Some functions are actually named
12080    something starting with __ and the normal name is an alias.  */
12081#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12082choke me
12083#else
12084char (*f) () = $ac_func;
12085#endif
12086#ifdef __cplusplus
12087}
12088#endif
12089
12090int
12091main ()
12092{
12093return f != $ac_func;
12094  ;
12095  return 0;
12096}
12097_ACEOF
12098rm -f conftest.$ac_objext conftest$ac_exeext
12099if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12100  (eval $ac_link) 2>conftest.er1
12101  ac_status=$?
12102  grep -v '^ *+' conftest.er1 >conftest.err
12103  rm -f conftest.er1
12104  cat conftest.err >&5
12105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106  (exit $ac_status); } &&
12107	 { ac_try='test -z "$ac_c_werror_flag"
12108			 || test ! -s conftest.err'
12109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110  (eval $ac_try) 2>&5
12111  ac_status=$?
12112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113  (exit $ac_status); }; } &&
12114	 { ac_try='test -s conftest$ac_exeext'
12115  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116  (eval $ac_try) 2>&5
12117  ac_status=$?
12118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119  (exit $ac_status); }; }; then
12120  eval "$as_ac_var=yes"
12121else
12122  echo "$as_me: failed program was:" >&5
12123sed 's/^/| /' conftest.$ac_ext >&5
12124
12125eval "$as_ac_var=no"
12126fi
12127rm -f conftest.err conftest.$ac_objext \
12128      conftest$ac_exeext conftest.$ac_ext
12129fi
12130echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12131echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12132if test `eval echo '${'$as_ac_var'}'` = yes; then
12133  cat >>confdefs.h <<_ACEOF
12134#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12135_ACEOF
12136
12137fi
12138done
12139
12140    fi
12141  fi
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156    echo "$as_me:$LINENO: checking for float round functions" >&5
12157echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
12158  if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12159  echo $ECHO_N "(cached) $ECHO_C" >&6
12160else
12161
12162
12163
12164    ac_ext=cc
12165ac_cpp='$CXXCPP $CPPFLAGS'
12166ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12167ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12168ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12169
12170    cat >conftest.$ac_ext <<_ACEOF
12171/* confdefs.h.  */
12172_ACEOF
12173cat confdefs.h >>conftest.$ac_ext
12174cat >>conftest.$ac_ext <<_ACEOF
12175/* end confdefs.h.  */
12176#include <math.h>
12177int
12178main ()
12179{
12180ceilf (0); floorf (0);
12181  ;
12182  return 0;
12183}
12184_ACEOF
12185rm -f conftest.$ac_objext
12186if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12187  (eval $ac_compile) 2>conftest.er1
12188  ac_status=$?
12189  grep -v '^ *+' conftest.er1 >conftest.err
12190  rm -f conftest.er1
12191  cat conftest.err >&5
12192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193  (exit $ac_status); } &&
12194	 { ac_try='test -z "$ac_cxx_werror_flag"
12195			 || test ! -s conftest.err'
12196  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197  (eval $ac_try) 2>&5
12198  ac_status=$?
12199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200  (exit $ac_status); }; } &&
12201	 { ac_try='test -s conftest.$ac_objext'
12202  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203  (eval $ac_try) 2>&5
12204  ac_status=$?
12205  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206  (exit $ac_status); }; }; then
12207  glibcxx_cv_func_float_round_use=yes
12208else
12209  echo "$as_me: failed program was:" >&5
12210sed 's/^/| /' conftest.$ac_ext >&5
12211
12212glibcxx_cv_func_float_round_use=no
12213fi
12214rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12215    ac_ext=c
12216ac_cpp='$CPP $CPPFLAGS'
12217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12219ac_compiler_gnu=$ac_cv_c_compiler_gnu
12220
12221fi
12222
12223  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12224echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12225  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12226
12227
12228for ac_func in ceilf floorf
12229do
12230as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12231echo "$as_me:$LINENO: checking for $ac_func" >&5
12232echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12233if eval "test \"\${$as_ac_var+set}\" = set"; then
12234  echo $ECHO_N "(cached) $ECHO_C" >&6
12235else
12236  if test x$gcc_no_link = xyes; then
12237  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12238echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12239   { (exit 1); exit 1; }; }
12240fi
12241cat >conftest.$ac_ext <<_ACEOF
12242/* confdefs.h.  */
12243_ACEOF
12244cat confdefs.h >>conftest.$ac_ext
12245cat >>conftest.$ac_ext <<_ACEOF
12246/* end confdefs.h.  */
12247/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12248   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12249#define $ac_func innocuous_$ac_func
12250
12251/* System header to define __stub macros and hopefully few prototypes,
12252    which can conflict with char $ac_func (); below.
12253    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12254    <limits.h> exists even on freestanding compilers.  */
12255
12256#ifdef __STDC__
12257# include <limits.h>
12258#else
12259# include <assert.h>
12260#endif
12261
12262#undef $ac_func
12263
12264/* Override any gcc2 internal prototype to avoid an error.  */
12265#ifdef __cplusplus
12266extern "C"
12267{
12268#endif
12269/* We use char because int might match the return type of a gcc2
12270   builtin and then its argument prototype would still apply.  */
12271char $ac_func ();
12272/* The GNU C library defines this for functions which it implements
12273    to always fail with ENOSYS.  Some functions are actually named
12274    something starting with __ and the normal name is an alias.  */
12275#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12276choke me
12277#else
12278char (*f) () = $ac_func;
12279#endif
12280#ifdef __cplusplus
12281}
12282#endif
12283
12284int
12285main ()
12286{
12287return f != $ac_func;
12288  ;
12289  return 0;
12290}
12291_ACEOF
12292rm -f conftest.$ac_objext conftest$ac_exeext
12293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12294  (eval $ac_link) 2>conftest.er1
12295  ac_status=$?
12296  grep -v '^ *+' conftest.er1 >conftest.err
12297  rm -f conftest.er1
12298  cat conftest.err >&5
12299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300  (exit $ac_status); } &&
12301	 { ac_try='test -z "$ac_c_werror_flag"
12302			 || test ! -s conftest.err'
12303  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304  (eval $ac_try) 2>&5
12305  ac_status=$?
12306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307  (exit $ac_status); }; } &&
12308	 { ac_try='test -s conftest$ac_exeext'
12309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310  (eval $ac_try) 2>&5
12311  ac_status=$?
12312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313  (exit $ac_status); }; }; then
12314  eval "$as_ac_var=yes"
12315else
12316  echo "$as_me: failed program was:" >&5
12317sed 's/^/| /' conftest.$ac_ext >&5
12318
12319eval "$as_ac_var=no"
12320fi
12321rm -f conftest.err conftest.$ac_objext \
12322      conftest$ac_exeext conftest.$ac_ext
12323fi
12324echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12325echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12326if test `eval echo '${'$as_ac_var'}'` = yes; then
12327  cat >>confdefs.h <<_ACEOF
12328#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12329_ACEOF
12330
12331fi
12332done
12333
12334  else
12335    echo "$as_me:$LINENO: checking for _float round functions" >&5
12336echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12337    if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12338  echo $ECHO_N "(cached) $ECHO_C" >&6
12339else
12340
12341
12342
12343      ac_ext=cc
12344ac_cpp='$CXXCPP $CPPFLAGS'
12345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12348
12349      cat >conftest.$ac_ext <<_ACEOF
12350/* confdefs.h.  */
12351_ACEOF
12352cat confdefs.h >>conftest.$ac_ext
12353cat >>conftest.$ac_ext <<_ACEOF
12354/* end confdefs.h.  */
12355#include <math.h>
12356int
12357main ()
12358{
12359_ceilf (0); _floorf (0);
12360  ;
12361  return 0;
12362}
12363_ACEOF
12364rm -f conftest.$ac_objext
12365if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12366  (eval $ac_compile) 2>conftest.er1
12367  ac_status=$?
12368  grep -v '^ *+' conftest.er1 >conftest.err
12369  rm -f conftest.er1
12370  cat conftest.err >&5
12371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372  (exit $ac_status); } &&
12373	 { ac_try='test -z "$ac_cxx_werror_flag"
12374			 || test ! -s conftest.err'
12375  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376  (eval $ac_try) 2>&5
12377  ac_status=$?
12378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379  (exit $ac_status); }; } &&
12380	 { ac_try='test -s conftest.$ac_objext'
12381  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382  (eval $ac_try) 2>&5
12383  ac_status=$?
12384  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385  (exit $ac_status); }; }; then
12386  glibcxx_cv_func__float_round_use=yes
12387else
12388  echo "$as_me: failed program was:" >&5
12389sed 's/^/| /' conftest.$ac_ext >&5
12390
12391glibcxx_cv_func__float_round_use=no
12392fi
12393rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12394      ac_ext=c
12395ac_cpp='$CPP $CPPFLAGS'
12396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398ac_compiler_gnu=$ac_cv_c_compiler_gnu
12399
12400fi
12401
12402    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12403echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12404    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12405
12406
12407for ac_func in _ceilf _floorf
12408do
12409as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12410echo "$as_me:$LINENO: checking for $ac_func" >&5
12411echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12412if eval "test \"\${$as_ac_var+set}\" = set"; then
12413  echo $ECHO_N "(cached) $ECHO_C" >&6
12414else
12415  if test x$gcc_no_link = xyes; then
12416  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418   { (exit 1); exit 1; }; }
12419fi
12420cat >conftest.$ac_ext <<_ACEOF
12421/* confdefs.h.  */
12422_ACEOF
12423cat confdefs.h >>conftest.$ac_ext
12424cat >>conftest.$ac_ext <<_ACEOF
12425/* end confdefs.h.  */
12426/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12427   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12428#define $ac_func innocuous_$ac_func
12429
12430/* System header to define __stub macros and hopefully few prototypes,
12431    which can conflict with char $ac_func (); below.
12432    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12433    <limits.h> exists even on freestanding compilers.  */
12434
12435#ifdef __STDC__
12436# include <limits.h>
12437#else
12438# include <assert.h>
12439#endif
12440
12441#undef $ac_func
12442
12443/* Override any gcc2 internal prototype to avoid an error.  */
12444#ifdef __cplusplus
12445extern "C"
12446{
12447#endif
12448/* We use char because int might match the return type of a gcc2
12449   builtin and then its argument prototype would still apply.  */
12450char $ac_func ();
12451/* The GNU C library defines this for functions which it implements
12452    to always fail with ENOSYS.  Some functions are actually named
12453    something starting with __ and the normal name is an alias.  */
12454#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12455choke me
12456#else
12457char (*f) () = $ac_func;
12458#endif
12459#ifdef __cplusplus
12460}
12461#endif
12462
12463int
12464main ()
12465{
12466return f != $ac_func;
12467  ;
12468  return 0;
12469}
12470_ACEOF
12471rm -f conftest.$ac_objext conftest$ac_exeext
12472if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12473  (eval $ac_link) 2>conftest.er1
12474  ac_status=$?
12475  grep -v '^ *+' conftest.er1 >conftest.err
12476  rm -f conftest.er1
12477  cat conftest.err >&5
12478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479  (exit $ac_status); } &&
12480	 { ac_try='test -z "$ac_c_werror_flag"
12481			 || test ! -s conftest.err'
12482  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483  (eval $ac_try) 2>&5
12484  ac_status=$?
12485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486  (exit $ac_status); }; } &&
12487	 { ac_try='test -s conftest$ac_exeext'
12488  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489  (eval $ac_try) 2>&5
12490  ac_status=$?
12491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492  (exit $ac_status); }; }; then
12493  eval "$as_ac_var=yes"
12494else
12495  echo "$as_me: failed program was:" >&5
12496sed 's/^/| /' conftest.$ac_ext >&5
12497
12498eval "$as_ac_var=no"
12499fi
12500rm -f conftest.err conftest.$ac_objext \
12501      conftest$ac_exeext conftest.$ac_ext
12502fi
12503echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12504echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12505if test `eval echo '${'$as_ac_var'}'` = yes; then
12506  cat >>confdefs.h <<_ACEOF
12507#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12508_ACEOF
12509
12510fi
12511done
12512
12513    fi
12514  fi
12515
12516
12517
12518
12519
12520
12521
12522
12523  echo "$as_me:$LINENO: checking for expf declaration" >&5
12524echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12525  if test x${glibcxx_cv_func_expf_use+set} != xset; then
12526    if test "${glibcxx_cv_func_expf_use+set}" = set; then
12527  echo $ECHO_N "(cached) $ECHO_C" >&6
12528else
12529
12530
12531
12532      ac_ext=cc
12533ac_cpp='$CXXCPP $CPPFLAGS'
12534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12537
12538      cat >conftest.$ac_ext <<_ACEOF
12539/* confdefs.h.  */
12540_ACEOF
12541cat confdefs.h >>conftest.$ac_ext
12542cat >>conftest.$ac_ext <<_ACEOF
12543/* end confdefs.h.  */
12544#include <math.h>
12545		      #ifdef HAVE_IEEEFP_H
12546		      #include <ieeefp.h>
12547		      #endif
12548
12549int
12550main ()
12551{
12552 expf(0);
12553  ;
12554  return 0;
12555}
12556_ACEOF
12557rm -f conftest.$ac_objext
12558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559  (eval $ac_compile) 2>conftest.er1
12560  ac_status=$?
12561  grep -v '^ *+' conftest.er1 >conftest.err
12562  rm -f conftest.er1
12563  cat conftest.err >&5
12564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565  (exit $ac_status); } &&
12566	 { ac_try='test -z "$ac_cxx_werror_flag"
12567			 || test ! -s conftest.err'
12568  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569  (eval $ac_try) 2>&5
12570  ac_status=$?
12571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572  (exit $ac_status); }; } &&
12573	 { ac_try='test -s conftest.$ac_objext'
12574  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575  (eval $ac_try) 2>&5
12576  ac_status=$?
12577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578  (exit $ac_status); }; }; then
12579  glibcxx_cv_func_expf_use=yes
12580else
12581  echo "$as_me: failed program was:" >&5
12582sed 's/^/| /' conftest.$ac_ext >&5
12583
12584glibcxx_cv_func_expf_use=no
12585fi
12586rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12587      ac_ext=c
12588ac_cpp='$CPP $CPPFLAGS'
12589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591ac_compiler_gnu=$ac_cv_c_compiler_gnu
12592
12593
12594fi
12595
12596  fi
12597  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12598echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12599
12600  if test x$glibcxx_cv_func_expf_use = x"yes"; then
12601
12602for ac_func in expf
12603do
12604as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12605echo "$as_me:$LINENO: checking for $ac_func" >&5
12606echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12607if eval "test \"\${$as_ac_var+set}\" = set"; then
12608  echo $ECHO_N "(cached) $ECHO_C" >&6
12609else
12610  if test x$gcc_no_link = xyes; then
12611  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12612echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12613   { (exit 1); exit 1; }; }
12614fi
12615cat >conftest.$ac_ext <<_ACEOF
12616/* confdefs.h.  */
12617_ACEOF
12618cat confdefs.h >>conftest.$ac_ext
12619cat >>conftest.$ac_ext <<_ACEOF
12620/* end confdefs.h.  */
12621/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12622   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12623#define $ac_func innocuous_$ac_func
12624
12625/* System header to define __stub macros and hopefully few prototypes,
12626    which can conflict with char $ac_func (); below.
12627    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12628    <limits.h> exists even on freestanding compilers.  */
12629
12630#ifdef __STDC__
12631# include <limits.h>
12632#else
12633# include <assert.h>
12634#endif
12635
12636#undef $ac_func
12637
12638/* Override any gcc2 internal prototype to avoid an error.  */
12639#ifdef __cplusplus
12640extern "C"
12641{
12642#endif
12643/* We use char because int might match the return type of a gcc2
12644   builtin and then its argument prototype would still apply.  */
12645char $ac_func ();
12646/* The GNU C library defines this for functions which it implements
12647    to always fail with ENOSYS.  Some functions are actually named
12648    something starting with __ and the normal name is an alias.  */
12649#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12650choke me
12651#else
12652char (*f) () = $ac_func;
12653#endif
12654#ifdef __cplusplus
12655}
12656#endif
12657
12658int
12659main ()
12660{
12661return f != $ac_func;
12662  ;
12663  return 0;
12664}
12665_ACEOF
12666rm -f conftest.$ac_objext conftest$ac_exeext
12667if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668  (eval $ac_link) 2>conftest.er1
12669  ac_status=$?
12670  grep -v '^ *+' conftest.er1 >conftest.err
12671  rm -f conftest.er1
12672  cat conftest.err >&5
12673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674  (exit $ac_status); } &&
12675	 { ac_try='test -z "$ac_c_werror_flag"
12676			 || test ! -s conftest.err'
12677  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678  (eval $ac_try) 2>&5
12679  ac_status=$?
12680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681  (exit $ac_status); }; } &&
12682	 { ac_try='test -s conftest$ac_exeext'
12683  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684  (eval $ac_try) 2>&5
12685  ac_status=$?
12686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687  (exit $ac_status); }; }; then
12688  eval "$as_ac_var=yes"
12689else
12690  echo "$as_me: failed program was:" >&5
12691sed 's/^/| /' conftest.$ac_ext >&5
12692
12693eval "$as_ac_var=no"
12694fi
12695rm -f conftest.err conftest.$ac_objext \
12696      conftest$ac_exeext conftest.$ac_ext
12697fi
12698echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12699echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12700if test `eval echo '${'$as_ac_var'}'` = yes; then
12701  cat >>confdefs.h <<_ACEOF
12702#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12703_ACEOF
12704
12705fi
12706done
12707
12708  else
12709
12710  echo "$as_me:$LINENO: checking for _expf declaration" >&5
12711echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12712  if test x${glibcxx_cv_func__expf_use+set} != xset; then
12713    if test "${glibcxx_cv_func__expf_use+set}" = set; then
12714  echo $ECHO_N "(cached) $ECHO_C" >&6
12715else
12716
12717
12718
12719      ac_ext=cc
12720ac_cpp='$CXXCPP $CPPFLAGS'
12721ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12724
12725      cat >conftest.$ac_ext <<_ACEOF
12726/* confdefs.h.  */
12727_ACEOF
12728cat confdefs.h >>conftest.$ac_ext
12729cat >>conftest.$ac_ext <<_ACEOF
12730/* end confdefs.h.  */
12731#include <math.h>
12732		      #ifdef HAVE_IEEEFP_H
12733		      #include <ieeefp.h>
12734		      #endif
12735
12736int
12737main ()
12738{
12739 _expf(0);
12740  ;
12741  return 0;
12742}
12743_ACEOF
12744rm -f conftest.$ac_objext
12745if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746  (eval $ac_compile) 2>conftest.er1
12747  ac_status=$?
12748  grep -v '^ *+' conftest.er1 >conftest.err
12749  rm -f conftest.er1
12750  cat conftest.err >&5
12751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752  (exit $ac_status); } &&
12753	 { ac_try='test -z "$ac_cxx_werror_flag"
12754			 || test ! -s conftest.err'
12755  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756  (eval $ac_try) 2>&5
12757  ac_status=$?
12758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759  (exit $ac_status); }; } &&
12760	 { ac_try='test -s conftest.$ac_objext'
12761  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762  (eval $ac_try) 2>&5
12763  ac_status=$?
12764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765  (exit $ac_status); }; }; then
12766  glibcxx_cv_func__expf_use=yes
12767else
12768  echo "$as_me: failed program was:" >&5
12769sed 's/^/| /' conftest.$ac_ext >&5
12770
12771glibcxx_cv_func__expf_use=no
12772fi
12773rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12774      ac_ext=c
12775ac_cpp='$CPP $CPPFLAGS'
12776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12778ac_compiler_gnu=$ac_cv_c_compiler_gnu
12779
12780
12781fi
12782
12783  fi
12784  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12785echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12786
12787    if test x$glibcxx_cv_func__expf_use = x"yes"; then
12788
12789for ac_func in _expf
12790do
12791as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12792echo "$as_me:$LINENO: checking for $ac_func" >&5
12793echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12794if eval "test \"\${$as_ac_var+set}\" = set"; then
12795  echo $ECHO_N "(cached) $ECHO_C" >&6
12796else
12797  if test x$gcc_no_link = xyes; then
12798  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12799echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12800   { (exit 1); exit 1; }; }
12801fi
12802cat >conftest.$ac_ext <<_ACEOF
12803/* confdefs.h.  */
12804_ACEOF
12805cat confdefs.h >>conftest.$ac_ext
12806cat >>conftest.$ac_ext <<_ACEOF
12807/* end confdefs.h.  */
12808/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12809   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12810#define $ac_func innocuous_$ac_func
12811
12812/* System header to define __stub macros and hopefully few prototypes,
12813    which can conflict with char $ac_func (); below.
12814    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12815    <limits.h> exists even on freestanding compilers.  */
12816
12817#ifdef __STDC__
12818# include <limits.h>
12819#else
12820# include <assert.h>
12821#endif
12822
12823#undef $ac_func
12824
12825/* Override any gcc2 internal prototype to avoid an error.  */
12826#ifdef __cplusplus
12827extern "C"
12828{
12829#endif
12830/* We use char because int might match the return type of a gcc2
12831   builtin and then its argument prototype would still apply.  */
12832char $ac_func ();
12833/* The GNU C library defines this for functions which it implements
12834    to always fail with ENOSYS.  Some functions are actually named
12835    something starting with __ and the normal name is an alias.  */
12836#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837choke me
12838#else
12839char (*f) () = $ac_func;
12840#endif
12841#ifdef __cplusplus
12842}
12843#endif
12844
12845int
12846main ()
12847{
12848return f != $ac_func;
12849  ;
12850  return 0;
12851}
12852_ACEOF
12853rm -f conftest.$ac_objext conftest$ac_exeext
12854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12855  (eval $ac_link) 2>conftest.er1
12856  ac_status=$?
12857  grep -v '^ *+' conftest.er1 >conftest.err
12858  rm -f conftest.er1
12859  cat conftest.err >&5
12860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861  (exit $ac_status); } &&
12862	 { ac_try='test -z "$ac_c_werror_flag"
12863			 || test ! -s conftest.err'
12864  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865  (eval $ac_try) 2>&5
12866  ac_status=$?
12867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868  (exit $ac_status); }; } &&
12869	 { ac_try='test -s conftest$ac_exeext'
12870  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871  (eval $ac_try) 2>&5
12872  ac_status=$?
12873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874  (exit $ac_status); }; }; then
12875  eval "$as_ac_var=yes"
12876else
12877  echo "$as_me: failed program was:" >&5
12878sed 's/^/| /' conftest.$ac_ext >&5
12879
12880eval "$as_ac_var=no"
12881fi
12882rm -f conftest.err conftest.$ac_objext \
12883      conftest$ac_exeext conftest.$ac_ext
12884fi
12885echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12886echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12887if test `eval echo '${'$as_ac_var'}'` = yes; then
12888  cat >>confdefs.h <<_ACEOF
12889#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12890_ACEOF
12891
12892fi
12893done
12894
12895    fi
12896  fi
12897
12898
12899
12900
12901
12902
12903  echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12904echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12905  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12906    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12907  echo $ECHO_N "(cached) $ECHO_C" >&6
12908else
12909
12910
12911
12912      ac_ext=cc
12913ac_cpp='$CXXCPP $CPPFLAGS'
12914ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12915ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12916ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12917
12918      cat >conftest.$ac_ext <<_ACEOF
12919/* confdefs.h.  */
12920_ACEOF
12921cat confdefs.h >>conftest.$ac_ext
12922cat >>conftest.$ac_ext <<_ACEOF
12923/* end confdefs.h.  */
12924#include <math.h>
12925		      #ifdef HAVE_IEEEFP_H
12926		      #include <ieeefp.h>
12927		      #endif
12928
12929int
12930main ()
12931{
12932 isnanf(0);
12933  ;
12934  return 0;
12935}
12936_ACEOF
12937rm -f conftest.$ac_objext
12938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939  (eval $ac_compile) 2>conftest.er1
12940  ac_status=$?
12941  grep -v '^ *+' conftest.er1 >conftest.err
12942  rm -f conftest.er1
12943  cat conftest.err >&5
12944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945  (exit $ac_status); } &&
12946	 { ac_try='test -z "$ac_cxx_werror_flag"
12947			 || test ! -s conftest.err'
12948  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949  (eval $ac_try) 2>&5
12950  ac_status=$?
12951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952  (exit $ac_status); }; } &&
12953	 { ac_try='test -s conftest.$ac_objext'
12954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955  (eval $ac_try) 2>&5
12956  ac_status=$?
12957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958  (exit $ac_status); }; }; then
12959  glibcxx_cv_func_isnanf_use=yes
12960else
12961  echo "$as_me: failed program was:" >&5
12962sed 's/^/| /' conftest.$ac_ext >&5
12963
12964glibcxx_cv_func_isnanf_use=no
12965fi
12966rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12967      ac_ext=c
12968ac_cpp='$CPP $CPPFLAGS'
12969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12971ac_compiler_gnu=$ac_cv_c_compiler_gnu
12972
12973
12974fi
12975
12976  fi
12977  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12978echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12979
12980  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12981
12982for ac_func in isnanf
12983do
12984as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12985echo "$as_me:$LINENO: checking for $ac_func" >&5
12986echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12987if eval "test \"\${$as_ac_var+set}\" = set"; then
12988  echo $ECHO_N "(cached) $ECHO_C" >&6
12989else
12990  if test x$gcc_no_link = xyes; then
12991  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12992echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12993   { (exit 1); exit 1; }; }
12994fi
12995cat >conftest.$ac_ext <<_ACEOF
12996/* confdefs.h.  */
12997_ACEOF
12998cat confdefs.h >>conftest.$ac_ext
12999cat >>conftest.$ac_ext <<_ACEOF
13000/* end confdefs.h.  */
13001/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13002   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13003#define $ac_func innocuous_$ac_func
13004
13005/* System header to define __stub macros and hopefully few prototypes,
13006    which can conflict with char $ac_func (); below.
13007    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13008    <limits.h> exists even on freestanding compilers.  */
13009
13010#ifdef __STDC__
13011# include <limits.h>
13012#else
13013# include <assert.h>
13014#endif
13015
13016#undef $ac_func
13017
13018/* Override any gcc2 internal prototype to avoid an error.  */
13019#ifdef __cplusplus
13020extern "C"
13021{
13022#endif
13023/* We use char because int might match the return type of a gcc2
13024   builtin and then its argument prototype would still apply.  */
13025char $ac_func ();
13026/* The GNU C library defines this for functions which it implements
13027    to always fail with ENOSYS.  Some functions are actually named
13028    something starting with __ and the normal name is an alias.  */
13029#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030choke me
13031#else
13032char (*f) () = $ac_func;
13033#endif
13034#ifdef __cplusplus
13035}
13036#endif
13037
13038int
13039main ()
13040{
13041return f != $ac_func;
13042  ;
13043  return 0;
13044}
13045_ACEOF
13046rm -f conftest.$ac_objext conftest$ac_exeext
13047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13048  (eval $ac_link) 2>conftest.er1
13049  ac_status=$?
13050  grep -v '^ *+' conftest.er1 >conftest.err
13051  rm -f conftest.er1
13052  cat conftest.err >&5
13053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054  (exit $ac_status); } &&
13055	 { ac_try='test -z "$ac_c_werror_flag"
13056			 || test ! -s conftest.err'
13057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058  (eval $ac_try) 2>&5
13059  ac_status=$?
13060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061  (exit $ac_status); }; } &&
13062	 { ac_try='test -s conftest$ac_exeext'
13063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064  (eval $ac_try) 2>&5
13065  ac_status=$?
13066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067  (exit $ac_status); }; }; then
13068  eval "$as_ac_var=yes"
13069else
13070  echo "$as_me: failed program was:" >&5
13071sed 's/^/| /' conftest.$ac_ext >&5
13072
13073eval "$as_ac_var=no"
13074fi
13075rm -f conftest.err conftest.$ac_objext \
13076      conftest$ac_exeext conftest.$ac_ext
13077fi
13078echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13079echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13080if test `eval echo '${'$as_ac_var'}'` = yes; then
13081  cat >>confdefs.h <<_ACEOF
13082#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13083_ACEOF
13084
13085fi
13086done
13087
13088  else
13089
13090  echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
13091echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
13092  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
13093    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
13094  echo $ECHO_N "(cached) $ECHO_C" >&6
13095else
13096
13097
13098
13099      ac_ext=cc
13100ac_cpp='$CXXCPP $CPPFLAGS'
13101ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13102ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13103ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13104
13105      cat >conftest.$ac_ext <<_ACEOF
13106/* confdefs.h.  */
13107_ACEOF
13108cat confdefs.h >>conftest.$ac_ext
13109cat >>conftest.$ac_ext <<_ACEOF
13110/* end confdefs.h.  */
13111#include <math.h>
13112		      #ifdef HAVE_IEEEFP_H
13113		      #include <ieeefp.h>
13114		      #endif
13115
13116int
13117main ()
13118{
13119 _isnanf(0);
13120  ;
13121  return 0;
13122}
13123_ACEOF
13124rm -f conftest.$ac_objext
13125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126  (eval $ac_compile) 2>conftest.er1
13127  ac_status=$?
13128  grep -v '^ *+' conftest.er1 >conftest.err
13129  rm -f conftest.er1
13130  cat conftest.err >&5
13131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132  (exit $ac_status); } &&
13133	 { ac_try='test -z "$ac_cxx_werror_flag"
13134			 || test ! -s conftest.err'
13135  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136  (eval $ac_try) 2>&5
13137  ac_status=$?
13138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139  (exit $ac_status); }; } &&
13140	 { ac_try='test -s conftest.$ac_objext'
13141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142  (eval $ac_try) 2>&5
13143  ac_status=$?
13144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145  (exit $ac_status); }; }; then
13146  glibcxx_cv_func__isnanf_use=yes
13147else
13148  echo "$as_me: failed program was:" >&5
13149sed 's/^/| /' conftest.$ac_ext >&5
13150
13151glibcxx_cv_func__isnanf_use=no
13152fi
13153rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13154      ac_ext=c
13155ac_cpp='$CPP $CPPFLAGS'
13156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158ac_compiler_gnu=$ac_cv_c_compiler_gnu
13159
13160
13161fi
13162
13163  fi
13164  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13165echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13166
13167    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13168
13169for ac_func in _isnanf
13170do
13171as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13172echo "$as_me:$LINENO: checking for $ac_func" >&5
13173echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13174if eval "test \"\${$as_ac_var+set}\" = set"; then
13175  echo $ECHO_N "(cached) $ECHO_C" >&6
13176else
13177  if test x$gcc_no_link = xyes; then
13178  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13179echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13180   { (exit 1); exit 1; }; }
13181fi
13182cat >conftest.$ac_ext <<_ACEOF
13183/* confdefs.h.  */
13184_ACEOF
13185cat confdefs.h >>conftest.$ac_ext
13186cat >>conftest.$ac_ext <<_ACEOF
13187/* end confdefs.h.  */
13188/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13189   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13190#define $ac_func innocuous_$ac_func
13191
13192/* System header to define __stub macros and hopefully few prototypes,
13193    which can conflict with char $ac_func (); below.
13194    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13195    <limits.h> exists even on freestanding compilers.  */
13196
13197#ifdef __STDC__
13198# include <limits.h>
13199#else
13200# include <assert.h>
13201#endif
13202
13203#undef $ac_func
13204
13205/* Override any gcc2 internal prototype to avoid an error.  */
13206#ifdef __cplusplus
13207extern "C"
13208{
13209#endif
13210/* We use char because int might match the return type of a gcc2
13211   builtin and then its argument prototype would still apply.  */
13212char $ac_func ();
13213/* The GNU C library defines this for functions which it implements
13214    to always fail with ENOSYS.  Some functions are actually named
13215    something starting with __ and the normal name is an alias.  */
13216#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13217choke me
13218#else
13219char (*f) () = $ac_func;
13220#endif
13221#ifdef __cplusplus
13222}
13223#endif
13224
13225int
13226main ()
13227{
13228return f != $ac_func;
13229  ;
13230  return 0;
13231}
13232_ACEOF
13233rm -f conftest.$ac_objext conftest$ac_exeext
13234if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13235  (eval $ac_link) 2>conftest.er1
13236  ac_status=$?
13237  grep -v '^ *+' conftest.er1 >conftest.err
13238  rm -f conftest.er1
13239  cat conftest.err >&5
13240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241  (exit $ac_status); } &&
13242	 { ac_try='test -z "$ac_c_werror_flag"
13243			 || test ! -s conftest.err'
13244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245  (eval $ac_try) 2>&5
13246  ac_status=$?
13247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248  (exit $ac_status); }; } &&
13249	 { ac_try='test -s conftest$ac_exeext'
13250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251  (eval $ac_try) 2>&5
13252  ac_status=$?
13253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254  (exit $ac_status); }; }; then
13255  eval "$as_ac_var=yes"
13256else
13257  echo "$as_me: failed program was:" >&5
13258sed 's/^/| /' conftest.$ac_ext >&5
13259
13260eval "$as_ac_var=no"
13261fi
13262rm -f conftest.err conftest.$ac_objext \
13263      conftest$ac_exeext conftest.$ac_ext
13264fi
13265echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13266echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13267if test `eval echo '${'$as_ac_var'}'` = yes; then
13268  cat >>confdefs.h <<_ACEOF
13269#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13270_ACEOF
13271
13272fi
13273done
13274
13275    fi
13276  fi
13277
13278
13279
13280
13281
13282
13283  echo "$as_me:$LINENO: checking for isinff declaration" >&5
13284echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13285  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13286    if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13287  echo $ECHO_N "(cached) $ECHO_C" >&6
13288else
13289
13290
13291
13292      ac_ext=cc
13293ac_cpp='$CXXCPP $CPPFLAGS'
13294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13297
13298      cat >conftest.$ac_ext <<_ACEOF
13299/* confdefs.h.  */
13300_ACEOF
13301cat confdefs.h >>conftest.$ac_ext
13302cat >>conftest.$ac_ext <<_ACEOF
13303/* end confdefs.h.  */
13304#include <math.h>
13305		      #ifdef HAVE_IEEEFP_H
13306		      #include <ieeefp.h>
13307		      #endif
13308
13309int
13310main ()
13311{
13312 isinff(0);
13313  ;
13314  return 0;
13315}
13316_ACEOF
13317rm -f conftest.$ac_objext
13318if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13319  (eval $ac_compile) 2>conftest.er1
13320  ac_status=$?
13321  grep -v '^ *+' conftest.er1 >conftest.err
13322  rm -f conftest.er1
13323  cat conftest.err >&5
13324  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325  (exit $ac_status); } &&
13326	 { ac_try='test -z "$ac_cxx_werror_flag"
13327			 || test ! -s conftest.err'
13328  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329  (eval $ac_try) 2>&5
13330  ac_status=$?
13331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332  (exit $ac_status); }; } &&
13333	 { ac_try='test -s conftest.$ac_objext'
13334  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13335  (eval $ac_try) 2>&5
13336  ac_status=$?
13337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338  (exit $ac_status); }; }; then
13339  glibcxx_cv_func_isinff_use=yes
13340else
13341  echo "$as_me: failed program was:" >&5
13342sed 's/^/| /' conftest.$ac_ext >&5
13343
13344glibcxx_cv_func_isinff_use=no
13345fi
13346rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13347      ac_ext=c
13348ac_cpp='$CPP $CPPFLAGS'
13349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351ac_compiler_gnu=$ac_cv_c_compiler_gnu
13352
13353
13354fi
13355
13356  fi
13357  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13358echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13359
13360  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13361
13362for ac_func in isinff
13363do
13364as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13365echo "$as_me:$LINENO: checking for $ac_func" >&5
13366echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13367if eval "test \"\${$as_ac_var+set}\" = set"; then
13368  echo $ECHO_N "(cached) $ECHO_C" >&6
13369else
13370  if test x$gcc_no_link = xyes; then
13371  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13372echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13373   { (exit 1); exit 1; }; }
13374fi
13375cat >conftest.$ac_ext <<_ACEOF
13376/* confdefs.h.  */
13377_ACEOF
13378cat confdefs.h >>conftest.$ac_ext
13379cat >>conftest.$ac_ext <<_ACEOF
13380/* end confdefs.h.  */
13381/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13382   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13383#define $ac_func innocuous_$ac_func
13384
13385/* System header to define __stub macros and hopefully few prototypes,
13386    which can conflict with char $ac_func (); below.
13387    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13388    <limits.h> exists even on freestanding compilers.  */
13389
13390#ifdef __STDC__
13391# include <limits.h>
13392#else
13393# include <assert.h>
13394#endif
13395
13396#undef $ac_func
13397
13398/* Override any gcc2 internal prototype to avoid an error.  */
13399#ifdef __cplusplus
13400extern "C"
13401{
13402#endif
13403/* We use char because int might match the return type of a gcc2
13404   builtin and then its argument prototype would still apply.  */
13405char $ac_func ();
13406/* The GNU C library defines this for functions which it implements
13407    to always fail with ENOSYS.  Some functions are actually named
13408    something starting with __ and the normal name is an alias.  */
13409#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13410choke me
13411#else
13412char (*f) () = $ac_func;
13413#endif
13414#ifdef __cplusplus
13415}
13416#endif
13417
13418int
13419main ()
13420{
13421return f != $ac_func;
13422  ;
13423  return 0;
13424}
13425_ACEOF
13426rm -f conftest.$ac_objext conftest$ac_exeext
13427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13428  (eval $ac_link) 2>conftest.er1
13429  ac_status=$?
13430  grep -v '^ *+' conftest.er1 >conftest.err
13431  rm -f conftest.er1
13432  cat conftest.err >&5
13433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434  (exit $ac_status); } &&
13435	 { ac_try='test -z "$ac_c_werror_flag"
13436			 || test ! -s conftest.err'
13437  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438  (eval $ac_try) 2>&5
13439  ac_status=$?
13440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441  (exit $ac_status); }; } &&
13442	 { ac_try='test -s conftest$ac_exeext'
13443  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444  (eval $ac_try) 2>&5
13445  ac_status=$?
13446  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447  (exit $ac_status); }; }; then
13448  eval "$as_ac_var=yes"
13449else
13450  echo "$as_me: failed program was:" >&5
13451sed 's/^/| /' conftest.$ac_ext >&5
13452
13453eval "$as_ac_var=no"
13454fi
13455rm -f conftest.err conftest.$ac_objext \
13456      conftest$ac_exeext conftest.$ac_ext
13457fi
13458echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13459echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13460if test `eval echo '${'$as_ac_var'}'` = yes; then
13461  cat >>confdefs.h <<_ACEOF
13462#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13463_ACEOF
13464
13465fi
13466done
13467
13468  else
13469
13470  echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13471echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13472  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13473    if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13474  echo $ECHO_N "(cached) $ECHO_C" >&6
13475else
13476
13477
13478
13479      ac_ext=cc
13480ac_cpp='$CXXCPP $CPPFLAGS'
13481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13484
13485      cat >conftest.$ac_ext <<_ACEOF
13486/* confdefs.h.  */
13487_ACEOF
13488cat confdefs.h >>conftest.$ac_ext
13489cat >>conftest.$ac_ext <<_ACEOF
13490/* end confdefs.h.  */
13491#include <math.h>
13492		      #ifdef HAVE_IEEEFP_H
13493		      #include <ieeefp.h>
13494		      #endif
13495
13496int
13497main ()
13498{
13499 _isinff(0);
13500  ;
13501  return 0;
13502}
13503_ACEOF
13504rm -f conftest.$ac_objext
13505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13506  (eval $ac_compile) 2>conftest.er1
13507  ac_status=$?
13508  grep -v '^ *+' conftest.er1 >conftest.err
13509  rm -f conftest.er1
13510  cat conftest.err >&5
13511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512  (exit $ac_status); } &&
13513	 { ac_try='test -z "$ac_cxx_werror_flag"
13514			 || test ! -s conftest.err'
13515  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516  (eval $ac_try) 2>&5
13517  ac_status=$?
13518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519  (exit $ac_status); }; } &&
13520	 { ac_try='test -s conftest.$ac_objext'
13521  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522  (eval $ac_try) 2>&5
13523  ac_status=$?
13524  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525  (exit $ac_status); }; }; then
13526  glibcxx_cv_func__isinff_use=yes
13527else
13528  echo "$as_me: failed program was:" >&5
13529sed 's/^/| /' conftest.$ac_ext >&5
13530
13531glibcxx_cv_func__isinff_use=no
13532fi
13533rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13534      ac_ext=c
13535ac_cpp='$CPP $CPPFLAGS'
13536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13538ac_compiler_gnu=$ac_cv_c_compiler_gnu
13539
13540
13541fi
13542
13543  fi
13544  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13545echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13546
13547    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13548
13549for ac_func in _isinff
13550do
13551as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13552echo "$as_me:$LINENO: checking for $ac_func" >&5
13553echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13554if eval "test \"\${$as_ac_var+set}\" = set"; then
13555  echo $ECHO_N "(cached) $ECHO_C" >&6
13556else
13557  if test x$gcc_no_link = xyes; then
13558  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13559echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13560   { (exit 1); exit 1; }; }
13561fi
13562cat >conftest.$ac_ext <<_ACEOF
13563/* confdefs.h.  */
13564_ACEOF
13565cat confdefs.h >>conftest.$ac_ext
13566cat >>conftest.$ac_ext <<_ACEOF
13567/* end confdefs.h.  */
13568/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13569   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13570#define $ac_func innocuous_$ac_func
13571
13572/* System header to define __stub macros and hopefully few prototypes,
13573    which can conflict with char $ac_func (); below.
13574    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13575    <limits.h> exists even on freestanding compilers.  */
13576
13577#ifdef __STDC__
13578# include <limits.h>
13579#else
13580# include <assert.h>
13581#endif
13582
13583#undef $ac_func
13584
13585/* Override any gcc2 internal prototype to avoid an error.  */
13586#ifdef __cplusplus
13587extern "C"
13588{
13589#endif
13590/* We use char because int might match the return type of a gcc2
13591   builtin and then its argument prototype would still apply.  */
13592char $ac_func ();
13593/* The GNU C library defines this for functions which it implements
13594    to always fail with ENOSYS.  Some functions are actually named
13595    something starting with __ and the normal name is an alias.  */
13596#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13597choke me
13598#else
13599char (*f) () = $ac_func;
13600#endif
13601#ifdef __cplusplus
13602}
13603#endif
13604
13605int
13606main ()
13607{
13608return f != $ac_func;
13609  ;
13610  return 0;
13611}
13612_ACEOF
13613rm -f conftest.$ac_objext conftest$ac_exeext
13614if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13615  (eval $ac_link) 2>conftest.er1
13616  ac_status=$?
13617  grep -v '^ *+' conftest.er1 >conftest.err
13618  rm -f conftest.er1
13619  cat conftest.err >&5
13620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621  (exit $ac_status); } &&
13622	 { ac_try='test -z "$ac_c_werror_flag"
13623			 || test ! -s conftest.err'
13624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625  (eval $ac_try) 2>&5
13626  ac_status=$?
13627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628  (exit $ac_status); }; } &&
13629	 { ac_try='test -s conftest$ac_exeext'
13630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631  (eval $ac_try) 2>&5
13632  ac_status=$?
13633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634  (exit $ac_status); }; }; then
13635  eval "$as_ac_var=yes"
13636else
13637  echo "$as_me: failed program was:" >&5
13638sed 's/^/| /' conftest.$ac_ext >&5
13639
13640eval "$as_ac_var=no"
13641fi
13642rm -f conftest.err conftest.$ac_objext \
13643      conftest$ac_exeext conftest.$ac_ext
13644fi
13645echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13646echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13647if test `eval echo '${'$as_ac_var'}'` = yes; then
13648  cat >>confdefs.h <<_ACEOF
13649#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13650_ACEOF
13651
13652fi
13653done
13654
13655    fi
13656  fi
13657
13658
13659
13660
13661
13662
13663  echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13664echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13665  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13666    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13667  echo $ECHO_N "(cached) $ECHO_C" >&6
13668else
13669
13670
13671
13672      ac_ext=cc
13673ac_cpp='$CXXCPP $CPPFLAGS'
13674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13677
13678      cat >conftest.$ac_ext <<_ACEOF
13679/* confdefs.h.  */
13680_ACEOF
13681cat confdefs.h >>conftest.$ac_ext
13682cat >>conftest.$ac_ext <<_ACEOF
13683/* end confdefs.h.  */
13684#include <math.h>
13685int
13686main ()
13687{
13688 atan2f(0, 0);
13689  ;
13690  return 0;
13691}
13692_ACEOF
13693rm -f conftest.$ac_objext
13694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13695  (eval $ac_compile) 2>conftest.er1
13696  ac_status=$?
13697  grep -v '^ *+' conftest.er1 >conftest.err
13698  rm -f conftest.er1
13699  cat conftest.err >&5
13700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701  (exit $ac_status); } &&
13702	 { ac_try='test -z "$ac_cxx_werror_flag"
13703			 || test ! -s conftest.err'
13704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705  (eval $ac_try) 2>&5
13706  ac_status=$?
13707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708  (exit $ac_status); }; } &&
13709	 { ac_try='test -s conftest.$ac_objext'
13710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711  (eval $ac_try) 2>&5
13712  ac_status=$?
13713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714  (exit $ac_status); }; }; then
13715  glibcxx_cv_func_atan2f_use=yes
13716else
13717  echo "$as_me: failed program was:" >&5
13718sed 's/^/| /' conftest.$ac_ext >&5
13719
13720glibcxx_cv_func_atan2f_use=no
13721fi
13722rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13723      ac_ext=c
13724ac_cpp='$CPP $CPPFLAGS'
13725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13727ac_compiler_gnu=$ac_cv_c_compiler_gnu
13728
13729
13730fi
13731
13732  fi
13733  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13734echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13735
13736  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13737
13738for ac_func in atan2f
13739do
13740as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13741echo "$as_me:$LINENO: checking for $ac_func" >&5
13742echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13743if eval "test \"\${$as_ac_var+set}\" = set"; then
13744  echo $ECHO_N "(cached) $ECHO_C" >&6
13745else
13746  if test x$gcc_no_link = xyes; then
13747  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13748echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13749   { (exit 1); exit 1; }; }
13750fi
13751cat >conftest.$ac_ext <<_ACEOF
13752/* confdefs.h.  */
13753_ACEOF
13754cat confdefs.h >>conftest.$ac_ext
13755cat >>conftest.$ac_ext <<_ACEOF
13756/* end confdefs.h.  */
13757/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13758   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13759#define $ac_func innocuous_$ac_func
13760
13761/* System header to define __stub macros and hopefully few prototypes,
13762    which can conflict with char $ac_func (); below.
13763    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13764    <limits.h> exists even on freestanding compilers.  */
13765
13766#ifdef __STDC__
13767# include <limits.h>
13768#else
13769# include <assert.h>
13770#endif
13771
13772#undef $ac_func
13773
13774/* Override any gcc2 internal prototype to avoid an error.  */
13775#ifdef __cplusplus
13776extern "C"
13777{
13778#endif
13779/* We use char because int might match the return type of a gcc2
13780   builtin and then its argument prototype would still apply.  */
13781char $ac_func ();
13782/* The GNU C library defines this for functions which it implements
13783    to always fail with ENOSYS.  Some functions are actually named
13784    something starting with __ and the normal name is an alias.  */
13785#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13786choke me
13787#else
13788char (*f) () = $ac_func;
13789#endif
13790#ifdef __cplusplus
13791}
13792#endif
13793
13794int
13795main ()
13796{
13797return f != $ac_func;
13798  ;
13799  return 0;
13800}
13801_ACEOF
13802rm -f conftest.$ac_objext conftest$ac_exeext
13803if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13804  (eval $ac_link) 2>conftest.er1
13805  ac_status=$?
13806  grep -v '^ *+' conftest.er1 >conftest.err
13807  rm -f conftest.er1
13808  cat conftest.err >&5
13809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810  (exit $ac_status); } &&
13811	 { ac_try='test -z "$ac_c_werror_flag"
13812			 || test ! -s conftest.err'
13813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814  (eval $ac_try) 2>&5
13815  ac_status=$?
13816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817  (exit $ac_status); }; } &&
13818	 { ac_try='test -s conftest$ac_exeext'
13819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820  (eval $ac_try) 2>&5
13821  ac_status=$?
13822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823  (exit $ac_status); }; }; then
13824  eval "$as_ac_var=yes"
13825else
13826  echo "$as_me: failed program was:" >&5
13827sed 's/^/| /' conftest.$ac_ext >&5
13828
13829eval "$as_ac_var=no"
13830fi
13831rm -f conftest.err conftest.$ac_objext \
13832      conftest$ac_exeext conftest.$ac_ext
13833fi
13834echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13835echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13836if test `eval echo '${'$as_ac_var'}'` = yes; then
13837  cat >>confdefs.h <<_ACEOF
13838#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13839_ACEOF
13840
13841fi
13842done
13843
13844  else
13845
13846  echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13847echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13848  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13849    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13850  echo $ECHO_N "(cached) $ECHO_C" >&6
13851else
13852
13853
13854
13855      ac_ext=cc
13856ac_cpp='$CXXCPP $CPPFLAGS'
13857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13860
13861      cat >conftest.$ac_ext <<_ACEOF
13862/* confdefs.h.  */
13863_ACEOF
13864cat confdefs.h >>conftest.$ac_ext
13865cat >>conftest.$ac_ext <<_ACEOF
13866/* end confdefs.h.  */
13867#include <math.h>
13868int
13869main ()
13870{
13871 _atan2f(0, 0);
13872  ;
13873  return 0;
13874}
13875_ACEOF
13876rm -f conftest.$ac_objext
13877if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878  (eval $ac_compile) 2>conftest.er1
13879  ac_status=$?
13880  grep -v '^ *+' conftest.er1 >conftest.err
13881  rm -f conftest.er1
13882  cat conftest.err >&5
13883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884  (exit $ac_status); } &&
13885	 { ac_try='test -z "$ac_cxx_werror_flag"
13886			 || test ! -s conftest.err'
13887  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888  (eval $ac_try) 2>&5
13889  ac_status=$?
13890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891  (exit $ac_status); }; } &&
13892	 { ac_try='test -s conftest.$ac_objext'
13893  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894  (eval $ac_try) 2>&5
13895  ac_status=$?
13896  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897  (exit $ac_status); }; }; then
13898  glibcxx_cv_func__atan2f_use=yes
13899else
13900  echo "$as_me: failed program was:" >&5
13901sed 's/^/| /' conftest.$ac_ext >&5
13902
13903glibcxx_cv_func__atan2f_use=no
13904fi
13905rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13906      ac_ext=c
13907ac_cpp='$CPP $CPPFLAGS'
13908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13910ac_compiler_gnu=$ac_cv_c_compiler_gnu
13911
13912
13913fi
13914
13915  fi
13916  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13917echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13918
13919    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13920
13921for ac_func in _atan2f
13922do
13923as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13924echo "$as_me:$LINENO: checking for $ac_func" >&5
13925echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13926if eval "test \"\${$as_ac_var+set}\" = set"; then
13927  echo $ECHO_N "(cached) $ECHO_C" >&6
13928else
13929  if test x$gcc_no_link = xyes; then
13930  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13931echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13932   { (exit 1); exit 1; }; }
13933fi
13934cat >conftest.$ac_ext <<_ACEOF
13935/* confdefs.h.  */
13936_ACEOF
13937cat confdefs.h >>conftest.$ac_ext
13938cat >>conftest.$ac_ext <<_ACEOF
13939/* end confdefs.h.  */
13940/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13941   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13942#define $ac_func innocuous_$ac_func
13943
13944/* System header to define __stub macros and hopefully few prototypes,
13945    which can conflict with char $ac_func (); below.
13946    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13947    <limits.h> exists even on freestanding compilers.  */
13948
13949#ifdef __STDC__
13950# include <limits.h>
13951#else
13952# include <assert.h>
13953#endif
13954
13955#undef $ac_func
13956
13957/* Override any gcc2 internal prototype to avoid an error.  */
13958#ifdef __cplusplus
13959extern "C"
13960{
13961#endif
13962/* We use char because int might match the return type of a gcc2
13963   builtin and then its argument prototype would still apply.  */
13964char $ac_func ();
13965/* The GNU C library defines this for functions which it implements
13966    to always fail with ENOSYS.  Some functions are actually named
13967    something starting with __ and the normal name is an alias.  */
13968#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13969choke me
13970#else
13971char (*f) () = $ac_func;
13972#endif
13973#ifdef __cplusplus
13974}
13975#endif
13976
13977int
13978main ()
13979{
13980return f != $ac_func;
13981  ;
13982  return 0;
13983}
13984_ACEOF
13985rm -f conftest.$ac_objext conftest$ac_exeext
13986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987  (eval $ac_link) 2>conftest.er1
13988  ac_status=$?
13989  grep -v '^ *+' conftest.er1 >conftest.err
13990  rm -f conftest.er1
13991  cat conftest.err >&5
13992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993  (exit $ac_status); } &&
13994	 { ac_try='test -z "$ac_c_werror_flag"
13995			 || test ! -s conftest.err'
13996  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997  (eval $ac_try) 2>&5
13998  ac_status=$?
13999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000  (exit $ac_status); }; } &&
14001	 { ac_try='test -s conftest$ac_exeext'
14002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003  (eval $ac_try) 2>&5
14004  ac_status=$?
14005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006  (exit $ac_status); }; }; then
14007  eval "$as_ac_var=yes"
14008else
14009  echo "$as_me: failed program was:" >&5
14010sed 's/^/| /' conftest.$ac_ext >&5
14011
14012eval "$as_ac_var=no"
14013fi
14014rm -f conftest.err conftest.$ac_objext \
14015      conftest$ac_exeext conftest.$ac_ext
14016fi
14017echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14018echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14019if test `eval echo '${'$as_ac_var'}'` = yes; then
14020  cat >>confdefs.h <<_ACEOF
14021#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14022_ACEOF
14023
14024fi
14025done
14026
14027    fi
14028  fi
14029
14030
14031
14032
14033
14034
14035  echo "$as_me:$LINENO: checking for fabsf declaration" >&5
14036echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
14037  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
14038    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
14039  echo $ECHO_N "(cached) $ECHO_C" >&6
14040else
14041
14042
14043
14044      ac_ext=cc
14045ac_cpp='$CXXCPP $CPPFLAGS'
14046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14049
14050      cat >conftest.$ac_ext <<_ACEOF
14051/* confdefs.h.  */
14052_ACEOF
14053cat confdefs.h >>conftest.$ac_ext
14054cat >>conftest.$ac_ext <<_ACEOF
14055/* end confdefs.h.  */
14056#include <math.h>
14057		      #ifdef HAVE_IEEEFP_H
14058		      #include <ieeefp.h>
14059		      #endif
14060
14061int
14062main ()
14063{
14064 fabsf(0);
14065  ;
14066  return 0;
14067}
14068_ACEOF
14069rm -f conftest.$ac_objext
14070if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071  (eval $ac_compile) 2>conftest.er1
14072  ac_status=$?
14073  grep -v '^ *+' conftest.er1 >conftest.err
14074  rm -f conftest.er1
14075  cat conftest.err >&5
14076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077  (exit $ac_status); } &&
14078	 { ac_try='test -z "$ac_cxx_werror_flag"
14079			 || test ! -s conftest.err'
14080  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081  (eval $ac_try) 2>&5
14082  ac_status=$?
14083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084  (exit $ac_status); }; } &&
14085	 { ac_try='test -s conftest.$ac_objext'
14086  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087  (eval $ac_try) 2>&5
14088  ac_status=$?
14089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090  (exit $ac_status); }; }; then
14091  glibcxx_cv_func_fabsf_use=yes
14092else
14093  echo "$as_me: failed program was:" >&5
14094sed 's/^/| /' conftest.$ac_ext >&5
14095
14096glibcxx_cv_func_fabsf_use=no
14097fi
14098rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14099      ac_ext=c
14100ac_cpp='$CPP $CPPFLAGS'
14101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14103ac_compiler_gnu=$ac_cv_c_compiler_gnu
14104
14105
14106fi
14107
14108  fi
14109  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
14110echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
14111
14112  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
14113
14114for ac_func in fabsf
14115do
14116as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14117echo "$as_me:$LINENO: checking for $ac_func" >&5
14118echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14119if eval "test \"\${$as_ac_var+set}\" = set"; then
14120  echo $ECHO_N "(cached) $ECHO_C" >&6
14121else
14122  if test x$gcc_no_link = xyes; then
14123  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14124echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14125   { (exit 1); exit 1; }; }
14126fi
14127cat >conftest.$ac_ext <<_ACEOF
14128/* confdefs.h.  */
14129_ACEOF
14130cat confdefs.h >>conftest.$ac_ext
14131cat >>conftest.$ac_ext <<_ACEOF
14132/* end confdefs.h.  */
14133/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14134   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14135#define $ac_func innocuous_$ac_func
14136
14137/* System header to define __stub macros and hopefully few prototypes,
14138    which can conflict with char $ac_func (); below.
14139    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14140    <limits.h> exists even on freestanding compilers.  */
14141
14142#ifdef __STDC__
14143# include <limits.h>
14144#else
14145# include <assert.h>
14146#endif
14147
14148#undef $ac_func
14149
14150/* Override any gcc2 internal prototype to avoid an error.  */
14151#ifdef __cplusplus
14152extern "C"
14153{
14154#endif
14155/* We use char because int might match the return type of a gcc2
14156   builtin and then its argument prototype would still apply.  */
14157char $ac_func ();
14158/* The GNU C library defines this for functions which it implements
14159    to always fail with ENOSYS.  Some functions are actually named
14160    something starting with __ and the normal name is an alias.  */
14161#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14162choke me
14163#else
14164char (*f) () = $ac_func;
14165#endif
14166#ifdef __cplusplus
14167}
14168#endif
14169
14170int
14171main ()
14172{
14173return f != $ac_func;
14174  ;
14175  return 0;
14176}
14177_ACEOF
14178rm -f conftest.$ac_objext conftest$ac_exeext
14179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14180  (eval $ac_link) 2>conftest.er1
14181  ac_status=$?
14182  grep -v '^ *+' conftest.er1 >conftest.err
14183  rm -f conftest.er1
14184  cat conftest.err >&5
14185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186  (exit $ac_status); } &&
14187	 { ac_try='test -z "$ac_c_werror_flag"
14188			 || test ! -s conftest.err'
14189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190  (eval $ac_try) 2>&5
14191  ac_status=$?
14192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193  (exit $ac_status); }; } &&
14194	 { ac_try='test -s conftest$ac_exeext'
14195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196  (eval $ac_try) 2>&5
14197  ac_status=$?
14198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199  (exit $ac_status); }; }; then
14200  eval "$as_ac_var=yes"
14201else
14202  echo "$as_me: failed program was:" >&5
14203sed 's/^/| /' conftest.$ac_ext >&5
14204
14205eval "$as_ac_var=no"
14206fi
14207rm -f conftest.err conftest.$ac_objext \
14208      conftest$ac_exeext conftest.$ac_ext
14209fi
14210echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14211echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14212if test `eval echo '${'$as_ac_var'}'` = yes; then
14213  cat >>confdefs.h <<_ACEOF
14214#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14215_ACEOF
14216
14217fi
14218done
14219
14220  else
14221
14222  echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14223echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14224  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14225    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14226  echo $ECHO_N "(cached) $ECHO_C" >&6
14227else
14228
14229
14230
14231      ac_ext=cc
14232ac_cpp='$CXXCPP $CPPFLAGS'
14233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14236
14237      cat >conftest.$ac_ext <<_ACEOF
14238/* confdefs.h.  */
14239_ACEOF
14240cat confdefs.h >>conftest.$ac_ext
14241cat >>conftest.$ac_ext <<_ACEOF
14242/* end confdefs.h.  */
14243#include <math.h>
14244		      #ifdef HAVE_IEEEFP_H
14245		      #include <ieeefp.h>
14246		      #endif
14247
14248int
14249main ()
14250{
14251 _fabsf(0);
14252  ;
14253  return 0;
14254}
14255_ACEOF
14256rm -f conftest.$ac_objext
14257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14258  (eval $ac_compile) 2>conftest.er1
14259  ac_status=$?
14260  grep -v '^ *+' conftest.er1 >conftest.err
14261  rm -f conftest.er1
14262  cat conftest.err >&5
14263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264  (exit $ac_status); } &&
14265	 { ac_try='test -z "$ac_cxx_werror_flag"
14266			 || test ! -s conftest.err'
14267  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268  (eval $ac_try) 2>&5
14269  ac_status=$?
14270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271  (exit $ac_status); }; } &&
14272	 { ac_try='test -s conftest.$ac_objext'
14273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274  (eval $ac_try) 2>&5
14275  ac_status=$?
14276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277  (exit $ac_status); }; }; then
14278  glibcxx_cv_func__fabsf_use=yes
14279else
14280  echo "$as_me: failed program was:" >&5
14281sed 's/^/| /' conftest.$ac_ext >&5
14282
14283glibcxx_cv_func__fabsf_use=no
14284fi
14285rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14286      ac_ext=c
14287ac_cpp='$CPP $CPPFLAGS'
14288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14290ac_compiler_gnu=$ac_cv_c_compiler_gnu
14291
14292
14293fi
14294
14295  fi
14296  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14297echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14298
14299    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14300
14301for ac_func in _fabsf
14302do
14303as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14304echo "$as_me:$LINENO: checking for $ac_func" >&5
14305echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14306if eval "test \"\${$as_ac_var+set}\" = set"; then
14307  echo $ECHO_N "(cached) $ECHO_C" >&6
14308else
14309  if test x$gcc_no_link = xyes; then
14310  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14311echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14312   { (exit 1); exit 1; }; }
14313fi
14314cat >conftest.$ac_ext <<_ACEOF
14315/* confdefs.h.  */
14316_ACEOF
14317cat confdefs.h >>conftest.$ac_ext
14318cat >>conftest.$ac_ext <<_ACEOF
14319/* end confdefs.h.  */
14320/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14321   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14322#define $ac_func innocuous_$ac_func
14323
14324/* System header to define __stub macros and hopefully few prototypes,
14325    which can conflict with char $ac_func (); below.
14326    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14327    <limits.h> exists even on freestanding compilers.  */
14328
14329#ifdef __STDC__
14330# include <limits.h>
14331#else
14332# include <assert.h>
14333#endif
14334
14335#undef $ac_func
14336
14337/* Override any gcc2 internal prototype to avoid an error.  */
14338#ifdef __cplusplus
14339extern "C"
14340{
14341#endif
14342/* We use char because int might match the return type of a gcc2
14343   builtin and then its argument prototype would still apply.  */
14344char $ac_func ();
14345/* The GNU C library defines this for functions which it implements
14346    to always fail with ENOSYS.  Some functions are actually named
14347    something starting with __ and the normal name is an alias.  */
14348#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14349choke me
14350#else
14351char (*f) () = $ac_func;
14352#endif
14353#ifdef __cplusplus
14354}
14355#endif
14356
14357int
14358main ()
14359{
14360return f != $ac_func;
14361  ;
14362  return 0;
14363}
14364_ACEOF
14365rm -f conftest.$ac_objext conftest$ac_exeext
14366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14367  (eval $ac_link) 2>conftest.er1
14368  ac_status=$?
14369  grep -v '^ *+' conftest.er1 >conftest.err
14370  rm -f conftest.er1
14371  cat conftest.err >&5
14372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373  (exit $ac_status); } &&
14374	 { ac_try='test -z "$ac_c_werror_flag"
14375			 || test ! -s conftest.err'
14376  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377  (eval $ac_try) 2>&5
14378  ac_status=$?
14379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380  (exit $ac_status); }; } &&
14381	 { ac_try='test -s conftest$ac_exeext'
14382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14383  (eval $ac_try) 2>&5
14384  ac_status=$?
14385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386  (exit $ac_status); }; }; then
14387  eval "$as_ac_var=yes"
14388else
14389  echo "$as_me: failed program was:" >&5
14390sed 's/^/| /' conftest.$ac_ext >&5
14391
14392eval "$as_ac_var=no"
14393fi
14394rm -f conftest.err conftest.$ac_objext \
14395      conftest$ac_exeext conftest.$ac_ext
14396fi
14397echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14398echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14399if test `eval echo '${'$as_ac_var'}'` = yes; then
14400  cat >>confdefs.h <<_ACEOF
14401#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14402_ACEOF
14403
14404fi
14405done
14406
14407    fi
14408  fi
14409
14410
14411
14412
14413
14414
14415  echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14416echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14417  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14418    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14419  echo $ECHO_N "(cached) $ECHO_C" >&6
14420else
14421
14422
14423
14424      ac_ext=cc
14425ac_cpp='$CXXCPP $CPPFLAGS'
14426ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14429
14430      cat >conftest.$ac_ext <<_ACEOF
14431/* confdefs.h.  */
14432_ACEOF
14433cat confdefs.h >>conftest.$ac_ext
14434cat >>conftest.$ac_ext <<_ACEOF
14435/* end confdefs.h.  */
14436#include <math.h>
14437int
14438main ()
14439{
14440 fmodf(0, 0);
14441  ;
14442  return 0;
14443}
14444_ACEOF
14445rm -f conftest.$ac_objext
14446if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447  (eval $ac_compile) 2>conftest.er1
14448  ac_status=$?
14449  grep -v '^ *+' conftest.er1 >conftest.err
14450  rm -f conftest.er1
14451  cat conftest.err >&5
14452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453  (exit $ac_status); } &&
14454	 { ac_try='test -z "$ac_cxx_werror_flag"
14455			 || test ! -s conftest.err'
14456  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457  (eval $ac_try) 2>&5
14458  ac_status=$?
14459  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460  (exit $ac_status); }; } &&
14461	 { ac_try='test -s conftest.$ac_objext'
14462  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463  (eval $ac_try) 2>&5
14464  ac_status=$?
14465  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466  (exit $ac_status); }; }; then
14467  glibcxx_cv_func_fmodf_use=yes
14468else
14469  echo "$as_me: failed program was:" >&5
14470sed 's/^/| /' conftest.$ac_ext >&5
14471
14472glibcxx_cv_func_fmodf_use=no
14473fi
14474rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14475      ac_ext=c
14476ac_cpp='$CPP $CPPFLAGS'
14477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14479ac_compiler_gnu=$ac_cv_c_compiler_gnu
14480
14481
14482fi
14483
14484  fi
14485  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14486echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14487
14488  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14489
14490for ac_func in fmodf
14491do
14492as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14493echo "$as_me:$LINENO: checking for $ac_func" >&5
14494echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14495if eval "test \"\${$as_ac_var+set}\" = set"; then
14496  echo $ECHO_N "(cached) $ECHO_C" >&6
14497else
14498  if test x$gcc_no_link = xyes; then
14499  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14500echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14501   { (exit 1); exit 1; }; }
14502fi
14503cat >conftest.$ac_ext <<_ACEOF
14504/* confdefs.h.  */
14505_ACEOF
14506cat confdefs.h >>conftest.$ac_ext
14507cat >>conftest.$ac_ext <<_ACEOF
14508/* end confdefs.h.  */
14509/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14510   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14511#define $ac_func innocuous_$ac_func
14512
14513/* System header to define __stub macros and hopefully few prototypes,
14514    which can conflict with char $ac_func (); below.
14515    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14516    <limits.h> exists even on freestanding compilers.  */
14517
14518#ifdef __STDC__
14519# include <limits.h>
14520#else
14521# include <assert.h>
14522#endif
14523
14524#undef $ac_func
14525
14526/* Override any gcc2 internal prototype to avoid an error.  */
14527#ifdef __cplusplus
14528extern "C"
14529{
14530#endif
14531/* We use char because int might match the return type of a gcc2
14532   builtin and then its argument prototype would still apply.  */
14533char $ac_func ();
14534/* The GNU C library defines this for functions which it implements
14535    to always fail with ENOSYS.  Some functions are actually named
14536    something starting with __ and the normal name is an alias.  */
14537#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14538choke me
14539#else
14540char (*f) () = $ac_func;
14541#endif
14542#ifdef __cplusplus
14543}
14544#endif
14545
14546int
14547main ()
14548{
14549return f != $ac_func;
14550  ;
14551  return 0;
14552}
14553_ACEOF
14554rm -f conftest.$ac_objext conftest$ac_exeext
14555if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14556  (eval $ac_link) 2>conftest.er1
14557  ac_status=$?
14558  grep -v '^ *+' conftest.er1 >conftest.err
14559  rm -f conftest.er1
14560  cat conftest.err >&5
14561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562  (exit $ac_status); } &&
14563	 { ac_try='test -z "$ac_c_werror_flag"
14564			 || test ! -s conftest.err'
14565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566  (eval $ac_try) 2>&5
14567  ac_status=$?
14568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569  (exit $ac_status); }; } &&
14570	 { ac_try='test -s conftest$ac_exeext'
14571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572  (eval $ac_try) 2>&5
14573  ac_status=$?
14574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575  (exit $ac_status); }; }; then
14576  eval "$as_ac_var=yes"
14577else
14578  echo "$as_me: failed program was:" >&5
14579sed 's/^/| /' conftest.$ac_ext >&5
14580
14581eval "$as_ac_var=no"
14582fi
14583rm -f conftest.err conftest.$ac_objext \
14584      conftest$ac_exeext conftest.$ac_ext
14585fi
14586echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14587echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14588if test `eval echo '${'$as_ac_var'}'` = yes; then
14589  cat >>confdefs.h <<_ACEOF
14590#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14591_ACEOF
14592
14593fi
14594done
14595
14596  else
14597
14598  echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14599echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14600  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14601    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14602  echo $ECHO_N "(cached) $ECHO_C" >&6
14603else
14604
14605
14606
14607      ac_ext=cc
14608ac_cpp='$CXXCPP $CPPFLAGS'
14609ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14610ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14611ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14612
14613      cat >conftest.$ac_ext <<_ACEOF
14614/* confdefs.h.  */
14615_ACEOF
14616cat confdefs.h >>conftest.$ac_ext
14617cat >>conftest.$ac_ext <<_ACEOF
14618/* end confdefs.h.  */
14619#include <math.h>
14620int
14621main ()
14622{
14623 _fmodf(0, 0);
14624  ;
14625  return 0;
14626}
14627_ACEOF
14628rm -f conftest.$ac_objext
14629if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14630  (eval $ac_compile) 2>conftest.er1
14631  ac_status=$?
14632  grep -v '^ *+' conftest.er1 >conftest.err
14633  rm -f conftest.er1
14634  cat conftest.err >&5
14635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636  (exit $ac_status); } &&
14637	 { ac_try='test -z "$ac_cxx_werror_flag"
14638			 || test ! -s conftest.err'
14639  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640  (eval $ac_try) 2>&5
14641  ac_status=$?
14642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643  (exit $ac_status); }; } &&
14644	 { ac_try='test -s conftest.$ac_objext'
14645  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646  (eval $ac_try) 2>&5
14647  ac_status=$?
14648  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649  (exit $ac_status); }; }; then
14650  glibcxx_cv_func__fmodf_use=yes
14651else
14652  echo "$as_me: failed program was:" >&5
14653sed 's/^/| /' conftest.$ac_ext >&5
14654
14655glibcxx_cv_func__fmodf_use=no
14656fi
14657rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14658      ac_ext=c
14659ac_cpp='$CPP $CPPFLAGS'
14660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14662ac_compiler_gnu=$ac_cv_c_compiler_gnu
14663
14664
14665fi
14666
14667  fi
14668  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14669echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14670
14671    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14672
14673for ac_func in _fmodf
14674do
14675as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14676echo "$as_me:$LINENO: checking for $ac_func" >&5
14677echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14678if eval "test \"\${$as_ac_var+set}\" = set"; then
14679  echo $ECHO_N "(cached) $ECHO_C" >&6
14680else
14681  if test x$gcc_no_link = xyes; then
14682  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14683echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14684   { (exit 1); exit 1; }; }
14685fi
14686cat >conftest.$ac_ext <<_ACEOF
14687/* confdefs.h.  */
14688_ACEOF
14689cat confdefs.h >>conftest.$ac_ext
14690cat >>conftest.$ac_ext <<_ACEOF
14691/* end confdefs.h.  */
14692/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14693   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14694#define $ac_func innocuous_$ac_func
14695
14696/* System header to define __stub macros and hopefully few prototypes,
14697    which can conflict with char $ac_func (); below.
14698    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14699    <limits.h> exists even on freestanding compilers.  */
14700
14701#ifdef __STDC__
14702# include <limits.h>
14703#else
14704# include <assert.h>
14705#endif
14706
14707#undef $ac_func
14708
14709/* Override any gcc2 internal prototype to avoid an error.  */
14710#ifdef __cplusplus
14711extern "C"
14712{
14713#endif
14714/* We use char because int might match the return type of a gcc2
14715   builtin and then its argument prototype would still apply.  */
14716char $ac_func ();
14717/* The GNU C library defines this for functions which it implements
14718    to always fail with ENOSYS.  Some functions are actually named
14719    something starting with __ and the normal name is an alias.  */
14720#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14721choke me
14722#else
14723char (*f) () = $ac_func;
14724#endif
14725#ifdef __cplusplus
14726}
14727#endif
14728
14729int
14730main ()
14731{
14732return f != $ac_func;
14733  ;
14734  return 0;
14735}
14736_ACEOF
14737rm -f conftest.$ac_objext conftest$ac_exeext
14738if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14739  (eval $ac_link) 2>conftest.er1
14740  ac_status=$?
14741  grep -v '^ *+' conftest.er1 >conftest.err
14742  rm -f conftest.er1
14743  cat conftest.err >&5
14744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745  (exit $ac_status); } &&
14746	 { ac_try='test -z "$ac_c_werror_flag"
14747			 || test ! -s conftest.err'
14748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749  (eval $ac_try) 2>&5
14750  ac_status=$?
14751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752  (exit $ac_status); }; } &&
14753	 { ac_try='test -s conftest$ac_exeext'
14754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755  (eval $ac_try) 2>&5
14756  ac_status=$?
14757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758  (exit $ac_status); }; }; then
14759  eval "$as_ac_var=yes"
14760else
14761  echo "$as_me: failed program was:" >&5
14762sed 's/^/| /' conftest.$ac_ext >&5
14763
14764eval "$as_ac_var=no"
14765fi
14766rm -f conftest.err conftest.$ac_objext \
14767      conftest$ac_exeext conftest.$ac_ext
14768fi
14769echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14770echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14771if test `eval echo '${'$as_ac_var'}'` = yes; then
14772  cat >>confdefs.h <<_ACEOF
14773#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14774_ACEOF
14775
14776fi
14777done
14778
14779    fi
14780  fi
14781
14782
14783
14784
14785
14786
14787  echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14788echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14789  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14790    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14791  echo $ECHO_N "(cached) $ECHO_C" >&6
14792else
14793
14794
14795
14796      ac_ext=cc
14797ac_cpp='$CXXCPP $CPPFLAGS'
14798ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14801
14802      cat >conftest.$ac_ext <<_ACEOF
14803/* confdefs.h.  */
14804_ACEOF
14805cat confdefs.h >>conftest.$ac_ext
14806cat >>conftest.$ac_ext <<_ACEOF
14807/* end confdefs.h.  */
14808#include <math.h>
14809int
14810main ()
14811{
14812 frexpf(0, 0);
14813  ;
14814  return 0;
14815}
14816_ACEOF
14817rm -f conftest.$ac_objext
14818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819  (eval $ac_compile) 2>conftest.er1
14820  ac_status=$?
14821  grep -v '^ *+' conftest.er1 >conftest.err
14822  rm -f conftest.er1
14823  cat conftest.err >&5
14824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825  (exit $ac_status); } &&
14826	 { ac_try='test -z "$ac_cxx_werror_flag"
14827			 || test ! -s conftest.err'
14828  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829  (eval $ac_try) 2>&5
14830  ac_status=$?
14831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832  (exit $ac_status); }; } &&
14833	 { ac_try='test -s conftest.$ac_objext'
14834  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835  (eval $ac_try) 2>&5
14836  ac_status=$?
14837  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838  (exit $ac_status); }; }; then
14839  glibcxx_cv_func_frexpf_use=yes
14840else
14841  echo "$as_me: failed program was:" >&5
14842sed 's/^/| /' conftest.$ac_ext >&5
14843
14844glibcxx_cv_func_frexpf_use=no
14845fi
14846rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14847      ac_ext=c
14848ac_cpp='$CPP $CPPFLAGS'
14849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851ac_compiler_gnu=$ac_cv_c_compiler_gnu
14852
14853
14854fi
14855
14856  fi
14857  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14858echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14859
14860  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14861
14862for ac_func in frexpf
14863do
14864as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14865echo "$as_me:$LINENO: checking for $ac_func" >&5
14866echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14867if eval "test \"\${$as_ac_var+set}\" = set"; then
14868  echo $ECHO_N "(cached) $ECHO_C" >&6
14869else
14870  if test x$gcc_no_link = xyes; then
14871  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14872echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14873   { (exit 1); exit 1; }; }
14874fi
14875cat >conftest.$ac_ext <<_ACEOF
14876/* confdefs.h.  */
14877_ACEOF
14878cat confdefs.h >>conftest.$ac_ext
14879cat >>conftest.$ac_ext <<_ACEOF
14880/* end confdefs.h.  */
14881/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14882   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14883#define $ac_func innocuous_$ac_func
14884
14885/* System header to define __stub macros and hopefully few prototypes,
14886    which can conflict with char $ac_func (); below.
14887    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14888    <limits.h> exists even on freestanding compilers.  */
14889
14890#ifdef __STDC__
14891# include <limits.h>
14892#else
14893# include <assert.h>
14894#endif
14895
14896#undef $ac_func
14897
14898/* Override any gcc2 internal prototype to avoid an error.  */
14899#ifdef __cplusplus
14900extern "C"
14901{
14902#endif
14903/* We use char because int might match the return type of a gcc2
14904   builtin and then its argument prototype would still apply.  */
14905char $ac_func ();
14906/* The GNU C library defines this for functions which it implements
14907    to always fail with ENOSYS.  Some functions are actually named
14908    something starting with __ and the normal name is an alias.  */
14909#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14910choke me
14911#else
14912char (*f) () = $ac_func;
14913#endif
14914#ifdef __cplusplus
14915}
14916#endif
14917
14918int
14919main ()
14920{
14921return f != $ac_func;
14922  ;
14923  return 0;
14924}
14925_ACEOF
14926rm -f conftest.$ac_objext conftest$ac_exeext
14927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14928  (eval $ac_link) 2>conftest.er1
14929  ac_status=$?
14930  grep -v '^ *+' conftest.er1 >conftest.err
14931  rm -f conftest.er1
14932  cat conftest.err >&5
14933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934  (exit $ac_status); } &&
14935	 { ac_try='test -z "$ac_c_werror_flag"
14936			 || test ! -s conftest.err'
14937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938  (eval $ac_try) 2>&5
14939  ac_status=$?
14940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941  (exit $ac_status); }; } &&
14942	 { ac_try='test -s conftest$ac_exeext'
14943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944  (eval $ac_try) 2>&5
14945  ac_status=$?
14946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947  (exit $ac_status); }; }; then
14948  eval "$as_ac_var=yes"
14949else
14950  echo "$as_me: failed program was:" >&5
14951sed 's/^/| /' conftest.$ac_ext >&5
14952
14953eval "$as_ac_var=no"
14954fi
14955rm -f conftest.err conftest.$ac_objext \
14956      conftest$ac_exeext conftest.$ac_ext
14957fi
14958echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14959echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14960if test `eval echo '${'$as_ac_var'}'` = yes; then
14961  cat >>confdefs.h <<_ACEOF
14962#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14963_ACEOF
14964
14965fi
14966done
14967
14968  else
14969
14970  echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14971echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14972  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14973    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14974  echo $ECHO_N "(cached) $ECHO_C" >&6
14975else
14976
14977
14978
14979      ac_ext=cc
14980ac_cpp='$CXXCPP $CPPFLAGS'
14981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14984
14985      cat >conftest.$ac_ext <<_ACEOF
14986/* confdefs.h.  */
14987_ACEOF
14988cat confdefs.h >>conftest.$ac_ext
14989cat >>conftest.$ac_ext <<_ACEOF
14990/* end confdefs.h.  */
14991#include <math.h>
14992int
14993main ()
14994{
14995 _frexpf(0, 0);
14996  ;
14997  return 0;
14998}
14999_ACEOF
15000rm -f conftest.$ac_objext
15001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002  (eval $ac_compile) 2>conftest.er1
15003  ac_status=$?
15004  grep -v '^ *+' conftest.er1 >conftest.err
15005  rm -f conftest.er1
15006  cat conftest.err >&5
15007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008  (exit $ac_status); } &&
15009	 { ac_try='test -z "$ac_cxx_werror_flag"
15010			 || test ! -s conftest.err'
15011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012  (eval $ac_try) 2>&5
15013  ac_status=$?
15014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015  (exit $ac_status); }; } &&
15016	 { ac_try='test -s conftest.$ac_objext'
15017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018  (eval $ac_try) 2>&5
15019  ac_status=$?
15020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021  (exit $ac_status); }; }; then
15022  glibcxx_cv_func__frexpf_use=yes
15023else
15024  echo "$as_me: failed program was:" >&5
15025sed 's/^/| /' conftest.$ac_ext >&5
15026
15027glibcxx_cv_func__frexpf_use=no
15028fi
15029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15030      ac_ext=c
15031ac_cpp='$CPP $CPPFLAGS'
15032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15034ac_compiler_gnu=$ac_cv_c_compiler_gnu
15035
15036
15037fi
15038
15039  fi
15040  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
15041echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
15042
15043    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
15044
15045for ac_func in _frexpf
15046do
15047as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15048echo "$as_me:$LINENO: checking for $ac_func" >&5
15049echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15050if eval "test \"\${$as_ac_var+set}\" = set"; then
15051  echo $ECHO_N "(cached) $ECHO_C" >&6
15052else
15053  if test x$gcc_no_link = xyes; then
15054  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15055echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15056   { (exit 1); exit 1; }; }
15057fi
15058cat >conftest.$ac_ext <<_ACEOF
15059/* confdefs.h.  */
15060_ACEOF
15061cat confdefs.h >>conftest.$ac_ext
15062cat >>conftest.$ac_ext <<_ACEOF
15063/* end confdefs.h.  */
15064/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15065   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15066#define $ac_func innocuous_$ac_func
15067
15068/* System header to define __stub macros and hopefully few prototypes,
15069    which can conflict with char $ac_func (); below.
15070    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15071    <limits.h> exists even on freestanding compilers.  */
15072
15073#ifdef __STDC__
15074# include <limits.h>
15075#else
15076# include <assert.h>
15077#endif
15078
15079#undef $ac_func
15080
15081/* Override any gcc2 internal prototype to avoid an error.  */
15082#ifdef __cplusplus
15083extern "C"
15084{
15085#endif
15086/* We use char because int might match the return type of a gcc2
15087   builtin and then its argument prototype would still apply.  */
15088char $ac_func ();
15089/* The GNU C library defines this for functions which it implements
15090    to always fail with ENOSYS.  Some functions are actually named
15091    something starting with __ and the normal name is an alias.  */
15092#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15093choke me
15094#else
15095char (*f) () = $ac_func;
15096#endif
15097#ifdef __cplusplus
15098}
15099#endif
15100
15101int
15102main ()
15103{
15104return f != $ac_func;
15105  ;
15106  return 0;
15107}
15108_ACEOF
15109rm -f conftest.$ac_objext conftest$ac_exeext
15110if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15111  (eval $ac_link) 2>conftest.er1
15112  ac_status=$?
15113  grep -v '^ *+' conftest.er1 >conftest.err
15114  rm -f conftest.er1
15115  cat conftest.err >&5
15116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117  (exit $ac_status); } &&
15118	 { ac_try='test -z "$ac_c_werror_flag"
15119			 || test ! -s conftest.err'
15120  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121  (eval $ac_try) 2>&5
15122  ac_status=$?
15123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124  (exit $ac_status); }; } &&
15125	 { ac_try='test -s conftest$ac_exeext'
15126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127  (eval $ac_try) 2>&5
15128  ac_status=$?
15129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130  (exit $ac_status); }; }; then
15131  eval "$as_ac_var=yes"
15132else
15133  echo "$as_me: failed program was:" >&5
15134sed 's/^/| /' conftest.$ac_ext >&5
15135
15136eval "$as_ac_var=no"
15137fi
15138rm -f conftest.err conftest.$ac_objext \
15139      conftest$ac_exeext conftest.$ac_ext
15140fi
15141echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15142echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15143if test `eval echo '${'$as_ac_var'}'` = yes; then
15144  cat >>confdefs.h <<_ACEOF
15145#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15146_ACEOF
15147
15148fi
15149done
15150
15151    fi
15152  fi
15153
15154
15155
15156
15157
15158
15159  echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15160echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15161  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15162    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15163  echo $ECHO_N "(cached) $ECHO_C" >&6
15164else
15165
15166
15167
15168      ac_ext=cc
15169ac_cpp='$CXXCPP $CPPFLAGS'
15170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15173
15174      cat >conftest.$ac_ext <<_ACEOF
15175/* confdefs.h.  */
15176_ACEOF
15177cat confdefs.h >>conftest.$ac_ext
15178cat >>conftest.$ac_ext <<_ACEOF
15179/* end confdefs.h.  */
15180#include <math.h>
15181int
15182main ()
15183{
15184 hypotf(0, 0);
15185  ;
15186  return 0;
15187}
15188_ACEOF
15189rm -f conftest.$ac_objext
15190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15191  (eval $ac_compile) 2>conftest.er1
15192  ac_status=$?
15193  grep -v '^ *+' conftest.er1 >conftest.err
15194  rm -f conftest.er1
15195  cat conftest.err >&5
15196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197  (exit $ac_status); } &&
15198	 { ac_try='test -z "$ac_cxx_werror_flag"
15199			 || test ! -s conftest.err'
15200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201  (eval $ac_try) 2>&5
15202  ac_status=$?
15203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204  (exit $ac_status); }; } &&
15205	 { ac_try='test -s conftest.$ac_objext'
15206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207  (eval $ac_try) 2>&5
15208  ac_status=$?
15209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210  (exit $ac_status); }; }; then
15211  glibcxx_cv_func_hypotf_use=yes
15212else
15213  echo "$as_me: failed program was:" >&5
15214sed 's/^/| /' conftest.$ac_ext >&5
15215
15216glibcxx_cv_func_hypotf_use=no
15217fi
15218rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15219      ac_ext=c
15220ac_cpp='$CPP $CPPFLAGS'
15221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223ac_compiler_gnu=$ac_cv_c_compiler_gnu
15224
15225
15226fi
15227
15228  fi
15229  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15230echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15231
15232  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15233
15234for ac_func in hypotf
15235do
15236as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15237echo "$as_me:$LINENO: checking for $ac_func" >&5
15238echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15239if eval "test \"\${$as_ac_var+set}\" = set"; then
15240  echo $ECHO_N "(cached) $ECHO_C" >&6
15241else
15242  if test x$gcc_no_link = xyes; then
15243  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15244echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15245   { (exit 1); exit 1; }; }
15246fi
15247cat >conftest.$ac_ext <<_ACEOF
15248/* confdefs.h.  */
15249_ACEOF
15250cat confdefs.h >>conftest.$ac_ext
15251cat >>conftest.$ac_ext <<_ACEOF
15252/* end confdefs.h.  */
15253/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15254   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15255#define $ac_func innocuous_$ac_func
15256
15257/* System header to define __stub macros and hopefully few prototypes,
15258    which can conflict with char $ac_func (); below.
15259    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15260    <limits.h> exists even on freestanding compilers.  */
15261
15262#ifdef __STDC__
15263# include <limits.h>
15264#else
15265# include <assert.h>
15266#endif
15267
15268#undef $ac_func
15269
15270/* Override any gcc2 internal prototype to avoid an error.  */
15271#ifdef __cplusplus
15272extern "C"
15273{
15274#endif
15275/* We use char because int might match the return type of a gcc2
15276   builtin and then its argument prototype would still apply.  */
15277char $ac_func ();
15278/* The GNU C library defines this for functions which it implements
15279    to always fail with ENOSYS.  Some functions are actually named
15280    something starting with __ and the normal name is an alias.  */
15281#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15282choke me
15283#else
15284char (*f) () = $ac_func;
15285#endif
15286#ifdef __cplusplus
15287}
15288#endif
15289
15290int
15291main ()
15292{
15293return f != $ac_func;
15294  ;
15295  return 0;
15296}
15297_ACEOF
15298rm -f conftest.$ac_objext conftest$ac_exeext
15299if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15300  (eval $ac_link) 2>conftest.er1
15301  ac_status=$?
15302  grep -v '^ *+' conftest.er1 >conftest.err
15303  rm -f conftest.er1
15304  cat conftest.err >&5
15305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306  (exit $ac_status); } &&
15307	 { ac_try='test -z "$ac_c_werror_flag"
15308			 || test ! -s conftest.err'
15309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310  (eval $ac_try) 2>&5
15311  ac_status=$?
15312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313  (exit $ac_status); }; } &&
15314	 { ac_try='test -s conftest$ac_exeext'
15315  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316  (eval $ac_try) 2>&5
15317  ac_status=$?
15318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319  (exit $ac_status); }; }; then
15320  eval "$as_ac_var=yes"
15321else
15322  echo "$as_me: failed program was:" >&5
15323sed 's/^/| /' conftest.$ac_ext >&5
15324
15325eval "$as_ac_var=no"
15326fi
15327rm -f conftest.err conftest.$ac_objext \
15328      conftest$ac_exeext conftest.$ac_ext
15329fi
15330echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15331echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15332if test `eval echo '${'$as_ac_var'}'` = yes; then
15333  cat >>confdefs.h <<_ACEOF
15334#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15335_ACEOF
15336
15337fi
15338done
15339
15340  else
15341
15342  echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15343echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15344  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15345    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15346  echo $ECHO_N "(cached) $ECHO_C" >&6
15347else
15348
15349
15350
15351      ac_ext=cc
15352ac_cpp='$CXXCPP $CPPFLAGS'
15353ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15356
15357      cat >conftest.$ac_ext <<_ACEOF
15358/* confdefs.h.  */
15359_ACEOF
15360cat confdefs.h >>conftest.$ac_ext
15361cat >>conftest.$ac_ext <<_ACEOF
15362/* end confdefs.h.  */
15363#include <math.h>
15364int
15365main ()
15366{
15367 _hypotf(0, 0);
15368  ;
15369  return 0;
15370}
15371_ACEOF
15372rm -f conftest.$ac_objext
15373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374  (eval $ac_compile) 2>conftest.er1
15375  ac_status=$?
15376  grep -v '^ *+' conftest.er1 >conftest.err
15377  rm -f conftest.er1
15378  cat conftest.err >&5
15379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380  (exit $ac_status); } &&
15381	 { ac_try='test -z "$ac_cxx_werror_flag"
15382			 || test ! -s conftest.err'
15383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384  (eval $ac_try) 2>&5
15385  ac_status=$?
15386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387  (exit $ac_status); }; } &&
15388	 { ac_try='test -s conftest.$ac_objext'
15389  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390  (eval $ac_try) 2>&5
15391  ac_status=$?
15392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393  (exit $ac_status); }; }; then
15394  glibcxx_cv_func__hypotf_use=yes
15395else
15396  echo "$as_me: failed program was:" >&5
15397sed 's/^/| /' conftest.$ac_ext >&5
15398
15399glibcxx_cv_func__hypotf_use=no
15400fi
15401rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15402      ac_ext=c
15403ac_cpp='$CPP $CPPFLAGS'
15404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406ac_compiler_gnu=$ac_cv_c_compiler_gnu
15407
15408
15409fi
15410
15411  fi
15412  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15413echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15414
15415    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15416
15417for ac_func in _hypotf
15418do
15419as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15420echo "$as_me:$LINENO: checking for $ac_func" >&5
15421echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15422if eval "test \"\${$as_ac_var+set}\" = set"; then
15423  echo $ECHO_N "(cached) $ECHO_C" >&6
15424else
15425  if test x$gcc_no_link = xyes; then
15426  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15427echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15428   { (exit 1); exit 1; }; }
15429fi
15430cat >conftest.$ac_ext <<_ACEOF
15431/* confdefs.h.  */
15432_ACEOF
15433cat confdefs.h >>conftest.$ac_ext
15434cat >>conftest.$ac_ext <<_ACEOF
15435/* end confdefs.h.  */
15436/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15437   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15438#define $ac_func innocuous_$ac_func
15439
15440/* System header to define __stub macros and hopefully few prototypes,
15441    which can conflict with char $ac_func (); below.
15442    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15443    <limits.h> exists even on freestanding compilers.  */
15444
15445#ifdef __STDC__
15446# include <limits.h>
15447#else
15448# include <assert.h>
15449#endif
15450
15451#undef $ac_func
15452
15453/* Override any gcc2 internal prototype to avoid an error.  */
15454#ifdef __cplusplus
15455extern "C"
15456{
15457#endif
15458/* We use char because int might match the return type of a gcc2
15459   builtin and then its argument prototype would still apply.  */
15460char $ac_func ();
15461/* The GNU C library defines this for functions which it implements
15462    to always fail with ENOSYS.  Some functions are actually named
15463    something starting with __ and the normal name is an alias.  */
15464#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15465choke me
15466#else
15467char (*f) () = $ac_func;
15468#endif
15469#ifdef __cplusplus
15470}
15471#endif
15472
15473int
15474main ()
15475{
15476return f != $ac_func;
15477  ;
15478  return 0;
15479}
15480_ACEOF
15481rm -f conftest.$ac_objext conftest$ac_exeext
15482if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15483  (eval $ac_link) 2>conftest.er1
15484  ac_status=$?
15485  grep -v '^ *+' conftest.er1 >conftest.err
15486  rm -f conftest.er1
15487  cat conftest.err >&5
15488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489  (exit $ac_status); } &&
15490	 { ac_try='test -z "$ac_c_werror_flag"
15491			 || test ! -s conftest.err'
15492  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493  (eval $ac_try) 2>&5
15494  ac_status=$?
15495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496  (exit $ac_status); }; } &&
15497	 { ac_try='test -s conftest$ac_exeext'
15498  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499  (eval $ac_try) 2>&5
15500  ac_status=$?
15501  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502  (exit $ac_status); }; }; then
15503  eval "$as_ac_var=yes"
15504else
15505  echo "$as_me: failed program was:" >&5
15506sed 's/^/| /' conftest.$ac_ext >&5
15507
15508eval "$as_ac_var=no"
15509fi
15510rm -f conftest.err conftest.$ac_objext \
15511      conftest$ac_exeext conftest.$ac_ext
15512fi
15513echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15514echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15515if test `eval echo '${'$as_ac_var'}'` = yes; then
15516  cat >>confdefs.h <<_ACEOF
15517#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15518_ACEOF
15519
15520fi
15521done
15522
15523    fi
15524  fi
15525
15526
15527
15528
15529
15530
15531  echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15532echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15533  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15534    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15535  echo $ECHO_N "(cached) $ECHO_C" >&6
15536else
15537
15538
15539
15540      ac_ext=cc
15541ac_cpp='$CXXCPP $CPPFLAGS'
15542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15545
15546      cat >conftest.$ac_ext <<_ACEOF
15547/* confdefs.h.  */
15548_ACEOF
15549cat confdefs.h >>conftest.$ac_ext
15550cat >>conftest.$ac_ext <<_ACEOF
15551/* end confdefs.h.  */
15552#include <math.h>
15553int
15554main ()
15555{
15556 ldexpf(0, 0);
15557  ;
15558  return 0;
15559}
15560_ACEOF
15561rm -f conftest.$ac_objext
15562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15563  (eval $ac_compile) 2>conftest.er1
15564  ac_status=$?
15565  grep -v '^ *+' conftest.er1 >conftest.err
15566  rm -f conftest.er1
15567  cat conftest.err >&5
15568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569  (exit $ac_status); } &&
15570	 { ac_try='test -z "$ac_cxx_werror_flag"
15571			 || test ! -s conftest.err'
15572  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573  (eval $ac_try) 2>&5
15574  ac_status=$?
15575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576  (exit $ac_status); }; } &&
15577	 { ac_try='test -s conftest.$ac_objext'
15578  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579  (eval $ac_try) 2>&5
15580  ac_status=$?
15581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582  (exit $ac_status); }; }; then
15583  glibcxx_cv_func_ldexpf_use=yes
15584else
15585  echo "$as_me: failed program was:" >&5
15586sed 's/^/| /' conftest.$ac_ext >&5
15587
15588glibcxx_cv_func_ldexpf_use=no
15589fi
15590rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15591      ac_ext=c
15592ac_cpp='$CPP $CPPFLAGS'
15593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15595ac_compiler_gnu=$ac_cv_c_compiler_gnu
15596
15597
15598fi
15599
15600  fi
15601  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15602echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15603
15604  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15605
15606for ac_func in ldexpf
15607do
15608as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15609echo "$as_me:$LINENO: checking for $ac_func" >&5
15610echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15611if eval "test \"\${$as_ac_var+set}\" = set"; then
15612  echo $ECHO_N "(cached) $ECHO_C" >&6
15613else
15614  if test x$gcc_no_link = xyes; then
15615  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15616echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15617   { (exit 1); exit 1; }; }
15618fi
15619cat >conftest.$ac_ext <<_ACEOF
15620/* confdefs.h.  */
15621_ACEOF
15622cat confdefs.h >>conftest.$ac_ext
15623cat >>conftest.$ac_ext <<_ACEOF
15624/* end confdefs.h.  */
15625/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15626   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15627#define $ac_func innocuous_$ac_func
15628
15629/* System header to define __stub macros and hopefully few prototypes,
15630    which can conflict with char $ac_func (); below.
15631    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15632    <limits.h> exists even on freestanding compilers.  */
15633
15634#ifdef __STDC__
15635# include <limits.h>
15636#else
15637# include <assert.h>
15638#endif
15639
15640#undef $ac_func
15641
15642/* Override any gcc2 internal prototype to avoid an error.  */
15643#ifdef __cplusplus
15644extern "C"
15645{
15646#endif
15647/* We use char because int might match the return type of a gcc2
15648   builtin and then its argument prototype would still apply.  */
15649char $ac_func ();
15650/* The GNU C library defines this for functions which it implements
15651    to always fail with ENOSYS.  Some functions are actually named
15652    something starting with __ and the normal name is an alias.  */
15653#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15654choke me
15655#else
15656char (*f) () = $ac_func;
15657#endif
15658#ifdef __cplusplus
15659}
15660#endif
15661
15662int
15663main ()
15664{
15665return f != $ac_func;
15666  ;
15667  return 0;
15668}
15669_ACEOF
15670rm -f conftest.$ac_objext conftest$ac_exeext
15671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15672  (eval $ac_link) 2>conftest.er1
15673  ac_status=$?
15674  grep -v '^ *+' conftest.er1 >conftest.err
15675  rm -f conftest.er1
15676  cat conftest.err >&5
15677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678  (exit $ac_status); } &&
15679	 { ac_try='test -z "$ac_c_werror_flag"
15680			 || test ! -s conftest.err'
15681  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682  (eval $ac_try) 2>&5
15683  ac_status=$?
15684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685  (exit $ac_status); }; } &&
15686	 { ac_try='test -s conftest$ac_exeext'
15687  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688  (eval $ac_try) 2>&5
15689  ac_status=$?
15690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691  (exit $ac_status); }; }; then
15692  eval "$as_ac_var=yes"
15693else
15694  echo "$as_me: failed program was:" >&5
15695sed 's/^/| /' conftest.$ac_ext >&5
15696
15697eval "$as_ac_var=no"
15698fi
15699rm -f conftest.err conftest.$ac_objext \
15700      conftest$ac_exeext conftest.$ac_ext
15701fi
15702echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15703echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15704if test `eval echo '${'$as_ac_var'}'` = yes; then
15705  cat >>confdefs.h <<_ACEOF
15706#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15707_ACEOF
15708
15709fi
15710done
15711
15712  else
15713
15714  echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15715echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15716  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15717    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15718  echo $ECHO_N "(cached) $ECHO_C" >&6
15719else
15720
15721
15722
15723      ac_ext=cc
15724ac_cpp='$CXXCPP $CPPFLAGS'
15725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15728
15729      cat >conftest.$ac_ext <<_ACEOF
15730/* confdefs.h.  */
15731_ACEOF
15732cat confdefs.h >>conftest.$ac_ext
15733cat >>conftest.$ac_ext <<_ACEOF
15734/* end confdefs.h.  */
15735#include <math.h>
15736int
15737main ()
15738{
15739 _ldexpf(0, 0);
15740  ;
15741  return 0;
15742}
15743_ACEOF
15744rm -f conftest.$ac_objext
15745if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15746  (eval $ac_compile) 2>conftest.er1
15747  ac_status=$?
15748  grep -v '^ *+' conftest.er1 >conftest.err
15749  rm -f conftest.er1
15750  cat conftest.err >&5
15751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752  (exit $ac_status); } &&
15753	 { ac_try='test -z "$ac_cxx_werror_flag"
15754			 || test ! -s conftest.err'
15755  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756  (eval $ac_try) 2>&5
15757  ac_status=$?
15758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759  (exit $ac_status); }; } &&
15760	 { ac_try='test -s conftest.$ac_objext'
15761  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762  (eval $ac_try) 2>&5
15763  ac_status=$?
15764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765  (exit $ac_status); }; }; then
15766  glibcxx_cv_func__ldexpf_use=yes
15767else
15768  echo "$as_me: failed program was:" >&5
15769sed 's/^/| /' conftest.$ac_ext >&5
15770
15771glibcxx_cv_func__ldexpf_use=no
15772fi
15773rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15774      ac_ext=c
15775ac_cpp='$CPP $CPPFLAGS'
15776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779
15780
15781fi
15782
15783  fi
15784  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15785echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15786
15787    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15788
15789for ac_func in _ldexpf
15790do
15791as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15792echo "$as_me:$LINENO: checking for $ac_func" >&5
15793echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15794if eval "test \"\${$as_ac_var+set}\" = set"; then
15795  echo $ECHO_N "(cached) $ECHO_C" >&6
15796else
15797  if test x$gcc_no_link = xyes; then
15798  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15799echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15800   { (exit 1); exit 1; }; }
15801fi
15802cat >conftest.$ac_ext <<_ACEOF
15803/* confdefs.h.  */
15804_ACEOF
15805cat confdefs.h >>conftest.$ac_ext
15806cat >>conftest.$ac_ext <<_ACEOF
15807/* end confdefs.h.  */
15808/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15809   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15810#define $ac_func innocuous_$ac_func
15811
15812/* System header to define __stub macros and hopefully few prototypes,
15813    which can conflict with char $ac_func (); below.
15814    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15815    <limits.h> exists even on freestanding compilers.  */
15816
15817#ifdef __STDC__
15818# include <limits.h>
15819#else
15820# include <assert.h>
15821#endif
15822
15823#undef $ac_func
15824
15825/* Override any gcc2 internal prototype to avoid an error.  */
15826#ifdef __cplusplus
15827extern "C"
15828{
15829#endif
15830/* We use char because int might match the return type of a gcc2
15831   builtin and then its argument prototype would still apply.  */
15832char $ac_func ();
15833/* The GNU C library defines this for functions which it implements
15834    to always fail with ENOSYS.  Some functions are actually named
15835    something starting with __ and the normal name is an alias.  */
15836#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15837choke me
15838#else
15839char (*f) () = $ac_func;
15840#endif
15841#ifdef __cplusplus
15842}
15843#endif
15844
15845int
15846main ()
15847{
15848return f != $ac_func;
15849  ;
15850  return 0;
15851}
15852_ACEOF
15853rm -f conftest.$ac_objext conftest$ac_exeext
15854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855  (eval $ac_link) 2>conftest.er1
15856  ac_status=$?
15857  grep -v '^ *+' conftest.er1 >conftest.err
15858  rm -f conftest.er1
15859  cat conftest.err >&5
15860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861  (exit $ac_status); } &&
15862	 { ac_try='test -z "$ac_c_werror_flag"
15863			 || test ! -s conftest.err'
15864  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865  (eval $ac_try) 2>&5
15866  ac_status=$?
15867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868  (exit $ac_status); }; } &&
15869	 { ac_try='test -s conftest$ac_exeext'
15870  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871  (eval $ac_try) 2>&5
15872  ac_status=$?
15873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874  (exit $ac_status); }; }; then
15875  eval "$as_ac_var=yes"
15876else
15877  echo "$as_me: failed program was:" >&5
15878sed 's/^/| /' conftest.$ac_ext >&5
15879
15880eval "$as_ac_var=no"
15881fi
15882rm -f conftest.err conftest.$ac_objext \
15883      conftest$ac_exeext conftest.$ac_ext
15884fi
15885echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15886echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15887if test `eval echo '${'$as_ac_var'}'` = yes; then
15888  cat >>confdefs.h <<_ACEOF
15889#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890_ACEOF
15891
15892fi
15893done
15894
15895    fi
15896  fi
15897
15898
15899
15900
15901
15902
15903  echo "$as_me:$LINENO: checking for logf declaration" >&5
15904echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15905  if test x${glibcxx_cv_func_logf_use+set} != xset; then
15906    if test "${glibcxx_cv_func_logf_use+set}" = set; then
15907  echo $ECHO_N "(cached) $ECHO_C" >&6
15908else
15909
15910
15911
15912      ac_ext=cc
15913ac_cpp='$CXXCPP $CPPFLAGS'
15914ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15915ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15916ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15917
15918      cat >conftest.$ac_ext <<_ACEOF
15919/* confdefs.h.  */
15920_ACEOF
15921cat confdefs.h >>conftest.$ac_ext
15922cat >>conftest.$ac_ext <<_ACEOF
15923/* end confdefs.h.  */
15924#include <math.h>
15925		      #ifdef HAVE_IEEEFP_H
15926		      #include <ieeefp.h>
15927		      #endif
15928
15929int
15930main ()
15931{
15932 logf(0);
15933  ;
15934  return 0;
15935}
15936_ACEOF
15937rm -f conftest.$ac_objext
15938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939  (eval $ac_compile) 2>conftest.er1
15940  ac_status=$?
15941  grep -v '^ *+' conftest.er1 >conftest.err
15942  rm -f conftest.er1
15943  cat conftest.err >&5
15944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945  (exit $ac_status); } &&
15946	 { ac_try='test -z "$ac_cxx_werror_flag"
15947			 || test ! -s conftest.err'
15948  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949  (eval $ac_try) 2>&5
15950  ac_status=$?
15951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952  (exit $ac_status); }; } &&
15953	 { ac_try='test -s conftest.$ac_objext'
15954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955  (eval $ac_try) 2>&5
15956  ac_status=$?
15957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958  (exit $ac_status); }; }; then
15959  glibcxx_cv_func_logf_use=yes
15960else
15961  echo "$as_me: failed program was:" >&5
15962sed 's/^/| /' conftest.$ac_ext >&5
15963
15964glibcxx_cv_func_logf_use=no
15965fi
15966rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967      ac_ext=c
15968ac_cpp='$CPP $CPPFLAGS'
15969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15971ac_compiler_gnu=$ac_cv_c_compiler_gnu
15972
15973
15974fi
15975
15976  fi
15977  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15978echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15979
15980  if test x$glibcxx_cv_func_logf_use = x"yes"; then
15981
15982for ac_func in logf
15983do
15984as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15985echo "$as_me:$LINENO: checking for $ac_func" >&5
15986echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15987if eval "test \"\${$as_ac_var+set}\" = set"; then
15988  echo $ECHO_N "(cached) $ECHO_C" >&6
15989else
15990  if test x$gcc_no_link = xyes; then
15991  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15992echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15993   { (exit 1); exit 1; }; }
15994fi
15995cat >conftest.$ac_ext <<_ACEOF
15996/* confdefs.h.  */
15997_ACEOF
15998cat confdefs.h >>conftest.$ac_ext
15999cat >>conftest.$ac_ext <<_ACEOF
16000/* end confdefs.h.  */
16001/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16002   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16003#define $ac_func innocuous_$ac_func
16004
16005/* System header to define __stub macros and hopefully few prototypes,
16006    which can conflict with char $ac_func (); below.
16007    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16008    <limits.h> exists even on freestanding compilers.  */
16009
16010#ifdef __STDC__
16011# include <limits.h>
16012#else
16013# include <assert.h>
16014#endif
16015
16016#undef $ac_func
16017
16018/* Override any gcc2 internal prototype to avoid an error.  */
16019#ifdef __cplusplus
16020extern "C"
16021{
16022#endif
16023/* We use char because int might match the return type of a gcc2
16024   builtin and then its argument prototype would still apply.  */
16025char $ac_func ();
16026/* The GNU C library defines this for functions which it implements
16027    to always fail with ENOSYS.  Some functions are actually named
16028    something starting with __ and the normal name is an alias.  */
16029#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16030choke me
16031#else
16032char (*f) () = $ac_func;
16033#endif
16034#ifdef __cplusplus
16035}
16036#endif
16037
16038int
16039main ()
16040{
16041return f != $ac_func;
16042  ;
16043  return 0;
16044}
16045_ACEOF
16046rm -f conftest.$ac_objext conftest$ac_exeext
16047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16048  (eval $ac_link) 2>conftest.er1
16049  ac_status=$?
16050  grep -v '^ *+' conftest.er1 >conftest.err
16051  rm -f conftest.er1
16052  cat conftest.err >&5
16053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054  (exit $ac_status); } &&
16055	 { ac_try='test -z "$ac_c_werror_flag"
16056			 || test ! -s conftest.err'
16057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058  (eval $ac_try) 2>&5
16059  ac_status=$?
16060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061  (exit $ac_status); }; } &&
16062	 { ac_try='test -s conftest$ac_exeext'
16063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064  (eval $ac_try) 2>&5
16065  ac_status=$?
16066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067  (exit $ac_status); }; }; then
16068  eval "$as_ac_var=yes"
16069else
16070  echo "$as_me: failed program was:" >&5
16071sed 's/^/| /' conftest.$ac_ext >&5
16072
16073eval "$as_ac_var=no"
16074fi
16075rm -f conftest.err conftest.$ac_objext \
16076      conftest$ac_exeext conftest.$ac_ext
16077fi
16078echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16079echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16080if test `eval echo '${'$as_ac_var'}'` = yes; then
16081  cat >>confdefs.h <<_ACEOF
16082#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16083_ACEOF
16084
16085fi
16086done
16087
16088  else
16089
16090  echo "$as_me:$LINENO: checking for _logf declaration" >&5
16091echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
16092  if test x${glibcxx_cv_func__logf_use+set} != xset; then
16093    if test "${glibcxx_cv_func__logf_use+set}" = set; then
16094  echo $ECHO_N "(cached) $ECHO_C" >&6
16095else
16096
16097
16098
16099      ac_ext=cc
16100ac_cpp='$CXXCPP $CPPFLAGS'
16101ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16102ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16103ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16104
16105      cat >conftest.$ac_ext <<_ACEOF
16106/* confdefs.h.  */
16107_ACEOF
16108cat confdefs.h >>conftest.$ac_ext
16109cat >>conftest.$ac_ext <<_ACEOF
16110/* end confdefs.h.  */
16111#include <math.h>
16112		      #ifdef HAVE_IEEEFP_H
16113		      #include <ieeefp.h>
16114		      #endif
16115
16116int
16117main ()
16118{
16119 _logf(0);
16120  ;
16121  return 0;
16122}
16123_ACEOF
16124rm -f conftest.$ac_objext
16125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126  (eval $ac_compile) 2>conftest.er1
16127  ac_status=$?
16128  grep -v '^ *+' conftest.er1 >conftest.err
16129  rm -f conftest.er1
16130  cat conftest.err >&5
16131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132  (exit $ac_status); } &&
16133	 { ac_try='test -z "$ac_cxx_werror_flag"
16134			 || test ! -s conftest.err'
16135  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136  (eval $ac_try) 2>&5
16137  ac_status=$?
16138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139  (exit $ac_status); }; } &&
16140	 { ac_try='test -s conftest.$ac_objext'
16141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142  (eval $ac_try) 2>&5
16143  ac_status=$?
16144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145  (exit $ac_status); }; }; then
16146  glibcxx_cv_func__logf_use=yes
16147else
16148  echo "$as_me: failed program was:" >&5
16149sed 's/^/| /' conftest.$ac_ext >&5
16150
16151glibcxx_cv_func__logf_use=no
16152fi
16153rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16154      ac_ext=c
16155ac_cpp='$CPP $CPPFLAGS'
16156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158ac_compiler_gnu=$ac_cv_c_compiler_gnu
16159
16160
16161fi
16162
16163  fi
16164  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16165echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16166
16167    if test x$glibcxx_cv_func__logf_use = x"yes"; then
16168
16169for ac_func in _logf
16170do
16171as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16172echo "$as_me:$LINENO: checking for $ac_func" >&5
16173echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16174if eval "test \"\${$as_ac_var+set}\" = set"; then
16175  echo $ECHO_N "(cached) $ECHO_C" >&6
16176else
16177  if test x$gcc_no_link = xyes; then
16178  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16179echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16180   { (exit 1); exit 1; }; }
16181fi
16182cat >conftest.$ac_ext <<_ACEOF
16183/* confdefs.h.  */
16184_ACEOF
16185cat confdefs.h >>conftest.$ac_ext
16186cat >>conftest.$ac_ext <<_ACEOF
16187/* end confdefs.h.  */
16188/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16189   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16190#define $ac_func innocuous_$ac_func
16191
16192/* System header to define __stub macros and hopefully few prototypes,
16193    which can conflict with char $ac_func (); below.
16194    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16195    <limits.h> exists even on freestanding compilers.  */
16196
16197#ifdef __STDC__
16198# include <limits.h>
16199#else
16200# include <assert.h>
16201#endif
16202
16203#undef $ac_func
16204
16205/* Override any gcc2 internal prototype to avoid an error.  */
16206#ifdef __cplusplus
16207extern "C"
16208{
16209#endif
16210/* We use char because int might match the return type of a gcc2
16211   builtin and then its argument prototype would still apply.  */
16212char $ac_func ();
16213/* The GNU C library defines this for functions which it implements
16214    to always fail with ENOSYS.  Some functions are actually named
16215    something starting with __ and the normal name is an alias.  */
16216#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16217choke me
16218#else
16219char (*f) () = $ac_func;
16220#endif
16221#ifdef __cplusplus
16222}
16223#endif
16224
16225int
16226main ()
16227{
16228return f != $ac_func;
16229  ;
16230  return 0;
16231}
16232_ACEOF
16233rm -f conftest.$ac_objext conftest$ac_exeext
16234if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16235  (eval $ac_link) 2>conftest.er1
16236  ac_status=$?
16237  grep -v '^ *+' conftest.er1 >conftest.err
16238  rm -f conftest.er1
16239  cat conftest.err >&5
16240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241  (exit $ac_status); } &&
16242	 { ac_try='test -z "$ac_c_werror_flag"
16243			 || test ! -s conftest.err'
16244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245  (eval $ac_try) 2>&5
16246  ac_status=$?
16247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248  (exit $ac_status); }; } &&
16249	 { ac_try='test -s conftest$ac_exeext'
16250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251  (eval $ac_try) 2>&5
16252  ac_status=$?
16253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254  (exit $ac_status); }; }; then
16255  eval "$as_ac_var=yes"
16256else
16257  echo "$as_me: failed program was:" >&5
16258sed 's/^/| /' conftest.$ac_ext >&5
16259
16260eval "$as_ac_var=no"
16261fi
16262rm -f conftest.err conftest.$ac_objext \
16263      conftest$ac_exeext conftest.$ac_ext
16264fi
16265echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16266echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16267if test `eval echo '${'$as_ac_var'}'` = yes; then
16268  cat >>confdefs.h <<_ACEOF
16269#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16270_ACEOF
16271
16272fi
16273done
16274
16275    fi
16276  fi
16277
16278
16279
16280
16281
16282
16283  echo "$as_me:$LINENO: checking for log10f declaration" >&5
16284echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16285  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16286    if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16287  echo $ECHO_N "(cached) $ECHO_C" >&6
16288else
16289
16290
16291
16292      ac_ext=cc
16293ac_cpp='$CXXCPP $CPPFLAGS'
16294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16297
16298      cat >conftest.$ac_ext <<_ACEOF
16299/* confdefs.h.  */
16300_ACEOF
16301cat confdefs.h >>conftest.$ac_ext
16302cat >>conftest.$ac_ext <<_ACEOF
16303/* end confdefs.h.  */
16304#include <math.h>
16305		      #ifdef HAVE_IEEEFP_H
16306		      #include <ieeefp.h>
16307		      #endif
16308
16309int
16310main ()
16311{
16312 log10f(0);
16313  ;
16314  return 0;
16315}
16316_ACEOF
16317rm -f conftest.$ac_objext
16318if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16319  (eval $ac_compile) 2>conftest.er1
16320  ac_status=$?
16321  grep -v '^ *+' conftest.er1 >conftest.err
16322  rm -f conftest.er1
16323  cat conftest.err >&5
16324  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325  (exit $ac_status); } &&
16326	 { ac_try='test -z "$ac_cxx_werror_flag"
16327			 || test ! -s conftest.err'
16328  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329  (eval $ac_try) 2>&5
16330  ac_status=$?
16331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332  (exit $ac_status); }; } &&
16333	 { ac_try='test -s conftest.$ac_objext'
16334  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335  (eval $ac_try) 2>&5
16336  ac_status=$?
16337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338  (exit $ac_status); }; }; then
16339  glibcxx_cv_func_log10f_use=yes
16340else
16341  echo "$as_me: failed program was:" >&5
16342sed 's/^/| /' conftest.$ac_ext >&5
16343
16344glibcxx_cv_func_log10f_use=no
16345fi
16346rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16347      ac_ext=c
16348ac_cpp='$CPP $CPPFLAGS'
16349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351ac_compiler_gnu=$ac_cv_c_compiler_gnu
16352
16353
16354fi
16355
16356  fi
16357  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16358echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16359
16360  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16361
16362for ac_func in log10f
16363do
16364as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16365echo "$as_me:$LINENO: checking for $ac_func" >&5
16366echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16367if eval "test \"\${$as_ac_var+set}\" = set"; then
16368  echo $ECHO_N "(cached) $ECHO_C" >&6
16369else
16370  if test x$gcc_no_link = xyes; then
16371  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16372echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16373   { (exit 1); exit 1; }; }
16374fi
16375cat >conftest.$ac_ext <<_ACEOF
16376/* confdefs.h.  */
16377_ACEOF
16378cat confdefs.h >>conftest.$ac_ext
16379cat >>conftest.$ac_ext <<_ACEOF
16380/* end confdefs.h.  */
16381/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16382   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16383#define $ac_func innocuous_$ac_func
16384
16385/* System header to define __stub macros and hopefully few prototypes,
16386    which can conflict with char $ac_func (); below.
16387    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16388    <limits.h> exists even on freestanding compilers.  */
16389
16390#ifdef __STDC__
16391# include <limits.h>
16392#else
16393# include <assert.h>
16394#endif
16395
16396#undef $ac_func
16397
16398/* Override any gcc2 internal prototype to avoid an error.  */
16399#ifdef __cplusplus
16400extern "C"
16401{
16402#endif
16403/* We use char because int might match the return type of a gcc2
16404   builtin and then its argument prototype would still apply.  */
16405char $ac_func ();
16406/* The GNU C library defines this for functions which it implements
16407    to always fail with ENOSYS.  Some functions are actually named
16408    something starting with __ and the normal name is an alias.  */
16409#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16410choke me
16411#else
16412char (*f) () = $ac_func;
16413#endif
16414#ifdef __cplusplus
16415}
16416#endif
16417
16418int
16419main ()
16420{
16421return f != $ac_func;
16422  ;
16423  return 0;
16424}
16425_ACEOF
16426rm -f conftest.$ac_objext conftest$ac_exeext
16427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428  (eval $ac_link) 2>conftest.er1
16429  ac_status=$?
16430  grep -v '^ *+' conftest.er1 >conftest.err
16431  rm -f conftest.er1
16432  cat conftest.err >&5
16433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434  (exit $ac_status); } &&
16435	 { ac_try='test -z "$ac_c_werror_flag"
16436			 || test ! -s conftest.err'
16437  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438  (eval $ac_try) 2>&5
16439  ac_status=$?
16440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441  (exit $ac_status); }; } &&
16442	 { ac_try='test -s conftest$ac_exeext'
16443  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444  (eval $ac_try) 2>&5
16445  ac_status=$?
16446  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447  (exit $ac_status); }; }; then
16448  eval "$as_ac_var=yes"
16449else
16450  echo "$as_me: failed program was:" >&5
16451sed 's/^/| /' conftest.$ac_ext >&5
16452
16453eval "$as_ac_var=no"
16454fi
16455rm -f conftest.err conftest.$ac_objext \
16456      conftest$ac_exeext conftest.$ac_ext
16457fi
16458echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16459echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16460if test `eval echo '${'$as_ac_var'}'` = yes; then
16461  cat >>confdefs.h <<_ACEOF
16462#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16463_ACEOF
16464
16465fi
16466done
16467
16468  else
16469
16470  echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16471echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16472  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16473    if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16474  echo $ECHO_N "(cached) $ECHO_C" >&6
16475else
16476
16477
16478
16479      ac_ext=cc
16480ac_cpp='$CXXCPP $CPPFLAGS'
16481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16484
16485      cat >conftest.$ac_ext <<_ACEOF
16486/* confdefs.h.  */
16487_ACEOF
16488cat confdefs.h >>conftest.$ac_ext
16489cat >>conftest.$ac_ext <<_ACEOF
16490/* end confdefs.h.  */
16491#include <math.h>
16492		      #ifdef HAVE_IEEEFP_H
16493		      #include <ieeefp.h>
16494		      #endif
16495
16496int
16497main ()
16498{
16499 _log10f(0);
16500  ;
16501  return 0;
16502}
16503_ACEOF
16504rm -f conftest.$ac_objext
16505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506  (eval $ac_compile) 2>conftest.er1
16507  ac_status=$?
16508  grep -v '^ *+' conftest.er1 >conftest.err
16509  rm -f conftest.er1
16510  cat conftest.err >&5
16511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512  (exit $ac_status); } &&
16513	 { ac_try='test -z "$ac_cxx_werror_flag"
16514			 || test ! -s conftest.err'
16515  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516  (eval $ac_try) 2>&5
16517  ac_status=$?
16518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519  (exit $ac_status); }; } &&
16520	 { ac_try='test -s conftest.$ac_objext'
16521  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522  (eval $ac_try) 2>&5
16523  ac_status=$?
16524  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525  (exit $ac_status); }; }; then
16526  glibcxx_cv_func__log10f_use=yes
16527else
16528  echo "$as_me: failed program was:" >&5
16529sed 's/^/| /' conftest.$ac_ext >&5
16530
16531glibcxx_cv_func__log10f_use=no
16532fi
16533rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16534      ac_ext=c
16535ac_cpp='$CPP $CPPFLAGS'
16536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16538ac_compiler_gnu=$ac_cv_c_compiler_gnu
16539
16540
16541fi
16542
16543  fi
16544  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16545echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16546
16547    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16548
16549for ac_func in _log10f
16550do
16551as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16552echo "$as_me:$LINENO: checking for $ac_func" >&5
16553echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16554if eval "test \"\${$as_ac_var+set}\" = set"; then
16555  echo $ECHO_N "(cached) $ECHO_C" >&6
16556else
16557  if test x$gcc_no_link = xyes; then
16558  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16559echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16560   { (exit 1); exit 1; }; }
16561fi
16562cat >conftest.$ac_ext <<_ACEOF
16563/* confdefs.h.  */
16564_ACEOF
16565cat confdefs.h >>conftest.$ac_ext
16566cat >>conftest.$ac_ext <<_ACEOF
16567/* end confdefs.h.  */
16568/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16569   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16570#define $ac_func innocuous_$ac_func
16571
16572/* System header to define __stub macros and hopefully few prototypes,
16573    which can conflict with char $ac_func (); below.
16574    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16575    <limits.h> exists even on freestanding compilers.  */
16576
16577#ifdef __STDC__
16578# include <limits.h>
16579#else
16580# include <assert.h>
16581#endif
16582
16583#undef $ac_func
16584
16585/* Override any gcc2 internal prototype to avoid an error.  */
16586#ifdef __cplusplus
16587extern "C"
16588{
16589#endif
16590/* We use char because int might match the return type of a gcc2
16591   builtin and then its argument prototype would still apply.  */
16592char $ac_func ();
16593/* The GNU C library defines this for functions which it implements
16594    to always fail with ENOSYS.  Some functions are actually named
16595    something starting with __ and the normal name is an alias.  */
16596#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16597choke me
16598#else
16599char (*f) () = $ac_func;
16600#endif
16601#ifdef __cplusplus
16602}
16603#endif
16604
16605int
16606main ()
16607{
16608return f != $ac_func;
16609  ;
16610  return 0;
16611}
16612_ACEOF
16613rm -f conftest.$ac_objext conftest$ac_exeext
16614if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16615  (eval $ac_link) 2>conftest.er1
16616  ac_status=$?
16617  grep -v '^ *+' conftest.er1 >conftest.err
16618  rm -f conftest.er1
16619  cat conftest.err >&5
16620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621  (exit $ac_status); } &&
16622	 { ac_try='test -z "$ac_c_werror_flag"
16623			 || test ! -s conftest.err'
16624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625  (eval $ac_try) 2>&5
16626  ac_status=$?
16627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628  (exit $ac_status); }; } &&
16629	 { ac_try='test -s conftest$ac_exeext'
16630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631  (eval $ac_try) 2>&5
16632  ac_status=$?
16633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634  (exit $ac_status); }; }; then
16635  eval "$as_ac_var=yes"
16636else
16637  echo "$as_me: failed program was:" >&5
16638sed 's/^/| /' conftest.$ac_ext >&5
16639
16640eval "$as_ac_var=no"
16641fi
16642rm -f conftest.err conftest.$ac_objext \
16643      conftest$ac_exeext conftest.$ac_ext
16644fi
16645echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16646echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16647if test `eval echo '${'$as_ac_var'}'` = yes; then
16648  cat >>confdefs.h <<_ACEOF
16649#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16650_ACEOF
16651
16652fi
16653done
16654
16655    fi
16656  fi
16657
16658
16659
16660
16661
16662
16663  echo "$as_me:$LINENO: checking for modff declaration" >&5
16664echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16665  if test x${glibcxx_cv_func_modff_use+set} != xset; then
16666    if test "${glibcxx_cv_func_modff_use+set}" = set; then
16667  echo $ECHO_N "(cached) $ECHO_C" >&6
16668else
16669
16670
16671
16672      ac_ext=cc
16673ac_cpp='$CXXCPP $CPPFLAGS'
16674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16677
16678      cat >conftest.$ac_ext <<_ACEOF
16679/* confdefs.h.  */
16680_ACEOF
16681cat confdefs.h >>conftest.$ac_ext
16682cat >>conftest.$ac_ext <<_ACEOF
16683/* end confdefs.h.  */
16684#include <math.h>
16685int
16686main ()
16687{
16688 modff(0, 0);
16689  ;
16690  return 0;
16691}
16692_ACEOF
16693rm -f conftest.$ac_objext
16694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695  (eval $ac_compile) 2>conftest.er1
16696  ac_status=$?
16697  grep -v '^ *+' conftest.er1 >conftest.err
16698  rm -f conftest.er1
16699  cat conftest.err >&5
16700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701  (exit $ac_status); } &&
16702	 { ac_try='test -z "$ac_cxx_werror_flag"
16703			 || test ! -s conftest.err'
16704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705  (eval $ac_try) 2>&5
16706  ac_status=$?
16707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708  (exit $ac_status); }; } &&
16709	 { ac_try='test -s conftest.$ac_objext'
16710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711  (eval $ac_try) 2>&5
16712  ac_status=$?
16713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714  (exit $ac_status); }; }; then
16715  glibcxx_cv_func_modff_use=yes
16716else
16717  echo "$as_me: failed program was:" >&5
16718sed 's/^/| /' conftest.$ac_ext >&5
16719
16720glibcxx_cv_func_modff_use=no
16721fi
16722rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723      ac_ext=c
16724ac_cpp='$CPP $CPPFLAGS'
16725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727ac_compiler_gnu=$ac_cv_c_compiler_gnu
16728
16729
16730fi
16731
16732  fi
16733  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16734echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16735
16736  if test x$glibcxx_cv_func_modff_use = x"yes"; then
16737
16738for ac_func in modff
16739do
16740as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16741echo "$as_me:$LINENO: checking for $ac_func" >&5
16742echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16743if eval "test \"\${$as_ac_var+set}\" = set"; then
16744  echo $ECHO_N "(cached) $ECHO_C" >&6
16745else
16746  if test x$gcc_no_link = xyes; then
16747  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16748echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16749   { (exit 1); exit 1; }; }
16750fi
16751cat >conftest.$ac_ext <<_ACEOF
16752/* confdefs.h.  */
16753_ACEOF
16754cat confdefs.h >>conftest.$ac_ext
16755cat >>conftest.$ac_ext <<_ACEOF
16756/* end confdefs.h.  */
16757/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16758   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16759#define $ac_func innocuous_$ac_func
16760
16761/* System header to define __stub macros and hopefully few prototypes,
16762    which can conflict with char $ac_func (); below.
16763    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16764    <limits.h> exists even on freestanding compilers.  */
16765
16766#ifdef __STDC__
16767# include <limits.h>
16768#else
16769# include <assert.h>
16770#endif
16771
16772#undef $ac_func
16773
16774/* Override any gcc2 internal prototype to avoid an error.  */
16775#ifdef __cplusplus
16776extern "C"
16777{
16778#endif
16779/* We use char because int might match the return type of a gcc2
16780   builtin and then its argument prototype would still apply.  */
16781char $ac_func ();
16782/* The GNU C library defines this for functions which it implements
16783    to always fail with ENOSYS.  Some functions are actually named
16784    something starting with __ and the normal name is an alias.  */
16785#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16786choke me
16787#else
16788char (*f) () = $ac_func;
16789#endif
16790#ifdef __cplusplus
16791}
16792#endif
16793
16794int
16795main ()
16796{
16797return f != $ac_func;
16798  ;
16799  return 0;
16800}
16801_ACEOF
16802rm -f conftest.$ac_objext conftest$ac_exeext
16803if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16804  (eval $ac_link) 2>conftest.er1
16805  ac_status=$?
16806  grep -v '^ *+' conftest.er1 >conftest.err
16807  rm -f conftest.er1
16808  cat conftest.err >&5
16809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810  (exit $ac_status); } &&
16811	 { ac_try='test -z "$ac_c_werror_flag"
16812			 || test ! -s conftest.err'
16813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814  (eval $ac_try) 2>&5
16815  ac_status=$?
16816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817  (exit $ac_status); }; } &&
16818	 { ac_try='test -s conftest$ac_exeext'
16819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820  (eval $ac_try) 2>&5
16821  ac_status=$?
16822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823  (exit $ac_status); }; }; then
16824  eval "$as_ac_var=yes"
16825else
16826  echo "$as_me: failed program was:" >&5
16827sed 's/^/| /' conftest.$ac_ext >&5
16828
16829eval "$as_ac_var=no"
16830fi
16831rm -f conftest.err conftest.$ac_objext \
16832      conftest$ac_exeext conftest.$ac_ext
16833fi
16834echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16835echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16836if test `eval echo '${'$as_ac_var'}'` = yes; then
16837  cat >>confdefs.h <<_ACEOF
16838#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16839_ACEOF
16840
16841fi
16842done
16843
16844  else
16845
16846  echo "$as_me:$LINENO: checking for _modff declaration" >&5
16847echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16848  if test x${glibcxx_cv_func__modff_use+set} != xset; then
16849    if test "${glibcxx_cv_func__modff_use+set}" = set; then
16850  echo $ECHO_N "(cached) $ECHO_C" >&6
16851else
16852
16853
16854
16855      ac_ext=cc
16856ac_cpp='$CXXCPP $CPPFLAGS'
16857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16860
16861      cat >conftest.$ac_ext <<_ACEOF
16862/* confdefs.h.  */
16863_ACEOF
16864cat confdefs.h >>conftest.$ac_ext
16865cat >>conftest.$ac_ext <<_ACEOF
16866/* end confdefs.h.  */
16867#include <math.h>
16868int
16869main ()
16870{
16871 _modff(0, 0);
16872  ;
16873  return 0;
16874}
16875_ACEOF
16876rm -f conftest.$ac_objext
16877if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16878  (eval $ac_compile) 2>conftest.er1
16879  ac_status=$?
16880  grep -v '^ *+' conftest.er1 >conftest.err
16881  rm -f conftest.er1
16882  cat conftest.err >&5
16883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884  (exit $ac_status); } &&
16885	 { ac_try='test -z "$ac_cxx_werror_flag"
16886			 || test ! -s conftest.err'
16887  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888  (eval $ac_try) 2>&5
16889  ac_status=$?
16890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891  (exit $ac_status); }; } &&
16892	 { ac_try='test -s conftest.$ac_objext'
16893  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894  (eval $ac_try) 2>&5
16895  ac_status=$?
16896  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897  (exit $ac_status); }; }; then
16898  glibcxx_cv_func__modff_use=yes
16899else
16900  echo "$as_me: failed program was:" >&5
16901sed 's/^/| /' conftest.$ac_ext >&5
16902
16903glibcxx_cv_func__modff_use=no
16904fi
16905rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16906      ac_ext=c
16907ac_cpp='$CPP $CPPFLAGS'
16908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910ac_compiler_gnu=$ac_cv_c_compiler_gnu
16911
16912
16913fi
16914
16915  fi
16916  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16917echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16918
16919    if test x$glibcxx_cv_func__modff_use = x"yes"; then
16920
16921for ac_func in _modff
16922do
16923as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16924echo "$as_me:$LINENO: checking for $ac_func" >&5
16925echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16926if eval "test \"\${$as_ac_var+set}\" = set"; then
16927  echo $ECHO_N "(cached) $ECHO_C" >&6
16928else
16929  if test x$gcc_no_link = xyes; then
16930  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16931echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16932   { (exit 1); exit 1; }; }
16933fi
16934cat >conftest.$ac_ext <<_ACEOF
16935/* confdefs.h.  */
16936_ACEOF
16937cat confdefs.h >>conftest.$ac_ext
16938cat >>conftest.$ac_ext <<_ACEOF
16939/* end confdefs.h.  */
16940/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16941   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16942#define $ac_func innocuous_$ac_func
16943
16944/* System header to define __stub macros and hopefully few prototypes,
16945    which can conflict with char $ac_func (); below.
16946    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16947    <limits.h> exists even on freestanding compilers.  */
16948
16949#ifdef __STDC__
16950# include <limits.h>
16951#else
16952# include <assert.h>
16953#endif
16954
16955#undef $ac_func
16956
16957/* Override any gcc2 internal prototype to avoid an error.  */
16958#ifdef __cplusplus
16959extern "C"
16960{
16961#endif
16962/* We use char because int might match the return type of a gcc2
16963   builtin and then its argument prototype would still apply.  */
16964char $ac_func ();
16965/* The GNU C library defines this for functions which it implements
16966    to always fail with ENOSYS.  Some functions are actually named
16967    something starting with __ and the normal name is an alias.  */
16968#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16969choke me
16970#else
16971char (*f) () = $ac_func;
16972#endif
16973#ifdef __cplusplus
16974}
16975#endif
16976
16977int
16978main ()
16979{
16980return f != $ac_func;
16981  ;
16982  return 0;
16983}
16984_ACEOF
16985rm -f conftest.$ac_objext conftest$ac_exeext
16986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987  (eval $ac_link) 2>conftest.er1
16988  ac_status=$?
16989  grep -v '^ *+' conftest.er1 >conftest.err
16990  rm -f conftest.er1
16991  cat conftest.err >&5
16992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993  (exit $ac_status); } &&
16994	 { ac_try='test -z "$ac_c_werror_flag"
16995			 || test ! -s conftest.err'
16996  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997  (eval $ac_try) 2>&5
16998  ac_status=$?
16999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000  (exit $ac_status); }; } &&
17001	 { ac_try='test -s conftest$ac_exeext'
17002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003  (eval $ac_try) 2>&5
17004  ac_status=$?
17005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006  (exit $ac_status); }; }; then
17007  eval "$as_ac_var=yes"
17008else
17009  echo "$as_me: failed program was:" >&5
17010sed 's/^/| /' conftest.$ac_ext >&5
17011
17012eval "$as_ac_var=no"
17013fi
17014rm -f conftest.err conftest.$ac_objext \
17015      conftest$ac_exeext conftest.$ac_ext
17016fi
17017echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17018echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17019if test `eval echo '${'$as_ac_var'}'` = yes; then
17020  cat >>confdefs.h <<_ACEOF
17021#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17022_ACEOF
17023
17024fi
17025done
17026
17027    fi
17028  fi
17029
17030
17031
17032
17033
17034
17035  echo "$as_me:$LINENO: checking for modf declaration" >&5
17036echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
17037  if test x${glibcxx_cv_func_modf_use+set} != xset; then
17038    if test "${glibcxx_cv_func_modf_use+set}" = set; then
17039  echo $ECHO_N "(cached) $ECHO_C" >&6
17040else
17041
17042
17043
17044      ac_ext=cc
17045ac_cpp='$CXXCPP $CPPFLAGS'
17046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17049
17050      cat >conftest.$ac_ext <<_ACEOF
17051/* confdefs.h.  */
17052_ACEOF
17053cat confdefs.h >>conftest.$ac_ext
17054cat >>conftest.$ac_ext <<_ACEOF
17055/* end confdefs.h.  */
17056#include <math.h>
17057int
17058main ()
17059{
17060 modf(0, 0);
17061  ;
17062  return 0;
17063}
17064_ACEOF
17065rm -f conftest.$ac_objext
17066if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17067  (eval $ac_compile) 2>conftest.er1
17068  ac_status=$?
17069  grep -v '^ *+' conftest.er1 >conftest.err
17070  rm -f conftest.er1
17071  cat conftest.err >&5
17072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073  (exit $ac_status); } &&
17074	 { ac_try='test -z "$ac_cxx_werror_flag"
17075			 || test ! -s conftest.err'
17076  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077  (eval $ac_try) 2>&5
17078  ac_status=$?
17079  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080  (exit $ac_status); }; } &&
17081	 { ac_try='test -s conftest.$ac_objext'
17082  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083  (eval $ac_try) 2>&5
17084  ac_status=$?
17085  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086  (exit $ac_status); }; }; then
17087  glibcxx_cv_func_modf_use=yes
17088else
17089  echo "$as_me: failed program was:" >&5
17090sed 's/^/| /' conftest.$ac_ext >&5
17091
17092glibcxx_cv_func_modf_use=no
17093fi
17094rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17095      ac_ext=c
17096ac_cpp='$CPP $CPPFLAGS'
17097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17099ac_compiler_gnu=$ac_cv_c_compiler_gnu
17100
17101
17102fi
17103
17104  fi
17105  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
17106echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
17107
17108  if test x$glibcxx_cv_func_modf_use = x"yes"; then
17109
17110for ac_func in modf
17111do
17112as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17113echo "$as_me:$LINENO: checking for $ac_func" >&5
17114echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17115if eval "test \"\${$as_ac_var+set}\" = set"; then
17116  echo $ECHO_N "(cached) $ECHO_C" >&6
17117else
17118  if test x$gcc_no_link = xyes; then
17119  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17120echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17121   { (exit 1); exit 1; }; }
17122fi
17123cat >conftest.$ac_ext <<_ACEOF
17124/* confdefs.h.  */
17125_ACEOF
17126cat confdefs.h >>conftest.$ac_ext
17127cat >>conftest.$ac_ext <<_ACEOF
17128/* end confdefs.h.  */
17129/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17130   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17131#define $ac_func innocuous_$ac_func
17132
17133/* System header to define __stub macros and hopefully few prototypes,
17134    which can conflict with char $ac_func (); below.
17135    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17136    <limits.h> exists even on freestanding compilers.  */
17137
17138#ifdef __STDC__
17139# include <limits.h>
17140#else
17141# include <assert.h>
17142#endif
17143
17144#undef $ac_func
17145
17146/* Override any gcc2 internal prototype to avoid an error.  */
17147#ifdef __cplusplus
17148extern "C"
17149{
17150#endif
17151/* We use char because int might match the return type of a gcc2
17152   builtin and then its argument prototype would still apply.  */
17153char $ac_func ();
17154/* The GNU C library defines this for functions which it implements
17155    to always fail with ENOSYS.  Some functions are actually named
17156    something starting with __ and the normal name is an alias.  */
17157#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17158choke me
17159#else
17160char (*f) () = $ac_func;
17161#endif
17162#ifdef __cplusplus
17163}
17164#endif
17165
17166int
17167main ()
17168{
17169return f != $ac_func;
17170  ;
17171  return 0;
17172}
17173_ACEOF
17174rm -f conftest.$ac_objext conftest$ac_exeext
17175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17176  (eval $ac_link) 2>conftest.er1
17177  ac_status=$?
17178  grep -v '^ *+' conftest.er1 >conftest.err
17179  rm -f conftest.er1
17180  cat conftest.err >&5
17181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182  (exit $ac_status); } &&
17183	 { ac_try='test -z "$ac_c_werror_flag"
17184			 || test ! -s conftest.err'
17185  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186  (eval $ac_try) 2>&5
17187  ac_status=$?
17188  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189  (exit $ac_status); }; } &&
17190	 { ac_try='test -s conftest$ac_exeext'
17191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192  (eval $ac_try) 2>&5
17193  ac_status=$?
17194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195  (exit $ac_status); }; }; then
17196  eval "$as_ac_var=yes"
17197else
17198  echo "$as_me: failed program was:" >&5
17199sed 's/^/| /' conftest.$ac_ext >&5
17200
17201eval "$as_ac_var=no"
17202fi
17203rm -f conftest.err conftest.$ac_objext \
17204      conftest$ac_exeext conftest.$ac_ext
17205fi
17206echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17207echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17208if test `eval echo '${'$as_ac_var'}'` = yes; then
17209  cat >>confdefs.h <<_ACEOF
17210#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17211_ACEOF
17212
17213fi
17214done
17215
17216  else
17217
17218  echo "$as_me:$LINENO: checking for _modf declaration" >&5
17219echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17220  if test x${glibcxx_cv_func__modf_use+set} != xset; then
17221    if test "${glibcxx_cv_func__modf_use+set}" = set; then
17222  echo $ECHO_N "(cached) $ECHO_C" >&6
17223else
17224
17225
17226
17227      ac_ext=cc
17228ac_cpp='$CXXCPP $CPPFLAGS'
17229ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17232
17233      cat >conftest.$ac_ext <<_ACEOF
17234/* confdefs.h.  */
17235_ACEOF
17236cat confdefs.h >>conftest.$ac_ext
17237cat >>conftest.$ac_ext <<_ACEOF
17238/* end confdefs.h.  */
17239#include <math.h>
17240int
17241main ()
17242{
17243 _modf(0, 0);
17244  ;
17245  return 0;
17246}
17247_ACEOF
17248rm -f conftest.$ac_objext
17249if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250  (eval $ac_compile) 2>conftest.er1
17251  ac_status=$?
17252  grep -v '^ *+' conftest.er1 >conftest.err
17253  rm -f conftest.er1
17254  cat conftest.err >&5
17255  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256  (exit $ac_status); } &&
17257	 { ac_try='test -z "$ac_cxx_werror_flag"
17258			 || test ! -s conftest.err'
17259  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260  (eval $ac_try) 2>&5
17261  ac_status=$?
17262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263  (exit $ac_status); }; } &&
17264	 { ac_try='test -s conftest.$ac_objext'
17265  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266  (eval $ac_try) 2>&5
17267  ac_status=$?
17268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269  (exit $ac_status); }; }; then
17270  glibcxx_cv_func__modf_use=yes
17271else
17272  echo "$as_me: failed program was:" >&5
17273sed 's/^/| /' conftest.$ac_ext >&5
17274
17275glibcxx_cv_func__modf_use=no
17276fi
17277rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278      ac_ext=c
17279ac_cpp='$CPP $CPPFLAGS'
17280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17282ac_compiler_gnu=$ac_cv_c_compiler_gnu
17283
17284
17285fi
17286
17287  fi
17288  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17289echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17290
17291    if test x$glibcxx_cv_func__modf_use = x"yes"; then
17292
17293for ac_func in _modf
17294do
17295as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17296echo "$as_me:$LINENO: checking for $ac_func" >&5
17297echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17298if eval "test \"\${$as_ac_var+set}\" = set"; then
17299  echo $ECHO_N "(cached) $ECHO_C" >&6
17300else
17301  if test x$gcc_no_link = xyes; then
17302  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17303echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17304   { (exit 1); exit 1; }; }
17305fi
17306cat >conftest.$ac_ext <<_ACEOF
17307/* confdefs.h.  */
17308_ACEOF
17309cat confdefs.h >>conftest.$ac_ext
17310cat >>conftest.$ac_ext <<_ACEOF
17311/* end confdefs.h.  */
17312/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17313   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17314#define $ac_func innocuous_$ac_func
17315
17316/* System header to define __stub macros and hopefully few prototypes,
17317    which can conflict with char $ac_func (); below.
17318    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17319    <limits.h> exists even on freestanding compilers.  */
17320
17321#ifdef __STDC__
17322# include <limits.h>
17323#else
17324# include <assert.h>
17325#endif
17326
17327#undef $ac_func
17328
17329/* Override any gcc2 internal prototype to avoid an error.  */
17330#ifdef __cplusplus
17331extern "C"
17332{
17333#endif
17334/* We use char because int might match the return type of a gcc2
17335   builtin and then its argument prototype would still apply.  */
17336char $ac_func ();
17337/* The GNU C library defines this for functions which it implements
17338    to always fail with ENOSYS.  Some functions are actually named
17339    something starting with __ and the normal name is an alias.  */
17340#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17341choke me
17342#else
17343char (*f) () = $ac_func;
17344#endif
17345#ifdef __cplusplus
17346}
17347#endif
17348
17349int
17350main ()
17351{
17352return f != $ac_func;
17353  ;
17354  return 0;
17355}
17356_ACEOF
17357rm -f conftest.$ac_objext conftest$ac_exeext
17358if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17359  (eval $ac_link) 2>conftest.er1
17360  ac_status=$?
17361  grep -v '^ *+' conftest.er1 >conftest.err
17362  rm -f conftest.er1
17363  cat conftest.err >&5
17364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365  (exit $ac_status); } &&
17366	 { ac_try='test -z "$ac_c_werror_flag"
17367			 || test ! -s conftest.err'
17368  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369  (eval $ac_try) 2>&5
17370  ac_status=$?
17371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372  (exit $ac_status); }; } &&
17373	 { ac_try='test -s conftest$ac_exeext'
17374  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375  (eval $ac_try) 2>&5
17376  ac_status=$?
17377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378  (exit $ac_status); }; }; then
17379  eval "$as_ac_var=yes"
17380else
17381  echo "$as_me: failed program was:" >&5
17382sed 's/^/| /' conftest.$ac_ext >&5
17383
17384eval "$as_ac_var=no"
17385fi
17386rm -f conftest.err conftest.$ac_objext \
17387      conftest$ac_exeext conftest.$ac_ext
17388fi
17389echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17390echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17391if test `eval echo '${'$as_ac_var'}'` = yes; then
17392  cat >>confdefs.h <<_ACEOF
17393#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17394_ACEOF
17395
17396fi
17397done
17398
17399    fi
17400  fi
17401
17402
17403
17404
17405
17406
17407  echo "$as_me:$LINENO: checking for powf declaration" >&5
17408echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17409  if test x${glibcxx_cv_func_powf_use+set} != xset; then
17410    if test "${glibcxx_cv_func_powf_use+set}" = set; then
17411  echo $ECHO_N "(cached) $ECHO_C" >&6
17412else
17413
17414
17415
17416      ac_ext=cc
17417ac_cpp='$CXXCPP $CPPFLAGS'
17418ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17419ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17421
17422      cat >conftest.$ac_ext <<_ACEOF
17423/* confdefs.h.  */
17424_ACEOF
17425cat confdefs.h >>conftest.$ac_ext
17426cat >>conftest.$ac_ext <<_ACEOF
17427/* end confdefs.h.  */
17428#include <math.h>
17429int
17430main ()
17431{
17432 powf(0, 0);
17433  ;
17434  return 0;
17435}
17436_ACEOF
17437rm -f conftest.$ac_objext
17438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17439  (eval $ac_compile) 2>conftest.er1
17440  ac_status=$?
17441  grep -v '^ *+' conftest.er1 >conftest.err
17442  rm -f conftest.er1
17443  cat conftest.err >&5
17444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445  (exit $ac_status); } &&
17446	 { ac_try='test -z "$ac_cxx_werror_flag"
17447			 || test ! -s conftest.err'
17448  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449  (eval $ac_try) 2>&5
17450  ac_status=$?
17451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452  (exit $ac_status); }; } &&
17453	 { ac_try='test -s conftest.$ac_objext'
17454  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455  (eval $ac_try) 2>&5
17456  ac_status=$?
17457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458  (exit $ac_status); }; }; then
17459  glibcxx_cv_func_powf_use=yes
17460else
17461  echo "$as_me: failed program was:" >&5
17462sed 's/^/| /' conftest.$ac_ext >&5
17463
17464glibcxx_cv_func_powf_use=no
17465fi
17466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467      ac_ext=c
17468ac_cpp='$CPP $CPPFLAGS'
17469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17471ac_compiler_gnu=$ac_cv_c_compiler_gnu
17472
17473
17474fi
17475
17476  fi
17477  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17478echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17479
17480  if test x$glibcxx_cv_func_powf_use = x"yes"; then
17481
17482for ac_func in powf
17483do
17484as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17485echo "$as_me:$LINENO: checking for $ac_func" >&5
17486echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17487if eval "test \"\${$as_ac_var+set}\" = set"; then
17488  echo $ECHO_N "(cached) $ECHO_C" >&6
17489else
17490  if test x$gcc_no_link = xyes; then
17491  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17492echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17493   { (exit 1); exit 1; }; }
17494fi
17495cat >conftest.$ac_ext <<_ACEOF
17496/* confdefs.h.  */
17497_ACEOF
17498cat confdefs.h >>conftest.$ac_ext
17499cat >>conftest.$ac_ext <<_ACEOF
17500/* end confdefs.h.  */
17501/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17502   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17503#define $ac_func innocuous_$ac_func
17504
17505/* System header to define __stub macros and hopefully few prototypes,
17506    which can conflict with char $ac_func (); below.
17507    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17508    <limits.h> exists even on freestanding compilers.  */
17509
17510#ifdef __STDC__
17511# include <limits.h>
17512#else
17513# include <assert.h>
17514#endif
17515
17516#undef $ac_func
17517
17518/* Override any gcc2 internal prototype to avoid an error.  */
17519#ifdef __cplusplus
17520extern "C"
17521{
17522#endif
17523/* We use char because int might match the return type of a gcc2
17524   builtin and then its argument prototype would still apply.  */
17525char $ac_func ();
17526/* The GNU C library defines this for functions which it implements
17527    to always fail with ENOSYS.  Some functions are actually named
17528    something starting with __ and the normal name is an alias.  */
17529#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17530choke me
17531#else
17532char (*f) () = $ac_func;
17533#endif
17534#ifdef __cplusplus
17535}
17536#endif
17537
17538int
17539main ()
17540{
17541return f != $ac_func;
17542  ;
17543  return 0;
17544}
17545_ACEOF
17546rm -f conftest.$ac_objext conftest$ac_exeext
17547if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17548  (eval $ac_link) 2>conftest.er1
17549  ac_status=$?
17550  grep -v '^ *+' conftest.er1 >conftest.err
17551  rm -f conftest.er1
17552  cat conftest.err >&5
17553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554  (exit $ac_status); } &&
17555	 { ac_try='test -z "$ac_c_werror_flag"
17556			 || test ! -s conftest.err'
17557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558  (eval $ac_try) 2>&5
17559  ac_status=$?
17560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561  (exit $ac_status); }; } &&
17562	 { ac_try='test -s conftest$ac_exeext'
17563  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564  (eval $ac_try) 2>&5
17565  ac_status=$?
17566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567  (exit $ac_status); }; }; then
17568  eval "$as_ac_var=yes"
17569else
17570  echo "$as_me: failed program was:" >&5
17571sed 's/^/| /' conftest.$ac_ext >&5
17572
17573eval "$as_ac_var=no"
17574fi
17575rm -f conftest.err conftest.$ac_objext \
17576      conftest$ac_exeext conftest.$ac_ext
17577fi
17578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17579echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17580if test `eval echo '${'$as_ac_var'}'` = yes; then
17581  cat >>confdefs.h <<_ACEOF
17582#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17583_ACEOF
17584
17585fi
17586done
17587
17588  else
17589
17590  echo "$as_me:$LINENO: checking for _powf declaration" >&5
17591echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17592  if test x${glibcxx_cv_func__powf_use+set} != xset; then
17593    if test "${glibcxx_cv_func__powf_use+set}" = set; then
17594  echo $ECHO_N "(cached) $ECHO_C" >&6
17595else
17596
17597
17598
17599      ac_ext=cc
17600ac_cpp='$CXXCPP $CPPFLAGS'
17601ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17604
17605      cat >conftest.$ac_ext <<_ACEOF
17606/* confdefs.h.  */
17607_ACEOF
17608cat confdefs.h >>conftest.$ac_ext
17609cat >>conftest.$ac_ext <<_ACEOF
17610/* end confdefs.h.  */
17611#include <math.h>
17612int
17613main ()
17614{
17615 _powf(0, 0);
17616  ;
17617  return 0;
17618}
17619_ACEOF
17620rm -f conftest.$ac_objext
17621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622  (eval $ac_compile) 2>conftest.er1
17623  ac_status=$?
17624  grep -v '^ *+' conftest.er1 >conftest.err
17625  rm -f conftest.er1
17626  cat conftest.err >&5
17627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628  (exit $ac_status); } &&
17629	 { ac_try='test -z "$ac_cxx_werror_flag"
17630			 || test ! -s conftest.err'
17631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632  (eval $ac_try) 2>&5
17633  ac_status=$?
17634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635  (exit $ac_status); }; } &&
17636	 { ac_try='test -s conftest.$ac_objext'
17637  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638  (eval $ac_try) 2>&5
17639  ac_status=$?
17640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641  (exit $ac_status); }; }; then
17642  glibcxx_cv_func__powf_use=yes
17643else
17644  echo "$as_me: failed program was:" >&5
17645sed 's/^/| /' conftest.$ac_ext >&5
17646
17647glibcxx_cv_func__powf_use=no
17648fi
17649rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17650      ac_ext=c
17651ac_cpp='$CPP $CPPFLAGS'
17652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654ac_compiler_gnu=$ac_cv_c_compiler_gnu
17655
17656
17657fi
17658
17659  fi
17660  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17661echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17662
17663    if test x$glibcxx_cv_func__powf_use = x"yes"; then
17664
17665for ac_func in _powf
17666do
17667as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17668echo "$as_me:$LINENO: checking for $ac_func" >&5
17669echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17670if eval "test \"\${$as_ac_var+set}\" = set"; then
17671  echo $ECHO_N "(cached) $ECHO_C" >&6
17672else
17673  if test x$gcc_no_link = xyes; then
17674  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17675echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17676   { (exit 1); exit 1; }; }
17677fi
17678cat >conftest.$ac_ext <<_ACEOF
17679/* confdefs.h.  */
17680_ACEOF
17681cat confdefs.h >>conftest.$ac_ext
17682cat >>conftest.$ac_ext <<_ACEOF
17683/* end confdefs.h.  */
17684/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17685   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17686#define $ac_func innocuous_$ac_func
17687
17688/* System header to define __stub macros and hopefully few prototypes,
17689    which can conflict with char $ac_func (); below.
17690    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17691    <limits.h> exists even on freestanding compilers.  */
17692
17693#ifdef __STDC__
17694# include <limits.h>
17695#else
17696# include <assert.h>
17697#endif
17698
17699#undef $ac_func
17700
17701/* Override any gcc2 internal prototype to avoid an error.  */
17702#ifdef __cplusplus
17703extern "C"
17704{
17705#endif
17706/* We use char because int might match the return type of a gcc2
17707   builtin and then its argument prototype would still apply.  */
17708char $ac_func ();
17709/* The GNU C library defines this for functions which it implements
17710    to always fail with ENOSYS.  Some functions are actually named
17711    something starting with __ and the normal name is an alias.  */
17712#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17713choke me
17714#else
17715char (*f) () = $ac_func;
17716#endif
17717#ifdef __cplusplus
17718}
17719#endif
17720
17721int
17722main ()
17723{
17724return f != $ac_func;
17725  ;
17726  return 0;
17727}
17728_ACEOF
17729rm -f conftest.$ac_objext conftest$ac_exeext
17730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17731  (eval $ac_link) 2>conftest.er1
17732  ac_status=$?
17733  grep -v '^ *+' conftest.er1 >conftest.err
17734  rm -f conftest.er1
17735  cat conftest.err >&5
17736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737  (exit $ac_status); } &&
17738	 { ac_try='test -z "$ac_c_werror_flag"
17739			 || test ! -s conftest.err'
17740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741  (eval $ac_try) 2>&5
17742  ac_status=$?
17743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744  (exit $ac_status); }; } &&
17745	 { ac_try='test -s conftest$ac_exeext'
17746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747  (eval $ac_try) 2>&5
17748  ac_status=$?
17749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750  (exit $ac_status); }; }; then
17751  eval "$as_ac_var=yes"
17752else
17753  echo "$as_me: failed program was:" >&5
17754sed 's/^/| /' conftest.$ac_ext >&5
17755
17756eval "$as_ac_var=no"
17757fi
17758rm -f conftest.err conftest.$ac_objext \
17759      conftest$ac_exeext conftest.$ac_ext
17760fi
17761echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17762echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17763if test `eval echo '${'$as_ac_var'}'` = yes; then
17764  cat >>confdefs.h <<_ACEOF
17765#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17766_ACEOF
17767
17768fi
17769done
17770
17771    fi
17772  fi
17773
17774
17775
17776
17777
17778
17779  echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17780echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17781  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17782    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17783  echo $ECHO_N "(cached) $ECHO_C" >&6
17784else
17785
17786
17787
17788      ac_ext=cc
17789ac_cpp='$CXXCPP $CPPFLAGS'
17790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17793
17794      cat >conftest.$ac_ext <<_ACEOF
17795/* confdefs.h.  */
17796_ACEOF
17797cat confdefs.h >>conftest.$ac_ext
17798cat >>conftest.$ac_ext <<_ACEOF
17799/* end confdefs.h.  */
17800#include <math.h>
17801		      #ifdef HAVE_IEEEFP_H
17802		      #include <ieeefp.h>
17803		      #endif
17804
17805int
17806main ()
17807{
17808 sqrtf(0);
17809  ;
17810  return 0;
17811}
17812_ACEOF
17813rm -f conftest.$ac_objext
17814if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17815  (eval $ac_compile) 2>conftest.er1
17816  ac_status=$?
17817  grep -v '^ *+' conftest.er1 >conftest.err
17818  rm -f conftest.er1
17819  cat conftest.err >&5
17820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821  (exit $ac_status); } &&
17822	 { ac_try='test -z "$ac_cxx_werror_flag"
17823			 || test ! -s conftest.err'
17824  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825  (eval $ac_try) 2>&5
17826  ac_status=$?
17827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828  (exit $ac_status); }; } &&
17829	 { ac_try='test -s conftest.$ac_objext'
17830  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831  (eval $ac_try) 2>&5
17832  ac_status=$?
17833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834  (exit $ac_status); }; }; then
17835  glibcxx_cv_func_sqrtf_use=yes
17836else
17837  echo "$as_me: failed program was:" >&5
17838sed 's/^/| /' conftest.$ac_ext >&5
17839
17840glibcxx_cv_func_sqrtf_use=no
17841fi
17842rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17843      ac_ext=c
17844ac_cpp='$CPP $CPPFLAGS'
17845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847ac_compiler_gnu=$ac_cv_c_compiler_gnu
17848
17849
17850fi
17851
17852  fi
17853  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17854echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17855
17856  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17857
17858for ac_func in sqrtf
17859do
17860as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17861echo "$as_me:$LINENO: checking for $ac_func" >&5
17862echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17863if eval "test \"\${$as_ac_var+set}\" = set"; then
17864  echo $ECHO_N "(cached) $ECHO_C" >&6
17865else
17866  if test x$gcc_no_link = xyes; then
17867  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17868echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17869   { (exit 1); exit 1; }; }
17870fi
17871cat >conftest.$ac_ext <<_ACEOF
17872/* confdefs.h.  */
17873_ACEOF
17874cat confdefs.h >>conftest.$ac_ext
17875cat >>conftest.$ac_ext <<_ACEOF
17876/* end confdefs.h.  */
17877/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17878   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17879#define $ac_func innocuous_$ac_func
17880
17881/* System header to define __stub macros and hopefully few prototypes,
17882    which can conflict with char $ac_func (); below.
17883    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17884    <limits.h> exists even on freestanding compilers.  */
17885
17886#ifdef __STDC__
17887# include <limits.h>
17888#else
17889# include <assert.h>
17890#endif
17891
17892#undef $ac_func
17893
17894/* Override any gcc2 internal prototype to avoid an error.  */
17895#ifdef __cplusplus
17896extern "C"
17897{
17898#endif
17899/* We use char because int might match the return type of a gcc2
17900   builtin and then its argument prototype would still apply.  */
17901char $ac_func ();
17902/* The GNU C library defines this for functions which it implements
17903    to always fail with ENOSYS.  Some functions are actually named
17904    something starting with __ and the normal name is an alias.  */
17905#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17906choke me
17907#else
17908char (*f) () = $ac_func;
17909#endif
17910#ifdef __cplusplus
17911}
17912#endif
17913
17914int
17915main ()
17916{
17917return f != $ac_func;
17918  ;
17919  return 0;
17920}
17921_ACEOF
17922rm -f conftest.$ac_objext conftest$ac_exeext
17923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17924  (eval $ac_link) 2>conftest.er1
17925  ac_status=$?
17926  grep -v '^ *+' conftest.er1 >conftest.err
17927  rm -f conftest.er1
17928  cat conftest.err >&5
17929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930  (exit $ac_status); } &&
17931	 { ac_try='test -z "$ac_c_werror_flag"
17932			 || test ! -s conftest.err'
17933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934  (eval $ac_try) 2>&5
17935  ac_status=$?
17936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937  (exit $ac_status); }; } &&
17938	 { ac_try='test -s conftest$ac_exeext'
17939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940  (eval $ac_try) 2>&5
17941  ac_status=$?
17942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943  (exit $ac_status); }; }; then
17944  eval "$as_ac_var=yes"
17945else
17946  echo "$as_me: failed program was:" >&5
17947sed 's/^/| /' conftest.$ac_ext >&5
17948
17949eval "$as_ac_var=no"
17950fi
17951rm -f conftest.err conftest.$ac_objext \
17952      conftest$ac_exeext conftest.$ac_ext
17953fi
17954echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17955echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17956if test `eval echo '${'$as_ac_var'}'` = yes; then
17957  cat >>confdefs.h <<_ACEOF
17958#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17959_ACEOF
17960
17961fi
17962done
17963
17964  else
17965
17966  echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17967echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17968  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17969    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17970  echo $ECHO_N "(cached) $ECHO_C" >&6
17971else
17972
17973
17974
17975      ac_ext=cc
17976ac_cpp='$CXXCPP $CPPFLAGS'
17977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17980
17981      cat >conftest.$ac_ext <<_ACEOF
17982/* confdefs.h.  */
17983_ACEOF
17984cat confdefs.h >>conftest.$ac_ext
17985cat >>conftest.$ac_ext <<_ACEOF
17986/* end confdefs.h.  */
17987#include <math.h>
17988		      #ifdef HAVE_IEEEFP_H
17989		      #include <ieeefp.h>
17990		      #endif
17991
17992int
17993main ()
17994{
17995 _sqrtf(0);
17996  ;
17997  return 0;
17998}
17999_ACEOF
18000rm -f conftest.$ac_objext
18001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002  (eval $ac_compile) 2>conftest.er1
18003  ac_status=$?
18004  grep -v '^ *+' conftest.er1 >conftest.err
18005  rm -f conftest.er1
18006  cat conftest.err >&5
18007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008  (exit $ac_status); } &&
18009	 { ac_try='test -z "$ac_cxx_werror_flag"
18010			 || test ! -s conftest.err'
18011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012  (eval $ac_try) 2>&5
18013  ac_status=$?
18014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015  (exit $ac_status); }; } &&
18016	 { ac_try='test -s conftest.$ac_objext'
18017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018  (eval $ac_try) 2>&5
18019  ac_status=$?
18020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021  (exit $ac_status); }; }; then
18022  glibcxx_cv_func__sqrtf_use=yes
18023else
18024  echo "$as_me: failed program was:" >&5
18025sed 's/^/| /' conftest.$ac_ext >&5
18026
18027glibcxx_cv_func__sqrtf_use=no
18028fi
18029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18030      ac_ext=c
18031ac_cpp='$CPP $CPPFLAGS'
18032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035
18036
18037fi
18038
18039  fi
18040  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
18041echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
18042
18043    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
18044
18045for ac_func in _sqrtf
18046do
18047as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18048echo "$as_me:$LINENO: checking for $ac_func" >&5
18049echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18050if eval "test \"\${$as_ac_var+set}\" = set"; then
18051  echo $ECHO_N "(cached) $ECHO_C" >&6
18052else
18053  if test x$gcc_no_link = xyes; then
18054  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18055echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18056   { (exit 1); exit 1; }; }
18057fi
18058cat >conftest.$ac_ext <<_ACEOF
18059/* confdefs.h.  */
18060_ACEOF
18061cat confdefs.h >>conftest.$ac_ext
18062cat >>conftest.$ac_ext <<_ACEOF
18063/* end confdefs.h.  */
18064/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18065   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18066#define $ac_func innocuous_$ac_func
18067
18068/* System header to define __stub macros and hopefully few prototypes,
18069    which can conflict with char $ac_func (); below.
18070    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18071    <limits.h> exists even on freestanding compilers.  */
18072
18073#ifdef __STDC__
18074# include <limits.h>
18075#else
18076# include <assert.h>
18077#endif
18078
18079#undef $ac_func
18080
18081/* Override any gcc2 internal prototype to avoid an error.  */
18082#ifdef __cplusplus
18083extern "C"
18084{
18085#endif
18086/* We use char because int might match the return type of a gcc2
18087   builtin and then its argument prototype would still apply.  */
18088char $ac_func ();
18089/* The GNU C library defines this for functions which it implements
18090    to always fail with ENOSYS.  Some functions are actually named
18091    something starting with __ and the normal name is an alias.  */
18092#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18093choke me
18094#else
18095char (*f) () = $ac_func;
18096#endif
18097#ifdef __cplusplus
18098}
18099#endif
18100
18101int
18102main ()
18103{
18104return f != $ac_func;
18105  ;
18106  return 0;
18107}
18108_ACEOF
18109rm -f conftest.$ac_objext conftest$ac_exeext
18110if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18111  (eval $ac_link) 2>conftest.er1
18112  ac_status=$?
18113  grep -v '^ *+' conftest.er1 >conftest.err
18114  rm -f conftest.er1
18115  cat conftest.err >&5
18116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117  (exit $ac_status); } &&
18118	 { ac_try='test -z "$ac_c_werror_flag"
18119			 || test ! -s conftest.err'
18120  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121  (eval $ac_try) 2>&5
18122  ac_status=$?
18123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124  (exit $ac_status); }; } &&
18125	 { ac_try='test -s conftest$ac_exeext'
18126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127  (eval $ac_try) 2>&5
18128  ac_status=$?
18129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130  (exit $ac_status); }; }; then
18131  eval "$as_ac_var=yes"
18132else
18133  echo "$as_me: failed program was:" >&5
18134sed 's/^/| /' conftest.$ac_ext >&5
18135
18136eval "$as_ac_var=no"
18137fi
18138rm -f conftest.err conftest.$ac_objext \
18139      conftest$ac_exeext conftest.$ac_ext
18140fi
18141echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18142echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18143if test `eval echo '${'$as_ac_var'}'` = yes; then
18144  cat >>confdefs.h <<_ACEOF
18145#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18146_ACEOF
18147
18148fi
18149done
18150
18151    fi
18152  fi
18153
18154
18155
18156
18157
18158
18159  echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18160echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18161  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18162    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18163  echo $ECHO_N "(cached) $ECHO_C" >&6
18164else
18165
18166
18167
18168      ac_ext=cc
18169ac_cpp='$CXXCPP $CPPFLAGS'
18170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18173
18174      cat >conftest.$ac_ext <<_ACEOF
18175/* confdefs.h.  */
18176_ACEOF
18177cat confdefs.h >>conftest.$ac_ext
18178cat >>conftest.$ac_ext <<_ACEOF
18179/* end confdefs.h.  */
18180#include <math.h>
18181int
18182main ()
18183{
18184 sincosf(0, 0, 0);
18185  ;
18186  return 0;
18187}
18188_ACEOF
18189rm -f conftest.$ac_objext
18190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18191  (eval $ac_compile) 2>conftest.er1
18192  ac_status=$?
18193  grep -v '^ *+' conftest.er1 >conftest.err
18194  rm -f conftest.er1
18195  cat conftest.err >&5
18196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197  (exit $ac_status); } &&
18198	 { ac_try='test -z "$ac_cxx_werror_flag"
18199			 || test ! -s conftest.err'
18200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201  (eval $ac_try) 2>&5
18202  ac_status=$?
18203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204  (exit $ac_status); }; } &&
18205	 { ac_try='test -s conftest.$ac_objext'
18206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207  (eval $ac_try) 2>&5
18208  ac_status=$?
18209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210  (exit $ac_status); }; }; then
18211  glibcxx_cv_func_sincosf_use=yes
18212else
18213  echo "$as_me: failed program was:" >&5
18214sed 's/^/| /' conftest.$ac_ext >&5
18215
18216glibcxx_cv_func_sincosf_use=no
18217fi
18218rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18219      ac_ext=c
18220ac_cpp='$CPP $CPPFLAGS'
18221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18223ac_compiler_gnu=$ac_cv_c_compiler_gnu
18224
18225
18226fi
18227
18228  fi
18229  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18230echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18231
18232  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18233
18234for ac_func in sincosf
18235do
18236as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18237echo "$as_me:$LINENO: checking for $ac_func" >&5
18238echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18239if eval "test \"\${$as_ac_var+set}\" = set"; then
18240  echo $ECHO_N "(cached) $ECHO_C" >&6
18241else
18242  if test x$gcc_no_link = xyes; then
18243  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18244echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18245   { (exit 1); exit 1; }; }
18246fi
18247cat >conftest.$ac_ext <<_ACEOF
18248/* confdefs.h.  */
18249_ACEOF
18250cat confdefs.h >>conftest.$ac_ext
18251cat >>conftest.$ac_ext <<_ACEOF
18252/* end confdefs.h.  */
18253/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18254   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18255#define $ac_func innocuous_$ac_func
18256
18257/* System header to define __stub macros and hopefully few prototypes,
18258    which can conflict with char $ac_func (); below.
18259    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18260    <limits.h> exists even on freestanding compilers.  */
18261
18262#ifdef __STDC__
18263# include <limits.h>
18264#else
18265# include <assert.h>
18266#endif
18267
18268#undef $ac_func
18269
18270/* Override any gcc2 internal prototype to avoid an error.  */
18271#ifdef __cplusplus
18272extern "C"
18273{
18274#endif
18275/* We use char because int might match the return type of a gcc2
18276   builtin and then its argument prototype would still apply.  */
18277char $ac_func ();
18278/* The GNU C library defines this for functions which it implements
18279    to always fail with ENOSYS.  Some functions are actually named
18280    something starting with __ and the normal name is an alias.  */
18281#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18282choke me
18283#else
18284char (*f) () = $ac_func;
18285#endif
18286#ifdef __cplusplus
18287}
18288#endif
18289
18290int
18291main ()
18292{
18293return f != $ac_func;
18294  ;
18295  return 0;
18296}
18297_ACEOF
18298rm -f conftest.$ac_objext conftest$ac_exeext
18299if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18300  (eval $ac_link) 2>conftest.er1
18301  ac_status=$?
18302  grep -v '^ *+' conftest.er1 >conftest.err
18303  rm -f conftest.er1
18304  cat conftest.err >&5
18305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306  (exit $ac_status); } &&
18307	 { ac_try='test -z "$ac_c_werror_flag"
18308			 || test ! -s conftest.err'
18309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310  (eval $ac_try) 2>&5
18311  ac_status=$?
18312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313  (exit $ac_status); }; } &&
18314	 { ac_try='test -s conftest$ac_exeext'
18315  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316  (eval $ac_try) 2>&5
18317  ac_status=$?
18318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319  (exit $ac_status); }; }; then
18320  eval "$as_ac_var=yes"
18321else
18322  echo "$as_me: failed program was:" >&5
18323sed 's/^/| /' conftest.$ac_ext >&5
18324
18325eval "$as_ac_var=no"
18326fi
18327rm -f conftest.err conftest.$ac_objext \
18328      conftest$ac_exeext conftest.$ac_ext
18329fi
18330echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18331echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18332if test `eval echo '${'$as_ac_var'}'` = yes; then
18333  cat >>confdefs.h <<_ACEOF
18334#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18335_ACEOF
18336
18337fi
18338done
18339
18340  else
18341
18342  echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18343echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18344  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18345    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18346  echo $ECHO_N "(cached) $ECHO_C" >&6
18347else
18348
18349
18350
18351      ac_ext=cc
18352ac_cpp='$CXXCPP $CPPFLAGS'
18353ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18354ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18355ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18356
18357      cat >conftest.$ac_ext <<_ACEOF
18358/* confdefs.h.  */
18359_ACEOF
18360cat confdefs.h >>conftest.$ac_ext
18361cat >>conftest.$ac_ext <<_ACEOF
18362/* end confdefs.h.  */
18363#include <math.h>
18364int
18365main ()
18366{
18367 _sincosf(0, 0, 0);
18368  ;
18369  return 0;
18370}
18371_ACEOF
18372rm -f conftest.$ac_objext
18373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18374  (eval $ac_compile) 2>conftest.er1
18375  ac_status=$?
18376  grep -v '^ *+' conftest.er1 >conftest.err
18377  rm -f conftest.er1
18378  cat conftest.err >&5
18379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380  (exit $ac_status); } &&
18381	 { ac_try='test -z "$ac_cxx_werror_flag"
18382			 || test ! -s conftest.err'
18383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384  (eval $ac_try) 2>&5
18385  ac_status=$?
18386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387  (exit $ac_status); }; } &&
18388	 { ac_try='test -s conftest.$ac_objext'
18389  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390  (eval $ac_try) 2>&5
18391  ac_status=$?
18392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393  (exit $ac_status); }; }; then
18394  glibcxx_cv_func__sincosf_use=yes
18395else
18396  echo "$as_me: failed program was:" >&5
18397sed 's/^/| /' conftest.$ac_ext >&5
18398
18399glibcxx_cv_func__sincosf_use=no
18400fi
18401rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402      ac_ext=c
18403ac_cpp='$CPP $CPPFLAGS'
18404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406ac_compiler_gnu=$ac_cv_c_compiler_gnu
18407
18408
18409fi
18410
18411  fi
18412  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18413echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18414
18415    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18416
18417for ac_func in _sincosf
18418do
18419as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18420echo "$as_me:$LINENO: checking for $ac_func" >&5
18421echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18422if eval "test \"\${$as_ac_var+set}\" = set"; then
18423  echo $ECHO_N "(cached) $ECHO_C" >&6
18424else
18425  if test x$gcc_no_link = xyes; then
18426  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18427echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18428   { (exit 1); exit 1; }; }
18429fi
18430cat >conftest.$ac_ext <<_ACEOF
18431/* confdefs.h.  */
18432_ACEOF
18433cat confdefs.h >>conftest.$ac_ext
18434cat >>conftest.$ac_ext <<_ACEOF
18435/* end confdefs.h.  */
18436/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18437   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18438#define $ac_func innocuous_$ac_func
18439
18440/* System header to define __stub macros and hopefully few prototypes,
18441    which can conflict with char $ac_func (); below.
18442    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18443    <limits.h> exists even on freestanding compilers.  */
18444
18445#ifdef __STDC__
18446# include <limits.h>
18447#else
18448# include <assert.h>
18449#endif
18450
18451#undef $ac_func
18452
18453/* Override any gcc2 internal prototype to avoid an error.  */
18454#ifdef __cplusplus
18455extern "C"
18456{
18457#endif
18458/* We use char because int might match the return type of a gcc2
18459   builtin and then its argument prototype would still apply.  */
18460char $ac_func ();
18461/* The GNU C library defines this for functions which it implements
18462    to always fail with ENOSYS.  Some functions are actually named
18463    something starting with __ and the normal name is an alias.  */
18464#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18465choke me
18466#else
18467char (*f) () = $ac_func;
18468#endif
18469#ifdef __cplusplus
18470}
18471#endif
18472
18473int
18474main ()
18475{
18476return f != $ac_func;
18477  ;
18478  return 0;
18479}
18480_ACEOF
18481rm -f conftest.$ac_objext conftest$ac_exeext
18482if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18483  (eval $ac_link) 2>conftest.er1
18484  ac_status=$?
18485  grep -v '^ *+' conftest.er1 >conftest.err
18486  rm -f conftest.er1
18487  cat conftest.err >&5
18488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489  (exit $ac_status); } &&
18490	 { ac_try='test -z "$ac_c_werror_flag"
18491			 || test ! -s conftest.err'
18492  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493  (eval $ac_try) 2>&5
18494  ac_status=$?
18495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496  (exit $ac_status); }; } &&
18497	 { ac_try='test -s conftest$ac_exeext'
18498  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499  (eval $ac_try) 2>&5
18500  ac_status=$?
18501  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502  (exit $ac_status); }; }; then
18503  eval "$as_ac_var=yes"
18504else
18505  echo "$as_me: failed program was:" >&5
18506sed 's/^/| /' conftest.$ac_ext >&5
18507
18508eval "$as_ac_var=no"
18509fi
18510rm -f conftest.err conftest.$ac_objext \
18511      conftest$ac_exeext conftest.$ac_ext
18512fi
18513echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18514echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18515if test `eval echo '${'$as_ac_var'}'` = yes; then
18516  cat >>confdefs.h <<_ACEOF
18517#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18518_ACEOF
18519
18520fi
18521done
18522
18523    fi
18524  fi
18525
18526
18527
18528
18529
18530
18531  echo "$as_me:$LINENO: checking for finitef declaration" >&5
18532echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18533  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18534    if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18535  echo $ECHO_N "(cached) $ECHO_C" >&6
18536else
18537
18538
18539
18540      ac_ext=cc
18541ac_cpp='$CXXCPP $CPPFLAGS'
18542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18545
18546      cat >conftest.$ac_ext <<_ACEOF
18547/* confdefs.h.  */
18548_ACEOF
18549cat confdefs.h >>conftest.$ac_ext
18550cat >>conftest.$ac_ext <<_ACEOF
18551/* end confdefs.h.  */
18552#include <math.h>
18553		      #ifdef HAVE_IEEEFP_H
18554		      #include <ieeefp.h>
18555		      #endif
18556
18557int
18558main ()
18559{
18560 finitef(0);
18561  ;
18562  return 0;
18563}
18564_ACEOF
18565rm -f conftest.$ac_objext
18566if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18567  (eval $ac_compile) 2>conftest.er1
18568  ac_status=$?
18569  grep -v '^ *+' conftest.er1 >conftest.err
18570  rm -f conftest.er1
18571  cat conftest.err >&5
18572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573  (exit $ac_status); } &&
18574	 { ac_try='test -z "$ac_cxx_werror_flag"
18575			 || test ! -s conftest.err'
18576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577  (eval $ac_try) 2>&5
18578  ac_status=$?
18579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580  (exit $ac_status); }; } &&
18581	 { ac_try='test -s conftest.$ac_objext'
18582  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583  (eval $ac_try) 2>&5
18584  ac_status=$?
18585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586  (exit $ac_status); }; }; then
18587  glibcxx_cv_func_finitef_use=yes
18588else
18589  echo "$as_me: failed program was:" >&5
18590sed 's/^/| /' conftest.$ac_ext >&5
18591
18592glibcxx_cv_func_finitef_use=no
18593fi
18594rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18595      ac_ext=c
18596ac_cpp='$CPP $CPPFLAGS'
18597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18599ac_compiler_gnu=$ac_cv_c_compiler_gnu
18600
18601
18602fi
18603
18604  fi
18605  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18606echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18607
18608  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18609
18610for ac_func in finitef
18611do
18612as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18613echo "$as_me:$LINENO: checking for $ac_func" >&5
18614echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18615if eval "test \"\${$as_ac_var+set}\" = set"; then
18616  echo $ECHO_N "(cached) $ECHO_C" >&6
18617else
18618  if test x$gcc_no_link = xyes; then
18619  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18620echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18621   { (exit 1); exit 1; }; }
18622fi
18623cat >conftest.$ac_ext <<_ACEOF
18624/* confdefs.h.  */
18625_ACEOF
18626cat confdefs.h >>conftest.$ac_ext
18627cat >>conftest.$ac_ext <<_ACEOF
18628/* end confdefs.h.  */
18629/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18630   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18631#define $ac_func innocuous_$ac_func
18632
18633/* System header to define __stub macros and hopefully few prototypes,
18634    which can conflict with char $ac_func (); below.
18635    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18636    <limits.h> exists even on freestanding compilers.  */
18637
18638#ifdef __STDC__
18639# include <limits.h>
18640#else
18641# include <assert.h>
18642#endif
18643
18644#undef $ac_func
18645
18646/* Override any gcc2 internal prototype to avoid an error.  */
18647#ifdef __cplusplus
18648extern "C"
18649{
18650#endif
18651/* We use char because int might match the return type of a gcc2
18652   builtin and then its argument prototype would still apply.  */
18653char $ac_func ();
18654/* The GNU C library defines this for functions which it implements
18655    to always fail with ENOSYS.  Some functions are actually named
18656    something starting with __ and the normal name is an alias.  */
18657#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18658choke me
18659#else
18660char (*f) () = $ac_func;
18661#endif
18662#ifdef __cplusplus
18663}
18664#endif
18665
18666int
18667main ()
18668{
18669return f != $ac_func;
18670  ;
18671  return 0;
18672}
18673_ACEOF
18674rm -f conftest.$ac_objext conftest$ac_exeext
18675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676  (eval $ac_link) 2>conftest.er1
18677  ac_status=$?
18678  grep -v '^ *+' conftest.er1 >conftest.err
18679  rm -f conftest.er1
18680  cat conftest.err >&5
18681  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682  (exit $ac_status); } &&
18683	 { ac_try='test -z "$ac_c_werror_flag"
18684			 || test ! -s conftest.err'
18685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686  (eval $ac_try) 2>&5
18687  ac_status=$?
18688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689  (exit $ac_status); }; } &&
18690	 { ac_try='test -s conftest$ac_exeext'
18691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692  (eval $ac_try) 2>&5
18693  ac_status=$?
18694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695  (exit $ac_status); }; }; then
18696  eval "$as_ac_var=yes"
18697else
18698  echo "$as_me: failed program was:" >&5
18699sed 's/^/| /' conftest.$ac_ext >&5
18700
18701eval "$as_ac_var=no"
18702fi
18703rm -f conftest.err conftest.$ac_objext \
18704      conftest$ac_exeext conftest.$ac_ext
18705fi
18706echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18707echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18708if test `eval echo '${'$as_ac_var'}'` = yes; then
18709  cat >>confdefs.h <<_ACEOF
18710#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18711_ACEOF
18712
18713fi
18714done
18715
18716  else
18717
18718  echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18719echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18720  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18721    if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18722  echo $ECHO_N "(cached) $ECHO_C" >&6
18723else
18724
18725
18726
18727      ac_ext=cc
18728ac_cpp='$CXXCPP $CPPFLAGS'
18729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18732
18733      cat >conftest.$ac_ext <<_ACEOF
18734/* confdefs.h.  */
18735_ACEOF
18736cat confdefs.h >>conftest.$ac_ext
18737cat >>conftest.$ac_ext <<_ACEOF
18738/* end confdefs.h.  */
18739#include <math.h>
18740		      #ifdef HAVE_IEEEFP_H
18741		      #include <ieeefp.h>
18742		      #endif
18743
18744int
18745main ()
18746{
18747 _finitef(0);
18748  ;
18749  return 0;
18750}
18751_ACEOF
18752rm -f conftest.$ac_objext
18753if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754  (eval $ac_compile) 2>conftest.er1
18755  ac_status=$?
18756  grep -v '^ *+' conftest.er1 >conftest.err
18757  rm -f conftest.er1
18758  cat conftest.err >&5
18759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760  (exit $ac_status); } &&
18761	 { ac_try='test -z "$ac_cxx_werror_flag"
18762			 || test ! -s conftest.err'
18763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764  (eval $ac_try) 2>&5
18765  ac_status=$?
18766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767  (exit $ac_status); }; } &&
18768	 { ac_try='test -s conftest.$ac_objext'
18769  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770  (eval $ac_try) 2>&5
18771  ac_status=$?
18772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773  (exit $ac_status); }; }; then
18774  glibcxx_cv_func__finitef_use=yes
18775else
18776  echo "$as_me: failed program was:" >&5
18777sed 's/^/| /' conftest.$ac_ext >&5
18778
18779glibcxx_cv_func__finitef_use=no
18780fi
18781rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18782      ac_ext=c
18783ac_cpp='$CPP $CPPFLAGS'
18784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786ac_compiler_gnu=$ac_cv_c_compiler_gnu
18787
18788
18789fi
18790
18791  fi
18792  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18793echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18794
18795    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18796
18797for ac_func in _finitef
18798do
18799as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18800echo "$as_me:$LINENO: checking for $ac_func" >&5
18801echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18802if eval "test \"\${$as_ac_var+set}\" = set"; then
18803  echo $ECHO_N "(cached) $ECHO_C" >&6
18804else
18805  if test x$gcc_no_link = xyes; then
18806  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18807echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18808   { (exit 1); exit 1; }; }
18809fi
18810cat >conftest.$ac_ext <<_ACEOF
18811/* confdefs.h.  */
18812_ACEOF
18813cat confdefs.h >>conftest.$ac_ext
18814cat >>conftest.$ac_ext <<_ACEOF
18815/* end confdefs.h.  */
18816/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18817   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18818#define $ac_func innocuous_$ac_func
18819
18820/* System header to define __stub macros and hopefully few prototypes,
18821    which can conflict with char $ac_func (); below.
18822    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18823    <limits.h> exists even on freestanding compilers.  */
18824
18825#ifdef __STDC__
18826# include <limits.h>
18827#else
18828# include <assert.h>
18829#endif
18830
18831#undef $ac_func
18832
18833/* Override any gcc2 internal prototype to avoid an error.  */
18834#ifdef __cplusplus
18835extern "C"
18836{
18837#endif
18838/* We use char because int might match the return type of a gcc2
18839   builtin and then its argument prototype would still apply.  */
18840char $ac_func ();
18841/* The GNU C library defines this for functions which it implements
18842    to always fail with ENOSYS.  Some functions are actually named
18843    something starting with __ and the normal name is an alias.  */
18844#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18845choke me
18846#else
18847char (*f) () = $ac_func;
18848#endif
18849#ifdef __cplusplus
18850}
18851#endif
18852
18853int
18854main ()
18855{
18856return f != $ac_func;
18857  ;
18858  return 0;
18859}
18860_ACEOF
18861rm -f conftest.$ac_objext conftest$ac_exeext
18862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18863  (eval $ac_link) 2>conftest.er1
18864  ac_status=$?
18865  grep -v '^ *+' conftest.er1 >conftest.err
18866  rm -f conftest.er1
18867  cat conftest.err >&5
18868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869  (exit $ac_status); } &&
18870	 { ac_try='test -z "$ac_c_werror_flag"
18871			 || test ! -s conftest.err'
18872  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873  (eval $ac_try) 2>&5
18874  ac_status=$?
18875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876  (exit $ac_status); }; } &&
18877	 { ac_try='test -s conftest$ac_exeext'
18878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879  (eval $ac_try) 2>&5
18880  ac_status=$?
18881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882  (exit $ac_status); }; }; then
18883  eval "$as_ac_var=yes"
18884else
18885  echo "$as_me: failed program was:" >&5
18886sed 's/^/| /' conftest.$ac_ext >&5
18887
18888eval "$as_ac_var=no"
18889fi
18890rm -f conftest.err conftest.$ac_objext \
18891      conftest$ac_exeext conftest.$ac_ext
18892fi
18893echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18894echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18895if test `eval echo '${'$as_ac_var'}'` = yes; then
18896  cat >>confdefs.h <<_ACEOF
18897#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18898_ACEOF
18899
18900fi
18901done
18902
18903    fi
18904  fi
18905
18906
18907
18908
18909
18910
18911    echo "$as_me:$LINENO: checking for long double trig functions" >&5
18912echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18913  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18914  echo $ECHO_N "(cached) $ECHO_C" >&6
18915else
18916
18917
18918
18919    ac_ext=cc
18920ac_cpp='$CXXCPP $CPPFLAGS'
18921ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18924
18925    cat >conftest.$ac_ext <<_ACEOF
18926/* confdefs.h.  */
18927_ACEOF
18928cat confdefs.h >>conftest.$ac_ext
18929cat >>conftest.$ac_ext <<_ACEOF
18930/* end confdefs.h.  */
18931#include <math.h>
18932int
18933main ()
18934{
18935acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18936  ;
18937  return 0;
18938}
18939_ACEOF
18940rm -f conftest.$ac_objext
18941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18942  (eval $ac_compile) 2>conftest.er1
18943  ac_status=$?
18944  grep -v '^ *+' conftest.er1 >conftest.err
18945  rm -f conftest.er1
18946  cat conftest.err >&5
18947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948  (exit $ac_status); } &&
18949	 { ac_try='test -z "$ac_cxx_werror_flag"
18950			 || test ! -s conftest.err'
18951  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952  (eval $ac_try) 2>&5
18953  ac_status=$?
18954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955  (exit $ac_status); }; } &&
18956	 { ac_try='test -s conftest.$ac_objext'
18957  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958  (eval $ac_try) 2>&5
18959  ac_status=$?
18960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961  (exit $ac_status); }; }; then
18962  glibcxx_cv_func_long_double_trig_use=yes
18963else
18964  echo "$as_me: failed program was:" >&5
18965sed 's/^/| /' conftest.$ac_ext >&5
18966
18967glibcxx_cv_func_long_double_trig_use=no
18968fi
18969rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18970    ac_ext=c
18971ac_cpp='$CPP $CPPFLAGS'
18972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974ac_compiler_gnu=$ac_cv_c_compiler_gnu
18975
18976fi
18977
18978  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18979echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18980  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18991do
18992as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18993echo "$as_me:$LINENO: checking for $ac_func" >&5
18994echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18995if eval "test \"\${$as_ac_var+set}\" = set"; then
18996  echo $ECHO_N "(cached) $ECHO_C" >&6
18997else
18998  if test x$gcc_no_link = xyes; then
18999  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19000echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19001   { (exit 1); exit 1; }; }
19002fi
19003cat >conftest.$ac_ext <<_ACEOF
19004/* confdefs.h.  */
19005_ACEOF
19006cat confdefs.h >>conftest.$ac_ext
19007cat >>conftest.$ac_ext <<_ACEOF
19008/* end confdefs.h.  */
19009/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19010   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19011#define $ac_func innocuous_$ac_func
19012
19013/* System header to define __stub macros and hopefully few prototypes,
19014    which can conflict with char $ac_func (); below.
19015    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19016    <limits.h> exists even on freestanding compilers.  */
19017
19018#ifdef __STDC__
19019# include <limits.h>
19020#else
19021# include <assert.h>
19022#endif
19023
19024#undef $ac_func
19025
19026/* Override any gcc2 internal prototype to avoid an error.  */
19027#ifdef __cplusplus
19028extern "C"
19029{
19030#endif
19031/* We use char because int might match the return type of a gcc2
19032   builtin and then its argument prototype would still apply.  */
19033char $ac_func ();
19034/* The GNU C library defines this for functions which it implements
19035    to always fail with ENOSYS.  Some functions are actually named
19036    something starting with __ and the normal name is an alias.  */
19037#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038choke me
19039#else
19040char (*f) () = $ac_func;
19041#endif
19042#ifdef __cplusplus
19043}
19044#endif
19045
19046int
19047main ()
19048{
19049return f != $ac_func;
19050  ;
19051  return 0;
19052}
19053_ACEOF
19054rm -f conftest.$ac_objext conftest$ac_exeext
19055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19056  (eval $ac_link) 2>conftest.er1
19057  ac_status=$?
19058  grep -v '^ *+' conftest.er1 >conftest.err
19059  rm -f conftest.er1
19060  cat conftest.err >&5
19061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062  (exit $ac_status); } &&
19063	 { ac_try='test -z "$ac_c_werror_flag"
19064			 || test ! -s conftest.err'
19065  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066  (eval $ac_try) 2>&5
19067  ac_status=$?
19068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069  (exit $ac_status); }; } &&
19070	 { ac_try='test -s conftest$ac_exeext'
19071  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072  (eval $ac_try) 2>&5
19073  ac_status=$?
19074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075  (exit $ac_status); }; }; then
19076  eval "$as_ac_var=yes"
19077else
19078  echo "$as_me: failed program was:" >&5
19079sed 's/^/| /' conftest.$ac_ext >&5
19080
19081eval "$as_ac_var=no"
19082fi
19083rm -f conftest.err conftest.$ac_objext \
19084      conftest$ac_exeext conftest.$ac_ext
19085fi
19086echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19087echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19088if test `eval echo '${'$as_ac_var'}'` = yes; then
19089  cat >>confdefs.h <<_ACEOF
19090#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19091_ACEOF
19092
19093fi
19094done
19095
19096  else
19097    echo "$as_me:$LINENO: checking for _long double trig functions" >&5
19098echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
19099    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
19100  echo $ECHO_N "(cached) $ECHO_C" >&6
19101else
19102
19103
19104
19105      ac_ext=cc
19106ac_cpp='$CXXCPP $CPPFLAGS'
19107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19110
19111      cat >conftest.$ac_ext <<_ACEOF
19112/* confdefs.h.  */
19113_ACEOF
19114cat confdefs.h >>conftest.$ac_ext
19115cat >>conftest.$ac_ext <<_ACEOF
19116/* end confdefs.h.  */
19117#include <math.h>
19118int
19119main ()
19120{
19121_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
19122  ;
19123  return 0;
19124}
19125_ACEOF
19126rm -f conftest.$ac_objext
19127if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128  (eval $ac_compile) 2>conftest.er1
19129  ac_status=$?
19130  grep -v '^ *+' conftest.er1 >conftest.err
19131  rm -f conftest.er1
19132  cat conftest.err >&5
19133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134  (exit $ac_status); } &&
19135	 { ac_try='test -z "$ac_cxx_werror_flag"
19136			 || test ! -s conftest.err'
19137  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138  (eval $ac_try) 2>&5
19139  ac_status=$?
19140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141  (exit $ac_status); }; } &&
19142	 { ac_try='test -s conftest.$ac_objext'
19143  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144  (eval $ac_try) 2>&5
19145  ac_status=$?
19146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147  (exit $ac_status); }; }; then
19148  glibcxx_cv_func__long_double_trig_use=yes
19149else
19150  echo "$as_me: failed program was:" >&5
19151sed 's/^/| /' conftest.$ac_ext >&5
19152
19153glibcxx_cv_func__long_double_trig_use=no
19154fi
19155rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19156      ac_ext=c
19157ac_cpp='$CPP $CPPFLAGS'
19158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160ac_compiler_gnu=$ac_cv_c_compiler_gnu
19161
19162fi
19163
19164    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19165echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19166    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19177do
19178as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19179echo "$as_me:$LINENO: checking for $ac_func" >&5
19180echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19181if eval "test \"\${$as_ac_var+set}\" = set"; then
19182  echo $ECHO_N "(cached) $ECHO_C" >&6
19183else
19184  if test x$gcc_no_link = xyes; then
19185  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19186echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19187   { (exit 1); exit 1; }; }
19188fi
19189cat >conftest.$ac_ext <<_ACEOF
19190/* confdefs.h.  */
19191_ACEOF
19192cat confdefs.h >>conftest.$ac_ext
19193cat >>conftest.$ac_ext <<_ACEOF
19194/* end confdefs.h.  */
19195/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19196   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19197#define $ac_func innocuous_$ac_func
19198
19199/* System header to define __stub macros and hopefully few prototypes,
19200    which can conflict with char $ac_func (); below.
19201    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19202    <limits.h> exists even on freestanding compilers.  */
19203
19204#ifdef __STDC__
19205# include <limits.h>
19206#else
19207# include <assert.h>
19208#endif
19209
19210#undef $ac_func
19211
19212/* Override any gcc2 internal prototype to avoid an error.  */
19213#ifdef __cplusplus
19214extern "C"
19215{
19216#endif
19217/* We use char because int might match the return type of a gcc2
19218   builtin and then its argument prototype would still apply.  */
19219char $ac_func ();
19220/* The GNU C library defines this for functions which it implements
19221    to always fail with ENOSYS.  Some functions are actually named
19222    something starting with __ and the normal name is an alias.  */
19223#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19224choke me
19225#else
19226char (*f) () = $ac_func;
19227#endif
19228#ifdef __cplusplus
19229}
19230#endif
19231
19232int
19233main ()
19234{
19235return f != $ac_func;
19236  ;
19237  return 0;
19238}
19239_ACEOF
19240rm -f conftest.$ac_objext conftest$ac_exeext
19241if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19242  (eval $ac_link) 2>conftest.er1
19243  ac_status=$?
19244  grep -v '^ *+' conftest.er1 >conftest.err
19245  rm -f conftest.er1
19246  cat conftest.err >&5
19247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248  (exit $ac_status); } &&
19249	 { ac_try='test -z "$ac_c_werror_flag"
19250			 || test ! -s conftest.err'
19251  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252  (eval $ac_try) 2>&5
19253  ac_status=$?
19254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255  (exit $ac_status); }; } &&
19256	 { ac_try='test -s conftest$ac_exeext'
19257  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258  (eval $ac_try) 2>&5
19259  ac_status=$?
19260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261  (exit $ac_status); }; }; then
19262  eval "$as_ac_var=yes"
19263else
19264  echo "$as_me: failed program was:" >&5
19265sed 's/^/| /' conftest.$ac_ext >&5
19266
19267eval "$as_ac_var=no"
19268fi
19269rm -f conftest.err conftest.$ac_objext \
19270      conftest$ac_exeext conftest.$ac_ext
19271fi
19272echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19273echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19274if test `eval echo '${'$as_ac_var'}'` = yes; then
19275  cat >>confdefs.h <<_ACEOF
19276#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19277_ACEOF
19278
19279fi
19280done
19281
19282    fi
19283  fi
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298    echo "$as_me:$LINENO: checking for long double round functions" >&5
19299echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19300  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19301  echo $ECHO_N "(cached) $ECHO_C" >&6
19302else
19303
19304
19305
19306    ac_ext=cc
19307ac_cpp='$CXXCPP $CPPFLAGS'
19308ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19311
19312    cat >conftest.$ac_ext <<_ACEOF
19313/* confdefs.h.  */
19314_ACEOF
19315cat confdefs.h >>conftest.$ac_ext
19316cat >>conftest.$ac_ext <<_ACEOF
19317/* end confdefs.h.  */
19318#include <math.h>
19319int
19320main ()
19321{
19322ceill (0); floorl (0);
19323  ;
19324  return 0;
19325}
19326_ACEOF
19327rm -f conftest.$ac_objext
19328if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19329  (eval $ac_compile) 2>conftest.er1
19330  ac_status=$?
19331  grep -v '^ *+' conftest.er1 >conftest.err
19332  rm -f conftest.er1
19333  cat conftest.err >&5
19334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335  (exit $ac_status); } &&
19336	 { ac_try='test -z "$ac_cxx_werror_flag"
19337			 || test ! -s conftest.err'
19338  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339  (eval $ac_try) 2>&5
19340  ac_status=$?
19341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342  (exit $ac_status); }; } &&
19343	 { ac_try='test -s conftest.$ac_objext'
19344  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345  (eval $ac_try) 2>&5
19346  ac_status=$?
19347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348  (exit $ac_status); }; }; then
19349  glibcxx_cv_func_long_double_round_use=yes
19350else
19351  echo "$as_me: failed program was:" >&5
19352sed 's/^/| /' conftest.$ac_ext >&5
19353
19354glibcxx_cv_func_long_double_round_use=no
19355fi
19356rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19357    ac_ext=c
19358ac_cpp='$CPP $CPPFLAGS'
19359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361ac_compiler_gnu=$ac_cv_c_compiler_gnu
19362
19363fi
19364
19365  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19366echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19367  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19368
19369
19370for ac_func in ceill floorl
19371do
19372as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19373echo "$as_me:$LINENO: checking for $ac_func" >&5
19374echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19375if eval "test \"\${$as_ac_var+set}\" = set"; then
19376  echo $ECHO_N "(cached) $ECHO_C" >&6
19377else
19378  if test x$gcc_no_link = xyes; then
19379  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19380echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19381   { (exit 1); exit 1; }; }
19382fi
19383cat >conftest.$ac_ext <<_ACEOF
19384/* confdefs.h.  */
19385_ACEOF
19386cat confdefs.h >>conftest.$ac_ext
19387cat >>conftest.$ac_ext <<_ACEOF
19388/* end confdefs.h.  */
19389/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19390   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19391#define $ac_func innocuous_$ac_func
19392
19393/* System header to define __stub macros and hopefully few prototypes,
19394    which can conflict with char $ac_func (); below.
19395    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19396    <limits.h> exists even on freestanding compilers.  */
19397
19398#ifdef __STDC__
19399# include <limits.h>
19400#else
19401# include <assert.h>
19402#endif
19403
19404#undef $ac_func
19405
19406/* Override any gcc2 internal prototype to avoid an error.  */
19407#ifdef __cplusplus
19408extern "C"
19409{
19410#endif
19411/* We use char because int might match the return type of a gcc2
19412   builtin and then its argument prototype would still apply.  */
19413char $ac_func ();
19414/* The GNU C library defines this for functions which it implements
19415    to always fail with ENOSYS.  Some functions are actually named
19416    something starting with __ and the normal name is an alias.  */
19417#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19418choke me
19419#else
19420char (*f) () = $ac_func;
19421#endif
19422#ifdef __cplusplus
19423}
19424#endif
19425
19426int
19427main ()
19428{
19429return f != $ac_func;
19430  ;
19431  return 0;
19432}
19433_ACEOF
19434rm -f conftest.$ac_objext conftest$ac_exeext
19435if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19436  (eval $ac_link) 2>conftest.er1
19437  ac_status=$?
19438  grep -v '^ *+' conftest.er1 >conftest.err
19439  rm -f conftest.er1
19440  cat conftest.err >&5
19441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442  (exit $ac_status); } &&
19443	 { ac_try='test -z "$ac_c_werror_flag"
19444			 || test ! -s conftest.err'
19445  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446  (eval $ac_try) 2>&5
19447  ac_status=$?
19448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449  (exit $ac_status); }; } &&
19450	 { ac_try='test -s conftest$ac_exeext'
19451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452  (eval $ac_try) 2>&5
19453  ac_status=$?
19454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455  (exit $ac_status); }; }; then
19456  eval "$as_ac_var=yes"
19457else
19458  echo "$as_me: failed program was:" >&5
19459sed 's/^/| /' conftest.$ac_ext >&5
19460
19461eval "$as_ac_var=no"
19462fi
19463rm -f conftest.err conftest.$ac_objext \
19464      conftest$ac_exeext conftest.$ac_ext
19465fi
19466echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19467echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19468if test `eval echo '${'$as_ac_var'}'` = yes; then
19469  cat >>confdefs.h <<_ACEOF
19470#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19471_ACEOF
19472
19473fi
19474done
19475
19476  else
19477    echo "$as_me:$LINENO: checking for _long double round functions" >&5
19478echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19479    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19480  echo $ECHO_N "(cached) $ECHO_C" >&6
19481else
19482
19483
19484
19485      ac_ext=cc
19486ac_cpp='$CXXCPP $CPPFLAGS'
19487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19490
19491      cat >conftest.$ac_ext <<_ACEOF
19492/* confdefs.h.  */
19493_ACEOF
19494cat confdefs.h >>conftest.$ac_ext
19495cat >>conftest.$ac_ext <<_ACEOF
19496/* end confdefs.h.  */
19497#include <math.h>
19498int
19499main ()
19500{
19501_ceill (0); _floorl (0);
19502  ;
19503  return 0;
19504}
19505_ACEOF
19506rm -f conftest.$ac_objext
19507if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508  (eval $ac_compile) 2>conftest.er1
19509  ac_status=$?
19510  grep -v '^ *+' conftest.er1 >conftest.err
19511  rm -f conftest.er1
19512  cat conftest.err >&5
19513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514  (exit $ac_status); } &&
19515	 { ac_try='test -z "$ac_cxx_werror_flag"
19516			 || test ! -s conftest.err'
19517  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518  (eval $ac_try) 2>&5
19519  ac_status=$?
19520  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521  (exit $ac_status); }; } &&
19522	 { ac_try='test -s conftest.$ac_objext'
19523  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524  (eval $ac_try) 2>&5
19525  ac_status=$?
19526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527  (exit $ac_status); }; }; then
19528  glibcxx_cv_func__long_double_round_use=yes
19529else
19530  echo "$as_me: failed program was:" >&5
19531sed 's/^/| /' conftest.$ac_ext >&5
19532
19533glibcxx_cv_func__long_double_round_use=no
19534fi
19535rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19536      ac_ext=c
19537ac_cpp='$CPP $CPPFLAGS'
19538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540ac_compiler_gnu=$ac_cv_c_compiler_gnu
19541
19542fi
19543
19544    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19545echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19546    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19547
19548
19549for ac_func in _ceill _floorl
19550do
19551as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19552echo "$as_me:$LINENO: checking for $ac_func" >&5
19553echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19554if eval "test \"\${$as_ac_var+set}\" = set"; then
19555  echo $ECHO_N "(cached) $ECHO_C" >&6
19556else
19557  if test x$gcc_no_link = xyes; then
19558  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19559echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19560   { (exit 1); exit 1; }; }
19561fi
19562cat >conftest.$ac_ext <<_ACEOF
19563/* confdefs.h.  */
19564_ACEOF
19565cat confdefs.h >>conftest.$ac_ext
19566cat >>conftest.$ac_ext <<_ACEOF
19567/* end confdefs.h.  */
19568/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19569   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19570#define $ac_func innocuous_$ac_func
19571
19572/* System header to define __stub macros and hopefully few prototypes,
19573    which can conflict with char $ac_func (); below.
19574    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19575    <limits.h> exists even on freestanding compilers.  */
19576
19577#ifdef __STDC__
19578# include <limits.h>
19579#else
19580# include <assert.h>
19581#endif
19582
19583#undef $ac_func
19584
19585/* Override any gcc2 internal prototype to avoid an error.  */
19586#ifdef __cplusplus
19587extern "C"
19588{
19589#endif
19590/* We use char because int might match the return type of a gcc2
19591   builtin and then its argument prototype would still apply.  */
19592char $ac_func ();
19593/* The GNU C library defines this for functions which it implements
19594    to always fail with ENOSYS.  Some functions are actually named
19595    something starting with __ and the normal name is an alias.  */
19596#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19597choke me
19598#else
19599char (*f) () = $ac_func;
19600#endif
19601#ifdef __cplusplus
19602}
19603#endif
19604
19605int
19606main ()
19607{
19608return f != $ac_func;
19609  ;
19610  return 0;
19611}
19612_ACEOF
19613rm -f conftest.$ac_objext conftest$ac_exeext
19614if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615  (eval $ac_link) 2>conftest.er1
19616  ac_status=$?
19617  grep -v '^ *+' conftest.er1 >conftest.err
19618  rm -f conftest.er1
19619  cat conftest.err >&5
19620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621  (exit $ac_status); } &&
19622	 { ac_try='test -z "$ac_c_werror_flag"
19623			 || test ! -s conftest.err'
19624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625  (eval $ac_try) 2>&5
19626  ac_status=$?
19627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628  (exit $ac_status); }; } &&
19629	 { ac_try='test -s conftest$ac_exeext'
19630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631  (eval $ac_try) 2>&5
19632  ac_status=$?
19633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634  (exit $ac_status); }; }; then
19635  eval "$as_ac_var=yes"
19636else
19637  echo "$as_me: failed program was:" >&5
19638sed 's/^/| /' conftest.$ac_ext >&5
19639
19640eval "$as_ac_var=no"
19641fi
19642rm -f conftest.err conftest.$ac_objext \
19643      conftest$ac_exeext conftest.$ac_ext
19644fi
19645echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19646echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19647if test `eval echo '${'$as_ac_var'}'` = yes; then
19648  cat >>confdefs.h <<_ACEOF
19649#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19650_ACEOF
19651
19652fi
19653done
19654
19655    fi
19656  fi
19657
19658
19659
19660
19661
19662
19663
19664
19665  echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19666echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19667  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19668    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19669  echo $ECHO_N "(cached) $ECHO_C" >&6
19670else
19671
19672
19673
19674      ac_ext=cc
19675ac_cpp='$CXXCPP $CPPFLAGS'
19676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19679
19680      cat >conftest.$ac_ext <<_ACEOF
19681/* confdefs.h.  */
19682_ACEOF
19683cat confdefs.h >>conftest.$ac_ext
19684cat >>conftest.$ac_ext <<_ACEOF
19685/* end confdefs.h.  */
19686#include <math.h>
19687		      #ifdef HAVE_IEEEFP_H
19688		      #include <ieeefp.h>
19689		      #endif
19690
19691int
19692main ()
19693{
19694 isnanl(0);
19695  ;
19696  return 0;
19697}
19698_ACEOF
19699rm -f conftest.$ac_objext
19700if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19701  (eval $ac_compile) 2>conftest.er1
19702  ac_status=$?
19703  grep -v '^ *+' conftest.er1 >conftest.err
19704  rm -f conftest.er1
19705  cat conftest.err >&5
19706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707  (exit $ac_status); } &&
19708	 { ac_try='test -z "$ac_cxx_werror_flag"
19709			 || test ! -s conftest.err'
19710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711  (eval $ac_try) 2>&5
19712  ac_status=$?
19713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714  (exit $ac_status); }; } &&
19715	 { ac_try='test -s conftest.$ac_objext'
19716  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717  (eval $ac_try) 2>&5
19718  ac_status=$?
19719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720  (exit $ac_status); }; }; then
19721  glibcxx_cv_func_isnanl_use=yes
19722else
19723  echo "$as_me: failed program was:" >&5
19724sed 's/^/| /' conftest.$ac_ext >&5
19725
19726glibcxx_cv_func_isnanl_use=no
19727fi
19728rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19729      ac_ext=c
19730ac_cpp='$CPP $CPPFLAGS'
19731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19733ac_compiler_gnu=$ac_cv_c_compiler_gnu
19734
19735
19736fi
19737
19738  fi
19739  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19740echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19741
19742  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19743
19744for ac_func in isnanl
19745do
19746as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19747echo "$as_me:$LINENO: checking for $ac_func" >&5
19748echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19749if eval "test \"\${$as_ac_var+set}\" = set"; then
19750  echo $ECHO_N "(cached) $ECHO_C" >&6
19751else
19752  if test x$gcc_no_link = xyes; then
19753  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19754echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19755   { (exit 1); exit 1; }; }
19756fi
19757cat >conftest.$ac_ext <<_ACEOF
19758/* confdefs.h.  */
19759_ACEOF
19760cat confdefs.h >>conftest.$ac_ext
19761cat >>conftest.$ac_ext <<_ACEOF
19762/* end confdefs.h.  */
19763/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19764   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19765#define $ac_func innocuous_$ac_func
19766
19767/* System header to define __stub macros and hopefully few prototypes,
19768    which can conflict with char $ac_func (); below.
19769    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19770    <limits.h> exists even on freestanding compilers.  */
19771
19772#ifdef __STDC__
19773# include <limits.h>
19774#else
19775# include <assert.h>
19776#endif
19777
19778#undef $ac_func
19779
19780/* Override any gcc2 internal prototype to avoid an error.  */
19781#ifdef __cplusplus
19782extern "C"
19783{
19784#endif
19785/* We use char because int might match the return type of a gcc2
19786   builtin and then its argument prototype would still apply.  */
19787char $ac_func ();
19788/* The GNU C library defines this for functions which it implements
19789    to always fail with ENOSYS.  Some functions are actually named
19790    something starting with __ and the normal name is an alias.  */
19791#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19792choke me
19793#else
19794char (*f) () = $ac_func;
19795#endif
19796#ifdef __cplusplus
19797}
19798#endif
19799
19800int
19801main ()
19802{
19803return f != $ac_func;
19804  ;
19805  return 0;
19806}
19807_ACEOF
19808rm -f conftest.$ac_objext conftest$ac_exeext
19809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810  (eval $ac_link) 2>conftest.er1
19811  ac_status=$?
19812  grep -v '^ *+' conftest.er1 >conftest.err
19813  rm -f conftest.er1
19814  cat conftest.err >&5
19815  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816  (exit $ac_status); } &&
19817	 { ac_try='test -z "$ac_c_werror_flag"
19818			 || test ! -s conftest.err'
19819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820  (eval $ac_try) 2>&5
19821  ac_status=$?
19822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823  (exit $ac_status); }; } &&
19824	 { ac_try='test -s conftest$ac_exeext'
19825  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826  (eval $ac_try) 2>&5
19827  ac_status=$?
19828  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829  (exit $ac_status); }; }; then
19830  eval "$as_ac_var=yes"
19831else
19832  echo "$as_me: failed program was:" >&5
19833sed 's/^/| /' conftest.$ac_ext >&5
19834
19835eval "$as_ac_var=no"
19836fi
19837rm -f conftest.err conftest.$ac_objext \
19838      conftest$ac_exeext conftest.$ac_ext
19839fi
19840echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19841echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19842if test `eval echo '${'$as_ac_var'}'` = yes; then
19843  cat >>confdefs.h <<_ACEOF
19844#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19845_ACEOF
19846
19847fi
19848done
19849
19850  else
19851
19852  echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19853echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19854  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19855    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19856  echo $ECHO_N "(cached) $ECHO_C" >&6
19857else
19858
19859
19860
19861      ac_ext=cc
19862ac_cpp='$CXXCPP $CPPFLAGS'
19863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19866
19867      cat >conftest.$ac_ext <<_ACEOF
19868/* confdefs.h.  */
19869_ACEOF
19870cat confdefs.h >>conftest.$ac_ext
19871cat >>conftest.$ac_ext <<_ACEOF
19872/* end confdefs.h.  */
19873#include <math.h>
19874		      #ifdef HAVE_IEEEFP_H
19875		      #include <ieeefp.h>
19876		      #endif
19877
19878int
19879main ()
19880{
19881 _isnanl(0);
19882  ;
19883  return 0;
19884}
19885_ACEOF
19886rm -f conftest.$ac_objext
19887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19888  (eval $ac_compile) 2>conftest.er1
19889  ac_status=$?
19890  grep -v '^ *+' conftest.er1 >conftest.err
19891  rm -f conftest.er1
19892  cat conftest.err >&5
19893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894  (exit $ac_status); } &&
19895	 { ac_try='test -z "$ac_cxx_werror_flag"
19896			 || test ! -s conftest.err'
19897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898  (eval $ac_try) 2>&5
19899  ac_status=$?
19900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901  (exit $ac_status); }; } &&
19902	 { ac_try='test -s conftest.$ac_objext'
19903  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904  (eval $ac_try) 2>&5
19905  ac_status=$?
19906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907  (exit $ac_status); }; }; then
19908  glibcxx_cv_func__isnanl_use=yes
19909else
19910  echo "$as_me: failed program was:" >&5
19911sed 's/^/| /' conftest.$ac_ext >&5
19912
19913glibcxx_cv_func__isnanl_use=no
19914fi
19915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916      ac_ext=c
19917ac_cpp='$CPP $CPPFLAGS'
19918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920ac_compiler_gnu=$ac_cv_c_compiler_gnu
19921
19922
19923fi
19924
19925  fi
19926  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19927echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19928
19929    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19930
19931for ac_func in _isnanl
19932do
19933as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19934echo "$as_me:$LINENO: checking for $ac_func" >&5
19935echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19936if eval "test \"\${$as_ac_var+set}\" = set"; then
19937  echo $ECHO_N "(cached) $ECHO_C" >&6
19938else
19939  if test x$gcc_no_link = xyes; then
19940  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19941echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19942   { (exit 1); exit 1; }; }
19943fi
19944cat >conftest.$ac_ext <<_ACEOF
19945/* confdefs.h.  */
19946_ACEOF
19947cat confdefs.h >>conftest.$ac_ext
19948cat >>conftest.$ac_ext <<_ACEOF
19949/* end confdefs.h.  */
19950/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19951   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19952#define $ac_func innocuous_$ac_func
19953
19954/* System header to define __stub macros and hopefully few prototypes,
19955    which can conflict with char $ac_func (); below.
19956    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19957    <limits.h> exists even on freestanding compilers.  */
19958
19959#ifdef __STDC__
19960# include <limits.h>
19961#else
19962# include <assert.h>
19963#endif
19964
19965#undef $ac_func
19966
19967/* Override any gcc2 internal prototype to avoid an error.  */
19968#ifdef __cplusplus
19969extern "C"
19970{
19971#endif
19972/* We use char because int might match the return type of a gcc2
19973   builtin and then its argument prototype would still apply.  */
19974char $ac_func ();
19975/* The GNU C library defines this for functions which it implements
19976    to always fail with ENOSYS.  Some functions are actually named
19977    something starting with __ and the normal name is an alias.  */
19978#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19979choke me
19980#else
19981char (*f) () = $ac_func;
19982#endif
19983#ifdef __cplusplus
19984}
19985#endif
19986
19987int
19988main ()
19989{
19990return f != $ac_func;
19991  ;
19992  return 0;
19993}
19994_ACEOF
19995rm -f conftest.$ac_objext conftest$ac_exeext
19996if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19997  (eval $ac_link) 2>conftest.er1
19998  ac_status=$?
19999  grep -v '^ *+' conftest.er1 >conftest.err
20000  rm -f conftest.er1
20001  cat conftest.err >&5
20002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003  (exit $ac_status); } &&
20004	 { ac_try='test -z "$ac_c_werror_flag"
20005			 || test ! -s conftest.err'
20006  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007  (eval $ac_try) 2>&5
20008  ac_status=$?
20009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010  (exit $ac_status); }; } &&
20011	 { ac_try='test -s conftest$ac_exeext'
20012  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013  (eval $ac_try) 2>&5
20014  ac_status=$?
20015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016  (exit $ac_status); }; }; then
20017  eval "$as_ac_var=yes"
20018else
20019  echo "$as_me: failed program was:" >&5
20020sed 's/^/| /' conftest.$ac_ext >&5
20021
20022eval "$as_ac_var=no"
20023fi
20024rm -f conftest.err conftest.$ac_objext \
20025      conftest$ac_exeext conftest.$ac_ext
20026fi
20027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20028echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20029if test `eval echo '${'$as_ac_var'}'` = yes; then
20030  cat >>confdefs.h <<_ACEOF
20031#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20032_ACEOF
20033
20034fi
20035done
20036
20037    fi
20038  fi
20039
20040
20041
20042
20043
20044
20045  echo "$as_me:$LINENO: checking for isinfl declaration" >&5
20046echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
20047  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
20048    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
20049  echo $ECHO_N "(cached) $ECHO_C" >&6
20050else
20051
20052
20053
20054      ac_ext=cc
20055ac_cpp='$CXXCPP $CPPFLAGS'
20056ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20057ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20058ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20059
20060      cat >conftest.$ac_ext <<_ACEOF
20061/* confdefs.h.  */
20062_ACEOF
20063cat confdefs.h >>conftest.$ac_ext
20064cat >>conftest.$ac_ext <<_ACEOF
20065/* end confdefs.h.  */
20066#include <math.h>
20067		      #ifdef HAVE_IEEEFP_H
20068		      #include <ieeefp.h>
20069		      #endif
20070
20071int
20072main ()
20073{
20074 isinfl(0);
20075  ;
20076  return 0;
20077}
20078_ACEOF
20079rm -f conftest.$ac_objext
20080if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20081  (eval $ac_compile) 2>conftest.er1
20082  ac_status=$?
20083  grep -v '^ *+' conftest.er1 >conftest.err
20084  rm -f conftest.er1
20085  cat conftest.err >&5
20086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087  (exit $ac_status); } &&
20088	 { ac_try='test -z "$ac_cxx_werror_flag"
20089			 || test ! -s conftest.err'
20090  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091  (eval $ac_try) 2>&5
20092  ac_status=$?
20093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094  (exit $ac_status); }; } &&
20095	 { ac_try='test -s conftest.$ac_objext'
20096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097  (eval $ac_try) 2>&5
20098  ac_status=$?
20099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100  (exit $ac_status); }; }; then
20101  glibcxx_cv_func_isinfl_use=yes
20102else
20103  echo "$as_me: failed program was:" >&5
20104sed 's/^/| /' conftest.$ac_ext >&5
20105
20106glibcxx_cv_func_isinfl_use=no
20107fi
20108rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20109      ac_ext=c
20110ac_cpp='$CPP $CPPFLAGS'
20111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20113ac_compiler_gnu=$ac_cv_c_compiler_gnu
20114
20115
20116fi
20117
20118  fi
20119  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
20120echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
20121
20122  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
20123
20124for ac_func in isinfl
20125do
20126as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20127echo "$as_me:$LINENO: checking for $ac_func" >&5
20128echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20129if eval "test \"\${$as_ac_var+set}\" = set"; then
20130  echo $ECHO_N "(cached) $ECHO_C" >&6
20131else
20132  if test x$gcc_no_link = xyes; then
20133  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20134echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20135   { (exit 1); exit 1; }; }
20136fi
20137cat >conftest.$ac_ext <<_ACEOF
20138/* confdefs.h.  */
20139_ACEOF
20140cat confdefs.h >>conftest.$ac_ext
20141cat >>conftest.$ac_ext <<_ACEOF
20142/* end confdefs.h.  */
20143/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20144   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20145#define $ac_func innocuous_$ac_func
20146
20147/* System header to define __stub macros and hopefully few prototypes,
20148    which can conflict with char $ac_func (); below.
20149    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20150    <limits.h> exists even on freestanding compilers.  */
20151
20152#ifdef __STDC__
20153# include <limits.h>
20154#else
20155# include <assert.h>
20156#endif
20157
20158#undef $ac_func
20159
20160/* Override any gcc2 internal prototype to avoid an error.  */
20161#ifdef __cplusplus
20162extern "C"
20163{
20164#endif
20165/* We use char because int might match the return type of a gcc2
20166   builtin and then its argument prototype would still apply.  */
20167char $ac_func ();
20168/* The GNU C library defines this for functions which it implements
20169    to always fail with ENOSYS.  Some functions are actually named
20170    something starting with __ and the normal name is an alias.  */
20171#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20172choke me
20173#else
20174char (*f) () = $ac_func;
20175#endif
20176#ifdef __cplusplus
20177}
20178#endif
20179
20180int
20181main ()
20182{
20183return f != $ac_func;
20184  ;
20185  return 0;
20186}
20187_ACEOF
20188rm -f conftest.$ac_objext conftest$ac_exeext
20189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20190  (eval $ac_link) 2>conftest.er1
20191  ac_status=$?
20192  grep -v '^ *+' conftest.er1 >conftest.err
20193  rm -f conftest.er1
20194  cat conftest.err >&5
20195  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196  (exit $ac_status); } &&
20197	 { ac_try='test -z "$ac_c_werror_flag"
20198			 || test ! -s conftest.err'
20199  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200  (eval $ac_try) 2>&5
20201  ac_status=$?
20202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203  (exit $ac_status); }; } &&
20204	 { ac_try='test -s conftest$ac_exeext'
20205  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206  (eval $ac_try) 2>&5
20207  ac_status=$?
20208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209  (exit $ac_status); }; }; then
20210  eval "$as_ac_var=yes"
20211else
20212  echo "$as_me: failed program was:" >&5
20213sed 's/^/| /' conftest.$ac_ext >&5
20214
20215eval "$as_ac_var=no"
20216fi
20217rm -f conftest.err conftest.$ac_objext \
20218      conftest$ac_exeext conftest.$ac_ext
20219fi
20220echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20221echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20222if test `eval echo '${'$as_ac_var'}'` = yes; then
20223  cat >>confdefs.h <<_ACEOF
20224#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20225_ACEOF
20226
20227fi
20228done
20229
20230  else
20231
20232  echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20233echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20234  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20235    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20236  echo $ECHO_N "(cached) $ECHO_C" >&6
20237else
20238
20239
20240
20241      ac_ext=cc
20242ac_cpp='$CXXCPP $CPPFLAGS'
20243ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20244ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20245ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20246
20247      cat >conftest.$ac_ext <<_ACEOF
20248/* confdefs.h.  */
20249_ACEOF
20250cat confdefs.h >>conftest.$ac_ext
20251cat >>conftest.$ac_ext <<_ACEOF
20252/* end confdefs.h.  */
20253#include <math.h>
20254		      #ifdef HAVE_IEEEFP_H
20255		      #include <ieeefp.h>
20256		      #endif
20257
20258int
20259main ()
20260{
20261 _isinfl(0);
20262  ;
20263  return 0;
20264}
20265_ACEOF
20266rm -f conftest.$ac_objext
20267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20268  (eval $ac_compile) 2>conftest.er1
20269  ac_status=$?
20270  grep -v '^ *+' conftest.er1 >conftest.err
20271  rm -f conftest.er1
20272  cat conftest.err >&5
20273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274  (exit $ac_status); } &&
20275	 { ac_try='test -z "$ac_cxx_werror_flag"
20276			 || test ! -s conftest.err'
20277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278  (eval $ac_try) 2>&5
20279  ac_status=$?
20280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281  (exit $ac_status); }; } &&
20282	 { ac_try='test -s conftest.$ac_objext'
20283  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284  (eval $ac_try) 2>&5
20285  ac_status=$?
20286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287  (exit $ac_status); }; }; then
20288  glibcxx_cv_func__isinfl_use=yes
20289else
20290  echo "$as_me: failed program was:" >&5
20291sed 's/^/| /' conftest.$ac_ext >&5
20292
20293glibcxx_cv_func__isinfl_use=no
20294fi
20295rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20296      ac_ext=c
20297ac_cpp='$CPP $CPPFLAGS'
20298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20300ac_compiler_gnu=$ac_cv_c_compiler_gnu
20301
20302
20303fi
20304
20305  fi
20306  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20307echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20308
20309    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20310
20311for ac_func in _isinfl
20312do
20313as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20314echo "$as_me:$LINENO: checking for $ac_func" >&5
20315echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20316if eval "test \"\${$as_ac_var+set}\" = set"; then
20317  echo $ECHO_N "(cached) $ECHO_C" >&6
20318else
20319  if test x$gcc_no_link = xyes; then
20320  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20321echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20322   { (exit 1); exit 1; }; }
20323fi
20324cat >conftest.$ac_ext <<_ACEOF
20325/* confdefs.h.  */
20326_ACEOF
20327cat confdefs.h >>conftest.$ac_ext
20328cat >>conftest.$ac_ext <<_ACEOF
20329/* end confdefs.h.  */
20330/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20331   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20332#define $ac_func innocuous_$ac_func
20333
20334/* System header to define __stub macros and hopefully few prototypes,
20335    which can conflict with char $ac_func (); below.
20336    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20337    <limits.h> exists even on freestanding compilers.  */
20338
20339#ifdef __STDC__
20340# include <limits.h>
20341#else
20342# include <assert.h>
20343#endif
20344
20345#undef $ac_func
20346
20347/* Override any gcc2 internal prototype to avoid an error.  */
20348#ifdef __cplusplus
20349extern "C"
20350{
20351#endif
20352/* We use char because int might match the return type of a gcc2
20353   builtin and then its argument prototype would still apply.  */
20354char $ac_func ();
20355/* The GNU C library defines this for functions which it implements
20356    to always fail with ENOSYS.  Some functions are actually named
20357    something starting with __ and the normal name is an alias.  */
20358#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20359choke me
20360#else
20361char (*f) () = $ac_func;
20362#endif
20363#ifdef __cplusplus
20364}
20365#endif
20366
20367int
20368main ()
20369{
20370return f != $ac_func;
20371  ;
20372  return 0;
20373}
20374_ACEOF
20375rm -f conftest.$ac_objext conftest$ac_exeext
20376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20377  (eval $ac_link) 2>conftest.er1
20378  ac_status=$?
20379  grep -v '^ *+' conftest.er1 >conftest.err
20380  rm -f conftest.er1
20381  cat conftest.err >&5
20382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383  (exit $ac_status); } &&
20384	 { ac_try='test -z "$ac_c_werror_flag"
20385			 || test ! -s conftest.err'
20386  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387  (eval $ac_try) 2>&5
20388  ac_status=$?
20389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390  (exit $ac_status); }; } &&
20391	 { ac_try='test -s conftest$ac_exeext'
20392  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393  (eval $ac_try) 2>&5
20394  ac_status=$?
20395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396  (exit $ac_status); }; }; then
20397  eval "$as_ac_var=yes"
20398else
20399  echo "$as_me: failed program was:" >&5
20400sed 's/^/| /' conftest.$ac_ext >&5
20401
20402eval "$as_ac_var=no"
20403fi
20404rm -f conftest.err conftest.$ac_objext \
20405      conftest$ac_exeext conftest.$ac_ext
20406fi
20407echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20408echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20409if test `eval echo '${'$as_ac_var'}'` = yes; then
20410  cat >>confdefs.h <<_ACEOF
20411#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20412_ACEOF
20413
20414fi
20415done
20416
20417    fi
20418  fi
20419
20420
20421
20422
20423
20424
20425  echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20426echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20427  if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20428    if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20429  echo $ECHO_N "(cached) $ECHO_C" >&6
20430else
20431
20432
20433
20434      ac_ext=cc
20435ac_cpp='$CXXCPP $CPPFLAGS'
20436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20439
20440      cat >conftest.$ac_ext <<_ACEOF
20441/* confdefs.h.  */
20442_ACEOF
20443cat confdefs.h >>conftest.$ac_ext
20444cat >>conftest.$ac_ext <<_ACEOF
20445/* end confdefs.h.  */
20446#include <math.h>
20447int
20448main ()
20449{
20450 copysignl(0, 0);
20451  ;
20452  return 0;
20453}
20454_ACEOF
20455rm -f conftest.$ac_objext
20456if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20457  (eval $ac_compile) 2>conftest.er1
20458  ac_status=$?
20459  grep -v '^ *+' conftest.er1 >conftest.err
20460  rm -f conftest.er1
20461  cat conftest.err >&5
20462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463  (exit $ac_status); } &&
20464	 { ac_try='test -z "$ac_cxx_werror_flag"
20465			 || test ! -s conftest.err'
20466  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467  (eval $ac_try) 2>&5
20468  ac_status=$?
20469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470  (exit $ac_status); }; } &&
20471	 { ac_try='test -s conftest.$ac_objext'
20472  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473  (eval $ac_try) 2>&5
20474  ac_status=$?
20475  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476  (exit $ac_status); }; }; then
20477  glibcxx_cv_func_copysignl_use=yes
20478else
20479  echo "$as_me: failed program was:" >&5
20480sed 's/^/| /' conftest.$ac_ext >&5
20481
20482glibcxx_cv_func_copysignl_use=no
20483fi
20484rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20485      ac_ext=c
20486ac_cpp='$CPP $CPPFLAGS'
20487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20489ac_compiler_gnu=$ac_cv_c_compiler_gnu
20490
20491
20492fi
20493
20494  fi
20495  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20496echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20497
20498  if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20499
20500for ac_func in copysignl
20501do
20502as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20503echo "$as_me:$LINENO: checking for $ac_func" >&5
20504echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20505if eval "test \"\${$as_ac_var+set}\" = set"; then
20506  echo $ECHO_N "(cached) $ECHO_C" >&6
20507else
20508  if test x$gcc_no_link = xyes; then
20509  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20510echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20511   { (exit 1); exit 1; }; }
20512fi
20513cat >conftest.$ac_ext <<_ACEOF
20514/* confdefs.h.  */
20515_ACEOF
20516cat confdefs.h >>conftest.$ac_ext
20517cat >>conftest.$ac_ext <<_ACEOF
20518/* end confdefs.h.  */
20519/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20520   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20521#define $ac_func innocuous_$ac_func
20522
20523/* System header to define __stub macros and hopefully few prototypes,
20524    which can conflict with char $ac_func (); below.
20525    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20526    <limits.h> exists even on freestanding compilers.  */
20527
20528#ifdef __STDC__
20529# include <limits.h>
20530#else
20531# include <assert.h>
20532#endif
20533
20534#undef $ac_func
20535
20536/* Override any gcc2 internal prototype to avoid an error.  */
20537#ifdef __cplusplus
20538extern "C"
20539{
20540#endif
20541/* We use char because int might match the return type of a gcc2
20542   builtin and then its argument prototype would still apply.  */
20543char $ac_func ();
20544/* The GNU C library defines this for functions which it implements
20545    to always fail with ENOSYS.  Some functions are actually named
20546    something starting with __ and the normal name is an alias.  */
20547#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20548choke me
20549#else
20550char (*f) () = $ac_func;
20551#endif
20552#ifdef __cplusplus
20553}
20554#endif
20555
20556int
20557main ()
20558{
20559return f != $ac_func;
20560  ;
20561  return 0;
20562}
20563_ACEOF
20564rm -f conftest.$ac_objext conftest$ac_exeext
20565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20566  (eval $ac_link) 2>conftest.er1
20567  ac_status=$?
20568  grep -v '^ *+' conftest.er1 >conftest.err
20569  rm -f conftest.er1
20570  cat conftest.err >&5
20571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572  (exit $ac_status); } &&
20573	 { ac_try='test -z "$ac_c_werror_flag"
20574			 || test ! -s conftest.err'
20575  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576  (eval $ac_try) 2>&5
20577  ac_status=$?
20578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579  (exit $ac_status); }; } &&
20580	 { ac_try='test -s conftest$ac_exeext'
20581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582  (eval $ac_try) 2>&5
20583  ac_status=$?
20584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585  (exit $ac_status); }; }; then
20586  eval "$as_ac_var=yes"
20587else
20588  echo "$as_me: failed program was:" >&5
20589sed 's/^/| /' conftest.$ac_ext >&5
20590
20591eval "$as_ac_var=no"
20592fi
20593rm -f conftest.err conftest.$ac_objext \
20594      conftest$ac_exeext conftest.$ac_ext
20595fi
20596echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20597echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20598if test `eval echo '${'$as_ac_var'}'` = yes; then
20599  cat >>confdefs.h <<_ACEOF
20600#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20601_ACEOF
20602
20603fi
20604done
20605
20606  else
20607
20608  echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20609echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20610  if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20611    if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20612  echo $ECHO_N "(cached) $ECHO_C" >&6
20613else
20614
20615
20616
20617      ac_ext=cc
20618ac_cpp='$CXXCPP $CPPFLAGS'
20619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20622
20623      cat >conftest.$ac_ext <<_ACEOF
20624/* confdefs.h.  */
20625_ACEOF
20626cat confdefs.h >>conftest.$ac_ext
20627cat >>conftest.$ac_ext <<_ACEOF
20628/* end confdefs.h.  */
20629#include <math.h>
20630int
20631main ()
20632{
20633 _copysignl(0, 0);
20634  ;
20635  return 0;
20636}
20637_ACEOF
20638rm -f conftest.$ac_objext
20639if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20640  (eval $ac_compile) 2>conftest.er1
20641  ac_status=$?
20642  grep -v '^ *+' conftest.er1 >conftest.err
20643  rm -f conftest.er1
20644  cat conftest.err >&5
20645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646  (exit $ac_status); } &&
20647	 { ac_try='test -z "$ac_cxx_werror_flag"
20648			 || test ! -s conftest.err'
20649  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650  (eval $ac_try) 2>&5
20651  ac_status=$?
20652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653  (exit $ac_status); }; } &&
20654	 { ac_try='test -s conftest.$ac_objext'
20655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656  (eval $ac_try) 2>&5
20657  ac_status=$?
20658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659  (exit $ac_status); }; }; then
20660  glibcxx_cv_func__copysignl_use=yes
20661else
20662  echo "$as_me: failed program was:" >&5
20663sed 's/^/| /' conftest.$ac_ext >&5
20664
20665glibcxx_cv_func__copysignl_use=no
20666fi
20667rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20668      ac_ext=c
20669ac_cpp='$CPP $CPPFLAGS'
20670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20672ac_compiler_gnu=$ac_cv_c_compiler_gnu
20673
20674
20675fi
20676
20677  fi
20678  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20679echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20680
20681    if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20682
20683for ac_func in _copysignl
20684do
20685as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20686echo "$as_me:$LINENO: checking for $ac_func" >&5
20687echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20688if eval "test \"\${$as_ac_var+set}\" = set"; then
20689  echo $ECHO_N "(cached) $ECHO_C" >&6
20690else
20691  if test x$gcc_no_link = xyes; then
20692  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20693echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20694   { (exit 1); exit 1; }; }
20695fi
20696cat >conftest.$ac_ext <<_ACEOF
20697/* confdefs.h.  */
20698_ACEOF
20699cat confdefs.h >>conftest.$ac_ext
20700cat >>conftest.$ac_ext <<_ACEOF
20701/* end confdefs.h.  */
20702/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20703   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20704#define $ac_func innocuous_$ac_func
20705
20706/* System header to define __stub macros and hopefully few prototypes,
20707    which can conflict with char $ac_func (); below.
20708    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20709    <limits.h> exists even on freestanding compilers.  */
20710
20711#ifdef __STDC__
20712# include <limits.h>
20713#else
20714# include <assert.h>
20715#endif
20716
20717#undef $ac_func
20718
20719/* Override any gcc2 internal prototype to avoid an error.  */
20720#ifdef __cplusplus
20721extern "C"
20722{
20723#endif
20724/* We use char because int might match the return type of a gcc2
20725   builtin and then its argument prototype would still apply.  */
20726char $ac_func ();
20727/* The GNU C library defines this for functions which it implements
20728    to always fail with ENOSYS.  Some functions are actually named
20729    something starting with __ and the normal name is an alias.  */
20730#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20731choke me
20732#else
20733char (*f) () = $ac_func;
20734#endif
20735#ifdef __cplusplus
20736}
20737#endif
20738
20739int
20740main ()
20741{
20742return f != $ac_func;
20743  ;
20744  return 0;
20745}
20746_ACEOF
20747rm -f conftest.$ac_objext conftest$ac_exeext
20748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20749  (eval $ac_link) 2>conftest.er1
20750  ac_status=$?
20751  grep -v '^ *+' conftest.er1 >conftest.err
20752  rm -f conftest.er1
20753  cat conftest.err >&5
20754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755  (exit $ac_status); } &&
20756	 { ac_try='test -z "$ac_c_werror_flag"
20757			 || test ! -s conftest.err'
20758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759  (eval $ac_try) 2>&5
20760  ac_status=$?
20761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762  (exit $ac_status); }; } &&
20763	 { ac_try='test -s conftest$ac_exeext'
20764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765  (eval $ac_try) 2>&5
20766  ac_status=$?
20767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768  (exit $ac_status); }; }; then
20769  eval "$as_ac_var=yes"
20770else
20771  echo "$as_me: failed program was:" >&5
20772sed 's/^/| /' conftest.$ac_ext >&5
20773
20774eval "$as_ac_var=no"
20775fi
20776rm -f conftest.err conftest.$ac_objext \
20777      conftest$ac_exeext conftest.$ac_ext
20778fi
20779echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20780echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20781if test `eval echo '${'$as_ac_var'}'` = yes; then
20782  cat >>confdefs.h <<_ACEOF
20783#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20784_ACEOF
20785
20786fi
20787done
20788
20789    fi
20790  fi
20791
20792
20793
20794
20795
20796
20797  echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20798echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20799  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20800    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20801  echo $ECHO_N "(cached) $ECHO_C" >&6
20802else
20803
20804
20805
20806      ac_ext=cc
20807ac_cpp='$CXXCPP $CPPFLAGS'
20808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20811
20812      cat >conftest.$ac_ext <<_ACEOF
20813/* confdefs.h.  */
20814_ACEOF
20815cat confdefs.h >>conftest.$ac_ext
20816cat >>conftest.$ac_ext <<_ACEOF
20817/* end confdefs.h.  */
20818#include <math.h>
20819int
20820main ()
20821{
20822 atan2l(0, 0);
20823  ;
20824  return 0;
20825}
20826_ACEOF
20827rm -f conftest.$ac_objext
20828if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20829  (eval $ac_compile) 2>conftest.er1
20830  ac_status=$?
20831  grep -v '^ *+' conftest.er1 >conftest.err
20832  rm -f conftest.er1
20833  cat conftest.err >&5
20834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835  (exit $ac_status); } &&
20836	 { ac_try='test -z "$ac_cxx_werror_flag"
20837			 || test ! -s conftest.err'
20838  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839  (eval $ac_try) 2>&5
20840  ac_status=$?
20841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842  (exit $ac_status); }; } &&
20843	 { ac_try='test -s conftest.$ac_objext'
20844  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845  (eval $ac_try) 2>&5
20846  ac_status=$?
20847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848  (exit $ac_status); }; }; then
20849  glibcxx_cv_func_atan2l_use=yes
20850else
20851  echo "$as_me: failed program was:" >&5
20852sed 's/^/| /' conftest.$ac_ext >&5
20853
20854glibcxx_cv_func_atan2l_use=no
20855fi
20856rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20857      ac_ext=c
20858ac_cpp='$CPP $CPPFLAGS'
20859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861ac_compiler_gnu=$ac_cv_c_compiler_gnu
20862
20863
20864fi
20865
20866  fi
20867  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20868echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20869
20870  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20871
20872for ac_func in atan2l
20873do
20874as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20875echo "$as_me:$LINENO: checking for $ac_func" >&5
20876echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20877if eval "test \"\${$as_ac_var+set}\" = set"; then
20878  echo $ECHO_N "(cached) $ECHO_C" >&6
20879else
20880  if test x$gcc_no_link = xyes; then
20881  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20882echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20883   { (exit 1); exit 1; }; }
20884fi
20885cat >conftest.$ac_ext <<_ACEOF
20886/* confdefs.h.  */
20887_ACEOF
20888cat confdefs.h >>conftest.$ac_ext
20889cat >>conftest.$ac_ext <<_ACEOF
20890/* end confdefs.h.  */
20891/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20892   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20893#define $ac_func innocuous_$ac_func
20894
20895/* System header to define __stub macros and hopefully few prototypes,
20896    which can conflict with char $ac_func (); below.
20897    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20898    <limits.h> exists even on freestanding compilers.  */
20899
20900#ifdef __STDC__
20901# include <limits.h>
20902#else
20903# include <assert.h>
20904#endif
20905
20906#undef $ac_func
20907
20908/* Override any gcc2 internal prototype to avoid an error.  */
20909#ifdef __cplusplus
20910extern "C"
20911{
20912#endif
20913/* We use char because int might match the return type of a gcc2
20914   builtin and then its argument prototype would still apply.  */
20915char $ac_func ();
20916/* The GNU C library defines this for functions which it implements
20917    to always fail with ENOSYS.  Some functions are actually named
20918    something starting with __ and the normal name is an alias.  */
20919#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20920choke me
20921#else
20922char (*f) () = $ac_func;
20923#endif
20924#ifdef __cplusplus
20925}
20926#endif
20927
20928int
20929main ()
20930{
20931return f != $ac_func;
20932  ;
20933  return 0;
20934}
20935_ACEOF
20936rm -f conftest.$ac_objext conftest$ac_exeext
20937if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20938  (eval $ac_link) 2>conftest.er1
20939  ac_status=$?
20940  grep -v '^ *+' conftest.er1 >conftest.err
20941  rm -f conftest.er1
20942  cat conftest.err >&5
20943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944  (exit $ac_status); } &&
20945	 { ac_try='test -z "$ac_c_werror_flag"
20946			 || test ! -s conftest.err'
20947  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948  (eval $ac_try) 2>&5
20949  ac_status=$?
20950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951  (exit $ac_status); }; } &&
20952	 { ac_try='test -s conftest$ac_exeext'
20953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954  (eval $ac_try) 2>&5
20955  ac_status=$?
20956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957  (exit $ac_status); }; }; then
20958  eval "$as_ac_var=yes"
20959else
20960  echo "$as_me: failed program was:" >&5
20961sed 's/^/| /' conftest.$ac_ext >&5
20962
20963eval "$as_ac_var=no"
20964fi
20965rm -f conftest.err conftest.$ac_objext \
20966      conftest$ac_exeext conftest.$ac_ext
20967fi
20968echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20969echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20970if test `eval echo '${'$as_ac_var'}'` = yes; then
20971  cat >>confdefs.h <<_ACEOF
20972#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20973_ACEOF
20974
20975fi
20976done
20977
20978  else
20979
20980  echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20981echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20982  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20983    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20984  echo $ECHO_N "(cached) $ECHO_C" >&6
20985else
20986
20987
20988
20989      ac_ext=cc
20990ac_cpp='$CXXCPP $CPPFLAGS'
20991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20994
20995      cat >conftest.$ac_ext <<_ACEOF
20996/* confdefs.h.  */
20997_ACEOF
20998cat confdefs.h >>conftest.$ac_ext
20999cat >>conftest.$ac_ext <<_ACEOF
21000/* end confdefs.h.  */
21001#include <math.h>
21002int
21003main ()
21004{
21005 _atan2l(0, 0);
21006  ;
21007  return 0;
21008}
21009_ACEOF
21010rm -f conftest.$ac_objext
21011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21012  (eval $ac_compile) 2>conftest.er1
21013  ac_status=$?
21014  grep -v '^ *+' conftest.er1 >conftest.err
21015  rm -f conftest.er1
21016  cat conftest.err >&5
21017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018  (exit $ac_status); } &&
21019	 { ac_try='test -z "$ac_cxx_werror_flag"
21020			 || test ! -s conftest.err'
21021  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022  (eval $ac_try) 2>&5
21023  ac_status=$?
21024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025  (exit $ac_status); }; } &&
21026	 { ac_try='test -s conftest.$ac_objext'
21027  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028  (eval $ac_try) 2>&5
21029  ac_status=$?
21030  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031  (exit $ac_status); }; }; then
21032  glibcxx_cv_func__atan2l_use=yes
21033else
21034  echo "$as_me: failed program was:" >&5
21035sed 's/^/| /' conftest.$ac_ext >&5
21036
21037glibcxx_cv_func__atan2l_use=no
21038fi
21039rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21040      ac_ext=c
21041ac_cpp='$CPP $CPPFLAGS'
21042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044ac_compiler_gnu=$ac_cv_c_compiler_gnu
21045
21046
21047fi
21048
21049  fi
21050  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
21051echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
21052
21053    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
21054
21055for ac_func in _atan2l
21056do
21057as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21058echo "$as_me:$LINENO: checking for $ac_func" >&5
21059echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21060if eval "test \"\${$as_ac_var+set}\" = set"; then
21061  echo $ECHO_N "(cached) $ECHO_C" >&6
21062else
21063  if test x$gcc_no_link = xyes; then
21064  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21065echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21066   { (exit 1); exit 1; }; }
21067fi
21068cat >conftest.$ac_ext <<_ACEOF
21069/* confdefs.h.  */
21070_ACEOF
21071cat confdefs.h >>conftest.$ac_ext
21072cat >>conftest.$ac_ext <<_ACEOF
21073/* end confdefs.h.  */
21074/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21075   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21076#define $ac_func innocuous_$ac_func
21077
21078/* System header to define __stub macros and hopefully few prototypes,
21079    which can conflict with char $ac_func (); below.
21080    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081    <limits.h> exists even on freestanding compilers.  */
21082
21083#ifdef __STDC__
21084# include <limits.h>
21085#else
21086# include <assert.h>
21087#endif
21088
21089#undef $ac_func
21090
21091/* Override any gcc2 internal prototype to avoid an error.  */
21092#ifdef __cplusplus
21093extern "C"
21094{
21095#endif
21096/* We use char because int might match the return type of a gcc2
21097   builtin and then its argument prototype would still apply.  */
21098char $ac_func ();
21099/* The GNU C library defines this for functions which it implements
21100    to always fail with ENOSYS.  Some functions are actually named
21101    something starting with __ and the normal name is an alias.  */
21102#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21103choke me
21104#else
21105char (*f) () = $ac_func;
21106#endif
21107#ifdef __cplusplus
21108}
21109#endif
21110
21111int
21112main ()
21113{
21114return f != $ac_func;
21115  ;
21116  return 0;
21117}
21118_ACEOF
21119rm -f conftest.$ac_objext conftest$ac_exeext
21120if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21121  (eval $ac_link) 2>conftest.er1
21122  ac_status=$?
21123  grep -v '^ *+' conftest.er1 >conftest.err
21124  rm -f conftest.er1
21125  cat conftest.err >&5
21126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127  (exit $ac_status); } &&
21128	 { ac_try='test -z "$ac_c_werror_flag"
21129			 || test ! -s conftest.err'
21130  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131  (eval $ac_try) 2>&5
21132  ac_status=$?
21133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134  (exit $ac_status); }; } &&
21135	 { ac_try='test -s conftest$ac_exeext'
21136  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137  (eval $ac_try) 2>&5
21138  ac_status=$?
21139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140  (exit $ac_status); }; }; then
21141  eval "$as_ac_var=yes"
21142else
21143  echo "$as_me: failed program was:" >&5
21144sed 's/^/| /' conftest.$ac_ext >&5
21145
21146eval "$as_ac_var=no"
21147fi
21148rm -f conftest.err conftest.$ac_objext \
21149      conftest$ac_exeext conftest.$ac_ext
21150fi
21151echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21152echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21153if test `eval echo '${'$as_ac_var'}'` = yes; then
21154  cat >>confdefs.h <<_ACEOF
21155#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21156_ACEOF
21157
21158fi
21159done
21160
21161    fi
21162  fi
21163
21164
21165
21166
21167
21168
21169  echo "$as_me:$LINENO: checking for expl declaration" >&5
21170echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21171  if test x${glibcxx_cv_func_expl_use+set} != xset; then
21172    if test "${glibcxx_cv_func_expl_use+set}" = set; then
21173  echo $ECHO_N "(cached) $ECHO_C" >&6
21174else
21175
21176
21177
21178      ac_ext=cc
21179ac_cpp='$CXXCPP $CPPFLAGS'
21180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21183
21184      cat >conftest.$ac_ext <<_ACEOF
21185/* confdefs.h.  */
21186_ACEOF
21187cat confdefs.h >>conftest.$ac_ext
21188cat >>conftest.$ac_ext <<_ACEOF
21189/* end confdefs.h.  */
21190#include <math.h>
21191		      #ifdef HAVE_IEEEFP_H
21192		      #include <ieeefp.h>
21193		      #endif
21194
21195int
21196main ()
21197{
21198 expl(0);
21199  ;
21200  return 0;
21201}
21202_ACEOF
21203rm -f conftest.$ac_objext
21204if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21205  (eval $ac_compile) 2>conftest.er1
21206  ac_status=$?
21207  grep -v '^ *+' conftest.er1 >conftest.err
21208  rm -f conftest.er1
21209  cat conftest.err >&5
21210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211  (exit $ac_status); } &&
21212	 { ac_try='test -z "$ac_cxx_werror_flag"
21213			 || test ! -s conftest.err'
21214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215  (eval $ac_try) 2>&5
21216  ac_status=$?
21217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218  (exit $ac_status); }; } &&
21219	 { ac_try='test -s conftest.$ac_objext'
21220  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221  (eval $ac_try) 2>&5
21222  ac_status=$?
21223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224  (exit $ac_status); }; }; then
21225  glibcxx_cv_func_expl_use=yes
21226else
21227  echo "$as_me: failed program was:" >&5
21228sed 's/^/| /' conftest.$ac_ext >&5
21229
21230glibcxx_cv_func_expl_use=no
21231fi
21232rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21233      ac_ext=c
21234ac_cpp='$CPP $CPPFLAGS'
21235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237ac_compiler_gnu=$ac_cv_c_compiler_gnu
21238
21239
21240fi
21241
21242  fi
21243  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21244echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21245
21246  if test x$glibcxx_cv_func_expl_use = x"yes"; then
21247
21248for ac_func in expl
21249do
21250as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21251echo "$as_me:$LINENO: checking for $ac_func" >&5
21252echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21253if eval "test \"\${$as_ac_var+set}\" = set"; then
21254  echo $ECHO_N "(cached) $ECHO_C" >&6
21255else
21256  if test x$gcc_no_link = xyes; then
21257  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21258echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21259   { (exit 1); exit 1; }; }
21260fi
21261cat >conftest.$ac_ext <<_ACEOF
21262/* confdefs.h.  */
21263_ACEOF
21264cat confdefs.h >>conftest.$ac_ext
21265cat >>conftest.$ac_ext <<_ACEOF
21266/* end confdefs.h.  */
21267/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21268   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21269#define $ac_func innocuous_$ac_func
21270
21271/* System header to define __stub macros and hopefully few prototypes,
21272    which can conflict with char $ac_func (); below.
21273    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21274    <limits.h> exists even on freestanding compilers.  */
21275
21276#ifdef __STDC__
21277# include <limits.h>
21278#else
21279# include <assert.h>
21280#endif
21281
21282#undef $ac_func
21283
21284/* Override any gcc2 internal prototype to avoid an error.  */
21285#ifdef __cplusplus
21286extern "C"
21287{
21288#endif
21289/* We use char because int might match the return type of a gcc2
21290   builtin and then its argument prototype would still apply.  */
21291char $ac_func ();
21292/* The GNU C library defines this for functions which it implements
21293    to always fail with ENOSYS.  Some functions are actually named
21294    something starting with __ and the normal name is an alias.  */
21295#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21296choke me
21297#else
21298char (*f) () = $ac_func;
21299#endif
21300#ifdef __cplusplus
21301}
21302#endif
21303
21304int
21305main ()
21306{
21307return f != $ac_func;
21308  ;
21309  return 0;
21310}
21311_ACEOF
21312rm -f conftest.$ac_objext conftest$ac_exeext
21313if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21314  (eval $ac_link) 2>conftest.er1
21315  ac_status=$?
21316  grep -v '^ *+' conftest.er1 >conftest.err
21317  rm -f conftest.er1
21318  cat conftest.err >&5
21319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320  (exit $ac_status); } &&
21321	 { ac_try='test -z "$ac_c_werror_flag"
21322			 || test ! -s conftest.err'
21323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324  (eval $ac_try) 2>&5
21325  ac_status=$?
21326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327  (exit $ac_status); }; } &&
21328	 { ac_try='test -s conftest$ac_exeext'
21329  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330  (eval $ac_try) 2>&5
21331  ac_status=$?
21332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333  (exit $ac_status); }; }; then
21334  eval "$as_ac_var=yes"
21335else
21336  echo "$as_me: failed program was:" >&5
21337sed 's/^/| /' conftest.$ac_ext >&5
21338
21339eval "$as_ac_var=no"
21340fi
21341rm -f conftest.err conftest.$ac_objext \
21342      conftest$ac_exeext conftest.$ac_ext
21343fi
21344echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21345echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21346if test `eval echo '${'$as_ac_var'}'` = yes; then
21347  cat >>confdefs.h <<_ACEOF
21348#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21349_ACEOF
21350
21351fi
21352done
21353
21354  else
21355
21356  echo "$as_me:$LINENO: checking for _expl declaration" >&5
21357echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21358  if test x${glibcxx_cv_func__expl_use+set} != xset; then
21359    if test "${glibcxx_cv_func__expl_use+set}" = set; then
21360  echo $ECHO_N "(cached) $ECHO_C" >&6
21361else
21362
21363
21364
21365      ac_ext=cc
21366ac_cpp='$CXXCPP $CPPFLAGS'
21367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21370
21371      cat >conftest.$ac_ext <<_ACEOF
21372/* confdefs.h.  */
21373_ACEOF
21374cat confdefs.h >>conftest.$ac_ext
21375cat >>conftest.$ac_ext <<_ACEOF
21376/* end confdefs.h.  */
21377#include <math.h>
21378		      #ifdef HAVE_IEEEFP_H
21379		      #include <ieeefp.h>
21380		      #endif
21381
21382int
21383main ()
21384{
21385 _expl(0);
21386  ;
21387  return 0;
21388}
21389_ACEOF
21390rm -f conftest.$ac_objext
21391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392  (eval $ac_compile) 2>conftest.er1
21393  ac_status=$?
21394  grep -v '^ *+' conftest.er1 >conftest.err
21395  rm -f conftest.er1
21396  cat conftest.err >&5
21397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398  (exit $ac_status); } &&
21399	 { ac_try='test -z "$ac_cxx_werror_flag"
21400			 || test ! -s conftest.err'
21401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402  (eval $ac_try) 2>&5
21403  ac_status=$?
21404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405  (exit $ac_status); }; } &&
21406	 { ac_try='test -s conftest.$ac_objext'
21407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408  (eval $ac_try) 2>&5
21409  ac_status=$?
21410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411  (exit $ac_status); }; }; then
21412  glibcxx_cv_func__expl_use=yes
21413else
21414  echo "$as_me: failed program was:" >&5
21415sed 's/^/| /' conftest.$ac_ext >&5
21416
21417glibcxx_cv_func__expl_use=no
21418fi
21419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21420      ac_ext=c
21421ac_cpp='$CPP $CPPFLAGS'
21422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424ac_compiler_gnu=$ac_cv_c_compiler_gnu
21425
21426
21427fi
21428
21429  fi
21430  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21431echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21432
21433    if test x$glibcxx_cv_func__expl_use = x"yes"; then
21434
21435for ac_func in _expl
21436do
21437as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21438echo "$as_me:$LINENO: checking for $ac_func" >&5
21439echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21440if eval "test \"\${$as_ac_var+set}\" = set"; then
21441  echo $ECHO_N "(cached) $ECHO_C" >&6
21442else
21443  if test x$gcc_no_link = xyes; then
21444  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21445echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21446   { (exit 1); exit 1; }; }
21447fi
21448cat >conftest.$ac_ext <<_ACEOF
21449/* confdefs.h.  */
21450_ACEOF
21451cat confdefs.h >>conftest.$ac_ext
21452cat >>conftest.$ac_ext <<_ACEOF
21453/* end confdefs.h.  */
21454/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21455   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21456#define $ac_func innocuous_$ac_func
21457
21458/* System header to define __stub macros and hopefully few prototypes,
21459    which can conflict with char $ac_func (); below.
21460    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21461    <limits.h> exists even on freestanding compilers.  */
21462
21463#ifdef __STDC__
21464# include <limits.h>
21465#else
21466# include <assert.h>
21467#endif
21468
21469#undef $ac_func
21470
21471/* Override any gcc2 internal prototype to avoid an error.  */
21472#ifdef __cplusplus
21473extern "C"
21474{
21475#endif
21476/* We use char because int might match the return type of a gcc2
21477   builtin and then its argument prototype would still apply.  */
21478char $ac_func ();
21479/* The GNU C library defines this for functions which it implements
21480    to always fail with ENOSYS.  Some functions are actually named
21481    something starting with __ and the normal name is an alias.  */
21482#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21483choke me
21484#else
21485char (*f) () = $ac_func;
21486#endif
21487#ifdef __cplusplus
21488}
21489#endif
21490
21491int
21492main ()
21493{
21494return f != $ac_func;
21495  ;
21496  return 0;
21497}
21498_ACEOF
21499rm -f conftest.$ac_objext conftest$ac_exeext
21500if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501  (eval $ac_link) 2>conftest.er1
21502  ac_status=$?
21503  grep -v '^ *+' conftest.er1 >conftest.err
21504  rm -f conftest.er1
21505  cat conftest.err >&5
21506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507  (exit $ac_status); } &&
21508	 { ac_try='test -z "$ac_c_werror_flag"
21509			 || test ! -s conftest.err'
21510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511  (eval $ac_try) 2>&5
21512  ac_status=$?
21513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514  (exit $ac_status); }; } &&
21515	 { ac_try='test -s conftest$ac_exeext'
21516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517  (eval $ac_try) 2>&5
21518  ac_status=$?
21519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520  (exit $ac_status); }; }; then
21521  eval "$as_ac_var=yes"
21522else
21523  echo "$as_me: failed program was:" >&5
21524sed 's/^/| /' conftest.$ac_ext >&5
21525
21526eval "$as_ac_var=no"
21527fi
21528rm -f conftest.err conftest.$ac_objext \
21529      conftest$ac_exeext conftest.$ac_ext
21530fi
21531echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21532echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21533if test `eval echo '${'$as_ac_var'}'` = yes; then
21534  cat >>confdefs.h <<_ACEOF
21535#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21536_ACEOF
21537
21538fi
21539done
21540
21541    fi
21542  fi
21543
21544
21545
21546
21547
21548
21549  echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21550echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21551  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21552    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21553  echo $ECHO_N "(cached) $ECHO_C" >&6
21554else
21555
21556
21557
21558      ac_ext=cc
21559ac_cpp='$CXXCPP $CPPFLAGS'
21560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21563
21564      cat >conftest.$ac_ext <<_ACEOF
21565/* confdefs.h.  */
21566_ACEOF
21567cat confdefs.h >>conftest.$ac_ext
21568cat >>conftest.$ac_ext <<_ACEOF
21569/* end confdefs.h.  */
21570#include <math.h>
21571		      #ifdef HAVE_IEEEFP_H
21572		      #include <ieeefp.h>
21573		      #endif
21574
21575int
21576main ()
21577{
21578 fabsl(0);
21579  ;
21580  return 0;
21581}
21582_ACEOF
21583rm -f conftest.$ac_objext
21584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21585  (eval $ac_compile) 2>conftest.er1
21586  ac_status=$?
21587  grep -v '^ *+' conftest.er1 >conftest.err
21588  rm -f conftest.er1
21589  cat conftest.err >&5
21590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591  (exit $ac_status); } &&
21592	 { ac_try='test -z "$ac_cxx_werror_flag"
21593			 || test ! -s conftest.err'
21594  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595  (eval $ac_try) 2>&5
21596  ac_status=$?
21597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598  (exit $ac_status); }; } &&
21599	 { ac_try='test -s conftest.$ac_objext'
21600  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601  (eval $ac_try) 2>&5
21602  ac_status=$?
21603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604  (exit $ac_status); }; }; then
21605  glibcxx_cv_func_fabsl_use=yes
21606else
21607  echo "$as_me: failed program was:" >&5
21608sed 's/^/| /' conftest.$ac_ext >&5
21609
21610glibcxx_cv_func_fabsl_use=no
21611fi
21612rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21613      ac_ext=c
21614ac_cpp='$CPP $CPPFLAGS'
21615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21617ac_compiler_gnu=$ac_cv_c_compiler_gnu
21618
21619
21620fi
21621
21622  fi
21623  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21624echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21625
21626  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21627
21628for ac_func in fabsl
21629do
21630as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21631echo "$as_me:$LINENO: checking for $ac_func" >&5
21632echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21633if eval "test \"\${$as_ac_var+set}\" = set"; then
21634  echo $ECHO_N "(cached) $ECHO_C" >&6
21635else
21636  if test x$gcc_no_link = xyes; then
21637  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21638echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21639   { (exit 1); exit 1; }; }
21640fi
21641cat >conftest.$ac_ext <<_ACEOF
21642/* confdefs.h.  */
21643_ACEOF
21644cat confdefs.h >>conftest.$ac_ext
21645cat >>conftest.$ac_ext <<_ACEOF
21646/* end confdefs.h.  */
21647/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21648   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21649#define $ac_func innocuous_$ac_func
21650
21651/* System header to define __stub macros and hopefully few prototypes,
21652    which can conflict with char $ac_func (); below.
21653    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21654    <limits.h> exists even on freestanding compilers.  */
21655
21656#ifdef __STDC__
21657# include <limits.h>
21658#else
21659# include <assert.h>
21660#endif
21661
21662#undef $ac_func
21663
21664/* Override any gcc2 internal prototype to avoid an error.  */
21665#ifdef __cplusplus
21666extern "C"
21667{
21668#endif
21669/* We use char because int might match the return type of a gcc2
21670   builtin and then its argument prototype would still apply.  */
21671char $ac_func ();
21672/* The GNU C library defines this for functions which it implements
21673    to always fail with ENOSYS.  Some functions are actually named
21674    something starting with __ and the normal name is an alias.  */
21675#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21676choke me
21677#else
21678char (*f) () = $ac_func;
21679#endif
21680#ifdef __cplusplus
21681}
21682#endif
21683
21684int
21685main ()
21686{
21687return f != $ac_func;
21688  ;
21689  return 0;
21690}
21691_ACEOF
21692rm -f conftest.$ac_objext conftest$ac_exeext
21693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21694  (eval $ac_link) 2>conftest.er1
21695  ac_status=$?
21696  grep -v '^ *+' conftest.er1 >conftest.err
21697  rm -f conftest.er1
21698  cat conftest.err >&5
21699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700  (exit $ac_status); } &&
21701	 { ac_try='test -z "$ac_c_werror_flag"
21702			 || test ! -s conftest.err'
21703  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704  (eval $ac_try) 2>&5
21705  ac_status=$?
21706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707  (exit $ac_status); }; } &&
21708	 { ac_try='test -s conftest$ac_exeext'
21709  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710  (eval $ac_try) 2>&5
21711  ac_status=$?
21712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713  (exit $ac_status); }; }; then
21714  eval "$as_ac_var=yes"
21715else
21716  echo "$as_me: failed program was:" >&5
21717sed 's/^/| /' conftest.$ac_ext >&5
21718
21719eval "$as_ac_var=no"
21720fi
21721rm -f conftest.err conftest.$ac_objext \
21722      conftest$ac_exeext conftest.$ac_ext
21723fi
21724echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21725echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21726if test `eval echo '${'$as_ac_var'}'` = yes; then
21727  cat >>confdefs.h <<_ACEOF
21728#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21729_ACEOF
21730
21731fi
21732done
21733
21734  else
21735
21736  echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21737echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21738  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21739    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21740  echo $ECHO_N "(cached) $ECHO_C" >&6
21741else
21742
21743
21744
21745      ac_ext=cc
21746ac_cpp='$CXXCPP $CPPFLAGS'
21747ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21748ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21749ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21750
21751      cat >conftest.$ac_ext <<_ACEOF
21752/* confdefs.h.  */
21753_ACEOF
21754cat confdefs.h >>conftest.$ac_ext
21755cat >>conftest.$ac_ext <<_ACEOF
21756/* end confdefs.h.  */
21757#include <math.h>
21758		      #ifdef HAVE_IEEEFP_H
21759		      #include <ieeefp.h>
21760		      #endif
21761
21762int
21763main ()
21764{
21765 _fabsl(0);
21766  ;
21767  return 0;
21768}
21769_ACEOF
21770rm -f conftest.$ac_objext
21771if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21772  (eval $ac_compile) 2>conftest.er1
21773  ac_status=$?
21774  grep -v '^ *+' conftest.er1 >conftest.err
21775  rm -f conftest.er1
21776  cat conftest.err >&5
21777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778  (exit $ac_status); } &&
21779	 { ac_try='test -z "$ac_cxx_werror_flag"
21780			 || test ! -s conftest.err'
21781  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782  (eval $ac_try) 2>&5
21783  ac_status=$?
21784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785  (exit $ac_status); }; } &&
21786	 { ac_try='test -s conftest.$ac_objext'
21787  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788  (eval $ac_try) 2>&5
21789  ac_status=$?
21790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791  (exit $ac_status); }; }; then
21792  glibcxx_cv_func__fabsl_use=yes
21793else
21794  echo "$as_me: failed program was:" >&5
21795sed 's/^/| /' conftest.$ac_ext >&5
21796
21797glibcxx_cv_func__fabsl_use=no
21798fi
21799rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21800      ac_ext=c
21801ac_cpp='$CPP $CPPFLAGS'
21802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21804ac_compiler_gnu=$ac_cv_c_compiler_gnu
21805
21806
21807fi
21808
21809  fi
21810  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21811echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21812
21813    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21814
21815for ac_func in _fabsl
21816do
21817as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21818echo "$as_me:$LINENO: checking for $ac_func" >&5
21819echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21820if eval "test \"\${$as_ac_var+set}\" = set"; then
21821  echo $ECHO_N "(cached) $ECHO_C" >&6
21822else
21823  if test x$gcc_no_link = xyes; then
21824  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21825echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21826   { (exit 1); exit 1; }; }
21827fi
21828cat >conftest.$ac_ext <<_ACEOF
21829/* confdefs.h.  */
21830_ACEOF
21831cat confdefs.h >>conftest.$ac_ext
21832cat >>conftest.$ac_ext <<_ACEOF
21833/* end confdefs.h.  */
21834/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21835   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21836#define $ac_func innocuous_$ac_func
21837
21838/* System header to define __stub macros and hopefully few prototypes,
21839    which can conflict with char $ac_func (); below.
21840    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21841    <limits.h> exists even on freestanding compilers.  */
21842
21843#ifdef __STDC__
21844# include <limits.h>
21845#else
21846# include <assert.h>
21847#endif
21848
21849#undef $ac_func
21850
21851/* Override any gcc2 internal prototype to avoid an error.  */
21852#ifdef __cplusplus
21853extern "C"
21854{
21855#endif
21856/* We use char because int might match the return type of a gcc2
21857   builtin and then its argument prototype would still apply.  */
21858char $ac_func ();
21859/* The GNU C library defines this for functions which it implements
21860    to always fail with ENOSYS.  Some functions are actually named
21861    something starting with __ and the normal name is an alias.  */
21862#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21863choke me
21864#else
21865char (*f) () = $ac_func;
21866#endif
21867#ifdef __cplusplus
21868}
21869#endif
21870
21871int
21872main ()
21873{
21874return f != $ac_func;
21875  ;
21876  return 0;
21877}
21878_ACEOF
21879rm -f conftest.$ac_objext conftest$ac_exeext
21880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21881  (eval $ac_link) 2>conftest.er1
21882  ac_status=$?
21883  grep -v '^ *+' conftest.er1 >conftest.err
21884  rm -f conftest.er1
21885  cat conftest.err >&5
21886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887  (exit $ac_status); } &&
21888	 { ac_try='test -z "$ac_c_werror_flag"
21889			 || test ! -s conftest.err'
21890  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891  (eval $ac_try) 2>&5
21892  ac_status=$?
21893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894  (exit $ac_status); }; } &&
21895	 { ac_try='test -s conftest$ac_exeext'
21896  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897  (eval $ac_try) 2>&5
21898  ac_status=$?
21899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900  (exit $ac_status); }; }; then
21901  eval "$as_ac_var=yes"
21902else
21903  echo "$as_me: failed program was:" >&5
21904sed 's/^/| /' conftest.$ac_ext >&5
21905
21906eval "$as_ac_var=no"
21907fi
21908rm -f conftest.err conftest.$ac_objext \
21909      conftest$ac_exeext conftest.$ac_ext
21910fi
21911echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21912echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21913if test `eval echo '${'$as_ac_var'}'` = yes; then
21914  cat >>confdefs.h <<_ACEOF
21915#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21916_ACEOF
21917
21918fi
21919done
21920
21921    fi
21922  fi
21923
21924
21925
21926
21927
21928
21929  echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21930echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21931  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21932    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21933  echo $ECHO_N "(cached) $ECHO_C" >&6
21934else
21935
21936
21937
21938      ac_ext=cc
21939ac_cpp='$CXXCPP $CPPFLAGS'
21940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21943
21944      cat >conftest.$ac_ext <<_ACEOF
21945/* confdefs.h.  */
21946_ACEOF
21947cat confdefs.h >>conftest.$ac_ext
21948cat >>conftest.$ac_ext <<_ACEOF
21949/* end confdefs.h.  */
21950#include <math.h>
21951int
21952main ()
21953{
21954 fmodl(0, 0);
21955  ;
21956  return 0;
21957}
21958_ACEOF
21959rm -f conftest.$ac_objext
21960if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21961  (eval $ac_compile) 2>conftest.er1
21962  ac_status=$?
21963  grep -v '^ *+' conftest.er1 >conftest.err
21964  rm -f conftest.er1
21965  cat conftest.err >&5
21966  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967  (exit $ac_status); } &&
21968	 { ac_try='test -z "$ac_cxx_werror_flag"
21969			 || test ! -s conftest.err'
21970  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971  (eval $ac_try) 2>&5
21972  ac_status=$?
21973  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974  (exit $ac_status); }; } &&
21975	 { ac_try='test -s conftest.$ac_objext'
21976  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977  (eval $ac_try) 2>&5
21978  ac_status=$?
21979  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980  (exit $ac_status); }; }; then
21981  glibcxx_cv_func_fmodl_use=yes
21982else
21983  echo "$as_me: failed program was:" >&5
21984sed 's/^/| /' conftest.$ac_ext >&5
21985
21986glibcxx_cv_func_fmodl_use=no
21987fi
21988rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21989      ac_ext=c
21990ac_cpp='$CPP $CPPFLAGS'
21991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993ac_compiler_gnu=$ac_cv_c_compiler_gnu
21994
21995
21996fi
21997
21998  fi
21999  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
22000echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
22001
22002  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
22003
22004for ac_func in fmodl
22005do
22006as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22007echo "$as_me:$LINENO: checking for $ac_func" >&5
22008echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22009if eval "test \"\${$as_ac_var+set}\" = set"; then
22010  echo $ECHO_N "(cached) $ECHO_C" >&6
22011else
22012  if test x$gcc_no_link = xyes; then
22013  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22014echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22015   { (exit 1); exit 1; }; }
22016fi
22017cat >conftest.$ac_ext <<_ACEOF
22018/* confdefs.h.  */
22019_ACEOF
22020cat confdefs.h >>conftest.$ac_ext
22021cat >>conftest.$ac_ext <<_ACEOF
22022/* end confdefs.h.  */
22023/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22024   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22025#define $ac_func innocuous_$ac_func
22026
22027/* System header to define __stub macros and hopefully few prototypes,
22028    which can conflict with char $ac_func (); below.
22029    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22030    <limits.h> exists even on freestanding compilers.  */
22031
22032#ifdef __STDC__
22033# include <limits.h>
22034#else
22035# include <assert.h>
22036#endif
22037
22038#undef $ac_func
22039
22040/* Override any gcc2 internal prototype to avoid an error.  */
22041#ifdef __cplusplus
22042extern "C"
22043{
22044#endif
22045/* We use char because int might match the return type of a gcc2
22046   builtin and then its argument prototype would still apply.  */
22047char $ac_func ();
22048/* The GNU C library defines this for functions which it implements
22049    to always fail with ENOSYS.  Some functions are actually named
22050    something starting with __ and the normal name is an alias.  */
22051#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22052choke me
22053#else
22054char (*f) () = $ac_func;
22055#endif
22056#ifdef __cplusplus
22057}
22058#endif
22059
22060int
22061main ()
22062{
22063return f != $ac_func;
22064  ;
22065  return 0;
22066}
22067_ACEOF
22068rm -f conftest.$ac_objext conftest$ac_exeext
22069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070  (eval $ac_link) 2>conftest.er1
22071  ac_status=$?
22072  grep -v '^ *+' conftest.er1 >conftest.err
22073  rm -f conftest.er1
22074  cat conftest.err >&5
22075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076  (exit $ac_status); } &&
22077	 { ac_try='test -z "$ac_c_werror_flag"
22078			 || test ! -s conftest.err'
22079  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080  (eval $ac_try) 2>&5
22081  ac_status=$?
22082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083  (exit $ac_status); }; } &&
22084	 { ac_try='test -s conftest$ac_exeext'
22085  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086  (eval $ac_try) 2>&5
22087  ac_status=$?
22088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089  (exit $ac_status); }; }; then
22090  eval "$as_ac_var=yes"
22091else
22092  echo "$as_me: failed program was:" >&5
22093sed 's/^/| /' conftest.$ac_ext >&5
22094
22095eval "$as_ac_var=no"
22096fi
22097rm -f conftest.err conftest.$ac_objext \
22098      conftest$ac_exeext conftest.$ac_ext
22099fi
22100echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22101echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22102if test `eval echo '${'$as_ac_var'}'` = yes; then
22103  cat >>confdefs.h <<_ACEOF
22104#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22105_ACEOF
22106
22107fi
22108done
22109
22110  else
22111
22112  echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
22113echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
22114  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
22115    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
22116  echo $ECHO_N "(cached) $ECHO_C" >&6
22117else
22118
22119
22120
22121      ac_ext=cc
22122ac_cpp='$CXXCPP $CPPFLAGS'
22123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22126
22127      cat >conftest.$ac_ext <<_ACEOF
22128/* confdefs.h.  */
22129_ACEOF
22130cat confdefs.h >>conftest.$ac_ext
22131cat >>conftest.$ac_ext <<_ACEOF
22132/* end confdefs.h.  */
22133#include <math.h>
22134int
22135main ()
22136{
22137 _fmodl(0, 0);
22138  ;
22139  return 0;
22140}
22141_ACEOF
22142rm -f conftest.$ac_objext
22143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22144  (eval $ac_compile) 2>conftest.er1
22145  ac_status=$?
22146  grep -v '^ *+' conftest.er1 >conftest.err
22147  rm -f conftest.er1
22148  cat conftest.err >&5
22149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150  (exit $ac_status); } &&
22151	 { ac_try='test -z "$ac_cxx_werror_flag"
22152			 || test ! -s conftest.err'
22153  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154  (eval $ac_try) 2>&5
22155  ac_status=$?
22156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157  (exit $ac_status); }; } &&
22158	 { ac_try='test -s conftest.$ac_objext'
22159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160  (eval $ac_try) 2>&5
22161  ac_status=$?
22162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163  (exit $ac_status); }; }; then
22164  glibcxx_cv_func__fmodl_use=yes
22165else
22166  echo "$as_me: failed program was:" >&5
22167sed 's/^/| /' conftest.$ac_ext >&5
22168
22169glibcxx_cv_func__fmodl_use=no
22170fi
22171rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22172      ac_ext=c
22173ac_cpp='$CPP $CPPFLAGS'
22174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176ac_compiler_gnu=$ac_cv_c_compiler_gnu
22177
22178
22179fi
22180
22181  fi
22182  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22183echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22184
22185    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22186
22187for ac_func in _fmodl
22188do
22189as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22190echo "$as_me:$LINENO: checking for $ac_func" >&5
22191echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22192if eval "test \"\${$as_ac_var+set}\" = set"; then
22193  echo $ECHO_N "(cached) $ECHO_C" >&6
22194else
22195  if test x$gcc_no_link = xyes; then
22196  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22197echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22198   { (exit 1); exit 1; }; }
22199fi
22200cat >conftest.$ac_ext <<_ACEOF
22201/* confdefs.h.  */
22202_ACEOF
22203cat confdefs.h >>conftest.$ac_ext
22204cat >>conftest.$ac_ext <<_ACEOF
22205/* end confdefs.h.  */
22206/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22207   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22208#define $ac_func innocuous_$ac_func
22209
22210/* System header to define __stub macros and hopefully few prototypes,
22211    which can conflict with char $ac_func (); below.
22212    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22213    <limits.h> exists even on freestanding compilers.  */
22214
22215#ifdef __STDC__
22216# include <limits.h>
22217#else
22218# include <assert.h>
22219#endif
22220
22221#undef $ac_func
22222
22223/* Override any gcc2 internal prototype to avoid an error.  */
22224#ifdef __cplusplus
22225extern "C"
22226{
22227#endif
22228/* We use char because int might match the return type of a gcc2
22229   builtin and then its argument prototype would still apply.  */
22230char $ac_func ();
22231/* The GNU C library defines this for functions which it implements
22232    to always fail with ENOSYS.  Some functions are actually named
22233    something starting with __ and the normal name is an alias.  */
22234#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22235choke me
22236#else
22237char (*f) () = $ac_func;
22238#endif
22239#ifdef __cplusplus
22240}
22241#endif
22242
22243int
22244main ()
22245{
22246return f != $ac_func;
22247  ;
22248  return 0;
22249}
22250_ACEOF
22251rm -f conftest.$ac_objext conftest$ac_exeext
22252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22253  (eval $ac_link) 2>conftest.er1
22254  ac_status=$?
22255  grep -v '^ *+' conftest.er1 >conftest.err
22256  rm -f conftest.er1
22257  cat conftest.err >&5
22258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259  (exit $ac_status); } &&
22260	 { ac_try='test -z "$ac_c_werror_flag"
22261			 || test ! -s conftest.err'
22262  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263  (eval $ac_try) 2>&5
22264  ac_status=$?
22265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266  (exit $ac_status); }; } &&
22267	 { ac_try='test -s conftest$ac_exeext'
22268  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269  (eval $ac_try) 2>&5
22270  ac_status=$?
22271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272  (exit $ac_status); }; }; then
22273  eval "$as_ac_var=yes"
22274else
22275  echo "$as_me: failed program was:" >&5
22276sed 's/^/| /' conftest.$ac_ext >&5
22277
22278eval "$as_ac_var=no"
22279fi
22280rm -f conftest.err conftest.$ac_objext \
22281      conftest$ac_exeext conftest.$ac_ext
22282fi
22283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22284echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22285if test `eval echo '${'$as_ac_var'}'` = yes; then
22286  cat >>confdefs.h <<_ACEOF
22287#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22288_ACEOF
22289
22290fi
22291done
22292
22293    fi
22294  fi
22295
22296
22297
22298
22299
22300
22301  echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22302echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22303  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22304    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22305  echo $ECHO_N "(cached) $ECHO_C" >&6
22306else
22307
22308
22309
22310      ac_ext=cc
22311ac_cpp='$CXXCPP $CPPFLAGS'
22312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22315
22316      cat >conftest.$ac_ext <<_ACEOF
22317/* confdefs.h.  */
22318_ACEOF
22319cat confdefs.h >>conftest.$ac_ext
22320cat >>conftest.$ac_ext <<_ACEOF
22321/* end confdefs.h.  */
22322#include <math.h>
22323int
22324main ()
22325{
22326 frexpl(0, 0);
22327  ;
22328  return 0;
22329}
22330_ACEOF
22331rm -f conftest.$ac_objext
22332if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22333  (eval $ac_compile) 2>conftest.er1
22334  ac_status=$?
22335  grep -v '^ *+' conftest.er1 >conftest.err
22336  rm -f conftest.er1
22337  cat conftest.err >&5
22338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339  (exit $ac_status); } &&
22340	 { ac_try='test -z "$ac_cxx_werror_flag"
22341			 || test ! -s conftest.err'
22342  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343  (eval $ac_try) 2>&5
22344  ac_status=$?
22345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346  (exit $ac_status); }; } &&
22347	 { ac_try='test -s conftest.$ac_objext'
22348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349  (eval $ac_try) 2>&5
22350  ac_status=$?
22351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352  (exit $ac_status); }; }; then
22353  glibcxx_cv_func_frexpl_use=yes
22354else
22355  echo "$as_me: failed program was:" >&5
22356sed 's/^/| /' conftest.$ac_ext >&5
22357
22358glibcxx_cv_func_frexpl_use=no
22359fi
22360rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22361      ac_ext=c
22362ac_cpp='$CPP $CPPFLAGS'
22363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365ac_compiler_gnu=$ac_cv_c_compiler_gnu
22366
22367
22368fi
22369
22370  fi
22371  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22372echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22373
22374  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22375
22376for ac_func in frexpl
22377do
22378as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22379echo "$as_me:$LINENO: checking for $ac_func" >&5
22380echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22381if eval "test \"\${$as_ac_var+set}\" = set"; then
22382  echo $ECHO_N "(cached) $ECHO_C" >&6
22383else
22384  if test x$gcc_no_link = xyes; then
22385  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22386echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22387   { (exit 1); exit 1; }; }
22388fi
22389cat >conftest.$ac_ext <<_ACEOF
22390/* confdefs.h.  */
22391_ACEOF
22392cat confdefs.h >>conftest.$ac_ext
22393cat >>conftest.$ac_ext <<_ACEOF
22394/* end confdefs.h.  */
22395/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22396   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22397#define $ac_func innocuous_$ac_func
22398
22399/* System header to define __stub macros and hopefully few prototypes,
22400    which can conflict with char $ac_func (); below.
22401    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22402    <limits.h> exists even on freestanding compilers.  */
22403
22404#ifdef __STDC__
22405# include <limits.h>
22406#else
22407# include <assert.h>
22408#endif
22409
22410#undef $ac_func
22411
22412/* Override any gcc2 internal prototype to avoid an error.  */
22413#ifdef __cplusplus
22414extern "C"
22415{
22416#endif
22417/* We use char because int might match the return type of a gcc2
22418   builtin and then its argument prototype would still apply.  */
22419char $ac_func ();
22420/* The GNU C library defines this for functions which it implements
22421    to always fail with ENOSYS.  Some functions are actually named
22422    something starting with __ and the normal name is an alias.  */
22423#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22424choke me
22425#else
22426char (*f) () = $ac_func;
22427#endif
22428#ifdef __cplusplus
22429}
22430#endif
22431
22432int
22433main ()
22434{
22435return f != $ac_func;
22436  ;
22437  return 0;
22438}
22439_ACEOF
22440rm -f conftest.$ac_objext conftest$ac_exeext
22441if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22442  (eval $ac_link) 2>conftest.er1
22443  ac_status=$?
22444  grep -v '^ *+' conftest.er1 >conftest.err
22445  rm -f conftest.er1
22446  cat conftest.err >&5
22447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448  (exit $ac_status); } &&
22449	 { ac_try='test -z "$ac_c_werror_flag"
22450			 || test ! -s conftest.err'
22451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452  (eval $ac_try) 2>&5
22453  ac_status=$?
22454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455  (exit $ac_status); }; } &&
22456	 { ac_try='test -s conftest$ac_exeext'
22457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458  (eval $ac_try) 2>&5
22459  ac_status=$?
22460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461  (exit $ac_status); }; }; then
22462  eval "$as_ac_var=yes"
22463else
22464  echo "$as_me: failed program was:" >&5
22465sed 's/^/| /' conftest.$ac_ext >&5
22466
22467eval "$as_ac_var=no"
22468fi
22469rm -f conftest.err conftest.$ac_objext \
22470      conftest$ac_exeext conftest.$ac_ext
22471fi
22472echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22473echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22474if test `eval echo '${'$as_ac_var'}'` = yes; then
22475  cat >>confdefs.h <<_ACEOF
22476#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22477_ACEOF
22478
22479fi
22480done
22481
22482  else
22483
22484  echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22485echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22486  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22487    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22488  echo $ECHO_N "(cached) $ECHO_C" >&6
22489else
22490
22491
22492
22493      ac_ext=cc
22494ac_cpp='$CXXCPP $CPPFLAGS'
22495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22498
22499      cat >conftest.$ac_ext <<_ACEOF
22500/* confdefs.h.  */
22501_ACEOF
22502cat confdefs.h >>conftest.$ac_ext
22503cat >>conftest.$ac_ext <<_ACEOF
22504/* end confdefs.h.  */
22505#include <math.h>
22506int
22507main ()
22508{
22509 _frexpl(0, 0);
22510  ;
22511  return 0;
22512}
22513_ACEOF
22514rm -f conftest.$ac_objext
22515if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22516  (eval $ac_compile) 2>conftest.er1
22517  ac_status=$?
22518  grep -v '^ *+' conftest.er1 >conftest.err
22519  rm -f conftest.er1
22520  cat conftest.err >&5
22521  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522  (exit $ac_status); } &&
22523	 { ac_try='test -z "$ac_cxx_werror_flag"
22524			 || test ! -s conftest.err'
22525  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526  (eval $ac_try) 2>&5
22527  ac_status=$?
22528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529  (exit $ac_status); }; } &&
22530	 { ac_try='test -s conftest.$ac_objext'
22531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532  (eval $ac_try) 2>&5
22533  ac_status=$?
22534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535  (exit $ac_status); }; }; then
22536  glibcxx_cv_func__frexpl_use=yes
22537else
22538  echo "$as_me: failed program was:" >&5
22539sed 's/^/| /' conftest.$ac_ext >&5
22540
22541glibcxx_cv_func__frexpl_use=no
22542fi
22543rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22544      ac_ext=c
22545ac_cpp='$CPP $CPPFLAGS'
22546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548ac_compiler_gnu=$ac_cv_c_compiler_gnu
22549
22550
22551fi
22552
22553  fi
22554  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22555echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22556
22557    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22558
22559for ac_func in _frexpl
22560do
22561as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22562echo "$as_me:$LINENO: checking for $ac_func" >&5
22563echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22564if eval "test \"\${$as_ac_var+set}\" = set"; then
22565  echo $ECHO_N "(cached) $ECHO_C" >&6
22566else
22567  if test x$gcc_no_link = xyes; then
22568  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22569echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22570   { (exit 1); exit 1; }; }
22571fi
22572cat >conftest.$ac_ext <<_ACEOF
22573/* confdefs.h.  */
22574_ACEOF
22575cat confdefs.h >>conftest.$ac_ext
22576cat >>conftest.$ac_ext <<_ACEOF
22577/* end confdefs.h.  */
22578/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22579   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22580#define $ac_func innocuous_$ac_func
22581
22582/* System header to define __stub macros and hopefully few prototypes,
22583    which can conflict with char $ac_func (); below.
22584    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22585    <limits.h> exists even on freestanding compilers.  */
22586
22587#ifdef __STDC__
22588# include <limits.h>
22589#else
22590# include <assert.h>
22591#endif
22592
22593#undef $ac_func
22594
22595/* Override any gcc2 internal prototype to avoid an error.  */
22596#ifdef __cplusplus
22597extern "C"
22598{
22599#endif
22600/* We use char because int might match the return type of a gcc2
22601   builtin and then its argument prototype would still apply.  */
22602char $ac_func ();
22603/* The GNU C library defines this for functions which it implements
22604    to always fail with ENOSYS.  Some functions are actually named
22605    something starting with __ and the normal name is an alias.  */
22606#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22607choke me
22608#else
22609char (*f) () = $ac_func;
22610#endif
22611#ifdef __cplusplus
22612}
22613#endif
22614
22615int
22616main ()
22617{
22618return f != $ac_func;
22619  ;
22620  return 0;
22621}
22622_ACEOF
22623rm -f conftest.$ac_objext conftest$ac_exeext
22624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22625  (eval $ac_link) 2>conftest.er1
22626  ac_status=$?
22627  grep -v '^ *+' conftest.er1 >conftest.err
22628  rm -f conftest.er1
22629  cat conftest.err >&5
22630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631  (exit $ac_status); } &&
22632	 { ac_try='test -z "$ac_c_werror_flag"
22633			 || test ! -s conftest.err'
22634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635  (eval $ac_try) 2>&5
22636  ac_status=$?
22637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638  (exit $ac_status); }; } &&
22639	 { ac_try='test -s conftest$ac_exeext'
22640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641  (eval $ac_try) 2>&5
22642  ac_status=$?
22643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644  (exit $ac_status); }; }; then
22645  eval "$as_ac_var=yes"
22646else
22647  echo "$as_me: failed program was:" >&5
22648sed 's/^/| /' conftest.$ac_ext >&5
22649
22650eval "$as_ac_var=no"
22651fi
22652rm -f conftest.err conftest.$ac_objext \
22653      conftest$ac_exeext conftest.$ac_ext
22654fi
22655echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22656echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22657if test `eval echo '${'$as_ac_var'}'` = yes; then
22658  cat >>confdefs.h <<_ACEOF
22659#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22660_ACEOF
22661
22662fi
22663done
22664
22665    fi
22666  fi
22667
22668
22669
22670
22671
22672
22673  echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22674echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22675  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22676    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22677  echo $ECHO_N "(cached) $ECHO_C" >&6
22678else
22679
22680
22681
22682      ac_ext=cc
22683ac_cpp='$CXXCPP $CPPFLAGS'
22684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22687
22688      cat >conftest.$ac_ext <<_ACEOF
22689/* confdefs.h.  */
22690_ACEOF
22691cat confdefs.h >>conftest.$ac_ext
22692cat >>conftest.$ac_ext <<_ACEOF
22693/* end confdefs.h.  */
22694#include <math.h>
22695int
22696main ()
22697{
22698 hypotl(0, 0);
22699  ;
22700  return 0;
22701}
22702_ACEOF
22703rm -f conftest.$ac_objext
22704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22705  (eval $ac_compile) 2>conftest.er1
22706  ac_status=$?
22707  grep -v '^ *+' conftest.er1 >conftest.err
22708  rm -f conftest.er1
22709  cat conftest.err >&5
22710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711  (exit $ac_status); } &&
22712	 { ac_try='test -z "$ac_cxx_werror_flag"
22713			 || test ! -s conftest.err'
22714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715  (eval $ac_try) 2>&5
22716  ac_status=$?
22717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718  (exit $ac_status); }; } &&
22719	 { ac_try='test -s conftest.$ac_objext'
22720  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721  (eval $ac_try) 2>&5
22722  ac_status=$?
22723  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724  (exit $ac_status); }; }; then
22725  glibcxx_cv_func_hypotl_use=yes
22726else
22727  echo "$as_me: failed program was:" >&5
22728sed 's/^/| /' conftest.$ac_ext >&5
22729
22730glibcxx_cv_func_hypotl_use=no
22731fi
22732rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22733      ac_ext=c
22734ac_cpp='$CPP $CPPFLAGS'
22735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737ac_compiler_gnu=$ac_cv_c_compiler_gnu
22738
22739
22740fi
22741
22742  fi
22743  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22744echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22745
22746  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22747
22748for ac_func in hypotl
22749do
22750as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22751echo "$as_me:$LINENO: checking for $ac_func" >&5
22752echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22753if eval "test \"\${$as_ac_var+set}\" = set"; then
22754  echo $ECHO_N "(cached) $ECHO_C" >&6
22755else
22756  if test x$gcc_no_link = xyes; then
22757  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22758echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22759   { (exit 1); exit 1; }; }
22760fi
22761cat >conftest.$ac_ext <<_ACEOF
22762/* confdefs.h.  */
22763_ACEOF
22764cat confdefs.h >>conftest.$ac_ext
22765cat >>conftest.$ac_ext <<_ACEOF
22766/* end confdefs.h.  */
22767/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22768   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22769#define $ac_func innocuous_$ac_func
22770
22771/* System header to define __stub macros and hopefully few prototypes,
22772    which can conflict with char $ac_func (); below.
22773    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22774    <limits.h> exists even on freestanding compilers.  */
22775
22776#ifdef __STDC__
22777# include <limits.h>
22778#else
22779# include <assert.h>
22780#endif
22781
22782#undef $ac_func
22783
22784/* Override any gcc2 internal prototype to avoid an error.  */
22785#ifdef __cplusplus
22786extern "C"
22787{
22788#endif
22789/* We use char because int might match the return type of a gcc2
22790   builtin and then its argument prototype would still apply.  */
22791char $ac_func ();
22792/* The GNU C library defines this for functions which it implements
22793    to always fail with ENOSYS.  Some functions are actually named
22794    something starting with __ and the normal name is an alias.  */
22795#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22796choke me
22797#else
22798char (*f) () = $ac_func;
22799#endif
22800#ifdef __cplusplus
22801}
22802#endif
22803
22804int
22805main ()
22806{
22807return f != $ac_func;
22808  ;
22809  return 0;
22810}
22811_ACEOF
22812rm -f conftest.$ac_objext conftest$ac_exeext
22813if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22814  (eval $ac_link) 2>conftest.er1
22815  ac_status=$?
22816  grep -v '^ *+' conftest.er1 >conftest.err
22817  rm -f conftest.er1
22818  cat conftest.err >&5
22819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820  (exit $ac_status); } &&
22821	 { ac_try='test -z "$ac_c_werror_flag"
22822			 || test ! -s conftest.err'
22823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824  (eval $ac_try) 2>&5
22825  ac_status=$?
22826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827  (exit $ac_status); }; } &&
22828	 { ac_try='test -s conftest$ac_exeext'
22829  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830  (eval $ac_try) 2>&5
22831  ac_status=$?
22832  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833  (exit $ac_status); }; }; then
22834  eval "$as_ac_var=yes"
22835else
22836  echo "$as_me: failed program was:" >&5
22837sed 's/^/| /' conftest.$ac_ext >&5
22838
22839eval "$as_ac_var=no"
22840fi
22841rm -f conftest.err conftest.$ac_objext \
22842      conftest$ac_exeext conftest.$ac_ext
22843fi
22844echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22845echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22846if test `eval echo '${'$as_ac_var'}'` = yes; then
22847  cat >>confdefs.h <<_ACEOF
22848#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22849_ACEOF
22850
22851fi
22852done
22853
22854  else
22855
22856  echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22857echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22858  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22859    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22860  echo $ECHO_N "(cached) $ECHO_C" >&6
22861else
22862
22863
22864
22865      ac_ext=cc
22866ac_cpp='$CXXCPP $CPPFLAGS'
22867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22870
22871      cat >conftest.$ac_ext <<_ACEOF
22872/* confdefs.h.  */
22873_ACEOF
22874cat confdefs.h >>conftest.$ac_ext
22875cat >>conftest.$ac_ext <<_ACEOF
22876/* end confdefs.h.  */
22877#include <math.h>
22878int
22879main ()
22880{
22881 _hypotl(0, 0);
22882  ;
22883  return 0;
22884}
22885_ACEOF
22886rm -f conftest.$ac_objext
22887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22888  (eval $ac_compile) 2>conftest.er1
22889  ac_status=$?
22890  grep -v '^ *+' conftest.er1 >conftest.err
22891  rm -f conftest.er1
22892  cat conftest.err >&5
22893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894  (exit $ac_status); } &&
22895	 { ac_try='test -z "$ac_cxx_werror_flag"
22896			 || test ! -s conftest.err'
22897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898  (eval $ac_try) 2>&5
22899  ac_status=$?
22900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901  (exit $ac_status); }; } &&
22902	 { ac_try='test -s conftest.$ac_objext'
22903  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904  (eval $ac_try) 2>&5
22905  ac_status=$?
22906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907  (exit $ac_status); }; }; then
22908  glibcxx_cv_func__hypotl_use=yes
22909else
22910  echo "$as_me: failed program was:" >&5
22911sed 's/^/| /' conftest.$ac_ext >&5
22912
22913glibcxx_cv_func__hypotl_use=no
22914fi
22915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22916      ac_ext=c
22917ac_cpp='$CPP $CPPFLAGS'
22918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920ac_compiler_gnu=$ac_cv_c_compiler_gnu
22921
22922
22923fi
22924
22925  fi
22926  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22927echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22928
22929    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22930
22931for ac_func in _hypotl
22932do
22933as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22934echo "$as_me:$LINENO: checking for $ac_func" >&5
22935echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22936if eval "test \"\${$as_ac_var+set}\" = set"; then
22937  echo $ECHO_N "(cached) $ECHO_C" >&6
22938else
22939  if test x$gcc_no_link = xyes; then
22940  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22941echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22942   { (exit 1); exit 1; }; }
22943fi
22944cat >conftest.$ac_ext <<_ACEOF
22945/* confdefs.h.  */
22946_ACEOF
22947cat confdefs.h >>conftest.$ac_ext
22948cat >>conftest.$ac_ext <<_ACEOF
22949/* end confdefs.h.  */
22950/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22951   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22952#define $ac_func innocuous_$ac_func
22953
22954/* System header to define __stub macros and hopefully few prototypes,
22955    which can conflict with char $ac_func (); below.
22956    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22957    <limits.h> exists even on freestanding compilers.  */
22958
22959#ifdef __STDC__
22960# include <limits.h>
22961#else
22962# include <assert.h>
22963#endif
22964
22965#undef $ac_func
22966
22967/* Override any gcc2 internal prototype to avoid an error.  */
22968#ifdef __cplusplus
22969extern "C"
22970{
22971#endif
22972/* We use char because int might match the return type of a gcc2
22973   builtin and then its argument prototype would still apply.  */
22974char $ac_func ();
22975/* The GNU C library defines this for functions which it implements
22976    to always fail with ENOSYS.  Some functions are actually named
22977    something starting with __ and the normal name is an alias.  */
22978#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22979choke me
22980#else
22981char (*f) () = $ac_func;
22982#endif
22983#ifdef __cplusplus
22984}
22985#endif
22986
22987int
22988main ()
22989{
22990return f != $ac_func;
22991  ;
22992  return 0;
22993}
22994_ACEOF
22995rm -f conftest.$ac_objext conftest$ac_exeext
22996if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22997  (eval $ac_link) 2>conftest.er1
22998  ac_status=$?
22999  grep -v '^ *+' conftest.er1 >conftest.err
23000  rm -f conftest.er1
23001  cat conftest.err >&5
23002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003  (exit $ac_status); } &&
23004	 { ac_try='test -z "$ac_c_werror_flag"
23005			 || test ! -s conftest.err'
23006  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007  (eval $ac_try) 2>&5
23008  ac_status=$?
23009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010  (exit $ac_status); }; } &&
23011	 { ac_try='test -s conftest$ac_exeext'
23012  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013  (eval $ac_try) 2>&5
23014  ac_status=$?
23015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016  (exit $ac_status); }; }; then
23017  eval "$as_ac_var=yes"
23018else
23019  echo "$as_me: failed program was:" >&5
23020sed 's/^/| /' conftest.$ac_ext >&5
23021
23022eval "$as_ac_var=no"
23023fi
23024rm -f conftest.err conftest.$ac_objext \
23025      conftest$ac_exeext conftest.$ac_ext
23026fi
23027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23028echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23029if test `eval echo '${'$as_ac_var'}'` = yes; then
23030  cat >>confdefs.h <<_ACEOF
23031#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23032_ACEOF
23033
23034fi
23035done
23036
23037    fi
23038  fi
23039
23040
23041
23042
23043
23044
23045  echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
23046echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
23047  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
23048    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
23049  echo $ECHO_N "(cached) $ECHO_C" >&6
23050else
23051
23052
23053
23054      ac_ext=cc
23055ac_cpp='$CXXCPP $CPPFLAGS'
23056ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23059
23060      cat >conftest.$ac_ext <<_ACEOF
23061/* confdefs.h.  */
23062_ACEOF
23063cat confdefs.h >>conftest.$ac_ext
23064cat >>conftest.$ac_ext <<_ACEOF
23065/* end confdefs.h.  */
23066#include <math.h>
23067int
23068main ()
23069{
23070 ldexpl(0, 0);
23071  ;
23072  return 0;
23073}
23074_ACEOF
23075rm -f conftest.$ac_objext
23076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077  (eval $ac_compile) 2>conftest.er1
23078  ac_status=$?
23079  grep -v '^ *+' conftest.er1 >conftest.err
23080  rm -f conftest.er1
23081  cat conftest.err >&5
23082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083  (exit $ac_status); } &&
23084	 { ac_try='test -z "$ac_cxx_werror_flag"
23085			 || test ! -s conftest.err'
23086  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087  (eval $ac_try) 2>&5
23088  ac_status=$?
23089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090  (exit $ac_status); }; } &&
23091	 { ac_try='test -s conftest.$ac_objext'
23092  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093  (eval $ac_try) 2>&5
23094  ac_status=$?
23095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096  (exit $ac_status); }; }; then
23097  glibcxx_cv_func_ldexpl_use=yes
23098else
23099  echo "$as_me: failed program was:" >&5
23100sed 's/^/| /' conftest.$ac_ext >&5
23101
23102glibcxx_cv_func_ldexpl_use=no
23103fi
23104rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23105      ac_ext=c
23106ac_cpp='$CPP $CPPFLAGS'
23107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110
23111
23112fi
23113
23114  fi
23115  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
23116echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
23117
23118  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
23119
23120for ac_func in ldexpl
23121do
23122as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23123echo "$as_me:$LINENO: checking for $ac_func" >&5
23124echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23125if eval "test \"\${$as_ac_var+set}\" = set"; then
23126  echo $ECHO_N "(cached) $ECHO_C" >&6
23127else
23128  if test x$gcc_no_link = xyes; then
23129  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23130echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23131   { (exit 1); exit 1; }; }
23132fi
23133cat >conftest.$ac_ext <<_ACEOF
23134/* confdefs.h.  */
23135_ACEOF
23136cat confdefs.h >>conftest.$ac_ext
23137cat >>conftest.$ac_ext <<_ACEOF
23138/* end confdefs.h.  */
23139/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23140   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23141#define $ac_func innocuous_$ac_func
23142
23143/* System header to define __stub macros and hopefully few prototypes,
23144    which can conflict with char $ac_func (); below.
23145    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23146    <limits.h> exists even on freestanding compilers.  */
23147
23148#ifdef __STDC__
23149# include <limits.h>
23150#else
23151# include <assert.h>
23152#endif
23153
23154#undef $ac_func
23155
23156/* Override any gcc2 internal prototype to avoid an error.  */
23157#ifdef __cplusplus
23158extern "C"
23159{
23160#endif
23161/* We use char because int might match the return type of a gcc2
23162   builtin and then its argument prototype would still apply.  */
23163char $ac_func ();
23164/* The GNU C library defines this for functions which it implements
23165    to always fail with ENOSYS.  Some functions are actually named
23166    something starting with __ and the normal name is an alias.  */
23167#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23168choke me
23169#else
23170char (*f) () = $ac_func;
23171#endif
23172#ifdef __cplusplus
23173}
23174#endif
23175
23176int
23177main ()
23178{
23179return f != $ac_func;
23180  ;
23181  return 0;
23182}
23183_ACEOF
23184rm -f conftest.$ac_objext conftest$ac_exeext
23185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23186  (eval $ac_link) 2>conftest.er1
23187  ac_status=$?
23188  grep -v '^ *+' conftest.er1 >conftest.err
23189  rm -f conftest.er1
23190  cat conftest.err >&5
23191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192  (exit $ac_status); } &&
23193	 { ac_try='test -z "$ac_c_werror_flag"
23194			 || test ! -s conftest.err'
23195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196  (eval $ac_try) 2>&5
23197  ac_status=$?
23198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199  (exit $ac_status); }; } &&
23200	 { ac_try='test -s conftest$ac_exeext'
23201  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202  (eval $ac_try) 2>&5
23203  ac_status=$?
23204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205  (exit $ac_status); }; }; then
23206  eval "$as_ac_var=yes"
23207else
23208  echo "$as_me: failed program was:" >&5
23209sed 's/^/| /' conftest.$ac_ext >&5
23210
23211eval "$as_ac_var=no"
23212fi
23213rm -f conftest.err conftest.$ac_objext \
23214      conftest$ac_exeext conftest.$ac_ext
23215fi
23216echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23217echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23218if test `eval echo '${'$as_ac_var'}'` = yes; then
23219  cat >>confdefs.h <<_ACEOF
23220#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221_ACEOF
23222
23223fi
23224done
23225
23226  else
23227
23228  echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23229echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23230  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23231    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23232  echo $ECHO_N "(cached) $ECHO_C" >&6
23233else
23234
23235
23236
23237      ac_ext=cc
23238ac_cpp='$CXXCPP $CPPFLAGS'
23239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23242
23243      cat >conftest.$ac_ext <<_ACEOF
23244/* confdefs.h.  */
23245_ACEOF
23246cat confdefs.h >>conftest.$ac_ext
23247cat >>conftest.$ac_ext <<_ACEOF
23248/* end confdefs.h.  */
23249#include <math.h>
23250int
23251main ()
23252{
23253 _ldexpl(0, 0);
23254  ;
23255  return 0;
23256}
23257_ACEOF
23258rm -f conftest.$ac_objext
23259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23260  (eval $ac_compile) 2>conftest.er1
23261  ac_status=$?
23262  grep -v '^ *+' conftest.er1 >conftest.err
23263  rm -f conftest.er1
23264  cat conftest.err >&5
23265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266  (exit $ac_status); } &&
23267	 { ac_try='test -z "$ac_cxx_werror_flag"
23268			 || test ! -s conftest.err'
23269  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270  (eval $ac_try) 2>&5
23271  ac_status=$?
23272  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273  (exit $ac_status); }; } &&
23274	 { ac_try='test -s conftest.$ac_objext'
23275  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276  (eval $ac_try) 2>&5
23277  ac_status=$?
23278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279  (exit $ac_status); }; }; then
23280  glibcxx_cv_func__ldexpl_use=yes
23281else
23282  echo "$as_me: failed program was:" >&5
23283sed 's/^/| /' conftest.$ac_ext >&5
23284
23285glibcxx_cv_func__ldexpl_use=no
23286fi
23287rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23288      ac_ext=c
23289ac_cpp='$CPP $CPPFLAGS'
23290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293
23294
23295fi
23296
23297  fi
23298  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23299echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23300
23301    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23302
23303for ac_func in _ldexpl
23304do
23305as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23306echo "$as_me:$LINENO: checking for $ac_func" >&5
23307echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23308if eval "test \"\${$as_ac_var+set}\" = set"; then
23309  echo $ECHO_N "(cached) $ECHO_C" >&6
23310else
23311  if test x$gcc_no_link = xyes; then
23312  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23313echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23314   { (exit 1); exit 1; }; }
23315fi
23316cat >conftest.$ac_ext <<_ACEOF
23317/* confdefs.h.  */
23318_ACEOF
23319cat confdefs.h >>conftest.$ac_ext
23320cat >>conftest.$ac_ext <<_ACEOF
23321/* end confdefs.h.  */
23322/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23323   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23324#define $ac_func innocuous_$ac_func
23325
23326/* System header to define __stub macros and hopefully few prototypes,
23327    which can conflict with char $ac_func (); below.
23328    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23329    <limits.h> exists even on freestanding compilers.  */
23330
23331#ifdef __STDC__
23332# include <limits.h>
23333#else
23334# include <assert.h>
23335#endif
23336
23337#undef $ac_func
23338
23339/* Override any gcc2 internal prototype to avoid an error.  */
23340#ifdef __cplusplus
23341extern "C"
23342{
23343#endif
23344/* We use char because int might match the return type of a gcc2
23345   builtin and then its argument prototype would still apply.  */
23346char $ac_func ();
23347/* The GNU C library defines this for functions which it implements
23348    to always fail with ENOSYS.  Some functions are actually named
23349    something starting with __ and the normal name is an alias.  */
23350#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23351choke me
23352#else
23353char (*f) () = $ac_func;
23354#endif
23355#ifdef __cplusplus
23356}
23357#endif
23358
23359int
23360main ()
23361{
23362return f != $ac_func;
23363  ;
23364  return 0;
23365}
23366_ACEOF
23367rm -f conftest.$ac_objext conftest$ac_exeext
23368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23369  (eval $ac_link) 2>conftest.er1
23370  ac_status=$?
23371  grep -v '^ *+' conftest.er1 >conftest.err
23372  rm -f conftest.er1
23373  cat conftest.err >&5
23374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375  (exit $ac_status); } &&
23376	 { ac_try='test -z "$ac_c_werror_flag"
23377			 || test ! -s conftest.err'
23378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379  (eval $ac_try) 2>&5
23380  ac_status=$?
23381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382  (exit $ac_status); }; } &&
23383	 { ac_try='test -s conftest$ac_exeext'
23384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385  (eval $ac_try) 2>&5
23386  ac_status=$?
23387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388  (exit $ac_status); }; }; then
23389  eval "$as_ac_var=yes"
23390else
23391  echo "$as_me: failed program was:" >&5
23392sed 's/^/| /' conftest.$ac_ext >&5
23393
23394eval "$as_ac_var=no"
23395fi
23396rm -f conftest.err conftest.$ac_objext \
23397      conftest$ac_exeext conftest.$ac_ext
23398fi
23399echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23400echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23401if test `eval echo '${'$as_ac_var'}'` = yes; then
23402  cat >>confdefs.h <<_ACEOF
23403#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23404_ACEOF
23405
23406fi
23407done
23408
23409    fi
23410  fi
23411
23412
23413
23414
23415
23416
23417  echo "$as_me:$LINENO: checking for logl declaration" >&5
23418echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23419  if test x${glibcxx_cv_func_logl_use+set} != xset; then
23420    if test "${glibcxx_cv_func_logl_use+set}" = set; then
23421  echo $ECHO_N "(cached) $ECHO_C" >&6
23422else
23423
23424
23425
23426      ac_ext=cc
23427ac_cpp='$CXXCPP $CPPFLAGS'
23428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431
23432      cat >conftest.$ac_ext <<_ACEOF
23433/* confdefs.h.  */
23434_ACEOF
23435cat confdefs.h >>conftest.$ac_ext
23436cat >>conftest.$ac_ext <<_ACEOF
23437/* end confdefs.h.  */
23438#include <math.h>
23439		      #ifdef HAVE_IEEEFP_H
23440		      #include <ieeefp.h>
23441		      #endif
23442
23443int
23444main ()
23445{
23446 logl(0);
23447  ;
23448  return 0;
23449}
23450_ACEOF
23451rm -f conftest.$ac_objext
23452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23453  (eval $ac_compile) 2>conftest.er1
23454  ac_status=$?
23455  grep -v '^ *+' conftest.er1 >conftest.err
23456  rm -f conftest.er1
23457  cat conftest.err >&5
23458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459  (exit $ac_status); } &&
23460	 { ac_try='test -z "$ac_cxx_werror_flag"
23461			 || test ! -s conftest.err'
23462  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463  (eval $ac_try) 2>&5
23464  ac_status=$?
23465  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466  (exit $ac_status); }; } &&
23467	 { ac_try='test -s conftest.$ac_objext'
23468  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469  (eval $ac_try) 2>&5
23470  ac_status=$?
23471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472  (exit $ac_status); }; }; then
23473  glibcxx_cv_func_logl_use=yes
23474else
23475  echo "$as_me: failed program was:" >&5
23476sed 's/^/| /' conftest.$ac_ext >&5
23477
23478glibcxx_cv_func_logl_use=no
23479fi
23480rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23481      ac_ext=c
23482ac_cpp='$CPP $CPPFLAGS'
23483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485ac_compiler_gnu=$ac_cv_c_compiler_gnu
23486
23487
23488fi
23489
23490  fi
23491  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23492echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23493
23494  if test x$glibcxx_cv_func_logl_use = x"yes"; then
23495
23496for ac_func in logl
23497do
23498as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23499echo "$as_me:$LINENO: checking for $ac_func" >&5
23500echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23501if eval "test \"\${$as_ac_var+set}\" = set"; then
23502  echo $ECHO_N "(cached) $ECHO_C" >&6
23503else
23504  if test x$gcc_no_link = xyes; then
23505  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23506echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23507   { (exit 1); exit 1; }; }
23508fi
23509cat >conftest.$ac_ext <<_ACEOF
23510/* confdefs.h.  */
23511_ACEOF
23512cat confdefs.h >>conftest.$ac_ext
23513cat >>conftest.$ac_ext <<_ACEOF
23514/* end confdefs.h.  */
23515/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23516   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23517#define $ac_func innocuous_$ac_func
23518
23519/* System header to define __stub macros and hopefully few prototypes,
23520    which can conflict with char $ac_func (); below.
23521    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23522    <limits.h> exists even on freestanding compilers.  */
23523
23524#ifdef __STDC__
23525# include <limits.h>
23526#else
23527# include <assert.h>
23528#endif
23529
23530#undef $ac_func
23531
23532/* Override any gcc2 internal prototype to avoid an error.  */
23533#ifdef __cplusplus
23534extern "C"
23535{
23536#endif
23537/* We use char because int might match the return type of a gcc2
23538   builtin and then its argument prototype would still apply.  */
23539char $ac_func ();
23540/* The GNU C library defines this for functions which it implements
23541    to always fail with ENOSYS.  Some functions are actually named
23542    something starting with __ and the normal name is an alias.  */
23543#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23544choke me
23545#else
23546char (*f) () = $ac_func;
23547#endif
23548#ifdef __cplusplus
23549}
23550#endif
23551
23552int
23553main ()
23554{
23555return f != $ac_func;
23556  ;
23557  return 0;
23558}
23559_ACEOF
23560rm -f conftest.$ac_objext conftest$ac_exeext
23561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562  (eval $ac_link) 2>conftest.er1
23563  ac_status=$?
23564  grep -v '^ *+' conftest.er1 >conftest.err
23565  rm -f conftest.er1
23566  cat conftest.err >&5
23567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568  (exit $ac_status); } &&
23569	 { ac_try='test -z "$ac_c_werror_flag"
23570			 || test ! -s conftest.err'
23571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572  (eval $ac_try) 2>&5
23573  ac_status=$?
23574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575  (exit $ac_status); }; } &&
23576	 { ac_try='test -s conftest$ac_exeext'
23577  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578  (eval $ac_try) 2>&5
23579  ac_status=$?
23580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581  (exit $ac_status); }; }; then
23582  eval "$as_ac_var=yes"
23583else
23584  echo "$as_me: failed program was:" >&5
23585sed 's/^/| /' conftest.$ac_ext >&5
23586
23587eval "$as_ac_var=no"
23588fi
23589rm -f conftest.err conftest.$ac_objext \
23590      conftest$ac_exeext conftest.$ac_ext
23591fi
23592echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23593echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23594if test `eval echo '${'$as_ac_var'}'` = yes; then
23595  cat >>confdefs.h <<_ACEOF
23596#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23597_ACEOF
23598
23599fi
23600done
23601
23602  else
23603
23604  echo "$as_me:$LINENO: checking for _logl declaration" >&5
23605echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23606  if test x${glibcxx_cv_func__logl_use+set} != xset; then
23607    if test "${glibcxx_cv_func__logl_use+set}" = set; then
23608  echo $ECHO_N "(cached) $ECHO_C" >&6
23609else
23610
23611
23612
23613      ac_ext=cc
23614ac_cpp='$CXXCPP $CPPFLAGS'
23615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23618
23619      cat >conftest.$ac_ext <<_ACEOF
23620/* confdefs.h.  */
23621_ACEOF
23622cat confdefs.h >>conftest.$ac_ext
23623cat >>conftest.$ac_ext <<_ACEOF
23624/* end confdefs.h.  */
23625#include <math.h>
23626		      #ifdef HAVE_IEEEFP_H
23627		      #include <ieeefp.h>
23628		      #endif
23629
23630int
23631main ()
23632{
23633 _logl(0);
23634  ;
23635  return 0;
23636}
23637_ACEOF
23638rm -f conftest.$ac_objext
23639if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640  (eval $ac_compile) 2>conftest.er1
23641  ac_status=$?
23642  grep -v '^ *+' conftest.er1 >conftest.err
23643  rm -f conftest.er1
23644  cat conftest.err >&5
23645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646  (exit $ac_status); } &&
23647	 { ac_try='test -z "$ac_cxx_werror_flag"
23648			 || test ! -s conftest.err'
23649  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650  (eval $ac_try) 2>&5
23651  ac_status=$?
23652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653  (exit $ac_status); }; } &&
23654	 { ac_try='test -s conftest.$ac_objext'
23655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656  (eval $ac_try) 2>&5
23657  ac_status=$?
23658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659  (exit $ac_status); }; }; then
23660  glibcxx_cv_func__logl_use=yes
23661else
23662  echo "$as_me: failed program was:" >&5
23663sed 's/^/| /' conftest.$ac_ext >&5
23664
23665glibcxx_cv_func__logl_use=no
23666fi
23667rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668      ac_ext=c
23669ac_cpp='$CPP $CPPFLAGS'
23670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673
23674
23675fi
23676
23677  fi
23678  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23679echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23680
23681    if test x$glibcxx_cv_func__logl_use = x"yes"; then
23682
23683for ac_func in _logl
23684do
23685as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23686echo "$as_me:$LINENO: checking for $ac_func" >&5
23687echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23688if eval "test \"\${$as_ac_var+set}\" = set"; then
23689  echo $ECHO_N "(cached) $ECHO_C" >&6
23690else
23691  if test x$gcc_no_link = xyes; then
23692  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23693echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23694   { (exit 1); exit 1; }; }
23695fi
23696cat >conftest.$ac_ext <<_ACEOF
23697/* confdefs.h.  */
23698_ACEOF
23699cat confdefs.h >>conftest.$ac_ext
23700cat >>conftest.$ac_ext <<_ACEOF
23701/* end confdefs.h.  */
23702/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23703   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23704#define $ac_func innocuous_$ac_func
23705
23706/* System header to define __stub macros and hopefully few prototypes,
23707    which can conflict with char $ac_func (); below.
23708    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23709    <limits.h> exists even on freestanding compilers.  */
23710
23711#ifdef __STDC__
23712# include <limits.h>
23713#else
23714# include <assert.h>
23715#endif
23716
23717#undef $ac_func
23718
23719/* Override any gcc2 internal prototype to avoid an error.  */
23720#ifdef __cplusplus
23721extern "C"
23722{
23723#endif
23724/* We use char because int might match the return type of a gcc2
23725   builtin and then its argument prototype would still apply.  */
23726char $ac_func ();
23727/* The GNU C library defines this for functions which it implements
23728    to always fail with ENOSYS.  Some functions are actually named
23729    something starting with __ and the normal name is an alias.  */
23730#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23731choke me
23732#else
23733char (*f) () = $ac_func;
23734#endif
23735#ifdef __cplusplus
23736}
23737#endif
23738
23739int
23740main ()
23741{
23742return f != $ac_func;
23743  ;
23744  return 0;
23745}
23746_ACEOF
23747rm -f conftest.$ac_objext conftest$ac_exeext
23748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23749  (eval $ac_link) 2>conftest.er1
23750  ac_status=$?
23751  grep -v '^ *+' conftest.er1 >conftest.err
23752  rm -f conftest.er1
23753  cat conftest.err >&5
23754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755  (exit $ac_status); } &&
23756	 { ac_try='test -z "$ac_c_werror_flag"
23757			 || test ! -s conftest.err'
23758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759  (eval $ac_try) 2>&5
23760  ac_status=$?
23761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762  (exit $ac_status); }; } &&
23763	 { ac_try='test -s conftest$ac_exeext'
23764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765  (eval $ac_try) 2>&5
23766  ac_status=$?
23767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768  (exit $ac_status); }; }; then
23769  eval "$as_ac_var=yes"
23770else
23771  echo "$as_me: failed program was:" >&5
23772sed 's/^/| /' conftest.$ac_ext >&5
23773
23774eval "$as_ac_var=no"
23775fi
23776rm -f conftest.err conftest.$ac_objext \
23777      conftest$ac_exeext conftest.$ac_ext
23778fi
23779echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23780echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23781if test `eval echo '${'$as_ac_var'}'` = yes; then
23782  cat >>confdefs.h <<_ACEOF
23783#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23784_ACEOF
23785
23786fi
23787done
23788
23789    fi
23790  fi
23791
23792
23793
23794
23795
23796
23797  echo "$as_me:$LINENO: checking for log10l declaration" >&5
23798echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23799  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23800    if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23801  echo $ECHO_N "(cached) $ECHO_C" >&6
23802else
23803
23804
23805
23806      ac_ext=cc
23807ac_cpp='$CXXCPP $CPPFLAGS'
23808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811
23812      cat >conftest.$ac_ext <<_ACEOF
23813/* confdefs.h.  */
23814_ACEOF
23815cat confdefs.h >>conftest.$ac_ext
23816cat >>conftest.$ac_ext <<_ACEOF
23817/* end confdefs.h.  */
23818#include <math.h>
23819		      #ifdef HAVE_IEEEFP_H
23820		      #include <ieeefp.h>
23821		      #endif
23822
23823int
23824main ()
23825{
23826 log10l(0);
23827  ;
23828  return 0;
23829}
23830_ACEOF
23831rm -f conftest.$ac_objext
23832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23833  (eval $ac_compile) 2>conftest.er1
23834  ac_status=$?
23835  grep -v '^ *+' conftest.er1 >conftest.err
23836  rm -f conftest.er1
23837  cat conftest.err >&5
23838  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839  (exit $ac_status); } &&
23840	 { ac_try='test -z "$ac_cxx_werror_flag"
23841			 || test ! -s conftest.err'
23842  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843  (eval $ac_try) 2>&5
23844  ac_status=$?
23845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846  (exit $ac_status); }; } &&
23847	 { ac_try='test -s conftest.$ac_objext'
23848  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849  (eval $ac_try) 2>&5
23850  ac_status=$?
23851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852  (exit $ac_status); }; }; then
23853  glibcxx_cv_func_log10l_use=yes
23854else
23855  echo "$as_me: failed program was:" >&5
23856sed 's/^/| /' conftest.$ac_ext >&5
23857
23858glibcxx_cv_func_log10l_use=no
23859fi
23860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23861      ac_ext=c
23862ac_cpp='$CPP $CPPFLAGS'
23863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865ac_compiler_gnu=$ac_cv_c_compiler_gnu
23866
23867
23868fi
23869
23870  fi
23871  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23872echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23873
23874  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23875
23876for ac_func in log10l
23877do
23878as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23879echo "$as_me:$LINENO: checking for $ac_func" >&5
23880echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23881if eval "test \"\${$as_ac_var+set}\" = set"; then
23882  echo $ECHO_N "(cached) $ECHO_C" >&6
23883else
23884  if test x$gcc_no_link = xyes; then
23885  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23886echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23887   { (exit 1); exit 1; }; }
23888fi
23889cat >conftest.$ac_ext <<_ACEOF
23890/* confdefs.h.  */
23891_ACEOF
23892cat confdefs.h >>conftest.$ac_ext
23893cat >>conftest.$ac_ext <<_ACEOF
23894/* end confdefs.h.  */
23895/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23896   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23897#define $ac_func innocuous_$ac_func
23898
23899/* System header to define __stub macros and hopefully few prototypes,
23900    which can conflict with char $ac_func (); below.
23901    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23902    <limits.h> exists even on freestanding compilers.  */
23903
23904#ifdef __STDC__
23905# include <limits.h>
23906#else
23907# include <assert.h>
23908#endif
23909
23910#undef $ac_func
23911
23912/* Override any gcc2 internal prototype to avoid an error.  */
23913#ifdef __cplusplus
23914extern "C"
23915{
23916#endif
23917/* We use char because int might match the return type of a gcc2
23918   builtin and then its argument prototype would still apply.  */
23919char $ac_func ();
23920/* The GNU C library defines this for functions which it implements
23921    to always fail with ENOSYS.  Some functions are actually named
23922    something starting with __ and the normal name is an alias.  */
23923#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23924choke me
23925#else
23926char (*f) () = $ac_func;
23927#endif
23928#ifdef __cplusplus
23929}
23930#endif
23931
23932int
23933main ()
23934{
23935return f != $ac_func;
23936  ;
23937  return 0;
23938}
23939_ACEOF
23940rm -f conftest.$ac_objext conftest$ac_exeext
23941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23942  (eval $ac_link) 2>conftest.er1
23943  ac_status=$?
23944  grep -v '^ *+' conftest.er1 >conftest.err
23945  rm -f conftest.er1
23946  cat conftest.err >&5
23947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948  (exit $ac_status); } &&
23949	 { ac_try='test -z "$ac_c_werror_flag"
23950			 || test ! -s conftest.err'
23951  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23952  (eval $ac_try) 2>&5
23953  ac_status=$?
23954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955  (exit $ac_status); }; } &&
23956	 { ac_try='test -s conftest$ac_exeext'
23957  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958  (eval $ac_try) 2>&5
23959  ac_status=$?
23960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961  (exit $ac_status); }; }; then
23962  eval "$as_ac_var=yes"
23963else
23964  echo "$as_me: failed program was:" >&5
23965sed 's/^/| /' conftest.$ac_ext >&5
23966
23967eval "$as_ac_var=no"
23968fi
23969rm -f conftest.err conftest.$ac_objext \
23970      conftest$ac_exeext conftest.$ac_ext
23971fi
23972echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23973echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23974if test `eval echo '${'$as_ac_var'}'` = yes; then
23975  cat >>confdefs.h <<_ACEOF
23976#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23977_ACEOF
23978
23979fi
23980done
23981
23982  else
23983
23984  echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23985echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23986  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23987    if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23988  echo $ECHO_N "(cached) $ECHO_C" >&6
23989else
23990
23991
23992
23993      ac_ext=cc
23994ac_cpp='$CXXCPP $CPPFLAGS'
23995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23998
23999      cat >conftest.$ac_ext <<_ACEOF
24000/* confdefs.h.  */
24001_ACEOF
24002cat confdefs.h >>conftest.$ac_ext
24003cat >>conftest.$ac_ext <<_ACEOF
24004/* end confdefs.h.  */
24005#include <math.h>
24006		      #ifdef HAVE_IEEEFP_H
24007		      #include <ieeefp.h>
24008		      #endif
24009
24010int
24011main ()
24012{
24013 _log10l(0);
24014  ;
24015  return 0;
24016}
24017_ACEOF
24018rm -f conftest.$ac_objext
24019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020  (eval $ac_compile) 2>conftest.er1
24021  ac_status=$?
24022  grep -v '^ *+' conftest.er1 >conftest.err
24023  rm -f conftest.er1
24024  cat conftest.err >&5
24025  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026  (exit $ac_status); } &&
24027	 { ac_try='test -z "$ac_cxx_werror_flag"
24028			 || test ! -s conftest.err'
24029  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24030  (eval $ac_try) 2>&5
24031  ac_status=$?
24032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033  (exit $ac_status); }; } &&
24034	 { ac_try='test -s conftest.$ac_objext'
24035  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24036  (eval $ac_try) 2>&5
24037  ac_status=$?
24038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039  (exit $ac_status); }; }; then
24040  glibcxx_cv_func__log10l_use=yes
24041else
24042  echo "$as_me: failed program was:" >&5
24043sed 's/^/| /' conftest.$ac_ext >&5
24044
24045glibcxx_cv_func__log10l_use=no
24046fi
24047rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24048      ac_ext=c
24049ac_cpp='$CPP $CPPFLAGS'
24050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053
24054
24055fi
24056
24057  fi
24058  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
24059echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
24060
24061    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24062
24063for ac_func in _log10l
24064do
24065as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24066echo "$as_me:$LINENO: checking for $ac_func" >&5
24067echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24068if eval "test \"\${$as_ac_var+set}\" = set"; then
24069  echo $ECHO_N "(cached) $ECHO_C" >&6
24070else
24071  if test x$gcc_no_link = xyes; then
24072  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24073echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24074   { (exit 1); exit 1; }; }
24075fi
24076cat >conftest.$ac_ext <<_ACEOF
24077/* confdefs.h.  */
24078_ACEOF
24079cat confdefs.h >>conftest.$ac_ext
24080cat >>conftest.$ac_ext <<_ACEOF
24081/* end confdefs.h.  */
24082/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24083   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24084#define $ac_func innocuous_$ac_func
24085
24086/* System header to define __stub macros and hopefully few prototypes,
24087    which can conflict with char $ac_func (); below.
24088    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24089    <limits.h> exists even on freestanding compilers.  */
24090
24091#ifdef __STDC__
24092# include <limits.h>
24093#else
24094# include <assert.h>
24095#endif
24096
24097#undef $ac_func
24098
24099/* Override any gcc2 internal prototype to avoid an error.  */
24100#ifdef __cplusplus
24101extern "C"
24102{
24103#endif
24104/* We use char because int might match the return type of a gcc2
24105   builtin and then its argument prototype would still apply.  */
24106char $ac_func ();
24107/* The GNU C library defines this for functions which it implements
24108    to always fail with ENOSYS.  Some functions are actually named
24109    something starting with __ and the normal name is an alias.  */
24110#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24111choke me
24112#else
24113char (*f) () = $ac_func;
24114#endif
24115#ifdef __cplusplus
24116}
24117#endif
24118
24119int
24120main ()
24121{
24122return f != $ac_func;
24123  ;
24124  return 0;
24125}
24126_ACEOF
24127rm -f conftest.$ac_objext conftest$ac_exeext
24128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24129  (eval $ac_link) 2>conftest.er1
24130  ac_status=$?
24131  grep -v '^ *+' conftest.er1 >conftest.err
24132  rm -f conftest.er1
24133  cat conftest.err >&5
24134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135  (exit $ac_status); } &&
24136	 { ac_try='test -z "$ac_c_werror_flag"
24137			 || test ! -s conftest.err'
24138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24139  (eval $ac_try) 2>&5
24140  ac_status=$?
24141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142  (exit $ac_status); }; } &&
24143	 { ac_try='test -s conftest$ac_exeext'
24144  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145  (eval $ac_try) 2>&5
24146  ac_status=$?
24147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148  (exit $ac_status); }; }; then
24149  eval "$as_ac_var=yes"
24150else
24151  echo "$as_me: failed program was:" >&5
24152sed 's/^/| /' conftest.$ac_ext >&5
24153
24154eval "$as_ac_var=no"
24155fi
24156rm -f conftest.err conftest.$ac_objext \
24157      conftest$ac_exeext conftest.$ac_ext
24158fi
24159echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24160echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24161if test `eval echo '${'$as_ac_var'}'` = yes; then
24162  cat >>confdefs.h <<_ACEOF
24163#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24164_ACEOF
24165
24166fi
24167done
24168
24169    fi
24170  fi
24171
24172
24173
24174
24175
24176
24177  echo "$as_me:$LINENO: checking for modfl declaration" >&5
24178echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24179  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24180    if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24181  echo $ECHO_N "(cached) $ECHO_C" >&6
24182else
24183
24184
24185
24186      ac_ext=cc
24187ac_cpp='$CXXCPP $CPPFLAGS'
24188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191
24192      cat >conftest.$ac_ext <<_ACEOF
24193/* confdefs.h.  */
24194_ACEOF
24195cat confdefs.h >>conftest.$ac_ext
24196cat >>conftest.$ac_ext <<_ACEOF
24197/* end confdefs.h.  */
24198#include <math.h>
24199int
24200main ()
24201{
24202 modfl(0, 0);
24203  ;
24204  return 0;
24205}
24206_ACEOF
24207rm -f conftest.$ac_objext
24208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24209  (eval $ac_compile) 2>conftest.er1
24210  ac_status=$?
24211  grep -v '^ *+' conftest.er1 >conftest.err
24212  rm -f conftest.er1
24213  cat conftest.err >&5
24214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215  (exit $ac_status); } &&
24216	 { ac_try='test -z "$ac_cxx_werror_flag"
24217			 || test ! -s conftest.err'
24218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219  (eval $ac_try) 2>&5
24220  ac_status=$?
24221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222  (exit $ac_status); }; } &&
24223	 { ac_try='test -s conftest.$ac_objext'
24224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225  (eval $ac_try) 2>&5
24226  ac_status=$?
24227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228  (exit $ac_status); }; }; then
24229  glibcxx_cv_func_modfl_use=yes
24230else
24231  echo "$as_me: failed program was:" >&5
24232sed 's/^/| /' conftest.$ac_ext >&5
24233
24234glibcxx_cv_func_modfl_use=no
24235fi
24236rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24237      ac_ext=c
24238ac_cpp='$CPP $CPPFLAGS'
24239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242
24243
24244fi
24245
24246  fi
24247  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24248echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24249
24250  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24251
24252for ac_func in modfl
24253do
24254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24255echo "$as_me:$LINENO: checking for $ac_func" >&5
24256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24257if eval "test \"\${$as_ac_var+set}\" = set"; then
24258  echo $ECHO_N "(cached) $ECHO_C" >&6
24259else
24260  if test x$gcc_no_link = xyes; then
24261  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24262echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24263   { (exit 1); exit 1; }; }
24264fi
24265cat >conftest.$ac_ext <<_ACEOF
24266/* confdefs.h.  */
24267_ACEOF
24268cat confdefs.h >>conftest.$ac_ext
24269cat >>conftest.$ac_ext <<_ACEOF
24270/* end confdefs.h.  */
24271/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24272   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24273#define $ac_func innocuous_$ac_func
24274
24275/* System header to define __stub macros and hopefully few prototypes,
24276    which can conflict with char $ac_func (); below.
24277    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24278    <limits.h> exists even on freestanding compilers.  */
24279
24280#ifdef __STDC__
24281# include <limits.h>
24282#else
24283# include <assert.h>
24284#endif
24285
24286#undef $ac_func
24287
24288/* Override any gcc2 internal prototype to avoid an error.  */
24289#ifdef __cplusplus
24290extern "C"
24291{
24292#endif
24293/* We use char because int might match the return type of a gcc2
24294   builtin and then its argument prototype would still apply.  */
24295char $ac_func ();
24296/* The GNU C library defines this for functions which it implements
24297    to always fail with ENOSYS.  Some functions are actually named
24298    something starting with __ and the normal name is an alias.  */
24299#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24300choke me
24301#else
24302char (*f) () = $ac_func;
24303#endif
24304#ifdef __cplusplus
24305}
24306#endif
24307
24308int
24309main ()
24310{
24311return f != $ac_func;
24312  ;
24313  return 0;
24314}
24315_ACEOF
24316rm -f conftest.$ac_objext conftest$ac_exeext
24317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24318  (eval $ac_link) 2>conftest.er1
24319  ac_status=$?
24320  grep -v '^ *+' conftest.er1 >conftest.err
24321  rm -f conftest.er1
24322  cat conftest.err >&5
24323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324  (exit $ac_status); } &&
24325	 { ac_try='test -z "$ac_c_werror_flag"
24326			 || test ! -s conftest.err'
24327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24328  (eval $ac_try) 2>&5
24329  ac_status=$?
24330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331  (exit $ac_status); }; } &&
24332	 { ac_try='test -s conftest$ac_exeext'
24333  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334  (eval $ac_try) 2>&5
24335  ac_status=$?
24336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337  (exit $ac_status); }; }; then
24338  eval "$as_ac_var=yes"
24339else
24340  echo "$as_me: failed program was:" >&5
24341sed 's/^/| /' conftest.$ac_ext >&5
24342
24343eval "$as_ac_var=no"
24344fi
24345rm -f conftest.err conftest.$ac_objext \
24346      conftest$ac_exeext conftest.$ac_ext
24347fi
24348echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24349echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24350if test `eval echo '${'$as_ac_var'}'` = yes; then
24351  cat >>confdefs.h <<_ACEOF
24352#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24353_ACEOF
24354
24355fi
24356done
24357
24358  else
24359
24360  echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24361echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24362  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24363    if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24364  echo $ECHO_N "(cached) $ECHO_C" >&6
24365else
24366
24367
24368
24369      ac_ext=cc
24370ac_cpp='$CXXCPP $CPPFLAGS'
24371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24374
24375      cat >conftest.$ac_ext <<_ACEOF
24376/* confdefs.h.  */
24377_ACEOF
24378cat confdefs.h >>conftest.$ac_ext
24379cat >>conftest.$ac_ext <<_ACEOF
24380/* end confdefs.h.  */
24381#include <math.h>
24382int
24383main ()
24384{
24385 _modfl(0, 0);
24386  ;
24387  return 0;
24388}
24389_ACEOF
24390rm -f conftest.$ac_objext
24391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24392  (eval $ac_compile) 2>conftest.er1
24393  ac_status=$?
24394  grep -v '^ *+' conftest.er1 >conftest.err
24395  rm -f conftest.er1
24396  cat conftest.err >&5
24397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398  (exit $ac_status); } &&
24399	 { ac_try='test -z "$ac_cxx_werror_flag"
24400			 || test ! -s conftest.err'
24401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402  (eval $ac_try) 2>&5
24403  ac_status=$?
24404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405  (exit $ac_status); }; } &&
24406	 { ac_try='test -s conftest.$ac_objext'
24407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408  (eval $ac_try) 2>&5
24409  ac_status=$?
24410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411  (exit $ac_status); }; }; then
24412  glibcxx_cv_func__modfl_use=yes
24413else
24414  echo "$as_me: failed program was:" >&5
24415sed 's/^/| /' conftest.$ac_ext >&5
24416
24417glibcxx_cv_func__modfl_use=no
24418fi
24419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24420      ac_ext=c
24421ac_cpp='$CPP $CPPFLAGS'
24422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425
24426
24427fi
24428
24429  fi
24430  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24431echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24432
24433    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24434
24435for ac_func in _modfl
24436do
24437as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24438echo "$as_me:$LINENO: checking for $ac_func" >&5
24439echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24440if eval "test \"\${$as_ac_var+set}\" = set"; then
24441  echo $ECHO_N "(cached) $ECHO_C" >&6
24442else
24443  if test x$gcc_no_link = xyes; then
24444  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24445echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24446   { (exit 1); exit 1; }; }
24447fi
24448cat >conftest.$ac_ext <<_ACEOF
24449/* confdefs.h.  */
24450_ACEOF
24451cat confdefs.h >>conftest.$ac_ext
24452cat >>conftest.$ac_ext <<_ACEOF
24453/* end confdefs.h.  */
24454/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24455   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24456#define $ac_func innocuous_$ac_func
24457
24458/* System header to define __stub macros and hopefully few prototypes,
24459    which can conflict with char $ac_func (); below.
24460    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24461    <limits.h> exists even on freestanding compilers.  */
24462
24463#ifdef __STDC__
24464# include <limits.h>
24465#else
24466# include <assert.h>
24467#endif
24468
24469#undef $ac_func
24470
24471/* Override any gcc2 internal prototype to avoid an error.  */
24472#ifdef __cplusplus
24473extern "C"
24474{
24475#endif
24476/* We use char because int might match the return type of a gcc2
24477   builtin and then its argument prototype would still apply.  */
24478char $ac_func ();
24479/* The GNU C library defines this for functions which it implements
24480    to always fail with ENOSYS.  Some functions are actually named
24481    something starting with __ and the normal name is an alias.  */
24482#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24483choke me
24484#else
24485char (*f) () = $ac_func;
24486#endif
24487#ifdef __cplusplus
24488}
24489#endif
24490
24491int
24492main ()
24493{
24494return f != $ac_func;
24495  ;
24496  return 0;
24497}
24498_ACEOF
24499rm -f conftest.$ac_objext conftest$ac_exeext
24500if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24501  (eval $ac_link) 2>conftest.er1
24502  ac_status=$?
24503  grep -v '^ *+' conftest.er1 >conftest.err
24504  rm -f conftest.er1
24505  cat conftest.err >&5
24506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507  (exit $ac_status); } &&
24508	 { ac_try='test -z "$ac_c_werror_flag"
24509			 || test ! -s conftest.err'
24510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511  (eval $ac_try) 2>&5
24512  ac_status=$?
24513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514  (exit $ac_status); }; } &&
24515	 { ac_try='test -s conftest$ac_exeext'
24516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517  (eval $ac_try) 2>&5
24518  ac_status=$?
24519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520  (exit $ac_status); }; }; then
24521  eval "$as_ac_var=yes"
24522else
24523  echo "$as_me: failed program was:" >&5
24524sed 's/^/| /' conftest.$ac_ext >&5
24525
24526eval "$as_ac_var=no"
24527fi
24528rm -f conftest.err conftest.$ac_objext \
24529      conftest$ac_exeext conftest.$ac_ext
24530fi
24531echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24532echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24533if test `eval echo '${'$as_ac_var'}'` = yes; then
24534  cat >>confdefs.h <<_ACEOF
24535#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24536_ACEOF
24537
24538fi
24539done
24540
24541    fi
24542  fi
24543
24544
24545
24546
24547
24548
24549  echo "$as_me:$LINENO: checking for powl declaration" >&5
24550echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24551  if test x${glibcxx_cv_func_powl_use+set} != xset; then
24552    if test "${glibcxx_cv_func_powl_use+set}" = set; then
24553  echo $ECHO_N "(cached) $ECHO_C" >&6
24554else
24555
24556
24557
24558      ac_ext=cc
24559ac_cpp='$CXXCPP $CPPFLAGS'
24560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24563
24564      cat >conftest.$ac_ext <<_ACEOF
24565/* confdefs.h.  */
24566_ACEOF
24567cat confdefs.h >>conftest.$ac_ext
24568cat >>conftest.$ac_ext <<_ACEOF
24569/* end confdefs.h.  */
24570#include <math.h>
24571int
24572main ()
24573{
24574 powl(0, 0);
24575  ;
24576  return 0;
24577}
24578_ACEOF
24579rm -f conftest.$ac_objext
24580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24581  (eval $ac_compile) 2>conftest.er1
24582  ac_status=$?
24583  grep -v '^ *+' conftest.er1 >conftest.err
24584  rm -f conftest.er1
24585  cat conftest.err >&5
24586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587  (exit $ac_status); } &&
24588	 { ac_try='test -z "$ac_cxx_werror_flag"
24589			 || test ! -s conftest.err'
24590  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591  (eval $ac_try) 2>&5
24592  ac_status=$?
24593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594  (exit $ac_status); }; } &&
24595	 { ac_try='test -s conftest.$ac_objext'
24596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597  (eval $ac_try) 2>&5
24598  ac_status=$?
24599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600  (exit $ac_status); }; }; then
24601  glibcxx_cv_func_powl_use=yes
24602else
24603  echo "$as_me: failed program was:" >&5
24604sed 's/^/| /' conftest.$ac_ext >&5
24605
24606glibcxx_cv_func_powl_use=no
24607fi
24608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24609      ac_ext=c
24610ac_cpp='$CPP $CPPFLAGS'
24611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613ac_compiler_gnu=$ac_cv_c_compiler_gnu
24614
24615
24616fi
24617
24618  fi
24619  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24620echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24621
24622  if test x$glibcxx_cv_func_powl_use = x"yes"; then
24623
24624for ac_func in powl
24625do
24626as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24627echo "$as_me:$LINENO: checking for $ac_func" >&5
24628echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24629if eval "test \"\${$as_ac_var+set}\" = set"; then
24630  echo $ECHO_N "(cached) $ECHO_C" >&6
24631else
24632  if test x$gcc_no_link = xyes; then
24633  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24634echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24635   { (exit 1); exit 1; }; }
24636fi
24637cat >conftest.$ac_ext <<_ACEOF
24638/* confdefs.h.  */
24639_ACEOF
24640cat confdefs.h >>conftest.$ac_ext
24641cat >>conftest.$ac_ext <<_ACEOF
24642/* end confdefs.h.  */
24643/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24644   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24645#define $ac_func innocuous_$ac_func
24646
24647/* System header to define __stub macros and hopefully few prototypes,
24648    which can conflict with char $ac_func (); below.
24649    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24650    <limits.h> exists even on freestanding compilers.  */
24651
24652#ifdef __STDC__
24653# include <limits.h>
24654#else
24655# include <assert.h>
24656#endif
24657
24658#undef $ac_func
24659
24660/* Override any gcc2 internal prototype to avoid an error.  */
24661#ifdef __cplusplus
24662extern "C"
24663{
24664#endif
24665/* We use char because int might match the return type of a gcc2
24666   builtin and then its argument prototype would still apply.  */
24667char $ac_func ();
24668/* The GNU C library defines this for functions which it implements
24669    to always fail with ENOSYS.  Some functions are actually named
24670    something starting with __ and the normal name is an alias.  */
24671#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24672choke me
24673#else
24674char (*f) () = $ac_func;
24675#endif
24676#ifdef __cplusplus
24677}
24678#endif
24679
24680int
24681main ()
24682{
24683return f != $ac_func;
24684  ;
24685  return 0;
24686}
24687_ACEOF
24688rm -f conftest.$ac_objext conftest$ac_exeext
24689if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24690  (eval $ac_link) 2>conftest.er1
24691  ac_status=$?
24692  grep -v '^ *+' conftest.er1 >conftest.err
24693  rm -f conftest.er1
24694  cat conftest.err >&5
24695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696  (exit $ac_status); } &&
24697	 { ac_try='test -z "$ac_c_werror_flag"
24698			 || test ! -s conftest.err'
24699  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700  (eval $ac_try) 2>&5
24701  ac_status=$?
24702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703  (exit $ac_status); }; } &&
24704	 { ac_try='test -s conftest$ac_exeext'
24705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24706  (eval $ac_try) 2>&5
24707  ac_status=$?
24708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709  (exit $ac_status); }; }; then
24710  eval "$as_ac_var=yes"
24711else
24712  echo "$as_me: failed program was:" >&5
24713sed 's/^/| /' conftest.$ac_ext >&5
24714
24715eval "$as_ac_var=no"
24716fi
24717rm -f conftest.err conftest.$ac_objext \
24718      conftest$ac_exeext conftest.$ac_ext
24719fi
24720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24721echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24722if test `eval echo '${'$as_ac_var'}'` = yes; then
24723  cat >>confdefs.h <<_ACEOF
24724#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24725_ACEOF
24726
24727fi
24728done
24729
24730  else
24731
24732  echo "$as_me:$LINENO: checking for _powl declaration" >&5
24733echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24734  if test x${glibcxx_cv_func__powl_use+set} != xset; then
24735    if test "${glibcxx_cv_func__powl_use+set}" = set; then
24736  echo $ECHO_N "(cached) $ECHO_C" >&6
24737else
24738
24739
24740
24741      ac_ext=cc
24742ac_cpp='$CXXCPP $CPPFLAGS'
24743ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24744ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24745ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24746
24747      cat >conftest.$ac_ext <<_ACEOF
24748/* confdefs.h.  */
24749_ACEOF
24750cat confdefs.h >>conftest.$ac_ext
24751cat >>conftest.$ac_ext <<_ACEOF
24752/* end confdefs.h.  */
24753#include <math.h>
24754int
24755main ()
24756{
24757 _powl(0, 0);
24758  ;
24759  return 0;
24760}
24761_ACEOF
24762rm -f conftest.$ac_objext
24763if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24764  (eval $ac_compile) 2>conftest.er1
24765  ac_status=$?
24766  grep -v '^ *+' conftest.er1 >conftest.err
24767  rm -f conftest.er1
24768  cat conftest.err >&5
24769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770  (exit $ac_status); } &&
24771	 { ac_try='test -z "$ac_cxx_werror_flag"
24772			 || test ! -s conftest.err'
24773  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774  (eval $ac_try) 2>&5
24775  ac_status=$?
24776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777  (exit $ac_status); }; } &&
24778	 { ac_try='test -s conftest.$ac_objext'
24779  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780  (eval $ac_try) 2>&5
24781  ac_status=$?
24782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783  (exit $ac_status); }; }; then
24784  glibcxx_cv_func__powl_use=yes
24785else
24786  echo "$as_me: failed program was:" >&5
24787sed 's/^/| /' conftest.$ac_ext >&5
24788
24789glibcxx_cv_func__powl_use=no
24790fi
24791rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24792      ac_ext=c
24793ac_cpp='$CPP $CPPFLAGS'
24794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796ac_compiler_gnu=$ac_cv_c_compiler_gnu
24797
24798
24799fi
24800
24801  fi
24802  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24803echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24804
24805    if test x$glibcxx_cv_func__powl_use = x"yes"; then
24806
24807for ac_func in _powl
24808do
24809as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24810echo "$as_me:$LINENO: checking for $ac_func" >&5
24811echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24812if eval "test \"\${$as_ac_var+set}\" = set"; then
24813  echo $ECHO_N "(cached) $ECHO_C" >&6
24814else
24815  if test x$gcc_no_link = xyes; then
24816  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24817echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24818   { (exit 1); exit 1; }; }
24819fi
24820cat >conftest.$ac_ext <<_ACEOF
24821/* confdefs.h.  */
24822_ACEOF
24823cat confdefs.h >>conftest.$ac_ext
24824cat >>conftest.$ac_ext <<_ACEOF
24825/* end confdefs.h.  */
24826/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24827   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24828#define $ac_func innocuous_$ac_func
24829
24830/* System header to define __stub macros and hopefully few prototypes,
24831    which can conflict with char $ac_func (); below.
24832    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24833    <limits.h> exists even on freestanding compilers.  */
24834
24835#ifdef __STDC__
24836# include <limits.h>
24837#else
24838# include <assert.h>
24839#endif
24840
24841#undef $ac_func
24842
24843/* Override any gcc2 internal prototype to avoid an error.  */
24844#ifdef __cplusplus
24845extern "C"
24846{
24847#endif
24848/* We use char because int might match the return type of a gcc2
24849   builtin and then its argument prototype would still apply.  */
24850char $ac_func ();
24851/* The GNU C library defines this for functions which it implements
24852    to always fail with ENOSYS.  Some functions are actually named
24853    something starting with __ and the normal name is an alias.  */
24854#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24855choke me
24856#else
24857char (*f) () = $ac_func;
24858#endif
24859#ifdef __cplusplus
24860}
24861#endif
24862
24863int
24864main ()
24865{
24866return f != $ac_func;
24867  ;
24868  return 0;
24869}
24870_ACEOF
24871rm -f conftest.$ac_objext conftest$ac_exeext
24872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24873  (eval $ac_link) 2>conftest.er1
24874  ac_status=$?
24875  grep -v '^ *+' conftest.er1 >conftest.err
24876  rm -f conftest.er1
24877  cat conftest.err >&5
24878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879  (exit $ac_status); } &&
24880	 { ac_try='test -z "$ac_c_werror_flag"
24881			 || test ! -s conftest.err'
24882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883  (eval $ac_try) 2>&5
24884  ac_status=$?
24885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886  (exit $ac_status); }; } &&
24887	 { ac_try='test -s conftest$ac_exeext'
24888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889  (eval $ac_try) 2>&5
24890  ac_status=$?
24891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892  (exit $ac_status); }; }; then
24893  eval "$as_ac_var=yes"
24894else
24895  echo "$as_me: failed program was:" >&5
24896sed 's/^/| /' conftest.$ac_ext >&5
24897
24898eval "$as_ac_var=no"
24899fi
24900rm -f conftest.err conftest.$ac_objext \
24901      conftest$ac_exeext conftest.$ac_ext
24902fi
24903echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24904echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24905if test `eval echo '${'$as_ac_var'}'` = yes; then
24906  cat >>confdefs.h <<_ACEOF
24907#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24908_ACEOF
24909
24910fi
24911done
24912
24913    fi
24914  fi
24915
24916
24917
24918
24919
24920
24921  echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24922echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24923  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24924    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24925  echo $ECHO_N "(cached) $ECHO_C" >&6
24926else
24927
24928
24929
24930      ac_ext=cc
24931ac_cpp='$CXXCPP $CPPFLAGS'
24932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24935
24936      cat >conftest.$ac_ext <<_ACEOF
24937/* confdefs.h.  */
24938_ACEOF
24939cat confdefs.h >>conftest.$ac_ext
24940cat >>conftest.$ac_ext <<_ACEOF
24941/* end confdefs.h.  */
24942#include <math.h>
24943		      #ifdef HAVE_IEEEFP_H
24944		      #include <ieeefp.h>
24945		      #endif
24946
24947int
24948main ()
24949{
24950 sqrtl(0);
24951  ;
24952  return 0;
24953}
24954_ACEOF
24955rm -f conftest.$ac_objext
24956if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24957  (eval $ac_compile) 2>conftest.er1
24958  ac_status=$?
24959  grep -v '^ *+' conftest.er1 >conftest.err
24960  rm -f conftest.er1
24961  cat conftest.err >&5
24962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963  (exit $ac_status); } &&
24964	 { ac_try='test -z "$ac_cxx_werror_flag"
24965			 || test ! -s conftest.err'
24966  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967  (eval $ac_try) 2>&5
24968  ac_status=$?
24969  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970  (exit $ac_status); }; } &&
24971	 { ac_try='test -s conftest.$ac_objext'
24972  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973  (eval $ac_try) 2>&5
24974  ac_status=$?
24975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976  (exit $ac_status); }; }; then
24977  glibcxx_cv_func_sqrtl_use=yes
24978else
24979  echo "$as_me: failed program was:" >&5
24980sed 's/^/| /' conftest.$ac_ext >&5
24981
24982glibcxx_cv_func_sqrtl_use=no
24983fi
24984rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24985      ac_ext=c
24986ac_cpp='$CPP $CPPFLAGS'
24987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24989ac_compiler_gnu=$ac_cv_c_compiler_gnu
24990
24991
24992fi
24993
24994  fi
24995  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24996echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24997
24998  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24999
25000for ac_func in sqrtl
25001do
25002as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25003echo "$as_me:$LINENO: checking for $ac_func" >&5
25004echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25005if eval "test \"\${$as_ac_var+set}\" = set"; then
25006  echo $ECHO_N "(cached) $ECHO_C" >&6
25007else
25008  if test x$gcc_no_link = xyes; then
25009  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25010echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25011   { (exit 1); exit 1; }; }
25012fi
25013cat >conftest.$ac_ext <<_ACEOF
25014/* confdefs.h.  */
25015_ACEOF
25016cat confdefs.h >>conftest.$ac_ext
25017cat >>conftest.$ac_ext <<_ACEOF
25018/* end confdefs.h.  */
25019/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25020   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25021#define $ac_func innocuous_$ac_func
25022
25023/* System header to define __stub macros and hopefully few prototypes,
25024    which can conflict with char $ac_func (); below.
25025    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25026    <limits.h> exists even on freestanding compilers.  */
25027
25028#ifdef __STDC__
25029# include <limits.h>
25030#else
25031# include <assert.h>
25032#endif
25033
25034#undef $ac_func
25035
25036/* Override any gcc2 internal prototype to avoid an error.  */
25037#ifdef __cplusplus
25038extern "C"
25039{
25040#endif
25041/* We use char because int might match the return type of a gcc2
25042   builtin and then its argument prototype would still apply.  */
25043char $ac_func ();
25044/* The GNU C library defines this for functions which it implements
25045    to always fail with ENOSYS.  Some functions are actually named
25046    something starting with __ and the normal name is an alias.  */
25047#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25048choke me
25049#else
25050char (*f) () = $ac_func;
25051#endif
25052#ifdef __cplusplus
25053}
25054#endif
25055
25056int
25057main ()
25058{
25059return f != $ac_func;
25060  ;
25061  return 0;
25062}
25063_ACEOF
25064rm -f conftest.$ac_objext conftest$ac_exeext
25065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25066  (eval $ac_link) 2>conftest.er1
25067  ac_status=$?
25068  grep -v '^ *+' conftest.er1 >conftest.err
25069  rm -f conftest.er1
25070  cat conftest.err >&5
25071  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072  (exit $ac_status); } &&
25073	 { ac_try='test -z "$ac_c_werror_flag"
25074			 || test ! -s conftest.err'
25075  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076  (eval $ac_try) 2>&5
25077  ac_status=$?
25078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079  (exit $ac_status); }; } &&
25080	 { ac_try='test -s conftest$ac_exeext'
25081  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082  (eval $ac_try) 2>&5
25083  ac_status=$?
25084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085  (exit $ac_status); }; }; then
25086  eval "$as_ac_var=yes"
25087else
25088  echo "$as_me: failed program was:" >&5
25089sed 's/^/| /' conftest.$ac_ext >&5
25090
25091eval "$as_ac_var=no"
25092fi
25093rm -f conftest.err conftest.$ac_objext \
25094      conftest$ac_exeext conftest.$ac_ext
25095fi
25096echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25097echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25098if test `eval echo '${'$as_ac_var'}'` = yes; then
25099  cat >>confdefs.h <<_ACEOF
25100#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25101_ACEOF
25102
25103fi
25104done
25105
25106  else
25107
25108  echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
25109echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
25110  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25111    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
25112  echo $ECHO_N "(cached) $ECHO_C" >&6
25113else
25114
25115
25116
25117      ac_ext=cc
25118ac_cpp='$CXXCPP $CPPFLAGS'
25119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25122
25123      cat >conftest.$ac_ext <<_ACEOF
25124/* confdefs.h.  */
25125_ACEOF
25126cat confdefs.h >>conftest.$ac_ext
25127cat >>conftest.$ac_ext <<_ACEOF
25128/* end confdefs.h.  */
25129#include <math.h>
25130		      #ifdef HAVE_IEEEFP_H
25131		      #include <ieeefp.h>
25132		      #endif
25133
25134int
25135main ()
25136{
25137 _sqrtl(0);
25138  ;
25139  return 0;
25140}
25141_ACEOF
25142rm -f conftest.$ac_objext
25143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25144  (eval $ac_compile) 2>conftest.er1
25145  ac_status=$?
25146  grep -v '^ *+' conftest.er1 >conftest.err
25147  rm -f conftest.er1
25148  cat conftest.err >&5
25149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150  (exit $ac_status); } &&
25151	 { ac_try='test -z "$ac_cxx_werror_flag"
25152			 || test ! -s conftest.err'
25153  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154  (eval $ac_try) 2>&5
25155  ac_status=$?
25156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157  (exit $ac_status); }; } &&
25158	 { ac_try='test -s conftest.$ac_objext'
25159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160  (eval $ac_try) 2>&5
25161  ac_status=$?
25162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163  (exit $ac_status); }; }; then
25164  glibcxx_cv_func__sqrtl_use=yes
25165else
25166  echo "$as_me: failed program was:" >&5
25167sed 's/^/| /' conftest.$ac_ext >&5
25168
25169glibcxx_cv_func__sqrtl_use=no
25170fi
25171rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25172      ac_ext=c
25173ac_cpp='$CPP $CPPFLAGS'
25174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25176ac_compiler_gnu=$ac_cv_c_compiler_gnu
25177
25178
25179fi
25180
25181  fi
25182  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25183echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25184
25185    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25186
25187for ac_func in _sqrtl
25188do
25189as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25190echo "$as_me:$LINENO: checking for $ac_func" >&5
25191echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25192if eval "test \"\${$as_ac_var+set}\" = set"; then
25193  echo $ECHO_N "(cached) $ECHO_C" >&6
25194else
25195  if test x$gcc_no_link = xyes; then
25196  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25197echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25198   { (exit 1); exit 1; }; }
25199fi
25200cat >conftest.$ac_ext <<_ACEOF
25201/* confdefs.h.  */
25202_ACEOF
25203cat confdefs.h >>conftest.$ac_ext
25204cat >>conftest.$ac_ext <<_ACEOF
25205/* end confdefs.h.  */
25206/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25207   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25208#define $ac_func innocuous_$ac_func
25209
25210/* System header to define __stub macros and hopefully few prototypes,
25211    which can conflict with char $ac_func (); below.
25212    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25213    <limits.h> exists even on freestanding compilers.  */
25214
25215#ifdef __STDC__
25216# include <limits.h>
25217#else
25218# include <assert.h>
25219#endif
25220
25221#undef $ac_func
25222
25223/* Override any gcc2 internal prototype to avoid an error.  */
25224#ifdef __cplusplus
25225extern "C"
25226{
25227#endif
25228/* We use char because int might match the return type of a gcc2
25229   builtin and then its argument prototype would still apply.  */
25230char $ac_func ();
25231/* The GNU C library defines this for functions which it implements
25232    to always fail with ENOSYS.  Some functions are actually named
25233    something starting with __ and the normal name is an alias.  */
25234#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25235choke me
25236#else
25237char (*f) () = $ac_func;
25238#endif
25239#ifdef __cplusplus
25240}
25241#endif
25242
25243int
25244main ()
25245{
25246return f != $ac_func;
25247  ;
25248  return 0;
25249}
25250_ACEOF
25251rm -f conftest.$ac_objext conftest$ac_exeext
25252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25253  (eval $ac_link) 2>conftest.er1
25254  ac_status=$?
25255  grep -v '^ *+' conftest.er1 >conftest.err
25256  rm -f conftest.er1
25257  cat conftest.err >&5
25258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259  (exit $ac_status); } &&
25260	 { ac_try='test -z "$ac_c_werror_flag"
25261			 || test ! -s conftest.err'
25262  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25263  (eval $ac_try) 2>&5
25264  ac_status=$?
25265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266  (exit $ac_status); }; } &&
25267	 { ac_try='test -s conftest$ac_exeext'
25268  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25269  (eval $ac_try) 2>&5
25270  ac_status=$?
25271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272  (exit $ac_status); }; }; then
25273  eval "$as_ac_var=yes"
25274else
25275  echo "$as_me: failed program was:" >&5
25276sed 's/^/| /' conftest.$ac_ext >&5
25277
25278eval "$as_ac_var=no"
25279fi
25280rm -f conftest.err conftest.$ac_objext \
25281      conftest$ac_exeext conftest.$ac_ext
25282fi
25283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25284echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25285if test `eval echo '${'$as_ac_var'}'` = yes; then
25286  cat >>confdefs.h <<_ACEOF
25287#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25288_ACEOF
25289
25290fi
25291done
25292
25293    fi
25294  fi
25295
25296
25297
25298
25299
25300
25301  echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25302echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25303  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25304    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25305  echo $ECHO_N "(cached) $ECHO_C" >&6
25306else
25307
25308
25309
25310      ac_ext=cc
25311ac_cpp='$CXXCPP $CPPFLAGS'
25312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25315
25316      cat >conftest.$ac_ext <<_ACEOF
25317/* confdefs.h.  */
25318_ACEOF
25319cat confdefs.h >>conftest.$ac_ext
25320cat >>conftest.$ac_ext <<_ACEOF
25321/* end confdefs.h.  */
25322#include <math.h>
25323int
25324main ()
25325{
25326 sincosl(0, 0, 0);
25327  ;
25328  return 0;
25329}
25330_ACEOF
25331rm -f conftest.$ac_objext
25332if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25333  (eval $ac_compile) 2>conftest.er1
25334  ac_status=$?
25335  grep -v '^ *+' conftest.er1 >conftest.err
25336  rm -f conftest.er1
25337  cat conftest.err >&5
25338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339  (exit $ac_status); } &&
25340	 { ac_try='test -z "$ac_cxx_werror_flag"
25341			 || test ! -s conftest.err'
25342  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343  (eval $ac_try) 2>&5
25344  ac_status=$?
25345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346  (exit $ac_status); }; } &&
25347	 { ac_try='test -s conftest.$ac_objext'
25348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349  (eval $ac_try) 2>&5
25350  ac_status=$?
25351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352  (exit $ac_status); }; }; then
25353  glibcxx_cv_func_sincosl_use=yes
25354else
25355  echo "$as_me: failed program was:" >&5
25356sed 's/^/| /' conftest.$ac_ext >&5
25357
25358glibcxx_cv_func_sincosl_use=no
25359fi
25360rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25361      ac_ext=c
25362ac_cpp='$CPP $CPPFLAGS'
25363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365ac_compiler_gnu=$ac_cv_c_compiler_gnu
25366
25367
25368fi
25369
25370  fi
25371  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25372echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25373
25374  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25375
25376for ac_func in sincosl
25377do
25378as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25379echo "$as_me:$LINENO: checking for $ac_func" >&5
25380echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25381if eval "test \"\${$as_ac_var+set}\" = set"; then
25382  echo $ECHO_N "(cached) $ECHO_C" >&6
25383else
25384  if test x$gcc_no_link = xyes; then
25385  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25386echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25387   { (exit 1); exit 1; }; }
25388fi
25389cat >conftest.$ac_ext <<_ACEOF
25390/* confdefs.h.  */
25391_ACEOF
25392cat confdefs.h >>conftest.$ac_ext
25393cat >>conftest.$ac_ext <<_ACEOF
25394/* end confdefs.h.  */
25395/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25396   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25397#define $ac_func innocuous_$ac_func
25398
25399/* System header to define __stub macros and hopefully few prototypes,
25400    which can conflict with char $ac_func (); below.
25401    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25402    <limits.h> exists even on freestanding compilers.  */
25403
25404#ifdef __STDC__
25405# include <limits.h>
25406#else
25407# include <assert.h>
25408#endif
25409
25410#undef $ac_func
25411
25412/* Override any gcc2 internal prototype to avoid an error.  */
25413#ifdef __cplusplus
25414extern "C"
25415{
25416#endif
25417/* We use char because int might match the return type of a gcc2
25418   builtin and then its argument prototype would still apply.  */
25419char $ac_func ();
25420/* The GNU C library defines this for functions which it implements
25421    to always fail with ENOSYS.  Some functions are actually named
25422    something starting with __ and the normal name is an alias.  */
25423#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25424choke me
25425#else
25426char (*f) () = $ac_func;
25427#endif
25428#ifdef __cplusplus
25429}
25430#endif
25431
25432int
25433main ()
25434{
25435return f != $ac_func;
25436  ;
25437  return 0;
25438}
25439_ACEOF
25440rm -f conftest.$ac_objext conftest$ac_exeext
25441if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25442  (eval $ac_link) 2>conftest.er1
25443  ac_status=$?
25444  grep -v '^ *+' conftest.er1 >conftest.err
25445  rm -f conftest.er1
25446  cat conftest.err >&5
25447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448  (exit $ac_status); } &&
25449	 { ac_try='test -z "$ac_c_werror_flag"
25450			 || test ! -s conftest.err'
25451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452  (eval $ac_try) 2>&5
25453  ac_status=$?
25454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455  (exit $ac_status); }; } &&
25456	 { ac_try='test -s conftest$ac_exeext'
25457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25458  (eval $ac_try) 2>&5
25459  ac_status=$?
25460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461  (exit $ac_status); }; }; then
25462  eval "$as_ac_var=yes"
25463else
25464  echo "$as_me: failed program was:" >&5
25465sed 's/^/| /' conftest.$ac_ext >&5
25466
25467eval "$as_ac_var=no"
25468fi
25469rm -f conftest.err conftest.$ac_objext \
25470      conftest$ac_exeext conftest.$ac_ext
25471fi
25472echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25473echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25474if test `eval echo '${'$as_ac_var'}'` = yes; then
25475  cat >>confdefs.h <<_ACEOF
25476#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25477_ACEOF
25478
25479fi
25480done
25481
25482  else
25483
25484  echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25485echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25486  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25487    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25488  echo $ECHO_N "(cached) $ECHO_C" >&6
25489else
25490
25491
25492
25493      ac_ext=cc
25494ac_cpp='$CXXCPP $CPPFLAGS'
25495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25498
25499      cat >conftest.$ac_ext <<_ACEOF
25500/* confdefs.h.  */
25501_ACEOF
25502cat confdefs.h >>conftest.$ac_ext
25503cat >>conftest.$ac_ext <<_ACEOF
25504/* end confdefs.h.  */
25505#include <math.h>
25506int
25507main ()
25508{
25509 _sincosl(0, 0, 0);
25510  ;
25511  return 0;
25512}
25513_ACEOF
25514rm -f conftest.$ac_objext
25515if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25516  (eval $ac_compile) 2>conftest.er1
25517  ac_status=$?
25518  grep -v '^ *+' conftest.er1 >conftest.err
25519  rm -f conftest.er1
25520  cat conftest.err >&5
25521  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522  (exit $ac_status); } &&
25523	 { ac_try='test -z "$ac_cxx_werror_flag"
25524			 || test ! -s conftest.err'
25525  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526  (eval $ac_try) 2>&5
25527  ac_status=$?
25528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529  (exit $ac_status); }; } &&
25530	 { ac_try='test -s conftest.$ac_objext'
25531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532  (eval $ac_try) 2>&5
25533  ac_status=$?
25534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535  (exit $ac_status); }; }; then
25536  glibcxx_cv_func__sincosl_use=yes
25537else
25538  echo "$as_me: failed program was:" >&5
25539sed 's/^/| /' conftest.$ac_ext >&5
25540
25541glibcxx_cv_func__sincosl_use=no
25542fi
25543rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25544      ac_ext=c
25545ac_cpp='$CPP $CPPFLAGS'
25546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548ac_compiler_gnu=$ac_cv_c_compiler_gnu
25549
25550
25551fi
25552
25553  fi
25554  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25555echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25556
25557    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25558
25559for ac_func in _sincosl
25560do
25561as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25562echo "$as_me:$LINENO: checking for $ac_func" >&5
25563echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25564if eval "test \"\${$as_ac_var+set}\" = set"; then
25565  echo $ECHO_N "(cached) $ECHO_C" >&6
25566else
25567  if test x$gcc_no_link = xyes; then
25568  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25569echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25570   { (exit 1); exit 1; }; }
25571fi
25572cat >conftest.$ac_ext <<_ACEOF
25573/* confdefs.h.  */
25574_ACEOF
25575cat confdefs.h >>conftest.$ac_ext
25576cat >>conftest.$ac_ext <<_ACEOF
25577/* end confdefs.h.  */
25578/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25579   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25580#define $ac_func innocuous_$ac_func
25581
25582/* System header to define __stub macros and hopefully few prototypes,
25583    which can conflict with char $ac_func (); below.
25584    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25585    <limits.h> exists even on freestanding compilers.  */
25586
25587#ifdef __STDC__
25588# include <limits.h>
25589#else
25590# include <assert.h>
25591#endif
25592
25593#undef $ac_func
25594
25595/* Override any gcc2 internal prototype to avoid an error.  */
25596#ifdef __cplusplus
25597extern "C"
25598{
25599#endif
25600/* We use char because int might match the return type of a gcc2
25601   builtin and then its argument prototype would still apply.  */
25602char $ac_func ();
25603/* The GNU C library defines this for functions which it implements
25604    to always fail with ENOSYS.  Some functions are actually named
25605    something starting with __ and the normal name is an alias.  */
25606#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25607choke me
25608#else
25609char (*f) () = $ac_func;
25610#endif
25611#ifdef __cplusplus
25612}
25613#endif
25614
25615int
25616main ()
25617{
25618return f != $ac_func;
25619  ;
25620  return 0;
25621}
25622_ACEOF
25623rm -f conftest.$ac_objext conftest$ac_exeext
25624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625  (eval $ac_link) 2>conftest.er1
25626  ac_status=$?
25627  grep -v '^ *+' conftest.er1 >conftest.err
25628  rm -f conftest.er1
25629  cat conftest.err >&5
25630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631  (exit $ac_status); } &&
25632	 { ac_try='test -z "$ac_c_werror_flag"
25633			 || test ! -s conftest.err'
25634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635  (eval $ac_try) 2>&5
25636  ac_status=$?
25637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638  (exit $ac_status); }; } &&
25639	 { ac_try='test -s conftest$ac_exeext'
25640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641  (eval $ac_try) 2>&5
25642  ac_status=$?
25643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644  (exit $ac_status); }; }; then
25645  eval "$as_ac_var=yes"
25646else
25647  echo "$as_me: failed program was:" >&5
25648sed 's/^/| /' conftest.$ac_ext >&5
25649
25650eval "$as_ac_var=no"
25651fi
25652rm -f conftest.err conftest.$ac_objext \
25653      conftest$ac_exeext conftest.$ac_ext
25654fi
25655echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25656echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25657if test `eval echo '${'$as_ac_var'}'` = yes; then
25658  cat >>confdefs.h <<_ACEOF
25659#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25660_ACEOF
25661
25662fi
25663done
25664
25665    fi
25666  fi
25667
25668
25669
25670
25671
25672
25673  echo "$as_me:$LINENO: checking for finitel declaration" >&5
25674echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25675  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25676    if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25677  echo $ECHO_N "(cached) $ECHO_C" >&6
25678else
25679
25680
25681
25682      ac_ext=cc
25683ac_cpp='$CXXCPP $CPPFLAGS'
25684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687
25688      cat >conftest.$ac_ext <<_ACEOF
25689/* confdefs.h.  */
25690_ACEOF
25691cat confdefs.h >>conftest.$ac_ext
25692cat >>conftest.$ac_ext <<_ACEOF
25693/* end confdefs.h.  */
25694#include <math.h>
25695		      #ifdef HAVE_IEEEFP_H
25696		      #include <ieeefp.h>
25697		      #endif
25698
25699int
25700main ()
25701{
25702 finitel(0);
25703  ;
25704  return 0;
25705}
25706_ACEOF
25707rm -f conftest.$ac_objext
25708if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25709  (eval $ac_compile) 2>conftest.er1
25710  ac_status=$?
25711  grep -v '^ *+' conftest.er1 >conftest.err
25712  rm -f conftest.er1
25713  cat conftest.err >&5
25714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715  (exit $ac_status); } &&
25716	 { ac_try='test -z "$ac_cxx_werror_flag"
25717			 || test ! -s conftest.err'
25718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719  (eval $ac_try) 2>&5
25720  ac_status=$?
25721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722  (exit $ac_status); }; } &&
25723	 { ac_try='test -s conftest.$ac_objext'
25724  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725  (eval $ac_try) 2>&5
25726  ac_status=$?
25727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728  (exit $ac_status); }; }; then
25729  glibcxx_cv_func_finitel_use=yes
25730else
25731  echo "$as_me: failed program was:" >&5
25732sed 's/^/| /' conftest.$ac_ext >&5
25733
25734glibcxx_cv_func_finitel_use=no
25735fi
25736rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25737      ac_ext=c
25738ac_cpp='$CPP $CPPFLAGS'
25739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741ac_compiler_gnu=$ac_cv_c_compiler_gnu
25742
25743
25744fi
25745
25746  fi
25747  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25748echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25749
25750  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25751
25752for ac_func in finitel
25753do
25754as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25755echo "$as_me:$LINENO: checking for $ac_func" >&5
25756echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25757if eval "test \"\${$as_ac_var+set}\" = set"; then
25758  echo $ECHO_N "(cached) $ECHO_C" >&6
25759else
25760  if test x$gcc_no_link = xyes; then
25761  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25762echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25763   { (exit 1); exit 1; }; }
25764fi
25765cat >conftest.$ac_ext <<_ACEOF
25766/* confdefs.h.  */
25767_ACEOF
25768cat confdefs.h >>conftest.$ac_ext
25769cat >>conftest.$ac_ext <<_ACEOF
25770/* end confdefs.h.  */
25771/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25772   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25773#define $ac_func innocuous_$ac_func
25774
25775/* System header to define __stub macros and hopefully few prototypes,
25776    which can conflict with char $ac_func (); below.
25777    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25778    <limits.h> exists even on freestanding compilers.  */
25779
25780#ifdef __STDC__
25781# include <limits.h>
25782#else
25783# include <assert.h>
25784#endif
25785
25786#undef $ac_func
25787
25788/* Override any gcc2 internal prototype to avoid an error.  */
25789#ifdef __cplusplus
25790extern "C"
25791{
25792#endif
25793/* We use char because int might match the return type of a gcc2
25794   builtin and then its argument prototype would still apply.  */
25795char $ac_func ();
25796/* The GNU C library defines this for functions which it implements
25797    to always fail with ENOSYS.  Some functions are actually named
25798    something starting with __ and the normal name is an alias.  */
25799#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25800choke me
25801#else
25802char (*f) () = $ac_func;
25803#endif
25804#ifdef __cplusplus
25805}
25806#endif
25807
25808int
25809main ()
25810{
25811return f != $ac_func;
25812  ;
25813  return 0;
25814}
25815_ACEOF
25816rm -f conftest.$ac_objext conftest$ac_exeext
25817if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25818  (eval $ac_link) 2>conftest.er1
25819  ac_status=$?
25820  grep -v '^ *+' conftest.er1 >conftest.err
25821  rm -f conftest.er1
25822  cat conftest.err >&5
25823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824  (exit $ac_status); } &&
25825	 { ac_try='test -z "$ac_c_werror_flag"
25826			 || test ! -s conftest.err'
25827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25828  (eval $ac_try) 2>&5
25829  ac_status=$?
25830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831  (exit $ac_status); }; } &&
25832	 { ac_try='test -s conftest$ac_exeext'
25833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834  (eval $ac_try) 2>&5
25835  ac_status=$?
25836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837  (exit $ac_status); }; }; then
25838  eval "$as_ac_var=yes"
25839else
25840  echo "$as_me: failed program was:" >&5
25841sed 's/^/| /' conftest.$ac_ext >&5
25842
25843eval "$as_ac_var=no"
25844fi
25845rm -f conftest.err conftest.$ac_objext \
25846      conftest$ac_exeext conftest.$ac_ext
25847fi
25848echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25849echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25850if test `eval echo '${'$as_ac_var'}'` = yes; then
25851  cat >>confdefs.h <<_ACEOF
25852#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25853_ACEOF
25854
25855fi
25856done
25857
25858  else
25859
25860  echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25861echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25862  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25863    if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25864  echo $ECHO_N "(cached) $ECHO_C" >&6
25865else
25866
25867
25868
25869      ac_ext=cc
25870ac_cpp='$CXXCPP $CPPFLAGS'
25871ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874
25875      cat >conftest.$ac_ext <<_ACEOF
25876/* confdefs.h.  */
25877_ACEOF
25878cat confdefs.h >>conftest.$ac_ext
25879cat >>conftest.$ac_ext <<_ACEOF
25880/* end confdefs.h.  */
25881#include <math.h>
25882		      #ifdef HAVE_IEEEFP_H
25883		      #include <ieeefp.h>
25884		      #endif
25885
25886int
25887main ()
25888{
25889 _finitel(0);
25890  ;
25891  return 0;
25892}
25893_ACEOF
25894rm -f conftest.$ac_objext
25895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25896  (eval $ac_compile) 2>conftest.er1
25897  ac_status=$?
25898  grep -v '^ *+' conftest.er1 >conftest.err
25899  rm -f conftest.er1
25900  cat conftest.err >&5
25901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902  (exit $ac_status); } &&
25903	 { ac_try='test -z "$ac_cxx_werror_flag"
25904			 || test ! -s conftest.err'
25905  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25906  (eval $ac_try) 2>&5
25907  ac_status=$?
25908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909  (exit $ac_status); }; } &&
25910	 { ac_try='test -s conftest.$ac_objext'
25911  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912  (eval $ac_try) 2>&5
25913  ac_status=$?
25914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915  (exit $ac_status); }; }; then
25916  glibcxx_cv_func__finitel_use=yes
25917else
25918  echo "$as_me: failed program was:" >&5
25919sed 's/^/| /' conftest.$ac_ext >&5
25920
25921glibcxx_cv_func__finitel_use=no
25922fi
25923rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25924      ac_ext=c
25925ac_cpp='$CPP $CPPFLAGS'
25926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25928ac_compiler_gnu=$ac_cv_c_compiler_gnu
25929
25930
25931fi
25932
25933  fi
25934  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25935echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25936
25937    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25938
25939for ac_func in _finitel
25940do
25941as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25942echo "$as_me:$LINENO: checking for $ac_func" >&5
25943echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25944if eval "test \"\${$as_ac_var+set}\" = set"; then
25945  echo $ECHO_N "(cached) $ECHO_C" >&6
25946else
25947  if test x$gcc_no_link = xyes; then
25948  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25949echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25950   { (exit 1); exit 1; }; }
25951fi
25952cat >conftest.$ac_ext <<_ACEOF
25953/* confdefs.h.  */
25954_ACEOF
25955cat confdefs.h >>conftest.$ac_ext
25956cat >>conftest.$ac_ext <<_ACEOF
25957/* end confdefs.h.  */
25958/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25959   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25960#define $ac_func innocuous_$ac_func
25961
25962/* System header to define __stub macros and hopefully few prototypes,
25963    which can conflict with char $ac_func (); below.
25964    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25965    <limits.h> exists even on freestanding compilers.  */
25966
25967#ifdef __STDC__
25968# include <limits.h>
25969#else
25970# include <assert.h>
25971#endif
25972
25973#undef $ac_func
25974
25975/* Override any gcc2 internal prototype to avoid an error.  */
25976#ifdef __cplusplus
25977extern "C"
25978{
25979#endif
25980/* We use char because int might match the return type of a gcc2
25981   builtin and then its argument prototype would still apply.  */
25982char $ac_func ();
25983/* The GNU C library defines this for functions which it implements
25984    to always fail with ENOSYS.  Some functions are actually named
25985    something starting with __ and the normal name is an alias.  */
25986#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25987choke me
25988#else
25989char (*f) () = $ac_func;
25990#endif
25991#ifdef __cplusplus
25992}
25993#endif
25994
25995int
25996main ()
25997{
25998return f != $ac_func;
25999  ;
26000  return 0;
26001}
26002_ACEOF
26003rm -f conftest.$ac_objext conftest$ac_exeext
26004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26005  (eval $ac_link) 2>conftest.er1
26006  ac_status=$?
26007  grep -v '^ *+' conftest.er1 >conftest.err
26008  rm -f conftest.er1
26009  cat conftest.err >&5
26010  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011  (exit $ac_status); } &&
26012	 { ac_try='test -z "$ac_c_werror_flag"
26013			 || test ! -s conftest.err'
26014  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015  (eval $ac_try) 2>&5
26016  ac_status=$?
26017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018  (exit $ac_status); }; } &&
26019	 { ac_try='test -s conftest$ac_exeext'
26020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021  (eval $ac_try) 2>&5
26022  ac_status=$?
26023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024  (exit $ac_status); }; }; then
26025  eval "$as_ac_var=yes"
26026else
26027  echo "$as_me: failed program was:" >&5
26028sed 's/^/| /' conftest.$ac_ext >&5
26029
26030eval "$as_ac_var=no"
26031fi
26032rm -f conftest.err conftest.$ac_objext \
26033      conftest$ac_exeext conftest.$ac_ext
26034fi
26035echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26036echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26037if test `eval echo '${'$as_ac_var'}'` = yes; then
26038  cat >>confdefs.h <<_ACEOF
26039#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26040_ACEOF
26041
26042fi
26043done
26044
26045    fi
26046  fi
26047
26048
26049
26050
26051
26052  LIBS="$ac_save_LIBS"
26053  CXXFLAGS="$ac_save_CXXFLAGS"
26054
26055
26056
26057  echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
26058echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
26059  if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
26060    if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
26061  echo $ECHO_N "(cached) $ECHO_C" >&6
26062else
26063
26064
26065
26066      ac_ext=cc
26067ac_cpp='$CXXCPP $CPPFLAGS'
26068ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071
26072      cat >conftest.$ac_ext <<_ACEOF
26073/* confdefs.h.  */
26074_ACEOF
26075cat confdefs.h >>conftest.$ac_ext
26076cat >>conftest.$ac_ext <<_ACEOF
26077/* end confdefs.h.  */
26078#include <math.h>
26079int
26080main ()
26081{
26082 __builtin_abs(0);
26083  ;
26084  return 0;
26085}
26086_ACEOF
26087rm -f conftest.$ac_objext
26088if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26089  (eval $ac_compile) 2>conftest.er1
26090  ac_status=$?
26091  grep -v '^ *+' conftest.er1 >conftest.err
26092  rm -f conftest.er1
26093  cat conftest.err >&5
26094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095  (exit $ac_status); } &&
26096	 { ac_try='test -z "$ac_cxx_werror_flag"
26097			 || test ! -s conftest.err'
26098  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26099  (eval $ac_try) 2>&5
26100  ac_status=$?
26101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102  (exit $ac_status); }; } &&
26103	 { ac_try='test -s conftest.$ac_objext'
26104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105  (eval $ac_try) 2>&5
26106  ac_status=$?
26107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108  (exit $ac_status); }; }; then
26109  glibcxx_cv_func___builtin_abs_use=yes
26110else
26111  echo "$as_me: failed program was:" >&5
26112sed 's/^/| /' conftest.$ac_ext >&5
26113
26114glibcxx_cv_func___builtin_abs_use=no
26115fi
26116rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26117      ac_ext=c
26118ac_cpp='$CPP $CPPFLAGS'
26119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121ac_compiler_gnu=$ac_cv_c_compiler_gnu
26122
26123
26124fi
26125
26126  fi
26127  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
26128echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
26129  if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
26130    echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
26131echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
26132    if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
26133      if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
26134  echo $ECHO_N "(cached) $ECHO_C" >&6
26135else
26136
26137        if test x$gcc_no_link = xyes; then
26138  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26139echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26140   { (exit 1); exit 1; }; }
26141fi
26142cat >conftest.$ac_ext <<_ACEOF
26143/* confdefs.h.  */
26144_ACEOF
26145cat confdefs.h >>conftest.$ac_ext
26146cat >>conftest.$ac_ext <<_ACEOF
26147/* end confdefs.h.  */
26148#include <math.h>
26149int
26150main ()
26151{
26152 __builtin_abs(0);
26153  ;
26154  return 0;
26155}
26156_ACEOF
26157rm -f conftest.$ac_objext conftest$ac_exeext
26158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26159  (eval $ac_link) 2>conftest.er1
26160  ac_status=$?
26161  grep -v '^ *+' conftest.er1 >conftest.err
26162  rm -f conftest.er1
26163  cat conftest.err >&5
26164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165  (exit $ac_status); } &&
26166	 { ac_try='test -z "$ac_c_werror_flag"
26167			 || test ! -s conftest.err'
26168  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169  (eval $ac_try) 2>&5
26170  ac_status=$?
26171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172  (exit $ac_status); }; } &&
26173	 { ac_try='test -s conftest$ac_exeext'
26174  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175  (eval $ac_try) 2>&5
26176  ac_status=$?
26177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178  (exit $ac_status); }; }; then
26179  glibcxx_cv_func___builtin_abs_link=yes
26180else
26181  echo "$as_me: failed program was:" >&5
26182sed 's/^/| /' conftest.$ac_ext >&5
26183
26184glibcxx_cv_func___builtin_abs_link=no
26185fi
26186rm -f conftest.err conftest.$ac_objext \
26187      conftest$ac_exeext conftest.$ac_ext
26188
26189fi
26190
26191    fi
26192    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26193echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26194
26195    if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26196
26197cat >>confdefs.h <<\_ACEOF
26198#define HAVE___BUILTIN_ABS 1
26199_ACEOF
26200
26201    fi
26202
26203  fi
26204
26205
26206  echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26207echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26208  if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26209    if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26210  echo $ECHO_N "(cached) $ECHO_C" >&6
26211else
26212
26213
26214
26215      ac_ext=cc
26216ac_cpp='$CXXCPP $CPPFLAGS'
26217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26220
26221      cat >conftest.$ac_ext <<_ACEOF
26222/* confdefs.h.  */
26223_ACEOF
26224cat confdefs.h >>conftest.$ac_ext
26225cat >>conftest.$ac_ext <<_ACEOF
26226/* end confdefs.h.  */
26227#include <math.h>
26228int
26229main ()
26230{
26231 __builtin_fabsf(0);
26232  ;
26233  return 0;
26234}
26235_ACEOF
26236rm -f conftest.$ac_objext
26237if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26238  (eval $ac_compile) 2>conftest.er1
26239  ac_status=$?
26240  grep -v '^ *+' conftest.er1 >conftest.err
26241  rm -f conftest.er1
26242  cat conftest.err >&5
26243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244  (exit $ac_status); } &&
26245	 { ac_try='test -z "$ac_cxx_werror_flag"
26246			 || test ! -s conftest.err'
26247  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248  (eval $ac_try) 2>&5
26249  ac_status=$?
26250  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251  (exit $ac_status); }; } &&
26252	 { ac_try='test -s conftest.$ac_objext'
26253  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254  (eval $ac_try) 2>&5
26255  ac_status=$?
26256  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257  (exit $ac_status); }; }; then
26258  glibcxx_cv_func___builtin_fabsf_use=yes
26259else
26260  echo "$as_me: failed program was:" >&5
26261sed 's/^/| /' conftest.$ac_ext >&5
26262
26263glibcxx_cv_func___builtin_fabsf_use=no
26264fi
26265rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26266      ac_ext=c
26267ac_cpp='$CPP $CPPFLAGS'
26268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270ac_compiler_gnu=$ac_cv_c_compiler_gnu
26271
26272
26273fi
26274
26275  fi
26276  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26277echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26278  if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26279    echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26280echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26281    if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26282      if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26283  echo $ECHO_N "(cached) $ECHO_C" >&6
26284else
26285
26286        if test x$gcc_no_link = xyes; then
26287  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26288echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26289   { (exit 1); exit 1; }; }
26290fi
26291cat >conftest.$ac_ext <<_ACEOF
26292/* confdefs.h.  */
26293_ACEOF
26294cat confdefs.h >>conftest.$ac_ext
26295cat >>conftest.$ac_ext <<_ACEOF
26296/* end confdefs.h.  */
26297#include <math.h>
26298int
26299main ()
26300{
26301 __builtin_fabsf(0);
26302  ;
26303  return 0;
26304}
26305_ACEOF
26306rm -f conftest.$ac_objext conftest$ac_exeext
26307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26308  (eval $ac_link) 2>conftest.er1
26309  ac_status=$?
26310  grep -v '^ *+' conftest.er1 >conftest.err
26311  rm -f conftest.er1
26312  cat conftest.err >&5
26313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314  (exit $ac_status); } &&
26315	 { ac_try='test -z "$ac_c_werror_flag"
26316			 || test ! -s conftest.err'
26317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318  (eval $ac_try) 2>&5
26319  ac_status=$?
26320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321  (exit $ac_status); }; } &&
26322	 { ac_try='test -s conftest$ac_exeext'
26323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324  (eval $ac_try) 2>&5
26325  ac_status=$?
26326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327  (exit $ac_status); }; }; then
26328  glibcxx_cv_func___builtin_fabsf_link=yes
26329else
26330  echo "$as_me: failed program was:" >&5
26331sed 's/^/| /' conftest.$ac_ext >&5
26332
26333glibcxx_cv_func___builtin_fabsf_link=no
26334fi
26335rm -f conftest.err conftest.$ac_objext \
26336      conftest$ac_exeext conftest.$ac_ext
26337
26338fi
26339
26340    fi
26341    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26342echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26343
26344    if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26345
26346cat >>confdefs.h <<\_ACEOF
26347#define HAVE___BUILTIN_FABSF 1
26348_ACEOF
26349
26350    fi
26351
26352  fi
26353
26354
26355  echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26356echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26357  if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26358    if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26359  echo $ECHO_N "(cached) $ECHO_C" >&6
26360else
26361
26362
26363
26364      ac_ext=cc
26365ac_cpp='$CXXCPP $CPPFLAGS'
26366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26369
26370      cat >conftest.$ac_ext <<_ACEOF
26371/* confdefs.h.  */
26372_ACEOF
26373cat confdefs.h >>conftest.$ac_ext
26374cat >>conftest.$ac_ext <<_ACEOF
26375/* end confdefs.h.  */
26376#include <math.h>
26377int
26378main ()
26379{
26380 __builtin_fabs(0);
26381  ;
26382  return 0;
26383}
26384_ACEOF
26385rm -f conftest.$ac_objext
26386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26387  (eval $ac_compile) 2>conftest.er1
26388  ac_status=$?
26389  grep -v '^ *+' conftest.er1 >conftest.err
26390  rm -f conftest.er1
26391  cat conftest.err >&5
26392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393  (exit $ac_status); } &&
26394	 { ac_try='test -z "$ac_cxx_werror_flag"
26395			 || test ! -s conftest.err'
26396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26397  (eval $ac_try) 2>&5
26398  ac_status=$?
26399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400  (exit $ac_status); }; } &&
26401	 { ac_try='test -s conftest.$ac_objext'
26402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403  (eval $ac_try) 2>&5
26404  ac_status=$?
26405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406  (exit $ac_status); }; }; then
26407  glibcxx_cv_func___builtin_fabs_use=yes
26408else
26409  echo "$as_me: failed program was:" >&5
26410sed 's/^/| /' conftest.$ac_ext >&5
26411
26412glibcxx_cv_func___builtin_fabs_use=no
26413fi
26414rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26415      ac_ext=c
26416ac_cpp='$CPP $CPPFLAGS'
26417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26419ac_compiler_gnu=$ac_cv_c_compiler_gnu
26420
26421
26422fi
26423
26424  fi
26425  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26426echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26427  if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26428    echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26429echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26430    if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26431      if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26432  echo $ECHO_N "(cached) $ECHO_C" >&6
26433else
26434
26435        if test x$gcc_no_link = xyes; then
26436  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26437echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26438   { (exit 1); exit 1; }; }
26439fi
26440cat >conftest.$ac_ext <<_ACEOF
26441/* confdefs.h.  */
26442_ACEOF
26443cat confdefs.h >>conftest.$ac_ext
26444cat >>conftest.$ac_ext <<_ACEOF
26445/* end confdefs.h.  */
26446#include <math.h>
26447int
26448main ()
26449{
26450 __builtin_fabs(0);
26451  ;
26452  return 0;
26453}
26454_ACEOF
26455rm -f conftest.$ac_objext conftest$ac_exeext
26456if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26457  (eval $ac_link) 2>conftest.er1
26458  ac_status=$?
26459  grep -v '^ *+' conftest.er1 >conftest.err
26460  rm -f conftest.er1
26461  cat conftest.err >&5
26462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463  (exit $ac_status); } &&
26464	 { ac_try='test -z "$ac_c_werror_flag"
26465			 || test ! -s conftest.err'
26466  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467  (eval $ac_try) 2>&5
26468  ac_status=$?
26469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470  (exit $ac_status); }; } &&
26471	 { ac_try='test -s conftest$ac_exeext'
26472  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473  (eval $ac_try) 2>&5
26474  ac_status=$?
26475  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476  (exit $ac_status); }; }; then
26477  glibcxx_cv_func___builtin_fabs_link=yes
26478else
26479  echo "$as_me: failed program was:" >&5
26480sed 's/^/| /' conftest.$ac_ext >&5
26481
26482glibcxx_cv_func___builtin_fabs_link=no
26483fi
26484rm -f conftest.err conftest.$ac_objext \
26485      conftest$ac_exeext conftest.$ac_ext
26486
26487fi
26488
26489    fi
26490    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26491echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26492
26493    if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26494
26495cat >>confdefs.h <<\_ACEOF
26496#define HAVE___BUILTIN_FABS 1
26497_ACEOF
26498
26499    fi
26500
26501  fi
26502
26503
26504  echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26505echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26506  if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26507    if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26508  echo $ECHO_N "(cached) $ECHO_C" >&6
26509else
26510
26511
26512
26513      ac_ext=cc
26514ac_cpp='$CXXCPP $CPPFLAGS'
26515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26518
26519      cat >conftest.$ac_ext <<_ACEOF
26520/* confdefs.h.  */
26521_ACEOF
26522cat confdefs.h >>conftest.$ac_ext
26523cat >>conftest.$ac_ext <<_ACEOF
26524/* end confdefs.h.  */
26525#include <math.h>
26526int
26527main ()
26528{
26529 __builtin_fabsl(0);
26530  ;
26531  return 0;
26532}
26533_ACEOF
26534rm -f conftest.$ac_objext
26535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26536  (eval $ac_compile) 2>conftest.er1
26537  ac_status=$?
26538  grep -v '^ *+' conftest.er1 >conftest.err
26539  rm -f conftest.er1
26540  cat conftest.err >&5
26541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542  (exit $ac_status); } &&
26543	 { ac_try='test -z "$ac_cxx_werror_flag"
26544			 || test ! -s conftest.err'
26545  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546  (eval $ac_try) 2>&5
26547  ac_status=$?
26548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549  (exit $ac_status); }; } &&
26550	 { ac_try='test -s conftest.$ac_objext'
26551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552  (eval $ac_try) 2>&5
26553  ac_status=$?
26554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555  (exit $ac_status); }; }; then
26556  glibcxx_cv_func___builtin_fabsl_use=yes
26557else
26558  echo "$as_me: failed program was:" >&5
26559sed 's/^/| /' conftest.$ac_ext >&5
26560
26561glibcxx_cv_func___builtin_fabsl_use=no
26562fi
26563rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26564      ac_ext=c
26565ac_cpp='$CPP $CPPFLAGS'
26566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26568ac_compiler_gnu=$ac_cv_c_compiler_gnu
26569
26570
26571fi
26572
26573  fi
26574  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26575echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26576  if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26577    echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26578echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26579    if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26580      if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26581  echo $ECHO_N "(cached) $ECHO_C" >&6
26582else
26583
26584        if test x$gcc_no_link = xyes; then
26585  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26586echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26587   { (exit 1); exit 1; }; }
26588fi
26589cat >conftest.$ac_ext <<_ACEOF
26590/* confdefs.h.  */
26591_ACEOF
26592cat confdefs.h >>conftest.$ac_ext
26593cat >>conftest.$ac_ext <<_ACEOF
26594/* end confdefs.h.  */
26595#include <math.h>
26596int
26597main ()
26598{
26599 __builtin_fabsl(0);
26600  ;
26601  return 0;
26602}
26603_ACEOF
26604rm -f conftest.$ac_objext conftest$ac_exeext
26605if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26606  (eval $ac_link) 2>conftest.er1
26607  ac_status=$?
26608  grep -v '^ *+' conftest.er1 >conftest.err
26609  rm -f conftest.er1
26610  cat conftest.err >&5
26611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612  (exit $ac_status); } &&
26613	 { ac_try='test -z "$ac_c_werror_flag"
26614			 || test ! -s conftest.err'
26615  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616  (eval $ac_try) 2>&5
26617  ac_status=$?
26618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619  (exit $ac_status); }; } &&
26620	 { ac_try='test -s conftest$ac_exeext'
26621  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26622  (eval $ac_try) 2>&5
26623  ac_status=$?
26624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625  (exit $ac_status); }; }; then
26626  glibcxx_cv_func___builtin_fabsl_link=yes
26627else
26628  echo "$as_me: failed program was:" >&5
26629sed 's/^/| /' conftest.$ac_ext >&5
26630
26631glibcxx_cv_func___builtin_fabsl_link=no
26632fi
26633rm -f conftest.err conftest.$ac_objext \
26634      conftest$ac_exeext conftest.$ac_ext
26635
26636fi
26637
26638    fi
26639    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26640echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26641
26642    if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26643
26644cat >>confdefs.h <<\_ACEOF
26645#define HAVE___BUILTIN_FABSL 1
26646_ACEOF
26647
26648    fi
26649
26650  fi
26651
26652
26653  echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26654echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26655  if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26656    if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26657  echo $ECHO_N "(cached) $ECHO_C" >&6
26658else
26659
26660
26661
26662      ac_ext=cc
26663ac_cpp='$CXXCPP $CPPFLAGS'
26664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26665ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26666ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26667
26668      cat >conftest.$ac_ext <<_ACEOF
26669/* confdefs.h.  */
26670_ACEOF
26671cat confdefs.h >>conftest.$ac_ext
26672cat >>conftest.$ac_ext <<_ACEOF
26673/* end confdefs.h.  */
26674#include <math.h>
26675int
26676main ()
26677{
26678 __builtin_labs(0);
26679  ;
26680  return 0;
26681}
26682_ACEOF
26683rm -f conftest.$ac_objext
26684if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26685  (eval $ac_compile) 2>conftest.er1
26686  ac_status=$?
26687  grep -v '^ *+' conftest.er1 >conftest.err
26688  rm -f conftest.er1
26689  cat conftest.err >&5
26690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691  (exit $ac_status); } &&
26692	 { ac_try='test -z "$ac_cxx_werror_flag"
26693			 || test ! -s conftest.err'
26694  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26695  (eval $ac_try) 2>&5
26696  ac_status=$?
26697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698  (exit $ac_status); }; } &&
26699	 { ac_try='test -s conftest.$ac_objext'
26700  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701  (eval $ac_try) 2>&5
26702  ac_status=$?
26703  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704  (exit $ac_status); }; }; then
26705  glibcxx_cv_func___builtin_labs_use=yes
26706else
26707  echo "$as_me: failed program was:" >&5
26708sed 's/^/| /' conftest.$ac_ext >&5
26709
26710glibcxx_cv_func___builtin_labs_use=no
26711fi
26712rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26713      ac_ext=c
26714ac_cpp='$CPP $CPPFLAGS'
26715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717ac_compiler_gnu=$ac_cv_c_compiler_gnu
26718
26719
26720fi
26721
26722  fi
26723  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26724echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26725  if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26726    echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26727echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26728    if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26729      if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26730  echo $ECHO_N "(cached) $ECHO_C" >&6
26731else
26732
26733        if test x$gcc_no_link = xyes; then
26734  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26735echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26736   { (exit 1); exit 1; }; }
26737fi
26738cat >conftest.$ac_ext <<_ACEOF
26739/* confdefs.h.  */
26740_ACEOF
26741cat confdefs.h >>conftest.$ac_ext
26742cat >>conftest.$ac_ext <<_ACEOF
26743/* end confdefs.h.  */
26744#include <math.h>
26745int
26746main ()
26747{
26748 __builtin_labs(0);
26749  ;
26750  return 0;
26751}
26752_ACEOF
26753rm -f conftest.$ac_objext conftest$ac_exeext
26754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26755  (eval $ac_link) 2>conftest.er1
26756  ac_status=$?
26757  grep -v '^ *+' conftest.er1 >conftest.err
26758  rm -f conftest.er1
26759  cat conftest.err >&5
26760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761  (exit $ac_status); } &&
26762	 { ac_try='test -z "$ac_c_werror_flag"
26763			 || test ! -s conftest.err'
26764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765  (eval $ac_try) 2>&5
26766  ac_status=$?
26767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768  (exit $ac_status); }; } &&
26769	 { ac_try='test -s conftest$ac_exeext'
26770  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26771  (eval $ac_try) 2>&5
26772  ac_status=$?
26773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774  (exit $ac_status); }; }; then
26775  glibcxx_cv_func___builtin_labs_link=yes
26776else
26777  echo "$as_me: failed program was:" >&5
26778sed 's/^/| /' conftest.$ac_ext >&5
26779
26780glibcxx_cv_func___builtin_labs_link=no
26781fi
26782rm -f conftest.err conftest.$ac_objext \
26783      conftest$ac_exeext conftest.$ac_ext
26784
26785fi
26786
26787    fi
26788    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26789echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26790
26791    if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26792
26793cat >>confdefs.h <<\_ACEOF
26794#define HAVE___BUILTIN_LABS 1
26795_ACEOF
26796
26797    fi
26798
26799  fi
26800
26801
26802
26803  echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26804echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26805  if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26806    if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26807  echo $ECHO_N "(cached) $ECHO_C" >&6
26808else
26809
26810
26811
26812      ac_ext=cc
26813ac_cpp='$CXXCPP $CPPFLAGS'
26814ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26815ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26816ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26817
26818      cat >conftest.$ac_ext <<_ACEOF
26819/* confdefs.h.  */
26820_ACEOF
26821cat confdefs.h >>conftest.$ac_ext
26822cat >>conftest.$ac_ext <<_ACEOF
26823/* end confdefs.h.  */
26824#include <math.h>
26825int
26826main ()
26827{
26828 __builtin_sqrtf(0);
26829  ;
26830  return 0;
26831}
26832_ACEOF
26833rm -f conftest.$ac_objext
26834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835  (eval $ac_compile) 2>conftest.er1
26836  ac_status=$?
26837  grep -v '^ *+' conftest.er1 >conftest.err
26838  rm -f conftest.er1
26839  cat conftest.err >&5
26840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841  (exit $ac_status); } &&
26842	 { ac_try='test -z "$ac_cxx_werror_flag"
26843			 || test ! -s conftest.err'
26844  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845  (eval $ac_try) 2>&5
26846  ac_status=$?
26847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848  (exit $ac_status); }; } &&
26849	 { ac_try='test -s conftest.$ac_objext'
26850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851  (eval $ac_try) 2>&5
26852  ac_status=$?
26853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854  (exit $ac_status); }; }; then
26855  glibcxx_cv_func___builtin_sqrtf_use=yes
26856else
26857  echo "$as_me: failed program was:" >&5
26858sed 's/^/| /' conftest.$ac_ext >&5
26859
26860glibcxx_cv_func___builtin_sqrtf_use=no
26861fi
26862rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26863      ac_ext=c
26864ac_cpp='$CPP $CPPFLAGS'
26865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867ac_compiler_gnu=$ac_cv_c_compiler_gnu
26868
26869
26870fi
26871
26872  fi
26873  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26874echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26875  if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26876    echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26877echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26878    if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26879      if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26880  echo $ECHO_N "(cached) $ECHO_C" >&6
26881else
26882
26883        if test x$gcc_no_link = xyes; then
26884  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26885echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26886   { (exit 1); exit 1; }; }
26887fi
26888cat >conftest.$ac_ext <<_ACEOF
26889/* confdefs.h.  */
26890_ACEOF
26891cat confdefs.h >>conftest.$ac_ext
26892cat >>conftest.$ac_ext <<_ACEOF
26893/* end confdefs.h.  */
26894#include <math.h>
26895int
26896main ()
26897{
26898 __builtin_sqrtf(0);
26899  ;
26900  return 0;
26901}
26902_ACEOF
26903rm -f conftest.$ac_objext conftest$ac_exeext
26904if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26905  (eval $ac_link) 2>conftest.er1
26906  ac_status=$?
26907  grep -v '^ *+' conftest.er1 >conftest.err
26908  rm -f conftest.er1
26909  cat conftest.err >&5
26910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911  (exit $ac_status); } &&
26912	 { ac_try='test -z "$ac_c_werror_flag"
26913			 || test ! -s conftest.err'
26914  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915  (eval $ac_try) 2>&5
26916  ac_status=$?
26917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918  (exit $ac_status); }; } &&
26919	 { ac_try='test -s conftest$ac_exeext'
26920  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921  (eval $ac_try) 2>&5
26922  ac_status=$?
26923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924  (exit $ac_status); }; }; then
26925  glibcxx_cv_func___builtin_sqrtf_link=yes
26926else
26927  echo "$as_me: failed program was:" >&5
26928sed 's/^/| /' conftest.$ac_ext >&5
26929
26930glibcxx_cv_func___builtin_sqrtf_link=no
26931fi
26932rm -f conftest.err conftest.$ac_objext \
26933      conftest$ac_exeext conftest.$ac_ext
26934
26935fi
26936
26937    fi
26938    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26939echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26940
26941    if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26942
26943cat >>confdefs.h <<\_ACEOF
26944#define HAVE___BUILTIN_SQRTF 1
26945_ACEOF
26946
26947    fi
26948
26949  fi
26950
26951
26952  echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26953echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26954  if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26955    if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26956  echo $ECHO_N "(cached) $ECHO_C" >&6
26957else
26958
26959
26960
26961      ac_ext=cc
26962ac_cpp='$CXXCPP $CPPFLAGS'
26963ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26966
26967      cat >conftest.$ac_ext <<_ACEOF
26968/* confdefs.h.  */
26969_ACEOF
26970cat confdefs.h >>conftest.$ac_ext
26971cat >>conftest.$ac_ext <<_ACEOF
26972/* end confdefs.h.  */
26973#include <math.h>
26974int
26975main ()
26976{
26977 __builtin_sqrt(0);
26978  ;
26979  return 0;
26980}
26981_ACEOF
26982rm -f conftest.$ac_objext
26983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26984  (eval $ac_compile) 2>conftest.er1
26985  ac_status=$?
26986  grep -v '^ *+' conftest.er1 >conftest.err
26987  rm -f conftest.er1
26988  cat conftest.err >&5
26989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990  (exit $ac_status); } &&
26991	 { ac_try='test -z "$ac_cxx_werror_flag"
26992			 || test ! -s conftest.err'
26993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26994  (eval $ac_try) 2>&5
26995  ac_status=$?
26996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997  (exit $ac_status); }; } &&
26998	 { ac_try='test -s conftest.$ac_objext'
26999  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000  (eval $ac_try) 2>&5
27001  ac_status=$?
27002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003  (exit $ac_status); }; }; then
27004  glibcxx_cv_func___builtin_sqrt_use=yes
27005else
27006  echo "$as_me: failed program was:" >&5
27007sed 's/^/| /' conftest.$ac_ext >&5
27008
27009glibcxx_cv_func___builtin_sqrt_use=no
27010fi
27011rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27012      ac_ext=c
27013ac_cpp='$CPP $CPPFLAGS'
27014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27016ac_compiler_gnu=$ac_cv_c_compiler_gnu
27017
27018
27019fi
27020
27021  fi
27022  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
27023echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
27024  if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
27025    echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
27026echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
27027    if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
27028      if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
27029  echo $ECHO_N "(cached) $ECHO_C" >&6
27030else
27031
27032        if test x$gcc_no_link = xyes; then
27033  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27034echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27035   { (exit 1); exit 1; }; }
27036fi
27037cat >conftest.$ac_ext <<_ACEOF
27038/* confdefs.h.  */
27039_ACEOF
27040cat confdefs.h >>conftest.$ac_ext
27041cat >>conftest.$ac_ext <<_ACEOF
27042/* end confdefs.h.  */
27043#include <math.h>
27044int
27045main ()
27046{
27047 __builtin_sqrt(0);
27048  ;
27049  return 0;
27050}
27051_ACEOF
27052rm -f conftest.$ac_objext conftest$ac_exeext
27053if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27054  (eval $ac_link) 2>conftest.er1
27055  ac_status=$?
27056  grep -v '^ *+' conftest.er1 >conftest.err
27057  rm -f conftest.er1
27058  cat conftest.err >&5
27059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060  (exit $ac_status); } &&
27061	 { ac_try='test -z "$ac_c_werror_flag"
27062			 || test ! -s conftest.err'
27063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064  (eval $ac_try) 2>&5
27065  ac_status=$?
27066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067  (exit $ac_status); }; } &&
27068	 { ac_try='test -s conftest$ac_exeext'
27069  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070  (eval $ac_try) 2>&5
27071  ac_status=$?
27072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073  (exit $ac_status); }; }; then
27074  glibcxx_cv_func___builtin_sqrt_link=yes
27075else
27076  echo "$as_me: failed program was:" >&5
27077sed 's/^/| /' conftest.$ac_ext >&5
27078
27079glibcxx_cv_func___builtin_sqrt_link=no
27080fi
27081rm -f conftest.err conftest.$ac_objext \
27082      conftest$ac_exeext conftest.$ac_ext
27083
27084fi
27085
27086    fi
27087    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
27088echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
27089
27090    if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
27091
27092cat >>confdefs.h <<\_ACEOF
27093#define HAVE___BUILTIN_SQRT 1
27094_ACEOF
27095
27096    fi
27097
27098  fi
27099
27100
27101  echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
27102echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
27103  if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
27104    if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
27105  echo $ECHO_N "(cached) $ECHO_C" >&6
27106else
27107
27108
27109
27110      ac_ext=cc
27111ac_cpp='$CXXCPP $CPPFLAGS'
27112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27115
27116      cat >conftest.$ac_ext <<_ACEOF
27117/* confdefs.h.  */
27118_ACEOF
27119cat confdefs.h >>conftest.$ac_ext
27120cat >>conftest.$ac_ext <<_ACEOF
27121/* end confdefs.h.  */
27122#include <math.h>
27123int
27124main ()
27125{
27126 __builtin_sqrtl(0);
27127  ;
27128  return 0;
27129}
27130_ACEOF
27131rm -f conftest.$ac_objext
27132if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27133  (eval $ac_compile) 2>conftest.er1
27134  ac_status=$?
27135  grep -v '^ *+' conftest.er1 >conftest.err
27136  rm -f conftest.er1
27137  cat conftest.err >&5
27138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139  (exit $ac_status); } &&
27140	 { ac_try='test -z "$ac_cxx_werror_flag"
27141			 || test ! -s conftest.err'
27142  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143  (eval $ac_try) 2>&5
27144  ac_status=$?
27145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146  (exit $ac_status); }; } &&
27147	 { ac_try='test -s conftest.$ac_objext'
27148  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149  (eval $ac_try) 2>&5
27150  ac_status=$?
27151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152  (exit $ac_status); }; }; then
27153  glibcxx_cv_func___builtin_sqrtl_use=yes
27154else
27155  echo "$as_me: failed program was:" >&5
27156sed 's/^/| /' conftest.$ac_ext >&5
27157
27158glibcxx_cv_func___builtin_sqrtl_use=no
27159fi
27160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27161      ac_ext=c
27162ac_cpp='$CPP $CPPFLAGS'
27163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27165ac_compiler_gnu=$ac_cv_c_compiler_gnu
27166
27167
27168fi
27169
27170  fi
27171  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27172echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27173  if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27174    echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27175echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27176    if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27177      if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27178  echo $ECHO_N "(cached) $ECHO_C" >&6
27179else
27180
27181        if test x$gcc_no_link = xyes; then
27182  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27183echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27184   { (exit 1); exit 1; }; }
27185fi
27186cat >conftest.$ac_ext <<_ACEOF
27187/* confdefs.h.  */
27188_ACEOF
27189cat confdefs.h >>conftest.$ac_ext
27190cat >>conftest.$ac_ext <<_ACEOF
27191/* end confdefs.h.  */
27192#include <math.h>
27193int
27194main ()
27195{
27196 __builtin_sqrtl(0);
27197  ;
27198  return 0;
27199}
27200_ACEOF
27201rm -f conftest.$ac_objext conftest$ac_exeext
27202if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27203  (eval $ac_link) 2>conftest.er1
27204  ac_status=$?
27205  grep -v '^ *+' conftest.er1 >conftest.err
27206  rm -f conftest.er1
27207  cat conftest.err >&5
27208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209  (exit $ac_status); } &&
27210	 { ac_try='test -z "$ac_c_werror_flag"
27211			 || test ! -s conftest.err'
27212  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213  (eval $ac_try) 2>&5
27214  ac_status=$?
27215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216  (exit $ac_status); }; } &&
27217	 { ac_try='test -s conftest$ac_exeext'
27218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219  (eval $ac_try) 2>&5
27220  ac_status=$?
27221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222  (exit $ac_status); }; }; then
27223  glibcxx_cv_func___builtin_sqrtl_link=yes
27224else
27225  echo "$as_me: failed program was:" >&5
27226sed 's/^/| /' conftest.$ac_ext >&5
27227
27228glibcxx_cv_func___builtin_sqrtl_link=no
27229fi
27230rm -f conftest.err conftest.$ac_objext \
27231      conftest$ac_exeext conftest.$ac_ext
27232
27233fi
27234
27235    fi
27236    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27237echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27238
27239    if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27240
27241cat >>confdefs.h <<\_ACEOF
27242#define HAVE___BUILTIN_SQRTL 1
27243_ACEOF
27244
27245    fi
27246
27247  fi
27248
27249
27250
27251  echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27252echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27253  if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27254    if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27255  echo $ECHO_N "(cached) $ECHO_C" >&6
27256else
27257
27258
27259
27260      ac_ext=cc
27261ac_cpp='$CXXCPP $CPPFLAGS'
27262ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27263ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27264ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27265
27266      cat >conftest.$ac_ext <<_ACEOF
27267/* confdefs.h.  */
27268_ACEOF
27269cat confdefs.h >>conftest.$ac_ext
27270cat >>conftest.$ac_ext <<_ACEOF
27271/* end confdefs.h.  */
27272#include <math.h>
27273int
27274main ()
27275{
27276 __builtin_sinf(0);
27277  ;
27278  return 0;
27279}
27280_ACEOF
27281rm -f conftest.$ac_objext
27282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27283  (eval $ac_compile) 2>conftest.er1
27284  ac_status=$?
27285  grep -v '^ *+' conftest.er1 >conftest.err
27286  rm -f conftest.er1
27287  cat conftest.err >&5
27288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289  (exit $ac_status); } &&
27290	 { ac_try='test -z "$ac_cxx_werror_flag"
27291			 || test ! -s conftest.err'
27292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293  (eval $ac_try) 2>&5
27294  ac_status=$?
27295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296  (exit $ac_status); }; } &&
27297	 { ac_try='test -s conftest.$ac_objext'
27298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299  (eval $ac_try) 2>&5
27300  ac_status=$?
27301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302  (exit $ac_status); }; }; then
27303  glibcxx_cv_func___builtin_sinf_use=yes
27304else
27305  echo "$as_me: failed program was:" >&5
27306sed 's/^/| /' conftest.$ac_ext >&5
27307
27308glibcxx_cv_func___builtin_sinf_use=no
27309fi
27310rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27311      ac_ext=c
27312ac_cpp='$CPP $CPPFLAGS'
27313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27315ac_compiler_gnu=$ac_cv_c_compiler_gnu
27316
27317
27318fi
27319
27320  fi
27321  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27322echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27323  if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27324    echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27325echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27326    if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27327      if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27328  echo $ECHO_N "(cached) $ECHO_C" >&6
27329else
27330
27331        if test x$gcc_no_link = xyes; then
27332  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27333echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27334   { (exit 1); exit 1; }; }
27335fi
27336cat >conftest.$ac_ext <<_ACEOF
27337/* confdefs.h.  */
27338_ACEOF
27339cat confdefs.h >>conftest.$ac_ext
27340cat >>conftest.$ac_ext <<_ACEOF
27341/* end confdefs.h.  */
27342#include <math.h>
27343int
27344main ()
27345{
27346 __builtin_sinf(0);
27347  ;
27348  return 0;
27349}
27350_ACEOF
27351rm -f conftest.$ac_objext conftest$ac_exeext
27352if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27353  (eval $ac_link) 2>conftest.er1
27354  ac_status=$?
27355  grep -v '^ *+' conftest.er1 >conftest.err
27356  rm -f conftest.er1
27357  cat conftest.err >&5
27358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359  (exit $ac_status); } &&
27360	 { ac_try='test -z "$ac_c_werror_flag"
27361			 || test ! -s conftest.err'
27362  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363  (eval $ac_try) 2>&5
27364  ac_status=$?
27365  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366  (exit $ac_status); }; } &&
27367	 { ac_try='test -s conftest$ac_exeext'
27368  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369  (eval $ac_try) 2>&5
27370  ac_status=$?
27371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372  (exit $ac_status); }; }; then
27373  glibcxx_cv_func___builtin_sinf_link=yes
27374else
27375  echo "$as_me: failed program was:" >&5
27376sed 's/^/| /' conftest.$ac_ext >&5
27377
27378glibcxx_cv_func___builtin_sinf_link=no
27379fi
27380rm -f conftest.err conftest.$ac_objext \
27381      conftest$ac_exeext conftest.$ac_ext
27382
27383fi
27384
27385    fi
27386    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27387echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27388
27389    if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27390
27391cat >>confdefs.h <<\_ACEOF
27392#define HAVE___BUILTIN_SINF 1
27393_ACEOF
27394
27395    fi
27396
27397  fi
27398
27399
27400  echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27401echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27402  if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27403    if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27404  echo $ECHO_N "(cached) $ECHO_C" >&6
27405else
27406
27407
27408
27409      ac_ext=cc
27410ac_cpp='$CXXCPP $CPPFLAGS'
27411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27414
27415      cat >conftest.$ac_ext <<_ACEOF
27416/* confdefs.h.  */
27417_ACEOF
27418cat confdefs.h >>conftest.$ac_ext
27419cat >>conftest.$ac_ext <<_ACEOF
27420/* end confdefs.h.  */
27421#include <math.h>
27422int
27423main ()
27424{
27425 __builtin_sin(0);
27426  ;
27427  return 0;
27428}
27429_ACEOF
27430rm -f conftest.$ac_objext
27431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27432  (eval $ac_compile) 2>conftest.er1
27433  ac_status=$?
27434  grep -v '^ *+' conftest.er1 >conftest.err
27435  rm -f conftest.er1
27436  cat conftest.err >&5
27437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438  (exit $ac_status); } &&
27439	 { ac_try='test -z "$ac_cxx_werror_flag"
27440			 || test ! -s conftest.err'
27441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442  (eval $ac_try) 2>&5
27443  ac_status=$?
27444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445  (exit $ac_status); }; } &&
27446	 { ac_try='test -s conftest.$ac_objext'
27447  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448  (eval $ac_try) 2>&5
27449  ac_status=$?
27450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451  (exit $ac_status); }; }; then
27452  glibcxx_cv_func___builtin_sin_use=yes
27453else
27454  echo "$as_me: failed program was:" >&5
27455sed 's/^/| /' conftest.$ac_ext >&5
27456
27457glibcxx_cv_func___builtin_sin_use=no
27458fi
27459rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27460      ac_ext=c
27461ac_cpp='$CPP $CPPFLAGS'
27462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27464ac_compiler_gnu=$ac_cv_c_compiler_gnu
27465
27466
27467fi
27468
27469  fi
27470  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27471echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27472  if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27473    echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27474echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27475    if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27476      if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27477  echo $ECHO_N "(cached) $ECHO_C" >&6
27478else
27479
27480        if test x$gcc_no_link = xyes; then
27481  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27482echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27483   { (exit 1); exit 1; }; }
27484fi
27485cat >conftest.$ac_ext <<_ACEOF
27486/* confdefs.h.  */
27487_ACEOF
27488cat confdefs.h >>conftest.$ac_ext
27489cat >>conftest.$ac_ext <<_ACEOF
27490/* end confdefs.h.  */
27491#include <math.h>
27492int
27493main ()
27494{
27495 __builtin_sin(0);
27496  ;
27497  return 0;
27498}
27499_ACEOF
27500rm -f conftest.$ac_objext conftest$ac_exeext
27501if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27502  (eval $ac_link) 2>conftest.er1
27503  ac_status=$?
27504  grep -v '^ *+' conftest.er1 >conftest.err
27505  rm -f conftest.er1
27506  cat conftest.err >&5
27507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508  (exit $ac_status); } &&
27509	 { ac_try='test -z "$ac_c_werror_flag"
27510			 || test ! -s conftest.err'
27511  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27512  (eval $ac_try) 2>&5
27513  ac_status=$?
27514  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27515  (exit $ac_status); }; } &&
27516	 { ac_try='test -s conftest$ac_exeext'
27517  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518  (eval $ac_try) 2>&5
27519  ac_status=$?
27520  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521  (exit $ac_status); }; }; then
27522  glibcxx_cv_func___builtin_sin_link=yes
27523else
27524  echo "$as_me: failed program was:" >&5
27525sed 's/^/| /' conftest.$ac_ext >&5
27526
27527glibcxx_cv_func___builtin_sin_link=no
27528fi
27529rm -f conftest.err conftest.$ac_objext \
27530      conftest$ac_exeext conftest.$ac_ext
27531
27532fi
27533
27534    fi
27535    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27536echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27537
27538    if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27539
27540cat >>confdefs.h <<\_ACEOF
27541#define HAVE___BUILTIN_SIN 1
27542_ACEOF
27543
27544    fi
27545
27546  fi
27547
27548
27549  echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27550echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27551  if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27552    if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27553  echo $ECHO_N "(cached) $ECHO_C" >&6
27554else
27555
27556
27557
27558      ac_ext=cc
27559ac_cpp='$CXXCPP $CPPFLAGS'
27560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27563
27564      cat >conftest.$ac_ext <<_ACEOF
27565/* confdefs.h.  */
27566_ACEOF
27567cat confdefs.h >>conftest.$ac_ext
27568cat >>conftest.$ac_ext <<_ACEOF
27569/* end confdefs.h.  */
27570#include <math.h>
27571int
27572main ()
27573{
27574 __builtin_sinl(0);
27575  ;
27576  return 0;
27577}
27578_ACEOF
27579rm -f conftest.$ac_objext
27580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27581  (eval $ac_compile) 2>conftest.er1
27582  ac_status=$?
27583  grep -v '^ *+' conftest.er1 >conftest.err
27584  rm -f conftest.er1
27585  cat conftest.err >&5
27586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587  (exit $ac_status); } &&
27588	 { ac_try='test -z "$ac_cxx_werror_flag"
27589			 || test ! -s conftest.err'
27590  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27591  (eval $ac_try) 2>&5
27592  ac_status=$?
27593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594  (exit $ac_status); }; } &&
27595	 { ac_try='test -s conftest.$ac_objext'
27596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597  (eval $ac_try) 2>&5
27598  ac_status=$?
27599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600  (exit $ac_status); }; }; then
27601  glibcxx_cv_func___builtin_sinl_use=yes
27602else
27603  echo "$as_me: failed program was:" >&5
27604sed 's/^/| /' conftest.$ac_ext >&5
27605
27606glibcxx_cv_func___builtin_sinl_use=no
27607fi
27608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27609      ac_ext=c
27610ac_cpp='$CPP $CPPFLAGS'
27611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613ac_compiler_gnu=$ac_cv_c_compiler_gnu
27614
27615
27616fi
27617
27618  fi
27619  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27620echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27621  if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27622    echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27623echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27624    if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27625      if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27626  echo $ECHO_N "(cached) $ECHO_C" >&6
27627else
27628
27629        if test x$gcc_no_link = xyes; then
27630  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27631echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27632   { (exit 1); exit 1; }; }
27633fi
27634cat >conftest.$ac_ext <<_ACEOF
27635/* confdefs.h.  */
27636_ACEOF
27637cat confdefs.h >>conftest.$ac_ext
27638cat >>conftest.$ac_ext <<_ACEOF
27639/* end confdefs.h.  */
27640#include <math.h>
27641int
27642main ()
27643{
27644 __builtin_sinl(0);
27645  ;
27646  return 0;
27647}
27648_ACEOF
27649rm -f conftest.$ac_objext conftest$ac_exeext
27650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27651  (eval $ac_link) 2>conftest.er1
27652  ac_status=$?
27653  grep -v '^ *+' conftest.er1 >conftest.err
27654  rm -f conftest.er1
27655  cat conftest.err >&5
27656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657  (exit $ac_status); } &&
27658	 { ac_try='test -z "$ac_c_werror_flag"
27659			 || test ! -s conftest.err'
27660  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661  (eval $ac_try) 2>&5
27662  ac_status=$?
27663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664  (exit $ac_status); }; } &&
27665	 { ac_try='test -s conftest$ac_exeext'
27666  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27667  (eval $ac_try) 2>&5
27668  ac_status=$?
27669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670  (exit $ac_status); }; }; then
27671  glibcxx_cv_func___builtin_sinl_link=yes
27672else
27673  echo "$as_me: failed program was:" >&5
27674sed 's/^/| /' conftest.$ac_ext >&5
27675
27676glibcxx_cv_func___builtin_sinl_link=no
27677fi
27678rm -f conftest.err conftest.$ac_objext \
27679      conftest$ac_exeext conftest.$ac_ext
27680
27681fi
27682
27683    fi
27684    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27685echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27686
27687    if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27688
27689cat >>confdefs.h <<\_ACEOF
27690#define HAVE___BUILTIN_SINL 1
27691_ACEOF
27692
27693    fi
27694
27695  fi
27696
27697
27698
27699  echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27700echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27701  if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27702    if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27703  echo $ECHO_N "(cached) $ECHO_C" >&6
27704else
27705
27706
27707
27708      ac_ext=cc
27709ac_cpp='$CXXCPP $CPPFLAGS'
27710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27713
27714      cat >conftest.$ac_ext <<_ACEOF
27715/* confdefs.h.  */
27716_ACEOF
27717cat confdefs.h >>conftest.$ac_ext
27718cat >>conftest.$ac_ext <<_ACEOF
27719/* end confdefs.h.  */
27720#include <math.h>
27721int
27722main ()
27723{
27724 __builtin_cosf(0);
27725  ;
27726  return 0;
27727}
27728_ACEOF
27729rm -f conftest.$ac_objext
27730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27731  (eval $ac_compile) 2>conftest.er1
27732  ac_status=$?
27733  grep -v '^ *+' conftest.er1 >conftest.err
27734  rm -f conftest.er1
27735  cat conftest.err >&5
27736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737  (exit $ac_status); } &&
27738	 { ac_try='test -z "$ac_cxx_werror_flag"
27739			 || test ! -s conftest.err'
27740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27741  (eval $ac_try) 2>&5
27742  ac_status=$?
27743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27744  (exit $ac_status); }; } &&
27745	 { ac_try='test -s conftest.$ac_objext'
27746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27747  (eval $ac_try) 2>&5
27748  ac_status=$?
27749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750  (exit $ac_status); }; }; then
27751  glibcxx_cv_func___builtin_cosf_use=yes
27752else
27753  echo "$as_me: failed program was:" >&5
27754sed 's/^/| /' conftest.$ac_ext >&5
27755
27756glibcxx_cv_func___builtin_cosf_use=no
27757fi
27758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27759      ac_ext=c
27760ac_cpp='$CPP $CPPFLAGS'
27761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763ac_compiler_gnu=$ac_cv_c_compiler_gnu
27764
27765
27766fi
27767
27768  fi
27769  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27770echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27771  if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27772    echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27773echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27774    if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27775      if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27776  echo $ECHO_N "(cached) $ECHO_C" >&6
27777else
27778
27779        if test x$gcc_no_link = xyes; then
27780  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27781echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27782   { (exit 1); exit 1; }; }
27783fi
27784cat >conftest.$ac_ext <<_ACEOF
27785/* confdefs.h.  */
27786_ACEOF
27787cat confdefs.h >>conftest.$ac_ext
27788cat >>conftest.$ac_ext <<_ACEOF
27789/* end confdefs.h.  */
27790#include <math.h>
27791int
27792main ()
27793{
27794 __builtin_cosf(0);
27795  ;
27796  return 0;
27797}
27798_ACEOF
27799rm -f conftest.$ac_objext conftest$ac_exeext
27800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27801  (eval $ac_link) 2>conftest.er1
27802  ac_status=$?
27803  grep -v '^ *+' conftest.er1 >conftest.err
27804  rm -f conftest.er1
27805  cat conftest.err >&5
27806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807  (exit $ac_status); } &&
27808	 { ac_try='test -z "$ac_c_werror_flag"
27809			 || test ! -s conftest.err'
27810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811  (eval $ac_try) 2>&5
27812  ac_status=$?
27813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814  (exit $ac_status); }; } &&
27815	 { ac_try='test -s conftest$ac_exeext'
27816  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817  (eval $ac_try) 2>&5
27818  ac_status=$?
27819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820  (exit $ac_status); }; }; then
27821  glibcxx_cv_func___builtin_cosf_link=yes
27822else
27823  echo "$as_me: failed program was:" >&5
27824sed 's/^/| /' conftest.$ac_ext >&5
27825
27826glibcxx_cv_func___builtin_cosf_link=no
27827fi
27828rm -f conftest.err conftest.$ac_objext \
27829      conftest$ac_exeext conftest.$ac_ext
27830
27831fi
27832
27833    fi
27834    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27835echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27836
27837    if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27838
27839cat >>confdefs.h <<\_ACEOF
27840#define HAVE___BUILTIN_COSF 1
27841_ACEOF
27842
27843    fi
27844
27845  fi
27846
27847
27848  echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27849echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27850  if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27851    if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27852  echo $ECHO_N "(cached) $ECHO_C" >&6
27853else
27854
27855
27856
27857      ac_ext=cc
27858ac_cpp='$CXXCPP $CPPFLAGS'
27859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27862
27863      cat >conftest.$ac_ext <<_ACEOF
27864/* confdefs.h.  */
27865_ACEOF
27866cat confdefs.h >>conftest.$ac_ext
27867cat >>conftest.$ac_ext <<_ACEOF
27868/* end confdefs.h.  */
27869#include <math.h>
27870int
27871main ()
27872{
27873 __builtin_cos(0);
27874  ;
27875  return 0;
27876}
27877_ACEOF
27878rm -f conftest.$ac_objext
27879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27880  (eval $ac_compile) 2>conftest.er1
27881  ac_status=$?
27882  grep -v '^ *+' conftest.er1 >conftest.err
27883  rm -f conftest.er1
27884  cat conftest.err >&5
27885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886  (exit $ac_status); } &&
27887	 { ac_try='test -z "$ac_cxx_werror_flag"
27888			 || test ! -s conftest.err'
27889  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890  (eval $ac_try) 2>&5
27891  ac_status=$?
27892  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893  (exit $ac_status); }; } &&
27894	 { ac_try='test -s conftest.$ac_objext'
27895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896  (eval $ac_try) 2>&5
27897  ac_status=$?
27898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899  (exit $ac_status); }; }; then
27900  glibcxx_cv_func___builtin_cos_use=yes
27901else
27902  echo "$as_me: failed program was:" >&5
27903sed 's/^/| /' conftest.$ac_ext >&5
27904
27905glibcxx_cv_func___builtin_cos_use=no
27906fi
27907rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27908      ac_ext=c
27909ac_cpp='$CPP $CPPFLAGS'
27910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913
27914
27915fi
27916
27917  fi
27918  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27919echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27920  if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27921    echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27922echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27923    if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27924      if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27925  echo $ECHO_N "(cached) $ECHO_C" >&6
27926else
27927
27928        if test x$gcc_no_link = xyes; then
27929  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27930echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27931   { (exit 1); exit 1; }; }
27932fi
27933cat >conftest.$ac_ext <<_ACEOF
27934/* confdefs.h.  */
27935_ACEOF
27936cat confdefs.h >>conftest.$ac_ext
27937cat >>conftest.$ac_ext <<_ACEOF
27938/* end confdefs.h.  */
27939#include <math.h>
27940int
27941main ()
27942{
27943 __builtin_cos(0);
27944  ;
27945  return 0;
27946}
27947_ACEOF
27948rm -f conftest.$ac_objext conftest$ac_exeext
27949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27950  (eval $ac_link) 2>conftest.er1
27951  ac_status=$?
27952  grep -v '^ *+' conftest.er1 >conftest.err
27953  rm -f conftest.er1
27954  cat conftest.err >&5
27955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956  (exit $ac_status); } &&
27957	 { ac_try='test -z "$ac_c_werror_flag"
27958			 || test ! -s conftest.err'
27959  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960  (eval $ac_try) 2>&5
27961  ac_status=$?
27962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963  (exit $ac_status); }; } &&
27964	 { ac_try='test -s conftest$ac_exeext'
27965  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966  (eval $ac_try) 2>&5
27967  ac_status=$?
27968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969  (exit $ac_status); }; }; then
27970  glibcxx_cv_func___builtin_cos_link=yes
27971else
27972  echo "$as_me: failed program was:" >&5
27973sed 's/^/| /' conftest.$ac_ext >&5
27974
27975glibcxx_cv_func___builtin_cos_link=no
27976fi
27977rm -f conftest.err conftest.$ac_objext \
27978      conftest$ac_exeext conftest.$ac_ext
27979
27980fi
27981
27982    fi
27983    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27984echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27985
27986    if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27987
27988cat >>confdefs.h <<\_ACEOF
27989#define HAVE___BUILTIN_COS 1
27990_ACEOF
27991
27992    fi
27993
27994  fi
27995
27996
27997  echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27998echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27999  if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
28000    if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
28001  echo $ECHO_N "(cached) $ECHO_C" >&6
28002else
28003
28004
28005
28006      ac_ext=cc
28007ac_cpp='$CXXCPP $CPPFLAGS'
28008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28011
28012      cat >conftest.$ac_ext <<_ACEOF
28013/* confdefs.h.  */
28014_ACEOF
28015cat confdefs.h >>conftest.$ac_ext
28016cat >>conftest.$ac_ext <<_ACEOF
28017/* end confdefs.h.  */
28018#include <math.h>
28019int
28020main ()
28021{
28022 __builtin_cosl(0);
28023  ;
28024  return 0;
28025}
28026_ACEOF
28027rm -f conftest.$ac_objext
28028if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28029  (eval $ac_compile) 2>conftest.er1
28030  ac_status=$?
28031  grep -v '^ *+' conftest.er1 >conftest.err
28032  rm -f conftest.er1
28033  cat conftest.err >&5
28034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035  (exit $ac_status); } &&
28036	 { ac_try='test -z "$ac_cxx_werror_flag"
28037			 || test ! -s conftest.err'
28038  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039  (eval $ac_try) 2>&5
28040  ac_status=$?
28041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042  (exit $ac_status); }; } &&
28043	 { ac_try='test -s conftest.$ac_objext'
28044  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28045  (eval $ac_try) 2>&5
28046  ac_status=$?
28047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048  (exit $ac_status); }; }; then
28049  glibcxx_cv_func___builtin_cosl_use=yes
28050else
28051  echo "$as_me: failed program was:" >&5
28052sed 's/^/| /' conftest.$ac_ext >&5
28053
28054glibcxx_cv_func___builtin_cosl_use=no
28055fi
28056rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28057      ac_ext=c
28058ac_cpp='$CPP $CPPFLAGS'
28059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28061ac_compiler_gnu=$ac_cv_c_compiler_gnu
28062
28063
28064fi
28065
28066  fi
28067  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
28068echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
28069  if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
28070    echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
28071echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
28072    if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
28073      if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
28074  echo $ECHO_N "(cached) $ECHO_C" >&6
28075else
28076
28077        if test x$gcc_no_link = xyes; then
28078  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28079echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28080   { (exit 1); exit 1; }; }
28081fi
28082cat >conftest.$ac_ext <<_ACEOF
28083/* confdefs.h.  */
28084_ACEOF
28085cat confdefs.h >>conftest.$ac_ext
28086cat >>conftest.$ac_ext <<_ACEOF
28087/* end confdefs.h.  */
28088#include <math.h>
28089int
28090main ()
28091{
28092 __builtin_cosl(0);
28093  ;
28094  return 0;
28095}
28096_ACEOF
28097rm -f conftest.$ac_objext conftest$ac_exeext
28098if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28099  (eval $ac_link) 2>conftest.er1
28100  ac_status=$?
28101  grep -v '^ *+' conftest.er1 >conftest.err
28102  rm -f conftest.er1
28103  cat conftest.err >&5
28104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105  (exit $ac_status); } &&
28106	 { ac_try='test -z "$ac_c_werror_flag"
28107			 || test ! -s conftest.err'
28108  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28109  (eval $ac_try) 2>&5
28110  ac_status=$?
28111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112  (exit $ac_status); }; } &&
28113	 { ac_try='test -s conftest$ac_exeext'
28114  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115  (eval $ac_try) 2>&5
28116  ac_status=$?
28117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118  (exit $ac_status); }; }; then
28119  glibcxx_cv_func___builtin_cosl_link=yes
28120else
28121  echo "$as_me: failed program was:" >&5
28122sed 's/^/| /' conftest.$ac_ext >&5
28123
28124glibcxx_cv_func___builtin_cosl_link=no
28125fi
28126rm -f conftest.err conftest.$ac_objext \
28127      conftest$ac_exeext conftest.$ac_ext
28128
28129fi
28130
28131    fi
28132    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
28133echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
28134
28135    if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
28136
28137cat >>confdefs.h <<\_ACEOF
28138#define HAVE___BUILTIN_COSL 1
28139_ACEOF
28140
28141    fi
28142
28143  fi
28144
28145
28146
28147
28148echo "$as_me:$LINENO: checking for main in -lm" >&5
28149echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28150if test "${ac_cv_lib_m_main+set}" = set; then
28151  echo $ECHO_N "(cached) $ECHO_C" >&6
28152else
28153  ac_check_lib_save_LIBS=$LIBS
28154LIBS="-lm  $LIBS"
28155if test x$gcc_no_link = xyes; then
28156  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28157echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28158   { (exit 1); exit 1; }; }
28159fi
28160cat >conftest.$ac_ext <<_ACEOF
28161/* confdefs.h.  */
28162_ACEOF
28163cat confdefs.h >>conftest.$ac_ext
28164cat >>conftest.$ac_ext <<_ACEOF
28165/* end confdefs.h.  */
28166
28167
28168int
28169main ()
28170{
28171main ();
28172  ;
28173  return 0;
28174}
28175_ACEOF
28176rm -f conftest.$ac_objext conftest$ac_exeext
28177if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28178  (eval $ac_link) 2>conftest.er1
28179  ac_status=$?
28180  grep -v '^ *+' conftest.er1 >conftest.err
28181  rm -f conftest.er1
28182  cat conftest.err >&5
28183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184  (exit $ac_status); } &&
28185	 { ac_try='test -z "$ac_c_werror_flag"
28186			 || test ! -s conftest.err'
28187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28188  (eval $ac_try) 2>&5
28189  ac_status=$?
28190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191  (exit $ac_status); }; } &&
28192	 { ac_try='test -s conftest$ac_exeext'
28193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194  (eval $ac_try) 2>&5
28195  ac_status=$?
28196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197  (exit $ac_status); }; }; then
28198  ac_cv_lib_m_main=yes
28199else
28200  echo "$as_me: failed program was:" >&5
28201sed 's/^/| /' conftest.$ac_ext >&5
28202
28203ac_cv_lib_m_main=no
28204fi
28205rm -f conftest.err conftest.$ac_objext \
28206      conftest$ac_exeext conftest.$ac_ext
28207LIBS=$ac_check_lib_save_LIBS
28208fi
28209echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28210echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28211if test $ac_cv_lib_m_main = yes; then
28212  cat >>confdefs.h <<_ACEOF
28213#define HAVE_LIBM 1
28214_ACEOF
28215
28216  LIBS="-lm $LIBS"
28217
28218fi
28219
28220
28221for ac_func in copysignf
28222do
28223as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28224echo "$as_me:$LINENO: checking for $ac_func" >&5
28225echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28226if eval "test \"\${$as_ac_var+set}\" = set"; then
28227  echo $ECHO_N "(cached) $ECHO_C" >&6
28228else
28229  if test x$gcc_no_link = xyes; then
28230  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28231echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28232   { (exit 1); exit 1; }; }
28233fi
28234cat >conftest.$ac_ext <<_ACEOF
28235/* confdefs.h.  */
28236_ACEOF
28237cat confdefs.h >>conftest.$ac_ext
28238cat >>conftest.$ac_ext <<_ACEOF
28239/* end confdefs.h.  */
28240/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28241   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28242#define $ac_func innocuous_$ac_func
28243
28244/* System header to define __stub macros and hopefully few prototypes,
28245    which can conflict with char $ac_func (); below.
28246    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28247    <limits.h> exists even on freestanding compilers.  */
28248
28249#ifdef __STDC__
28250# include <limits.h>
28251#else
28252# include <assert.h>
28253#endif
28254
28255#undef $ac_func
28256
28257/* Override any gcc2 internal prototype to avoid an error.  */
28258#ifdef __cplusplus
28259extern "C"
28260{
28261#endif
28262/* We use char because int might match the return type of a gcc2
28263   builtin and then its argument prototype would still apply.  */
28264char $ac_func ();
28265/* The GNU C library defines this for functions which it implements
28266    to always fail with ENOSYS.  Some functions are actually named
28267    something starting with __ and the normal name is an alias.  */
28268#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28269choke me
28270#else
28271char (*f) () = $ac_func;
28272#endif
28273#ifdef __cplusplus
28274}
28275#endif
28276
28277int
28278main ()
28279{
28280return f != $ac_func;
28281  ;
28282  return 0;
28283}
28284_ACEOF
28285rm -f conftest.$ac_objext conftest$ac_exeext
28286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28287  (eval $ac_link) 2>conftest.er1
28288  ac_status=$?
28289  grep -v '^ *+' conftest.er1 >conftest.err
28290  rm -f conftest.er1
28291  cat conftest.err >&5
28292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293  (exit $ac_status); } &&
28294	 { ac_try='test -z "$ac_c_werror_flag"
28295			 || test ! -s conftest.err'
28296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28297  (eval $ac_try) 2>&5
28298  ac_status=$?
28299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300  (exit $ac_status); }; } &&
28301	 { ac_try='test -s conftest$ac_exeext'
28302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28303  (eval $ac_try) 2>&5
28304  ac_status=$?
28305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306  (exit $ac_status); }; }; then
28307  eval "$as_ac_var=yes"
28308else
28309  echo "$as_me: failed program was:" >&5
28310sed 's/^/| /' conftest.$ac_ext >&5
28311
28312eval "$as_ac_var=no"
28313fi
28314rm -f conftest.err conftest.$ac_objext \
28315      conftest$ac_exeext conftest.$ac_ext
28316fi
28317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28318echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28319if test `eval echo '${'$as_ac_var'}'` = yes; then
28320  cat >>confdefs.h <<_ACEOF
28321#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28322_ACEOF
28323
28324else
28325  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28326fi
28327done
28328
28329
28330
28331for ac_func in __signbit
28332do
28333as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28334echo "$as_me:$LINENO: checking for $ac_func" >&5
28335echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28336if eval "test \"\${$as_ac_var+set}\" = set"; then
28337  echo $ECHO_N "(cached) $ECHO_C" >&6
28338else
28339  if test x$gcc_no_link = xyes; then
28340  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28341echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28342   { (exit 1); exit 1; }; }
28343fi
28344cat >conftest.$ac_ext <<_ACEOF
28345/* confdefs.h.  */
28346_ACEOF
28347cat confdefs.h >>conftest.$ac_ext
28348cat >>conftest.$ac_ext <<_ACEOF
28349/* end confdefs.h.  */
28350/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28351   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28352#define $ac_func innocuous_$ac_func
28353
28354/* System header to define __stub macros and hopefully few prototypes,
28355    which can conflict with char $ac_func (); below.
28356    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28357    <limits.h> exists even on freestanding compilers.  */
28358
28359#ifdef __STDC__
28360# include <limits.h>
28361#else
28362# include <assert.h>
28363#endif
28364
28365#undef $ac_func
28366
28367/* Override any gcc2 internal prototype to avoid an error.  */
28368#ifdef __cplusplus
28369extern "C"
28370{
28371#endif
28372/* We use char because int might match the return type of a gcc2
28373   builtin and then its argument prototype would still apply.  */
28374char $ac_func ();
28375/* The GNU C library defines this for functions which it implements
28376    to always fail with ENOSYS.  Some functions are actually named
28377    something starting with __ and the normal name is an alias.  */
28378#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28379choke me
28380#else
28381char (*f) () = $ac_func;
28382#endif
28383#ifdef __cplusplus
28384}
28385#endif
28386
28387int
28388main ()
28389{
28390return f != $ac_func;
28391  ;
28392  return 0;
28393}
28394_ACEOF
28395rm -f conftest.$ac_objext conftest$ac_exeext
28396if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28397  (eval $ac_link) 2>conftest.er1
28398  ac_status=$?
28399  grep -v '^ *+' conftest.er1 >conftest.err
28400  rm -f conftest.er1
28401  cat conftest.err >&5
28402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403  (exit $ac_status); } &&
28404	 { ac_try='test -z "$ac_c_werror_flag"
28405			 || test ! -s conftest.err'
28406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407  (eval $ac_try) 2>&5
28408  ac_status=$?
28409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410  (exit $ac_status); }; } &&
28411	 { ac_try='test -s conftest$ac_exeext'
28412  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28413  (eval $ac_try) 2>&5
28414  ac_status=$?
28415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416  (exit $ac_status); }; }; then
28417  eval "$as_ac_var=yes"
28418else
28419  echo "$as_me: failed program was:" >&5
28420sed 's/^/| /' conftest.$ac_ext >&5
28421
28422eval "$as_ac_var=no"
28423fi
28424rm -f conftest.err conftest.$ac_objext \
28425      conftest$ac_exeext conftest.$ac_ext
28426fi
28427echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28428echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28429if test `eval echo '${'$as_ac_var'}'` = yes; then
28430  cat >>confdefs.h <<_ACEOF
28431#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28432_ACEOF
28433
28434else
28435  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28436fi
28437done
28438
28439
28440
28441for ac_func in __signbitf
28442do
28443as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28444echo "$as_me:$LINENO: checking for $ac_func" >&5
28445echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28446if eval "test \"\${$as_ac_var+set}\" = set"; then
28447  echo $ECHO_N "(cached) $ECHO_C" >&6
28448else
28449  if test x$gcc_no_link = xyes; then
28450  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28451echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28452   { (exit 1); exit 1; }; }
28453fi
28454cat >conftest.$ac_ext <<_ACEOF
28455/* confdefs.h.  */
28456_ACEOF
28457cat confdefs.h >>conftest.$ac_ext
28458cat >>conftest.$ac_ext <<_ACEOF
28459/* end confdefs.h.  */
28460/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28461   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28462#define $ac_func innocuous_$ac_func
28463
28464/* System header to define __stub macros and hopefully few prototypes,
28465    which can conflict with char $ac_func (); below.
28466    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28467    <limits.h> exists even on freestanding compilers.  */
28468
28469#ifdef __STDC__
28470# include <limits.h>
28471#else
28472# include <assert.h>
28473#endif
28474
28475#undef $ac_func
28476
28477/* Override any gcc2 internal prototype to avoid an error.  */
28478#ifdef __cplusplus
28479extern "C"
28480{
28481#endif
28482/* We use char because int might match the return type of a gcc2
28483   builtin and then its argument prototype would still apply.  */
28484char $ac_func ();
28485/* The GNU C library defines this for functions which it implements
28486    to always fail with ENOSYS.  Some functions are actually named
28487    something starting with __ and the normal name is an alias.  */
28488#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28489choke me
28490#else
28491char (*f) () = $ac_func;
28492#endif
28493#ifdef __cplusplus
28494}
28495#endif
28496
28497int
28498main ()
28499{
28500return f != $ac_func;
28501  ;
28502  return 0;
28503}
28504_ACEOF
28505rm -f conftest.$ac_objext conftest$ac_exeext
28506if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28507  (eval $ac_link) 2>conftest.er1
28508  ac_status=$?
28509  grep -v '^ *+' conftest.er1 >conftest.err
28510  rm -f conftest.er1
28511  cat conftest.err >&5
28512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513  (exit $ac_status); } &&
28514	 { ac_try='test -z "$ac_c_werror_flag"
28515			 || test ! -s conftest.err'
28516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517  (eval $ac_try) 2>&5
28518  ac_status=$?
28519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520  (exit $ac_status); }; } &&
28521	 { ac_try='test -s conftest$ac_exeext'
28522  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28523  (eval $ac_try) 2>&5
28524  ac_status=$?
28525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526  (exit $ac_status); }; }; then
28527  eval "$as_ac_var=yes"
28528else
28529  echo "$as_me: failed program was:" >&5
28530sed 's/^/| /' conftest.$ac_ext >&5
28531
28532eval "$as_ac_var=no"
28533fi
28534rm -f conftest.err conftest.$ac_objext \
28535      conftest$ac_exeext conftest.$ac_ext
28536fi
28537echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28538echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28539if test `eval echo '${'$as_ac_var'}'` = yes; then
28540  cat >>confdefs.h <<_ACEOF
28541#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28542_ACEOF
28543
28544else
28545  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28546fi
28547done
28548
28549
28550          if test x$ac_cv_func_copysignl = x"yes"; then
28551
28552for ac_func in __signbitl
28553do
28554as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28555echo "$as_me:$LINENO: checking for $ac_func" >&5
28556echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28557if eval "test \"\${$as_ac_var+set}\" = set"; then
28558  echo $ECHO_N "(cached) $ECHO_C" >&6
28559else
28560  if test x$gcc_no_link = xyes; then
28561  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28562echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28563   { (exit 1); exit 1; }; }
28564fi
28565cat >conftest.$ac_ext <<_ACEOF
28566/* confdefs.h.  */
28567_ACEOF
28568cat confdefs.h >>conftest.$ac_ext
28569cat >>conftest.$ac_ext <<_ACEOF
28570/* end confdefs.h.  */
28571/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28572   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28573#define $ac_func innocuous_$ac_func
28574
28575/* System header to define __stub macros and hopefully few prototypes,
28576    which can conflict with char $ac_func (); below.
28577    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28578    <limits.h> exists even on freestanding compilers.  */
28579
28580#ifdef __STDC__
28581# include <limits.h>
28582#else
28583# include <assert.h>
28584#endif
28585
28586#undef $ac_func
28587
28588/* Override any gcc2 internal prototype to avoid an error.  */
28589#ifdef __cplusplus
28590extern "C"
28591{
28592#endif
28593/* We use char because int might match the return type of a gcc2
28594   builtin and then its argument prototype would still apply.  */
28595char $ac_func ();
28596/* The GNU C library defines this for functions which it implements
28597    to always fail with ENOSYS.  Some functions are actually named
28598    something starting with __ and the normal name is an alias.  */
28599#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28600choke me
28601#else
28602char (*f) () = $ac_func;
28603#endif
28604#ifdef __cplusplus
28605}
28606#endif
28607
28608int
28609main ()
28610{
28611return f != $ac_func;
28612  ;
28613  return 0;
28614}
28615_ACEOF
28616rm -f conftest.$ac_objext conftest$ac_exeext
28617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618  (eval $ac_link) 2>conftest.er1
28619  ac_status=$?
28620  grep -v '^ *+' conftest.er1 >conftest.err
28621  rm -f conftest.er1
28622  cat conftest.err >&5
28623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624  (exit $ac_status); } &&
28625	 { ac_try='test -z "$ac_c_werror_flag"
28626			 || test ! -s conftest.err'
28627  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628  (eval $ac_try) 2>&5
28629  ac_status=$?
28630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631  (exit $ac_status); }; } &&
28632	 { ac_try='test -s conftest$ac_exeext'
28633  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28634  (eval $ac_try) 2>&5
28635  ac_status=$?
28636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637  (exit $ac_status); }; }; then
28638  eval "$as_ac_var=yes"
28639else
28640  echo "$as_me: failed program was:" >&5
28641sed 's/^/| /' conftest.$ac_ext >&5
28642
28643eval "$as_ac_var=no"
28644fi
28645rm -f conftest.err conftest.$ac_objext \
28646      conftest$ac_exeext conftest.$ac_ext
28647fi
28648echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28649echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28650if test `eval echo '${'$as_ac_var'}'` = yes; then
28651  cat >>confdefs.h <<_ACEOF
28652#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28653_ACEOF
28654
28655else
28656  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28657fi
28658done
28659
28660  fi
28661
28662  # Used in libmath/Makefile.am.
28663  if test -n "$LIBMATHOBJS"; then
28664    need_libmath=yes
28665  fi
28666
28667
28668
28669
28670  enable_iconv=no
28671  # Only continue checking if the ISO C99 headers exist and support is on.
28672  if test x"$enable_wchar_t" = xyes; then
28673
28674    # Use iconv for wchar_t to char conversions. As such, check for
28675    # X/Open Portability Guide, version 2 features (XPG2).
28676    if test "${ac_cv_header_iconv_h+set}" = set; then
28677  echo "$as_me:$LINENO: checking for iconv.h" >&5
28678echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28679if test "${ac_cv_header_iconv_h+set}" = set; then
28680  echo $ECHO_N "(cached) $ECHO_C" >&6
28681fi
28682echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28683echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28684else
28685  # Is the header compilable?
28686echo "$as_me:$LINENO: checking iconv.h usability" >&5
28687echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28688cat >conftest.$ac_ext <<_ACEOF
28689/* confdefs.h.  */
28690_ACEOF
28691cat confdefs.h >>conftest.$ac_ext
28692cat >>conftest.$ac_ext <<_ACEOF
28693/* end confdefs.h.  */
28694$ac_includes_default
28695#include <iconv.h>
28696_ACEOF
28697rm -f conftest.$ac_objext
28698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28699  (eval $ac_compile) 2>conftest.er1
28700  ac_status=$?
28701  grep -v '^ *+' conftest.er1 >conftest.err
28702  rm -f conftest.er1
28703  cat conftest.err >&5
28704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705  (exit $ac_status); } &&
28706	 { ac_try='test -z "$ac_c_werror_flag"
28707			 || test ! -s conftest.err'
28708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709  (eval $ac_try) 2>&5
28710  ac_status=$?
28711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712  (exit $ac_status); }; } &&
28713	 { ac_try='test -s conftest.$ac_objext'
28714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715  (eval $ac_try) 2>&5
28716  ac_status=$?
28717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718  (exit $ac_status); }; }; then
28719  ac_header_compiler=yes
28720else
28721  echo "$as_me: failed program was:" >&5
28722sed 's/^/| /' conftest.$ac_ext >&5
28723
28724ac_header_compiler=no
28725fi
28726rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28727echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28728echo "${ECHO_T}$ac_header_compiler" >&6
28729
28730# Is the header present?
28731echo "$as_me:$LINENO: checking iconv.h presence" >&5
28732echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28733cat >conftest.$ac_ext <<_ACEOF
28734/* confdefs.h.  */
28735_ACEOF
28736cat confdefs.h >>conftest.$ac_ext
28737cat >>conftest.$ac_ext <<_ACEOF
28738/* end confdefs.h.  */
28739#include <iconv.h>
28740_ACEOF
28741if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28742  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28743  ac_status=$?
28744  grep -v '^ *+' conftest.er1 >conftest.err
28745  rm -f conftest.er1
28746  cat conftest.err >&5
28747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748  (exit $ac_status); } >/dev/null; then
28749  if test -s conftest.err; then
28750    ac_cpp_err=$ac_c_preproc_warn_flag
28751    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28752  else
28753    ac_cpp_err=
28754  fi
28755else
28756  ac_cpp_err=yes
28757fi
28758if test -z "$ac_cpp_err"; then
28759  ac_header_preproc=yes
28760else
28761  echo "$as_me: failed program was:" >&5
28762sed 's/^/| /' conftest.$ac_ext >&5
28763
28764  ac_header_preproc=no
28765fi
28766rm -f conftest.err conftest.$ac_ext
28767echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28768echo "${ECHO_T}$ac_header_preproc" >&6
28769
28770# So?  What about this header?
28771case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28772  yes:no: )
28773    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28774echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28775    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28776echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28777    ac_header_preproc=yes
28778    ;;
28779  no:yes:* )
28780    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28781echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28782    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28783echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28784    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28785echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28786    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28787echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28788    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28789echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28790    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28791echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28792    (
28793      cat <<\_ASBOX
28794## ----------------------------------------- ##
28795## Report this to the package-unused lists.  ##
28796## ----------------------------------------- ##
28797_ASBOX
28798    ) |
28799      sed "s/^/$as_me: WARNING:     /" >&2
28800    ;;
28801esac
28802echo "$as_me:$LINENO: checking for iconv.h" >&5
28803echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28804if test "${ac_cv_header_iconv_h+set}" = set; then
28805  echo $ECHO_N "(cached) $ECHO_C" >&6
28806else
28807  ac_cv_header_iconv_h=$ac_header_preproc
28808fi
28809echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28810echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28811
28812fi
28813if test $ac_cv_header_iconv_h = yes; then
28814  ac_has_iconv_h=yes
28815else
28816  ac_has_iconv_h=no
28817fi
28818
28819
28820    if test "${ac_cv_header_langinfo_h+set}" = set; then
28821  echo "$as_me:$LINENO: checking for langinfo.h" >&5
28822echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28823if test "${ac_cv_header_langinfo_h+set}" = set; then
28824  echo $ECHO_N "(cached) $ECHO_C" >&6
28825fi
28826echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28827echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28828else
28829  # Is the header compilable?
28830echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28831echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28832cat >conftest.$ac_ext <<_ACEOF
28833/* confdefs.h.  */
28834_ACEOF
28835cat confdefs.h >>conftest.$ac_ext
28836cat >>conftest.$ac_ext <<_ACEOF
28837/* end confdefs.h.  */
28838$ac_includes_default
28839#include <langinfo.h>
28840_ACEOF
28841rm -f conftest.$ac_objext
28842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28843  (eval $ac_compile) 2>conftest.er1
28844  ac_status=$?
28845  grep -v '^ *+' conftest.er1 >conftest.err
28846  rm -f conftest.er1
28847  cat conftest.err >&5
28848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849  (exit $ac_status); } &&
28850	 { ac_try='test -z "$ac_c_werror_flag"
28851			 || test ! -s conftest.err'
28852  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853  (eval $ac_try) 2>&5
28854  ac_status=$?
28855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856  (exit $ac_status); }; } &&
28857	 { ac_try='test -s conftest.$ac_objext'
28858  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859  (eval $ac_try) 2>&5
28860  ac_status=$?
28861  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862  (exit $ac_status); }; }; then
28863  ac_header_compiler=yes
28864else
28865  echo "$as_me: failed program was:" >&5
28866sed 's/^/| /' conftest.$ac_ext >&5
28867
28868ac_header_compiler=no
28869fi
28870rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28871echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28872echo "${ECHO_T}$ac_header_compiler" >&6
28873
28874# Is the header present?
28875echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28876echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28877cat >conftest.$ac_ext <<_ACEOF
28878/* confdefs.h.  */
28879_ACEOF
28880cat confdefs.h >>conftest.$ac_ext
28881cat >>conftest.$ac_ext <<_ACEOF
28882/* end confdefs.h.  */
28883#include <langinfo.h>
28884_ACEOF
28885if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28886  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28887  ac_status=$?
28888  grep -v '^ *+' conftest.er1 >conftest.err
28889  rm -f conftest.er1
28890  cat conftest.err >&5
28891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892  (exit $ac_status); } >/dev/null; then
28893  if test -s conftest.err; then
28894    ac_cpp_err=$ac_c_preproc_warn_flag
28895    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28896  else
28897    ac_cpp_err=
28898  fi
28899else
28900  ac_cpp_err=yes
28901fi
28902if test -z "$ac_cpp_err"; then
28903  ac_header_preproc=yes
28904else
28905  echo "$as_me: failed program was:" >&5
28906sed 's/^/| /' conftest.$ac_ext >&5
28907
28908  ac_header_preproc=no
28909fi
28910rm -f conftest.err conftest.$ac_ext
28911echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28912echo "${ECHO_T}$ac_header_preproc" >&6
28913
28914# So?  What about this header?
28915case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28916  yes:no: )
28917    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28918echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28919    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28920echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28921    ac_header_preproc=yes
28922    ;;
28923  no:yes:* )
28924    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28925echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28926    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28927echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28928    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28929echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28930    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28931echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28932    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28933echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28934    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28935echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28936    (
28937      cat <<\_ASBOX
28938## ----------------------------------------- ##
28939## Report this to the package-unused lists.  ##
28940## ----------------------------------------- ##
28941_ASBOX
28942    ) |
28943      sed "s/^/$as_me: WARNING:     /" >&2
28944    ;;
28945esac
28946echo "$as_me:$LINENO: checking for langinfo.h" >&5
28947echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28948if test "${ac_cv_header_langinfo_h+set}" = set; then
28949  echo $ECHO_N "(cached) $ECHO_C" >&6
28950else
28951  ac_cv_header_langinfo_h=$ac_header_preproc
28952fi
28953echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28954echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28955
28956fi
28957if test $ac_cv_header_langinfo_h = yes; then
28958  ac_has_langinfo_h=yes
28959else
28960  ac_has_langinfo_h=no
28961fi
28962
28963
28964
28965    # Check for existence of libiconv.a providing XPG2 wchar_t support.
28966    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28967echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28968if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28969  echo $ECHO_N "(cached) $ECHO_C" >&6
28970else
28971  ac_check_lib_save_LIBS=$LIBS
28972LIBS="-liconv  $LIBS"
28973if test x$gcc_no_link = xyes; then
28974  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28975echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28976   { (exit 1); exit 1; }; }
28977fi
28978cat >conftest.$ac_ext <<_ACEOF
28979/* confdefs.h.  */
28980_ACEOF
28981cat confdefs.h >>conftest.$ac_ext
28982cat >>conftest.$ac_ext <<_ACEOF
28983/* end confdefs.h.  */
28984
28985/* Override any gcc2 internal prototype to avoid an error.  */
28986#ifdef __cplusplus
28987extern "C"
28988#endif
28989/* We use char because int might match the return type of a gcc2
28990   builtin and then its argument prototype would still apply.  */
28991char iconv ();
28992int
28993main ()
28994{
28995iconv ();
28996  ;
28997  return 0;
28998}
28999_ACEOF
29000rm -f conftest.$ac_objext conftest$ac_exeext
29001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29002  (eval $ac_link) 2>conftest.er1
29003  ac_status=$?
29004  grep -v '^ *+' conftest.er1 >conftest.err
29005  rm -f conftest.er1
29006  cat conftest.err >&5
29007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008  (exit $ac_status); } &&
29009	 { ac_try='test -z "$ac_c_werror_flag"
29010			 || test ! -s conftest.err'
29011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012  (eval $ac_try) 2>&5
29013  ac_status=$?
29014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015  (exit $ac_status); }; } &&
29016	 { ac_try='test -s conftest$ac_exeext'
29017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018  (eval $ac_try) 2>&5
29019  ac_status=$?
29020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021  (exit $ac_status); }; }; then
29022  ac_cv_lib_iconv_iconv=yes
29023else
29024  echo "$as_me: failed program was:" >&5
29025sed 's/^/| /' conftest.$ac_ext >&5
29026
29027ac_cv_lib_iconv_iconv=no
29028fi
29029rm -f conftest.err conftest.$ac_objext \
29030      conftest$ac_exeext conftest.$ac_ext
29031LIBS=$ac_check_lib_save_LIBS
29032fi
29033echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29034echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29035if test $ac_cv_lib_iconv_iconv = yes; then
29036  LIBICONV="-liconv"
29037fi
29038
29039    ac_save_LIBS="$LIBS"
29040    LIBS="$LIBS $LIBICONV"
29041
29042
29043
29044
29045
29046
29047for ac_func in iconv_open iconv_close iconv nl_langinfo
29048do
29049as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29050echo "$as_me:$LINENO: checking for $ac_func" >&5
29051echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29052if eval "test \"\${$as_ac_var+set}\" = set"; then
29053  echo $ECHO_N "(cached) $ECHO_C" >&6
29054else
29055  if test x$gcc_no_link = xyes; then
29056  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29057echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29058   { (exit 1); exit 1; }; }
29059fi
29060cat >conftest.$ac_ext <<_ACEOF
29061/* confdefs.h.  */
29062_ACEOF
29063cat confdefs.h >>conftest.$ac_ext
29064cat >>conftest.$ac_ext <<_ACEOF
29065/* end confdefs.h.  */
29066/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29067   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29068#define $ac_func innocuous_$ac_func
29069
29070/* System header to define __stub macros and hopefully few prototypes,
29071    which can conflict with char $ac_func (); below.
29072    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29073    <limits.h> exists even on freestanding compilers.  */
29074
29075#ifdef __STDC__
29076# include <limits.h>
29077#else
29078# include <assert.h>
29079#endif
29080
29081#undef $ac_func
29082
29083/* Override any gcc2 internal prototype to avoid an error.  */
29084#ifdef __cplusplus
29085extern "C"
29086{
29087#endif
29088/* We use char because int might match the return type of a gcc2
29089   builtin and then its argument prototype would still apply.  */
29090char $ac_func ();
29091/* The GNU C library defines this for functions which it implements
29092    to always fail with ENOSYS.  Some functions are actually named
29093    something starting with __ and the normal name is an alias.  */
29094#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29095choke me
29096#else
29097char (*f) () = $ac_func;
29098#endif
29099#ifdef __cplusplus
29100}
29101#endif
29102
29103int
29104main ()
29105{
29106return f != $ac_func;
29107  ;
29108  return 0;
29109}
29110_ACEOF
29111rm -f conftest.$ac_objext conftest$ac_exeext
29112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29113  (eval $ac_link) 2>conftest.er1
29114  ac_status=$?
29115  grep -v '^ *+' conftest.er1 >conftest.err
29116  rm -f conftest.er1
29117  cat conftest.err >&5
29118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119  (exit $ac_status); } &&
29120	 { ac_try='test -z "$ac_c_werror_flag"
29121			 || test ! -s conftest.err'
29122  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123  (eval $ac_try) 2>&5
29124  ac_status=$?
29125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126  (exit $ac_status); }; } &&
29127	 { ac_try='test -s conftest$ac_exeext'
29128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129  (eval $ac_try) 2>&5
29130  ac_status=$?
29131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132  (exit $ac_status); }; }; then
29133  eval "$as_ac_var=yes"
29134else
29135  echo "$as_me: failed program was:" >&5
29136sed 's/^/| /' conftest.$ac_ext >&5
29137
29138eval "$as_ac_var=no"
29139fi
29140rm -f conftest.err conftest.$ac_objext \
29141      conftest$ac_exeext conftest.$ac_ext
29142fi
29143echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29144echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29145if test `eval echo '${'$as_ac_var'}'` = yes; then
29146  cat >>confdefs.h <<_ACEOF
29147#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29148_ACEOF
29149 ac_XPG2funcs=yes
29150else
29151  ac_XPG2funcs=no
29152fi
29153done
29154
29155
29156    LIBS="$ac_save_LIBS"
29157
29158    if test x"$ac_has_iconv_h" = xyes &&
29159       test x"$ac_has_langinfo_h" = xyes &&
29160       test x"$ac_XPG2funcs" = xyes;
29161    then
29162
29163cat >>confdefs.h <<\_ACEOF
29164#define _GLIBCXX_USE_ICONV 1
29165_ACEOF
29166
29167      enable_iconv=yes
29168    fi
29169  fi
29170  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
29171echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
29172  echo "$as_me:$LINENO: result: $enable_iconv" >&5
29173echo "${ECHO_T}$enable_iconv" >&6
29174
29175
29176  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29177  ac_save_CXXFLAGS="$CXXFLAGS"
29178  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29179
29180
29181  echo "$as_me:$LINENO: checking for strtold declaration" >&5
29182echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29183  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29184    if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29185  echo $ECHO_N "(cached) $ECHO_C" >&6
29186else
29187
29188
29189
29190      ac_ext=cc
29191ac_cpp='$CXXCPP $CPPFLAGS'
29192ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29195
29196      cat >conftest.$ac_ext <<_ACEOF
29197/* confdefs.h.  */
29198_ACEOF
29199cat confdefs.h >>conftest.$ac_ext
29200cat >>conftest.$ac_ext <<_ACEOF
29201/* end confdefs.h.  */
29202#include <stdlib.h>
29203int
29204main ()
29205{
29206 strtold(0, 0);
29207  ;
29208  return 0;
29209}
29210_ACEOF
29211rm -f conftest.$ac_objext
29212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29213  (eval $ac_compile) 2>conftest.er1
29214  ac_status=$?
29215  grep -v '^ *+' conftest.er1 >conftest.err
29216  rm -f conftest.er1
29217  cat conftest.err >&5
29218  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219  (exit $ac_status); } &&
29220	 { ac_try='test -z "$ac_cxx_werror_flag"
29221			 || test ! -s conftest.err'
29222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223  (eval $ac_try) 2>&5
29224  ac_status=$?
29225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226  (exit $ac_status); }; } &&
29227	 { ac_try='test -s conftest.$ac_objext'
29228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29229  (eval $ac_try) 2>&5
29230  ac_status=$?
29231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232  (exit $ac_status); }; }; then
29233  glibcxx_cv_func_strtold_use=yes
29234else
29235  echo "$as_me: failed program was:" >&5
29236sed 's/^/| /' conftest.$ac_ext >&5
29237
29238glibcxx_cv_func_strtold_use=no
29239fi
29240rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29241      ac_ext=c
29242ac_cpp='$CPP $CPPFLAGS'
29243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29245ac_compiler_gnu=$ac_cv_c_compiler_gnu
29246
29247
29248fi
29249
29250  fi
29251  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29252echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29253  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29254
29255for ac_func in strtold
29256do
29257as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29258echo "$as_me:$LINENO: checking for $ac_func" >&5
29259echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29260if eval "test \"\${$as_ac_var+set}\" = set"; then
29261  echo $ECHO_N "(cached) $ECHO_C" >&6
29262else
29263  if test x$gcc_no_link = xyes; then
29264  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29265echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29266   { (exit 1); exit 1; }; }
29267fi
29268cat >conftest.$ac_ext <<_ACEOF
29269/* confdefs.h.  */
29270_ACEOF
29271cat confdefs.h >>conftest.$ac_ext
29272cat >>conftest.$ac_ext <<_ACEOF
29273/* end confdefs.h.  */
29274/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29275   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29276#define $ac_func innocuous_$ac_func
29277
29278/* System header to define __stub macros and hopefully few prototypes,
29279    which can conflict with char $ac_func (); below.
29280    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29281    <limits.h> exists even on freestanding compilers.  */
29282
29283#ifdef __STDC__
29284# include <limits.h>
29285#else
29286# include <assert.h>
29287#endif
29288
29289#undef $ac_func
29290
29291/* Override any gcc2 internal prototype to avoid an error.  */
29292#ifdef __cplusplus
29293extern "C"
29294{
29295#endif
29296/* We use char because int might match the return type of a gcc2
29297   builtin and then its argument prototype would still apply.  */
29298char $ac_func ();
29299/* The GNU C library defines this for functions which it implements
29300    to always fail with ENOSYS.  Some functions are actually named
29301    something starting with __ and the normal name is an alias.  */
29302#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29303choke me
29304#else
29305char (*f) () = $ac_func;
29306#endif
29307#ifdef __cplusplus
29308}
29309#endif
29310
29311int
29312main ()
29313{
29314return f != $ac_func;
29315  ;
29316  return 0;
29317}
29318_ACEOF
29319rm -f conftest.$ac_objext conftest$ac_exeext
29320if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29321  (eval $ac_link) 2>conftest.er1
29322  ac_status=$?
29323  grep -v '^ *+' conftest.er1 >conftest.err
29324  rm -f conftest.er1
29325  cat conftest.err >&5
29326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327  (exit $ac_status); } &&
29328	 { ac_try='test -z "$ac_c_werror_flag"
29329			 || test ! -s conftest.err'
29330  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331  (eval $ac_try) 2>&5
29332  ac_status=$?
29333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334  (exit $ac_status); }; } &&
29335	 { ac_try='test -s conftest$ac_exeext'
29336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29337  (eval $ac_try) 2>&5
29338  ac_status=$?
29339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340  (exit $ac_status); }; }; then
29341  eval "$as_ac_var=yes"
29342else
29343  echo "$as_me: failed program was:" >&5
29344sed 's/^/| /' conftest.$ac_ext >&5
29345
29346eval "$as_ac_var=no"
29347fi
29348rm -f conftest.err conftest.$ac_objext \
29349      conftest$ac_exeext conftest.$ac_ext
29350fi
29351echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29352echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29353if test `eval echo '${'$as_ac_var'}'` = yes; then
29354  cat >>confdefs.h <<_ACEOF
29355#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29356_ACEOF
29357
29358fi
29359done
29360
29361  fi
29362
29363
29364
29365
29366
29367  echo "$as_me:$LINENO: checking for strtof declaration" >&5
29368echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29369  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29370    if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29371  echo $ECHO_N "(cached) $ECHO_C" >&6
29372else
29373
29374
29375
29376      ac_ext=cc
29377ac_cpp='$CXXCPP $CPPFLAGS'
29378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29381
29382      cat >conftest.$ac_ext <<_ACEOF
29383/* confdefs.h.  */
29384_ACEOF
29385cat confdefs.h >>conftest.$ac_ext
29386cat >>conftest.$ac_ext <<_ACEOF
29387/* end confdefs.h.  */
29388#include <stdlib.h>
29389int
29390main ()
29391{
29392 strtof(0, 0);
29393  ;
29394  return 0;
29395}
29396_ACEOF
29397rm -f conftest.$ac_objext
29398if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399  (eval $ac_compile) 2>conftest.er1
29400  ac_status=$?
29401  grep -v '^ *+' conftest.er1 >conftest.err
29402  rm -f conftest.er1
29403  cat conftest.err >&5
29404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405  (exit $ac_status); } &&
29406	 { ac_try='test -z "$ac_cxx_werror_flag"
29407			 || test ! -s conftest.err'
29408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409  (eval $ac_try) 2>&5
29410  ac_status=$?
29411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412  (exit $ac_status); }; } &&
29413	 { ac_try='test -s conftest.$ac_objext'
29414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415  (eval $ac_try) 2>&5
29416  ac_status=$?
29417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418  (exit $ac_status); }; }; then
29419  glibcxx_cv_func_strtof_use=yes
29420else
29421  echo "$as_me: failed program was:" >&5
29422sed 's/^/| /' conftest.$ac_ext >&5
29423
29424glibcxx_cv_func_strtof_use=no
29425fi
29426rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29427      ac_ext=c
29428ac_cpp='$CPP $CPPFLAGS'
29429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29431ac_compiler_gnu=$ac_cv_c_compiler_gnu
29432
29433
29434fi
29435
29436  fi
29437  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29438echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29439  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29440
29441for ac_func in strtof
29442do
29443as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29444echo "$as_me:$LINENO: checking for $ac_func" >&5
29445echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29446if eval "test \"\${$as_ac_var+set}\" = set"; then
29447  echo $ECHO_N "(cached) $ECHO_C" >&6
29448else
29449  if test x$gcc_no_link = xyes; then
29450  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29451echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29452   { (exit 1); exit 1; }; }
29453fi
29454cat >conftest.$ac_ext <<_ACEOF
29455/* confdefs.h.  */
29456_ACEOF
29457cat confdefs.h >>conftest.$ac_ext
29458cat >>conftest.$ac_ext <<_ACEOF
29459/* end confdefs.h.  */
29460/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29461   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29462#define $ac_func innocuous_$ac_func
29463
29464/* System header to define __stub macros and hopefully few prototypes,
29465    which can conflict with char $ac_func (); below.
29466    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29467    <limits.h> exists even on freestanding compilers.  */
29468
29469#ifdef __STDC__
29470# include <limits.h>
29471#else
29472# include <assert.h>
29473#endif
29474
29475#undef $ac_func
29476
29477/* Override any gcc2 internal prototype to avoid an error.  */
29478#ifdef __cplusplus
29479extern "C"
29480{
29481#endif
29482/* We use char because int might match the return type of a gcc2
29483   builtin and then its argument prototype would still apply.  */
29484char $ac_func ();
29485/* The GNU C library defines this for functions which it implements
29486    to always fail with ENOSYS.  Some functions are actually named
29487    something starting with __ and the normal name is an alias.  */
29488#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29489choke me
29490#else
29491char (*f) () = $ac_func;
29492#endif
29493#ifdef __cplusplus
29494}
29495#endif
29496
29497int
29498main ()
29499{
29500return f != $ac_func;
29501  ;
29502  return 0;
29503}
29504_ACEOF
29505rm -f conftest.$ac_objext conftest$ac_exeext
29506if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29507  (eval $ac_link) 2>conftest.er1
29508  ac_status=$?
29509  grep -v '^ *+' conftest.er1 >conftest.err
29510  rm -f conftest.er1
29511  cat conftest.err >&5
29512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513  (exit $ac_status); } &&
29514	 { ac_try='test -z "$ac_c_werror_flag"
29515			 || test ! -s conftest.err'
29516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517  (eval $ac_try) 2>&5
29518  ac_status=$?
29519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520  (exit $ac_status); }; } &&
29521	 { ac_try='test -s conftest$ac_exeext'
29522  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523  (eval $ac_try) 2>&5
29524  ac_status=$?
29525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526  (exit $ac_status); }; }; then
29527  eval "$as_ac_var=yes"
29528else
29529  echo "$as_me: failed program was:" >&5
29530sed 's/^/| /' conftest.$ac_ext >&5
29531
29532eval "$as_ac_var=no"
29533fi
29534rm -f conftest.err conftest.$ac_objext \
29535      conftest$ac_exeext conftest.$ac_ext
29536fi
29537echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29538echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29539if test `eval echo '${'$as_ac_var'}'` = yes; then
29540  cat >>confdefs.h <<_ACEOF
29541#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29542_ACEOF
29543
29544fi
29545done
29546
29547  fi
29548
29549
29550
29551
29552
29553  CXXFLAGS="$ac_save_CXXFLAGS"
29554
29555
29556  # For showmanyc_helper().
29557
29558
29559for ac_header in sys/ioctl.h sys/filio.h
29560do
29561as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29562if eval "test \"\${$as_ac_Header+set}\" = set"; then
29563  echo "$as_me:$LINENO: checking for $ac_header" >&5
29564echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29565if eval "test \"\${$as_ac_Header+set}\" = set"; then
29566  echo $ECHO_N "(cached) $ECHO_C" >&6
29567fi
29568echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29569echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29570else
29571  # Is the header compilable?
29572echo "$as_me:$LINENO: checking $ac_header usability" >&5
29573echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29574cat >conftest.$ac_ext <<_ACEOF
29575/* confdefs.h.  */
29576_ACEOF
29577cat confdefs.h >>conftest.$ac_ext
29578cat >>conftest.$ac_ext <<_ACEOF
29579/* end confdefs.h.  */
29580$ac_includes_default
29581#include <$ac_header>
29582_ACEOF
29583rm -f conftest.$ac_objext
29584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29585  (eval $ac_compile) 2>conftest.er1
29586  ac_status=$?
29587  grep -v '^ *+' conftest.er1 >conftest.err
29588  rm -f conftest.er1
29589  cat conftest.err >&5
29590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591  (exit $ac_status); } &&
29592	 { ac_try='test -z "$ac_c_werror_flag"
29593			 || test ! -s conftest.err'
29594  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595  (eval $ac_try) 2>&5
29596  ac_status=$?
29597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598  (exit $ac_status); }; } &&
29599	 { ac_try='test -s conftest.$ac_objext'
29600  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29601  (eval $ac_try) 2>&5
29602  ac_status=$?
29603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604  (exit $ac_status); }; }; then
29605  ac_header_compiler=yes
29606else
29607  echo "$as_me: failed program was:" >&5
29608sed 's/^/| /' conftest.$ac_ext >&5
29609
29610ac_header_compiler=no
29611fi
29612rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29613echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29614echo "${ECHO_T}$ac_header_compiler" >&6
29615
29616# Is the header present?
29617echo "$as_me:$LINENO: checking $ac_header presence" >&5
29618echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29619cat >conftest.$ac_ext <<_ACEOF
29620/* confdefs.h.  */
29621_ACEOF
29622cat confdefs.h >>conftest.$ac_ext
29623cat >>conftest.$ac_ext <<_ACEOF
29624/* end confdefs.h.  */
29625#include <$ac_header>
29626_ACEOF
29627if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29628  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29629  ac_status=$?
29630  grep -v '^ *+' conftest.er1 >conftest.err
29631  rm -f conftest.er1
29632  cat conftest.err >&5
29633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634  (exit $ac_status); } >/dev/null; then
29635  if test -s conftest.err; then
29636    ac_cpp_err=$ac_c_preproc_warn_flag
29637    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29638  else
29639    ac_cpp_err=
29640  fi
29641else
29642  ac_cpp_err=yes
29643fi
29644if test -z "$ac_cpp_err"; then
29645  ac_header_preproc=yes
29646else
29647  echo "$as_me: failed program was:" >&5
29648sed 's/^/| /' conftest.$ac_ext >&5
29649
29650  ac_header_preproc=no
29651fi
29652rm -f conftest.err conftest.$ac_ext
29653echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29654echo "${ECHO_T}$ac_header_preproc" >&6
29655
29656# So?  What about this header?
29657case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29658  yes:no: )
29659    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29660echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29661    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29662echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29663    ac_header_preproc=yes
29664    ;;
29665  no:yes:* )
29666    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29667echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29668    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29669echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29670    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29671echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29672    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29673echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29674    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29675echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29676    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29677echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29678    (
29679      cat <<\_ASBOX
29680## ----------------------------------------- ##
29681## Report this to the package-unused lists.  ##
29682## ----------------------------------------- ##
29683_ASBOX
29684    ) |
29685      sed "s/^/$as_me: WARNING:     /" >&2
29686    ;;
29687esac
29688echo "$as_me:$LINENO: checking for $ac_header" >&5
29689echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29690if eval "test \"\${$as_ac_Header+set}\" = set"; then
29691  echo $ECHO_N "(cached) $ECHO_C" >&6
29692else
29693  eval "$as_ac_Header=\$ac_header_preproc"
29694fi
29695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29696echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29697
29698fi
29699if test `eval echo '${'$as_ac_Header'}'` = yes; then
29700  cat >>confdefs.h <<_ACEOF
29701#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29702_ACEOF
29703
29704fi
29705
29706done
29707
29708
29709  echo "$as_me:$LINENO: checking for poll" >&5
29710echo $ECHO_N "checking for poll... $ECHO_C" >&6
29711  if test "${glibcxx_cv_POLL+set}" = set; then
29712  echo $ECHO_N "(cached) $ECHO_C" >&6
29713else
29714
29715    if test x$gcc_no_link = xyes; then
29716  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29717echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29718   { (exit 1); exit 1; }; }
29719fi
29720cat >conftest.$ac_ext <<_ACEOF
29721/* confdefs.h.  */
29722_ACEOF
29723cat confdefs.h >>conftest.$ac_ext
29724cat >>conftest.$ac_ext <<_ACEOF
29725/* end confdefs.h.  */
29726#include <poll.h>
29727int
29728main ()
29729{
29730struct pollfd pfd[1];
29731       pfd[0].events = POLLIN;
29732       poll(pfd, 1, 0);
29733  ;
29734  return 0;
29735}
29736_ACEOF
29737rm -f conftest.$ac_objext conftest$ac_exeext
29738if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29739  (eval $ac_link) 2>conftest.er1
29740  ac_status=$?
29741  grep -v '^ *+' conftest.er1 >conftest.err
29742  rm -f conftest.er1
29743  cat conftest.err >&5
29744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29745  (exit $ac_status); } &&
29746	 { ac_try='test -z "$ac_c_werror_flag"
29747			 || test ! -s conftest.err'
29748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749  (eval $ac_try) 2>&5
29750  ac_status=$?
29751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752  (exit $ac_status); }; } &&
29753	 { ac_try='test -s conftest$ac_exeext'
29754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755  (eval $ac_try) 2>&5
29756  ac_status=$?
29757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758  (exit $ac_status); }; }; then
29759  glibcxx_cv_POLL=yes
29760else
29761  echo "$as_me: failed program was:" >&5
29762sed 's/^/| /' conftest.$ac_ext >&5
29763
29764glibcxx_cv_POLL=no
29765fi
29766rm -f conftest.err conftest.$ac_objext \
29767      conftest$ac_exeext conftest.$ac_ext
29768
29769fi
29770
29771  if test $glibcxx_cv_POLL = yes; then
29772
29773cat >>confdefs.h <<\_ACEOF
29774#define HAVE_POLL 1
29775_ACEOF
29776
29777  fi
29778  echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29779echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29780
29781
29782  echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29783echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29784  if test "${glibcxx_cv_S_ISREG+set}" = set; then
29785  echo $ECHO_N "(cached) $ECHO_C" >&6
29786else
29787
29788    if test x$gcc_no_link = xyes; then
29789  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29790echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29791   { (exit 1); exit 1; }; }
29792fi
29793cat >conftest.$ac_ext <<_ACEOF
29794/* confdefs.h.  */
29795_ACEOF
29796cat confdefs.h >>conftest.$ac_ext
29797cat >>conftest.$ac_ext <<_ACEOF
29798/* end confdefs.h.  */
29799#include <sys/stat.h>
29800int
29801main ()
29802{
29803struct stat buffer;
29804       fstat(0, &buffer);
29805       S_ISREG(buffer.st_mode);
29806  ;
29807  return 0;
29808}
29809_ACEOF
29810rm -f conftest.$ac_objext conftest$ac_exeext
29811if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29812  (eval $ac_link) 2>conftest.er1
29813  ac_status=$?
29814  grep -v '^ *+' conftest.er1 >conftest.err
29815  rm -f conftest.er1
29816  cat conftest.err >&5
29817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818  (exit $ac_status); } &&
29819	 { ac_try='test -z "$ac_c_werror_flag"
29820			 || test ! -s conftest.err'
29821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29822  (eval $ac_try) 2>&5
29823  ac_status=$?
29824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29825  (exit $ac_status); }; } &&
29826	 { ac_try='test -s conftest$ac_exeext'
29827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29828  (eval $ac_try) 2>&5
29829  ac_status=$?
29830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831  (exit $ac_status); }; }; then
29832  glibcxx_cv_S_ISREG=yes
29833else
29834  echo "$as_me: failed program was:" >&5
29835sed 's/^/| /' conftest.$ac_ext >&5
29836
29837glibcxx_cv_S_ISREG=no
29838fi
29839rm -f conftest.err conftest.$ac_objext \
29840      conftest$ac_exeext conftest.$ac_ext
29841
29842fi
29843
29844  if test "${glibcxx_cv_S_IFREG+set}" = set; then
29845  echo $ECHO_N "(cached) $ECHO_C" >&6
29846else
29847
29848    if test x$gcc_no_link = xyes; then
29849  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29850echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29851   { (exit 1); exit 1; }; }
29852fi
29853cat >conftest.$ac_ext <<_ACEOF
29854/* confdefs.h.  */
29855_ACEOF
29856cat confdefs.h >>conftest.$ac_ext
29857cat >>conftest.$ac_ext <<_ACEOF
29858/* end confdefs.h.  */
29859#include <sys/stat.h>
29860int
29861main ()
29862{
29863struct stat buffer;
29864       fstat(0, &buffer);
29865       S_IFREG & buffer.st_mode;
29866  ;
29867  return 0;
29868}
29869_ACEOF
29870rm -f conftest.$ac_objext conftest$ac_exeext
29871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872  (eval $ac_link) 2>conftest.er1
29873  ac_status=$?
29874  grep -v '^ *+' conftest.er1 >conftest.err
29875  rm -f conftest.er1
29876  cat conftest.err >&5
29877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878  (exit $ac_status); } &&
29879	 { ac_try='test -z "$ac_c_werror_flag"
29880			 || test ! -s conftest.err'
29881  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882  (eval $ac_try) 2>&5
29883  ac_status=$?
29884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885  (exit $ac_status); }; } &&
29886	 { ac_try='test -s conftest$ac_exeext'
29887  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888  (eval $ac_try) 2>&5
29889  ac_status=$?
29890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891  (exit $ac_status); }; }; then
29892  glibcxx_cv_S_IFREG=yes
29893else
29894  echo "$as_me: failed program was:" >&5
29895sed 's/^/| /' conftest.$ac_ext >&5
29896
29897glibcxx_cv_S_IFREG=no
29898fi
29899rm -f conftest.err conftest.$ac_objext \
29900      conftest$ac_exeext conftest.$ac_ext
29901
29902fi
29903
29904  res=no
29905  if test $glibcxx_cv_S_ISREG = yes; then
29906
29907cat >>confdefs.h <<\_ACEOF
29908#define HAVE_S_ISREG 1
29909_ACEOF
29910
29911    res=S_ISREG
29912  elif test $glibcxx_cv_S_IFREG = yes; then
29913
29914cat >>confdefs.h <<\_ACEOF
29915#define HAVE_S_IFREG 1
29916_ACEOF
29917
29918    res=S_IFREG
29919  fi
29920  echo "$as_me:$LINENO: result: $res" >&5
29921echo "${ECHO_T}$res" >&6
29922
29923
29924  # For xsputn_2().
29925
29926for ac_header in sys/uio.h
29927do
29928as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29929if eval "test \"\${$as_ac_Header+set}\" = set"; then
29930  echo "$as_me:$LINENO: checking for $ac_header" >&5
29931echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29932if eval "test \"\${$as_ac_Header+set}\" = set"; then
29933  echo $ECHO_N "(cached) $ECHO_C" >&6
29934fi
29935echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29936echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29937else
29938  # Is the header compilable?
29939echo "$as_me:$LINENO: checking $ac_header usability" >&5
29940echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29941cat >conftest.$ac_ext <<_ACEOF
29942/* confdefs.h.  */
29943_ACEOF
29944cat confdefs.h >>conftest.$ac_ext
29945cat >>conftest.$ac_ext <<_ACEOF
29946/* end confdefs.h.  */
29947$ac_includes_default
29948#include <$ac_header>
29949_ACEOF
29950rm -f conftest.$ac_objext
29951if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29952  (eval $ac_compile) 2>conftest.er1
29953  ac_status=$?
29954  grep -v '^ *+' conftest.er1 >conftest.err
29955  rm -f conftest.er1
29956  cat conftest.err >&5
29957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958  (exit $ac_status); } &&
29959	 { ac_try='test -z "$ac_c_werror_flag"
29960			 || test ! -s conftest.err'
29961  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29962  (eval $ac_try) 2>&5
29963  ac_status=$?
29964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965  (exit $ac_status); }; } &&
29966	 { ac_try='test -s conftest.$ac_objext'
29967  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968  (eval $ac_try) 2>&5
29969  ac_status=$?
29970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971  (exit $ac_status); }; }; then
29972  ac_header_compiler=yes
29973else
29974  echo "$as_me: failed program was:" >&5
29975sed 's/^/| /' conftest.$ac_ext >&5
29976
29977ac_header_compiler=no
29978fi
29979rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29980echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29981echo "${ECHO_T}$ac_header_compiler" >&6
29982
29983# Is the header present?
29984echo "$as_me:$LINENO: checking $ac_header presence" >&5
29985echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29986cat >conftest.$ac_ext <<_ACEOF
29987/* confdefs.h.  */
29988_ACEOF
29989cat confdefs.h >>conftest.$ac_ext
29990cat >>conftest.$ac_ext <<_ACEOF
29991/* end confdefs.h.  */
29992#include <$ac_header>
29993_ACEOF
29994if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29995  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29996  ac_status=$?
29997  grep -v '^ *+' conftest.er1 >conftest.err
29998  rm -f conftest.er1
29999  cat conftest.err >&5
30000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001  (exit $ac_status); } >/dev/null; then
30002  if test -s conftest.err; then
30003    ac_cpp_err=$ac_c_preproc_warn_flag
30004    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30005  else
30006    ac_cpp_err=
30007  fi
30008else
30009  ac_cpp_err=yes
30010fi
30011if test -z "$ac_cpp_err"; then
30012  ac_header_preproc=yes
30013else
30014  echo "$as_me: failed program was:" >&5
30015sed 's/^/| /' conftest.$ac_ext >&5
30016
30017  ac_header_preproc=no
30018fi
30019rm -f conftest.err conftest.$ac_ext
30020echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30021echo "${ECHO_T}$ac_header_preproc" >&6
30022
30023# So?  What about this header?
30024case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30025  yes:no: )
30026    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30027echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30028    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30029echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30030    ac_header_preproc=yes
30031    ;;
30032  no:yes:* )
30033    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30034echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30035    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30036echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30037    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30038echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30039    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30040echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30041    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30042echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30043    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30044echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30045    (
30046      cat <<\_ASBOX
30047## ----------------------------------------- ##
30048## Report this to the package-unused lists.  ##
30049## ----------------------------------------- ##
30050_ASBOX
30051    ) |
30052      sed "s/^/$as_me: WARNING:     /" >&2
30053    ;;
30054esac
30055echo "$as_me:$LINENO: checking for $ac_header" >&5
30056echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30057if eval "test \"\${$as_ac_Header+set}\" = set"; then
30058  echo $ECHO_N "(cached) $ECHO_C" >&6
30059else
30060  eval "$as_ac_Header=\$ac_header_preproc"
30061fi
30062echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30063echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30064
30065fi
30066if test `eval echo '${'$as_ac_Header'}'` = yes; then
30067  cat >>confdefs.h <<_ACEOF
30068#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30069_ACEOF
30070
30071fi
30072
30073done
30074
30075
30076  echo "$as_me:$LINENO: checking for writev" >&5
30077echo $ECHO_N "checking for writev... $ECHO_C" >&6
30078  if test "${glibcxx_cv_WRITEV+set}" = set; then
30079  echo $ECHO_N "(cached) $ECHO_C" >&6
30080else
30081
30082    if test x$gcc_no_link = xyes; then
30083  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30084echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30085   { (exit 1); exit 1; }; }
30086fi
30087cat >conftest.$ac_ext <<_ACEOF
30088/* confdefs.h.  */
30089_ACEOF
30090cat confdefs.h >>conftest.$ac_ext
30091cat >>conftest.$ac_ext <<_ACEOF
30092/* end confdefs.h.  */
30093#include <sys/uio.h>
30094int
30095main ()
30096{
30097struct iovec iov[2];
30098       writev(0, iov, 0);
30099  ;
30100  return 0;
30101}
30102_ACEOF
30103rm -f conftest.$ac_objext conftest$ac_exeext
30104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30105  (eval $ac_link) 2>conftest.er1
30106  ac_status=$?
30107  grep -v '^ *+' conftest.er1 >conftest.err
30108  rm -f conftest.er1
30109  cat conftest.err >&5
30110  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111  (exit $ac_status); } &&
30112	 { ac_try='test -z "$ac_c_werror_flag"
30113			 || test ! -s conftest.err'
30114  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115  (eval $ac_try) 2>&5
30116  ac_status=$?
30117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118  (exit $ac_status); }; } &&
30119	 { ac_try='test -s conftest$ac_exeext'
30120  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121  (eval $ac_try) 2>&5
30122  ac_status=$?
30123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124  (exit $ac_status); }; }; then
30125  glibcxx_cv_WRITEV=yes
30126else
30127  echo "$as_me: failed program was:" >&5
30128sed 's/^/| /' conftest.$ac_ext >&5
30129
30130glibcxx_cv_WRITEV=no
30131fi
30132rm -f conftest.err conftest.$ac_objext \
30133      conftest$ac_exeext conftest.$ac_ext
30134
30135fi
30136
30137  if test $glibcxx_cv_WRITEV = yes; then
30138
30139cat >>confdefs.h <<\_ACEOF
30140#define HAVE_WRITEV 1
30141_ACEOF
30142
30143  fi
30144  echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
30145echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
30146
30147
30148  # For the __streamoff_base_type typedef.
30149
30150  echo "$as_me:$LINENO: checking for int64_t" >&5
30151echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
30152  if test "${glibcxx_cv_INT64_T+set}" = set; then
30153  echo $ECHO_N "(cached) $ECHO_C" >&6
30154else
30155
30156    cat >conftest.$ac_ext <<_ACEOF
30157/* confdefs.h.  */
30158_ACEOF
30159cat confdefs.h >>conftest.$ac_ext
30160cat >>conftest.$ac_ext <<_ACEOF
30161/* end confdefs.h.  */
30162#include <stdint.h>
30163int
30164main ()
30165{
30166int64_t var;
30167  ;
30168  return 0;
30169}
30170_ACEOF
30171rm -f conftest.$ac_objext
30172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30173  (eval $ac_compile) 2>conftest.er1
30174  ac_status=$?
30175  grep -v '^ *+' conftest.er1 >conftest.err
30176  rm -f conftest.er1
30177  cat conftest.err >&5
30178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179  (exit $ac_status); } &&
30180	 { ac_try='test -z "$ac_c_werror_flag"
30181			 || test ! -s conftest.err'
30182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30183  (eval $ac_try) 2>&5
30184  ac_status=$?
30185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186  (exit $ac_status); }; } &&
30187	 { ac_try='test -s conftest.$ac_objext'
30188  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189  (eval $ac_try) 2>&5
30190  ac_status=$?
30191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192  (exit $ac_status); }; }; then
30193  glibcxx_cv_INT64_T=yes
30194else
30195  echo "$as_me: failed program was:" >&5
30196sed 's/^/| /' conftest.$ac_ext >&5
30197
30198glibcxx_cv_INT64_T=no
30199fi
30200rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30201
30202fi
30203
30204  if test $glibcxx_cv_INT64_T = yes; then
30205
30206cat >>confdefs.h <<\_ACEOF
30207#define HAVE_INT64_T 1
30208_ACEOF
30209
30210  fi
30211  echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30212echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30213
30214
30215  # For LFS support.
30216
30217
30218
30219  ac_ext=cc
30220ac_cpp='$CXXCPP $CPPFLAGS'
30221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30224
30225  ac_save_CXXFLAGS="$CXXFLAGS"
30226  CXXFLAGS="$CXXFLAGS -fno-exceptions"
30227  echo "$as_me:$LINENO: checking for LFS support" >&5
30228echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30229  if test "${glibcxx_cv_LFS+set}" = set; then
30230  echo $ECHO_N "(cached) $ECHO_C" >&6
30231else
30232
30233    if test x$gcc_no_link = xyes; then
30234  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30235echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30236   { (exit 1); exit 1; }; }
30237fi
30238cat >conftest.$ac_ext <<_ACEOF
30239/* confdefs.h.  */
30240_ACEOF
30241cat confdefs.h >>conftest.$ac_ext
30242cat >>conftest.$ac_ext <<_ACEOF
30243/* end confdefs.h.  */
30244#include <unistd.h>
30245       #include <stdio.h>
30246       #include <sys/stat.h>
30247
30248int
30249main ()
30250{
30251FILE* fp;
30252       fopen64("t", "w");
30253       fseeko64(fp, 0, SEEK_CUR);
30254       ftello64(fp);
30255       lseek64(1, 0, SEEK_CUR);
30256       struct stat64 buf;
30257       fstat64(1, &buf);
30258  ;
30259  return 0;
30260}
30261_ACEOF
30262rm -f conftest.$ac_objext conftest$ac_exeext
30263if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30264  (eval $ac_link) 2>conftest.er1
30265  ac_status=$?
30266  grep -v '^ *+' conftest.er1 >conftest.err
30267  rm -f conftest.er1
30268  cat conftest.err >&5
30269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270  (exit $ac_status); } &&
30271	 { ac_try='test -z "$ac_cxx_werror_flag"
30272			 || test ! -s conftest.err'
30273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274  (eval $ac_try) 2>&5
30275  ac_status=$?
30276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277  (exit $ac_status); }; } &&
30278	 { ac_try='test -s conftest$ac_exeext'
30279  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280  (eval $ac_try) 2>&5
30281  ac_status=$?
30282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283  (exit $ac_status); }; }; then
30284  glibcxx_cv_LFS=yes
30285else
30286  echo "$as_me: failed program was:" >&5
30287sed 's/^/| /' conftest.$ac_ext >&5
30288
30289glibcxx_cv_LFS=no
30290fi
30291rm -f conftest.err conftest.$ac_objext \
30292      conftest$ac_exeext conftest.$ac_ext
30293
30294fi
30295
30296  if test $glibcxx_cv_LFS = yes; then
30297
30298cat >>confdefs.h <<\_ACEOF
30299#define _GLIBCXX_USE_LFS 1
30300_ACEOF
30301
30302  fi
30303  echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30304echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30305  CXXFLAGS="$ac_save_CXXFLAGS"
30306  ac_ext=c
30307ac_cpp='$CPP $CPPFLAGS'
30308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30310ac_compiler_gnu=$ac_cv_c_compiler_gnu
30311
30312
30313
30314  # For C99 support to TR1.
30315
30316
30317
30318
30319  ac_ext=cc
30320ac_cpp='$CXXCPP $CPPFLAGS'
30321ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30324
30325
30326  # Check for the existence of <complex.h> complex math functions used
30327  # by tr1/complex.
30328
30329for ac_header in complex.h
30330do
30331as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30332if eval "test \"\${$as_ac_Header+set}\" = set"; then
30333  echo "$as_me:$LINENO: checking for $ac_header" >&5
30334echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30335if eval "test \"\${$as_ac_Header+set}\" = set"; then
30336  echo $ECHO_N "(cached) $ECHO_C" >&6
30337fi
30338echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30339echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30340else
30341  # Is the header compilable?
30342echo "$as_me:$LINENO: checking $ac_header usability" >&5
30343echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30344cat >conftest.$ac_ext <<_ACEOF
30345/* confdefs.h.  */
30346_ACEOF
30347cat confdefs.h >>conftest.$ac_ext
30348cat >>conftest.$ac_ext <<_ACEOF
30349/* end confdefs.h.  */
30350$ac_includes_default
30351#include <$ac_header>
30352_ACEOF
30353rm -f conftest.$ac_objext
30354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30355  (eval $ac_compile) 2>conftest.er1
30356  ac_status=$?
30357  grep -v '^ *+' conftest.er1 >conftest.err
30358  rm -f conftest.er1
30359  cat conftest.err >&5
30360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361  (exit $ac_status); } &&
30362	 { ac_try='test -z "$ac_cxx_werror_flag"
30363			 || test ! -s conftest.err'
30364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30365  (eval $ac_try) 2>&5
30366  ac_status=$?
30367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368  (exit $ac_status); }; } &&
30369	 { ac_try='test -s conftest.$ac_objext'
30370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371  (eval $ac_try) 2>&5
30372  ac_status=$?
30373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374  (exit $ac_status); }; }; then
30375  ac_header_compiler=yes
30376else
30377  echo "$as_me: failed program was:" >&5
30378sed 's/^/| /' conftest.$ac_ext >&5
30379
30380ac_header_compiler=no
30381fi
30382rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30383echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30384echo "${ECHO_T}$ac_header_compiler" >&6
30385
30386# Is the header present?
30387echo "$as_me:$LINENO: checking $ac_header presence" >&5
30388echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30389cat >conftest.$ac_ext <<_ACEOF
30390/* confdefs.h.  */
30391_ACEOF
30392cat confdefs.h >>conftest.$ac_ext
30393cat >>conftest.$ac_ext <<_ACEOF
30394/* end confdefs.h.  */
30395#include <$ac_header>
30396_ACEOF
30397if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30398  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30399  ac_status=$?
30400  grep -v '^ *+' conftest.er1 >conftest.err
30401  rm -f conftest.er1
30402  cat conftest.err >&5
30403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404  (exit $ac_status); } >/dev/null; then
30405  if test -s conftest.err; then
30406    ac_cpp_err=$ac_cxx_preproc_warn_flag
30407    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30408  else
30409    ac_cpp_err=
30410  fi
30411else
30412  ac_cpp_err=yes
30413fi
30414if test -z "$ac_cpp_err"; then
30415  ac_header_preproc=yes
30416else
30417  echo "$as_me: failed program was:" >&5
30418sed 's/^/| /' conftest.$ac_ext >&5
30419
30420  ac_header_preproc=no
30421fi
30422rm -f conftest.err conftest.$ac_ext
30423echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30424echo "${ECHO_T}$ac_header_preproc" >&6
30425
30426# So?  What about this header?
30427case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30428  yes:no: )
30429    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30430echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30431    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30432echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30433    ac_header_preproc=yes
30434    ;;
30435  no:yes:* )
30436    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30437echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30438    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30439echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30440    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30441echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30442    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30443echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30444    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30445echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30446    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30447echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30448    (
30449      cat <<\_ASBOX
30450## ----------------------------------------- ##
30451## Report this to the package-unused lists.  ##
30452## ----------------------------------------- ##
30453_ASBOX
30454    ) |
30455      sed "s/^/$as_me: WARNING:     /" >&2
30456    ;;
30457esac
30458echo "$as_me:$LINENO: checking for $ac_header" >&5
30459echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30460if eval "test \"\${$as_ac_Header+set}\" = set"; then
30461  echo $ECHO_N "(cached) $ECHO_C" >&6
30462else
30463  eval "$as_ac_Header=\$ac_header_preproc"
30464fi
30465echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30466echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30467
30468fi
30469if test `eval echo '${'$as_ac_Header'}'` = yes; then
30470  cat >>confdefs.h <<_ACEOF
30471#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30472_ACEOF
30473 ac_has_complex_h=yes
30474else
30475  ac_has_complex_h=no
30476fi
30477
30478done
30479
30480  ac_c99_complex_tr1=no;
30481  if test x"$ac_has_complex_h" = x"yes"; then
30482    echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30483echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30484    cat >conftest.$ac_ext <<_ACEOF
30485/* confdefs.h.  */
30486_ACEOF
30487cat confdefs.h >>conftest.$ac_ext
30488cat >>conftest.$ac_ext <<_ACEOF
30489/* end confdefs.h.  */
30490#include <complex.h>
30491int
30492main ()
30493{
30494typedef __complex__ float float_type; float_type tmpf;
30495	            cacosf(tmpf);
30496	            casinf(tmpf);
30497	            catanf(tmpf);
30498	            cacoshf(tmpf);
30499	            casinhf(tmpf);
30500	            catanhf(tmpf);
30501		    typedef __complex__ double double_type; double_type tmpd;
30502	            cacos(tmpd);
30503	            casin(tmpd);
30504	            catan(tmpd);
30505	            cacosh(tmpd);
30506	            casinh(tmpd);
30507	            catanh(tmpd);
30508		    typedef __complex__ long double ld_type; ld_type tmpld;
30509	            cacosl(tmpld);
30510	            casinl(tmpld);
30511	            catanl(tmpld);
30512	            cacoshl(tmpld);
30513	            casinhl(tmpld);
30514	            catanhl(tmpld);
30515
30516  ;
30517  return 0;
30518}
30519_ACEOF
30520rm -f conftest.$ac_objext
30521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522  (eval $ac_compile) 2>conftest.er1
30523  ac_status=$?
30524  grep -v '^ *+' conftest.er1 >conftest.err
30525  rm -f conftest.er1
30526  cat conftest.err >&5
30527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528  (exit $ac_status); } &&
30529	 { ac_try='test -z "$ac_cxx_werror_flag"
30530			 || test ! -s conftest.err'
30531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532  (eval $ac_try) 2>&5
30533  ac_status=$?
30534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535  (exit $ac_status); }; } &&
30536	 { ac_try='test -s conftest.$ac_objext'
30537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538  (eval $ac_try) 2>&5
30539  ac_status=$?
30540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541  (exit $ac_status); }; }; then
30542  ac_c99_complex_tr1=yes
30543else
30544  echo "$as_me: failed program was:" >&5
30545sed 's/^/| /' conftest.$ac_ext >&5
30546
30547ac_c99_complex_tr1=no
30548fi
30549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30550  fi
30551  echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30552echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30553  if test x"$ac_c99_complex_tr1" = x"yes"; then
30554
30555cat >>confdefs.h <<\_ACEOF
30556#define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30557_ACEOF
30558
30559  fi
30560
30561  # Check for the existence of <ctype.h> functions.
30562  echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30563echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30564  if test "${ac_c99_ctype_tr1+set}" = set; then
30565  echo $ECHO_N "(cached) $ECHO_C" >&6
30566else
30567
30568  cat >conftest.$ac_ext <<_ACEOF
30569/* confdefs.h.  */
30570_ACEOF
30571cat confdefs.h >>conftest.$ac_ext
30572cat >>conftest.$ac_ext <<_ACEOF
30573/* end confdefs.h.  */
30574#include <ctype.h>
30575int
30576main ()
30577{
30578int ch;
30579	          int ret;
30580	          ret = isblank(ch);
30581
30582  ;
30583  return 0;
30584}
30585_ACEOF
30586rm -f conftest.$ac_objext
30587if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30588  (eval $ac_compile) 2>conftest.er1
30589  ac_status=$?
30590  grep -v '^ *+' conftest.er1 >conftest.err
30591  rm -f conftest.er1
30592  cat conftest.err >&5
30593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594  (exit $ac_status); } &&
30595	 { ac_try='test -z "$ac_cxx_werror_flag"
30596			 || test ! -s conftest.err'
30597  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598  (eval $ac_try) 2>&5
30599  ac_status=$?
30600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601  (exit $ac_status); }; } &&
30602	 { ac_try='test -s conftest.$ac_objext'
30603  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604  (eval $ac_try) 2>&5
30605  ac_status=$?
30606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607  (exit $ac_status); }; }; then
30608  ac_c99_ctype_tr1=yes
30609else
30610  echo "$as_me: failed program was:" >&5
30611sed 's/^/| /' conftest.$ac_ext >&5
30612
30613ac_c99_ctype_tr1=no
30614fi
30615rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30616
30617fi
30618
30619  echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30620echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30621  if test x"$ac_c99_ctype_tr1" = x"yes"; then
30622
30623cat >>confdefs.h <<\_ACEOF
30624#define _GLIBCXX_USE_C99_CTYPE_TR1 1
30625_ACEOF
30626
30627  fi
30628
30629  # Check for the existence of <fenv.h> functions.
30630
30631for ac_header in fenv.h
30632do
30633as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30634if eval "test \"\${$as_ac_Header+set}\" = set"; then
30635  echo "$as_me:$LINENO: checking for $ac_header" >&5
30636echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30637if eval "test \"\${$as_ac_Header+set}\" = set"; then
30638  echo $ECHO_N "(cached) $ECHO_C" >&6
30639fi
30640echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30641echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30642else
30643  # Is the header compilable?
30644echo "$as_me:$LINENO: checking $ac_header usability" >&5
30645echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30646cat >conftest.$ac_ext <<_ACEOF
30647/* confdefs.h.  */
30648_ACEOF
30649cat confdefs.h >>conftest.$ac_ext
30650cat >>conftest.$ac_ext <<_ACEOF
30651/* end confdefs.h.  */
30652$ac_includes_default
30653#include <$ac_header>
30654_ACEOF
30655rm -f conftest.$ac_objext
30656if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30657  (eval $ac_compile) 2>conftest.er1
30658  ac_status=$?
30659  grep -v '^ *+' conftest.er1 >conftest.err
30660  rm -f conftest.er1
30661  cat conftest.err >&5
30662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663  (exit $ac_status); } &&
30664	 { ac_try='test -z "$ac_cxx_werror_flag"
30665			 || test ! -s conftest.err'
30666  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667  (eval $ac_try) 2>&5
30668  ac_status=$?
30669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670  (exit $ac_status); }; } &&
30671	 { ac_try='test -s conftest.$ac_objext'
30672  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673  (eval $ac_try) 2>&5
30674  ac_status=$?
30675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676  (exit $ac_status); }; }; then
30677  ac_header_compiler=yes
30678else
30679  echo "$as_me: failed program was:" >&5
30680sed 's/^/| /' conftest.$ac_ext >&5
30681
30682ac_header_compiler=no
30683fi
30684rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30685echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30686echo "${ECHO_T}$ac_header_compiler" >&6
30687
30688# Is the header present?
30689echo "$as_me:$LINENO: checking $ac_header presence" >&5
30690echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30691cat >conftest.$ac_ext <<_ACEOF
30692/* confdefs.h.  */
30693_ACEOF
30694cat confdefs.h >>conftest.$ac_ext
30695cat >>conftest.$ac_ext <<_ACEOF
30696/* end confdefs.h.  */
30697#include <$ac_header>
30698_ACEOF
30699if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30700  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30701  ac_status=$?
30702  grep -v '^ *+' conftest.er1 >conftest.err
30703  rm -f conftest.er1
30704  cat conftest.err >&5
30705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706  (exit $ac_status); } >/dev/null; then
30707  if test -s conftest.err; then
30708    ac_cpp_err=$ac_cxx_preproc_warn_flag
30709    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30710  else
30711    ac_cpp_err=
30712  fi
30713else
30714  ac_cpp_err=yes
30715fi
30716if test -z "$ac_cpp_err"; then
30717  ac_header_preproc=yes
30718else
30719  echo "$as_me: failed program was:" >&5
30720sed 's/^/| /' conftest.$ac_ext >&5
30721
30722  ac_header_preproc=no
30723fi
30724rm -f conftest.err conftest.$ac_ext
30725echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30726echo "${ECHO_T}$ac_header_preproc" >&6
30727
30728# So?  What about this header?
30729case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30730  yes:no: )
30731    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30732echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30733    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30734echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30735    ac_header_preproc=yes
30736    ;;
30737  no:yes:* )
30738    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30739echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30740    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30741echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30742    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30743echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30744    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30745echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30746    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30747echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30748    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30749echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30750    (
30751      cat <<\_ASBOX
30752## ----------------------------------------- ##
30753## Report this to the package-unused lists.  ##
30754## ----------------------------------------- ##
30755_ASBOX
30756    ) |
30757      sed "s/^/$as_me: WARNING:     /" >&2
30758    ;;
30759esac
30760echo "$as_me:$LINENO: checking for $ac_header" >&5
30761echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30762if eval "test \"\${$as_ac_Header+set}\" = set"; then
30763  echo $ECHO_N "(cached) $ECHO_C" >&6
30764else
30765  eval "$as_ac_Header=\$ac_header_preproc"
30766fi
30767echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30768echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30769
30770fi
30771if test `eval echo '${'$as_ac_Header'}'` = yes; then
30772  cat >>confdefs.h <<_ACEOF
30773#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30774_ACEOF
30775 ac_has_fenv_h=yes
30776else
30777  ac_has_fenv_h=no
30778fi
30779
30780done
30781
30782  ac_c99_fenv_tr1=no;
30783  if test x"$ac_has_fenv_h" = x"yes"; then
30784    echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30785echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30786    cat >conftest.$ac_ext <<_ACEOF
30787/* confdefs.h.  */
30788_ACEOF
30789cat confdefs.h >>conftest.$ac_ext
30790cat >>conftest.$ac_ext <<_ACEOF
30791/* end confdefs.h.  */
30792#include <fenv.h>
30793int
30794main ()
30795{
30796int except, mode;
30797	            fexcept_t* pflag;
30798                    fenv_t* penv;
30799	            int ret;
30800	            ret = feclearexcept(except);
30801	            ret = fegetexceptflag(pflag, except);
30802	            ret = feraiseexcept(except);
30803	            ret = fesetexceptflag(pflag, except);
30804	            ret = fetestexcept(except);
30805	            ret = fegetround();
30806	            ret = fesetround(mode);
30807	            ret = fegetenv(penv);
30808	            ret = feholdexcept(penv);
30809	            ret = fesetenv(penv);
30810	            ret = feupdateenv(penv);
30811
30812  ;
30813  return 0;
30814}
30815_ACEOF
30816rm -f conftest.$ac_objext
30817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30818  (eval $ac_compile) 2>conftest.er1
30819  ac_status=$?
30820  grep -v '^ *+' conftest.er1 >conftest.err
30821  rm -f conftest.er1
30822  cat conftest.err >&5
30823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824  (exit $ac_status); } &&
30825	 { ac_try='test -z "$ac_cxx_werror_flag"
30826			 || test ! -s conftest.err'
30827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828  (eval $ac_try) 2>&5
30829  ac_status=$?
30830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831  (exit $ac_status); }; } &&
30832	 { ac_try='test -s conftest.$ac_objext'
30833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30834  (eval $ac_try) 2>&5
30835  ac_status=$?
30836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837  (exit $ac_status); }; }; then
30838  ac_c99_fenv_tr1=yes
30839else
30840  echo "$as_me: failed program was:" >&5
30841sed 's/^/| /' conftest.$ac_ext >&5
30842
30843ac_c99_fenv_tr1=no
30844fi
30845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30846  fi
30847  echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30848echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30849  if test x"$ac_c99_fenv_tr1" = x"yes"; then
30850
30851cat >>confdefs.h <<\_ACEOF
30852#define _GLIBCXX_USE_C99_FENV_TR1 1
30853_ACEOF
30854
30855  fi
30856
30857  # Check for the existence of <stdint.h> types.
30858  echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30859echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30860  if test "${ac_c99_stdint_tr1+set}" = set; then
30861  echo $ECHO_N "(cached) $ECHO_C" >&6
30862else
30863
30864  cat >conftest.$ac_ext <<_ACEOF
30865/* confdefs.h.  */
30866_ACEOF
30867cat confdefs.h >>conftest.$ac_ext
30868cat >>conftest.$ac_ext <<_ACEOF
30869/* end confdefs.h.  */
30870#include <stdint.h>
30871int
30872main ()
30873{
30874typedef int8_t          my_int8_t;
30875	          typedef int16_t         my_int16_t;
30876	          typedef int32_t         my_int32_t;
30877	          typedef int64_t         my_int64_t;
30878	          typedef int_fast8_t     my_int_fast8_t;
30879	          typedef int_fast16_t    my_int_fast16_t;
30880	          typedef int_fast32_t    my_int_fast32_t;
30881	          typedef int_fast64_t    my_int_fast64_t;
30882	          typedef int_least8_t    my_int_least8_t;
30883	          typedef int_least16_t   my_int_least16_t;
30884	          typedef int_least32_t   my_int_least32_t;
30885	          typedef int_least64_t   my_int_least64_t;
30886		  typedef intmax_t        my_intmax_t;
30887		  typedef intptr_t        my_intptr_t;
30888	          typedef uint8_t         my_uint8_t;
30889	          typedef uint16_t        my_uint16_t;
30890	          typedef uint32_t        my_uint32_t;
30891	          typedef uint64_t        my_uint64_t;
30892	          typedef uint_fast8_t    my_uint_fast8_t;
30893	          typedef uint_fast16_t   my_uint_fast16_t;
30894	          typedef uint_fast32_t   my_uint_fast32_t;
30895	          typedef uint_fast64_t   my_uint_fast64_t;
30896	          typedef uint_least8_t   my_uint_least8_t;
30897	          typedef uint_least16_t  my_uint_least16_t;
30898	          typedef uint_least32_t  my_uint_least32_t;
30899	          typedef uint_least64_t  my_uint_least64_t;
30900		  typedef uintmax_t       my_uintmax_t;
30901		  typedef uintptr_t       my_uintptr_t;
30902
30903  ;
30904  return 0;
30905}
30906_ACEOF
30907rm -f conftest.$ac_objext
30908if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30909  (eval $ac_compile) 2>conftest.er1
30910  ac_status=$?
30911  grep -v '^ *+' conftest.er1 >conftest.err
30912  rm -f conftest.er1
30913  cat conftest.err >&5
30914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915  (exit $ac_status); } &&
30916	 { ac_try='test -z "$ac_cxx_werror_flag"
30917			 || test ! -s conftest.err'
30918  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30919  (eval $ac_try) 2>&5
30920  ac_status=$?
30921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922  (exit $ac_status); }; } &&
30923	 { ac_try='test -s conftest.$ac_objext'
30924  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925  (eval $ac_try) 2>&5
30926  ac_status=$?
30927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928  (exit $ac_status); }; }; then
30929  ac_c99_stdint_tr1=yes
30930else
30931  echo "$as_me: failed program was:" >&5
30932sed 's/^/| /' conftest.$ac_ext >&5
30933
30934ac_c99_stdint_tr1=no
30935fi
30936rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30937
30938fi
30939
30940  echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30941echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30942  if test x"$ac_c99_stdint_tr1" = x"yes"; then
30943
30944cat >>confdefs.h <<\_ACEOF
30945#define _GLIBCXX_USE_C99_STDINT_TR1 1
30946_ACEOF
30947
30948  fi
30949
30950  # Check for the existence of <math.h> functions.
30951  echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30952echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30953  if test "${ac_c99_math_tr1+set}" = set; then
30954  echo $ECHO_N "(cached) $ECHO_C" >&6
30955else
30956
30957  cat >conftest.$ac_ext <<_ACEOF
30958/* confdefs.h.  */
30959_ACEOF
30960cat confdefs.h >>conftest.$ac_ext
30961cat >>conftest.$ac_ext <<_ACEOF
30962/* end confdefs.h.  */
30963#include <math.h>
30964int
30965main ()
30966{
30967typedef double_t  my_double_t;
30968	          typedef float_t   my_float_t;
30969	          acosh(0.0);
30970	          acoshf(0.0f);
30971	          acoshl(0.0l);
30972	          asinh(0.0);
30973	          asinhf(0.0f);
30974	          asinhl(0.0l);
30975	          atanh(0.0);
30976	          atanhf(0.0f);
30977	          atanhl(0.0l);
30978	          cbrt(0.0);
30979	          cbrtf(0.0f);
30980	          cbrtl(0.0l);
30981	          copysign(0.0, 0.0);
30982	          copysignf(0.0f, 0.0f);
30983	          copysignl(0.0l, 0.0l);
30984	          erf(0.0);
30985	          erff(0.0f);
30986	          erfl(0.0l);
30987	          erfc(0.0);
30988	          erfcf(0.0f);
30989	          erfcl(0.0l);
30990	          exp2(0.0);
30991	          exp2f(0.0f);
30992	          exp2l(0.0l);
30993	          expm1(0.0);
30994	          expm1f(0.0f);
30995	          expm1l(0.0l);
30996	          fdim(0.0, 0.0);
30997	          fdimf(0.0f, 0.0f);
30998	          fdiml(0.0l, 0.0l);
30999	          fma(0.0, 0.0, 0.0);
31000	          fmaf(0.0f, 0.0f, 0.0f);
31001	          fmal(0.0l, 0.0l, 0.0l);
31002	          fmax(0.0, 0.0);
31003	          fmaxf(0.0f, 0.0f);
31004	          fmaxl(0.0l, 0.0l);
31005	          fmin(0.0, 0.0);
31006	          fminf(0.0f, 0.0f);
31007	          fminl(0.0l, 0.0l);
31008	          hypot(0.0, 0.0);
31009	          hypotf(0.0f, 0.0f);
31010	          hypotl(0.0l, 0.0l);
31011	          ilogb(0.0);
31012	          ilogbf(0.0f);
31013	          ilogbl(0.0l);
31014	          lgamma(0.0);
31015	          lgammaf(0.0f);
31016	          lgammal(0.0l);
31017	          llrint(0.0);
31018	          llrintf(0.0f);
31019	          llrintl(0.0l);
31020	          llround(0.0);
31021	          llroundf(0.0f);
31022	          llroundl(0.0l);
31023	          log1p(0.0);
31024	          log1pf(0.0f);
31025	          log1pl(0.0l);
31026	          log2(0.0);
31027	          log2f(0.0f);
31028	          log2l(0.0l);
31029	          logb(0.0);
31030	          logbf(0.0f);
31031	          logbl(0.0l);
31032	          lrint(0.0);
31033	          lrintf(0.0f);
31034	          lrintl(0.0l);
31035	          lround(0.0);
31036	          lroundf(0.0f);
31037	          lroundl(0.0l);
31038	          nan(0);
31039	          nanf(0);
31040	          nanl(0);
31041	          nearbyint(0.0);
31042	          nearbyintf(0.0f);
31043	          nearbyintl(0.0l);
31044	          nextafter(0.0, 0.0);
31045	          nextafterf(0.0f, 0.0f);
31046	          nextafterl(0.0l, 0.0l);
31047	          nexttoward(0.0, 0.0);
31048	          nexttowardf(0.0f, 0.0f);
31049	          nexttowardl(0.0l, 0.0l);
31050	          remainder(0.0, 0.0);
31051	          remainderf(0.0f, 0.0f);
31052	          remainderl(0.0l, 0.0l);
31053	          remquo(0.0, 0.0, 0);
31054	          remquo(0.0f, 0.0f, 0);
31055	          remquo(0.0l, 0.0l, 0);
31056	          rint(0.0);
31057	          rintf(0.0f);
31058	          rintl(0.0l);
31059	          round(0.0);
31060	          roundf(0.0f);
31061	          roundl(0.0l);
31062	          scalbln(0.0, 0l);
31063	          scalblnf(0.0f, 0l);
31064	          scalblnl(0.0l, 0l);
31065	          scalbn(0.0, 0);
31066	          scalbnf(0.0f, 0);
31067	          scalbnl(0.0l, 0);
31068	          tgamma(0.0);
31069	          tgammaf(0.0f);
31070	          tgammal(0.0l);
31071	          trunc(0.0);
31072	          truncf(0.0f);
31073	          truncl(0.0l);
31074
31075  ;
31076  return 0;
31077}
31078_ACEOF
31079rm -f conftest.$ac_objext
31080if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31081  (eval $ac_compile) 2>conftest.er1
31082  ac_status=$?
31083  grep -v '^ *+' conftest.er1 >conftest.err
31084  rm -f conftest.er1
31085  cat conftest.err >&5
31086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087  (exit $ac_status); } &&
31088	 { ac_try='test -z "$ac_cxx_werror_flag"
31089			 || test ! -s conftest.err'
31090  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31091  (eval $ac_try) 2>&5
31092  ac_status=$?
31093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094  (exit $ac_status); }; } &&
31095	 { ac_try='test -s conftest.$ac_objext'
31096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31097  (eval $ac_try) 2>&5
31098  ac_status=$?
31099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100  (exit $ac_status); }; }; then
31101  ac_c99_math_tr1=yes
31102else
31103  echo "$as_me: failed program was:" >&5
31104sed 's/^/| /' conftest.$ac_ext >&5
31105
31106ac_c99_math_tr1=no
31107fi
31108rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31109
31110fi
31111
31112  echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
31113echo "${ECHO_T}$ac_c99_math_tr1" >&6
31114  if test x"$ac_c99_math_tr1" = x"yes"; then
31115
31116cat >>confdefs.h <<\_ACEOF
31117#define _GLIBCXX_USE_C99_MATH_TR1 1
31118_ACEOF
31119
31120  fi
31121
31122  # Check for the existence of <inttypes.h> functions (NB: doesn't make
31123  # sense if the previous check fails, per C99, 7.8/1).
31124  ac_c99_inttypes_tr1=no;
31125  if test x"$ac_c99_stdint_tr1" = x"yes"; then
31126    echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
31127echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
31128    cat >conftest.$ac_ext <<_ACEOF
31129/* confdefs.h.  */
31130_ACEOF
31131cat confdefs.h >>conftest.$ac_ext
31132cat >>conftest.$ac_ext <<_ACEOF
31133/* end confdefs.h.  */
31134#include <inttypes.h>
31135int
31136main ()
31137{
31138intmax_t i, numer, denom, base;
31139	            const char* s;
31140	            char** endptr;
31141	            intmax_t ret = imaxabs(i);
31142	            imaxdiv_t dret = imaxdiv(numer, denom);
31143	            ret = strtoimax(s, endptr, base);
31144	            uintmax_t uret = strtoumax(s, endptr, base);
31145
31146  ;
31147  return 0;
31148}
31149_ACEOF
31150rm -f conftest.$ac_objext
31151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31152  (eval $ac_compile) 2>conftest.er1
31153  ac_status=$?
31154  grep -v '^ *+' conftest.er1 >conftest.err
31155  rm -f conftest.er1
31156  cat conftest.err >&5
31157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158  (exit $ac_status); } &&
31159	 { ac_try='test -z "$ac_cxx_werror_flag"
31160			 || test ! -s conftest.err'
31161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162  (eval $ac_try) 2>&5
31163  ac_status=$?
31164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165  (exit $ac_status); }; } &&
31166	 { ac_try='test -s conftest.$ac_objext'
31167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168  (eval $ac_try) 2>&5
31169  ac_status=$?
31170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171  (exit $ac_status); }; }; then
31172  ac_c99_inttypes_tr1=yes
31173else
31174  echo "$as_me: failed program was:" >&5
31175sed 's/^/| /' conftest.$ac_ext >&5
31176
31177ac_c99_inttypes_tr1=no
31178fi
31179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31180  fi
31181  echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31182echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31183  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31184
31185cat >>confdefs.h <<\_ACEOF
31186#define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31187_ACEOF
31188
31189  fi
31190
31191  # Check for the existence of the <stdbool.h> header.
31192
31193for ac_header in stdbool.h
31194do
31195as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31196if eval "test \"\${$as_ac_Header+set}\" = set"; then
31197  echo "$as_me:$LINENO: checking for $ac_header" >&5
31198echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31199if eval "test \"\${$as_ac_Header+set}\" = set"; then
31200  echo $ECHO_N "(cached) $ECHO_C" >&6
31201fi
31202echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31203echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31204else
31205  # Is the header compilable?
31206echo "$as_me:$LINENO: checking $ac_header usability" >&5
31207echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31208cat >conftest.$ac_ext <<_ACEOF
31209/* confdefs.h.  */
31210_ACEOF
31211cat confdefs.h >>conftest.$ac_ext
31212cat >>conftest.$ac_ext <<_ACEOF
31213/* end confdefs.h.  */
31214$ac_includes_default
31215#include <$ac_header>
31216_ACEOF
31217rm -f conftest.$ac_objext
31218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31219  (eval $ac_compile) 2>conftest.er1
31220  ac_status=$?
31221  grep -v '^ *+' conftest.er1 >conftest.err
31222  rm -f conftest.er1
31223  cat conftest.err >&5
31224  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225  (exit $ac_status); } &&
31226	 { ac_try='test -z "$ac_cxx_werror_flag"
31227			 || test ! -s conftest.err'
31228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31229  (eval $ac_try) 2>&5
31230  ac_status=$?
31231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232  (exit $ac_status); }; } &&
31233	 { ac_try='test -s conftest.$ac_objext'
31234  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235  (eval $ac_try) 2>&5
31236  ac_status=$?
31237  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238  (exit $ac_status); }; }; then
31239  ac_header_compiler=yes
31240else
31241  echo "$as_me: failed program was:" >&5
31242sed 's/^/| /' conftest.$ac_ext >&5
31243
31244ac_header_compiler=no
31245fi
31246rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31247echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31248echo "${ECHO_T}$ac_header_compiler" >&6
31249
31250# Is the header present?
31251echo "$as_me:$LINENO: checking $ac_header presence" >&5
31252echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31253cat >conftest.$ac_ext <<_ACEOF
31254/* confdefs.h.  */
31255_ACEOF
31256cat confdefs.h >>conftest.$ac_ext
31257cat >>conftest.$ac_ext <<_ACEOF
31258/* end confdefs.h.  */
31259#include <$ac_header>
31260_ACEOF
31261if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31262  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31263  ac_status=$?
31264  grep -v '^ *+' conftest.er1 >conftest.err
31265  rm -f conftest.er1
31266  cat conftest.err >&5
31267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268  (exit $ac_status); } >/dev/null; then
31269  if test -s conftest.err; then
31270    ac_cpp_err=$ac_cxx_preproc_warn_flag
31271    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31272  else
31273    ac_cpp_err=
31274  fi
31275else
31276  ac_cpp_err=yes
31277fi
31278if test -z "$ac_cpp_err"; then
31279  ac_header_preproc=yes
31280else
31281  echo "$as_me: failed program was:" >&5
31282sed 's/^/| /' conftest.$ac_ext >&5
31283
31284  ac_header_preproc=no
31285fi
31286rm -f conftest.err conftest.$ac_ext
31287echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31288echo "${ECHO_T}$ac_header_preproc" >&6
31289
31290# So?  What about this header?
31291case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31292  yes:no: )
31293    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31294echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31295    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31296echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31297    ac_header_preproc=yes
31298    ;;
31299  no:yes:* )
31300    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31301echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31302    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31303echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31304    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31305echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31306    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31307echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31308    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31309echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31310    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31311echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31312    (
31313      cat <<\_ASBOX
31314## ----------------------------------------- ##
31315## Report this to the package-unused lists.  ##
31316## ----------------------------------------- ##
31317_ASBOX
31318    ) |
31319      sed "s/^/$as_me: WARNING:     /" >&2
31320    ;;
31321esac
31322echo "$as_me:$LINENO: checking for $ac_header" >&5
31323echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31324if eval "test \"\${$as_ac_Header+set}\" = set"; then
31325  echo $ECHO_N "(cached) $ECHO_C" >&6
31326else
31327  eval "$as_ac_Header=\$ac_header_preproc"
31328fi
31329echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31330echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31331
31332fi
31333if test `eval echo '${'$as_ac_Header'}'` = yes; then
31334  cat >>confdefs.h <<_ACEOF
31335#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31336_ACEOF
31337
31338fi
31339
31340done
31341
31342
31343  ac_ext=c
31344ac_cpp='$CPP $CPPFLAGS'
31345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347ac_compiler_gnu=$ac_cv_c_compiler_gnu
31348
31349
31350
31351  # For dev/random and dev/urandom for TR1.
31352
31353
31354  echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31355echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31356  if test "${ac_random_tr1+set}" = set; then
31357  echo $ECHO_N "(cached) $ECHO_C" >&6
31358else
31359
31360  if test "$cross_compiling" = yes; then
31361  ac_random_tr1=no
31362else
31363  cat >conftest.$ac_ext <<_ACEOF
31364/* confdefs.h.  */
31365_ACEOF
31366cat confdefs.h >>conftest.$ac_ext
31367cat >>conftest.$ac_ext <<_ACEOF
31368/* end confdefs.h.  */
31369#include <stdio.h>
31370	      int main()
31371	      {
31372                return !(fopen("/dev/random", "r")
31373                         && fopen("/dev/urandom", "r"));
31374	      }
31375
31376_ACEOF
31377rm -f conftest$ac_exeext
31378if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31379  (eval $ac_link) 2>&5
31380  ac_status=$?
31381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384  (eval $ac_try) 2>&5
31385  ac_status=$?
31386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387  (exit $ac_status); }; }; then
31388  ac_random_tr1=yes
31389else
31390  echo "$as_me: program exited with status $ac_status" >&5
31391echo "$as_me: failed program was:" >&5
31392sed 's/^/| /' conftest.$ac_ext >&5
31393
31394( exit $ac_status )
31395ac_random_tr1=no
31396fi
31397rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31398fi
31399
31400fi
31401
31402  echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31403echo "${ECHO_T}$ac_random_tr1" >&6
31404  if test x"$ac_random_tr1" = x"yes"; then
31405
31406cat >>confdefs.h <<\_ACEOF
31407#define _GLIBCXX_USE_RANDOM_TR1 1
31408_ACEOF
31409
31410  fi
31411
31412
31413
31414  # For TLS support.
31415
31416   # Check whether --enable-tls or --disable-tls was given.
31417if test "${enable_tls+set}" = set; then
31418  enableval="$enable_tls"
31419
31420      case "$enableval" in
31421       yes|no) ;;
31422       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31423echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31424   { (exit 1); exit 1; }; } ;;
31425      esac
31426
31427else
31428  enable_tls=yes
31429fi;
31430
31431  echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31432echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31433if test "${have_tls+set}" = set; then
31434  echo $ECHO_N "(cached) $ECHO_C" >&6
31435else
31436
31437    if test "$cross_compiling" = yes; then
31438  cat >conftest.$ac_ext <<_ACEOF
31439__thread int foo;
31440_ACEOF
31441rm -f conftest.$ac_objext
31442if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31443  (eval $ac_compile) 2>conftest.er1
31444  ac_status=$?
31445  grep -v '^ *+' conftest.er1 >conftest.err
31446  rm -f conftest.er1
31447  cat conftest.err >&5
31448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449  (exit $ac_status); } &&
31450	 { ac_try='test -z "$ac_c_werror_flag"
31451			 || test ! -s conftest.err'
31452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453  (eval $ac_try) 2>&5
31454  ac_status=$?
31455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456  (exit $ac_status); }; } &&
31457	 { ac_try='test -s conftest.$ac_objext'
31458  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459  (eval $ac_try) 2>&5
31460  ac_status=$?
31461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462  (exit $ac_status); }; }; then
31463  have_tls=yes
31464else
31465  echo "$as_me: failed program was:" >&5
31466sed 's/^/| /' conftest.$ac_ext >&5
31467
31468have_tls=no
31469fi
31470rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31471
31472else
31473  cat >conftest.$ac_ext <<_ACEOF
31474__thread int a; int b; int main() { return a = b; }
31475_ACEOF
31476rm -f conftest$ac_exeext
31477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478  (eval $ac_link) 2>&5
31479  ac_status=$?
31480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31482  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483  (eval $ac_try) 2>&5
31484  ac_status=$?
31485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486  (exit $ac_status); }; }; then
31487                      save_LDFLAGS="$LDFLAGS"
31488      LDFLAGS="-static $LDFLAGS"
31489      if test x$gcc_no_link = xyes; then
31490  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31491echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31492   { (exit 1); exit 1; }; }
31493fi
31494cat >conftest.$ac_ext <<_ACEOF
31495int main() { return 0; }
31496_ACEOF
31497rm -f conftest.$ac_objext conftest$ac_exeext
31498if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31499  (eval $ac_link) 2>conftest.er1
31500  ac_status=$?
31501  grep -v '^ *+' conftest.er1 >conftest.err
31502  rm -f conftest.er1
31503  cat conftest.err >&5
31504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505  (exit $ac_status); } &&
31506	 { ac_try='test -z "$ac_c_werror_flag"
31507			 || test ! -s conftest.err'
31508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509  (eval $ac_try) 2>&5
31510  ac_status=$?
31511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512  (exit $ac_status); }; } &&
31513	 { ac_try='test -s conftest$ac_exeext'
31514  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515  (eval $ac_try) 2>&5
31516  ac_status=$?
31517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518  (exit $ac_status); }; }; then
31519  if test "$cross_compiling" = yes; then
31520  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31521See \`config.log' for more details." >&5
31522echo "$as_me: error: cannot run test program while cross compiling
31523See \`config.log' for more details." >&2;}
31524   { (exit 1); exit 1; }; }
31525else
31526  cat >conftest.$ac_ext <<_ACEOF
31527__thread int a; int b; int main() { return a = b; }
31528_ACEOF
31529rm -f conftest$ac_exeext
31530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31531  (eval $ac_link) 2>&5
31532  ac_status=$?
31533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536  (eval $ac_try) 2>&5
31537  ac_status=$?
31538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539  (exit $ac_status); }; }; then
31540  have_tls=yes
31541else
31542  echo "$as_me: program exited with status $ac_status" >&5
31543echo "$as_me: failed program was:" >&5
31544sed 's/^/| /' conftest.$ac_ext >&5
31545
31546( exit $ac_status )
31547have_tls=no
31548fi
31549rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31550fi
31551else
31552  echo "$as_me: failed program was:" >&5
31553sed 's/^/| /' conftest.$ac_ext >&5
31554
31555have_tls=yes
31556fi
31557rm -f conftest.err conftest.$ac_objext \
31558      conftest$ac_exeext conftest.$ac_ext
31559      LDFLAGS="$save_LDFLAGS"
31560else
31561  echo "$as_me: program exited with status $ac_status" >&5
31562echo "$as_me: failed program was:" >&5
31563sed 's/^/| /' conftest.$ac_ext >&5
31564
31565( exit $ac_status )
31566have_tls=no
31567fi
31568rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31569fi
31570fi
31571echo "$as_me:$LINENO: result: $have_tls" >&5
31572echo "${ECHO_T}$have_tls" >&6
31573  if test "$enable_tls $have_tls" = "yes yes"; then
31574
31575cat >>confdefs.h <<\_ACEOF
31576#define HAVE_TLS 1
31577_ACEOF
31578
31579  fi
31580
31581  # For _Unwind_GetIPInfo.
31582
31583
31584
31585  ac_ext=cc
31586ac_cpp='$CXXCPP $CPPFLAGS'
31587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31590
31591  ac_save_CXXFLAGS="$CXXFLAGS"
31592  CXXFLAGS="$CXXFLAGS -fno-exceptions"
31593  echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31594echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31595  if test "${gcc_cv_getipinfo+set}" = set; then
31596  echo $ECHO_N "(cached) $ECHO_C" >&6
31597else
31598
31599  if test x$gcc_no_link = xyes; then
31600  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31601echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31602   { (exit 1); exit 1; }; }
31603fi
31604cat >conftest.$ac_ext <<_ACEOF
31605/* confdefs.h.  */
31606_ACEOF
31607cat confdefs.h >>conftest.$ac_ext
31608cat >>conftest.$ac_ext <<_ACEOF
31609/* end confdefs.h.  */
31610extern "C" { extern void _Unwind_GetIPInfo(); }
31611int
31612main ()
31613{
31614_Unwind_GetIPInfo();
31615  ;
31616  return 0;
31617}
31618_ACEOF
31619rm -f conftest.$ac_objext conftest$ac_exeext
31620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31621  (eval $ac_link) 2>conftest.er1
31622  ac_status=$?
31623  grep -v '^ *+' conftest.er1 >conftest.err
31624  rm -f conftest.er1
31625  cat conftest.err >&5
31626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627  (exit $ac_status); } &&
31628	 { ac_try='test -z "$ac_cxx_werror_flag"
31629			 || test ! -s conftest.err'
31630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31631  (eval $ac_try) 2>&5
31632  ac_status=$?
31633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634  (exit $ac_status); }; } &&
31635	 { ac_try='test -s conftest$ac_exeext'
31636  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637  (eval $ac_try) 2>&5
31638  ac_status=$?
31639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640  (exit $ac_status); }; }; then
31641  gcc_cv_getipinfo=yes
31642else
31643  echo "$as_me: failed program was:" >&5
31644sed 's/^/| /' conftest.$ac_ext >&5
31645
31646gcc_cv_getipinfo=no
31647fi
31648rm -f conftest.err conftest.$ac_objext \
31649      conftest$ac_exeext conftest.$ac_ext
31650
31651fi
31652
31653  if test $gcc_cv_getipinfo = yes; then
31654
31655cat >>confdefs.h <<\_ACEOF
31656#define HAVE_GETIPINFO 1
31657_ACEOF
31658
31659  fi
31660  echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31661echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31662  CXXFLAGS="$ac_save_CXXFLAGS"
31663  ac_ext=c
31664ac_cpp='$CPP $CPPFLAGS'
31665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667ac_compiler_gnu=$ac_cv_c_compiler_gnu
31668
31669
31670
31671
31672  if test "${ac_cv_header_locale_h+set}" = set; then
31673  echo "$as_me:$LINENO: checking for locale.h" >&5
31674echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31675if test "${ac_cv_header_locale_h+set}" = set; then
31676  echo $ECHO_N "(cached) $ECHO_C" >&6
31677fi
31678echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31679echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31680else
31681  # Is the header compilable?
31682echo "$as_me:$LINENO: checking locale.h usability" >&5
31683echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31684cat >conftest.$ac_ext <<_ACEOF
31685/* confdefs.h.  */
31686_ACEOF
31687cat confdefs.h >>conftest.$ac_ext
31688cat >>conftest.$ac_ext <<_ACEOF
31689/* end confdefs.h.  */
31690$ac_includes_default
31691#include <locale.h>
31692_ACEOF
31693rm -f conftest.$ac_objext
31694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31695  (eval $ac_compile) 2>conftest.er1
31696  ac_status=$?
31697  grep -v '^ *+' conftest.er1 >conftest.err
31698  rm -f conftest.er1
31699  cat conftest.err >&5
31700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701  (exit $ac_status); } &&
31702	 { ac_try='test -z "$ac_c_werror_flag"
31703			 || test ! -s conftest.err'
31704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705  (eval $ac_try) 2>&5
31706  ac_status=$?
31707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708  (exit $ac_status); }; } &&
31709	 { ac_try='test -s conftest.$ac_objext'
31710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711  (eval $ac_try) 2>&5
31712  ac_status=$?
31713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714  (exit $ac_status); }; }; then
31715  ac_header_compiler=yes
31716else
31717  echo "$as_me: failed program was:" >&5
31718sed 's/^/| /' conftest.$ac_ext >&5
31719
31720ac_header_compiler=no
31721fi
31722rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31723echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31724echo "${ECHO_T}$ac_header_compiler" >&6
31725
31726# Is the header present?
31727echo "$as_me:$LINENO: checking locale.h presence" >&5
31728echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31729cat >conftest.$ac_ext <<_ACEOF
31730/* confdefs.h.  */
31731_ACEOF
31732cat confdefs.h >>conftest.$ac_ext
31733cat >>conftest.$ac_ext <<_ACEOF
31734/* end confdefs.h.  */
31735#include <locale.h>
31736_ACEOF
31737if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31738  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31739  ac_status=$?
31740  grep -v '^ *+' conftest.er1 >conftest.err
31741  rm -f conftest.er1
31742  cat conftest.err >&5
31743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744  (exit $ac_status); } >/dev/null; then
31745  if test -s conftest.err; then
31746    ac_cpp_err=$ac_c_preproc_warn_flag
31747    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31748  else
31749    ac_cpp_err=
31750  fi
31751else
31752  ac_cpp_err=yes
31753fi
31754if test -z "$ac_cpp_err"; then
31755  ac_header_preproc=yes
31756else
31757  echo "$as_me: failed program was:" >&5
31758sed 's/^/| /' conftest.$ac_ext >&5
31759
31760  ac_header_preproc=no
31761fi
31762rm -f conftest.err conftest.$ac_ext
31763echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31764echo "${ECHO_T}$ac_header_preproc" >&6
31765
31766# So?  What about this header?
31767case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31768  yes:no: )
31769    { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31770echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31771    { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31772echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31773    ac_header_preproc=yes
31774    ;;
31775  no:yes:* )
31776    { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31777echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31778    { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
31779echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
31780    { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31781echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31782    { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
31783echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31784    { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31785echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31786    { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31787echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31788    (
31789      cat <<\_ASBOX
31790## ----------------------------------------- ##
31791## Report this to the package-unused lists.  ##
31792## ----------------------------------------- ##
31793_ASBOX
31794    ) |
31795      sed "s/^/$as_me: WARNING:     /" >&2
31796    ;;
31797esac
31798echo "$as_me:$LINENO: checking for locale.h" >&5
31799echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31800if test "${ac_cv_header_locale_h+set}" = set; then
31801  echo $ECHO_N "(cached) $ECHO_C" >&6
31802else
31803  ac_cv_header_locale_h=$ac_header_preproc
31804fi
31805echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31806echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31807
31808fi
31809if test $ac_cv_header_locale_h = yes; then
31810
31811    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31812echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31813if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31814  echo $ECHO_N "(cached) $ECHO_C" >&6
31815else
31816  if test x$gcc_no_link = xyes; then
31817  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31818echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31819   { (exit 1); exit 1; }; }
31820fi
31821cat >conftest.$ac_ext <<_ACEOF
31822/* confdefs.h.  */
31823_ACEOF
31824cat confdefs.h >>conftest.$ac_ext
31825cat >>conftest.$ac_ext <<_ACEOF
31826/* end confdefs.h.  */
31827#include <locale.h>
31828int
31829main ()
31830{
31831return LC_MESSAGES
31832  ;
31833  return 0;
31834}
31835_ACEOF
31836rm -f conftest.$ac_objext conftest$ac_exeext
31837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31838  (eval $ac_link) 2>conftest.er1
31839  ac_status=$?
31840  grep -v '^ *+' conftest.er1 >conftest.err
31841  rm -f conftest.er1
31842  cat conftest.err >&5
31843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844  (exit $ac_status); } &&
31845	 { ac_try='test -z "$ac_c_werror_flag"
31846			 || test ! -s conftest.err'
31847  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848  (eval $ac_try) 2>&5
31849  ac_status=$?
31850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851  (exit $ac_status); }; } &&
31852	 { ac_try='test -s conftest$ac_exeext'
31853  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854  (eval $ac_try) 2>&5
31855  ac_status=$?
31856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857  (exit $ac_status); }; }; then
31858  ac_cv_val_LC_MESSAGES=yes
31859else
31860  echo "$as_me: failed program was:" >&5
31861sed 's/^/| /' conftest.$ac_ext >&5
31862
31863ac_cv_val_LC_MESSAGES=no
31864fi
31865rm -f conftest.err conftest.$ac_objext \
31866      conftest$ac_exeext conftest.$ac_ext
31867fi
31868echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31869echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31870    if test $ac_cv_val_LC_MESSAGES = yes; then
31871
31872cat >>confdefs.h <<\_ACEOF
31873#define HAVE_LC_MESSAGES 1
31874_ACEOF
31875
31876    fi
31877
31878fi
31879
31880
31881
31882
31883  cat >conftest.$ac_ext <<_ACEOF
31884/* confdefs.h.  */
31885_ACEOF
31886cat confdefs.h >>conftest.$ac_ext
31887cat >>conftest.$ac_ext <<_ACEOF
31888/* end confdefs.h.  */
31889#include <setjmp.h>
31890int
31891main ()
31892{
31893sigjmp_buf env;
31894     while (! sigsetjmp (env, 1))
31895       siglongjmp (env, 1);
31896
31897  ;
31898  return 0;
31899}
31900_ACEOF
31901rm -f conftest.$ac_objext
31902if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31903  (eval $ac_compile) 2>conftest.er1
31904  ac_status=$?
31905  grep -v '^ *+' conftest.er1 >conftest.err
31906  rm -f conftest.er1
31907  cat conftest.err >&5
31908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909  (exit $ac_status); } &&
31910	 { ac_try='test -z "$ac_c_werror_flag"
31911			 || test ! -s conftest.err'
31912  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913  (eval $ac_try) 2>&5
31914  ac_status=$?
31915  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916  (exit $ac_status); }; } &&
31917	 { ac_try='test -s conftest.$ac_objext'
31918  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919  (eval $ac_try) 2>&5
31920  ac_status=$?
31921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922  (exit $ac_status); }; }; then
31923
31924cat >>confdefs.h <<\_ACEOF
31925#define HAVE_SIGSETJMP 1
31926_ACEOF
31927
31928else
31929  echo "$as_me: failed program was:" >&5
31930sed 's/^/| /' conftest.$ac_ext >&5
31931
31932fi
31933rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31934
31935  if test x$gcc_no_link = xyes; then
31936  if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31937    ac_cv_func_mmap_fixed_mapped=no
31938  fi
31939fi
31940if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31941
31942
31943for ac_header in stdlib.h unistd.h
31944do
31945as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31946if eval "test \"\${$as_ac_Header+set}\" = set"; then
31947  echo "$as_me:$LINENO: checking for $ac_header" >&5
31948echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31949if eval "test \"\${$as_ac_Header+set}\" = set"; then
31950  echo $ECHO_N "(cached) $ECHO_C" >&6
31951fi
31952echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31953echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31954else
31955  # Is the header compilable?
31956echo "$as_me:$LINENO: checking $ac_header usability" >&5
31957echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31958cat >conftest.$ac_ext <<_ACEOF
31959/* confdefs.h.  */
31960_ACEOF
31961cat confdefs.h >>conftest.$ac_ext
31962cat >>conftest.$ac_ext <<_ACEOF
31963/* end confdefs.h.  */
31964$ac_includes_default
31965#include <$ac_header>
31966_ACEOF
31967rm -f conftest.$ac_objext
31968if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31969  (eval $ac_compile) 2>conftest.er1
31970  ac_status=$?
31971  grep -v '^ *+' conftest.er1 >conftest.err
31972  rm -f conftest.er1
31973  cat conftest.err >&5
31974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975  (exit $ac_status); } &&
31976	 { ac_try='test -z "$ac_c_werror_flag"
31977			 || test ! -s conftest.err'
31978  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979  (eval $ac_try) 2>&5
31980  ac_status=$?
31981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982  (exit $ac_status); }; } &&
31983	 { ac_try='test -s conftest.$ac_objext'
31984  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985  (eval $ac_try) 2>&5
31986  ac_status=$?
31987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988  (exit $ac_status); }; }; then
31989  ac_header_compiler=yes
31990else
31991  echo "$as_me: failed program was:" >&5
31992sed 's/^/| /' conftest.$ac_ext >&5
31993
31994ac_header_compiler=no
31995fi
31996rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31997echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31998echo "${ECHO_T}$ac_header_compiler" >&6
31999
32000# Is the header present?
32001echo "$as_me:$LINENO: checking $ac_header presence" >&5
32002echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32003cat >conftest.$ac_ext <<_ACEOF
32004/* confdefs.h.  */
32005_ACEOF
32006cat confdefs.h >>conftest.$ac_ext
32007cat >>conftest.$ac_ext <<_ACEOF
32008/* end confdefs.h.  */
32009#include <$ac_header>
32010_ACEOF
32011if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32012  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32013  ac_status=$?
32014  grep -v '^ *+' conftest.er1 >conftest.err
32015  rm -f conftest.er1
32016  cat conftest.err >&5
32017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018  (exit $ac_status); } >/dev/null; then
32019  if test -s conftest.err; then
32020    ac_cpp_err=$ac_c_preproc_warn_flag
32021    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32022  else
32023    ac_cpp_err=
32024  fi
32025else
32026  ac_cpp_err=yes
32027fi
32028if test -z "$ac_cpp_err"; then
32029  ac_header_preproc=yes
32030else
32031  echo "$as_me: failed program was:" >&5
32032sed 's/^/| /' conftest.$ac_ext >&5
32033
32034  ac_header_preproc=no
32035fi
32036rm -f conftest.err conftest.$ac_ext
32037echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32038echo "${ECHO_T}$ac_header_preproc" >&6
32039
32040# So?  What about this header?
32041case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32042  yes:no: )
32043    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32044echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32045    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32046echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32047    ac_header_preproc=yes
32048    ;;
32049  no:yes:* )
32050    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32051echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32052    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32053echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32054    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32055echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32056    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32057echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32058    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32059echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32060    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32061echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32062    (
32063      cat <<\_ASBOX
32064## ----------------------------------------- ##
32065## Report this to the package-unused lists.  ##
32066## ----------------------------------------- ##
32067_ASBOX
32068    ) |
32069      sed "s/^/$as_me: WARNING:     /" >&2
32070    ;;
32071esac
32072echo "$as_me:$LINENO: checking for $ac_header" >&5
32073echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32074if eval "test \"\${$as_ac_Header+set}\" = set"; then
32075  echo $ECHO_N "(cached) $ECHO_C" >&6
32076else
32077  eval "$as_ac_Header=\$ac_header_preproc"
32078fi
32079echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32081
32082fi
32083if test `eval echo '${'$as_ac_Header'}'` = yes; then
32084  cat >>confdefs.h <<_ACEOF
32085#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32086_ACEOF
32087
32088fi
32089
32090done
32091
32092
32093for ac_func in getpagesize
32094do
32095as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32096echo "$as_me:$LINENO: checking for $ac_func" >&5
32097echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32098if eval "test \"\${$as_ac_var+set}\" = set"; then
32099  echo $ECHO_N "(cached) $ECHO_C" >&6
32100else
32101  if test x$gcc_no_link = xyes; then
32102  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32103echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32104   { (exit 1); exit 1; }; }
32105fi
32106cat >conftest.$ac_ext <<_ACEOF
32107/* confdefs.h.  */
32108_ACEOF
32109cat confdefs.h >>conftest.$ac_ext
32110cat >>conftest.$ac_ext <<_ACEOF
32111/* end confdefs.h.  */
32112/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32113   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32114#define $ac_func innocuous_$ac_func
32115
32116/* System header to define __stub macros and hopefully few prototypes,
32117    which can conflict with char $ac_func (); below.
32118    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32119    <limits.h> exists even on freestanding compilers.  */
32120
32121#ifdef __STDC__
32122# include <limits.h>
32123#else
32124# include <assert.h>
32125#endif
32126
32127#undef $ac_func
32128
32129/* Override any gcc2 internal prototype to avoid an error.  */
32130#ifdef __cplusplus
32131extern "C"
32132{
32133#endif
32134/* We use char because int might match the return type of a gcc2
32135   builtin and then its argument prototype would still apply.  */
32136char $ac_func ();
32137/* The GNU C library defines this for functions which it implements
32138    to always fail with ENOSYS.  Some functions are actually named
32139    something starting with __ and the normal name is an alias.  */
32140#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32141choke me
32142#else
32143char (*f) () = $ac_func;
32144#endif
32145#ifdef __cplusplus
32146}
32147#endif
32148
32149int
32150main ()
32151{
32152return f != $ac_func;
32153  ;
32154  return 0;
32155}
32156_ACEOF
32157rm -f conftest.$ac_objext conftest$ac_exeext
32158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32159  (eval $ac_link) 2>conftest.er1
32160  ac_status=$?
32161  grep -v '^ *+' conftest.er1 >conftest.err
32162  rm -f conftest.er1
32163  cat conftest.err >&5
32164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165  (exit $ac_status); } &&
32166	 { ac_try='test -z "$ac_c_werror_flag"
32167			 || test ! -s conftest.err'
32168  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169  (eval $ac_try) 2>&5
32170  ac_status=$?
32171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172  (exit $ac_status); }; } &&
32173	 { ac_try='test -s conftest$ac_exeext'
32174  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175  (eval $ac_try) 2>&5
32176  ac_status=$?
32177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178  (exit $ac_status); }; }; then
32179  eval "$as_ac_var=yes"
32180else
32181  echo "$as_me: failed program was:" >&5
32182sed 's/^/| /' conftest.$ac_ext >&5
32183
32184eval "$as_ac_var=no"
32185fi
32186rm -f conftest.err conftest.$ac_objext \
32187      conftest$ac_exeext conftest.$ac_ext
32188fi
32189echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32190echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32191if test `eval echo '${'$as_ac_var'}'` = yes; then
32192  cat >>confdefs.h <<_ACEOF
32193#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32194_ACEOF
32195
32196fi
32197done
32198
32199echo "$as_me:$LINENO: checking for working mmap" >&5
32200echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32201if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32202  echo $ECHO_N "(cached) $ECHO_C" >&6
32203else
32204  if test "$cross_compiling" = yes; then
32205  ac_cv_func_mmap_fixed_mapped=no
32206else
32207  cat >conftest.$ac_ext <<_ACEOF
32208/* confdefs.h.  */
32209_ACEOF
32210cat confdefs.h >>conftest.$ac_ext
32211cat >>conftest.$ac_ext <<_ACEOF
32212/* end confdefs.h.  */
32213$ac_includes_default
32214/* malloc might have been renamed as rpl_malloc. */
32215#undef malloc
32216
32217/* Thanks to Mike Haertel and Jim Avera for this test.
32218   Here is a matrix of mmap possibilities:
32219	mmap private not fixed
32220	mmap private fixed at somewhere currently unmapped
32221	mmap private fixed at somewhere already mapped
32222	mmap shared not fixed
32223	mmap shared fixed at somewhere currently unmapped
32224	mmap shared fixed at somewhere already mapped
32225   For private mappings, we should verify that changes cannot be read()
32226   back from the file, nor mmap's back from the file at a different
32227   address.  (There have been systems where private was not correctly
32228   implemented like the infamous i386 svr4.0, and systems where the
32229   VM page cache was not coherent with the file system buffer cache
32230   like early versions of FreeBSD and possibly contemporary NetBSD.)
32231   For shared mappings, we should conversely verify that changes get
32232   propagated back to all the places they're supposed to be.
32233
32234   Grep wants private fixed already mapped.
32235   The main things grep needs to know about mmap are:
32236   * does it exist and is it safe to write into the mmap'd area
32237   * how to use it (BSD variants)  */
32238
32239#include <fcntl.h>
32240#include <sys/mman.h>
32241
32242#if !STDC_HEADERS && !HAVE_STDLIB_H
32243char *malloc ();
32244#endif
32245
32246/* This mess was copied from the GNU getpagesize.h.  */
32247#if !HAVE_GETPAGESIZE
32248/* Assume that all systems that can run configure have sys/param.h.  */
32249# if !HAVE_SYS_PARAM_H
32250#  define HAVE_SYS_PARAM_H 1
32251# endif
32252
32253# ifdef _SC_PAGESIZE
32254#  define getpagesize() sysconf(_SC_PAGESIZE)
32255# else /* no _SC_PAGESIZE */
32256#  if HAVE_SYS_PARAM_H
32257#   include <sys/param.h>
32258#   ifdef EXEC_PAGESIZE
32259#    define getpagesize() EXEC_PAGESIZE
32260#   else /* no EXEC_PAGESIZE */
32261#    ifdef NBPG
32262#     define getpagesize() NBPG * CLSIZE
32263#     ifndef CLSIZE
32264#      define CLSIZE 1
32265#     endif /* no CLSIZE */
32266#    else /* no NBPG */
32267#     ifdef NBPC
32268#      define getpagesize() NBPC
32269#     else /* no NBPC */
32270#      ifdef PAGESIZE
32271#       define getpagesize() PAGESIZE
32272#      endif /* PAGESIZE */
32273#     endif /* no NBPC */
32274#    endif /* no NBPG */
32275#   endif /* no EXEC_PAGESIZE */
32276#  else /* no HAVE_SYS_PARAM_H */
32277#   define getpagesize() 8192	/* punt totally */
32278#  endif /* no HAVE_SYS_PARAM_H */
32279# endif /* no _SC_PAGESIZE */
32280
32281#endif /* no HAVE_GETPAGESIZE */
32282
32283int
32284main ()
32285{
32286  char *data, *data2, *data3;
32287  int i, pagesize;
32288  int fd;
32289
32290  pagesize = getpagesize ();
32291
32292  /* First, make a file with some known garbage in it. */
32293  data = (char *) malloc (pagesize);
32294  if (!data)
32295    exit (1);
32296  for (i = 0; i < pagesize; ++i)
32297    *(data + i) = rand ();
32298  umask (0);
32299  fd = creat ("conftest.mmap", 0600);
32300  if (fd < 0)
32301    exit (1);
32302  if (write (fd, data, pagesize) != pagesize)
32303    exit (1);
32304  close (fd);
32305
32306  /* Next, try to mmap the file at a fixed address which already has
32307     something else allocated at it.  If we can, also make sure that
32308     we see the same garbage.  */
32309  fd = open ("conftest.mmap", O_RDWR);
32310  if (fd < 0)
32311    exit (1);
32312  data2 = (char *) malloc (2 * pagesize);
32313  if (!data2)
32314    exit (1);
32315  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32316  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32317		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
32318    exit (1);
32319  for (i = 0; i < pagesize; ++i)
32320    if (*(data + i) != *(data2 + i))
32321      exit (1);
32322
32323  /* Finally, make sure that changes to the mapped area do not
32324     percolate back to the file as seen by read().  (This is a bug on
32325     some variants of i386 svr4.0.)  */
32326  for (i = 0; i < pagesize; ++i)
32327    *(data2 + i) = *(data2 + i) + 1;
32328  data3 = (char *) malloc (pagesize);
32329  if (!data3)
32330    exit (1);
32331  if (read (fd, data3, pagesize) != pagesize)
32332    exit (1);
32333  for (i = 0; i < pagesize; ++i)
32334    if (*(data + i) != *(data3 + i))
32335      exit (1);
32336  close (fd);
32337  exit (0);
32338}
32339_ACEOF
32340rm -f conftest$ac_exeext
32341if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32342  (eval $ac_link) 2>&5
32343  ac_status=$?
32344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32347  (eval $ac_try) 2>&5
32348  ac_status=$?
32349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350  (exit $ac_status); }; }; then
32351  ac_cv_func_mmap_fixed_mapped=yes
32352else
32353  echo "$as_me: program exited with status $ac_status" >&5
32354echo "$as_me: failed program was:" >&5
32355sed 's/^/| /' conftest.$ac_ext >&5
32356
32357( exit $ac_status )
32358ac_cv_func_mmap_fixed_mapped=no
32359fi
32360rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32361fi
32362fi
32363echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32364echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32365if test $ac_cv_func_mmap_fixed_mapped = yes; then
32366
32367cat >>confdefs.h <<\_ACEOF
32368#define HAVE_MMAP 1
32369_ACEOF
32370
32371fi
32372rm -f conftest.mmap
32373
32374fi
32375
32376else
32377
32378  # This lets us hard-code the functionality we know we'll have in the cross
32379  # target environment.  "Let" is a sugar-coated word placed on an especially
32380  # dull and tedious hack, actually.
32381  #
32382  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32383  # that involve linking, can't be used:
32384  #    "cannot open sim-crt0.o"
32385  #    "cannot open crt0.o"
32386  # etc.  All this is because there currently exists no unified, consistent
32387  # way for top level CC information to be passed down to target directories:
32388  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32389  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32390  # crosses can be removed.
32391
32392  # If Canadian cross, then don't pick up tools from the build directory.
32393  # Used only in GLIBCXX_EXPORT_INCLUDES.
32394  if test -n "$with_cross_host" &&
32395     test x"$build_alias" != x"$with_cross_host" &&
32396     test x"$build" != x"$target";
32397  then
32398    CANADIAN=yes
32399  else
32400    CANADIAN=no
32401  fi
32402
32403  # Construct crosses by hand, eliminating bits that need ld...
32404  # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32405  # GLIBCXX_CHECK_MATH_SUPPORT
32406
32407  # First, test for "known" system libraries.  We may be using newlib even
32408  # on a hosted environment.
32409  if test "x${with_newlib}" = "xyes"; then
32410    os_include_dir="os/newlib"
32411    cat >>confdefs.h <<\_ACEOF
32412#define HAVE_HYPOT 1
32413_ACEOF
32414
32415
32416    # GLIBCXX_CHECK_STDLIB_SUPPORT
32417    cat >>confdefs.h <<\_ACEOF
32418#define HAVE_STRTOF 1
32419_ACEOF
32420
32421    # AC_FUNC_MMAP
32422    cat >>confdefs.h <<\_ACEOF
32423#define HAVE_MMAP 1
32424_ACEOF
32425
32426
32427    cat >>confdefs.h <<\_ACEOF
32428#define HAVE_ACOSF 1
32429_ACEOF
32430
32431    cat >>confdefs.h <<\_ACEOF
32432#define HAVE_ASINF 1
32433_ACEOF
32434
32435    cat >>confdefs.h <<\_ACEOF
32436#define HAVE_ATAN2F 1
32437_ACEOF
32438
32439    cat >>confdefs.h <<\_ACEOF
32440#define HAVE_ATANF 1
32441_ACEOF
32442
32443    cat >>confdefs.h <<\_ACEOF
32444#define HAVE_CEILF 1
32445_ACEOF
32446
32447    cat >>confdefs.h <<\_ACEOF
32448#define HAVE_COPYSIGN 1
32449_ACEOF
32450
32451    cat >>confdefs.h <<\_ACEOF
32452#define HAVE_COPYSIGNF 1
32453_ACEOF
32454
32455    cat >>confdefs.h <<\_ACEOF
32456#define HAVE_COSF 1
32457_ACEOF
32458
32459    cat >>confdefs.h <<\_ACEOF
32460#define HAVE_COSHF 1
32461_ACEOF
32462
32463    cat >>confdefs.h <<\_ACEOF
32464#define HAVE_EXPF 1
32465_ACEOF
32466
32467    cat >>confdefs.h <<\_ACEOF
32468#define HAVE_FABSF 1
32469_ACEOF
32470
32471    cat >>confdefs.h <<\_ACEOF
32472#define HAVE_FLOORF 1
32473_ACEOF
32474
32475    cat >>confdefs.h <<\_ACEOF
32476#define HAVE_FMODF 1
32477_ACEOF
32478
32479    cat >>confdefs.h <<\_ACEOF
32480#define HAVE_FREXPF 1
32481_ACEOF
32482
32483    cat >>confdefs.h <<\_ACEOF
32484#define HAVE_LDEXPF 1
32485_ACEOF
32486
32487    cat >>confdefs.h <<\_ACEOF
32488#define HAVE_LOG10F 1
32489_ACEOF
32490
32491    cat >>confdefs.h <<\_ACEOF
32492#define HAVE_LOGF 1
32493_ACEOF
32494
32495    cat >>confdefs.h <<\_ACEOF
32496#define HAVE_MODFF 1
32497_ACEOF
32498
32499    cat >>confdefs.h <<\_ACEOF
32500#define HAVE_POWF 1
32501_ACEOF
32502
32503    cat >>confdefs.h <<\_ACEOF
32504#define HAVE_SINF 1
32505_ACEOF
32506
32507    cat >>confdefs.h <<\_ACEOF
32508#define HAVE_SINHF 1
32509_ACEOF
32510
32511    cat >>confdefs.h <<\_ACEOF
32512#define HAVE_SQRTF 1
32513_ACEOF
32514
32515    cat >>confdefs.h <<\_ACEOF
32516#define HAVE_TANF 1
32517_ACEOF
32518
32519    cat >>confdefs.h <<\_ACEOF
32520#define HAVE_TANHF 1
32521_ACEOF
32522
32523
32524    cat >>confdefs.h <<\_ACEOF
32525#define HAVE_S_ISREG 1
32526_ACEOF
32527
32528    cat >>confdefs.h <<\_ACEOF
32529#define HAVE_S_IFREG 1
32530_ACEOF
32531
32532  else
32533
32534# Base decisions on target environment.
32535case "${host}" in
32536  arm*-*-symbianelf*)
32537    # This is a freestanding configuration; there is nothing to do here.
32538    ;;
32539
32540  *-darwin*)
32541    # Darwin versions vary, but the linker should work in a cross environment,
32542    # so we just check for all the features here.
32543    # Check for available headers.
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32558    machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32559    sys/types.h
32560do
32561as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32562if eval "test \"\${$as_ac_Header+set}\" = set"; then
32563  echo "$as_me:$LINENO: checking for $ac_header" >&5
32564echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32565if eval "test \"\${$as_ac_Header+set}\" = set"; then
32566  echo $ECHO_N "(cached) $ECHO_C" >&6
32567fi
32568echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32569echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32570else
32571  # Is the header compilable?
32572echo "$as_me:$LINENO: checking $ac_header usability" >&5
32573echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32574cat >conftest.$ac_ext <<_ACEOF
32575/* confdefs.h.  */
32576_ACEOF
32577cat confdefs.h >>conftest.$ac_ext
32578cat >>conftest.$ac_ext <<_ACEOF
32579/* end confdefs.h.  */
32580$ac_includes_default
32581#include <$ac_header>
32582_ACEOF
32583rm -f conftest.$ac_objext
32584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32585  (eval $ac_compile) 2>conftest.er1
32586  ac_status=$?
32587  grep -v '^ *+' conftest.er1 >conftest.err
32588  rm -f conftest.er1
32589  cat conftest.err >&5
32590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591  (exit $ac_status); } &&
32592	 { ac_try='test -z "$ac_c_werror_flag"
32593			 || test ! -s conftest.err'
32594  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595  (eval $ac_try) 2>&5
32596  ac_status=$?
32597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598  (exit $ac_status); }; } &&
32599	 { ac_try='test -s conftest.$ac_objext'
32600  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601  (eval $ac_try) 2>&5
32602  ac_status=$?
32603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604  (exit $ac_status); }; }; then
32605  ac_header_compiler=yes
32606else
32607  echo "$as_me: failed program was:" >&5
32608sed 's/^/| /' conftest.$ac_ext >&5
32609
32610ac_header_compiler=no
32611fi
32612rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32613echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32614echo "${ECHO_T}$ac_header_compiler" >&6
32615
32616# Is the header present?
32617echo "$as_me:$LINENO: checking $ac_header presence" >&5
32618echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32619cat >conftest.$ac_ext <<_ACEOF
32620/* confdefs.h.  */
32621_ACEOF
32622cat confdefs.h >>conftest.$ac_ext
32623cat >>conftest.$ac_ext <<_ACEOF
32624/* end confdefs.h.  */
32625#include <$ac_header>
32626_ACEOF
32627if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32628  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32629  ac_status=$?
32630  grep -v '^ *+' conftest.er1 >conftest.err
32631  rm -f conftest.er1
32632  cat conftest.err >&5
32633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634  (exit $ac_status); } >/dev/null; then
32635  if test -s conftest.err; then
32636    ac_cpp_err=$ac_c_preproc_warn_flag
32637    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32638  else
32639    ac_cpp_err=
32640  fi
32641else
32642  ac_cpp_err=yes
32643fi
32644if test -z "$ac_cpp_err"; then
32645  ac_header_preproc=yes
32646else
32647  echo "$as_me: failed program was:" >&5
32648sed 's/^/| /' conftest.$ac_ext >&5
32649
32650  ac_header_preproc=no
32651fi
32652rm -f conftest.err conftest.$ac_ext
32653echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32654echo "${ECHO_T}$ac_header_preproc" >&6
32655
32656# So?  What about this header?
32657case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32658  yes:no: )
32659    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32660echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32661    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32662echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32663    ac_header_preproc=yes
32664    ;;
32665  no:yes:* )
32666    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32667echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32668    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32669echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32670    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32671echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32672    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32673echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32674    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32675echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32676    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32677echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32678    (
32679      cat <<\_ASBOX
32680## ----------------------------------------- ##
32681## Report this to the package-unused lists.  ##
32682## ----------------------------------------- ##
32683_ASBOX
32684    ) |
32685      sed "s/^/$as_me: WARNING:     /" >&2
32686    ;;
32687esac
32688echo "$as_me:$LINENO: checking for $ac_header" >&5
32689echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32690if eval "test \"\${$as_ac_Header+set}\" = set"; then
32691  echo $ECHO_N "(cached) $ECHO_C" >&6
32692else
32693  eval "$as_ac_Header=\$ac_header_preproc"
32694fi
32695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32696echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32697
32698fi
32699if test `eval echo '${'$as_ac_Header'}'` = yes; then
32700  cat >>confdefs.h <<_ACEOF
32701#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32702_ACEOF
32703
32704fi
32705
32706done
32707
32708
32709    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32710
32711  ac_test_CXXFLAGS="${CXXFLAGS+set}"
32712  ac_save_CXXFLAGS="$CXXFLAGS"
32713  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32714
32715    echo "$as_me:$LINENO: checking for sin in -lm" >&5
32716echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32717if test "${ac_cv_lib_m_sin+set}" = set; then
32718  echo $ECHO_N "(cached) $ECHO_C" >&6
32719else
32720  ac_check_lib_save_LIBS=$LIBS
32721LIBS="-lm  $LIBS"
32722if test x$gcc_no_link = xyes; then
32723  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32724echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32725   { (exit 1); exit 1; }; }
32726fi
32727cat >conftest.$ac_ext <<_ACEOF
32728/* confdefs.h.  */
32729_ACEOF
32730cat confdefs.h >>conftest.$ac_ext
32731cat >>conftest.$ac_ext <<_ACEOF
32732/* end confdefs.h.  */
32733
32734/* Override any gcc2 internal prototype to avoid an error.  */
32735#ifdef __cplusplus
32736extern "C"
32737#endif
32738/* We use char because int might match the return type of a gcc2
32739   builtin and then its argument prototype would still apply.  */
32740char sin ();
32741int
32742main ()
32743{
32744sin ();
32745  ;
32746  return 0;
32747}
32748_ACEOF
32749rm -f conftest.$ac_objext conftest$ac_exeext
32750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32751  (eval $ac_link) 2>conftest.er1
32752  ac_status=$?
32753  grep -v '^ *+' conftest.er1 >conftest.err
32754  rm -f conftest.er1
32755  cat conftest.err >&5
32756  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757  (exit $ac_status); } &&
32758	 { ac_try='test -z "$ac_c_werror_flag"
32759			 || test ! -s conftest.err'
32760  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761  (eval $ac_try) 2>&5
32762  ac_status=$?
32763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764  (exit $ac_status); }; } &&
32765	 { ac_try='test -s conftest$ac_exeext'
32766  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767  (eval $ac_try) 2>&5
32768  ac_status=$?
32769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770  (exit $ac_status); }; }; then
32771  ac_cv_lib_m_sin=yes
32772else
32773  echo "$as_me: failed program was:" >&5
32774sed 's/^/| /' conftest.$ac_ext >&5
32775
32776ac_cv_lib_m_sin=no
32777fi
32778rm -f conftest.err conftest.$ac_objext \
32779      conftest$ac_exeext conftest.$ac_ext
32780LIBS=$ac_check_lib_save_LIBS
32781fi
32782echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32783echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32784if test $ac_cv_lib_m_sin = yes; then
32785  libm="-lm"
32786fi
32787
32788  ac_save_LIBS="$LIBS"
32789  LIBS="$LIBS $libm"
32790
32791
32792
32793  echo "$as_me:$LINENO: checking for isinf declaration" >&5
32794echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32795  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32796    if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32797  echo $ECHO_N "(cached) $ECHO_C" >&6
32798else
32799
32800
32801
32802      ac_ext=cc
32803ac_cpp='$CXXCPP $CPPFLAGS'
32804ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32807
32808      cat >conftest.$ac_ext <<_ACEOF
32809/* confdefs.h.  */
32810_ACEOF
32811cat confdefs.h >>conftest.$ac_ext
32812cat >>conftest.$ac_ext <<_ACEOF
32813/* end confdefs.h.  */
32814#include <math.h>
32815		      #ifdef HAVE_IEEEFP_H
32816		      #include <ieeefp.h>
32817		      #endif
32818
32819int
32820main ()
32821{
32822 isinf(0);
32823  ;
32824  return 0;
32825}
32826_ACEOF
32827rm -f conftest.$ac_objext
32828if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32829  (eval $ac_compile) 2>conftest.er1
32830  ac_status=$?
32831  grep -v '^ *+' conftest.er1 >conftest.err
32832  rm -f conftest.er1
32833  cat conftest.err >&5
32834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835  (exit $ac_status); } &&
32836	 { ac_try='test -z "$ac_cxx_werror_flag"
32837			 || test ! -s conftest.err'
32838  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839  (eval $ac_try) 2>&5
32840  ac_status=$?
32841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842  (exit $ac_status); }; } &&
32843	 { ac_try='test -s conftest.$ac_objext'
32844  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32845  (eval $ac_try) 2>&5
32846  ac_status=$?
32847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848  (exit $ac_status); }; }; then
32849  glibcxx_cv_func_isinf_use=yes
32850else
32851  echo "$as_me: failed program was:" >&5
32852sed 's/^/| /' conftest.$ac_ext >&5
32853
32854glibcxx_cv_func_isinf_use=no
32855fi
32856rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32857      ac_ext=c
32858ac_cpp='$CPP $CPPFLAGS'
32859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861ac_compiler_gnu=$ac_cv_c_compiler_gnu
32862
32863
32864fi
32865
32866  fi
32867  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32868echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32869
32870  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32871
32872for ac_func in isinf
32873do
32874as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32875echo "$as_me:$LINENO: checking for $ac_func" >&5
32876echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32877if eval "test \"\${$as_ac_var+set}\" = set"; then
32878  echo $ECHO_N "(cached) $ECHO_C" >&6
32879else
32880  if test x$gcc_no_link = xyes; then
32881  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32882echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32883   { (exit 1); exit 1; }; }
32884fi
32885cat >conftest.$ac_ext <<_ACEOF
32886/* confdefs.h.  */
32887_ACEOF
32888cat confdefs.h >>conftest.$ac_ext
32889cat >>conftest.$ac_ext <<_ACEOF
32890/* end confdefs.h.  */
32891/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32892   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32893#define $ac_func innocuous_$ac_func
32894
32895/* System header to define __stub macros and hopefully few prototypes,
32896    which can conflict with char $ac_func (); below.
32897    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32898    <limits.h> exists even on freestanding compilers.  */
32899
32900#ifdef __STDC__
32901# include <limits.h>
32902#else
32903# include <assert.h>
32904#endif
32905
32906#undef $ac_func
32907
32908/* Override any gcc2 internal prototype to avoid an error.  */
32909#ifdef __cplusplus
32910extern "C"
32911{
32912#endif
32913/* We use char because int might match the return type of a gcc2
32914   builtin and then its argument prototype would still apply.  */
32915char $ac_func ();
32916/* The GNU C library defines this for functions which it implements
32917    to always fail with ENOSYS.  Some functions are actually named
32918    something starting with __ and the normal name is an alias.  */
32919#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32920choke me
32921#else
32922char (*f) () = $ac_func;
32923#endif
32924#ifdef __cplusplus
32925}
32926#endif
32927
32928int
32929main ()
32930{
32931return f != $ac_func;
32932  ;
32933  return 0;
32934}
32935_ACEOF
32936rm -f conftest.$ac_objext conftest$ac_exeext
32937if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32938  (eval $ac_link) 2>conftest.er1
32939  ac_status=$?
32940  grep -v '^ *+' conftest.er1 >conftest.err
32941  rm -f conftest.er1
32942  cat conftest.err >&5
32943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944  (exit $ac_status); } &&
32945	 { ac_try='test -z "$ac_c_werror_flag"
32946			 || test ! -s conftest.err'
32947  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948  (eval $ac_try) 2>&5
32949  ac_status=$?
32950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951  (exit $ac_status); }; } &&
32952	 { ac_try='test -s conftest$ac_exeext'
32953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954  (eval $ac_try) 2>&5
32955  ac_status=$?
32956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957  (exit $ac_status); }; }; then
32958  eval "$as_ac_var=yes"
32959else
32960  echo "$as_me: failed program was:" >&5
32961sed 's/^/| /' conftest.$ac_ext >&5
32962
32963eval "$as_ac_var=no"
32964fi
32965rm -f conftest.err conftest.$ac_objext \
32966      conftest$ac_exeext conftest.$ac_ext
32967fi
32968echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32969echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32970if test `eval echo '${'$as_ac_var'}'` = yes; then
32971  cat >>confdefs.h <<_ACEOF
32972#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32973_ACEOF
32974
32975fi
32976done
32977
32978  else
32979
32980  echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32981echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32982  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32983    if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32984  echo $ECHO_N "(cached) $ECHO_C" >&6
32985else
32986
32987
32988
32989      ac_ext=cc
32990ac_cpp='$CXXCPP $CPPFLAGS'
32991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32994
32995      cat >conftest.$ac_ext <<_ACEOF
32996/* confdefs.h.  */
32997_ACEOF
32998cat confdefs.h >>conftest.$ac_ext
32999cat >>conftest.$ac_ext <<_ACEOF
33000/* end confdefs.h.  */
33001#include <math.h>
33002		      #ifdef HAVE_IEEEFP_H
33003		      #include <ieeefp.h>
33004		      #endif
33005
33006int
33007main ()
33008{
33009 _isinf(0);
33010  ;
33011  return 0;
33012}
33013_ACEOF
33014rm -f conftest.$ac_objext
33015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33016  (eval $ac_compile) 2>conftest.er1
33017  ac_status=$?
33018  grep -v '^ *+' conftest.er1 >conftest.err
33019  rm -f conftest.er1
33020  cat conftest.err >&5
33021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022  (exit $ac_status); } &&
33023	 { ac_try='test -z "$ac_cxx_werror_flag"
33024			 || test ! -s conftest.err'
33025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026  (eval $ac_try) 2>&5
33027  ac_status=$?
33028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029  (exit $ac_status); }; } &&
33030	 { ac_try='test -s conftest.$ac_objext'
33031  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032  (eval $ac_try) 2>&5
33033  ac_status=$?
33034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035  (exit $ac_status); }; }; then
33036  glibcxx_cv_func__isinf_use=yes
33037else
33038  echo "$as_me: failed program was:" >&5
33039sed 's/^/| /' conftest.$ac_ext >&5
33040
33041glibcxx_cv_func__isinf_use=no
33042fi
33043rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33044      ac_ext=c
33045ac_cpp='$CPP $CPPFLAGS'
33046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048ac_compiler_gnu=$ac_cv_c_compiler_gnu
33049
33050
33051fi
33052
33053  fi
33054  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33055echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33056
33057    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33058
33059for ac_func in _isinf
33060do
33061as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33062echo "$as_me:$LINENO: checking for $ac_func" >&5
33063echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33064if eval "test \"\${$as_ac_var+set}\" = set"; then
33065  echo $ECHO_N "(cached) $ECHO_C" >&6
33066else
33067  if test x$gcc_no_link = xyes; then
33068  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33069echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33070   { (exit 1); exit 1; }; }
33071fi
33072cat >conftest.$ac_ext <<_ACEOF
33073/* confdefs.h.  */
33074_ACEOF
33075cat confdefs.h >>conftest.$ac_ext
33076cat >>conftest.$ac_ext <<_ACEOF
33077/* end confdefs.h.  */
33078/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33079   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33080#define $ac_func innocuous_$ac_func
33081
33082/* System header to define __stub macros and hopefully few prototypes,
33083    which can conflict with char $ac_func (); below.
33084    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33085    <limits.h> exists even on freestanding compilers.  */
33086
33087#ifdef __STDC__
33088# include <limits.h>
33089#else
33090# include <assert.h>
33091#endif
33092
33093#undef $ac_func
33094
33095/* Override any gcc2 internal prototype to avoid an error.  */
33096#ifdef __cplusplus
33097extern "C"
33098{
33099#endif
33100/* We use char because int might match the return type of a gcc2
33101   builtin and then its argument prototype would still apply.  */
33102char $ac_func ();
33103/* The GNU C library defines this for functions which it implements
33104    to always fail with ENOSYS.  Some functions are actually named
33105    something starting with __ and the normal name is an alias.  */
33106#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33107choke me
33108#else
33109char (*f) () = $ac_func;
33110#endif
33111#ifdef __cplusplus
33112}
33113#endif
33114
33115int
33116main ()
33117{
33118return f != $ac_func;
33119  ;
33120  return 0;
33121}
33122_ACEOF
33123rm -f conftest.$ac_objext conftest$ac_exeext
33124if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33125  (eval $ac_link) 2>conftest.er1
33126  ac_status=$?
33127  grep -v '^ *+' conftest.er1 >conftest.err
33128  rm -f conftest.er1
33129  cat conftest.err >&5
33130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131  (exit $ac_status); } &&
33132	 { ac_try='test -z "$ac_c_werror_flag"
33133			 || test ! -s conftest.err'
33134  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33135  (eval $ac_try) 2>&5
33136  ac_status=$?
33137  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138  (exit $ac_status); }; } &&
33139	 { ac_try='test -s conftest$ac_exeext'
33140  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33141  (eval $ac_try) 2>&5
33142  ac_status=$?
33143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144  (exit $ac_status); }; }; then
33145  eval "$as_ac_var=yes"
33146else
33147  echo "$as_me: failed program was:" >&5
33148sed 's/^/| /' conftest.$ac_ext >&5
33149
33150eval "$as_ac_var=no"
33151fi
33152rm -f conftest.err conftest.$ac_objext \
33153      conftest$ac_exeext conftest.$ac_ext
33154fi
33155echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33156echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33157if test `eval echo '${'$as_ac_var'}'` = yes; then
33158  cat >>confdefs.h <<_ACEOF
33159#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33160_ACEOF
33161
33162fi
33163done
33164
33165    fi
33166  fi
33167
33168
33169
33170
33171
33172
33173  echo "$as_me:$LINENO: checking for isnan declaration" >&5
33174echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33175  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33176    if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33177  echo $ECHO_N "(cached) $ECHO_C" >&6
33178else
33179
33180
33181
33182      ac_ext=cc
33183ac_cpp='$CXXCPP $CPPFLAGS'
33184ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33185ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33186ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33187
33188      cat >conftest.$ac_ext <<_ACEOF
33189/* confdefs.h.  */
33190_ACEOF
33191cat confdefs.h >>conftest.$ac_ext
33192cat >>conftest.$ac_ext <<_ACEOF
33193/* end confdefs.h.  */
33194#include <math.h>
33195		      #ifdef HAVE_IEEEFP_H
33196		      #include <ieeefp.h>
33197		      #endif
33198
33199int
33200main ()
33201{
33202 isnan(0);
33203  ;
33204  return 0;
33205}
33206_ACEOF
33207rm -f conftest.$ac_objext
33208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33209  (eval $ac_compile) 2>conftest.er1
33210  ac_status=$?
33211  grep -v '^ *+' conftest.er1 >conftest.err
33212  rm -f conftest.er1
33213  cat conftest.err >&5
33214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215  (exit $ac_status); } &&
33216	 { ac_try='test -z "$ac_cxx_werror_flag"
33217			 || test ! -s conftest.err'
33218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219  (eval $ac_try) 2>&5
33220  ac_status=$?
33221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222  (exit $ac_status); }; } &&
33223	 { ac_try='test -s conftest.$ac_objext'
33224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225  (eval $ac_try) 2>&5
33226  ac_status=$?
33227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228  (exit $ac_status); }; }; then
33229  glibcxx_cv_func_isnan_use=yes
33230else
33231  echo "$as_me: failed program was:" >&5
33232sed 's/^/| /' conftest.$ac_ext >&5
33233
33234glibcxx_cv_func_isnan_use=no
33235fi
33236rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33237      ac_ext=c
33238ac_cpp='$CPP $CPPFLAGS'
33239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241ac_compiler_gnu=$ac_cv_c_compiler_gnu
33242
33243
33244fi
33245
33246  fi
33247  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33248echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33249
33250  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33251
33252for ac_func in isnan
33253do
33254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33255echo "$as_me:$LINENO: checking for $ac_func" >&5
33256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33257if eval "test \"\${$as_ac_var+set}\" = set"; then
33258  echo $ECHO_N "(cached) $ECHO_C" >&6
33259else
33260  if test x$gcc_no_link = xyes; then
33261  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33262echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33263   { (exit 1); exit 1; }; }
33264fi
33265cat >conftest.$ac_ext <<_ACEOF
33266/* confdefs.h.  */
33267_ACEOF
33268cat confdefs.h >>conftest.$ac_ext
33269cat >>conftest.$ac_ext <<_ACEOF
33270/* end confdefs.h.  */
33271/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33272   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33273#define $ac_func innocuous_$ac_func
33274
33275/* System header to define __stub macros and hopefully few prototypes,
33276    which can conflict with char $ac_func (); below.
33277    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33278    <limits.h> exists even on freestanding compilers.  */
33279
33280#ifdef __STDC__
33281# include <limits.h>
33282#else
33283# include <assert.h>
33284#endif
33285
33286#undef $ac_func
33287
33288/* Override any gcc2 internal prototype to avoid an error.  */
33289#ifdef __cplusplus
33290extern "C"
33291{
33292#endif
33293/* We use char because int might match the return type of a gcc2
33294   builtin and then its argument prototype would still apply.  */
33295char $ac_func ();
33296/* The GNU C library defines this for functions which it implements
33297    to always fail with ENOSYS.  Some functions are actually named
33298    something starting with __ and the normal name is an alias.  */
33299#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33300choke me
33301#else
33302char (*f) () = $ac_func;
33303#endif
33304#ifdef __cplusplus
33305}
33306#endif
33307
33308int
33309main ()
33310{
33311return f != $ac_func;
33312  ;
33313  return 0;
33314}
33315_ACEOF
33316rm -f conftest.$ac_objext conftest$ac_exeext
33317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33318  (eval $ac_link) 2>conftest.er1
33319  ac_status=$?
33320  grep -v '^ *+' conftest.er1 >conftest.err
33321  rm -f conftest.er1
33322  cat conftest.err >&5
33323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324  (exit $ac_status); } &&
33325	 { ac_try='test -z "$ac_c_werror_flag"
33326			 || test ! -s conftest.err'
33327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328  (eval $ac_try) 2>&5
33329  ac_status=$?
33330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331  (exit $ac_status); }; } &&
33332	 { ac_try='test -s conftest$ac_exeext'
33333  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33334  (eval $ac_try) 2>&5
33335  ac_status=$?
33336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337  (exit $ac_status); }; }; then
33338  eval "$as_ac_var=yes"
33339else
33340  echo "$as_me: failed program was:" >&5
33341sed 's/^/| /' conftest.$ac_ext >&5
33342
33343eval "$as_ac_var=no"
33344fi
33345rm -f conftest.err conftest.$ac_objext \
33346      conftest$ac_exeext conftest.$ac_ext
33347fi
33348echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33349echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33350if test `eval echo '${'$as_ac_var'}'` = yes; then
33351  cat >>confdefs.h <<_ACEOF
33352#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33353_ACEOF
33354
33355fi
33356done
33357
33358  else
33359
33360  echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33361echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33362  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33363    if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33364  echo $ECHO_N "(cached) $ECHO_C" >&6
33365else
33366
33367
33368
33369      ac_ext=cc
33370ac_cpp='$CXXCPP $CPPFLAGS'
33371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33374
33375      cat >conftest.$ac_ext <<_ACEOF
33376/* confdefs.h.  */
33377_ACEOF
33378cat confdefs.h >>conftest.$ac_ext
33379cat >>conftest.$ac_ext <<_ACEOF
33380/* end confdefs.h.  */
33381#include <math.h>
33382		      #ifdef HAVE_IEEEFP_H
33383		      #include <ieeefp.h>
33384		      #endif
33385
33386int
33387main ()
33388{
33389 _isnan(0);
33390  ;
33391  return 0;
33392}
33393_ACEOF
33394rm -f conftest.$ac_objext
33395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33396  (eval $ac_compile) 2>conftest.er1
33397  ac_status=$?
33398  grep -v '^ *+' conftest.er1 >conftest.err
33399  rm -f conftest.er1
33400  cat conftest.err >&5
33401  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402  (exit $ac_status); } &&
33403	 { ac_try='test -z "$ac_cxx_werror_flag"
33404			 || test ! -s conftest.err'
33405  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406  (eval $ac_try) 2>&5
33407  ac_status=$?
33408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409  (exit $ac_status); }; } &&
33410	 { ac_try='test -s conftest.$ac_objext'
33411  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412  (eval $ac_try) 2>&5
33413  ac_status=$?
33414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415  (exit $ac_status); }; }; then
33416  glibcxx_cv_func__isnan_use=yes
33417else
33418  echo "$as_me: failed program was:" >&5
33419sed 's/^/| /' conftest.$ac_ext >&5
33420
33421glibcxx_cv_func__isnan_use=no
33422fi
33423rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33424      ac_ext=c
33425ac_cpp='$CPP $CPPFLAGS'
33426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428ac_compiler_gnu=$ac_cv_c_compiler_gnu
33429
33430
33431fi
33432
33433  fi
33434  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33435echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33436
33437    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33438
33439for ac_func in _isnan
33440do
33441as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33442echo "$as_me:$LINENO: checking for $ac_func" >&5
33443echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33444if eval "test \"\${$as_ac_var+set}\" = set"; then
33445  echo $ECHO_N "(cached) $ECHO_C" >&6
33446else
33447  if test x$gcc_no_link = xyes; then
33448  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33449echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33450   { (exit 1); exit 1; }; }
33451fi
33452cat >conftest.$ac_ext <<_ACEOF
33453/* confdefs.h.  */
33454_ACEOF
33455cat confdefs.h >>conftest.$ac_ext
33456cat >>conftest.$ac_ext <<_ACEOF
33457/* end confdefs.h.  */
33458/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33459   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33460#define $ac_func innocuous_$ac_func
33461
33462/* System header to define __stub macros and hopefully few prototypes,
33463    which can conflict with char $ac_func (); below.
33464    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33465    <limits.h> exists even on freestanding compilers.  */
33466
33467#ifdef __STDC__
33468# include <limits.h>
33469#else
33470# include <assert.h>
33471#endif
33472
33473#undef $ac_func
33474
33475/* Override any gcc2 internal prototype to avoid an error.  */
33476#ifdef __cplusplus
33477extern "C"
33478{
33479#endif
33480/* We use char because int might match the return type of a gcc2
33481   builtin and then its argument prototype would still apply.  */
33482char $ac_func ();
33483/* The GNU C library defines this for functions which it implements
33484    to always fail with ENOSYS.  Some functions are actually named
33485    something starting with __ and the normal name is an alias.  */
33486#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33487choke me
33488#else
33489char (*f) () = $ac_func;
33490#endif
33491#ifdef __cplusplus
33492}
33493#endif
33494
33495int
33496main ()
33497{
33498return f != $ac_func;
33499  ;
33500  return 0;
33501}
33502_ACEOF
33503rm -f conftest.$ac_objext conftest$ac_exeext
33504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33505  (eval $ac_link) 2>conftest.er1
33506  ac_status=$?
33507  grep -v '^ *+' conftest.er1 >conftest.err
33508  rm -f conftest.er1
33509  cat conftest.err >&5
33510  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33511  (exit $ac_status); } &&
33512	 { ac_try='test -z "$ac_c_werror_flag"
33513			 || test ! -s conftest.err'
33514  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515  (eval $ac_try) 2>&5
33516  ac_status=$?
33517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518  (exit $ac_status); }; } &&
33519	 { ac_try='test -s conftest$ac_exeext'
33520  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521  (eval $ac_try) 2>&5
33522  ac_status=$?
33523  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524  (exit $ac_status); }; }; then
33525  eval "$as_ac_var=yes"
33526else
33527  echo "$as_me: failed program was:" >&5
33528sed 's/^/| /' conftest.$ac_ext >&5
33529
33530eval "$as_ac_var=no"
33531fi
33532rm -f conftest.err conftest.$ac_objext \
33533      conftest$ac_exeext conftest.$ac_ext
33534fi
33535echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33536echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33537if test `eval echo '${'$as_ac_var'}'` = yes; then
33538  cat >>confdefs.h <<_ACEOF
33539#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33540_ACEOF
33541
33542fi
33543done
33544
33545    fi
33546  fi
33547
33548
33549
33550
33551
33552
33553  echo "$as_me:$LINENO: checking for finite declaration" >&5
33554echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33555  if test x${glibcxx_cv_func_finite_use+set} != xset; then
33556    if test "${glibcxx_cv_func_finite_use+set}" = set; then
33557  echo $ECHO_N "(cached) $ECHO_C" >&6
33558else
33559
33560
33561
33562      ac_ext=cc
33563ac_cpp='$CXXCPP $CPPFLAGS'
33564ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567
33568      cat >conftest.$ac_ext <<_ACEOF
33569/* confdefs.h.  */
33570_ACEOF
33571cat confdefs.h >>conftest.$ac_ext
33572cat >>conftest.$ac_ext <<_ACEOF
33573/* end confdefs.h.  */
33574#include <math.h>
33575		      #ifdef HAVE_IEEEFP_H
33576		      #include <ieeefp.h>
33577		      #endif
33578
33579int
33580main ()
33581{
33582 finite(0);
33583  ;
33584  return 0;
33585}
33586_ACEOF
33587rm -f conftest.$ac_objext
33588if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33589  (eval $ac_compile) 2>conftest.er1
33590  ac_status=$?
33591  grep -v '^ *+' conftest.er1 >conftest.err
33592  rm -f conftest.er1
33593  cat conftest.err >&5
33594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595  (exit $ac_status); } &&
33596	 { ac_try='test -z "$ac_cxx_werror_flag"
33597			 || test ! -s conftest.err'
33598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599  (eval $ac_try) 2>&5
33600  ac_status=$?
33601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602  (exit $ac_status); }; } &&
33603	 { ac_try='test -s conftest.$ac_objext'
33604  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605  (eval $ac_try) 2>&5
33606  ac_status=$?
33607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608  (exit $ac_status); }; }; then
33609  glibcxx_cv_func_finite_use=yes
33610else
33611  echo "$as_me: failed program was:" >&5
33612sed 's/^/| /' conftest.$ac_ext >&5
33613
33614glibcxx_cv_func_finite_use=no
33615fi
33616rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33617      ac_ext=c
33618ac_cpp='$CPP $CPPFLAGS'
33619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621ac_compiler_gnu=$ac_cv_c_compiler_gnu
33622
33623
33624fi
33625
33626  fi
33627  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33628echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33629
33630  if test x$glibcxx_cv_func_finite_use = x"yes"; then
33631
33632for ac_func in finite
33633do
33634as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33635echo "$as_me:$LINENO: checking for $ac_func" >&5
33636echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33637if eval "test \"\${$as_ac_var+set}\" = set"; then
33638  echo $ECHO_N "(cached) $ECHO_C" >&6
33639else
33640  if test x$gcc_no_link = xyes; then
33641  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33642echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33643   { (exit 1); exit 1; }; }
33644fi
33645cat >conftest.$ac_ext <<_ACEOF
33646/* confdefs.h.  */
33647_ACEOF
33648cat confdefs.h >>conftest.$ac_ext
33649cat >>conftest.$ac_ext <<_ACEOF
33650/* end confdefs.h.  */
33651/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33652   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33653#define $ac_func innocuous_$ac_func
33654
33655/* System header to define __stub macros and hopefully few prototypes,
33656    which can conflict with char $ac_func (); below.
33657    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658    <limits.h> exists even on freestanding compilers.  */
33659
33660#ifdef __STDC__
33661# include <limits.h>
33662#else
33663# include <assert.h>
33664#endif
33665
33666#undef $ac_func
33667
33668/* Override any gcc2 internal prototype to avoid an error.  */
33669#ifdef __cplusplus
33670extern "C"
33671{
33672#endif
33673/* We use char because int might match the return type of a gcc2
33674   builtin and then its argument prototype would still apply.  */
33675char $ac_func ();
33676/* The GNU C library defines this for functions which it implements
33677    to always fail with ENOSYS.  Some functions are actually named
33678    something starting with __ and the normal name is an alias.  */
33679#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33680choke me
33681#else
33682char (*f) () = $ac_func;
33683#endif
33684#ifdef __cplusplus
33685}
33686#endif
33687
33688int
33689main ()
33690{
33691return f != $ac_func;
33692  ;
33693  return 0;
33694}
33695_ACEOF
33696rm -f conftest.$ac_objext conftest$ac_exeext
33697if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33698  (eval $ac_link) 2>conftest.er1
33699  ac_status=$?
33700  grep -v '^ *+' conftest.er1 >conftest.err
33701  rm -f conftest.er1
33702  cat conftest.err >&5
33703  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704  (exit $ac_status); } &&
33705	 { ac_try='test -z "$ac_c_werror_flag"
33706			 || test ! -s conftest.err'
33707  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33708  (eval $ac_try) 2>&5
33709  ac_status=$?
33710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33711  (exit $ac_status); }; } &&
33712	 { ac_try='test -s conftest$ac_exeext'
33713  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33714  (eval $ac_try) 2>&5
33715  ac_status=$?
33716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717  (exit $ac_status); }; }; then
33718  eval "$as_ac_var=yes"
33719else
33720  echo "$as_me: failed program was:" >&5
33721sed 's/^/| /' conftest.$ac_ext >&5
33722
33723eval "$as_ac_var=no"
33724fi
33725rm -f conftest.err conftest.$ac_objext \
33726      conftest$ac_exeext conftest.$ac_ext
33727fi
33728echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33729echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33730if test `eval echo '${'$as_ac_var'}'` = yes; then
33731  cat >>confdefs.h <<_ACEOF
33732#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33733_ACEOF
33734
33735fi
33736done
33737
33738  else
33739
33740  echo "$as_me:$LINENO: checking for _finite declaration" >&5
33741echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33742  if test x${glibcxx_cv_func__finite_use+set} != xset; then
33743    if test "${glibcxx_cv_func__finite_use+set}" = set; then
33744  echo $ECHO_N "(cached) $ECHO_C" >&6
33745else
33746
33747
33748
33749      ac_ext=cc
33750ac_cpp='$CXXCPP $CPPFLAGS'
33751ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754
33755      cat >conftest.$ac_ext <<_ACEOF
33756/* confdefs.h.  */
33757_ACEOF
33758cat confdefs.h >>conftest.$ac_ext
33759cat >>conftest.$ac_ext <<_ACEOF
33760/* end confdefs.h.  */
33761#include <math.h>
33762		      #ifdef HAVE_IEEEFP_H
33763		      #include <ieeefp.h>
33764		      #endif
33765
33766int
33767main ()
33768{
33769 _finite(0);
33770  ;
33771  return 0;
33772}
33773_ACEOF
33774rm -f conftest.$ac_objext
33775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33776  (eval $ac_compile) 2>conftest.er1
33777  ac_status=$?
33778  grep -v '^ *+' conftest.er1 >conftest.err
33779  rm -f conftest.er1
33780  cat conftest.err >&5
33781  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782  (exit $ac_status); } &&
33783	 { ac_try='test -z "$ac_cxx_werror_flag"
33784			 || test ! -s conftest.err'
33785  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786  (eval $ac_try) 2>&5
33787  ac_status=$?
33788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789  (exit $ac_status); }; } &&
33790	 { ac_try='test -s conftest.$ac_objext'
33791  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792  (eval $ac_try) 2>&5
33793  ac_status=$?
33794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795  (exit $ac_status); }; }; then
33796  glibcxx_cv_func__finite_use=yes
33797else
33798  echo "$as_me: failed program was:" >&5
33799sed 's/^/| /' conftest.$ac_ext >&5
33800
33801glibcxx_cv_func__finite_use=no
33802fi
33803rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33804      ac_ext=c
33805ac_cpp='$CPP $CPPFLAGS'
33806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33808ac_compiler_gnu=$ac_cv_c_compiler_gnu
33809
33810
33811fi
33812
33813  fi
33814  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33815echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33816
33817    if test x$glibcxx_cv_func__finite_use = x"yes"; then
33818
33819for ac_func in _finite
33820do
33821as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33822echo "$as_me:$LINENO: checking for $ac_func" >&5
33823echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33824if eval "test \"\${$as_ac_var+set}\" = set"; then
33825  echo $ECHO_N "(cached) $ECHO_C" >&6
33826else
33827  if test x$gcc_no_link = xyes; then
33828  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33829echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33830   { (exit 1); exit 1; }; }
33831fi
33832cat >conftest.$ac_ext <<_ACEOF
33833/* confdefs.h.  */
33834_ACEOF
33835cat confdefs.h >>conftest.$ac_ext
33836cat >>conftest.$ac_ext <<_ACEOF
33837/* end confdefs.h.  */
33838/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33839   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33840#define $ac_func innocuous_$ac_func
33841
33842/* System header to define __stub macros and hopefully few prototypes,
33843    which can conflict with char $ac_func (); below.
33844    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33845    <limits.h> exists even on freestanding compilers.  */
33846
33847#ifdef __STDC__
33848# include <limits.h>
33849#else
33850# include <assert.h>
33851#endif
33852
33853#undef $ac_func
33854
33855/* Override any gcc2 internal prototype to avoid an error.  */
33856#ifdef __cplusplus
33857extern "C"
33858{
33859#endif
33860/* We use char because int might match the return type of a gcc2
33861   builtin and then its argument prototype would still apply.  */
33862char $ac_func ();
33863/* The GNU C library defines this for functions which it implements
33864    to always fail with ENOSYS.  Some functions are actually named
33865    something starting with __ and the normal name is an alias.  */
33866#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33867choke me
33868#else
33869char (*f) () = $ac_func;
33870#endif
33871#ifdef __cplusplus
33872}
33873#endif
33874
33875int
33876main ()
33877{
33878return f != $ac_func;
33879  ;
33880  return 0;
33881}
33882_ACEOF
33883rm -f conftest.$ac_objext conftest$ac_exeext
33884if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33885  (eval $ac_link) 2>conftest.er1
33886  ac_status=$?
33887  grep -v '^ *+' conftest.er1 >conftest.err
33888  rm -f conftest.er1
33889  cat conftest.err >&5
33890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891  (exit $ac_status); } &&
33892	 { ac_try='test -z "$ac_c_werror_flag"
33893			 || test ! -s conftest.err'
33894  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895  (eval $ac_try) 2>&5
33896  ac_status=$?
33897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898  (exit $ac_status); }; } &&
33899	 { ac_try='test -s conftest$ac_exeext'
33900  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901  (eval $ac_try) 2>&5
33902  ac_status=$?
33903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904  (exit $ac_status); }; }; then
33905  eval "$as_ac_var=yes"
33906else
33907  echo "$as_me: failed program was:" >&5
33908sed 's/^/| /' conftest.$ac_ext >&5
33909
33910eval "$as_ac_var=no"
33911fi
33912rm -f conftest.err conftest.$ac_objext \
33913      conftest$ac_exeext conftest.$ac_ext
33914fi
33915echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33916echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33917if test `eval echo '${'$as_ac_var'}'` = yes; then
33918  cat >>confdefs.h <<_ACEOF
33919#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33920_ACEOF
33921
33922fi
33923done
33924
33925    fi
33926  fi
33927
33928
33929
33930
33931
33932
33933  echo "$as_me:$LINENO: checking for copysign declaration" >&5
33934echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33935  if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33936    if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33937  echo $ECHO_N "(cached) $ECHO_C" >&6
33938else
33939
33940
33941
33942      ac_ext=cc
33943ac_cpp='$CXXCPP $CPPFLAGS'
33944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33947
33948      cat >conftest.$ac_ext <<_ACEOF
33949/* confdefs.h.  */
33950_ACEOF
33951cat confdefs.h >>conftest.$ac_ext
33952cat >>conftest.$ac_ext <<_ACEOF
33953/* end confdefs.h.  */
33954#include <math.h>
33955int
33956main ()
33957{
33958 copysign(0, 0);
33959  ;
33960  return 0;
33961}
33962_ACEOF
33963rm -f conftest.$ac_objext
33964if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33965  (eval $ac_compile) 2>conftest.er1
33966  ac_status=$?
33967  grep -v '^ *+' conftest.er1 >conftest.err
33968  rm -f conftest.er1
33969  cat conftest.err >&5
33970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971  (exit $ac_status); } &&
33972	 { ac_try='test -z "$ac_cxx_werror_flag"
33973			 || test ! -s conftest.err'
33974  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975  (eval $ac_try) 2>&5
33976  ac_status=$?
33977  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978  (exit $ac_status); }; } &&
33979	 { ac_try='test -s conftest.$ac_objext'
33980  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33981  (eval $ac_try) 2>&5
33982  ac_status=$?
33983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984  (exit $ac_status); }; }; then
33985  glibcxx_cv_func_copysign_use=yes
33986else
33987  echo "$as_me: failed program was:" >&5
33988sed 's/^/| /' conftest.$ac_ext >&5
33989
33990glibcxx_cv_func_copysign_use=no
33991fi
33992rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33993      ac_ext=c
33994ac_cpp='$CPP $CPPFLAGS'
33995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33997ac_compiler_gnu=$ac_cv_c_compiler_gnu
33998
33999
34000fi
34001
34002  fi
34003  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34004echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34005
34006  if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34007
34008for ac_func in copysign
34009do
34010as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34011echo "$as_me:$LINENO: checking for $ac_func" >&5
34012echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34013if eval "test \"\${$as_ac_var+set}\" = set"; then
34014  echo $ECHO_N "(cached) $ECHO_C" >&6
34015else
34016  if test x$gcc_no_link = xyes; then
34017  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34018echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34019   { (exit 1); exit 1; }; }
34020fi
34021cat >conftest.$ac_ext <<_ACEOF
34022/* confdefs.h.  */
34023_ACEOF
34024cat confdefs.h >>conftest.$ac_ext
34025cat >>conftest.$ac_ext <<_ACEOF
34026/* end confdefs.h.  */
34027/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34028   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34029#define $ac_func innocuous_$ac_func
34030
34031/* System header to define __stub macros and hopefully few prototypes,
34032    which can conflict with char $ac_func (); below.
34033    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34034    <limits.h> exists even on freestanding compilers.  */
34035
34036#ifdef __STDC__
34037# include <limits.h>
34038#else
34039# include <assert.h>
34040#endif
34041
34042#undef $ac_func
34043
34044/* Override any gcc2 internal prototype to avoid an error.  */
34045#ifdef __cplusplus
34046extern "C"
34047{
34048#endif
34049/* We use char because int might match the return type of a gcc2
34050   builtin and then its argument prototype would still apply.  */
34051char $ac_func ();
34052/* The GNU C library defines this for functions which it implements
34053    to always fail with ENOSYS.  Some functions are actually named
34054    something starting with __ and the normal name is an alias.  */
34055#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34056choke me
34057#else
34058char (*f) () = $ac_func;
34059#endif
34060#ifdef __cplusplus
34061}
34062#endif
34063
34064int
34065main ()
34066{
34067return f != $ac_func;
34068  ;
34069  return 0;
34070}
34071_ACEOF
34072rm -f conftest.$ac_objext conftest$ac_exeext
34073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34074  (eval $ac_link) 2>conftest.er1
34075  ac_status=$?
34076  grep -v '^ *+' conftest.er1 >conftest.err
34077  rm -f conftest.er1
34078  cat conftest.err >&5
34079  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080  (exit $ac_status); } &&
34081	 { ac_try='test -z "$ac_c_werror_flag"
34082			 || test ! -s conftest.err'
34083  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34084  (eval $ac_try) 2>&5
34085  ac_status=$?
34086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34087  (exit $ac_status); }; } &&
34088	 { ac_try='test -s conftest$ac_exeext'
34089  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34090  (eval $ac_try) 2>&5
34091  ac_status=$?
34092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093  (exit $ac_status); }; }; then
34094  eval "$as_ac_var=yes"
34095else
34096  echo "$as_me: failed program was:" >&5
34097sed 's/^/| /' conftest.$ac_ext >&5
34098
34099eval "$as_ac_var=no"
34100fi
34101rm -f conftest.err conftest.$ac_objext \
34102      conftest$ac_exeext conftest.$ac_ext
34103fi
34104echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34105echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34106if test `eval echo '${'$as_ac_var'}'` = yes; then
34107  cat >>confdefs.h <<_ACEOF
34108#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34109_ACEOF
34110
34111fi
34112done
34113
34114  else
34115
34116  echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34117echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34118  if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34119    if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34120  echo $ECHO_N "(cached) $ECHO_C" >&6
34121else
34122
34123
34124
34125      ac_ext=cc
34126ac_cpp='$CXXCPP $CPPFLAGS'
34127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34130
34131      cat >conftest.$ac_ext <<_ACEOF
34132/* confdefs.h.  */
34133_ACEOF
34134cat confdefs.h >>conftest.$ac_ext
34135cat >>conftest.$ac_ext <<_ACEOF
34136/* end confdefs.h.  */
34137#include <math.h>
34138int
34139main ()
34140{
34141 _copysign(0, 0);
34142  ;
34143  return 0;
34144}
34145_ACEOF
34146rm -f conftest.$ac_objext
34147if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34148  (eval $ac_compile) 2>conftest.er1
34149  ac_status=$?
34150  grep -v '^ *+' conftest.er1 >conftest.err
34151  rm -f conftest.er1
34152  cat conftest.err >&5
34153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154  (exit $ac_status); } &&
34155	 { ac_try='test -z "$ac_cxx_werror_flag"
34156			 || test ! -s conftest.err'
34157  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158  (eval $ac_try) 2>&5
34159  ac_status=$?
34160  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161  (exit $ac_status); }; } &&
34162	 { ac_try='test -s conftest.$ac_objext'
34163  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164  (eval $ac_try) 2>&5
34165  ac_status=$?
34166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167  (exit $ac_status); }; }; then
34168  glibcxx_cv_func__copysign_use=yes
34169else
34170  echo "$as_me: failed program was:" >&5
34171sed 's/^/| /' conftest.$ac_ext >&5
34172
34173glibcxx_cv_func__copysign_use=no
34174fi
34175rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34176      ac_ext=c
34177ac_cpp='$CPP $CPPFLAGS'
34178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180ac_compiler_gnu=$ac_cv_c_compiler_gnu
34181
34182
34183fi
34184
34185  fi
34186  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34187echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34188
34189    if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34190
34191for ac_func in _copysign
34192do
34193as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34194echo "$as_me:$LINENO: checking for $ac_func" >&5
34195echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34196if eval "test \"\${$as_ac_var+set}\" = set"; then
34197  echo $ECHO_N "(cached) $ECHO_C" >&6
34198else
34199  if test x$gcc_no_link = xyes; then
34200  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34201echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34202   { (exit 1); exit 1; }; }
34203fi
34204cat >conftest.$ac_ext <<_ACEOF
34205/* confdefs.h.  */
34206_ACEOF
34207cat confdefs.h >>conftest.$ac_ext
34208cat >>conftest.$ac_ext <<_ACEOF
34209/* end confdefs.h.  */
34210/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34211   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34212#define $ac_func innocuous_$ac_func
34213
34214/* System header to define __stub macros and hopefully few prototypes,
34215    which can conflict with char $ac_func (); below.
34216    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34217    <limits.h> exists even on freestanding compilers.  */
34218
34219#ifdef __STDC__
34220# include <limits.h>
34221#else
34222# include <assert.h>
34223#endif
34224
34225#undef $ac_func
34226
34227/* Override any gcc2 internal prototype to avoid an error.  */
34228#ifdef __cplusplus
34229extern "C"
34230{
34231#endif
34232/* We use char because int might match the return type of a gcc2
34233   builtin and then its argument prototype would still apply.  */
34234char $ac_func ();
34235/* The GNU C library defines this for functions which it implements
34236    to always fail with ENOSYS.  Some functions are actually named
34237    something starting with __ and the normal name is an alias.  */
34238#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34239choke me
34240#else
34241char (*f) () = $ac_func;
34242#endif
34243#ifdef __cplusplus
34244}
34245#endif
34246
34247int
34248main ()
34249{
34250return f != $ac_func;
34251  ;
34252  return 0;
34253}
34254_ACEOF
34255rm -f conftest.$ac_objext conftest$ac_exeext
34256if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34257  (eval $ac_link) 2>conftest.er1
34258  ac_status=$?
34259  grep -v '^ *+' conftest.er1 >conftest.err
34260  rm -f conftest.er1
34261  cat conftest.err >&5
34262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263  (exit $ac_status); } &&
34264	 { ac_try='test -z "$ac_c_werror_flag"
34265			 || test ! -s conftest.err'
34266  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34267  (eval $ac_try) 2>&5
34268  ac_status=$?
34269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270  (exit $ac_status); }; } &&
34271	 { ac_try='test -s conftest$ac_exeext'
34272  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273  (eval $ac_try) 2>&5
34274  ac_status=$?
34275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276  (exit $ac_status); }; }; then
34277  eval "$as_ac_var=yes"
34278else
34279  echo "$as_me: failed program was:" >&5
34280sed 's/^/| /' conftest.$ac_ext >&5
34281
34282eval "$as_ac_var=no"
34283fi
34284rm -f conftest.err conftest.$ac_objext \
34285      conftest$ac_exeext conftest.$ac_ext
34286fi
34287echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34288echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34289if test `eval echo '${'$as_ac_var'}'` = yes; then
34290  cat >>confdefs.h <<_ACEOF
34291#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34292_ACEOF
34293
34294fi
34295done
34296
34297    fi
34298  fi
34299
34300
34301
34302
34303
34304
34305  echo "$as_me:$LINENO: checking for sincos declaration" >&5
34306echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34307  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34308    if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34309  echo $ECHO_N "(cached) $ECHO_C" >&6
34310else
34311
34312
34313
34314      ac_ext=cc
34315ac_cpp='$CXXCPP $CPPFLAGS'
34316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34319
34320      cat >conftest.$ac_ext <<_ACEOF
34321/* confdefs.h.  */
34322_ACEOF
34323cat confdefs.h >>conftest.$ac_ext
34324cat >>conftest.$ac_ext <<_ACEOF
34325/* end confdefs.h.  */
34326#include <math.h>
34327int
34328main ()
34329{
34330 sincos(0, 0, 0);
34331  ;
34332  return 0;
34333}
34334_ACEOF
34335rm -f conftest.$ac_objext
34336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34337  (eval $ac_compile) 2>conftest.er1
34338  ac_status=$?
34339  grep -v '^ *+' conftest.er1 >conftest.err
34340  rm -f conftest.er1
34341  cat conftest.err >&5
34342  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343  (exit $ac_status); } &&
34344	 { ac_try='test -z "$ac_cxx_werror_flag"
34345			 || test ! -s conftest.err'
34346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347  (eval $ac_try) 2>&5
34348  ac_status=$?
34349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350  (exit $ac_status); }; } &&
34351	 { ac_try='test -s conftest.$ac_objext'
34352  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34353  (eval $ac_try) 2>&5
34354  ac_status=$?
34355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356  (exit $ac_status); }; }; then
34357  glibcxx_cv_func_sincos_use=yes
34358else
34359  echo "$as_me: failed program was:" >&5
34360sed 's/^/| /' conftest.$ac_ext >&5
34361
34362glibcxx_cv_func_sincos_use=no
34363fi
34364rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34365      ac_ext=c
34366ac_cpp='$CPP $CPPFLAGS'
34367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34369ac_compiler_gnu=$ac_cv_c_compiler_gnu
34370
34371
34372fi
34373
34374  fi
34375  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34376echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34377
34378  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34379
34380for ac_func in sincos
34381do
34382as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34383echo "$as_me:$LINENO: checking for $ac_func" >&5
34384echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34385if eval "test \"\${$as_ac_var+set}\" = set"; then
34386  echo $ECHO_N "(cached) $ECHO_C" >&6
34387else
34388  if test x$gcc_no_link = xyes; then
34389  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34390echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34391   { (exit 1); exit 1; }; }
34392fi
34393cat >conftest.$ac_ext <<_ACEOF
34394/* confdefs.h.  */
34395_ACEOF
34396cat confdefs.h >>conftest.$ac_ext
34397cat >>conftest.$ac_ext <<_ACEOF
34398/* end confdefs.h.  */
34399/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34400   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34401#define $ac_func innocuous_$ac_func
34402
34403/* System header to define __stub macros and hopefully few prototypes,
34404    which can conflict with char $ac_func (); below.
34405    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34406    <limits.h> exists even on freestanding compilers.  */
34407
34408#ifdef __STDC__
34409# include <limits.h>
34410#else
34411# include <assert.h>
34412#endif
34413
34414#undef $ac_func
34415
34416/* Override any gcc2 internal prototype to avoid an error.  */
34417#ifdef __cplusplus
34418extern "C"
34419{
34420#endif
34421/* We use char because int might match the return type of a gcc2
34422   builtin and then its argument prototype would still apply.  */
34423char $ac_func ();
34424/* The GNU C library defines this for functions which it implements
34425    to always fail with ENOSYS.  Some functions are actually named
34426    something starting with __ and the normal name is an alias.  */
34427#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34428choke me
34429#else
34430char (*f) () = $ac_func;
34431#endif
34432#ifdef __cplusplus
34433}
34434#endif
34435
34436int
34437main ()
34438{
34439return f != $ac_func;
34440  ;
34441  return 0;
34442}
34443_ACEOF
34444rm -f conftest.$ac_objext conftest$ac_exeext
34445if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34446  (eval $ac_link) 2>conftest.er1
34447  ac_status=$?
34448  grep -v '^ *+' conftest.er1 >conftest.err
34449  rm -f conftest.er1
34450  cat conftest.err >&5
34451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452  (exit $ac_status); } &&
34453	 { ac_try='test -z "$ac_c_werror_flag"
34454			 || test ! -s conftest.err'
34455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34456  (eval $ac_try) 2>&5
34457  ac_status=$?
34458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34459  (exit $ac_status); }; } &&
34460	 { ac_try='test -s conftest$ac_exeext'
34461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462  (eval $ac_try) 2>&5
34463  ac_status=$?
34464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465  (exit $ac_status); }; }; then
34466  eval "$as_ac_var=yes"
34467else
34468  echo "$as_me: failed program was:" >&5
34469sed 's/^/| /' conftest.$ac_ext >&5
34470
34471eval "$as_ac_var=no"
34472fi
34473rm -f conftest.err conftest.$ac_objext \
34474      conftest$ac_exeext conftest.$ac_ext
34475fi
34476echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34477echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34478if test `eval echo '${'$as_ac_var'}'` = yes; then
34479  cat >>confdefs.h <<_ACEOF
34480#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34481_ACEOF
34482
34483fi
34484done
34485
34486  else
34487
34488  echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34489echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34490  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34491    if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34492  echo $ECHO_N "(cached) $ECHO_C" >&6
34493else
34494
34495
34496
34497      ac_ext=cc
34498ac_cpp='$CXXCPP $CPPFLAGS'
34499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34502
34503      cat >conftest.$ac_ext <<_ACEOF
34504/* confdefs.h.  */
34505_ACEOF
34506cat confdefs.h >>conftest.$ac_ext
34507cat >>conftest.$ac_ext <<_ACEOF
34508/* end confdefs.h.  */
34509#include <math.h>
34510int
34511main ()
34512{
34513 _sincos(0, 0, 0);
34514  ;
34515  return 0;
34516}
34517_ACEOF
34518rm -f conftest.$ac_objext
34519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34520  (eval $ac_compile) 2>conftest.er1
34521  ac_status=$?
34522  grep -v '^ *+' conftest.er1 >conftest.err
34523  rm -f conftest.er1
34524  cat conftest.err >&5
34525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526  (exit $ac_status); } &&
34527	 { ac_try='test -z "$ac_cxx_werror_flag"
34528			 || test ! -s conftest.err'
34529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530  (eval $ac_try) 2>&5
34531  ac_status=$?
34532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533  (exit $ac_status); }; } &&
34534	 { ac_try='test -s conftest.$ac_objext'
34535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34536  (eval $ac_try) 2>&5
34537  ac_status=$?
34538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539  (exit $ac_status); }; }; then
34540  glibcxx_cv_func__sincos_use=yes
34541else
34542  echo "$as_me: failed program was:" >&5
34543sed 's/^/| /' conftest.$ac_ext >&5
34544
34545glibcxx_cv_func__sincos_use=no
34546fi
34547rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34548      ac_ext=c
34549ac_cpp='$CPP $CPPFLAGS'
34550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34552ac_compiler_gnu=$ac_cv_c_compiler_gnu
34553
34554
34555fi
34556
34557  fi
34558  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34559echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34560
34561    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34562
34563for ac_func in _sincos
34564do
34565as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34566echo "$as_me:$LINENO: checking for $ac_func" >&5
34567echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34568if eval "test \"\${$as_ac_var+set}\" = set"; then
34569  echo $ECHO_N "(cached) $ECHO_C" >&6
34570else
34571  if test x$gcc_no_link = xyes; then
34572  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34573echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34574   { (exit 1); exit 1; }; }
34575fi
34576cat >conftest.$ac_ext <<_ACEOF
34577/* confdefs.h.  */
34578_ACEOF
34579cat confdefs.h >>conftest.$ac_ext
34580cat >>conftest.$ac_ext <<_ACEOF
34581/* end confdefs.h.  */
34582/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34583   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34584#define $ac_func innocuous_$ac_func
34585
34586/* System header to define __stub macros and hopefully few prototypes,
34587    which can conflict with char $ac_func (); below.
34588    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34589    <limits.h> exists even on freestanding compilers.  */
34590
34591#ifdef __STDC__
34592# include <limits.h>
34593#else
34594# include <assert.h>
34595#endif
34596
34597#undef $ac_func
34598
34599/* Override any gcc2 internal prototype to avoid an error.  */
34600#ifdef __cplusplus
34601extern "C"
34602{
34603#endif
34604/* We use char because int might match the return type of a gcc2
34605   builtin and then its argument prototype would still apply.  */
34606char $ac_func ();
34607/* The GNU C library defines this for functions which it implements
34608    to always fail with ENOSYS.  Some functions are actually named
34609    something starting with __ and the normal name is an alias.  */
34610#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34611choke me
34612#else
34613char (*f) () = $ac_func;
34614#endif
34615#ifdef __cplusplus
34616}
34617#endif
34618
34619int
34620main ()
34621{
34622return f != $ac_func;
34623  ;
34624  return 0;
34625}
34626_ACEOF
34627rm -f conftest.$ac_objext conftest$ac_exeext
34628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34629  (eval $ac_link) 2>conftest.er1
34630  ac_status=$?
34631  grep -v '^ *+' conftest.er1 >conftest.err
34632  rm -f conftest.er1
34633  cat conftest.err >&5
34634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635  (exit $ac_status); } &&
34636	 { ac_try='test -z "$ac_c_werror_flag"
34637			 || test ! -s conftest.err'
34638  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34639  (eval $ac_try) 2>&5
34640  ac_status=$?
34641  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642  (exit $ac_status); }; } &&
34643	 { ac_try='test -s conftest$ac_exeext'
34644  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34645  (eval $ac_try) 2>&5
34646  ac_status=$?
34647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648  (exit $ac_status); }; }; then
34649  eval "$as_ac_var=yes"
34650else
34651  echo "$as_me: failed program was:" >&5
34652sed 's/^/| /' conftest.$ac_ext >&5
34653
34654eval "$as_ac_var=no"
34655fi
34656rm -f conftest.err conftest.$ac_objext \
34657      conftest$ac_exeext conftest.$ac_ext
34658fi
34659echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34660echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34661if test `eval echo '${'$as_ac_var'}'` = yes; then
34662  cat >>confdefs.h <<_ACEOF
34663#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34664_ACEOF
34665
34666fi
34667done
34668
34669    fi
34670  fi
34671
34672
34673
34674
34675
34676
34677  echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34678echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34679  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34680    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34681  echo $ECHO_N "(cached) $ECHO_C" >&6
34682else
34683
34684
34685
34686      ac_ext=cc
34687ac_cpp='$CXXCPP $CPPFLAGS'
34688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34691
34692      cat >conftest.$ac_ext <<_ACEOF
34693/* confdefs.h.  */
34694_ACEOF
34695cat confdefs.h >>conftest.$ac_ext
34696cat >>conftest.$ac_ext <<_ACEOF
34697/* end confdefs.h.  */
34698#include <math.h>
34699		      #ifdef HAVE_IEEEFP_H
34700		      #include <ieeefp.h>
34701		      #endif
34702
34703int
34704main ()
34705{
34706 fpclass(0);
34707  ;
34708  return 0;
34709}
34710_ACEOF
34711rm -f conftest.$ac_objext
34712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34713  (eval $ac_compile) 2>conftest.er1
34714  ac_status=$?
34715  grep -v '^ *+' conftest.er1 >conftest.err
34716  rm -f conftest.er1
34717  cat conftest.err >&5
34718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719  (exit $ac_status); } &&
34720	 { ac_try='test -z "$ac_cxx_werror_flag"
34721			 || test ! -s conftest.err'
34722  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723  (eval $ac_try) 2>&5
34724  ac_status=$?
34725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726  (exit $ac_status); }; } &&
34727	 { ac_try='test -s conftest.$ac_objext'
34728  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729  (eval $ac_try) 2>&5
34730  ac_status=$?
34731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732  (exit $ac_status); }; }; then
34733  glibcxx_cv_func_fpclass_use=yes
34734else
34735  echo "$as_me: failed program was:" >&5
34736sed 's/^/| /' conftest.$ac_ext >&5
34737
34738glibcxx_cv_func_fpclass_use=no
34739fi
34740rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34741      ac_ext=c
34742ac_cpp='$CPP $CPPFLAGS'
34743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745ac_compiler_gnu=$ac_cv_c_compiler_gnu
34746
34747
34748fi
34749
34750  fi
34751  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34752echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34753
34754  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34755
34756for ac_func in fpclass
34757do
34758as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34759echo "$as_me:$LINENO: checking for $ac_func" >&5
34760echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34761if eval "test \"\${$as_ac_var+set}\" = set"; then
34762  echo $ECHO_N "(cached) $ECHO_C" >&6
34763else
34764  if test x$gcc_no_link = xyes; then
34765  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34766echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34767   { (exit 1); exit 1; }; }
34768fi
34769cat >conftest.$ac_ext <<_ACEOF
34770/* confdefs.h.  */
34771_ACEOF
34772cat confdefs.h >>conftest.$ac_ext
34773cat >>conftest.$ac_ext <<_ACEOF
34774/* end confdefs.h.  */
34775/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34776   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34777#define $ac_func innocuous_$ac_func
34778
34779/* System header to define __stub macros and hopefully few prototypes,
34780    which can conflict with char $ac_func (); below.
34781    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34782    <limits.h> exists even on freestanding compilers.  */
34783
34784#ifdef __STDC__
34785# include <limits.h>
34786#else
34787# include <assert.h>
34788#endif
34789
34790#undef $ac_func
34791
34792/* Override any gcc2 internal prototype to avoid an error.  */
34793#ifdef __cplusplus
34794extern "C"
34795{
34796#endif
34797/* We use char because int might match the return type of a gcc2
34798   builtin and then its argument prototype would still apply.  */
34799char $ac_func ();
34800/* The GNU C library defines this for functions which it implements
34801    to always fail with ENOSYS.  Some functions are actually named
34802    something starting with __ and the normal name is an alias.  */
34803#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34804choke me
34805#else
34806char (*f) () = $ac_func;
34807#endif
34808#ifdef __cplusplus
34809}
34810#endif
34811
34812int
34813main ()
34814{
34815return f != $ac_func;
34816  ;
34817  return 0;
34818}
34819_ACEOF
34820rm -f conftest.$ac_objext conftest$ac_exeext
34821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34822  (eval $ac_link) 2>conftest.er1
34823  ac_status=$?
34824  grep -v '^ *+' conftest.er1 >conftest.err
34825  rm -f conftest.er1
34826  cat conftest.err >&5
34827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828  (exit $ac_status); } &&
34829	 { ac_try='test -z "$ac_c_werror_flag"
34830			 || test ! -s conftest.err'
34831  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34832  (eval $ac_try) 2>&5
34833  ac_status=$?
34834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835  (exit $ac_status); }; } &&
34836	 { ac_try='test -s conftest$ac_exeext'
34837  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34838  (eval $ac_try) 2>&5
34839  ac_status=$?
34840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841  (exit $ac_status); }; }; then
34842  eval "$as_ac_var=yes"
34843else
34844  echo "$as_me: failed program was:" >&5
34845sed 's/^/| /' conftest.$ac_ext >&5
34846
34847eval "$as_ac_var=no"
34848fi
34849rm -f conftest.err conftest.$ac_objext \
34850      conftest$ac_exeext conftest.$ac_ext
34851fi
34852echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34853echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34854if test `eval echo '${'$as_ac_var'}'` = yes; then
34855  cat >>confdefs.h <<_ACEOF
34856#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34857_ACEOF
34858
34859fi
34860done
34861
34862  else
34863
34864  echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34865echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34866  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34867    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34868  echo $ECHO_N "(cached) $ECHO_C" >&6
34869else
34870
34871
34872
34873      ac_ext=cc
34874ac_cpp='$CXXCPP $CPPFLAGS'
34875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34878
34879      cat >conftest.$ac_ext <<_ACEOF
34880/* confdefs.h.  */
34881_ACEOF
34882cat confdefs.h >>conftest.$ac_ext
34883cat >>conftest.$ac_ext <<_ACEOF
34884/* end confdefs.h.  */
34885#include <math.h>
34886		      #ifdef HAVE_IEEEFP_H
34887		      #include <ieeefp.h>
34888		      #endif
34889
34890int
34891main ()
34892{
34893 _fpclass(0);
34894  ;
34895  return 0;
34896}
34897_ACEOF
34898rm -f conftest.$ac_objext
34899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34900  (eval $ac_compile) 2>conftest.er1
34901  ac_status=$?
34902  grep -v '^ *+' conftest.er1 >conftest.err
34903  rm -f conftest.er1
34904  cat conftest.err >&5
34905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906  (exit $ac_status); } &&
34907	 { ac_try='test -z "$ac_cxx_werror_flag"
34908			 || test ! -s conftest.err'
34909  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910  (eval $ac_try) 2>&5
34911  ac_status=$?
34912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913  (exit $ac_status); }; } &&
34914	 { ac_try='test -s conftest.$ac_objext'
34915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916  (eval $ac_try) 2>&5
34917  ac_status=$?
34918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919  (exit $ac_status); }; }; then
34920  glibcxx_cv_func__fpclass_use=yes
34921else
34922  echo "$as_me: failed program was:" >&5
34923sed 's/^/| /' conftest.$ac_ext >&5
34924
34925glibcxx_cv_func__fpclass_use=no
34926fi
34927rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34928      ac_ext=c
34929ac_cpp='$CPP $CPPFLAGS'
34930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932ac_compiler_gnu=$ac_cv_c_compiler_gnu
34933
34934
34935fi
34936
34937  fi
34938  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34939echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34940
34941    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34942
34943for ac_func in _fpclass
34944do
34945as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34946echo "$as_me:$LINENO: checking for $ac_func" >&5
34947echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34948if eval "test \"\${$as_ac_var+set}\" = set"; then
34949  echo $ECHO_N "(cached) $ECHO_C" >&6
34950else
34951  if test x$gcc_no_link = xyes; then
34952  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34953echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34954   { (exit 1); exit 1; }; }
34955fi
34956cat >conftest.$ac_ext <<_ACEOF
34957/* confdefs.h.  */
34958_ACEOF
34959cat confdefs.h >>conftest.$ac_ext
34960cat >>conftest.$ac_ext <<_ACEOF
34961/* end confdefs.h.  */
34962/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34963   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34964#define $ac_func innocuous_$ac_func
34965
34966/* System header to define __stub macros and hopefully few prototypes,
34967    which can conflict with char $ac_func (); below.
34968    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34969    <limits.h> exists even on freestanding compilers.  */
34970
34971#ifdef __STDC__
34972# include <limits.h>
34973#else
34974# include <assert.h>
34975#endif
34976
34977#undef $ac_func
34978
34979/* Override any gcc2 internal prototype to avoid an error.  */
34980#ifdef __cplusplus
34981extern "C"
34982{
34983#endif
34984/* We use char because int might match the return type of a gcc2
34985   builtin and then its argument prototype would still apply.  */
34986char $ac_func ();
34987/* The GNU C library defines this for functions which it implements
34988    to always fail with ENOSYS.  Some functions are actually named
34989    something starting with __ and the normal name is an alias.  */
34990#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34991choke me
34992#else
34993char (*f) () = $ac_func;
34994#endif
34995#ifdef __cplusplus
34996}
34997#endif
34998
34999int
35000main ()
35001{
35002return f != $ac_func;
35003  ;
35004  return 0;
35005}
35006_ACEOF
35007rm -f conftest.$ac_objext conftest$ac_exeext
35008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35009  (eval $ac_link) 2>conftest.er1
35010  ac_status=$?
35011  grep -v '^ *+' conftest.er1 >conftest.err
35012  rm -f conftest.er1
35013  cat conftest.err >&5
35014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015  (exit $ac_status); } &&
35016	 { ac_try='test -z "$ac_c_werror_flag"
35017			 || test ! -s conftest.err'
35018  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35019  (eval $ac_try) 2>&5
35020  ac_status=$?
35021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022  (exit $ac_status); }; } &&
35023	 { ac_try='test -s conftest$ac_exeext'
35024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35025  (eval $ac_try) 2>&5
35026  ac_status=$?
35027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028  (exit $ac_status); }; }; then
35029  eval "$as_ac_var=yes"
35030else
35031  echo "$as_me: failed program was:" >&5
35032sed 's/^/| /' conftest.$ac_ext >&5
35033
35034eval "$as_ac_var=no"
35035fi
35036rm -f conftest.err conftest.$ac_objext \
35037      conftest$ac_exeext conftest.$ac_ext
35038fi
35039echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35040echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35041if test `eval echo '${'$as_ac_var'}'` = yes; then
35042  cat >>confdefs.h <<_ACEOF
35043#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35044_ACEOF
35045
35046fi
35047done
35048
35049    fi
35050  fi
35051
35052
35053
35054
35055
35056
35057  echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35058echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35059  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35060    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35061  echo $ECHO_N "(cached) $ECHO_C" >&6
35062else
35063
35064
35065
35066      ac_ext=cc
35067ac_cpp='$CXXCPP $CPPFLAGS'
35068ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35071
35072      cat >conftest.$ac_ext <<_ACEOF
35073/* confdefs.h.  */
35074_ACEOF
35075cat confdefs.h >>conftest.$ac_ext
35076cat >>conftest.$ac_ext <<_ACEOF
35077/* end confdefs.h.  */
35078#include <math.h>
35079		      #ifdef HAVE_IEEEFP_H
35080		      #include <ieeefp.h>
35081		      #endif
35082
35083int
35084main ()
35085{
35086 qfpclass(0);
35087  ;
35088  return 0;
35089}
35090_ACEOF
35091rm -f conftest.$ac_objext
35092if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35093  (eval $ac_compile) 2>conftest.er1
35094  ac_status=$?
35095  grep -v '^ *+' conftest.er1 >conftest.err
35096  rm -f conftest.er1
35097  cat conftest.err >&5
35098  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099  (exit $ac_status); } &&
35100	 { ac_try='test -z "$ac_cxx_werror_flag"
35101			 || test ! -s conftest.err'
35102  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103  (eval $ac_try) 2>&5
35104  ac_status=$?
35105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106  (exit $ac_status); }; } &&
35107	 { ac_try='test -s conftest.$ac_objext'
35108  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109  (eval $ac_try) 2>&5
35110  ac_status=$?
35111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112  (exit $ac_status); }; }; then
35113  glibcxx_cv_func_qfpclass_use=yes
35114else
35115  echo "$as_me: failed program was:" >&5
35116sed 's/^/| /' conftest.$ac_ext >&5
35117
35118glibcxx_cv_func_qfpclass_use=no
35119fi
35120rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35121      ac_ext=c
35122ac_cpp='$CPP $CPPFLAGS'
35123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35125ac_compiler_gnu=$ac_cv_c_compiler_gnu
35126
35127
35128fi
35129
35130  fi
35131  echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35132echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35133
35134  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35135
35136for ac_func in qfpclass
35137do
35138as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35139echo "$as_me:$LINENO: checking for $ac_func" >&5
35140echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35141if eval "test \"\${$as_ac_var+set}\" = set"; then
35142  echo $ECHO_N "(cached) $ECHO_C" >&6
35143else
35144  if test x$gcc_no_link = xyes; then
35145  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35146echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35147   { (exit 1); exit 1; }; }
35148fi
35149cat >conftest.$ac_ext <<_ACEOF
35150/* confdefs.h.  */
35151_ACEOF
35152cat confdefs.h >>conftest.$ac_ext
35153cat >>conftest.$ac_ext <<_ACEOF
35154/* end confdefs.h.  */
35155/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35156   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35157#define $ac_func innocuous_$ac_func
35158
35159/* System header to define __stub macros and hopefully few prototypes,
35160    which can conflict with char $ac_func (); below.
35161    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35162    <limits.h> exists even on freestanding compilers.  */
35163
35164#ifdef __STDC__
35165# include <limits.h>
35166#else
35167# include <assert.h>
35168#endif
35169
35170#undef $ac_func
35171
35172/* Override any gcc2 internal prototype to avoid an error.  */
35173#ifdef __cplusplus
35174extern "C"
35175{
35176#endif
35177/* We use char because int might match the return type of a gcc2
35178   builtin and then its argument prototype would still apply.  */
35179char $ac_func ();
35180/* The GNU C library defines this for functions which it implements
35181    to always fail with ENOSYS.  Some functions are actually named
35182    something starting with __ and the normal name is an alias.  */
35183#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35184choke me
35185#else
35186char (*f) () = $ac_func;
35187#endif
35188#ifdef __cplusplus
35189}
35190#endif
35191
35192int
35193main ()
35194{
35195return f != $ac_func;
35196  ;
35197  return 0;
35198}
35199_ACEOF
35200rm -f conftest.$ac_objext conftest$ac_exeext
35201if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35202  (eval $ac_link) 2>conftest.er1
35203  ac_status=$?
35204  grep -v '^ *+' conftest.er1 >conftest.err
35205  rm -f conftest.er1
35206  cat conftest.err >&5
35207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208  (exit $ac_status); } &&
35209	 { ac_try='test -z "$ac_c_werror_flag"
35210			 || test ! -s conftest.err'
35211  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35212  (eval $ac_try) 2>&5
35213  ac_status=$?
35214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215  (exit $ac_status); }; } &&
35216	 { ac_try='test -s conftest$ac_exeext'
35217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218  (eval $ac_try) 2>&5
35219  ac_status=$?
35220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221  (exit $ac_status); }; }; then
35222  eval "$as_ac_var=yes"
35223else
35224  echo "$as_me: failed program was:" >&5
35225sed 's/^/| /' conftest.$ac_ext >&5
35226
35227eval "$as_ac_var=no"
35228fi
35229rm -f conftest.err conftest.$ac_objext \
35230      conftest$ac_exeext conftest.$ac_ext
35231fi
35232echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35233echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35234if test `eval echo '${'$as_ac_var'}'` = yes; then
35235  cat >>confdefs.h <<_ACEOF
35236#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35237_ACEOF
35238
35239fi
35240done
35241
35242  else
35243
35244  echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35245echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35246  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35247    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35248  echo $ECHO_N "(cached) $ECHO_C" >&6
35249else
35250
35251
35252
35253      ac_ext=cc
35254ac_cpp='$CXXCPP $CPPFLAGS'
35255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35258
35259      cat >conftest.$ac_ext <<_ACEOF
35260/* confdefs.h.  */
35261_ACEOF
35262cat confdefs.h >>conftest.$ac_ext
35263cat >>conftest.$ac_ext <<_ACEOF
35264/* end confdefs.h.  */
35265#include <math.h>
35266		      #ifdef HAVE_IEEEFP_H
35267		      #include <ieeefp.h>
35268		      #endif
35269
35270int
35271main ()
35272{
35273 _qfpclass(0);
35274  ;
35275  return 0;
35276}
35277_ACEOF
35278rm -f conftest.$ac_objext
35279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35280  (eval $ac_compile) 2>conftest.er1
35281  ac_status=$?
35282  grep -v '^ *+' conftest.er1 >conftest.err
35283  rm -f conftest.er1
35284  cat conftest.err >&5
35285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286  (exit $ac_status); } &&
35287	 { ac_try='test -z "$ac_cxx_werror_flag"
35288			 || test ! -s conftest.err'
35289  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35290  (eval $ac_try) 2>&5
35291  ac_status=$?
35292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293  (exit $ac_status); }; } &&
35294	 { ac_try='test -s conftest.$ac_objext'
35295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35296  (eval $ac_try) 2>&5
35297  ac_status=$?
35298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299  (exit $ac_status); }; }; then
35300  glibcxx_cv_func__qfpclass_use=yes
35301else
35302  echo "$as_me: failed program was:" >&5
35303sed 's/^/| /' conftest.$ac_ext >&5
35304
35305glibcxx_cv_func__qfpclass_use=no
35306fi
35307rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35308      ac_ext=c
35309ac_cpp='$CPP $CPPFLAGS'
35310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312ac_compiler_gnu=$ac_cv_c_compiler_gnu
35313
35314
35315fi
35316
35317  fi
35318  echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35319echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35320
35321    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35322
35323for ac_func in _qfpclass
35324do
35325as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35326echo "$as_me:$LINENO: checking for $ac_func" >&5
35327echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35328if eval "test \"\${$as_ac_var+set}\" = set"; then
35329  echo $ECHO_N "(cached) $ECHO_C" >&6
35330else
35331  if test x$gcc_no_link = xyes; then
35332  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35333echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35334   { (exit 1); exit 1; }; }
35335fi
35336cat >conftest.$ac_ext <<_ACEOF
35337/* confdefs.h.  */
35338_ACEOF
35339cat confdefs.h >>conftest.$ac_ext
35340cat >>conftest.$ac_ext <<_ACEOF
35341/* end confdefs.h.  */
35342/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35343   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35344#define $ac_func innocuous_$ac_func
35345
35346/* System header to define __stub macros and hopefully few prototypes,
35347    which can conflict with char $ac_func (); below.
35348    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35349    <limits.h> exists even on freestanding compilers.  */
35350
35351#ifdef __STDC__
35352# include <limits.h>
35353#else
35354# include <assert.h>
35355#endif
35356
35357#undef $ac_func
35358
35359/* Override any gcc2 internal prototype to avoid an error.  */
35360#ifdef __cplusplus
35361extern "C"
35362{
35363#endif
35364/* We use char because int might match the return type of a gcc2
35365   builtin and then its argument prototype would still apply.  */
35366char $ac_func ();
35367/* The GNU C library defines this for functions which it implements
35368    to always fail with ENOSYS.  Some functions are actually named
35369    something starting with __ and the normal name is an alias.  */
35370#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35371choke me
35372#else
35373char (*f) () = $ac_func;
35374#endif
35375#ifdef __cplusplus
35376}
35377#endif
35378
35379int
35380main ()
35381{
35382return f != $ac_func;
35383  ;
35384  return 0;
35385}
35386_ACEOF
35387rm -f conftest.$ac_objext conftest$ac_exeext
35388if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35389  (eval $ac_link) 2>conftest.er1
35390  ac_status=$?
35391  grep -v '^ *+' conftest.er1 >conftest.err
35392  rm -f conftest.er1
35393  cat conftest.err >&5
35394  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395  (exit $ac_status); } &&
35396	 { ac_try='test -z "$ac_c_werror_flag"
35397			 || test ! -s conftest.err'
35398  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399  (eval $ac_try) 2>&5
35400  ac_status=$?
35401  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402  (exit $ac_status); }; } &&
35403	 { ac_try='test -s conftest$ac_exeext'
35404  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405  (eval $ac_try) 2>&5
35406  ac_status=$?
35407  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408  (exit $ac_status); }; }; then
35409  eval "$as_ac_var=yes"
35410else
35411  echo "$as_me: failed program was:" >&5
35412sed 's/^/| /' conftest.$ac_ext >&5
35413
35414eval "$as_ac_var=no"
35415fi
35416rm -f conftest.err conftest.$ac_objext \
35417      conftest$ac_exeext conftest.$ac_ext
35418fi
35419echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35420echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35421if test `eval echo '${'$as_ac_var'}'` = yes; then
35422  cat >>confdefs.h <<_ACEOF
35423#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35424_ACEOF
35425
35426fi
35427done
35428
35429    fi
35430  fi
35431
35432
35433
35434
35435
35436
35437  echo "$as_me:$LINENO: checking for hypot declaration" >&5
35438echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35439  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35440    if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35441  echo $ECHO_N "(cached) $ECHO_C" >&6
35442else
35443
35444
35445
35446      ac_ext=cc
35447ac_cpp='$CXXCPP $CPPFLAGS'
35448ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35451
35452      cat >conftest.$ac_ext <<_ACEOF
35453/* confdefs.h.  */
35454_ACEOF
35455cat confdefs.h >>conftest.$ac_ext
35456cat >>conftest.$ac_ext <<_ACEOF
35457/* end confdefs.h.  */
35458#include <math.h>
35459int
35460main ()
35461{
35462 hypot(0, 0);
35463  ;
35464  return 0;
35465}
35466_ACEOF
35467rm -f conftest.$ac_objext
35468if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35469  (eval $ac_compile) 2>conftest.er1
35470  ac_status=$?
35471  grep -v '^ *+' conftest.er1 >conftest.err
35472  rm -f conftest.er1
35473  cat conftest.err >&5
35474  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475  (exit $ac_status); } &&
35476	 { ac_try='test -z "$ac_cxx_werror_flag"
35477			 || test ! -s conftest.err'
35478  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35479  (eval $ac_try) 2>&5
35480  ac_status=$?
35481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482  (exit $ac_status); }; } &&
35483	 { ac_try='test -s conftest.$ac_objext'
35484  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35485  (eval $ac_try) 2>&5
35486  ac_status=$?
35487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488  (exit $ac_status); }; }; then
35489  glibcxx_cv_func_hypot_use=yes
35490else
35491  echo "$as_me: failed program was:" >&5
35492sed 's/^/| /' conftest.$ac_ext >&5
35493
35494glibcxx_cv_func_hypot_use=no
35495fi
35496rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35497      ac_ext=c
35498ac_cpp='$CPP $CPPFLAGS'
35499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501ac_compiler_gnu=$ac_cv_c_compiler_gnu
35502
35503
35504fi
35505
35506  fi
35507  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35508echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35509
35510  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35511
35512for ac_func in hypot
35513do
35514as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35515echo "$as_me:$LINENO: checking for $ac_func" >&5
35516echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35517if eval "test \"\${$as_ac_var+set}\" = set"; then
35518  echo $ECHO_N "(cached) $ECHO_C" >&6
35519else
35520  if test x$gcc_no_link = xyes; then
35521  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35522echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35523   { (exit 1); exit 1; }; }
35524fi
35525cat >conftest.$ac_ext <<_ACEOF
35526/* confdefs.h.  */
35527_ACEOF
35528cat confdefs.h >>conftest.$ac_ext
35529cat >>conftest.$ac_ext <<_ACEOF
35530/* end confdefs.h.  */
35531/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35532   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35533#define $ac_func innocuous_$ac_func
35534
35535/* System header to define __stub macros and hopefully few prototypes,
35536    which can conflict with char $ac_func (); below.
35537    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35538    <limits.h> exists even on freestanding compilers.  */
35539
35540#ifdef __STDC__
35541# include <limits.h>
35542#else
35543# include <assert.h>
35544#endif
35545
35546#undef $ac_func
35547
35548/* Override any gcc2 internal prototype to avoid an error.  */
35549#ifdef __cplusplus
35550extern "C"
35551{
35552#endif
35553/* We use char because int might match the return type of a gcc2
35554   builtin and then its argument prototype would still apply.  */
35555char $ac_func ();
35556/* The GNU C library defines this for functions which it implements
35557    to always fail with ENOSYS.  Some functions are actually named
35558    something starting with __ and the normal name is an alias.  */
35559#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35560choke me
35561#else
35562char (*f) () = $ac_func;
35563#endif
35564#ifdef __cplusplus
35565}
35566#endif
35567
35568int
35569main ()
35570{
35571return f != $ac_func;
35572  ;
35573  return 0;
35574}
35575_ACEOF
35576rm -f conftest.$ac_objext conftest$ac_exeext
35577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35578  (eval $ac_link) 2>conftest.er1
35579  ac_status=$?
35580  grep -v '^ *+' conftest.er1 >conftest.err
35581  rm -f conftest.er1
35582  cat conftest.err >&5
35583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584  (exit $ac_status); } &&
35585	 { ac_try='test -z "$ac_c_werror_flag"
35586			 || test ! -s conftest.err'
35587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588  (eval $ac_try) 2>&5
35589  ac_status=$?
35590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591  (exit $ac_status); }; } &&
35592	 { ac_try='test -s conftest$ac_exeext'
35593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594  (eval $ac_try) 2>&5
35595  ac_status=$?
35596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597  (exit $ac_status); }; }; then
35598  eval "$as_ac_var=yes"
35599else
35600  echo "$as_me: failed program was:" >&5
35601sed 's/^/| /' conftest.$ac_ext >&5
35602
35603eval "$as_ac_var=no"
35604fi
35605rm -f conftest.err conftest.$ac_objext \
35606      conftest$ac_exeext conftest.$ac_ext
35607fi
35608echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35609echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35610if test `eval echo '${'$as_ac_var'}'` = yes; then
35611  cat >>confdefs.h <<_ACEOF
35612#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35613_ACEOF
35614
35615fi
35616done
35617
35618  else
35619
35620  echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35621echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35622  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35623    if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35624  echo $ECHO_N "(cached) $ECHO_C" >&6
35625else
35626
35627
35628
35629      ac_ext=cc
35630ac_cpp='$CXXCPP $CPPFLAGS'
35631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35634
35635      cat >conftest.$ac_ext <<_ACEOF
35636/* confdefs.h.  */
35637_ACEOF
35638cat confdefs.h >>conftest.$ac_ext
35639cat >>conftest.$ac_ext <<_ACEOF
35640/* end confdefs.h.  */
35641#include <math.h>
35642int
35643main ()
35644{
35645 _hypot(0, 0);
35646  ;
35647  return 0;
35648}
35649_ACEOF
35650rm -f conftest.$ac_objext
35651if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35652  (eval $ac_compile) 2>conftest.er1
35653  ac_status=$?
35654  grep -v '^ *+' conftest.er1 >conftest.err
35655  rm -f conftest.er1
35656  cat conftest.err >&5
35657  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658  (exit $ac_status); } &&
35659	 { ac_try='test -z "$ac_cxx_werror_flag"
35660			 || test ! -s conftest.err'
35661  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662  (eval $ac_try) 2>&5
35663  ac_status=$?
35664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665  (exit $ac_status); }; } &&
35666	 { ac_try='test -s conftest.$ac_objext'
35667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668  (eval $ac_try) 2>&5
35669  ac_status=$?
35670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671  (exit $ac_status); }; }; then
35672  glibcxx_cv_func__hypot_use=yes
35673else
35674  echo "$as_me: failed program was:" >&5
35675sed 's/^/| /' conftest.$ac_ext >&5
35676
35677glibcxx_cv_func__hypot_use=no
35678fi
35679rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35680      ac_ext=c
35681ac_cpp='$CPP $CPPFLAGS'
35682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35684ac_compiler_gnu=$ac_cv_c_compiler_gnu
35685
35686
35687fi
35688
35689  fi
35690  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35691echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35692
35693    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35694
35695for ac_func in _hypot
35696do
35697as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35698echo "$as_me:$LINENO: checking for $ac_func" >&5
35699echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35700if eval "test \"\${$as_ac_var+set}\" = set"; then
35701  echo $ECHO_N "(cached) $ECHO_C" >&6
35702else
35703  if test x$gcc_no_link = xyes; then
35704  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35705echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35706   { (exit 1); exit 1; }; }
35707fi
35708cat >conftest.$ac_ext <<_ACEOF
35709/* confdefs.h.  */
35710_ACEOF
35711cat confdefs.h >>conftest.$ac_ext
35712cat >>conftest.$ac_ext <<_ACEOF
35713/* end confdefs.h.  */
35714/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35715   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35716#define $ac_func innocuous_$ac_func
35717
35718/* System header to define __stub macros and hopefully few prototypes,
35719    which can conflict with char $ac_func (); below.
35720    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35721    <limits.h> exists even on freestanding compilers.  */
35722
35723#ifdef __STDC__
35724# include <limits.h>
35725#else
35726# include <assert.h>
35727#endif
35728
35729#undef $ac_func
35730
35731/* Override any gcc2 internal prototype to avoid an error.  */
35732#ifdef __cplusplus
35733extern "C"
35734{
35735#endif
35736/* We use char because int might match the return type of a gcc2
35737   builtin and then its argument prototype would still apply.  */
35738char $ac_func ();
35739/* The GNU C library defines this for functions which it implements
35740    to always fail with ENOSYS.  Some functions are actually named
35741    something starting with __ and the normal name is an alias.  */
35742#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35743choke me
35744#else
35745char (*f) () = $ac_func;
35746#endif
35747#ifdef __cplusplus
35748}
35749#endif
35750
35751int
35752main ()
35753{
35754return f != $ac_func;
35755  ;
35756  return 0;
35757}
35758_ACEOF
35759rm -f conftest.$ac_objext conftest$ac_exeext
35760if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35761  (eval $ac_link) 2>conftest.er1
35762  ac_status=$?
35763  grep -v '^ *+' conftest.er1 >conftest.err
35764  rm -f conftest.er1
35765  cat conftest.err >&5
35766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767  (exit $ac_status); } &&
35768	 { ac_try='test -z "$ac_c_werror_flag"
35769			 || test ! -s conftest.err'
35770  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771  (eval $ac_try) 2>&5
35772  ac_status=$?
35773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774  (exit $ac_status); }; } &&
35775	 { ac_try='test -s conftest$ac_exeext'
35776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35777  (eval $ac_try) 2>&5
35778  ac_status=$?
35779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780  (exit $ac_status); }; }; then
35781  eval "$as_ac_var=yes"
35782else
35783  echo "$as_me: failed program was:" >&5
35784sed 's/^/| /' conftest.$ac_ext >&5
35785
35786eval "$as_ac_var=no"
35787fi
35788rm -f conftest.err conftest.$ac_objext \
35789      conftest$ac_exeext conftest.$ac_ext
35790fi
35791echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35792echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35793if test `eval echo '${'$as_ac_var'}'` = yes; then
35794  cat >>confdefs.h <<_ACEOF
35795#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35796_ACEOF
35797
35798fi
35799done
35800
35801    fi
35802  fi
35803
35804
35805
35806
35807
35808
35809    echo "$as_me:$LINENO: checking for float trig functions" >&5
35810echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35811  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35812  echo $ECHO_N "(cached) $ECHO_C" >&6
35813else
35814
35815
35816
35817    ac_ext=cc
35818ac_cpp='$CXXCPP $CPPFLAGS'
35819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35822
35823    cat >conftest.$ac_ext <<_ACEOF
35824/* confdefs.h.  */
35825_ACEOF
35826cat confdefs.h >>conftest.$ac_ext
35827cat >>conftest.$ac_ext <<_ACEOF
35828/* end confdefs.h.  */
35829#include <math.h>
35830int
35831main ()
35832{
35833acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35834  ;
35835  return 0;
35836}
35837_ACEOF
35838rm -f conftest.$ac_objext
35839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35840  (eval $ac_compile) 2>conftest.er1
35841  ac_status=$?
35842  grep -v '^ *+' conftest.er1 >conftest.err
35843  rm -f conftest.er1
35844  cat conftest.err >&5
35845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846  (exit $ac_status); } &&
35847	 { ac_try='test -z "$ac_cxx_werror_flag"
35848			 || test ! -s conftest.err'
35849  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850  (eval $ac_try) 2>&5
35851  ac_status=$?
35852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853  (exit $ac_status); }; } &&
35854	 { ac_try='test -s conftest.$ac_objext'
35855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856  (eval $ac_try) 2>&5
35857  ac_status=$?
35858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859  (exit $ac_status); }; }; then
35860  glibcxx_cv_func_float_trig_use=yes
35861else
35862  echo "$as_me: failed program was:" >&5
35863sed 's/^/| /' conftest.$ac_ext >&5
35864
35865glibcxx_cv_func_float_trig_use=no
35866fi
35867rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35868    ac_ext=c
35869ac_cpp='$CPP $CPPFLAGS'
35870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35872ac_compiler_gnu=$ac_cv_c_compiler_gnu
35873
35874fi
35875
35876  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35877echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35878  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35889do
35890as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35891echo "$as_me:$LINENO: checking for $ac_func" >&5
35892echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35893if eval "test \"\${$as_ac_var+set}\" = set"; then
35894  echo $ECHO_N "(cached) $ECHO_C" >&6
35895else
35896  if test x$gcc_no_link = xyes; then
35897  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35898echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35899   { (exit 1); exit 1; }; }
35900fi
35901cat >conftest.$ac_ext <<_ACEOF
35902/* confdefs.h.  */
35903_ACEOF
35904cat confdefs.h >>conftest.$ac_ext
35905cat >>conftest.$ac_ext <<_ACEOF
35906/* end confdefs.h.  */
35907/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35908   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35909#define $ac_func innocuous_$ac_func
35910
35911/* System header to define __stub macros and hopefully few prototypes,
35912    which can conflict with char $ac_func (); below.
35913    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35914    <limits.h> exists even on freestanding compilers.  */
35915
35916#ifdef __STDC__
35917# include <limits.h>
35918#else
35919# include <assert.h>
35920#endif
35921
35922#undef $ac_func
35923
35924/* Override any gcc2 internal prototype to avoid an error.  */
35925#ifdef __cplusplus
35926extern "C"
35927{
35928#endif
35929/* We use char because int might match the return type of a gcc2
35930   builtin and then its argument prototype would still apply.  */
35931char $ac_func ();
35932/* The GNU C library defines this for functions which it implements
35933    to always fail with ENOSYS.  Some functions are actually named
35934    something starting with __ and the normal name is an alias.  */
35935#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35936choke me
35937#else
35938char (*f) () = $ac_func;
35939#endif
35940#ifdef __cplusplus
35941}
35942#endif
35943
35944int
35945main ()
35946{
35947return f != $ac_func;
35948  ;
35949  return 0;
35950}
35951_ACEOF
35952rm -f conftest.$ac_objext conftest$ac_exeext
35953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35954  (eval $ac_link) 2>conftest.er1
35955  ac_status=$?
35956  grep -v '^ *+' conftest.er1 >conftest.err
35957  rm -f conftest.er1
35958  cat conftest.err >&5
35959  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960  (exit $ac_status); } &&
35961	 { ac_try='test -z "$ac_c_werror_flag"
35962			 || test ! -s conftest.err'
35963  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35964  (eval $ac_try) 2>&5
35965  ac_status=$?
35966  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967  (exit $ac_status); }; } &&
35968	 { ac_try='test -s conftest$ac_exeext'
35969  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970  (eval $ac_try) 2>&5
35971  ac_status=$?
35972  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973  (exit $ac_status); }; }; then
35974  eval "$as_ac_var=yes"
35975else
35976  echo "$as_me: failed program was:" >&5
35977sed 's/^/| /' conftest.$ac_ext >&5
35978
35979eval "$as_ac_var=no"
35980fi
35981rm -f conftest.err conftest.$ac_objext \
35982      conftest$ac_exeext conftest.$ac_ext
35983fi
35984echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35985echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35986if test `eval echo '${'$as_ac_var'}'` = yes; then
35987  cat >>confdefs.h <<_ACEOF
35988#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35989_ACEOF
35990
35991fi
35992done
35993
35994  else
35995    echo "$as_me:$LINENO: checking for _float trig functions" >&5
35996echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35997    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35998  echo $ECHO_N "(cached) $ECHO_C" >&6
35999else
36000
36001
36002
36003      ac_ext=cc
36004ac_cpp='$CXXCPP $CPPFLAGS'
36005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36008
36009      cat >conftest.$ac_ext <<_ACEOF
36010/* confdefs.h.  */
36011_ACEOF
36012cat confdefs.h >>conftest.$ac_ext
36013cat >>conftest.$ac_ext <<_ACEOF
36014/* end confdefs.h.  */
36015#include <math.h>
36016int
36017main ()
36018{
36019_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36020  ;
36021  return 0;
36022}
36023_ACEOF
36024rm -f conftest.$ac_objext
36025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36026  (eval $ac_compile) 2>conftest.er1
36027  ac_status=$?
36028  grep -v '^ *+' conftest.er1 >conftest.err
36029  rm -f conftest.er1
36030  cat conftest.err >&5
36031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032  (exit $ac_status); } &&
36033	 { ac_try='test -z "$ac_cxx_werror_flag"
36034			 || test ! -s conftest.err'
36035  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36036  (eval $ac_try) 2>&5
36037  ac_status=$?
36038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039  (exit $ac_status); }; } &&
36040	 { ac_try='test -s conftest.$ac_objext'
36041  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042  (eval $ac_try) 2>&5
36043  ac_status=$?
36044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045  (exit $ac_status); }; }; then
36046  glibcxx_cv_func__float_trig_use=yes
36047else
36048  echo "$as_me: failed program was:" >&5
36049sed 's/^/| /' conftest.$ac_ext >&5
36050
36051glibcxx_cv_func__float_trig_use=no
36052fi
36053rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36054      ac_ext=c
36055ac_cpp='$CPP $CPPFLAGS'
36056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058ac_compiler_gnu=$ac_cv_c_compiler_gnu
36059
36060fi
36061
36062    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36063echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36064    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36075do
36076as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36077echo "$as_me:$LINENO: checking for $ac_func" >&5
36078echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36079if eval "test \"\${$as_ac_var+set}\" = set"; then
36080  echo $ECHO_N "(cached) $ECHO_C" >&6
36081else
36082  if test x$gcc_no_link = xyes; then
36083  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36084echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36085   { (exit 1); exit 1; }; }
36086fi
36087cat >conftest.$ac_ext <<_ACEOF
36088/* confdefs.h.  */
36089_ACEOF
36090cat confdefs.h >>conftest.$ac_ext
36091cat >>conftest.$ac_ext <<_ACEOF
36092/* end confdefs.h.  */
36093/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36094   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36095#define $ac_func innocuous_$ac_func
36096
36097/* System header to define __stub macros and hopefully few prototypes,
36098    which can conflict with char $ac_func (); below.
36099    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36100    <limits.h> exists even on freestanding compilers.  */
36101
36102#ifdef __STDC__
36103# include <limits.h>
36104#else
36105# include <assert.h>
36106#endif
36107
36108#undef $ac_func
36109
36110/* Override any gcc2 internal prototype to avoid an error.  */
36111#ifdef __cplusplus
36112extern "C"
36113{
36114#endif
36115/* We use char because int might match the return type of a gcc2
36116   builtin and then its argument prototype would still apply.  */
36117char $ac_func ();
36118/* The GNU C library defines this for functions which it implements
36119    to always fail with ENOSYS.  Some functions are actually named
36120    something starting with __ and the normal name is an alias.  */
36121#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36122choke me
36123#else
36124char (*f) () = $ac_func;
36125#endif
36126#ifdef __cplusplus
36127}
36128#endif
36129
36130int
36131main ()
36132{
36133return f != $ac_func;
36134  ;
36135  return 0;
36136}
36137_ACEOF
36138rm -f conftest.$ac_objext conftest$ac_exeext
36139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36140  (eval $ac_link) 2>conftest.er1
36141  ac_status=$?
36142  grep -v '^ *+' conftest.er1 >conftest.err
36143  rm -f conftest.er1
36144  cat conftest.err >&5
36145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146  (exit $ac_status); } &&
36147	 { ac_try='test -z "$ac_c_werror_flag"
36148			 || test ! -s conftest.err'
36149  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150  (eval $ac_try) 2>&5
36151  ac_status=$?
36152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153  (exit $ac_status); }; } &&
36154	 { ac_try='test -s conftest$ac_exeext'
36155  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156  (eval $ac_try) 2>&5
36157  ac_status=$?
36158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159  (exit $ac_status); }; }; then
36160  eval "$as_ac_var=yes"
36161else
36162  echo "$as_me: failed program was:" >&5
36163sed 's/^/| /' conftest.$ac_ext >&5
36164
36165eval "$as_ac_var=no"
36166fi
36167rm -f conftest.err conftest.$ac_objext \
36168      conftest$ac_exeext conftest.$ac_ext
36169fi
36170echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36171echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36172if test `eval echo '${'$as_ac_var'}'` = yes; then
36173  cat >>confdefs.h <<_ACEOF
36174#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36175_ACEOF
36176
36177fi
36178done
36179
36180    fi
36181  fi
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196    echo "$as_me:$LINENO: checking for float round functions" >&5
36197echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36198  if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36199  echo $ECHO_N "(cached) $ECHO_C" >&6
36200else
36201
36202
36203
36204    ac_ext=cc
36205ac_cpp='$CXXCPP $CPPFLAGS'
36206ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36209
36210    cat >conftest.$ac_ext <<_ACEOF
36211/* confdefs.h.  */
36212_ACEOF
36213cat confdefs.h >>conftest.$ac_ext
36214cat >>conftest.$ac_ext <<_ACEOF
36215/* end confdefs.h.  */
36216#include <math.h>
36217int
36218main ()
36219{
36220ceilf (0); floorf (0);
36221  ;
36222  return 0;
36223}
36224_ACEOF
36225rm -f conftest.$ac_objext
36226if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36227  (eval $ac_compile) 2>conftest.er1
36228  ac_status=$?
36229  grep -v '^ *+' conftest.er1 >conftest.err
36230  rm -f conftest.er1
36231  cat conftest.err >&5
36232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233  (exit $ac_status); } &&
36234	 { ac_try='test -z "$ac_cxx_werror_flag"
36235			 || test ! -s conftest.err'
36236  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237  (eval $ac_try) 2>&5
36238  ac_status=$?
36239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240  (exit $ac_status); }; } &&
36241	 { ac_try='test -s conftest.$ac_objext'
36242  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243  (eval $ac_try) 2>&5
36244  ac_status=$?
36245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246  (exit $ac_status); }; }; then
36247  glibcxx_cv_func_float_round_use=yes
36248else
36249  echo "$as_me: failed program was:" >&5
36250sed 's/^/| /' conftest.$ac_ext >&5
36251
36252glibcxx_cv_func_float_round_use=no
36253fi
36254rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36255    ac_ext=c
36256ac_cpp='$CPP $CPPFLAGS'
36257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261fi
36262
36263  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36264echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36265  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36266
36267
36268for ac_func in ceilf floorf
36269do
36270as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36271echo "$as_me:$LINENO: checking for $ac_func" >&5
36272echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36273if eval "test \"\${$as_ac_var+set}\" = set"; then
36274  echo $ECHO_N "(cached) $ECHO_C" >&6
36275else
36276  if test x$gcc_no_link = xyes; then
36277  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36278echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36279   { (exit 1); exit 1; }; }
36280fi
36281cat >conftest.$ac_ext <<_ACEOF
36282/* confdefs.h.  */
36283_ACEOF
36284cat confdefs.h >>conftest.$ac_ext
36285cat >>conftest.$ac_ext <<_ACEOF
36286/* end confdefs.h.  */
36287/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36288   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36289#define $ac_func innocuous_$ac_func
36290
36291/* System header to define __stub macros and hopefully few prototypes,
36292    which can conflict with char $ac_func (); below.
36293    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36294    <limits.h> exists even on freestanding compilers.  */
36295
36296#ifdef __STDC__
36297# include <limits.h>
36298#else
36299# include <assert.h>
36300#endif
36301
36302#undef $ac_func
36303
36304/* Override any gcc2 internal prototype to avoid an error.  */
36305#ifdef __cplusplus
36306extern "C"
36307{
36308#endif
36309/* We use char because int might match the return type of a gcc2
36310   builtin and then its argument prototype would still apply.  */
36311char $ac_func ();
36312/* The GNU C library defines this for functions which it implements
36313    to always fail with ENOSYS.  Some functions are actually named
36314    something starting with __ and the normal name is an alias.  */
36315#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36316choke me
36317#else
36318char (*f) () = $ac_func;
36319#endif
36320#ifdef __cplusplus
36321}
36322#endif
36323
36324int
36325main ()
36326{
36327return f != $ac_func;
36328  ;
36329  return 0;
36330}
36331_ACEOF
36332rm -f conftest.$ac_objext conftest$ac_exeext
36333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36334  (eval $ac_link) 2>conftest.er1
36335  ac_status=$?
36336  grep -v '^ *+' conftest.er1 >conftest.err
36337  rm -f conftest.er1
36338  cat conftest.err >&5
36339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340  (exit $ac_status); } &&
36341	 { ac_try='test -z "$ac_c_werror_flag"
36342			 || test ! -s conftest.err'
36343  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344  (eval $ac_try) 2>&5
36345  ac_status=$?
36346  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347  (exit $ac_status); }; } &&
36348	 { ac_try='test -s conftest$ac_exeext'
36349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350  (eval $ac_try) 2>&5
36351  ac_status=$?
36352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353  (exit $ac_status); }; }; then
36354  eval "$as_ac_var=yes"
36355else
36356  echo "$as_me: failed program was:" >&5
36357sed 's/^/| /' conftest.$ac_ext >&5
36358
36359eval "$as_ac_var=no"
36360fi
36361rm -f conftest.err conftest.$ac_objext \
36362      conftest$ac_exeext conftest.$ac_ext
36363fi
36364echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36365echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36366if test `eval echo '${'$as_ac_var'}'` = yes; then
36367  cat >>confdefs.h <<_ACEOF
36368#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36369_ACEOF
36370
36371fi
36372done
36373
36374  else
36375    echo "$as_me:$LINENO: checking for _float round functions" >&5
36376echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36377    if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36378  echo $ECHO_N "(cached) $ECHO_C" >&6
36379else
36380
36381
36382
36383      ac_ext=cc
36384ac_cpp='$CXXCPP $CPPFLAGS'
36385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36388
36389      cat >conftest.$ac_ext <<_ACEOF
36390/* confdefs.h.  */
36391_ACEOF
36392cat confdefs.h >>conftest.$ac_ext
36393cat >>conftest.$ac_ext <<_ACEOF
36394/* end confdefs.h.  */
36395#include <math.h>
36396int
36397main ()
36398{
36399_ceilf (0); _floorf (0);
36400  ;
36401  return 0;
36402}
36403_ACEOF
36404rm -f conftest.$ac_objext
36405if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36406  (eval $ac_compile) 2>conftest.er1
36407  ac_status=$?
36408  grep -v '^ *+' conftest.er1 >conftest.err
36409  rm -f conftest.er1
36410  cat conftest.err >&5
36411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412  (exit $ac_status); } &&
36413	 { ac_try='test -z "$ac_cxx_werror_flag"
36414			 || test ! -s conftest.err'
36415  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416  (eval $ac_try) 2>&5
36417  ac_status=$?
36418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419  (exit $ac_status); }; } &&
36420	 { ac_try='test -s conftest.$ac_objext'
36421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422  (eval $ac_try) 2>&5
36423  ac_status=$?
36424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425  (exit $ac_status); }; }; then
36426  glibcxx_cv_func__float_round_use=yes
36427else
36428  echo "$as_me: failed program was:" >&5
36429sed 's/^/| /' conftest.$ac_ext >&5
36430
36431glibcxx_cv_func__float_round_use=no
36432fi
36433rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36434      ac_ext=c
36435ac_cpp='$CPP $CPPFLAGS'
36436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438ac_compiler_gnu=$ac_cv_c_compiler_gnu
36439
36440fi
36441
36442    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36443echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36444    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36445
36446
36447for ac_func in _ceilf _floorf
36448do
36449as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36450echo "$as_me:$LINENO: checking for $ac_func" >&5
36451echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36452if eval "test \"\${$as_ac_var+set}\" = set"; then
36453  echo $ECHO_N "(cached) $ECHO_C" >&6
36454else
36455  if test x$gcc_no_link = xyes; then
36456  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36457echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36458   { (exit 1); exit 1; }; }
36459fi
36460cat >conftest.$ac_ext <<_ACEOF
36461/* confdefs.h.  */
36462_ACEOF
36463cat confdefs.h >>conftest.$ac_ext
36464cat >>conftest.$ac_ext <<_ACEOF
36465/* end confdefs.h.  */
36466/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36467   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36468#define $ac_func innocuous_$ac_func
36469
36470/* System header to define __stub macros and hopefully few prototypes,
36471    which can conflict with char $ac_func (); below.
36472    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36473    <limits.h> exists even on freestanding compilers.  */
36474
36475#ifdef __STDC__
36476# include <limits.h>
36477#else
36478# include <assert.h>
36479#endif
36480
36481#undef $ac_func
36482
36483/* Override any gcc2 internal prototype to avoid an error.  */
36484#ifdef __cplusplus
36485extern "C"
36486{
36487#endif
36488/* We use char because int might match the return type of a gcc2
36489   builtin and then its argument prototype would still apply.  */
36490char $ac_func ();
36491/* The GNU C library defines this for functions which it implements
36492    to always fail with ENOSYS.  Some functions are actually named
36493    something starting with __ and the normal name is an alias.  */
36494#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36495choke me
36496#else
36497char (*f) () = $ac_func;
36498#endif
36499#ifdef __cplusplus
36500}
36501#endif
36502
36503int
36504main ()
36505{
36506return f != $ac_func;
36507  ;
36508  return 0;
36509}
36510_ACEOF
36511rm -f conftest.$ac_objext conftest$ac_exeext
36512if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36513  (eval $ac_link) 2>conftest.er1
36514  ac_status=$?
36515  grep -v '^ *+' conftest.er1 >conftest.err
36516  rm -f conftest.er1
36517  cat conftest.err >&5
36518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519  (exit $ac_status); } &&
36520	 { ac_try='test -z "$ac_c_werror_flag"
36521			 || test ! -s conftest.err'
36522  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523  (eval $ac_try) 2>&5
36524  ac_status=$?
36525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526  (exit $ac_status); }; } &&
36527	 { ac_try='test -s conftest$ac_exeext'
36528  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36529  (eval $ac_try) 2>&5
36530  ac_status=$?
36531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532  (exit $ac_status); }; }; then
36533  eval "$as_ac_var=yes"
36534else
36535  echo "$as_me: failed program was:" >&5
36536sed 's/^/| /' conftest.$ac_ext >&5
36537
36538eval "$as_ac_var=no"
36539fi
36540rm -f conftest.err conftest.$ac_objext \
36541      conftest$ac_exeext conftest.$ac_ext
36542fi
36543echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36544echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36545if test `eval echo '${'$as_ac_var'}'` = yes; then
36546  cat >>confdefs.h <<_ACEOF
36547#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36548_ACEOF
36549
36550fi
36551done
36552
36553    fi
36554  fi
36555
36556
36557
36558
36559
36560
36561
36562
36563  echo "$as_me:$LINENO: checking for expf declaration" >&5
36564echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36565  if test x${glibcxx_cv_func_expf_use+set} != xset; then
36566    if test "${glibcxx_cv_func_expf_use+set}" = set; then
36567  echo $ECHO_N "(cached) $ECHO_C" >&6
36568else
36569
36570
36571
36572      ac_ext=cc
36573ac_cpp='$CXXCPP $CPPFLAGS'
36574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577
36578      cat >conftest.$ac_ext <<_ACEOF
36579/* confdefs.h.  */
36580_ACEOF
36581cat confdefs.h >>conftest.$ac_ext
36582cat >>conftest.$ac_ext <<_ACEOF
36583/* end confdefs.h.  */
36584#include <math.h>
36585		      #ifdef HAVE_IEEEFP_H
36586		      #include <ieeefp.h>
36587		      #endif
36588
36589int
36590main ()
36591{
36592 expf(0);
36593  ;
36594  return 0;
36595}
36596_ACEOF
36597rm -f conftest.$ac_objext
36598if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36599  (eval $ac_compile) 2>conftest.er1
36600  ac_status=$?
36601  grep -v '^ *+' conftest.er1 >conftest.err
36602  rm -f conftest.er1
36603  cat conftest.err >&5
36604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605  (exit $ac_status); } &&
36606	 { ac_try='test -z "$ac_cxx_werror_flag"
36607			 || test ! -s conftest.err'
36608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609  (eval $ac_try) 2>&5
36610  ac_status=$?
36611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612  (exit $ac_status); }; } &&
36613	 { ac_try='test -s conftest.$ac_objext'
36614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615  (eval $ac_try) 2>&5
36616  ac_status=$?
36617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618  (exit $ac_status); }; }; then
36619  glibcxx_cv_func_expf_use=yes
36620else
36621  echo "$as_me: failed program was:" >&5
36622sed 's/^/| /' conftest.$ac_ext >&5
36623
36624glibcxx_cv_func_expf_use=no
36625fi
36626rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36627      ac_ext=c
36628ac_cpp='$CPP $CPPFLAGS'
36629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631ac_compiler_gnu=$ac_cv_c_compiler_gnu
36632
36633
36634fi
36635
36636  fi
36637  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36638echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36639
36640  if test x$glibcxx_cv_func_expf_use = x"yes"; then
36641
36642for ac_func in expf
36643do
36644as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36645echo "$as_me:$LINENO: checking for $ac_func" >&5
36646echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36647if eval "test \"\${$as_ac_var+set}\" = set"; then
36648  echo $ECHO_N "(cached) $ECHO_C" >&6
36649else
36650  if test x$gcc_no_link = xyes; then
36651  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36652echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36653   { (exit 1); exit 1; }; }
36654fi
36655cat >conftest.$ac_ext <<_ACEOF
36656/* confdefs.h.  */
36657_ACEOF
36658cat confdefs.h >>conftest.$ac_ext
36659cat >>conftest.$ac_ext <<_ACEOF
36660/* end confdefs.h.  */
36661/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36662   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36663#define $ac_func innocuous_$ac_func
36664
36665/* System header to define __stub macros and hopefully few prototypes,
36666    which can conflict with char $ac_func (); below.
36667    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36668    <limits.h> exists even on freestanding compilers.  */
36669
36670#ifdef __STDC__
36671# include <limits.h>
36672#else
36673# include <assert.h>
36674#endif
36675
36676#undef $ac_func
36677
36678/* Override any gcc2 internal prototype to avoid an error.  */
36679#ifdef __cplusplus
36680extern "C"
36681{
36682#endif
36683/* We use char because int might match the return type of a gcc2
36684   builtin and then its argument prototype would still apply.  */
36685char $ac_func ();
36686/* The GNU C library defines this for functions which it implements
36687    to always fail with ENOSYS.  Some functions are actually named
36688    something starting with __ and the normal name is an alias.  */
36689#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36690choke me
36691#else
36692char (*f) () = $ac_func;
36693#endif
36694#ifdef __cplusplus
36695}
36696#endif
36697
36698int
36699main ()
36700{
36701return f != $ac_func;
36702  ;
36703  return 0;
36704}
36705_ACEOF
36706rm -f conftest.$ac_objext conftest$ac_exeext
36707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36708  (eval $ac_link) 2>conftest.er1
36709  ac_status=$?
36710  grep -v '^ *+' conftest.er1 >conftest.err
36711  rm -f conftest.er1
36712  cat conftest.err >&5
36713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714  (exit $ac_status); } &&
36715	 { ac_try='test -z "$ac_c_werror_flag"
36716			 || test ! -s conftest.err'
36717  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718  (eval $ac_try) 2>&5
36719  ac_status=$?
36720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721  (exit $ac_status); }; } &&
36722	 { ac_try='test -s conftest$ac_exeext'
36723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724  (eval $ac_try) 2>&5
36725  ac_status=$?
36726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727  (exit $ac_status); }; }; then
36728  eval "$as_ac_var=yes"
36729else
36730  echo "$as_me: failed program was:" >&5
36731sed 's/^/| /' conftest.$ac_ext >&5
36732
36733eval "$as_ac_var=no"
36734fi
36735rm -f conftest.err conftest.$ac_objext \
36736      conftest$ac_exeext conftest.$ac_ext
36737fi
36738echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36739echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36740if test `eval echo '${'$as_ac_var'}'` = yes; then
36741  cat >>confdefs.h <<_ACEOF
36742#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36743_ACEOF
36744
36745fi
36746done
36747
36748  else
36749
36750  echo "$as_me:$LINENO: checking for _expf declaration" >&5
36751echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36752  if test x${glibcxx_cv_func__expf_use+set} != xset; then
36753    if test "${glibcxx_cv_func__expf_use+set}" = set; then
36754  echo $ECHO_N "(cached) $ECHO_C" >&6
36755else
36756
36757
36758
36759      ac_ext=cc
36760ac_cpp='$CXXCPP $CPPFLAGS'
36761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36764
36765      cat >conftest.$ac_ext <<_ACEOF
36766/* confdefs.h.  */
36767_ACEOF
36768cat confdefs.h >>conftest.$ac_ext
36769cat >>conftest.$ac_ext <<_ACEOF
36770/* end confdefs.h.  */
36771#include <math.h>
36772		      #ifdef HAVE_IEEEFP_H
36773		      #include <ieeefp.h>
36774		      #endif
36775
36776int
36777main ()
36778{
36779 _expf(0);
36780  ;
36781  return 0;
36782}
36783_ACEOF
36784rm -f conftest.$ac_objext
36785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36786  (eval $ac_compile) 2>conftest.er1
36787  ac_status=$?
36788  grep -v '^ *+' conftest.er1 >conftest.err
36789  rm -f conftest.er1
36790  cat conftest.err >&5
36791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792  (exit $ac_status); } &&
36793	 { ac_try='test -z "$ac_cxx_werror_flag"
36794			 || test ! -s conftest.err'
36795  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796  (eval $ac_try) 2>&5
36797  ac_status=$?
36798  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799  (exit $ac_status); }; } &&
36800	 { ac_try='test -s conftest.$ac_objext'
36801  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802  (eval $ac_try) 2>&5
36803  ac_status=$?
36804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805  (exit $ac_status); }; }; then
36806  glibcxx_cv_func__expf_use=yes
36807else
36808  echo "$as_me: failed program was:" >&5
36809sed 's/^/| /' conftest.$ac_ext >&5
36810
36811glibcxx_cv_func__expf_use=no
36812fi
36813rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36814      ac_ext=c
36815ac_cpp='$CPP $CPPFLAGS'
36816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36818ac_compiler_gnu=$ac_cv_c_compiler_gnu
36819
36820
36821fi
36822
36823  fi
36824  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36825echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36826
36827    if test x$glibcxx_cv_func__expf_use = x"yes"; then
36828
36829for ac_func in _expf
36830do
36831as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36832echo "$as_me:$LINENO: checking for $ac_func" >&5
36833echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36834if eval "test \"\${$as_ac_var+set}\" = set"; then
36835  echo $ECHO_N "(cached) $ECHO_C" >&6
36836else
36837  if test x$gcc_no_link = xyes; then
36838  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36839echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36840   { (exit 1); exit 1; }; }
36841fi
36842cat >conftest.$ac_ext <<_ACEOF
36843/* confdefs.h.  */
36844_ACEOF
36845cat confdefs.h >>conftest.$ac_ext
36846cat >>conftest.$ac_ext <<_ACEOF
36847/* end confdefs.h.  */
36848/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36849   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36850#define $ac_func innocuous_$ac_func
36851
36852/* System header to define __stub macros and hopefully few prototypes,
36853    which can conflict with char $ac_func (); below.
36854    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36855    <limits.h> exists even on freestanding compilers.  */
36856
36857#ifdef __STDC__
36858# include <limits.h>
36859#else
36860# include <assert.h>
36861#endif
36862
36863#undef $ac_func
36864
36865/* Override any gcc2 internal prototype to avoid an error.  */
36866#ifdef __cplusplus
36867extern "C"
36868{
36869#endif
36870/* We use char because int might match the return type of a gcc2
36871   builtin and then its argument prototype would still apply.  */
36872char $ac_func ();
36873/* The GNU C library defines this for functions which it implements
36874    to always fail with ENOSYS.  Some functions are actually named
36875    something starting with __ and the normal name is an alias.  */
36876#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36877choke me
36878#else
36879char (*f) () = $ac_func;
36880#endif
36881#ifdef __cplusplus
36882}
36883#endif
36884
36885int
36886main ()
36887{
36888return f != $ac_func;
36889  ;
36890  return 0;
36891}
36892_ACEOF
36893rm -f conftest.$ac_objext conftest$ac_exeext
36894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36895  (eval $ac_link) 2>conftest.er1
36896  ac_status=$?
36897  grep -v '^ *+' conftest.er1 >conftest.err
36898  rm -f conftest.er1
36899  cat conftest.err >&5
36900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901  (exit $ac_status); } &&
36902	 { ac_try='test -z "$ac_c_werror_flag"
36903			 || test ! -s conftest.err'
36904  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905  (eval $ac_try) 2>&5
36906  ac_status=$?
36907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908  (exit $ac_status); }; } &&
36909	 { ac_try='test -s conftest$ac_exeext'
36910  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36911  (eval $ac_try) 2>&5
36912  ac_status=$?
36913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914  (exit $ac_status); }; }; then
36915  eval "$as_ac_var=yes"
36916else
36917  echo "$as_me: failed program was:" >&5
36918sed 's/^/| /' conftest.$ac_ext >&5
36919
36920eval "$as_ac_var=no"
36921fi
36922rm -f conftest.err conftest.$ac_objext \
36923      conftest$ac_exeext conftest.$ac_ext
36924fi
36925echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36926echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36927if test `eval echo '${'$as_ac_var'}'` = yes; then
36928  cat >>confdefs.h <<_ACEOF
36929#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36930_ACEOF
36931
36932fi
36933done
36934
36935    fi
36936  fi
36937
36938
36939
36940
36941
36942
36943  echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36944echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36945  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36946    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36947  echo $ECHO_N "(cached) $ECHO_C" >&6
36948else
36949
36950
36951
36952      ac_ext=cc
36953ac_cpp='$CXXCPP $CPPFLAGS'
36954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36957
36958      cat >conftest.$ac_ext <<_ACEOF
36959/* confdefs.h.  */
36960_ACEOF
36961cat confdefs.h >>conftest.$ac_ext
36962cat >>conftest.$ac_ext <<_ACEOF
36963/* end confdefs.h.  */
36964#include <math.h>
36965		      #ifdef HAVE_IEEEFP_H
36966		      #include <ieeefp.h>
36967		      #endif
36968
36969int
36970main ()
36971{
36972 isnanf(0);
36973  ;
36974  return 0;
36975}
36976_ACEOF
36977rm -f conftest.$ac_objext
36978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36979  (eval $ac_compile) 2>conftest.er1
36980  ac_status=$?
36981  grep -v '^ *+' conftest.er1 >conftest.err
36982  rm -f conftest.er1
36983  cat conftest.err >&5
36984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985  (exit $ac_status); } &&
36986	 { ac_try='test -z "$ac_cxx_werror_flag"
36987			 || test ! -s conftest.err'
36988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989  (eval $ac_try) 2>&5
36990  ac_status=$?
36991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992  (exit $ac_status); }; } &&
36993	 { ac_try='test -s conftest.$ac_objext'
36994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36995  (eval $ac_try) 2>&5
36996  ac_status=$?
36997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998  (exit $ac_status); }; }; then
36999  glibcxx_cv_func_isnanf_use=yes
37000else
37001  echo "$as_me: failed program was:" >&5
37002sed 's/^/| /' conftest.$ac_ext >&5
37003
37004glibcxx_cv_func_isnanf_use=no
37005fi
37006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37007      ac_ext=c
37008ac_cpp='$CPP $CPPFLAGS'
37009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011ac_compiler_gnu=$ac_cv_c_compiler_gnu
37012
37013
37014fi
37015
37016  fi
37017  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37018echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37019
37020  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37021
37022for ac_func in isnanf
37023do
37024as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37025echo "$as_me:$LINENO: checking for $ac_func" >&5
37026echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37027if eval "test \"\${$as_ac_var+set}\" = set"; then
37028  echo $ECHO_N "(cached) $ECHO_C" >&6
37029else
37030  if test x$gcc_no_link = xyes; then
37031  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37032echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37033   { (exit 1); exit 1; }; }
37034fi
37035cat >conftest.$ac_ext <<_ACEOF
37036/* confdefs.h.  */
37037_ACEOF
37038cat confdefs.h >>conftest.$ac_ext
37039cat >>conftest.$ac_ext <<_ACEOF
37040/* end confdefs.h.  */
37041/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37042   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37043#define $ac_func innocuous_$ac_func
37044
37045/* System header to define __stub macros and hopefully few prototypes,
37046    which can conflict with char $ac_func (); below.
37047    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37048    <limits.h> exists even on freestanding compilers.  */
37049
37050#ifdef __STDC__
37051# include <limits.h>
37052#else
37053# include <assert.h>
37054#endif
37055
37056#undef $ac_func
37057
37058/* Override any gcc2 internal prototype to avoid an error.  */
37059#ifdef __cplusplus
37060extern "C"
37061{
37062#endif
37063/* We use char because int might match the return type of a gcc2
37064   builtin and then its argument prototype would still apply.  */
37065char $ac_func ();
37066/* The GNU C library defines this for functions which it implements
37067    to always fail with ENOSYS.  Some functions are actually named
37068    something starting with __ and the normal name is an alias.  */
37069#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37070choke me
37071#else
37072char (*f) () = $ac_func;
37073#endif
37074#ifdef __cplusplus
37075}
37076#endif
37077
37078int
37079main ()
37080{
37081return f != $ac_func;
37082  ;
37083  return 0;
37084}
37085_ACEOF
37086rm -f conftest.$ac_objext conftest$ac_exeext
37087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37088  (eval $ac_link) 2>conftest.er1
37089  ac_status=$?
37090  grep -v '^ *+' conftest.er1 >conftest.err
37091  rm -f conftest.er1
37092  cat conftest.err >&5
37093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094  (exit $ac_status); } &&
37095	 { ac_try='test -z "$ac_c_werror_flag"
37096			 || test ! -s conftest.err'
37097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37098  (eval $ac_try) 2>&5
37099  ac_status=$?
37100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101  (exit $ac_status); }; } &&
37102	 { ac_try='test -s conftest$ac_exeext'
37103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104  (eval $ac_try) 2>&5
37105  ac_status=$?
37106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107  (exit $ac_status); }; }; then
37108  eval "$as_ac_var=yes"
37109else
37110  echo "$as_me: failed program was:" >&5
37111sed 's/^/| /' conftest.$ac_ext >&5
37112
37113eval "$as_ac_var=no"
37114fi
37115rm -f conftest.err conftest.$ac_objext \
37116      conftest$ac_exeext conftest.$ac_ext
37117fi
37118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37119echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37120if test `eval echo '${'$as_ac_var'}'` = yes; then
37121  cat >>confdefs.h <<_ACEOF
37122#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37123_ACEOF
37124
37125fi
37126done
37127
37128  else
37129
37130  echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37131echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37132  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37133    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37134  echo $ECHO_N "(cached) $ECHO_C" >&6
37135else
37136
37137
37138
37139      ac_ext=cc
37140ac_cpp='$CXXCPP $CPPFLAGS'
37141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144
37145      cat >conftest.$ac_ext <<_ACEOF
37146/* confdefs.h.  */
37147_ACEOF
37148cat confdefs.h >>conftest.$ac_ext
37149cat >>conftest.$ac_ext <<_ACEOF
37150/* end confdefs.h.  */
37151#include <math.h>
37152		      #ifdef HAVE_IEEEFP_H
37153		      #include <ieeefp.h>
37154		      #endif
37155
37156int
37157main ()
37158{
37159 _isnanf(0);
37160  ;
37161  return 0;
37162}
37163_ACEOF
37164rm -f conftest.$ac_objext
37165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37166  (eval $ac_compile) 2>conftest.er1
37167  ac_status=$?
37168  grep -v '^ *+' conftest.er1 >conftest.err
37169  rm -f conftest.er1
37170  cat conftest.err >&5
37171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172  (exit $ac_status); } &&
37173	 { ac_try='test -z "$ac_cxx_werror_flag"
37174			 || test ! -s conftest.err'
37175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176  (eval $ac_try) 2>&5
37177  ac_status=$?
37178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179  (exit $ac_status); }; } &&
37180	 { ac_try='test -s conftest.$ac_objext'
37181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182  (eval $ac_try) 2>&5
37183  ac_status=$?
37184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185  (exit $ac_status); }; }; then
37186  glibcxx_cv_func__isnanf_use=yes
37187else
37188  echo "$as_me: failed program was:" >&5
37189sed 's/^/| /' conftest.$ac_ext >&5
37190
37191glibcxx_cv_func__isnanf_use=no
37192fi
37193rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37194      ac_ext=c
37195ac_cpp='$CPP $CPPFLAGS'
37196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198ac_compiler_gnu=$ac_cv_c_compiler_gnu
37199
37200
37201fi
37202
37203  fi
37204  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37205echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37206
37207    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37208
37209for ac_func in _isnanf
37210do
37211as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37212echo "$as_me:$LINENO: checking for $ac_func" >&5
37213echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37214if eval "test \"\${$as_ac_var+set}\" = set"; then
37215  echo $ECHO_N "(cached) $ECHO_C" >&6
37216else
37217  if test x$gcc_no_link = xyes; then
37218  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37219echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37220   { (exit 1); exit 1; }; }
37221fi
37222cat >conftest.$ac_ext <<_ACEOF
37223/* confdefs.h.  */
37224_ACEOF
37225cat confdefs.h >>conftest.$ac_ext
37226cat >>conftest.$ac_ext <<_ACEOF
37227/* end confdefs.h.  */
37228/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37230#define $ac_func innocuous_$ac_func
37231
37232/* System header to define __stub macros and hopefully few prototypes,
37233    which can conflict with char $ac_func (); below.
37234    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235    <limits.h> exists even on freestanding compilers.  */
37236
37237#ifdef __STDC__
37238# include <limits.h>
37239#else
37240# include <assert.h>
37241#endif
37242
37243#undef $ac_func
37244
37245/* Override any gcc2 internal prototype to avoid an error.  */
37246#ifdef __cplusplus
37247extern "C"
37248{
37249#endif
37250/* We use char because int might match the return type of a gcc2
37251   builtin and then its argument prototype would still apply.  */
37252char $ac_func ();
37253/* The GNU C library defines this for functions which it implements
37254    to always fail with ENOSYS.  Some functions are actually named
37255    something starting with __ and the normal name is an alias.  */
37256#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37257choke me
37258#else
37259char (*f) () = $ac_func;
37260#endif
37261#ifdef __cplusplus
37262}
37263#endif
37264
37265int
37266main ()
37267{
37268return f != $ac_func;
37269  ;
37270  return 0;
37271}
37272_ACEOF
37273rm -f conftest.$ac_objext conftest$ac_exeext
37274if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37275  (eval $ac_link) 2>conftest.er1
37276  ac_status=$?
37277  grep -v '^ *+' conftest.er1 >conftest.err
37278  rm -f conftest.er1
37279  cat conftest.err >&5
37280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281  (exit $ac_status); } &&
37282	 { ac_try='test -z "$ac_c_werror_flag"
37283			 || test ! -s conftest.err'
37284  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37285  (eval $ac_try) 2>&5
37286  ac_status=$?
37287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288  (exit $ac_status); }; } &&
37289	 { ac_try='test -s conftest$ac_exeext'
37290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37291  (eval $ac_try) 2>&5
37292  ac_status=$?
37293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294  (exit $ac_status); }; }; then
37295  eval "$as_ac_var=yes"
37296else
37297  echo "$as_me: failed program was:" >&5
37298sed 's/^/| /' conftest.$ac_ext >&5
37299
37300eval "$as_ac_var=no"
37301fi
37302rm -f conftest.err conftest.$ac_objext \
37303      conftest$ac_exeext conftest.$ac_ext
37304fi
37305echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37306echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37307if test `eval echo '${'$as_ac_var'}'` = yes; then
37308  cat >>confdefs.h <<_ACEOF
37309#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37310_ACEOF
37311
37312fi
37313done
37314
37315    fi
37316  fi
37317
37318
37319
37320
37321
37322
37323  echo "$as_me:$LINENO: checking for isinff declaration" >&5
37324echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37325  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37326    if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37327  echo $ECHO_N "(cached) $ECHO_C" >&6
37328else
37329
37330
37331
37332      ac_ext=cc
37333ac_cpp='$CXXCPP $CPPFLAGS'
37334ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37335ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37336ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37337
37338      cat >conftest.$ac_ext <<_ACEOF
37339/* confdefs.h.  */
37340_ACEOF
37341cat confdefs.h >>conftest.$ac_ext
37342cat >>conftest.$ac_ext <<_ACEOF
37343/* end confdefs.h.  */
37344#include <math.h>
37345		      #ifdef HAVE_IEEEFP_H
37346		      #include <ieeefp.h>
37347		      #endif
37348
37349int
37350main ()
37351{
37352 isinff(0);
37353  ;
37354  return 0;
37355}
37356_ACEOF
37357rm -f conftest.$ac_objext
37358if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37359  (eval $ac_compile) 2>conftest.er1
37360  ac_status=$?
37361  grep -v '^ *+' conftest.er1 >conftest.err
37362  rm -f conftest.er1
37363  cat conftest.err >&5
37364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365  (exit $ac_status); } &&
37366	 { ac_try='test -z "$ac_cxx_werror_flag"
37367			 || test ! -s conftest.err'
37368  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369  (eval $ac_try) 2>&5
37370  ac_status=$?
37371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372  (exit $ac_status); }; } &&
37373	 { ac_try='test -s conftest.$ac_objext'
37374  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375  (eval $ac_try) 2>&5
37376  ac_status=$?
37377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378  (exit $ac_status); }; }; then
37379  glibcxx_cv_func_isinff_use=yes
37380else
37381  echo "$as_me: failed program was:" >&5
37382sed 's/^/| /' conftest.$ac_ext >&5
37383
37384glibcxx_cv_func_isinff_use=no
37385fi
37386rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37387      ac_ext=c
37388ac_cpp='$CPP $CPPFLAGS'
37389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392
37393
37394fi
37395
37396  fi
37397  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37398echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37399
37400  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37401
37402for ac_func in isinff
37403do
37404as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405echo "$as_me:$LINENO: checking for $ac_func" >&5
37406echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37407if eval "test \"\${$as_ac_var+set}\" = set"; then
37408  echo $ECHO_N "(cached) $ECHO_C" >&6
37409else
37410  if test x$gcc_no_link = xyes; then
37411  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37412echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37413   { (exit 1); exit 1; }; }
37414fi
37415cat >conftest.$ac_ext <<_ACEOF
37416/* confdefs.h.  */
37417_ACEOF
37418cat confdefs.h >>conftest.$ac_ext
37419cat >>conftest.$ac_ext <<_ACEOF
37420/* end confdefs.h.  */
37421/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37422   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37423#define $ac_func innocuous_$ac_func
37424
37425/* System header to define __stub macros and hopefully few prototypes,
37426    which can conflict with char $ac_func (); below.
37427    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37428    <limits.h> exists even on freestanding compilers.  */
37429
37430#ifdef __STDC__
37431# include <limits.h>
37432#else
37433# include <assert.h>
37434#endif
37435
37436#undef $ac_func
37437
37438/* Override any gcc2 internal prototype to avoid an error.  */
37439#ifdef __cplusplus
37440extern "C"
37441{
37442#endif
37443/* We use char because int might match the return type of a gcc2
37444   builtin and then its argument prototype would still apply.  */
37445char $ac_func ();
37446/* The GNU C library defines this for functions which it implements
37447    to always fail with ENOSYS.  Some functions are actually named
37448    something starting with __ and the normal name is an alias.  */
37449#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37450choke me
37451#else
37452char (*f) () = $ac_func;
37453#endif
37454#ifdef __cplusplus
37455}
37456#endif
37457
37458int
37459main ()
37460{
37461return f != $ac_func;
37462  ;
37463  return 0;
37464}
37465_ACEOF
37466rm -f conftest.$ac_objext conftest$ac_exeext
37467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37468  (eval $ac_link) 2>conftest.er1
37469  ac_status=$?
37470  grep -v '^ *+' conftest.er1 >conftest.err
37471  rm -f conftest.er1
37472  cat conftest.err >&5
37473  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474  (exit $ac_status); } &&
37475	 { ac_try='test -z "$ac_c_werror_flag"
37476			 || test ! -s conftest.err'
37477  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478  (eval $ac_try) 2>&5
37479  ac_status=$?
37480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481  (exit $ac_status); }; } &&
37482	 { ac_try='test -s conftest$ac_exeext'
37483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484  (eval $ac_try) 2>&5
37485  ac_status=$?
37486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487  (exit $ac_status); }; }; then
37488  eval "$as_ac_var=yes"
37489else
37490  echo "$as_me: failed program was:" >&5
37491sed 's/^/| /' conftest.$ac_ext >&5
37492
37493eval "$as_ac_var=no"
37494fi
37495rm -f conftest.err conftest.$ac_objext \
37496      conftest$ac_exeext conftest.$ac_ext
37497fi
37498echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37499echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37500if test `eval echo '${'$as_ac_var'}'` = yes; then
37501  cat >>confdefs.h <<_ACEOF
37502#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503_ACEOF
37504
37505fi
37506done
37507
37508  else
37509
37510  echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37511echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37512  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37513    if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37514  echo $ECHO_N "(cached) $ECHO_C" >&6
37515else
37516
37517
37518
37519      ac_ext=cc
37520ac_cpp='$CXXCPP $CPPFLAGS'
37521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37524
37525      cat >conftest.$ac_ext <<_ACEOF
37526/* confdefs.h.  */
37527_ACEOF
37528cat confdefs.h >>conftest.$ac_ext
37529cat >>conftest.$ac_ext <<_ACEOF
37530/* end confdefs.h.  */
37531#include <math.h>
37532		      #ifdef HAVE_IEEEFP_H
37533		      #include <ieeefp.h>
37534		      #endif
37535
37536int
37537main ()
37538{
37539 _isinff(0);
37540  ;
37541  return 0;
37542}
37543_ACEOF
37544rm -f conftest.$ac_objext
37545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37546  (eval $ac_compile) 2>conftest.er1
37547  ac_status=$?
37548  grep -v '^ *+' conftest.er1 >conftest.err
37549  rm -f conftest.er1
37550  cat conftest.err >&5
37551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552  (exit $ac_status); } &&
37553	 { ac_try='test -z "$ac_cxx_werror_flag"
37554			 || test ! -s conftest.err'
37555  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556  (eval $ac_try) 2>&5
37557  ac_status=$?
37558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559  (exit $ac_status); }; } &&
37560	 { ac_try='test -s conftest.$ac_objext'
37561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562  (eval $ac_try) 2>&5
37563  ac_status=$?
37564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565  (exit $ac_status); }; }; then
37566  glibcxx_cv_func__isinff_use=yes
37567else
37568  echo "$as_me: failed program was:" >&5
37569sed 's/^/| /' conftest.$ac_ext >&5
37570
37571glibcxx_cv_func__isinff_use=no
37572fi
37573rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37574      ac_ext=c
37575ac_cpp='$CPP $CPPFLAGS'
37576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578ac_compiler_gnu=$ac_cv_c_compiler_gnu
37579
37580
37581fi
37582
37583  fi
37584  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37585echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37586
37587    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37588
37589for ac_func in _isinff
37590do
37591as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37592echo "$as_me:$LINENO: checking for $ac_func" >&5
37593echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37594if eval "test \"\${$as_ac_var+set}\" = set"; then
37595  echo $ECHO_N "(cached) $ECHO_C" >&6
37596else
37597  if test x$gcc_no_link = xyes; then
37598  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37599echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37600   { (exit 1); exit 1; }; }
37601fi
37602cat >conftest.$ac_ext <<_ACEOF
37603/* confdefs.h.  */
37604_ACEOF
37605cat confdefs.h >>conftest.$ac_ext
37606cat >>conftest.$ac_ext <<_ACEOF
37607/* end confdefs.h.  */
37608/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37609   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37610#define $ac_func innocuous_$ac_func
37611
37612/* System header to define __stub macros and hopefully few prototypes,
37613    which can conflict with char $ac_func (); below.
37614    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37615    <limits.h> exists even on freestanding compilers.  */
37616
37617#ifdef __STDC__
37618# include <limits.h>
37619#else
37620# include <assert.h>
37621#endif
37622
37623#undef $ac_func
37624
37625/* Override any gcc2 internal prototype to avoid an error.  */
37626#ifdef __cplusplus
37627extern "C"
37628{
37629#endif
37630/* We use char because int might match the return type of a gcc2
37631   builtin and then its argument prototype would still apply.  */
37632char $ac_func ();
37633/* The GNU C library defines this for functions which it implements
37634    to always fail with ENOSYS.  Some functions are actually named
37635    something starting with __ and the normal name is an alias.  */
37636#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37637choke me
37638#else
37639char (*f) () = $ac_func;
37640#endif
37641#ifdef __cplusplus
37642}
37643#endif
37644
37645int
37646main ()
37647{
37648return f != $ac_func;
37649  ;
37650  return 0;
37651}
37652_ACEOF
37653rm -f conftest.$ac_objext conftest$ac_exeext
37654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37655  (eval $ac_link) 2>conftest.er1
37656  ac_status=$?
37657  grep -v '^ *+' conftest.er1 >conftest.err
37658  rm -f conftest.er1
37659  cat conftest.err >&5
37660  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661  (exit $ac_status); } &&
37662	 { ac_try='test -z "$ac_c_werror_flag"
37663			 || test ! -s conftest.err'
37664  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37665  (eval $ac_try) 2>&5
37666  ac_status=$?
37667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668  (exit $ac_status); }; } &&
37669	 { ac_try='test -s conftest$ac_exeext'
37670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671  (eval $ac_try) 2>&5
37672  ac_status=$?
37673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674  (exit $ac_status); }; }; then
37675  eval "$as_ac_var=yes"
37676else
37677  echo "$as_me: failed program was:" >&5
37678sed 's/^/| /' conftest.$ac_ext >&5
37679
37680eval "$as_ac_var=no"
37681fi
37682rm -f conftest.err conftest.$ac_objext \
37683      conftest$ac_exeext conftest.$ac_ext
37684fi
37685echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37686echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37687if test `eval echo '${'$as_ac_var'}'` = yes; then
37688  cat >>confdefs.h <<_ACEOF
37689#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37690_ACEOF
37691
37692fi
37693done
37694
37695    fi
37696  fi
37697
37698
37699
37700
37701
37702
37703  echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37704echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37705  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37706    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37707  echo $ECHO_N "(cached) $ECHO_C" >&6
37708else
37709
37710
37711
37712      ac_ext=cc
37713ac_cpp='$CXXCPP $CPPFLAGS'
37714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37717
37718      cat >conftest.$ac_ext <<_ACEOF
37719/* confdefs.h.  */
37720_ACEOF
37721cat confdefs.h >>conftest.$ac_ext
37722cat >>conftest.$ac_ext <<_ACEOF
37723/* end confdefs.h.  */
37724#include <math.h>
37725int
37726main ()
37727{
37728 atan2f(0, 0);
37729  ;
37730  return 0;
37731}
37732_ACEOF
37733rm -f conftest.$ac_objext
37734if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37735  (eval $ac_compile) 2>conftest.er1
37736  ac_status=$?
37737  grep -v '^ *+' conftest.er1 >conftest.err
37738  rm -f conftest.er1
37739  cat conftest.err >&5
37740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741  (exit $ac_status); } &&
37742	 { ac_try='test -z "$ac_cxx_werror_flag"
37743			 || test ! -s conftest.err'
37744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745  (eval $ac_try) 2>&5
37746  ac_status=$?
37747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748  (exit $ac_status); }; } &&
37749	 { ac_try='test -s conftest.$ac_objext'
37750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751  (eval $ac_try) 2>&5
37752  ac_status=$?
37753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754  (exit $ac_status); }; }; then
37755  glibcxx_cv_func_atan2f_use=yes
37756else
37757  echo "$as_me: failed program was:" >&5
37758sed 's/^/| /' conftest.$ac_ext >&5
37759
37760glibcxx_cv_func_atan2f_use=no
37761fi
37762rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37763      ac_ext=c
37764ac_cpp='$CPP $CPPFLAGS'
37765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37767ac_compiler_gnu=$ac_cv_c_compiler_gnu
37768
37769
37770fi
37771
37772  fi
37773  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37774echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37775
37776  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37777
37778for ac_func in atan2f
37779do
37780as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37781echo "$as_me:$LINENO: checking for $ac_func" >&5
37782echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37783if eval "test \"\${$as_ac_var+set}\" = set"; then
37784  echo $ECHO_N "(cached) $ECHO_C" >&6
37785else
37786  if test x$gcc_no_link = xyes; then
37787  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37788echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37789   { (exit 1); exit 1; }; }
37790fi
37791cat >conftest.$ac_ext <<_ACEOF
37792/* confdefs.h.  */
37793_ACEOF
37794cat confdefs.h >>conftest.$ac_ext
37795cat >>conftest.$ac_ext <<_ACEOF
37796/* end confdefs.h.  */
37797/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37798   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37799#define $ac_func innocuous_$ac_func
37800
37801/* System header to define __stub macros and hopefully few prototypes,
37802    which can conflict with char $ac_func (); below.
37803    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37804    <limits.h> exists even on freestanding compilers.  */
37805
37806#ifdef __STDC__
37807# include <limits.h>
37808#else
37809# include <assert.h>
37810#endif
37811
37812#undef $ac_func
37813
37814/* Override any gcc2 internal prototype to avoid an error.  */
37815#ifdef __cplusplus
37816extern "C"
37817{
37818#endif
37819/* We use char because int might match the return type of a gcc2
37820   builtin and then its argument prototype would still apply.  */
37821char $ac_func ();
37822/* The GNU C library defines this for functions which it implements
37823    to always fail with ENOSYS.  Some functions are actually named
37824    something starting with __ and the normal name is an alias.  */
37825#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37826choke me
37827#else
37828char (*f) () = $ac_func;
37829#endif
37830#ifdef __cplusplus
37831}
37832#endif
37833
37834int
37835main ()
37836{
37837return f != $ac_func;
37838  ;
37839  return 0;
37840}
37841_ACEOF
37842rm -f conftest.$ac_objext conftest$ac_exeext
37843if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37844  (eval $ac_link) 2>conftest.er1
37845  ac_status=$?
37846  grep -v '^ *+' conftest.er1 >conftest.err
37847  rm -f conftest.er1
37848  cat conftest.err >&5
37849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850  (exit $ac_status); } &&
37851	 { ac_try='test -z "$ac_c_werror_flag"
37852			 || test ! -s conftest.err'
37853  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854  (eval $ac_try) 2>&5
37855  ac_status=$?
37856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857  (exit $ac_status); }; } &&
37858	 { ac_try='test -s conftest$ac_exeext'
37859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860  (eval $ac_try) 2>&5
37861  ac_status=$?
37862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863  (exit $ac_status); }; }; then
37864  eval "$as_ac_var=yes"
37865else
37866  echo "$as_me: failed program was:" >&5
37867sed 's/^/| /' conftest.$ac_ext >&5
37868
37869eval "$as_ac_var=no"
37870fi
37871rm -f conftest.err conftest.$ac_objext \
37872      conftest$ac_exeext conftest.$ac_ext
37873fi
37874echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37875echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37876if test `eval echo '${'$as_ac_var'}'` = yes; then
37877  cat >>confdefs.h <<_ACEOF
37878#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37879_ACEOF
37880
37881fi
37882done
37883
37884  else
37885
37886  echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37887echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37888  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37889    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37890  echo $ECHO_N "(cached) $ECHO_C" >&6
37891else
37892
37893
37894
37895      ac_ext=cc
37896ac_cpp='$CXXCPP $CPPFLAGS'
37897ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37898ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37899ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900
37901      cat >conftest.$ac_ext <<_ACEOF
37902/* confdefs.h.  */
37903_ACEOF
37904cat confdefs.h >>conftest.$ac_ext
37905cat >>conftest.$ac_ext <<_ACEOF
37906/* end confdefs.h.  */
37907#include <math.h>
37908int
37909main ()
37910{
37911 _atan2f(0, 0);
37912  ;
37913  return 0;
37914}
37915_ACEOF
37916rm -f conftest.$ac_objext
37917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37918  (eval $ac_compile) 2>conftest.er1
37919  ac_status=$?
37920  grep -v '^ *+' conftest.er1 >conftest.err
37921  rm -f conftest.er1
37922  cat conftest.err >&5
37923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924  (exit $ac_status); } &&
37925	 { ac_try='test -z "$ac_cxx_werror_flag"
37926			 || test ! -s conftest.err'
37927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37928  (eval $ac_try) 2>&5
37929  ac_status=$?
37930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931  (exit $ac_status); }; } &&
37932	 { ac_try='test -s conftest.$ac_objext'
37933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37934  (eval $ac_try) 2>&5
37935  ac_status=$?
37936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937  (exit $ac_status); }; }; then
37938  glibcxx_cv_func__atan2f_use=yes
37939else
37940  echo "$as_me: failed program was:" >&5
37941sed 's/^/| /' conftest.$ac_ext >&5
37942
37943glibcxx_cv_func__atan2f_use=no
37944fi
37945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37946      ac_ext=c
37947ac_cpp='$CPP $CPPFLAGS'
37948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950ac_compiler_gnu=$ac_cv_c_compiler_gnu
37951
37952
37953fi
37954
37955  fi
37956  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37957echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37958
37959    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37960
37961for ac_func in _atan2f
37962do
37963as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37964echo "$as_me:$LINENO: checking for $ac_func" >&5
37965echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37966if eval "test \"\${$as_ac_var+set}\" = set"; then
37967  echo $ECHO_N "(cached) $ECHO_C" >&6
37968else
37969  if test x$gcc_no_link = xyes; then
37970  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37971echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37972   { (exit 1); exit 1; }; }
37973fi
37974cat >conftest.$ac_ext <<_ACEOF
37975/* confdefs.h.  */
37976_ACEOF
37977cat confdefs.h >>conftest.$ac_ext
37978cat >>conftest.$ac_ext <<_ACEOF
37979/* end confdefs.h.  */
37980/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37981   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37982#define $ac_func innocuous_$ac_func
37983
37984/* System header to define __stub macros and hopefully few prototypes,
37985    which can conflict with char $ac_func (); below.
37986    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37987    <limits.h> exists even on freestanding compilers.  */
37988
37989#ifdef __STDC__
37990# include <limits.h>
37991#else
37992# include <assert.h>
37993#endif
37994
37995#undef $ac_func
37996
37997/* Override any gcc2 internal prototype to avoid an error.  */
37998#ifdef __cplusplus
37999extern "C"
38000{
38001#endif
38002/* We use char because int might match the return type of a gcc2
38003   builtin and then its argument prototype would still apply.  */
38004char $ac_func ();
38005/* The GNU C library defines this for functions which it implements
38006    to always fail with ENOSYS.  Some functions are actually named
38007    something starting with __ and the normal name is an alias.  */
38008#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38009choke me
38010#else
38011char (*f) () = $ac_func;
38012#endif
38013#ifdef __cplusplus
38014}
38015#endif
38016
38017int
38018main ()
38019{
38020return f != $ac_func;
38021  ;
38022  return 0;
38023}
38024_ACEOF
38025rm -f conftest.$ac_objext conftest$ac_exeext
38026if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38027  (eval $ac_link) 2>conftest.er1
38028  ac_status=$?
38029  grep -v '^ *+' conftest.er1 >conftest.err
38030  rm -f conftest.er1
38031  cat conftest.err >&5
38032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033  (exit $ac_status); } &&
38034	 { ac_try='test -z "$ac_c_werror_flag"
38035			 || test ! -s conftest.err'
38036  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037  (eval $ac_try) 2>&5
38038  ac_status=$?
38039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040  (exit $ac_status); }; } &&
38041	 { ac_try='test -s conftest$ac_exeext'
38042  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043  (eval $ac_try) 2>&5
38044  ac_status=$?
38045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046  (exit $ac_status); }; }; then
38047  eval "$as_ac_var=yes"
38048else
38049  echo "$as_me: failed program was:" >&5
38050sed 's/^/| /' conftest.$ac_ext >&5
38051
38052eval "$as_ac_var=no"
38053fi
38054rm -f conftest.err conftest.$ac_objext \
38055      conftest$ac_exeext conftest.$ac_ext
38056fi
38057echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38058echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38059if test `eval echo '${'$as_ac_var'}'` = yes; then
38060  cat >>confdefs.h <<_ACEOF
38061#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38062_ACEOF
38063
38064fi
38065done
38066
38067    fi
38068  fi
38069
38070
38071
38072
38073
38074
38075  echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38076echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38077  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38078    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38079  echo $ECHO_N "(cached) $ECHO_C" >&6
38080else
38081
38082
38083
38084      ac_ext=cc
38085ac_cpp='$CXXCPP $CPPFLAGS'
38086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38089
38090      cat >conftest.$ac_ext <<_ACEOF
38091/* confdefs.h.  */
38092_ACEOF
38093cat confdefs.h >>conftest.$ac_ext
38094cat >>conftest.$ac_ext <<_ACEOF
38095/* end confdefs.h.  */
38096#include <math.h>
38097		      #ifdef HAVE_IEEEFP_H
38098		      #include <ieeefp.h>
38099		      #endif
38100
38101int
38102main ()
38103{
38104 fabsf(0);
38105  ;
38106  return 0;
38107}
38108_ACEOF
38109rm -f conftest.$ac_objext
38110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38111  (eval $ac_compile) 2>conftest.er1
38112  ac_status=$?
38113  grep -v '^ *+' conftest.er1 >conftest.err
38114  rm -f conftest.er1
38115  cat conftest.err >&5
38116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117  (exit $ac_status); } &&
38118	 { ac_try='test -z "$ac_cxx_werror_flag"
38119			 || test ! -s conftest.err'
38120  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121  (eval $ac_try) 2>&5
38122  ac_status=$?
38123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124  (exit $ac_status); }; } &&
38125	 { ac_try='test -s conftest.$ac_objext'
38126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127  (eval $ac_try) 2>&5
38128  ac_status=$?
38129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130  (exit $ac_status); }; }; then
38131  glibcxx_cv_func_fabsf_use=yes
38132else
38133  echo "$as_me: failed program was:" >&5
38134sed 's/^/| /' conftest.$ac_ext >&5
38135
38136glibcxx_cv_func_fabsf_use=no
38137fi
38138rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38139      ac_ext=c
38140ac_cpp='$CPP $CPPFLAGS'
38141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143ac_compiler_gnu=$ac_cv_c_compiler_gnu
38144
38145
38146fi
38147
38148  fi
38149  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38150echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38151
38152  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38153
38154for ac_func in fabsf
38155do
38156as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38157echo "$as_me:$LINENO: checking for $ac_func" >&5
38158echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38159if eval "test \"\${$as_ac_var+set}\" = set"; then
38160  echo $ECHO_N "(cached) $ECHO_C" >&6
38161else
38162  if test x$gcc_no_link = xyes; then
38163  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38164echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38165   { (exit 1); exit 1; }; }
38166fi
38167cat >conftest.$ac_ext <<_ACEOF
38168/* confdefs.h.  */
38169_ACEOF
38170cat confdefs.h >>conftest.$ac_ext
38171cat >>conftest.$ac_ext <<_ACEOF
38172/* end confdefs.h.  */
38173/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38174   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38175#define $ac_func innocuous_$ac_func
38176
38177/* System header to define __stub macros and hopefully few prototypes,
38178    which can conflict with char $ac_func (); below.
38179    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38180    <limits.h> exists even on freestanding compilers.  */
38181
38182#ifdef __STDC__
38183# include <limits.h>
38184#else
38185# include <assert.h>
38186#endif
38187
38188#undef $ac_func
38189
38190/* Override any gcc2 internal prototype to avoid an error.  */
38191#ifdef __cplusplus
38192extern "C"
38193{
38194#endif
38195/* We use char because int might match the return type of a gcc2
38196   builtin and then its argument prototype would still apply.  */
38197char $ac_func ();
38198/* The GNU C library defines this for functions which it implements
38199    to always fail with ENOSYS.  Some functions are actually named
38200    something starting with __ and the normal name is an alias.  */
38201#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38202choke me
38203#else
38204char (*f) () = $ac_func;
38205#endif
38206#ifdef __cplusplus
38207}
38208#endif
38209
38210int
38211main ()
38212{
38213return f != $ac_func;
38214  ;
38215  return 0;
38216}
38217_ACEOF
38218rm -f conftest.$ac_objext conftest$ac_exeext
38219if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38220  (eval $ac_link) 2>conftest.er1
38221  ac_status=$?
38222  grep -v '^ *+' conftest.er1 >conftest.err
38223  rm -f conftest.er1
38224  cat conftest.err >&5
38225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226  (exit $ac_status); } &&
38227	 { ac_try='test -z "$ac_c_werror_flag"
38228			 || test ! -s conftest.err'
38229  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38230  (eval $ac_try) 2>&5
38231  ac_status=$?
38232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233  (exit $ac_status); }; } &&
38234	 { ac_try='test -s conftest$ac_exeext'
38235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38236  (eval $ac_try) 2>&5
38237  ac_status=$?
38238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239  (exit $ac_status); }; }; then
38240  eval "$as_ac_var=yes"
38241else
38242  echo "$as_me: failed program was:" >&5
38243sed 's/^/| /' conftest.$ac_ext >&5
38244
38245eval "$as_ac_var=no"
38246fi
38247rm -f conftest.err conftest.$ac_objext \
38248      conftest$ac_exeext conftest.$ac_ext
38249fi
38250echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38251echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38252if test `eval echo '${'$as_ac_var'}'` = yes; then
38253  cat >>confdefs.h <<_ACEOF
38254#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38255_ACEOF
38256
38257fi
38258done
38259
38260  else
38261
38262  echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38263echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38264  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38265    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38266  echo $ECHO_N "(cached) $ECHO_C" >&6
38267else
38268
38269
38270
38271      ac_ext=cc
38272ac_cpp='$CXXCPP $CPPFLAGS'
38273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38276
38277      cat >conftest.$ac_ext <<_ACEOF
38278/* confdefs.h.  */
38279_ACEOF
38280cat confdefs.h >>conftest.$ac_ext
38281cat >>conftest.$ac_ext <<_ACEOF
38282/* end confdefs.h.  */
38283#include <math.h>
38284		      #ifdef HAVE_IEEEFP_H
38285		      #include <ieeefp.h>
38286		      #endif
38287
38288int
38289main ()
38290{
38291 _fabsf(0);
38292  ;
38293  return 0;
38294}
38295_ACEOF
38296rm -f conftest.$ac_objext
38297if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38298  (eval $ac_compile) 2>conftest.er1
38299  ac_status=$?
38300  grep -v '^ *+' conftest.er1 >conftest.err
38301  rm -f conftest.er1
38302  cat conftest.err >&5
38303  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304  (exit $ac_status); } &&
38305	 { ac_try='test -z "$ac_cxx_werror_flag"
38306			 || test ! -s conftest.err'
38307  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308  (eval $ac_try) 2>&5
38309  ac_status=$?
38310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311  (exit $ac_status); }; } &&
38312	 { ac_try='test -s conftest.$ac_objext'
38313  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314  (eval $ac_try) 2>&5
38315  ac_status=$?
38316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317  (exit $ac_status); }; }; then
38318  glibcxx_cv_func__fabsf_use=yes
38319else
38320  echo "$as_me: failed program was:" >&5
38321sed 's/^/| /' conftest.$ac_ext >&5
38322
38323glibcxx_cv_func__fabsf_use=no
38324fi
38325rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38326      ac_ext=c
38327ac_cpp='$CPP $CPPFLAGS'
38328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38330ac_compiler_gnu=$ac_cv_c_compiler_gnu
38331
38332
38333fi
38334
38335  fi
38336  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38337echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38338
38339    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38340
38341for ac_func in _fabsf
38342do
38343as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38344echo "$as_me:$LINENO: checking for $ac_func" >&5
38345echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38346if eval "test \"\${$as_ac_var+set}\" = set"; then
38347  echo $ECHO_N "(cached) $ECHO_C" >&6
38348else
38349  if test x$gcc_no_link = xyes; then
38350  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38351echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38352   { (exit 1); exit 1; }; }
38353fi
38354cat >conftest.$ac_ext <<_ACEOF
38355/* confdefs.h.  */
38356_ACEOF
38357cat confdefs.h >>conftest.$ac_ext
38358cat >>conftest.$ac_ext <<_ACEOF
38359/* end confdefs.h.  */
38360/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38361   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38362#define $ac_func innocuous_$ac_func
38363
38364/* System header to define __stub macros and hopefully few prototypes,
38365    which can conflict with char $ac_func (); below.
38366    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38367    <limits.h> exists even on freestanding compilers.  */
38368
38369#ifdef __STDC__
38370# include <limits.h>
38371#else
38372# include <assert.h>
38373#endif
38374
38375#undef $ac_func
38376
38377/* Override any gcc2 internal prototype to avoid an error.  */
38378#ifdef __cplusplus
38379extern "C"
38380{
38381#endif
38382/* We use char because int might match the return type of a gcc2
38383   builtin and then its argument prototype would still apply.  */
38384char $ac_func ();
38385/* The GNU C library defines this for functions which it implements
38386    to always fail with ENOSYS.  Some functions are actually named
38387    something starting with __ and the normal name is an alias.  */
38388#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38389choke me
38390#else
38391char (*f) () = $ac_func;
38392#endif
38393#ifdef __cplusplus
38394}
38395#endif
38396
38397int
38398main ()
38399{
38400return f != $ac_func;
38401  ;
38402  return 0;
38403}
38404_ACEOF
38405rm -f conftest.$ac_objext conftest$ac_exeext
38406if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38407  (eval $ac_link) 2>conftest.er1
38408  ac_status=$?
38409  grep -v '^ *+' conftest.er1 >conftest.err
38410  rm -f conftest.er1
38411  cat conftest.err >&5
38412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413  (exit $ac_status); } &&
38414	 { ac_try='test -z "$ac_c_werror_flag"
38415			 || test ! -s conftest.err'
38416  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38417  (eval $ac_try) 2>&5
38418  ac_status=$?
38419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38420  (exit $ac_status); }; } &&
38421	 { ac_try='test -s conftest$ac_exeext'
38422  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38423  (eval $ac_try) 2>&5
38424  ac_status=$?
38425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426  (exit $ac_status); }; }; then
38427  eval "$as_ac_var=yes"
38428else
38429  echo "$as_me: failed program was:" >&5
38430sed 's/^/| /' conftest.$ac_ext >&5
38431
38432eval "$as_ac_var=no"
38433fi
38434rm -f conftest.err conftest.$ac_objext \
38435      conftest$ac_exeext conftest.$ac_ext
38436fi
38437echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38438echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38439if test `eval echo '${'$as_ac_var'}'` = yes; then
38440  cat >>confdefs.h <<_ACEOF
38441#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38442_ACEOF
38443
38444fi
38445done
38446
38447    fi
38448  fi
38449
38450
38451
38452
38453
38454
38455  echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38456echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38457  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38458    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38459  echo $ECHO_N "(cached) $ECHO_C" >&6
38460else
38461
38462
38463
38464      ac_ext=cc
38465ac_cpp='$CXXCPP $CPPFLAGS'
38466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38469
38470      cat >conftest.$ac_ext <<_ACEOF
38471/* confdefs.h.  */
38472_ACEOF
38473cat confdefs.h >>conftest.$ac_ext
38474cat >>conftest.$ac_ext <<_ACEOF
38475/* end confdefs.h.  */
38476#include <math.h>
38477int
38478main ()
38479{
38480 fmodf(0, 0);
38481  ;
38482  return 0;
38483}
38484_ACEOF
38485rm -f conftest.$ac_objext
38486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38487  (eval $ac_compile) 2>conftest.er1
38488  ac_status=$?
38489  grep -v '^ *+' conftest.er1 >conftest.err
38490  rm -f conftest.er1
38491  cat conftest.err >&5
38492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493  (exit $ac_status); } &&
38494	 { ac_try='test -z "$ac_cxx_werror_flag"
38495			 || test ! -s conftest.err'
38496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497  (eval $ac_try) 2>&5
38498  ac_status=$?
38499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500  (exit $ac_status); }; } &&
38501	 { ac_try='test -s conftest.$ac_objext'
38502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38503  (eval $ac_try) 2>&5
38504  ac_status=$?
38505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506  (exit $ac_status); }; }; then
38507  glibcxx_cv_func_fmodf_use=yes
38508else
38509  echo "$as_me: failed program was:" >&5
38510sed 's/^/| /' conftest.$ac_ext >&5
38511
38512glibcxx_cv_func_fmodf_use=no
38513fi
38514rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38515      ac_ext=c
38516ac_cpp='$CPP $CPPFLAGS'
38517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519ac_compiler_gnu=$ac_cv_c_compiler_gnu
38520
38521
38522fi
38523
38524  fi
38525  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38526echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38527
38528  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38529
38530for ac_func in fmodf
38531do
38532as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38533echo "$as_me:$LINENO: checking for $ac_func" >&5
38534echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38535if eval "test \"\${$as_ac_var+set}\" = set"; then
38536  echo $ECHO_N "(cached) $ECHO_C" >&6
38537else
38538  if test x$gcc_no_link = xyes; then
38539  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38540echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38541   { (exit 1); exit 1; }; }
38542fi
38543cat >conftest.$ac_ext <<_ACEOF
38544/* confdefs.h.  */
38545_ACEOF
38546cat confdefs.h >>conftest.$ac_ext
38547cat >>conftest.$ac_ext <<_ACEOF
38548/* end confdefs.h.  */
38549/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38550   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38551#define $ac_func innocuous_$ac_func
38552
38553/* System header to define __stub macros and hopefully few prototypes,
38554    which can conflict with char $ac_func (); below.
38555    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38556    <limits.h> exists even on freestanding compilers.  */
38557
38558#ifdef __STDC__
38559# include <limits.h>
38560#else
38561# include <assert.h>
38562#endif
38563
38564#undef $ac_func
38565
38566/* Override any gcc2 internal prototype to avoid an error.  */
38567#ifdef __cplusplus
38568extern "C"
38569{
38570#endif
38571/* We use char because int might match the return type of a gcc2
38572   builtin and then its argument prototype would still apply.  */
38573char $ac_func ();
38574/* The GNU C library defines this for functions which it implements
38575    to always fail with ENOSYS.  Some functions are actually named
38576    something starting with __ and the normal name is an alias.  */
38577#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38578choke me
38579#else
38580char (*f) () = $ac_func;
38581#endif
38582#ifdef __cplusplus
38583}
38584#endif
38585
38586int
38587main ()
38588{
38589return f != $ac_func;
38590  ;
38591  return 0;
38592}
38593_ACEOF
38594rm -f conftest.$ac_objext conftest$ac_exeext
38595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38596  (eval $ac_link) 2>conftest.er1
38597  ac_status=$?
38598  grep -v '^ *+' conftest.er1 >conftest.err
38599  rm -f conftest.er1
38600  cat conftest.err >&5
38601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602  (exit $ac_status); } &&
38603	 { ac_try='test -z "$ac_c_werror_flag"
38604			 || test ! -s conftest.err'
38605  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606  (eval $ac_try) 2>&5
38607  ac_status=$?
38608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609  (exit $ac_status); }; } &&
38610	 { ac_try='test -s conftest$ac_exeext'
38611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612  (eval $ac_try) 2>&5
38613  ac_status=$?
38614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615  (exit $ac_status); }; }; then
38616  eval "$as_ac_var=yes"
38617else
38618  echo "$as_me: failed program was:" >&5
38619sed 's/^/| /' conftest.$ac_ext >&5
38620
38621eval "$as_ac_var=no"
38622fi
38623rm -f conftest.err conftest.$ac_objext \
38624      conftest$ac_exeext conftest.$ac_ext
38625fi
38626echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38627echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38628if test `eval echo '${'$as_ac_var'}'` = yes; then
38629  cat >>confdefs.h <<_ACEOF
38630#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38631_ACEOF
38632
38633fi
38634done
38635
38636  else
38637
38638  echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38639echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38640  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38641    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38642  echo $ECHO_N "(cached) $ECHO_C" >&6
38643else
38644
38645
38646
38647      ac_ext=cc
38648ac_cpp='$CXXCPP $CPPFLAGS'
38649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652
38653      cat >conftest.$ac_ext <<_ACEOF
38654/* confdefs.h.  */
38655_ACEOF
38656cat confdefs.h >>conftest.$ac_ext
38657cat >>conftest.$ac_ext <<_ACEOF
38658/* end confdefs.h.  */
38659#include <math.h>
38660int
38661main ()
38662{
38663 _fmodf(0, 0);
38664  ;
38665  return 0;
38666}
38667_ACEOF
38668rm -f conftest.$ac_objext
38669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38670  (eval $ac_compile) 2>conftest.er1
38671  ac_status=$?
38672  grep -v '^ *+' conftest.er1 >conftest.err
38673  rm -f conftest.er1
38674  cat conftest.err >&5
38675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676  (exit $ac_status); } &&
38677	 { ac_try='test -z "$ac_cxx_werror_flag"
38678			 || test ! -s conftest.err'
38679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38680  (eval $ac_try) 2>&5
38681  ac_status=$?
38682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683  (exit $ac_status); }; } &&
38684	 { ac_try='test -s conftest.$ac_objext'
38685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38686  (eval $ac_try) 2>&5
38687  ac_status=$?
38688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689  (exit $ac_status); }; }; then
38690  glibcxx_cv_func__fmodf_use=yes
38691else
38692  echo "$as_me: failed program was:" >&5
38693sed 's/^/| /' conftest.$ac_ext >&5
38694
38695glibcxx_cv_func__fmodf_use=no
38696fi
38697rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38698      ac_ext=c
38699ac_cpp='$CPP $CPPFLAGS'
38700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38702ac_compiler_gnu=$ac_cv_c_compiler_gnu
38703
38704
38705fi
38706
38707  fi
38708  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38709echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38710
38711    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38712
38713for ac_func in _fmodf
38714do
38715as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716echo "$as_me:$LINENO: checking for $ac_func" >&5
38717echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38718if eval "test \"\${$as_ac_var+set}\" = set"; then
38719  echo $ECHO_N "(cached) $ECHO_C" >&6
38720else
38721  if test x$gcc_no_link = xyes; then
38722  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38723echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38724   { (exit 1); exit 1; }; }
38725fi
38726cat >conftest.$ac_ext <<_ACEOF
38727/* confdefs.h.  */
38728_ACEOF
38729cat confdefs.h >>conftest.$ac_ext
38730cat >>conftest.$ac_ext <<_ACEOF
38731/* end confdefs.h.  */
38732/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38733   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38734#define $ac_func innocuous_$ac_func
38735
38736/* System header to define __stub macros and hopefully few prototypes,
38737    which can conflict with char $ac_func (); below.
38738    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38739    <limits.h> exists even on freestanding compilers.  */
38740
38741#ifdef __STDC__
38742# include <limits.h>
38743#else
38744# include <assert.h>
38745#endif
38746
38747#undef $ac_func
38748
38749/* Override any gcc2 internal prototype to avoid an error.  */
38750#ifdef __cplusplus
38751extern "C"
38752{
38753#endif
38754/* We use char because int might match the return type of a gcc2
38755   builtin and then its argument prototype would still apply.  */
38756char $ac_func ();
38757/* The GNU C library defines this for functions which it implements
38758    to always fail with ENOSYS.  Some functions are actually named
38759    something starting with __ and the normal name is an alias.  */
38760#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38761choke me
38762#else
38763char (*f) () = $ac_func;
38764#endif
38765#ifdef __cplusplus
38766}
38767#endif
38768
38769int
38770main ()
38771{
38772return f != $ac_func;
38773  ;
38774  return 0;
38775}
38776_ACEOF
38777rm -f conftest.$ac_objext conftest$ac_exeext
38778if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38779  (eval $ac_link) 2>conftest.er1
38780  ac_status=$?
38781  grep -v '^ *+' conftest.er1 >conftest.err
38782  rm -f conftest.er1
38783  cat conftest.err >&5
38784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785  (exit $ac_status); } &&
38786	 { ac_try='test -z "$ac_c_werror_flag"
38787			 || test ! -s conftest.err'
38788  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38789  (eval $ac_try) 2>&5
38790  ac_status=$?
38791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38792  (exit $ac_status); }; } &&
38793	 { ac_try='test -s conftest$ac_exeext'
38794  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38795  (eval $ac_try) 2>&5
38796  ac_status=$?
38797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798  (exit $ac_status); }; }; then
38799  eval "$as_ac_var=yes"
38800else
38801  echo "$as_me: failed program was:" >&5
38802sed 's/^/| /' conftest.$ac_ext >&5
38803
38804eval "$as_ac_var=no"
38805fi
38806rm -f conftest.err conftest.$ac_objext \
38807      conftest$ac_exeext conftest.$ac_ext
38808fi
38809echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38810echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38811if test `eval echo '${'$as_ac_var'}'` = yes; then
38812  cat >>confdefs.h <<_ACEOF
38813#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38814_ACEOF
38815
38816fi
38817done
38818
38819    fi
38820  fi
38821
38822
38823
38824
38825
38826
38827  echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38828echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38829  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38830    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38831  echo $ECHO_N "(cached) $ECHO_C" >&6
38832else
38833
38834
38835
38836      ac_ext=cc
38837ac_cpp='$CXXCPP $CPPFLAGS'
38838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841
38842      cat >conftest.$ac_ext <<_ACEOF
38843/* confdefs.h.  */
38844_ACEOF
38845cat confdefs.h >>conftest.$ac_ext
38846cat >>conftest.$ac_ext <<_ACEOF
38847/* end confdefs.h.  */
38848#include <math.h>
38849int
38850main ()
38851{
38852 frexpf(0, 0);
38853  ;
38854  return 0;
38855}
38856_ACEOF
38857rm -f conftest.$ac_objext
38858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38859  (eval $ac_compile) 2>conftest.er1
38860  ac_status=$?
38861  grep -v '^ *+' conftest.er1 >conftest.err
38862  rm -f conftest.er1
38863  cat conftest.err >&5
38864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865  (exit $ac_status); } &&
38866	 { ac_try='test -z "$ac_cxx_werror_flag"
38867			 || test ! -s conftest.err'
38868  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869  (eval $ac_try) 2>&5
38870  ac_status=$?
38871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872  (exit $ac_status); }; } &&
38873	 { ac_try='test -s conftest.$ac_objext'
38874  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38875  (eval $ac_try) 2>&5
38876  ac_status=$?
38877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878  (exit $ac_status); }; }; then
38879  glibcxx_cv_func_frexpf_use=yes
38880else
38881  echo "$as_me: failed program was:" >&5
38882sed 's/^/| /' conftest.$ac_ext >&5
38883
38884glibcxx_cv_func_frexpf_use=no
38885fi
38886rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38887      ac_ext=c
38888ac_cpp='$CPP $CPPFLAGS'
38889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892
38893
38894fi
38895
38896  fi
38897  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38898echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38899
38900  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38901
38902for ac_func in frexpf
38903do
38904as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38905echo "$as_me:$LINENO: checking for $ac_func" >&5
38906echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38907if eval "test \"\${$as_ac_var+set}\" = set"; then
38908  echo $ECHO_N "(cached) $ECHO_C" >&6
38909else
38910  if test x$gcc_no_link = xyes; then
38911  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38912echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38913   { (exit 1); exit 1; }; }
38914fi
38915cat >conftest.$ac_ext <<_ACEOF
38916/* confdefs.h.  */
38917_ACEOF
38918cat confdefs.h >>conftest.$ac_ext
38919cat >>conftest.$ac_ext <<_ACEOF
38920/* end confdefs.h.  */
38921/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38922   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38923#define $ac_func innocuous_$ac_func
38924
38925/* System header to define __stub macros and hopefully few prototypes,
38926    which can conflict with char $ac_func (); below.
38927    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38928    <limits.h> exists even on freestanding compilers.  */
38929
38930#ifdef __STDC__
38931# include <limits.h>
38932#else
38933# include <assert.h>
38934#endif
38935
38936#undef $ac_func
38937
38938/* Override any gcc2 internal prototype to avoid an error.  */
38939#ifdef __cplusplus
38940extern "C"
38941{
38942#endif
38943/* We use char because int might match the return type of a gcc2
38944   builtin and then its argument prototype would still apply.  */
38945char $ac_func ();
38946/* The GNU C library defines this for functions which it implements
38947    to always fail with ENOSYS.  Some functions are actually named
38948    something starting with __ and the normal name is an alias.  */
38949#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38950choke me
38951#else
38952char (*f) () = $ac_func;
38953#endif
38954#ifdef __cplusplus
38955}
38956#endif
38957
38958int
38959main ()
38960{
38961return f != $ac_func;
38962  ;
38963  return 0;
38964}
38965_ACEOF
38966rm -f conftest.$ac_objext conftest$ac_exeext
38967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38968  (eval $ac_link) 2>conftest.er1
38969  ac_status=$?
38970  grep -v '^ *+' conftest.er1 >conftest.err
38971  rm -f conftest.er1
38972  cat conftest.err >&5
38973  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974  (exit $ac_status); } &&
38975	 { ac_try='test -z "$ac_c_werror_flag"
38976			 || test ! -s conftest.err'
38977  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38978  (eval $ac_try) 2>&5
38979  ac_status=$?
38980  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981  (exit $ac_status); }; } &&
38982	 { ac_try='test -s conftest$ac_exeext'
38983  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38984  (eval $ac_try) 2>&5
38985  ac_status=$?
38986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987  (exit $ac_status); }; }; then
38988  eval "$as_ac_var=yes"
38989else
38990  echo "$as_me: failed program was:" >&5
38991sed 's/^/| /' conftest.$ac_ext >&5
38992
38993eval "$as_ac_var=no"
38994fi
38995rm -f conftest.err conftest.$ac_objext \
38996      conftest$ac_exeext conftest.$ac_ext
38997fi
38998echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38999echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39000if test `eval echo '${'$as_ac_var'}'` = yes; then
39001  cat >>confdefs.h <<_ACEOF
39002#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39003_ACEOF
39004
39005fi
39006done
39007
39008  else
39009
39010  echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39011echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39012  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39013    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39014  echo $ECHO_N "(cached) $ECHO_C" >&6
39015else
39016
39017
39018
39019      ac_ext=cc
39020ac_cpp='$CXXCPP $CPPFLAGS'
39021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39024
39025      cat >conftest.$ac_ext <<_ACEOF
39026/* confdefs.h.  */
39027_ACEOF
39028cat confdefs.h >>conftest.$ac_ext
39029cat >>conftest.$ac_ext <<_ACEOF
39030/* end confdefs.h.  */
39031#include <math.h>
39032int
39033main ()
39034{
39035 _frexpf(0, 0);
39036  ;
39037  return 0;
39038}
39039_ACEOF
39040rm -f conftest.$ac_objext
39041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39042  (eval $ac_compile) 2>conftest.er1
39043  ac_status=$?
39044  grep -v '^ *+' conftest.er1 >conftest.err
39045  rm -f conftest.er1
39046  cat conftest.err >&5
39047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048  (exit $ac_status); } &&
39049	 { ac_try='test -z "$ac_cxx_werror_flag"
39050			 || test ! -s conftest.err'
39051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39052  (eval $ac_try) 2>&5
39053  ac_status=$?
39054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055  (exit $ac_status); }; } &&
39056	 { ac_try='test -s conftest.$ac_objext'
39057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39058  (eval $ac_try) 2>&5
39059  ac_status=$?
39060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061  (exit $ac_status); }; }; then
39062  glibcxx_cv_func__frexpf_use=yes
39063else
39064  echo "$as_me: failed program was:" >&5
39065sed 's/^/| /' conftest.$ac_ext >&5
39066
39067glibcxx_cv_func__frexpf_use=no
39068fi
39069rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39070      ac_ext=c
39071ac_cpp='$CPP $CPPFLAGS'
39072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074ac_compiler_gnu=$ac_cv_c_compiler_gnu
39075
39076
39077fi
39078
39079  fi
39080  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39081echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39082
39083    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39084
39085for ac_func in _frexpf
39086do
39087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39088echo "$as_me:$LINENO: checking for $ac_func" >&5
39089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39090if eval "test \"\${$as_ac_var+set}\" = set"; then
39091  echo $ECHO_N "(cached) $ECHO_C" >&6
39092else
39093  if test x$gcc_no_link = xyes; then
39094  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39095echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39096   { (exit 1); exit 1; }; }
39097fi
39098cat >conftest.$ac_ext <<_ACEOF
39099/* confdefs.h.  */
39100_ACEOF
39101cat confdefs.h >>conftest.$ac_ext
39102cat >>conftest.$ac_ext <<_ACEOF
39103/* end confdefs.h.  */
39104/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39105   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39106#define $ac_func innocuous_$ac_func
39107
39108/* System header to define __stub macros and hopefully few prototypes,
39109    which can conflict with char $ac_func (); below.
39110    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39111    <limits.h> exists even on freestanding compilers.  */
39112
39113#ifdef __STDC__
39114# include <limits.h>
39115#else
39116# include <assert.h>
39117#endif
39118
39119#undef $ac_func
39120
39121/* Override any gcc2 internal prototype to avoid an error.  */
39122#ifdef __cplusplus
39123extern "C"
39124{
39125#endif
39126/* We use char because int might match the return type of a gcc2
39127   builtin and then its argument prototype would still apply.  */
39128char $ac_func ();
39129/* The GNU C library defines this for functions which it implements
39130    to always fail with ENOSYS.  Some functions are actually named
39131    something starting with __ and the normal name is an alias.  */
39132#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39133choke me
39134#else
39135char (*f) () = $ac_func;
39136#endif
39137#ifdef __cplusplus
39138}
39139#endif
39140
39141int
39142main ()
39143{
39144return f != $ac_func;
39145  ;
39146  return 0;
39147}
39148_ACEOF
39149rm -f conftest.$ac_objext conftest$ac_exeext
39150if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39151  (eval $ac_link) 2>conftest.er1
39152  ac_status=$?
39153  grep -v '^ *+' conftest.er1 >conftest.err
39154  rm -f conftest.er1
39155  cat conftest.err >&5
39156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157  (exit $ac_status); } &&
39158	 { ac_try='test -z "$ac_c_werror_flag"
39159			 || test ! -s conftest.err'
39160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39161  (eval $ac_try) 2>&5
39162  ac_status=$?
39163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164  (exit $ac_status); }; } &&
39165	 { ac_try='test -s conftest$ac_exeext'
39166  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39167  (eval $ac_try) 2>&5
39168  ac_status=$?
39169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39170  (exit $ac_status); }; }; then
39171  eval "$as_ac_var=yes"
39172else
39173  echo "$as_me: failed program was:" >&5
39174sed 's/^/| /' conftest.$ac_ext >&5
39175
39176eval "$as_ac_var=no"
39177fi
39178rm -f conftest.err conftest.$ac_objext \
39179      conftest$ac_exeext conftest.$ac_ext
39180fi
39181echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39182echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39183if test `eval echo '${'$as_ac_var'}'` = yes; then
39184  cat >>confdefs.h <<_ACEOF
39185#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39186_ACEOF
39187
39188fi
39189done
39190
39191    fi
39192  fi
39193
39194
39195
39196
39197
39198
39199  echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39200echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39201  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39202    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39203  echo $ECHO_N "(cached) $ECHO_C" >&6
39204else
39205
39206
39207
39208      ac_ext=cc
39209ac_cpp='$CXXCPP $CPPFLAGS'
39210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39213
39214      cat >conftest.$ac_ext <<_ACEOF
39215/* confdefs.h.  */
39216_ACEOF
39217cat confdefs.h >>conftest.$ac_ext
39218cat >>conftest.$ac_ext <<_ACEOF
39219/* end confdefs.h.  */
39220#include <math.h>
39221int
39222main ()
39223{
39224 hypotf(0, 0);
39225  ;
39226  return 0;
39227}
39228_ACEOF
39229rm -f conftest.$ac_objext
39230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39231  (eval $ac_compile) 2>conftest.er1
39232  ac_status=$?
39233  grep -v '^ *+' conftest.er1 >conftest.err
39234  rm -f conftest.er1
39235  cat conftest.err >&5
39236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237  (exit $ac_status); } &&
39238	 { ac_try='test -z "$ac_cxx_werror_flag"
39239			 || test ! -s conftest.err'
39240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39241  (eval $ac_try) 2>&5
39242  ac_status=$?
39243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244  (exit $ac_status); }; } &&
39245	 { ac_try='test -s conftest.$ac_objext'
39246  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39247  (eval $ac_try) 2>&5
39248  ac_status=$?
39249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250  (exit $ac_status); }; }; then
39251  glibcxx_cv_func_hypotf_use=yes
39252else
39253  echo "$as_me: failed program was:" >&5
39254sed 's/^/| /' conftest.$ac_ext >&5
39255
39256glibcxx_cv_func_hypotf_use=no
39257fi
39258rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39259      ac_ext=c
39260ac_cpp='$CPP $CPPFLAGS'
39261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264
39265
39266fi
39267
39268  fi
39269  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39270echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39271
39272  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39273
39274for ac_func in hypotf
39275do
39276as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39277echo "$as_me:$LINENO: checking for $ac_func" >&5
39278echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39279if eval "test \"\${$as_ac_var+set}\" = set"; then
39280  echo $ECHO_N "(cached) $ECHO_C" >&6
39281else
39282  if test x$gcc_no_link = xyes; then
39283  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39284echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39285   { (exit 1); exit 1; }; }
39286fi
39287cat >conftest.$ac_ext <<_ACEOF
39288/* confdefs.h.  */
39289_ACEOF
39290cat confdefs.h >>conftest.$ac_ext
39291cat >>conftest.$ac_ext <<_ACEOF
39292/* end confdefs.h.  */
39293/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39294   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39295#define $ac_func innocuous_$ac_func
39296
39297/* System header to define __stub macros and hopefully few prototypes,
39298    which can conflict with char $ac_func (); below.
39299    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39300    <limits.h> exists even on freestanding compilers.  */
39301
39302#ifdef __STDC__
39303# include <limits.h>
39304#else
39305# include <assert.h>
39306#endif
39307
39308#undef $ac_func
39309
39310/* Override any gcc2 internal prototype to avoid an error.  */
39311#ifdef __cplusplus
39312extern "C"
39313{
39314#endif
39315/* We use char because int might match the return type of a gcc2
39316   builtin and then its argument prototype would still apply.  */
39317char $ac_func ();
39318/* The GNU C library defines this for functions which it implements
39319    to always fail with ENOSYS.  Some functions are actually named
39320    something starting with __ and the normal name is an alias.  */
39321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39322choke me
39323#else
39324char (*f) () = $ac_func;
39325#endif
39326#ifdef __cplusplus
39327}
39328#endif
39329
39330int
39331main ()
39332{
39333return f != $ac_func;
39334  ;
39335  return 0;
39336}
39337_ACEOF
39338rm -f conftest.$ac_objext conftest$ac_exeext
39339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39340  (eval $ac_link) 2>conftest.er1
39341  ac_status=$?
39342  grep -v '^ *+' conftest.er1 >conftest.err
39343  rm -f conftest.er1
39344  cat conftest.err >&5
39345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346  (exit $ac_status); } &&
39347	 { ac_try='test -z "$ac_c_werror_flag"
39348			 || test ! -s conftest.err'
39349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39350  (eval $ac_try) 2>&5
39351  ac_status=$?
39352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353  (exit $ac_status); }; } &&
39354	 { ac_try='test -s conftest$ac_exeext'
39355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39356  (eval $ac_try) 2>&5
39357  ac_status=$?
39358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359  (exit $ac_status); }; }; then
39360  eval "$as_ac_var=yes"
39361else
39362  echo "$as_me: failed program was:" >&5
39363sed 's/^/| /' conftest.$ac_ext >&5
39364
39365eval "$as_ac_var=no"
39366fi
39367rm -f conftest.err conftest.$ac_objext \
39368      conftest$ac_exeext conftest.$ac_ext
39369fi
39370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39371echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39372if test `eval echo '${'$as_ac_var'}'` = yes; then
39373  cat >>confdefs.h <<_ACEOF
39374#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39375_ACEOF
39376
39377fi
39378done
39379
39380  else
39381
39382  echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39383echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39384  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39385    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39386  echo $ECHO_N "(cached) $ECHO_C" >&6
39387else
39388
39389
39390
39391      ac_ext=cc
39392ac_cpp='$CXXCPP $CPPFLAGS'
39393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39396
39397      cat >conftest.$ac_ext <<_ACEOF
39398/* confdefs.h.  */
39399_ACEOF
39400cat confdefs.h >>conftest.$ac_ext
39401cat >>conftest.$ac_ext <<_ACEOF
39402/* end confdefs.h.  */
39403#include <math.h>
39404int
39405main ()
39406{
39407 _hypotf(0, 0);
39408  ;
39409  return 0;
39410}
39411_ACEOF
39412rm -f conftest.$ac_objext
39413if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39414  (eval $ac_compile) 2>conftest.er1
39415  ac_status=$?
39416  grep -v '^ *+' conftest.er1 >conftest.err
39417  rm -f conftest.er1
39418  cat conftest.err >&5
39419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420  (exit $ac_status); } &&
39421	 { ac_try='test -z "$ac_cxx_werror_flag"
39422			 || test ! -s conftest.err'
39423  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39424  (eval $ac_try) 2>&5
39425  ac_status=$?
39426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427  (exit $ac_status); }; } &&
39428	 { ac_try='test -s conftest.$ac_objext'
39429  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39430  (eval $ac_try) 2>&5
39431  ac_status=$?
39432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39433  (exit $ac_status); }; }; then
39434  glibcxx_cv_func__hypotf_use=yes
39435else
39436  echo "$as_me: failed program was:" >&5
39437sed 's/^/| /' conftest.$ac_ext >&5
39438
39439glibcxx_cv_func__hypotf_use=no
39440fi
39441rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39442      ac_ext=c
39443ac_cpp='$CPP $CPPFLAGS'
39444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39446ac_compiler_gnu=$ac_cv_c_compiler_gnu
39447
39448
39449fi
39450
39451  fi
39452  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39453echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39454
39455    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39456
39457for ac_func in _hypotf
39458do
39459as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39460echo "$as_me:$LINENO: checking for $ac_func" >&5
39461echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39462if eval "test \"\${$as_ac_var+set}\" = set"; then
39463  echo $ECHO_N "(cached) $ECHO_C" >&6
39464else
39465  if test x$gcc_no_link = xyes; then
39466  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39467echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39468   { (exit 1); exit 1; }; }
39469fi
39470cat >conftest.$ac_ext <<_ACEOF
39471/* confdefs.h.  */
39472_ACEOF
39473cat confdefs.h >>conftest.$ac_ext
39474cat >>conftest.$ac_ext <<_ACEOF
39475/* end confdefs.h.  */
39476/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39477   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39478#define $ac_func innocuous_$ac_func
39479
39480/* System header to define __stub macros and hopefully few prototypes,
39481    which can conflict with char $ac_func (); below.
39482    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39483    <limits.h> exists even on freestanding compilers.  */
39484
39485#ifdef __STDC__
39486# include <limits.h>
39487#else
39488# include <assert.h>
39489#endif
39490
39491#undef $ac_func
39492
39493/* Override any gcc2 internal prototype to avoid an error.  */
39494#ifdef __cplusplus
39495extern "C"
39496{
39497#endif
39498/* We use char because int might match the return type of a gcc2
39499   builtin and then its argument prototype would still apply.  */
39500char $ac_func ();
39501/* The GNU C library defines this for functions which it implements
39502    to always fail with ENOSYS.  Some functions are actually named
39503    something starting with __ and the normal name is an alias.  */
39504#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39505choke me
39506#else
39507char (*f) () = $ac_func;
39508#endif
39509#ifdef __cplusplus
39510}
39511#endif
39512
39513int
39514main ()
39515{
39516return f != $ac_func;
39517  ;
39518  return 0;
39519}
39520_ACEOF
39521rm -f conftest.$ac_objext conftest$ac_exeext
39522if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39523  (eval $ac_link) 2>conftest.er1
39524  ac_status=$?
39525  grep -v '^ *+' conftest.er1 >conftest.err
39526  rm -f conftest.er1
39527  cat conftest.err >&5
39528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529  (exit $ac_status); } &&
39530	 { ac_try='test -z "$ac_c_werror_flag"
39531			 || test ! -s conftest.err'
39532  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533  (eval $ac_try) 2>&5
39534  ac_status=$?
39535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536  (exit $ac_status); }; } &&
39537	 { ac_try='test -s conftest$ac_exeext'
39538  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39539  (eval $ac_try) 2>&5
39540  ac_status=$?
39541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39542  (exit $ac_status); }; }; then
39543  eval "$as_ac_var=yes"
39544else
39545  echo "$as_me: failed program was:" >&5
39546sed 's/^/| /' conftest.$ac_ext >&5
39547
39548eval "$as_ac_var=no"
39549fi
39550rm -f conftest.err conftest.$ac_objext \
39551      conftest$ac_exeext conftest.$ac_ext
39552fi
39553echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39554echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39555if test `eval echo '${'$as_ac_var'}'` = yes; then
39556  cat >>confdefs.h <<_ACEOF
39557#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39558_ACEOF
39559
39560fi
39561done
39562
39563    fi
39564  fi
39565
39566
39567
39568
39569
39570
39571  echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39572echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39573  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39574    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39575  echo $ECHO_N "(cached) $ECHO_C" >&6
39576else
39577
39578
39579
39580      ac_ext=cc
39581ac_cpp='$CXXCPP $CPPFLAGS'
39582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39585
39586      cat >conftest.$ac_ext <<_ACEOF
39587/* confdefs.h.  */
39588_ACEOF
39589cat confdefs.h >>conftest.$ac_ext
39590cat >>conftest.$ac_ext <<_ACEOF
39591/* end confdefs.h.  */
39592#include <math.h>
39593int
39594main ()
39595{
39596 ldexpf(0, 0);
39597  ;
39598  return 0;
39599}
39600_ACEOF
39601rm -f conftest.$ac_objext
39602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39603  (eval $ac_compile) 2>conftest.er1
39604  ac_status=$?
39605  grep -v '^ *+' conftest.er1 >conftest.err
39606  rm -f conftest.er1
39607  cat conftest.err >&5
39608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609  (exit $ac_status); } &&
39610	 { ac_try='test -z "$ac_cxx_werror_flag"
39611			 || test ! -s conftest.err'
39612  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39613  (eval $ac_try) 2>&5
39614  ac_status=$?
39615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616  (exit $ac_status); }; } &&
39617	 { ac_try='test -s conftest.$ac_objext'
39618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39619  (eval $ac_try) 2>&5
39620  ac_status=$?
39621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622  (exit $ac_status); }; }; then
39623  glibcxx_cv_func_ldexpf_use=yes
39624else
39625  echo "$as_me: failed program was:" >&5
39626sed 's/^/| /' conftest.$ac_ext >&5
39627
39628glibcxx_cv_func_ldexpf_use=no
39629fi
39630rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39631      ac_ext=c
39632ac_cpp='$CPP $CPPFLAGS'
39633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635ac_compiler_gnu=$ac_cv_c_compiler_gnu
39636
39637
39638fi
39639
39640  fi
39641  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39642echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39643
39644  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39645
39646for ac_func in ldexpf
39647do
39648as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39649echo "$as_me:$LINENO: checking for $ac_func" >&5
39650echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39651if eval "test \"\${$as_ac_var+set}\" = set"; then
39652  echo $ECHO_N "(cached) $ECHO_C" >&6
39653else
39654  if test x$gcc_no_link = xyes; then
39655  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39656echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39657   { (exit 1); exit 1; }; }
39658fi
39659cat >conftest.$ac_ext <<_ACEOF
39660/* confdefs.h.  */
39661_ACEOF
39662cat confdefs.h >>conftest.$ac_ext
39663cat >>conftest.$ac_ext <<_ACEOF
39664/* end confdefs.h.  */
39665/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39666   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39667#define $ac_func innocuous_$ac_func
39668
39669/* System header to define __stub macros and hopefully few prototypes,
39670    which can conflict with char $ac_func (); below.
39671    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39672    <limits.h> exists even on freestanding compilers.  */
39673
39674#ifdef __STDC__
39675# include <limits.h>
39676#else
39677# include <assert.h>
39678#endif
39679
39680#undef $ac_func
39681
39682/* Override any gcc2 internal prototype to avoid an error.  */
39683#ifdef __cplusplus
39684extern "C"
39685{
39686#endif
39687/* We use char because int might match the return type of a gcc2
39688   builtin and then its argument prototype would still apply.  */
39689char $ac_func ();
39690/* The GNU C library defines this for functions which it implements
39691    to always fail with ENOSYS.  Some functions are actually named
39692    something starting with __ and the normal name is an alias.  */
39693#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39694choke me
39695#else
39696char (*f) () = $ac_func;
39697#endif
39698#ifdef __cplusplus
39699}
39700#endif
39701
39702int
39703main ()
39704{
39705return f != $ac_func;
39706  ;
39707  return 0;
39708}
39709_ACEOF
39710rm -f conftest.$ac_objext conftest$ac_exeext
39711if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39712  (eval $ac_link) 2>conftest.er1
39713  ac_status=$?
39714  grep -v '^ *+' conftest.er1 >conftest.err
39715  rm -f conftest.er1
39716  cat conftest.err >&5
39717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718  (exit $ac_status); } &&
39719	 { ac_try='test -z "$ac_c_werror_flag"
39720			 || test ! -s conftest.err'
39721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39722  (eval $ac_try) 2>&5
39723  ac_status=$?
39724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725  (exit $ac_status); }; } &&
39726	 { ac_try='test -s conftest$ac_exeext'
39727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39728  (eval $ac_try) 2>&5
39729  ac_status=$?
39730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731  (exit $ac_status); }; }; then
39732  eval "$as_ac_var=yes"
39733else
39734  echo "$as_me: failed program was:" >&5
39735sed 's/^/| /' conftest.$ac_ext >&5
39736
39737eval "$as_ac_var=no"
39738fi
39739rm -f conftest.err conftest.$ac_objext \
39740      conftest$ac_exeext conftest.$ac_ext
39741fi
39742echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39743echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39744if test `eval echo '${'$as_ac_var'}'` = yes; then
39745  cat >>confdefs.h <<_ACEOF
39746#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39747_ACEOF
39748
39749fi
39750done
39751
39752  else
39753
39754  echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39755echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39756  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39757    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39758  echo $ECHO_N "(cached) $ECHO_C" >&6
39759else
39760
39761
39762
39763      ac_ext=cc
39764ac_cpp='$CXXCPP $CPPFLAGS'
39765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39768
39769      cat >conftest.$ac_ext <<_ACEOF
39770/* confdefs.h.  */
39771_ACEOF
39772cat confdefs.h >>conftest.$ac_ext
39773cat >>conftest.$ac_ext <<_ACEOF
39774/* end confdefs.h.  */
39775#include <math.h>
39776int
39777main ()
39778{
39779 _ldexpf(0, 0);
39780  ;
39781  return 0;
39782}
39783_ACEOF
39784rm -f conftest.$ac_objext
39785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39786  (eval $ac_compile) 2>conftest.er1
39787  ac_status=$?
39788  grep -v '^ *+' conftest.er1 >conftest.err
39789  rm -f conftest.er1
39790  cat conftest.err >&5
39791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792  (exit $ac_status); } &&
39793	 { ac_try='test -z "$ac_cxx_werror_flag"
39794			 || test ! -s conftest.err'
39795  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796  (eval $ac_try) 2>&5
39797  ac_status=$?
39798  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799  (exit $ac_status); }; } &&
39800	 { ac_try='test -s conftest.$ac_objext'
39801  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39802  (eval $ac_try) 2>&5
39803  ac_status=$?
39804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805  (exit $ac_status); }; }; then
39806  glibcxx_cv_func__ldexpf_use=yes
39807else
39808  echo "$as_me: failed program was:" >&5
39809sed 's/^/| /' conftest.$ac_ext >&5
39810
39811glibcxx_cv_func__ldexpf_use=no
39812fi
39813rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39814      ac_ext=c
39815ac_cpp='$CPP $CPPFLAGS'
39816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818ac_compiler_gnu=$ac_cv_c_compiler_gnu
39819
39820
39821fi
39822
39823  fi
39824  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39825echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39826
39827    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39828
39829for ac_func in _ldexpf
39830do
39831as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39832echo "$as_me:$LINENO: checking for $ac_func" >&5
39833echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39834if eval "test \"\${$as_ac_var+set}\" = set"; then
39835  echo $ECHO_N "(cached) $ECHO_C" >&6
39836else
39837  if test x$gcc_no_link = xyes; then
39838  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39839echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39840   { (exit 1); exit 1; }; }
39841fi
39842cat >conftest.$ac_ext <<_ACEOF
39843/* confdefs.h.  */
39844_ACEOF
39845cat confdefs.h >>conftest.$ac_ext
39846cat >>conftest.$ac_ext <<_ACEOF
39847/* end confdefs.h.  */
39848/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39849   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39850#define $ac_func innocuous_$ac_func
39851
39852/* System header to define __stub macros and hopefully few prototypes,
39853    which can conflict with char $ac_func (); below.
39854    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39855    <limits.h> exists even on freestanding compilers.  */
39856
39857#ifdef __STDC__
39858# include <limits.h>
39859#else
39860# include <assert.h>
39861#endif
39862
39863#undef $ac_func
39864
39865/* Override any gcc2 internal prototype to avoid an error.  */
39866#ifdef __cplusplus
39867extern "C"
39868{
39869#endif
39870/* We use char because int might match the return type of a gcc2
39871   builtin and then its argument prototype would still apply.  */
39872char $ac_func ();
39873/* The GNU C library defines this for functions which it implements
39874    to always fail with ENOSYS.  Some functions are actually named
39875    something starting with __ and the normal name is an alias.  */
39876#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39877choke me
39878#else
39879char (*f) () = $ac_func;
39880#endif
39881#ifdef __cplusplus
39882}
39883#endif
39884
39885int
39886main ()
39887{
39888return f != $ac_func;
39889  ;
39890  return 0;
39891}
39892_ACEOF
39893rm -f conftest.$ac_objext conftest$ac_exeext
39894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39895  (eval $ac_link) 2>conftest.er1
39896  ac_status=$?
39897  grep -v '^ *+' conftest.er1 >conftest.err
39898  rm -f conftest.er1
39899  cat conftest.err >&5
39900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901  (exit $ac_status); } &&
39902	 { ac_try='test -z "$ac_c_werror_flag"
39903			 || test ! -s conftest.err'
39904  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39905  (eval $ac_try) 2>&5
39906  ac_status=$?
39907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908  (exit $ac_status); }; } &&
39909	 { ac_try='test -s conftest$ac_exeext'
39910  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911  (eval $ac_try) 2>&5
39912  ac_status=$?
39913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914  (exit $ac_status); }; }; then
39915  eval "$as_ac_var=yes"
39916else
39917  echo "$as_me: failed program was:" >&5
39918sed 's/^/| /' conftest.$ac_ext >&5
39919
39920eval "$as_ac_var=no"
39921fi
39922rm -f conftest.err conftest.$ac_objext \
39923      conftest$ac_exeext conftest.$ac_ext
39924fi
39925echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39926echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39927if test `eval echo '${'$as_ac_var'}'` = yes; then
39928  cat >>confdefs.h <<_ACEOF
39929#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39930_ACEOF
39931
39932fi
39933done
39934
39935    fi
39936  fi
39937
39938
39939
39940
39941
39942
39943  echo "$as_me:$LINENO: checking for logf declaration" >&5
39944echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39945  if test x${glibcxx_cv_func_logf_use+set} != xset; then
39946    if test "${glibcxx_cv_func_logf_use+set}" = set; then
39947  echo $ECHO_N "(cached) $ECHO_C" >&6
39948else
39949
39950
39951
39952      ac_ext=cc
39953ac_cpp='$CXXCPP $CPPFLAGS'
39954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957
39958      cat >conftest.$ac_ext <<_ACEOF
39959/* confdefs.h.  */
39960_ACEOF
39961cat confdefs.h >>conftest.$ac_ext
39962cat >>conftest.$ac_ext <<_ACEOF
39963/* end confdefs.h.  */
39964#include <math.h>
39965		      #ifdef HAVE_IEEEFP_H
39966		      #include <ieeefp.h>
39967		      #endif
39968
39969int
39970main ()
39971{
39972 logf(0);
39973  ;
39974  return 0;
39975}
39976_ACEOF
39977rm -f conftest.$ac_objext
39978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39979  (eval $ac_compile) 2>conftest.er1
39980  ac_status=$?
39981  grep -v '^ *+' conftest.er1 >conftest.err
39982  rm -f conftest.er1
39983  cat conftest.err >&5
39984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985  (exit $ac_status); } &&
39986	 { ac_try='test -z "$ac_cxx_werror_flag"
39987			 || test ! -s conftest.err'
39988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989  (eval $ac_try) 2>&5
39990  ac_status=$?
39991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992  (exit $ac_status); }; } &&
39993	 { ac_try='test -s conftest.$ac_objext'
39994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995  (eval $ac_try) 2>&5
39996  ac_status=$?
39997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998  (exit $ac_status); }; }; then
39999  glibcxx_cv_func_logf_use=yes
40000else
40001  echo "$as_me: failed program was:" >&5
40002sed 's/^/| /' conftest.$ac_ext >&5
40003
40004glibcxx_cv_func_logf_use=no
40005fi
40006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40007      ac_ext=c
40008ac_cpp='$CPP $CPPFLAGS'
40009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012
40013
40014fi
40015
40016  fi
40017  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40018echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40019
40020  if test x$glibcxx_cv_func_logf_use = x"yes"; then
40021
40022for ac_func in logf
40023do
40024as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40025echo "$as_me:$LINENO: checking for $ac_func" >&5
40026echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40027if eval "test \"\${$as_ac_var+set}\" = set"; then
40028  echo $ECHO_N "(cached) $ECHO_C" >&6
40029else
40030  if test x$gcc_no_link = xyes; then
40031  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40032echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40033   { (exit 1); exit 1; }; }
40034fi
40035cat >conftest.$ac_ext <<_ACEOF
40036/* confdefs.h.  */
40037_ACEOF
40038cat confdefs.h >>conftest.$ac_ext
40039cat >>conftest.$ac_ext <<_ACEOF
40040/* end confdefs.h.  */
40041/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40042   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40043#define $ac_func innocuous_$ac_func
40044
40045/* System header to define __stub macros and hopefully few prototypes,
40046    which can conflict with char $ac_func (); below.
40047    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048    <limits.h> exists even on freestanding compilers.  */
40049
40050#ifdef __STDC__
40051# include <limits.h>
40052#else
40053# include <assert.h>
40054#endif
40055
40056#undef $ac_func
40057
40058/* Override any gcc2 internal prototype to avoid an error.  */
40059#ifdef __cplusplus
40060extern "C"
40061{
40062#endif
40063/* We use char because int might match the return type of a gcc2
40064   builtin and then its argument prototype would still apply.  */
40065char $ac_func ();
40066/* The GNU C library defines this for functions which it implements
40067    to always fail with ENOSYS.  Some functions are actually named
40068    something starting with __ and the normal name is an alias.  */
40069#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40070choke me
40071#else
40072char (*f) () = $ac_func;
40073#endif
40074#ifdef __cplusplus
40075}
40076#endif
40077
40078int
40079main ()
40080{
40081return f != $ac_func;
40082  ;
40083  return 0;
40084}
40085_ACEOF
40086rm -f conftest.$ac_objext conftest$ac_exeext
40087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088  (eval $ac_link) 2>conftest.er1
40089  ac_status=$?
40090  grep -v '^ *+' conftest.er1 >conftest.err
40091  rm -f conftest.er1
40092  cat conftest.err >&5
40093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094  (exit $ac_status); } &&
40095	 { ac_try='test -z "$ac_c_werror_flag"
40096			 || test ! -s conftest.err'
40097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098  (eval $ac_try) 2>&5
40099  ac_status=$?
40100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101  (exit $ac_status); }; } &&
40102	 { ac_try='test -s conftest$ac_exeext'
40103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104  (eval $ac_try) 2>&5
40105  ac_status=$?
40106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107  (exit $ac_status); }; }; then
40108  eval "$as_ac_var=yes"
40109else
40110  echo "$as_me: failed program was:" >&5
40111sed 's/^/| /' conftest.$ac_ext >&5
40112
40113eval "$as_ac_var=no"
40114fi
40115rm -f conftest.err conftest.$ac_objext \
40116      conftest$ac_exeext conftest.$ac_ext
40117fi
40118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40119echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40120if test `eval echo '${'$as_ac_var'}'` = yes; then
40121  cat >>confdefs.h <<_ACEOF
40122#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40123_ACEOF
40124
40125fi
40126done
40127
40128  else
40129
40130  echo "$as_me:$LINENO: checking for _logf declaration" >&5
40131echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40132  if test x${glibcxx_cv_func__logf_use+set} != xset; then
40133    if test "${glibcxx_cv_func__logf_use+set}" = set; then
40134  echo $ECHO_N "(cached) $ECHO_C" >&6
40135else
40136
40137
40138
40139      ac_ext=cc
40140ac_cpp='$CXXCPP $CPPFLAGS'
40141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40144
40145      cat >conftest.$ac_ext <<_ACEOF
40146/* confdefs.h.  */
40147_ACEOF
40148cat confdefs.h >>conftest.$ac_ext
40149cat >>conftest.$ac_ext <<_ACEOF
40150/* end confdefs.h.  */
40151#include <math.h>
40152		      #ifdef HAVE_IEEEFP_H
40153		      #include <ieeefp.h>
40154		      #endif
40155
40156int
40157main ()
40158{
40159 _logf(0);
40160  ;
40161  return 0;
40162}
40163_ACEOF
40164rm -f conftest.$ac_objext
40165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40166  (eval $ac_compile) 2>conftest.er1
40167  ac_status=$?
40168  grep -v '^ *+' conftest.er1 >conftest.err
40169  rm -f conftest.er1
40170  cat conftest.err >&5
40171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172  (exit $ac_status); } &&
40173	 { ac_try='test -z "$ac_cxx_werror_flag"
40174			 || test ! -s conftest.err'
40175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40176  (eval $ac_try) 2>&5
40177  ac_status=$?
40178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179  (exit $ac_status); }; } &&
40180	 { ac_try='test -s conftest.$ac_objext'
40181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182  (eval $ac_try) 2>&5
40183  ac_status=$?
40184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185  (exit $ac_status); }; }; then
40186  glibcxx_cv_func__logf_use=yes
40187else
40188  echo "$as_me: failed program was:" >&5
40189sed 's/^/| /' conftest.$ac_ext >&5
40190
40191glibcxx_cv_func__logf_use=no
40192fi
40193rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40194      ac_ext=c
40195ac_cpp='$CPP $CPPFLAGS'
40196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198ac_compiler_gnu=$ac_cv_c_compiler_gnu
40199
40200
40201fi
40202
40203  fi
40204  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40205echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40206
40207    if test x$glibcxx_cv_func__logf_use = x"yes"; then
40208
40209for ac_func in _logf
40210do
40211as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40212echo "$as_me:$LINENO: checking for $ac_func" >&5
40213echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40214if eval "test \"\${$as_ac_var+set}\" = set"; then
40215  echo $ECHO_N "(cached) $ECHO_C" >&6
40216else
40217  if test x$gcc_no_link = xyes; then
40218  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40219echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40220   { (exit 1); exit 1; }; }
40221fi
40222cat >conftest.$ac_ext <<_ACEOF
40223/* confdefs.h.  */
40224_ACEOF
40225cat confdefs.h >>conftest.$ac_ext
40226cat >>conftest.$ac_ext <<_ACEOF
40227/* end confdefs.h.  */
40228/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40229   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40230#define $ac_func innocuous_$ac_func
40231
40232/* System header to define __stub macros and hopefully few prototypes,
40233    which can conflict with char $ac_func (); below.
40234    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40235    <limits.h> exists even on freestanding compilers.  */
40236
40237#ifdef __STDC__
40238# include <limits.h>
40239#else
40240# include <assert.h>
40241#endif
40242
40243#undef $ac_func
40244
40245/* Override any gcc2 internal prototype to avoid an error.  */
40246#ifdef __cplusplus
40247extern "C"
40248{
40249#endif
40250/* We use char because int might match the return type of a gcc2
40251   builtin and then its argument prototype would still apply.  */
40252char $ac_func ();
40253/* The GNU C library defines this for functions which it implements
40254    to always fail with ENOSYS.  Some functions are actually named
40255    something starting with __ and the normal name is an alias.  */
40256#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40257choke me
40258#else
40259char (*f) () = $ac_func;
40260#endif
40261#ifdef __cplusplus
40262}
40263#endif
40264
40265int
40266main ()
40267{
40268return f != $ac_func;
40269  ;
40270  return 0;
40271}
40272_ACEOF
40273rm -f conftest.$ac_objext conftest$ac_exeext
40274if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40275  (eval $ac_link) 2>conftest.er1
40276  ac_status=$?
40277  grep -v '^ *+' conftest.er1 >conftest.err
40278  rm -f conftest.er1
40279  cat conftest.err >&5
40280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281  (exit $ac_status); } &&
40282	 { ac_try='test -z "$ac_c_werror_flag"
40283			 || test ! -s conftest.err'
40284  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40285  (eval $ac_try) 2>&5
40286  ac_status=$?
40287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288  (exit $ac_status); }; } &&
40289	 { ac_try='test -s conftest$ac_exeext'
40290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40291  (eval $ac_try) 2>&5
40292  ac_status=$?
40293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294  (exit $ac_status); }; }; then
40295  eval "$as_ac_var=yes"
40296else
40297  echo "$as_me: failed program was:" >&5
40298sed 's/^/| /' conftest.$ac_ext >&5
40299
40300eval "$as_ac_var=no"
40301fi
40302rm -f conftest.err conftest.$ac_objext \
40303      conftest$ac_exeext conftest.$ac_ext
40304fi
40305echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40306echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40307if test `eval echo '${'$as_ac_var'}'` = yes; then
40308  cat >>confdefs.h <<_ACEOF
40309#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40310_ACEOF
40311
40312fi
40313done
40314
40315    fi
40316  fi
40317
40318
40319
40320
40321
40322
40323  echo "$as_me:$LINENO: checking for log10f declaration" >&5
40324echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40325  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40326    if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40327  echo $ECHO_N "(cached) $ECHO_C" >&6
40328else
40329
40330
40331
40332      ac_ext=cc
40333ac_cpp='$CXXCPP $CPPFLAGS'
40334ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40335ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40336ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40337
40338      cat >conftest.$ac_ext <<_ACEOF
40339/* confdefs.h.  */
40340_ACEOF
40341cat confdefs.h >>conftest.$ac_ext
40342cat >>conftest.$ac_ext <<_ACEOF
40343/* end confdefs.h.  */
40344#include <math.h>
40345		      #ifdef HAVE_IEEEFP_H
40346		      #include <ieeefp.h>
40347		      #endif
40348
40349int
40350main ()
40351{
40352 log10f(0);
40353  ;
40354  return 0;
40355}
40356_ACEOF
40357rm -f conftest.$ac_objext
40358if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359  (eval $ac_compile) 2>conftest.er1
40360  ac_status=$?
40361  grep -v '^ *+' conftest.er1 >conftest.err
40362  rm -f conftest.er1
40363  cat conftest.err >&5
40364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365  (exit $ac_status); } &&
40366	 { ac_try='test -z "$ac_cxx_werror_flag"
40367			 || test ! -s conftest.err'
40368  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369  (eval $ac_try) 2>&5
40370  ac_status=$?
40371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372  (exit $ac_status); }; } &&
40373	 { ac_try='test -s conftest.$ac_objext'
40374  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375  (eval $ac_try) 2>&5
40376  ac_status=$?
40377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378  (exit $ac_status); }; }; then
40379  glibcxx_cv_func_log10f_use=yes
40380else
40381  echo "$as_me: failed program was:" >&5
40382sed 's/^/| /' conftest.$ac_ext >&5
40383
40384glibcxx_cv_func_log10f_use=no
40385fi
40386rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40387      ac_ext=c
40388ac_cpp='$CPP $CPPFLAGS'
40389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391ac_compiler_gnu=$ac_cv_c_compiler_gnu
40392
40393
40394fi
40395
40396  fi
40397  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40398echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40399
40400  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40401
40402for ac_func in log10f
40403do
40404as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40405echo "$as_me:$LINENO: checking for $ac_func" >&5
40406echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40407if eval "test \"\${$as_ac_var+set}\" = set"; then
40408  echo $ECHO_N "(cached) $ECHO_C" >&6
40409else
40410  if test x$gcc_no_link = xyes; then
40411  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40412echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40413   { (exit 1); exit 1; }; }
40414fi
40415cat >conftest.$ac_ext <<_ACEOF
40416/* confdefs.h.  */
40417_ACEOF
40418cat confdefs.h >>conftest.$ac_ext
40419cat >>conftest.$ac_ext <<_ACEOF
40420/* end confdefs.h.  */
40421/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40422   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40423#define $ac_func innocuous_$ac_func
40424
40425/* System header to define __stub macros and hopefully few prototypes,
40426    which can conflict with char $ac_func (); below.
40427    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40428    <limits.h> exists even on freestanding compilers.  */
40429
40430#ifdef __STDC__
40431# include <limits.h>
40432#else
40433# include <assert.h>
40434#endif
40435
40436#undef $ac_func
40437
40438/* Override any gcc2 internal prototype to avoid an error.  */
40439#ifdef __cplusplus
40440extern "C"
40441{
40442#endif
40443/* We use char because int might match the return type of a gcc2
40444   builtin and then its argument prototype would still apply.  */
40445char $ac_func ();
40446/* The GNU C library defines this for functions which it implements
40447    to always fail with ENOSYS.  Some functions are actually named
40448    something starting with __ and the normal name is an alias.  */
40449#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40450choke me
40451#else
40452char (*f) () = $ac_func;
40453#endif
40454#ifdef __cplusplus
40455}
40456#endif
40457
40458int
40459main ()
40460{
40461return f != $ac_func;
40462  ;
40463  return 0;
40464}
40465_ACEOF
40466rm -f conftest.$ac_objext conftest$ac_exeext
40467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40468  (eval $ac_link) 2>conftest.er1
40469  ac_status=$?
40470  grep -v '^ *+' conftest.er1 >conftest.err
40471  rm -f conftest.er1
40472  cat conftest.err >&5
40473  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474  (exit $ac_status); } &&
40475	 { ac_try='test -z "$ac_c_werror_flag"
40476			 || test ! -s conftest.err'
40477  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40478  (eval $ac_try) 2>&5
40479  ac_status=$?
40480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481  (exit $ac_status); }; } &&
40482	 { ac_try='test -s conftest$ac_exeext'
40483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40484  (eval $ac_try) 2>&5
40485  ac_status=$?
40486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487  (exit $ac_status); }; }; then
40488  eval "$as_ac_var=yes"
40489else
40490  echo "$as_me: failed program was:" >&5
40491sed 's/^/| /' conftest.$ac_ext >&5
40492
40493eval "$as_ac_var=no"
40494fi
40495rm -f conftest.err conftest.$ac_objext \
40496      conftest$ac_exeext conftest.$ac_ext
40497fi
40498echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40499echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40500if test `eval echo '${'$as_ac_var'}'` = yes; then
40501  cat >>confdefs.h <<_ACEOF
40502#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40503_ACEOF
40504
40505fi
40506done
40507
40508  else
40509
40510  echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40511echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40512  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40513    if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40514  echo $ECHO_N "(cached) $ECHO_C" >&6
40515else
40516
40517
40518
40519      ac_ext=cc
40520ac_cpp='$CXXCPP $CPPFLAGS'
40521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40524
40525      cat >conftest.$ac_ext <<_ACEOF
40526/* confdefs.h.  */
40527_ACEOF
40528cat confdefs.h >>conftest.$ac_ext
40529cat >>conftest.$ac_ext <<_ACEOF
40530/* end confdefs.h.  */
40531#include <math.h>
40532		      #ifdef HAVE_IEEEFP_H
40533		      #include <ieeefp.h>
40534		      #endif
40535
40536int
40537main ()
40538{
40539 _log10f(0);
40540  ;
40541  return 0;
40542}
40543_ACEOF
40544rm -f conftest.$ac_objext
40545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40546  (eval $ac_compile) 2>conftest.er1
40547  ac_status=$?
40548  grep -v '^ *+' conftest.er1 >conftest.err
40549  rm -f conftest.er1
40550  cat conftest.err >&5
40551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552  (exit $ac_status); } &&
40553	 { ac_try='test -z "$ac_cxx_werror_flag"
40554			 || test ! -s conftest.err'
40555  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556  (eval $ac_try) 2>&5
40557  ac_status=$?
40558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559  (exit $ac_status); }; } &&
40560	 { ac_try='test -s conftest.$ac_objext'
40561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562  (eval $ac_try) 2>&5
40563  ac_status=$?
40564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565  (exit $ac_status); }; }; then
40566  glibcxx_cv_func__log10f_use=yes
40567else
40568  echo "$as_me: failed program was:" >&5
40569sed 's/^/| /' conftest.$ac_ext >&5
40570
40571glibcxx_cv_func__log10f_use=no
40572fi
40573rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40574      ac_ext=c
40575ac_cpp='$CPP $CPPFLAGS'
40576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40578ac_compiler_gnu=$ac_cv_c_compiler_gnu
40579
40580
40581fi
40582
40583  fi
40584  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40585echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40586
40587    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40588
40589for ac_func in _log10f
40590do
40591as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40592echo "$as_me:$LINENO: checking for $ac_func" >&5
40593echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40594if eval "test \"\${$as_ac_var+set}\" = set"; then
40595  echo $ECHO_N "(cached) $ECHO_C" >&6
40596else
40597  if test x$gcc_no_link = xyes; then
40598  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40599echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40600   { (exit 1); exit 1; }; }
40601fi
40602cat >conftest.$ac_ext <<_ACEOF
40603/* confdefs.h.  */
40604_ACEOF
40605cat confdefs.h >>conftest.$ac_ext
40606cat >>conftest.$ac_ext <<_ACEOF
40607/* end confdefs.h.  */
40608/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40609   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40610#define $ac_func innocuous_$ac_func
40611
40612/* System header to define __stub macros and hopefully few prototypes,
40613    which can conflict with char $ac_func (); below.
40614    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40615    <limits.h> exists even on freestanding compilers.  */
40616
40617#ifdef __STDC__
40618# include <limits.h>
40619#else
40620# include <assert.h>
40621#endif
40622
40623#undef $ac_func
40624
40625/* Override any gcc2 internal prototype to avoid an error.  */
40626#ifdef __cplusplus
40627extern "C"
40628{
40629#endif
40630/* We use char because int might match the return type of a gcc2
40631   builtin and then its argument prototype would still apply.  */
40632char $ac_func ();
40633/* The GNU C library defines this for functions which it implements
40634    to always fail with ENOSYS.  Some functions are actually named
40635    something starting with __ and the normal name is an alias.  */
40636#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40637choke me
40638#else
40639char (*f) () = $ac_func;
40640#endif
40641#ifdef __cplusplus
40642}
40643#endif
40644
40645int
40646main ()
40647{
40648return f != $ac_func;
40649  ;
40650  return 0;
40651}
40652_ACEOF
40653rm -f conftest.$ac_objext conftest$ac_exeext
40654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40655  (eval $ac_link) 2>conftest.er1
40656  ac_status=$?
40657  grep -v '^ *+' conftest.er1 >conftest.err
40658  rm -f conftest.er1
40659  cat conftest.err >&5
40660  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661  (exit $ac_status); } &&
40662	 { ac_try='test -z "$ac_c_werror_flag"
40663			 || test ! -s conftest.err'
40664  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40665  (eval $ac_try) 2>&5
40666  ac_status=$?
40667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668  (exit $ac_status); }; } &&
40669	 { ac_try='test -s conftest$ac_exeext'
40670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40671  (eval $ac_try) 2>&5
40672  ac_status=$?
40673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674  (exit $ac_status); }; }; then
40675  eval "$as_ac_var=yes"
40676else
40677  echo "$as_me: failed program was:" >&5
40678sed 's/^/| /' conftest.$ac_ext >&5
40679
40680eval "$as_ac_var=no"
40681fi
40682rm -f conftest.err conftest.$ac_objext \
40683      conftest$ac_exeext conftest.$ac_ext
40684fi
40685echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40686echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40687if test `eval echo '${'$as_ac_var'}'` = yes; then
40688  cat >>confdefs.h <<_ACEOF
40689#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40690_ACEOF
40691
40692fi
40693done
40694
40695    fi
40696  fi
40697
40698
40699
40700
40701
40702
40703  echo "$as_me:$LINENO: checking for modff declaration" >&5
40704echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40705  if test x${glibcxx_cv_func_modff_use+set} != xset; then
40706    if test "${glibcxx_cv_func_modff_use+set}" = set; then
40707  echo $ECHO_N "(cached) $ECHO_C" >&6
40708else
40709
40710
40711
40712      ac_ext=cc
40713ac_cpp='$CXXCPP $CPPFLAGS'
40714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40717
40718      cat >conftest.$ac_ext <<_ACEOF
40719/* confdefs.h.  */
40720_ACEOF
40721cat confdefs.h >>conftest.$ac_ext
40722cat >>conftest.$ac_ext <<_ACEOF
40723/* end confdefs.h.  */
40724#include <math.h>
40725int
40726main ()
40727{
40728 modff(0, 0);
40729  ;
40730  return 0;
40731}
40732_ACEOF
40733rm -f conftest.$ac_objext
40734if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40735  (eval $ac_compile) 2>conftest.er1
40736  ac_status=$?
40737  grep -v '^ *+' conftest.er1 >conftest.err
40738  rm -f conftest.er1
40739  cat conftest.err >&5
40740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741  (exit $ac_status); } &&
40742	 { ac_try='test -z "$ac_cxx_werror_flag"
40743			 || test ! -s conftest.err'
40744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40745  (eval $ac_try) 2>&5
40746  ac_status=$?
40747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748  (exit $ac_status); }; } &&
40749	 { ac_try='test -s conftest.$ac_objext'
40750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751  (eval $ac_try) 2>&5
40752  ac_status=$?
40753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754  (exit $ac_status); }; }; then
40755  glibcxx_cv_func_modff_use=yes
40756else
40757  echo "$as_me: failed program was:" >&5
40758sed 's/^/| /' conftest.$ac_ext >&5
40759
40760glibcxx_cv_func_modff_use=no
40761fi
40762rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40763      ac_ext=c
40764ac_cpp='$CPP $CPPFLAGS'
40765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40767ac_compiler_gnu=$ac_cv_c_compiler_gnu
40768
40769
40770fi
40771
40772  fi
40773  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40774echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40775
40776  if test x$glibcxx_cv_func_modff_use = x"yes"; then
40777
40778for ac_func in modff
40779do
40780as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40781echo "$as_me:$LINENO: checking for $ac_func" >&5
40782echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40783if eval "test \"\${$as_ac_var+set}\" = set"; then
40784  echo $ECHO_N "(cached) $ECHO_C" >&6
40785else
40786  if test x$gcc_no_link = xyes; then
40787  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40788echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40789   { (exit 1); exit 1; }; }
40790fi
40791cat >conftest.$ac_ext <<_ACEOF
40792/* confdefs.h.  */
40793_ACEOF
40794cat confdefs.h >>conftest.$ac_ext
40795cat >>conftest.$ac_ext <<_ACEOF
40796/* end confdefs.h.  */
40797/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40798   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40799#define $ac_func innocuous_$ac_func
40800
40801/* System header to define __stub macros and hopefully few prototypes,
40802    which can conflict with char $ac_func (); below.
40803    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40804    <limits.h> exists even on freestanding compilers.  */
40805
40806#ifdef __STDC__
40807# include <limits.h>
40808#else
40809# include <assert.h>
40810#endif
40811
40812#undef $ac_func
40813
40814/* Override any gcc2 internal prototype to avoid an error.  */
40815#ifdef __cplusplus
40816extern "C"
40817{
40818#endif
40819/* We use char because int might match the return type of a gcc2
40820   builtin and then its argument prototype would still apply.  */
40821char $ac_func ();
40822/* The GNU C library defines this for functions which it implements
40823    to always fail with ENOSYS.  Some functions are actually named
40824    something starting with __ and the normal name is an alias.  */
40825#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40826choke me
40827#else
40828char (*f) () = $ac_func;
40829#endif
40830#ifdef __cplusplus
40831}
40832#endif
40833
40834int
40835main ()
40836{
40837return f != $ac_func;
40838  ;
40839  return 0;
40840}
40841_ACEOF
40842rm -f conftest.$ac_objext conftest$ac_exeext
40843if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40844  (eval $ac_link) 2>conftest.er1
40845  ac_status=$?
40846  grep -v '^ *+' conftest.er1 >conftest.err
40847  rm -f conftest.er1
40848  cat conftest.err >&5
40849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850  (exit $ac_status); } &&
40851	 { ac_try='test -z "$ac_c_werror_flag"
40852			 || test ! -s conftest.err'
40853  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854  (eval $ac_try) 2>&5
40855  ac_status=$?
40856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857  (exit $ac_status); }; } &&
40858	 { ac_try='test -s conftest$ac_exeext'
40859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860  (eval $ac_try) 2>&5
40861  ac_status=$?
40862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863  (exit $ac_status); }; }; then
40864  eval "$as_ac_var=yes"
40865else
40866  echo "$as_me: failed program was:" >&5
40867sed 's/^/| /' conftest.$ac_ext >&5
40868
40869eval "$as_ac_var=no"
40870fi
40871rm -f conftest.err conftest.$ac_objext \
40872      conftest$ac_exeext conftest.$ac_ext
40873fi
40874echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40875echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40876if test `eval echo '${'$as_ac_var'}'` = yes; then
40877  cat >>confdefs.h <<_ACEOF
40878#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40879_ACEOF
40880
40881fi
40882done
40883
40884  else
40885
40886  echo "$as_me:$LINENO: checking for _modff declaration" >&5
40887echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40888  if test x${glibcxx_cv_func__modff_use+set} != xset; then
40889    if test "${glibcxx_cv_func__modff_use+set}" = set; then
40890  echo $ECHO_N "(cached) $ECHO_C" >&6
40891else
40892
40893
40894
40895      ac_ext=cc
40896ac_cpp='$CXXCPP $CPPFLAGS'
40897ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40900
40901      cat >conftest.$ac_ext <<_ACEOF
40902/* confdefs.h.  */
40903_ACEOF
40904cat confdefs.h >>conftest.$ac_ext
40905cat >>conftest.$ac_ext <<_ACEOF
40906/* end confdefs.h.  */
40907#include <math.h>
40908int
40909main ()
40910{
40911 _modff(0, 0);
40912  ;
40913  return 0;
40914}
40915_ACEOF
40916rm -f conftest.$ac_objext
40917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40918  (eval $ac_compile) 2>conftest.er1
40919  ac_status=$?
40920  grep -v '^ *+' conftest.er1 >conftest.err
40921  rm -f conftest.er1
40922  cat conftest.err >&5
40923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924  (exit $ac_status); } &&
40925	 { ac_try='test -z "$ac_cxx_werror_flag"
40926			 || test ! -s conftest.err'
40927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40928  (eval $ac_try) 2>&5
40929  ac_status=$?
40930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931  (exit $ac_status); }; } &&
40932	 { ac_try='test -s conftest.$ac_objext'
40933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40934  (eval $ac_try) 2>&5
40935  ac_status=$?
40936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40937  (exit $ac_status); }; }; then
40938  glibcxx_cv_func__modff_use=yes
40939else
40940  echo "$as_me: failed program was:" >&5
40941sed 's/^/| /' conftest.$ac_ext >&5
40942
40943glibcxx_cv_func__modff_use=no
40944fi
40945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40946      ac_ext=c
40947ac_cpp='$CPP $CPPFLAGS'
40948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40950ac_compiler_gnu=$ac_cv_c_compiler_gnu
40951
40952
40953fi
40954
40955  fi
40956  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40957echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40958
40959    if test x$glibcxx_cv_func__modff_use = x"yes"; then
40960
40961for ac_func in _modff
40962do
40963as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40964echo "$as_me:$LINENO: checking for $ac_func" >&5
40965echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40966if eval "test \"\${$as_ac_var+set}\" = set"; then
40967  echo $ECHO_N "(cached) $ECHO_C" >&6
40968else
40969  if test x$gcc_no_link = xyes; then
40970  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40971echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40972   { (exit 1); exit 1; }; }
40973fi
40974cat >conftest.$ac_ext <<_ACEOF
40975/* confdefs.h.  */
40976_ACEOF
40977cat confdefs.h >>conftest.$ac_ext
40978cat >>conftest.$ac_ext <<_ACEOF
40979/* end confdefs.h.  */
40980/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40981   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40982#define $ac_func innocuous_$ac_func
40983
40984/* System header to define __stub macros and hopefully few prototypes,
40985    which can conflict with char $ac_func (); below.
40986    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40987    <limits.h> exists even on freestanding compilers.  */
40988
40989#ifdef __STDC__
40990# include <limits.h>
40991#else
40992# include <assert.h>
40993#endif
40994
40995#undef $ac_func
40996
40997/* Override any gcc2 internal prototype to avoid an error.  */
40998#ifdef __cplusplus
40999extern "C"
41000{
41001#endif
41002/* We use char because int might match the return type of a gcc2
41003   builtin and then its argument prototype would still apply.  */
41004char $ac_func ();
41005/* The GNU C library defines this for functions which it implements
41006    to always fail with ENOSYS.  Some functions are actually named
41007    something starting with __ and the normal name is an alias.  */
41008#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41009choke me
41010#else
41011char (*f) () = $ac_func;
41012#endif
41013#ifdef __cplusplus
41014}
41015#endif
41016
41017int
41018main ()
41019{
41020return f != $ac_func;
41021  ;
41022  return 0;
41023}
41024_ACEOF
41025rm -f conftest.$ac_objext conftest$ac_exeext
41026if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41027  (eval $ac_link) 2>conftest.er1
41028  ac_status=$?
41029  grep -v '^ *+' conftest.er1 >conftest.err
41030  rm -f conftest.er1
41031  cat conftest.err >&5
41032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41033  (exit $ac_status); } &&
41034	 { ac_try='test -z "$ac_c_werror_flag"
41035			 || test ! -s conftest.err'
41036  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41037  (eval $ac_try) 2>&5
41038  ac_status=$?
41039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41040  (exit $ac_status); }; } &&
41041	 { ac_try='test -s conftest$ac_exeext'
41042  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41043  (eval $ac_try) 2>&5
41044  ac_status=$?
41045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046  (exit $ac_status); }; }; then
41047  eval "$as_ac_var=yes"
41048else
41049  echo "$as_me: failed program was:" >&5
41050sed 's/^/| /' conftest.$ac_ext >&5
41051
41052eval "$as_ac_var=no"
41053fi
41054rm -f conftest.err conftest.$ac_objext \
41055      conftest$ac_exeext conftest.$ac_ext
41056fi
41057echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41058echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41059if test `eval echo '${'$as_ac_var'}'` = yes; then
41060  cat >>confdefs.h <<_ACEOF
41061#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41062_ACEOF
41063
41064fi
41065done
41066
41067    fi
41068  fi
41069
41070
41071
41072
41073
41074
41075  echo "$as_me:$LINENO: checking for modf declaration" >&5
41076echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41077  if test x${glibcxx_cv_func_modf_use+set} != xset; then
41078    if test "${glibcxx_cv_func_modf_use+set}" = set; then
41079  echo $ECHO_N "(cached) $ECHO_C" >&6
41080else
41081
41082
41083
41084      ac_ext=cc
41085ac_cpp='$CXXCPP $CPPFLAGS'
41086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41089
41090      cat >conftest.$ac_ext <<_ACEOF
41091/* confdefs.h.  */
41092_ACEOF
41093cat confdefs.h >>conftest.$ac_ext
41094cat >>conftest.$ac_ext <<_ACEOF
41095/* end confdefs.h.  */
41096#include <math.h>
41097int
41098main ()
41099{
41100 modf(0, 0);
41101  ;
41102  return 0;
41103}
41104_ACEOF
41105rm -f conftest.$ac_objext
41106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41107  (eval $ac_compile) 2>conftest.er1
41108  ac_status=$?
41109  grep -v '^ *+' conftest.er1 >conftest.err
41110  rm -f conftest.er1
41111  cat conftest.err >&5
41112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113  (exit $ac_status); } &&
41114	 { ac_try='test -z "$ac_cxx_werror_flag"
41115			 || test ! -s conftest.err'
41116  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117  (eval $ac_try) 2>&5
41118  ac_status=$?
41119  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120  (exit $ac_status); }; } &&
41121	 { ac_try='test -s conftest.$ac_objext'
41122  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123  (eval $ac_try) 2>&5
41124  ac_status=$?
41125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126  (exit $ac_status); }; }; then
41127  glibcxx_cv_func_modf_use=yes
41128else
41129  echo "$as_me: failed program was:" >&5
41130sed 's/^/| /' conftest.$ac_ext >&5
41131
41132glibcxx_cv_func_modf_use=no
41133fi
41134rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41135      ac_ext=c
41136ac_cpp='$CPP $CPPFLAGS'
41137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41139ac_compiler_gnu=$ac_cv_c_compiler_gnu
41140
41141
41142fi
41143
41144  fi
41145  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41146echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41147
41148  if test x$glibcxx_cv_func_modf_use = x"yes"; then
41149
41150for ac_func in modf
41151do
41152as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41153echo "$as_me:$LINENO: checking for $ac_func" >&5
41154echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41155if eval "test \"\${$as_ac_var+set}\" = set"; then
41156  echo $ECHO_N "(cached) $ECHO_C" >&6
41157else
41158  if test x$gcc_no_link = xyes; then
41159  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41160echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41161   { (exit 1); exit 1; }; }
41162fi
41163cat >conftest.$ac_ext <<_ACEOF
41164/* confdefs.h.  */
41165_ACEOF
41166cat confdefs.h >>conftest.$ac_ext
41167cat >>conftest.$ac_ext <<_ACEOF
41168/* end confdefs.h.  */
41169/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41170   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41171#define $ac_func innocuous_$ac_func
41172
41173/* System header to define __stub macros and hopefully few prototypes,
41174    which can conflict with char $ac_func (); below.
41175    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41176    <limits.h> exists even on freestanding compilers.  */
41177
41178#ifdef __STDC__
41179# include <limits.h>
41180#else
41181# include <assert.h>
41182#endif
41183
41184#undef $ac_func
41185
41186/* Override any gcc2 internal prototype to avoid an error.  */
41187#ifdef __cplusplus
41188extern "C"
41189{
41190#endif
41191/* We use char because int might match the return type of a gcc2
41192   builtin and then its argument prototype would still apply.  */
41193char $ac_func ();
41194/* The GNU C library defines this for functions which it implements
41195    to always fail with ENOSYS.  Some functions are actually named
41196    something starting with __ and the normal name is an alias.  */
41197#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41198choke me
41199#else
41200char (*f) () = $ac_func;
41201#endif
41202#ifdef __cplusplus
41203}
41204#endif
41205
41206int
41207main ()
41208{
41209return f != $ac_func;
41210  ;
41211  return 0;
41212}
41213_ACEOF
41214rm -f conftest.$ac_objext conftest$ac_exeext
41215if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41216  (eval $ac_link) 2>conftest.er1
41217  ac_status=$?
41218  grep -v '^ *+' conftest.er1 >conftest.err
41219  rm -f conftest.er1
41220  cat conftest.err >&5
41221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222  (exit $ac_status); } &&
41223	 { ac_try='test -z "$ac_c_werror_flag"
41224			 || test ! -s conftest.err'
41225  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41226  (eval $ac_try) 2>&5
41227  ac_status=$?
41228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229  (exit $ac_status); }; } &&
41230	 { ac_try='test -s conftest$ac_exeext'
41231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41232  (eval $ac_try) 2>&5
41233  ac_status=$?
41234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235  (exit $ac_status); }; }; then
41236  eval "$as_ac_var=yes"
41237else
41238  echo "$as_me: failed program was:" >&5
41239sed 's/^/| /' conftest.$ac_ext >&5
41240
41241eval "$as_ac_var=no"
41242fi
41243rm -f conftest.err conftest.$ac_objext \
41244      conftest$ac_exeext conftest.$ac_ext
41245fi
41246echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41247echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41248if test `eval echo '${'$as_ac_var'}'` = yes; then
41249  cat >>confdefs.h <<_ACEOF
41250#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41251_ACEOF
41252
41253fi
41254done
41255
41256  else
41257
41258  echo "$as_me:$LINENO: checking for _modf declaration" >&5
41259echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41260  if test x${glibcxx_cv_func__modf_use+set} != xset; then
41261    if test "${glibcxx_cv_func__modf_use+set}" = set; then
41262  echo $ECHO_N "(cached) $ECHO_C" >&6
41263else
41264
41265
41266
41267      ac_ext=cc
41268ac_cpp='$CXXCPP $CPPFLAGS'
41269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41272
41273      cat >conftest.$ac_ext <<_ACEOF
41274/* confdefs.h.  */
41275_ACEOF
41276cat confdefs.h >>conftest.$ac_ext
41277cat >>conftest.$ac_ext <<_ACEOF
41278/* end confdefs.h.  */
41279#include <math.h>
41280int
41281main ()
41282{
41283 _modf(0, 0);
41284  ;
41285  return 0;
41286}
41287_ACEOF
41288rm -f conftest.$ac_objext
41289if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41290  (eval $ac_compile) 2>conftest.er1
41291  ac_status=$?
41292  grep -v '^ *+' conftest.er1 >conftest.err
41293  rm -f conftest.er1
41294  cat conftest.err >&5
41295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296  (exit $ac_status); } &&
41297	 { ac_try='test -z "$ac_cxx_werror_flag"
41298			 || test ! -s conftest.err'
41299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41300  (eval $ac_try) 2>&5
41301  ac_status=$?
41302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303  (exit $ac_status); }; } &&
41304	 { ac_try='test -s conftest.$ac_objext'
41305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41306  (eval $ac_try) 2>&5
41307  ac_status=$?
41308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309  (exit $ac_status); }; }; then
41310  glibcxx_cv_func__modf_use=yes
41311else
41312  echo "$as_me: failed program was:" >&5
41313sed 's/^/| /' conftest.$ac_ext >&5
41314
41315glibcxx_cv_func__modf_use=no
41316fi
41317rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41318      ac_ext=c
41319ac_cpp='$CPP $CPPFLAGS'
41320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41322ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323
41324
41325fi
41326
41327  fi
41328  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41329echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41330
41331    if test x$glibcxx_cv_func__modf_use = x"yes"; then
41332
41333for ac_func in _modf
41334do
41335as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41336echo "$as_me:$LINENO: checking for $ac_func" >&5
41337echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41338if eval "test \"\${$as_ac_var+set}\" = set"; then
41339  echo $ECHO_N "(cached) $ECHO_C" >&6
41340else
41341  if test x$gcc_no_link = xyes; then
41342  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41343echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41344   { (exit 1); exit 1; }; }
41345fi
41346cat >conftest.$ac_ext <<_ACEOF
41347/* confdefs.h.  */
41348_ACEOF
41349cat confdefs.h >>conftest.$ac_ext
41350cat >>conftest.$ac_ext <<_ACEOF
41351/* end confdefs.h.  */
41352/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41353   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41354#define $ac_func innocuous_$ac_func
41355
41356/* System header to define __stub macros and hopefully few prototypes,
41357    which can conflict with char $ac_func (); below.
41358    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41359    <limits.h> exists even on freestanding compilers.  */
41360
41361#ifdef __STDC__
41362# include <limits.h>
41363#else
41364# include <assert.h>
41365#endif
41366
41367#undef $ac_func
41368
41369/* Override any gcc2 internal prototype to avoid an error.  */
41370#ifdef __cplusplus
41371extern "C"
41372{
41373#endif
41374/* We use char because int might match the return type of a gcc2
41375   builtin and then its argument prototype would still apply.  */
41376char $ac_func ();
41377/* The GNU C library defines this for functions which it implements
41378    to always fail with ENOSYS.  Some functions are actually named
41379    something starting with __ and the normal name is an alias.  */
41380#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41381choke me
41382#else
41383char (*f) () = $ac_func;
41384#endif
41385#ifdef __cplusplus
41386}
41387#endif
41388
41389int
41390main ()
41391{
41392return f != $ac_func;
41393  ;
41394  return 0;
41395}
41396_ACEOF
41397rm -f conftest.$ac_objext conftest$ac_exeext
41398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41399  (eval $ac_link) 2>conftest.er1
41400  ac_status=$?
41401  grep -v '^ *+' conftest.er1 >conftest.err
41402  rm -f conftest.er1
41403  cat conftest.err >&5
41404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405  (exit $ac_status); } &&
41406	 { ac_try='test -z "$ac_c_werror_flag"
41407			 || test ! -s conftest.err'
41408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409  (eval $ac_try) 2>&5
41410  ac_status=$?
41411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412  (exit $ac_status); }; } &&
41413	 { ac_try='test -s conftest$ac_exeext'
41414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415  (eval $ac_try) 2>&5
41416  ac_status=$?
41417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418  (exit $ac_status); }; }; then
41419  eval "$as_ac_var=yes"
41420else
41421  echo "$as_me: failed program was:" >&5
41422sed 's/^/| /' conftest.$ac_ext >&5
41423
41424eval "$as_ac_var=no"
41425fi
41426rm -f conftest.err conftest.$ac_objext \
41427      conftest$ac_exeext conftest.$ac_ext
41428fi
41429echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41430echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41431if test `eval echo '${'$as_ac_var'}'` = yes; then
41432  cat >>confdefs.h <<_ACEOF
41433#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41434_ACEOF
41435
41436fi
41437done
41438
41439    fi
41440  fi
41441
41442
41443
41444
41445
41446
41447  echo "$as_me:$LINENO: checking for powf declaration" >&5
41448echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41449  if test x${glibcxx_cv_func_powf_use+set} != xset; then
41450    if test "${glibcxx_cv_func_powf_use+set}" = set; then
41451  echo $ECHO_N "(cached) $ECHO_C" >&6
41452else
41453
41454
41455
41456      ac_ext=cc
41457ac_cpp='$CXXCPP $CPPFLAGS'
41458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41461
41462      cat >conftest.$ac_ext <<_ACEOF
41463/* confdefs.h.  */
41464_ACEOF
41465cat confdefs.h >>conftest.$ac_ext
41466cat >>conftest.$ac_ext <<_ACEOF
41467/* end confdefs.h.  */
41468#include <math.h>
41469int
41470main ()
41471{
41472 powf(0, 0);
41473  ;
41474  return 0;
41475}
41476_ACEOF
41477rm -f conftest.$ac_objext
41478if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41479  (eval $ac_compile) 2>conftest.er1
41480  ac_status=$?
41481  grep -v '^ *+' conftest.er1 >conftest.err
41482  rm -f conftest.er1
41483  cat conftest.err >&5
41484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485  (exit $ac_status); } &&
41486	 { ac_try='test -z "$ac_cxx_werror_flag"
41487			 || test ! -s conftest.err'
41488  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489  (eval $ac_try) 2>&5
41490  ac_status=$?
41491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492  (exit $ac_status); }; } &&
41493	 { ac_try='test -s conftest.$ac_objext'
41494  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41495  (eval $ac_try) 2>&5
41496  ac_status=$?
41497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498  (exit $ac_status); }; }; then
41499  glibcxx_cv_func_powf_use=yes
41500else
41501  echo "$as_me: failed program was:" >&5
41502sed 's/^/| /' conftest.$ac_ext >&5
41503
41504glibcxx_cv_func_powf_use=no
41505fi
41506rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41507      ac_ext=c
41508ac_cpp='$CPP $CPPFLAGS'
41509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511ac_compiler_gnu=$ac_cv_c_compiler_gnu
41512
41513
41514fi
41515
41516  fi
41517  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41518echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41519
41520  if test x$glibcxx_cv_func_powf_use = x"yes"; then
41521
41522for ac_func in powf
41523do
41524as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41525echo "$as_me:$LINENO: checking for $ac_func" >&5
41526echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41527if eval "test \"\${$as_ac_var+set}\" = set"; then
41528  echo $ECHO_N "(cached) $ECHO_C" >&6
41529else
41530  if test x$gcc_no_link = xyes; then
41531  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41532echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41533   { (exit 1); exit 1; }; }
41534fi
41535cat >conftest.$ac_ext <<_ACEOF
41536/* confdefs.h.  */
41537_ACEOF
41538cat confdefs.h >>conftest.$ac_ext
41539cat >>conftest.$ac_ext <<_ACEOF
41540/* end confdefs.h.  */
41541/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41542   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41543#define $ac_func innocuous_$ac_func
41544
41545/* System header to define __stub macros and hopefully few prototypes,
41546    which can conflict with char $ac_func (); below.
41547    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41548    <limits.h> exists even on freestanding compilers.  */
41549
41550#ifdef __STDC__
41551# include <limits.h>
41552#else
41553# include <assert.h>
41554#endif
41555
41556#undef $ac_func
41557
41558/* Override any gcc2 internal prototype to avoid an error.  */
41559#ifdef __cplusplus
41560extern "C"
41561{
41562#endif
41563/* We use char because int might match the return type of a gcc2
41564   builtin and then its argument prototype would still apply.  */
41565char $ac_func ();
41566/* The GNU C library defines this for functions which it implements
41567    to always fail with ENOSYS.  Some functions are actually named
41568    something starting with __ and the normal name is an alias.  */
41569#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41570choke me
41571#else
41572char (*f) () = $ac_func;
41573#endif
41574#ifdef __cplusplus
41575}
41576#endif
41577
41578int
41579main ()
41580{
41581return f != $ac_func;
41582  ;
41583  return 0;
41584}
41585_ACEOF
41586rm -f conftest.$ac_objext conftest$ac_exeext
41587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41588  (eval $ac_link) 2>conftest.er1
41589  ac_status=$?
41590  grep -v '^ *+' conftest.er1 >conftest.err
41591  rm -f conftest.er1
41592  cat conftest.err >&5
41593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594  (exit $ac_status); } &&
41595	 { ac_try='test -z "$ac_c_werror_flag"
41596			 || test ! -s conftest.err'
41597  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41598  (eval $ac_try) 2>&5
41599  ac_status=$?
41600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601  (exit $ac_status); }; } &&
41602	 { ac_try='test -s conftest$ac_exeext'
41603  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41604  (eval $ac_try) 2>&5
41605  ac_status=$?
41606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607  (exit $ac_status); }; }; then
41608  eval "$as_ac_var=yes"
41609else
41610  echo "$as_me: failed program was:" >&5
41611sed 's/^/| /' conftest.$ac_ext >&5
41612
41613eval "$as_ac_var=no"
41614fi
41615rm -f conftest.err conftest.$ac_objext \
41616      conftest$ac_exeext conftest.$ac_ext
41617fi
41618echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41619echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41620if test `eval echo '${'$as_ac_var'}'` = yes; then
41621  cat >>confdefs.h <<_ACEOF
41622#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41623_ACEOF
41624
41625fi
41626done
41627
41628  else
41629
41630  echo "$as_me:$LINENO: checking for _powf declaration" >&5
41631echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41632  if test x${glibcxx_cv_func__powf_use+set} != xset; then
41633    if test "${glibcxx_cv_func__powf_use+set}" = set; then
41634  echo $ECHO_N "(cached) $ECHO_C" >&6
41635else
41636
41637
41638
41639      ac_ext=cc
41640ac_cpp='$CXXCPP $CPPFLAGS'
41641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41644
41645      cat >conftest.$ac_ext <<_ACEOF
41646/* confdefs.h.  */
41647_ACEOF
41648cat confdefs.h >>conftest.$ac_ext
41649cat >>conftest.$ac_ext <<_ACEOF
41650/* end confdefs.h.  */
41651#include <math.h>
41652int
41653main ()
41654{
41655 _powf(0, 0);
41656  ;
41657  return 0;
41658}
41659_ACEOF
41660rm -f conftest.$ac_objext
41661if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41662  (eval $ac_compile) 2>conftest.er1
41663  ac_status=$?
41664  grep -v '^ *+' conftest.er1 >conftest.err
41665  rm -f conftest.er1
41666  cat conftest.err >&5
41667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668  (exit $ac_status); } &&
41669	 { ac_try='test -z "$ac_cxx_werror_flag"
41670			 || test ! -s conftest.err'
41671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41672  (eval $ac_try) 2>&5
41673  ac_status=$?
41674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675  (exit $ac_status); }; } &&
41676	 { ac_try='test -s conftest.$ac_objext'
41677  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41678  (eval $ac_try) 2>&5
41679  ac_status=$?
41680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681  (exit $ac_status); }; }; then
41682  glibcxx_cv_func__powf_use=yes
41683else
41684  echo "$as_me: failed program was:" >&5
41685sed 's/^/| /' conftest.$ac_ext >&5
41686
41687glibcxx_cv_func__powf_use=no
41688fi
41689rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41690      ac_ext=c
41691ac_cpp='$CPP $CPPFLAGS'
41692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41694ac_compiler_gnu=$ac_cv_c_compiler_gnu
41695
41696
41697fi
41698
41699  fi
41700  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41701echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41702
41703    if test x$glibcxx_cv_func__powf_use = x"yes"; then
41704
41705for ac_func in _powf
41706do
41707as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41708echo "$as_me:$LINENO: checking for $ac_func" >&5
41709echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41710if eval "test \"\${$as_ac_var+set}\" = set"; then
41711  echo $ECHO_N "(cached) $ECHO_C" >&6
41712else
41713  if test x$gcc_no_link = xyes; then
41714  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41715echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41716   { (exit 1); exit 1; }; }
41717fi
41718cat >conftest.$ac_ext <<_ACEOF
41719/* confdefs.h.  */
41720_ACEOF
41721cat confdefs.h >>conftest.$ac_ext
41722cat >>conftest.$ac_ext <<_ACEOF
41723/* end confdefs.h.  */
41724/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41725   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41726#define $ac_func innocuous_$ac_func
41727
41728/* System header to define __stub macros and hopefully few prototypes,
41729    which can conflict with char $ac_func (); below.
41730    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41731    <limits.h> exists even on freestanding compilers.  */
41732
41733#ifdef __STDC__
41734# include <limits.h>
41735#else
41736# include <assert.h>
41737#endif
41738
41739#undef $ac_func
41740
41741/* Override any gcc2 internal prototype to avoid an error.  */
41742#ifdef __cplusplus
41743extern "C"
41744{
41745#endif
41746/* We use char because int might match the return type of a gcc2
41747   builtin and then its argument prototype would still apply.  */
41748char $ac_func ();
41749/* The GNU C library defines this for functions which it implements
41750    to always fail with ENOSYS.  Some functions are actually named
41751    something starting with __ and the normal name is an alias.  */
41752#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41753choke me
41754#else
41755char (*f) () = $ac_func;
41756#endif
41757#ifdef __cplusplus
41758}
41759#endif
41760
41761int
41762main ()
41763{
41764return f != $ac_func;
41765  ;
41766  return 0;
41767}
41768_ACEOF
41769rm -f conftest.$ac_objext conftest$ac_exeext
41770if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41771  (eval $ac_link) 2>conftest.er1
41772  ac_status=$?
41773  grep -v '^ *+' conftest.er1 >conftest.err
41774  rm -f conftest.er1
41775  cat conftest.err >&5
41776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777  (exit $ac_status); } &&
41778	 { ac_try='test -z "$ac_c_werror_flag"
41779			 || test ! -s conftest.err'
41780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41781  (eval $ac_try) 2>&5
41782  ac_status=$?
41783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784  (exit $ac_status); }; } &&
41785	 { ac_try='test -s conftest$ac_exeext'
41786  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41787  (eval $ac_try) 2>&5
41788  ac_status=$?
41789  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790  (exit $ac_status); }; }; then
41791  eval "$as_ac_var=yes"
41792else
41793  echo "$as_me: failed program was:" >&5
41794sed 's/^/| /' conftest.$ac_ext >&5
41795
41796eval "$as_ac_var=no"
41797fi
41798rm -f conftest.err conftest.$ac_objext \
41799      conftest$ac_exeext conftest.$ac_ext
41800fi
41801echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41802echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41803if test `eval echo '${'$as_ac_var'}'` = yes; then
41804  cat >>confdefs.h <<_ACEOF
41805#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41806_ACEOF
41807
41808fi
41809done
41810
41811    fi
41812  fi
41813
41814
41815
41816
41817
41818
41819  echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41820echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41821  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41822    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41823  echo $ECHO_N "(cached) $ECHO_C" >&6
41824else
41825
41826
41827
41828      ac_ext=cc
41829ac_cpp='$CXXCPP $CPPFLAGS'
41830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41833
41834      cat >conftest.$ac_ext <<_ACEOF
41835/* confdefs.h.  */
41836_ACEOF
41837cat confdefs.h >>conftest.$ac_ext
41838cat >>conftest.$ac_ext <<_ACEOF
41839/* end confdefs.h.  */
41840#include <math.h>
41841		      #ifdef HAVE_IEEEFP_H
41842		      #include <ieeefp.h>
41843		      #endif
41844
41845int
41846main ()
41847{
41848 sqrtf(0);
41849  ;
41850  return 0;
41851}
41852_ACEOF
41853rm -f conftest.$ac_objext
41854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41855  (eval $ac_compile) 2>conftest.er1
41856  ac_status=$?
41857  grep -v '^ *+' conftest.er1 >conftest.err
41858  rm -f conftest.er1
41859  cat conftest.err >&5
41860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861  (exit $ac_status); } &&
41862	 { ac_try='test -z "$ac_cxx_werror_flag"
41863			 || test ! -s conftest.err'
41864  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865  (eval $ac_try) 2>&5
41866  ac_status=$?
41867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868  (exit $ac_status); }; } &&
41869	 { ac_try='test -s conftest.$ac_objext'
41870  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41871  (eval $ac_try) 2>&5
41872  ac_status=$?
41873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874  (exit $ac_status); }; }; then
41875  glibcxx_cv_func_sqrtf_use=yes
41876else
41877  echo "$as_me: failed program was:" >&5
41878sed 's/^/| /' conftest.$ac_ext >&5
41879
41880glibcxx_cv_func_sqrtf_use=no
41881fi
41882rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41883      ac_ext=c
41884ac_cpp='$CPP $CPPFLAGS'
41885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887ac_compiler_gnu=$ac_cv_c_compiler_gnu
41888
41889
41890fi
41891
41892  fi
41893  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41894echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41895
41896  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41897
41898for ac_func in sqrtf
41899do
41900as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41901echo "$as_me:$LINENO: checking for $ac_func" >&5
41902echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41903if eval "test \"\${$as_ac_var+set}\" = set"; then
41904  echo $ECHO_N "(cached) $ECHO_C" >&6
41905else
41906  if test x$gcc_no_link = xyes; then
41907  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41908echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41909   { (exit 1); exit 1; }; }
41910fi
41911cat >conftest.$ac_ext <<_ACEOF
41912/* confdefs.h.  */
41913_ACEOF
41914cat confdefs.h >>conftest.$ac_ext
41915cat >>conftest.$ac_ext <<_ACEOF
41916/* end confdefs.h.  */
41917/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41918   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41919#define $ac_func innocuous_$ac_func
41920
41921/* System header to define __stub macros and hopefully few prototypes,
41922    which can conflict with char $ac_func (); below.
41923    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41924    <limits.h> exists even on freestanding compilers.  */
41925
41926#ifdef __STDC__
41927# include <limits.h>
41928#else
41929# include <assert.h>
41930#endif
41931
41932#undef $ac_func
41933
41934/* Override any gcc2 internal prototype to avoid an error.  */
41935#ifdef __cplusplus
41936extern "C"
41937{
41938#endif
41939/* We use char because int might match the return type of a gcc2
41940   builtin and then its argument prototype would still apply.  */
41941char $ac_func ();
41942/* The GNU C library defines this for functions which it implements
41943    to always fail with ENOSYS.  Some functions are actually named
41944    something starting with __ and the normal name is an alias.  */
41945#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41946choke me
41947#else
41948char (*f) () = $ac_func;
41949#endif
41950#ifdef __cplusplus
41951}
41952#endif
41953
41954int
41955main ()
41956{
41957return f != $ac_func;
41958  ;
41959  return 0;
41960}
41961_ACEOF
41962rm -f conftest.$ac_objext conftest$ac_exeext
41963if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41964  (eval $ac_link) 2>conftest.er1
41965  ac_status=$?
41966  grep -v '^ *+' conftest.er1 >conftest.err
41967  rm -f conftest.er1
41968  cat conftest.err >&5
41969  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970  (exit $ac_status); } &&
41971	 { ac_try='test -z "$ac_c_werror_flag"
41972			 || test ! -s conftest.err'
41973  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41974  (eval $ac_try) 2>&5
41975  ac_status=$?
41976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977  (exit $ac_status); }; } &&
41978	 { ac_try='test -s conftest$ac_exeext'
41979  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41980  (eval $ac_try) 2>&5
41981  ac_status=$?
41982  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983  (exit $ac_status); }; }; then
41984  eval "$as_ac_var=yes"
41985else
41986  echo "$as_me: failed program was:" >&5
41987sed 's/^/| /' conftest.$ac_ext >&5
41988
41989eval "$as_ac_var=no"
41990fi
41991rm -f conftest.err conftest.$ac_objext \
41992      conftest$ac_exeext conftest.$ac_ext
41993fi
41994echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41995echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41996if test `eval echo '${'$as_ac_var'}'` = yes; then
41997  cat >>confdefs.h <<_ACEOF
41998#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41999_ACEOF
42000
42001fi
42002done
42003
42004  else
42005
42006  echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42007echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42008  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42009    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42010  echo $ECHO_N "(cached) $ECHO_C" >&6
42011else
42012
42013
42014
42015      ac_ext=cc
42016ac_cpp='$CXXCPP $CPPFLAGS'
42017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42020
42021      cat >conftest.$ac_ext <<_ACEOF
42022/* confdefs.h.  */
42023_ACEOF
42024cat confdefs.h >>conftest.$ac_ext
42025cat >>conftest.$ac_ext <<_ACEOF
42026/* end confdefs.h.  */
42027#include <math.h>
42028		      #ifdef HAVE_IEEEFP_H
42029		      #include <ieeefp.h>
42030		      #endif
42031
42032int
42033main ()
42034{
42035 _sqrtf(0);
42036  ;
42037  return 0;
42038}
42039_ACEOF
42040rm -f conftest.$ac_objext
42041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42042  (eval $ac_compile) 2>conftest.er1
42043  ac_status=$?
42044  grep -v '^ *+' conftest.er1 >conftest.err
42045  rm -f conftest.er1
42046  cat conftest.err >&5
42047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048  (exit $ac_status); } &&
42049	 { ac_try='test -z "$ac_cxx_werror_flag"
42050			 || test ! -s conftest.err'
42051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052  (eval $ac_try) 2>&5
42053  ac_status=$?
42054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055  (exit $ac_status); }; } &&
42056	 { ac_try='test -s conftest.$ac_objext'
42057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058  (eval $ac_try) 2>&5
42059  ac_status=$?
42060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061  (exit $ac_status); }; }; then
42062  glibcxx_cv_func__sqrtf_use=yes
42063else
42064  echo "$as_me: failed program was:" >&5
42065sed 's/^/| /' conftest.$ac_ext >&5
42066
42067glibcxx_cv_func__sqrtf_use=no
42068fi
42069rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42070      ac_ext=c
42071ac_cpp='$CPP $CPPFLAGS'
42072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074ac_compiler_gnu=$ac_cv_c_compiler_gnu
42075
42076
42077fi
42078
42079  fi
42080  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42081echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42082
42083    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42084
42085for ac_func in _sqrtf
42086do
42087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42088echo "$as_me:$LINENO: checking for $ac_func" >&5
42089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42090if eval "test \"\${$as_ac_var+set}\" = set"; then
42091  echo $ECHO_N "(cached) $ECHO_C" >&6
42092else
42093  if test x$gcc_no_link = xyes; then
42094  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42095echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42096   { (exit 1); exit 1; }; }
42097fi
42098cat >conftest.$ac_ext <<_ACEOF
42099/* confdefs.h.  */
42100_ACEOF
42101cat confdefs.h >>conftest.$ac_ext
42102cat >>conftest.$ac_ext <<_ACEOF
42103/* end confdefs.h.  */
42104/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42105   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42106#define $ac_func innocuous_$ac_func
42107
42108/* System header to define __stub macros and hopefully few prototypes,
42109    which can conflict with char $ac_func (); below.
42110    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42111    <limits.h> exists even on freestanding compilers.  */
42112
42113#ifdef __STDC__
42114# include <limits.h>
42115#else
42116# include <assert.h>
42117#endif
42118
42119#undef $ac_func
42120
42121/* Override any gcc2 internal prototype to avoid an error.  */
42122#ifdef __cplusplus
42123extern "C"
42124{
42125#endif
42126/* We use char because int might match the return type of a gcc2
42127   builtin and then its argument prototype would still apply.  */
42128char $ac_func ();
42129/* The GNU C library defines this for functions which it implements
42130    to always fail with ENOSYS.  Some functions are actually named
42131    something starting with __ and the normal name is an alias.  */
42132#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42133choke me
42134#else
42135char (*f) () = $ac_func;
42136#endif
42137#ifdef __cplusplus
42138}
42139#endif
42140
42141int
42142main ()
42143{
42144return f != $ac_func;
42145  ;
42146  return 0;
42147}
42148_ACEOF
42149rm -f conftest.$ac_objext conftest$ac_exeext
42150if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42151  (eval $ac_link) 2>conftest.er1
42152  ac_status=$?
42153  grep -v '^ *+' conftest.er1 >conftest.err
42154  rm -f conftest.er1
42155  cat conftest.err >&5
42156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157  (exit $ac_status); } &&
42158	 { ac_try='test -z "$ac_c_werror_flag"
42159			 || test ! -s conftest.err'
42160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42161  (eval $ac_try) 2>&5
42162  ac_status=$?
42163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42164  (exit $ac_status); }; } &&
42165	 { ac_try='test -s conftest$ac_exeext'
42166  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42167  (eval $ac_try) 2>&5
42168  ac_status=$?
42169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170  (exit $ac_status); }; }; then
42171  eval "$as_ac_var=yes"
42172else
42173  echo "$as_me: failed program was:" >&5
42174sed 's/^/| /' conftest.$ac_ext >&5
42175
42176eval "$as_ac_var=no"
42177fi
42178rm -f conftest.err conftest.$ac_objext \
42179      conftest$ac_exeext conftest.$ac_ext
42180fi
42181echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42182echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42183if test `eval echo '${'$as_ac_var'}'` = yes; then
42184  cat >>confdefs.h <<_ACEOF
42185#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42186_ACEOF
42187
42188fi
42189done
42190
42191    fi
42192  fi
42193
42194
42195
42196
42197
42198
42199  echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42200echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42201  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42202    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42203  echo $ECHO_N "(cached) $ECHO_C" >&6
42204else
42205
42206
42207
42208      ac_ext=cc
42209ac_cpp='$CXXCPP $CPPFLAGS'
42210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42213
42214      cat >conftest.$ac_ext <<_ACEOF
42215/* confdefs.h.  */
42216_ACEOF
42217cat confdefs.h >>conftest.$ac_ext
42218cat >>conftest.$ac_ext <<_ACEOF
42219/* end confdefs.h.  */
42220#include <math.h>
42221int
42222main ()
42223{
42224 sincosf(0, 0, 0);
42225  ;
42226  return 0;
42227}
42228_ACEOF
42229rm -f conftest.$ac_objext
42230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42231  (eval $ac_compile) 2>conftest.er1
42232  ac_status=$?
42233  grep -v '^ *+' conftest.er1 >conftest.err
42234  rm -f conftest.er1
42235  cat conftest.err >&5
42236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237  (exit $ac_status); } &&
42238	 { ac_try='test -z "$ac_cxx_werror_flag"
42239			 || test ! -s conftest.err'
42240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241  (eval $ac_try) 2>&5
42242  ac_status=$?
42243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244  (exit $ac_status); }; } &&
42245	 { ac_try='test -s conftest.$ac_objext'
42246  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42247  (eval $ac_try) 2>&5
42248  ac_status=$?
42249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250  (exit $ac_status); }; }; then
42251  glibcxx_cv_func_sincosf_use=yes
42252else
42253  echo "$as_me: failed program was:" >&5
42254sed 's/^/| /' conftest.$ac_ext >&5
42255
42256glibcxx_cv_func_sincosf_use=no
42257fi
42258rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42259      ac_ext=c
42260ac_cpp='$CPP $CPPFLAGS'
42261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263ac_compiler_gnu=$ac_cv_c_compiler_gnu
42264
42265
42266fi
42267
42268  fi
42269  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42270echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42271
42272  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42273
42274for ac_func in sincosf
42275do
42276as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42277echo "$as_me:$LINENO: checking for $ac_func" >&5
42278echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42279if eval "test \"\${$as_ac_var+set}\" = set"; then
42280  echo $ECHO_N "(cached) $ECHO_C" >&6
42281else
42282  if test x$gcc_no_link = xyes; then
42283  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42284echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42285   { (exit 1); exit 1; }; }
42286fi
42287cat >conftest.$ac_ext <<_ACEOF
42288/* confdefs.h.  */
42289_ACEOF
42290cat confdefs.h >>conftest.$ac_ext
42291cat >>conftest.$ac_ext <<_ACEOF
42292/* end confdefs.h.  */
42293/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42294   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42295#define $ac_func innocuous_$ac_func
42296
42297/* System header to define __stub macros and hopefully few prototypes,
42298    which can conflict with char $ac_func (); below.
42299    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42300    <limits.h> exists even on freestanding compilers.  */
42301
42302#ifdef __STDC__
42303# include <limits.h>
42304#else
42305# include <assert.h>
42306#endif
42307
42308#undef $ac_func
42309
42310/* Override any gcc2 internal prototype to avoid an error.  */
42311#ifdef __cplusplus
42312extern "C"
42313{
42314#endif
42315/* We use char because int might match the return type of a gcc2
42316   builtin and then its argument prototype would still apply.  */
42317char $ac_func ();
42318/* The GNU C library defines this for functions which it implements
42319    to always fail with ENOSYS.  Some functions are actually named
42320    something starting with __ and the normal name is an alias.  */
42321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42322choke me
42323#else
42324char (*f) () = $ac_func;
42325#endif
42326#ifdef __cplusplus
42327}
42328#endif
42329
42330int
42331main ()
42332{
42333return f != $ac_func;
42334  ;
42335  return 0;
42336}
42337_ACEOF
42338rm -f conftest.$ac_objext conftest$ac_exeext
42339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42340  (eval $ac_link) 2>conftest.er1
42341  ac_status=$?
42342  grep -v '^ *+' conftest.er1 >conftest.err
42343  rm -f conftest.er1
42344  cat conftest.err >&5
42345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346  (exit $ac_status); } &&
42347	 { ac_try='test -z "$ac_c_werror_flag"
42348			 || test ! -s conftest.err'
42349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42350  (eval $ac_try) 2>&5
42351  ac_status=$?
42352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353  (exit $ac_status); }; } &&
42354	 { ac_try='test -s conftest$ac_exeext'
42355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42356  (eval $ac_try) 2>&5
42357  ac_status=$?
42358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42359  (exit $ac_status); }; }; then
42360  eval "$as_ac_var=yes"
42361else
42362  echo "$as_me: failed program was:" >&5
42363sed 's/^/| /' conftest.$ac_ext >&5
42364
42365eval "$as_ac_var=no"
42366fi
42367rm -f conftest.err conftest.$ac_objext \
42368      conftest$ac_exeext conftest.$ac_ext
42369fi
42370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42371echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42372if test `eval echo '${'$as_ac_var'}'` = yes; then
42373  cat >>confdefs.h <<_ACEOF
42374#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42375_ACEOF
42376
42377fi
42378done
42379
42380  else
42381
42382  echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42383echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42384  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42385    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42386  echo $ECHO_N "(cached) $ECHO_C" >&6
42387else
42388
42389
42390
42391      ac_ext=cc
42392ac_cpp='$CXXCPP $CPPFLAGS'
42393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42396
42397      cat >conftest.$ac_ext <<_ACEOF
42398/* confdefs.h.  */
42399_ACEOF
42400cat confdefs.h >>conftest.$ac_ext
42401cat >>conftest.$ac_ext <<_ACEOF
42402/* end confdefs.h.  */
42403#include <math.h>
42404int
42405main ()
42406{
42407 _sincosf(0, 0, 0);
42408  ;
42409  return 0;
42410}
42411_ACEOF
42412rm -f conftest.$ac_objext
42413if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42414  (eval $ac_compile) 2>conftest.er1
42415  ac_status=$?
42416  grep -v '^ *+' conftest.er1 >conftest.err
42417  rm -f conftest.er1
42418  cat conftest.err >&5
42419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420  (exit $ac_status); } &&
42421	 { ac_try='test -z "$ac_cxx_werror_flag"
42422			 || test ! -s conftest.err'
42423  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42424  (eval $ac_try) 2>&5
42425  ac_status=$?
42426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427  (exit $ac_status); }; } &&
42428	 { ac_try='test -s conftest.$ac_objext'
42429  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42430  (eval $ac_try) 2>&5
42431  ac_status=$?
42432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433  (exit $ac_status); }; }; then
42434  glibcxx_cv_func__sincosf_use=yes
42435else
42436  echo "$as_me: failed program was:" >&5
42437sed 's/^/| /' conftest.$ac_ext >&5
42438
42439glibcxx_cv_func__sincosf_use=no
42440fi
42441rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42442      ac_ext=c
42443ac_cpp='$CPP $CPPFLAGS'
42444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446ac_compiler_gnu=$ac_cv_c_compiler_gnu
42447
42448
42449fi
42450
42451  fi
42452  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42453echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42454
42455    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42456
42457for ac_func in _sincosf
42458do
42459as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460echo "$as_me:$LINENO: checking for $ac_func" >&5
42461echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42462if eval "test \"\${$as_ac_var+set}\" = set"; then
42463  echo $ECHO_N "(cached) $ECHO_C" >&6
42464else
42465  if test x$gcc_no_link = xyes; then
42466  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42467echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42468   { (exit 1); exit 1; }; }
42469fi
42470cat >conftest.$ac_ext <<_ACEOF
42471/* confdefs.h.  */
42472_ACEOF
42473cat confdefs.h >>conftest.$ac_ext
42474cat >>conftest.$ac_ext <<_ACEOF
42475/* end confdefs.h.  */
42476/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42477   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42478#define $ac_func innocuous_$ac_func
42479
42480/* System header to define __stub macros and hopefully few prototypes,
42481    which can conflict with char $ac_func (); below.
42482    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42483    <limits.h> exists even on freestanding compilers.  */
42484
42485#ifdef __STDC__
42486# include <limits.h>
42487#else
42488# include <assert.h>
42489#endif
42490
42491#undef $ac_func
42492
42493/* Override any gcc2 internal prototype to avoid an error.  */
42494#ifdef __cplusplus
42495extern "C"
42496{
42497#endif
42498/* We use char because int might match the return type of a gcc2
42499   builtin and then its argument prototype would still apply.  */
42500char $ac_func ();
42501/* The GNU C library defines this for functions which it implements
42502    to always fail with ENOSYS.  Some functions are actually named
42503    something starting with __ and the normal name is an alias.  */
42504#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42505choke me
42506#else
42507char (*f) () = $ac_func;
42508#endif
42509#ifdef __cplusplus
42510}
42511#endif
42512
42513int
42514main ()
42515{
42516return f != $ac_func;
42517  ;
42518  return 0;
42519}
42520_ACEOF
42521rm -f conftest.$ac_objext conftest$ac_exeext
42522if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42523  (eval $ac_link) 2>conftest.er1
42524  ac_status=$?
42525  grep -v '^ *+' conftest.er1 >conftest.err
42526  rm -f conftest.er1
42527  cat conftest.err >&5
42528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529  (exit $ac_status); } &&
42530	 { ac_try='test -z "$ac_c_werror_flag"
42531			 || test ! -s conftest.err'
42532  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42533  (eval $ac_try) 2>&5
42534  ac_status=$?
42535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536  (exit $ac_status); }; } &&
42537	 { ac_try='test -s conftest$ac_exeext'
42538  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42539  (eval $ac_try) 2>&5
42540  ac_status=$?
42541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542  (exit $ac_status); }; }; then
42543  eval "$as_ac_var=yes"
42544else
42545  echo "$as_me: failed program was:" >&5
42546sed 's/^/| /' conftest.$ac_ext >&5
42547
42548eval "$as_ac_var=no"
42549fi
42550rm -f conftest.err conftest.$ac_objext \
42551      conftest$ac_exeext conftest.$ac_ext
42552fi
42553echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42554echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42555if test `eval echo '${'$as_ac_var'}'` = yes; then
42556  cat >>confdefs.h <<_ACEOF
42557#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42558_ACEOF
42559
42560fi
42561done
42562
42563    fi
42564  fi
42565
42566
42567
42568
42569
42570
42571  echo "$as_me:$LINENO: checking for finitef declaration" >&5
42572echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42573  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42574    if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42575  echo $ECHO_N "(cached) $ECHO_C" >&6
42576else
42577
42578
42579
42580      ac_ext=cc
42581ac_cpp='$CXXCPP $CPPFLAGS'
42582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42585
42586      cat >conftest.$ac_ext <<_ACEOF
42587/* confdefs.h.  */
42588_ACEOF
42589cat confdefs.h >>conftest.$ac_ext
42590cat >>conftest.$ac_ext <<_ACEOF
42591/* end confdefs.h.  */
42592#include <math.h>
42593		      #ifdef HAVE_IEEEFP_H
42594		      #include <ieeefp.h>
42595		      #endif
42596
42597int
42598main ()
42599{
42600 finitef(0);
42601  ;
42602  return 0;
42603}
42604_ACEOF
42605rm -f conftest.$ac_objext
42606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42607  (eval $ac_compile) 2>conftest.er1
42608  ac_status=$?
42609  grep -v '^ *+' conftest.er1 >conftest.err
42610  rm -f conftest.er1
42611  cat conftest.err >&5
42612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613  (exit $ac_status); } &&
42614	 { ac_try='test -z "$ac_cxx_werror_flag"
42615			 || test ! -s conftest.err'
42616  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617  (eval $ac_try) 2>&5
42618  ac_status=$?
42619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620  (exit $ac_status); }; } &&
42621	 { ac_try='test -s conftest.$ac_objext'
42622  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42623  (eval $ac_try) 2>&5
42624  ac_status=$?
42625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626  (exit $ac_status); }; }; then
42627  glibcxx_cv_func_finitef_use=yes
42628else
42629  echo "$as_me: failed program was:" >&5
42630sed 's/^/| /' conftest.$ac_ext >&5
42631
42632glibcxx_cv_func_finitef_use=no
42633fi
42634rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42635      ac_ext=c
42636ac_cpp='$CPP $CPPFLAGS'
42637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640
42641
42642fi
42643
42644  fi
42645  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42646echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42647
42648  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42649
42650for ac_func in finitef
42651do
42652as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42653echo "$as_me:$LINENO: checking for $ac_func" >&5
42654echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42655if eval "test \"\${$as_ac_var+set}\" = set"; then
42656  echo $ECHO_N "(cached) $ECHO_C" >&6
42657else
42658  if test x$gcc_no_link = xyes; then
42659  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42660echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42661   { (exit 1); exit 1; }; }
42662fi
42663cat >conftest.$ac_ext <<_ACEOF
42664/* confdefs.h.  */
42665_ACEOF
42666cat confdefs.h >>conftest.$ac_ext
42667cat >>conftest.$ac_ext <<_ACEOF
42668/* end confdefs.h.  */
42669/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42670   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42671#define $ac_func innocuous_$ac_func
42672
42673/* System header to define __stub macros and hopefully few prototypes,
42674    which can conflict with char $ac_func (); below.
42675    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42676    <limits.h> exists even on freestanding compilers.  */
42677
42678#ifdef __STDC__
42679# include <limits.h>
42680#else
42681# include <assert.h>
42682#endif
42683
42684#undef $ac_func
42685
42686/* Override any gcc2 internal prototype to avoid an error.  */
42687#ifdef __cplusplus
42688extern "C"
42689{
42690#endif
42691/* We use char because int might match the return type of a gcc2
42692   builtin and then its argument prototype would still apply.  */
42693char $ac_func ();
42694/* The GNU C library defines this for functions which it implements
42695    to always fail with ENOSYS.  Some functions are actually named
42696    something starting with __ and the normal name is an alias.  */
42697#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42698choke me
42699#else
42700char (*f) () = $ac_func;
42701#endif
42702#ifdef __cplusplus
42703}
42704#endif
42705
42706int
42707main ()
42708{
42709return f != $ac_func;
42710  ;
42711  return 0;
42712}
42713_ACEOF
42714rm -f conftest.$ac_objext conftest$ac_exeext
42715if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42716  (eval $ac_link) 2>conftest.er1
42717  ac_status=$?
42718  grep -v '^ *+' conftest.er1 >conftest.err
42719  rm -f conftest.er1
42720  cat conftest.err >&5
42721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722  (exit $ac_status); } &&
42723	 { ac_try='test -z "$ac_c_werror_flag"
42724			 || test ! -s conftest.err'
42725  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726  (eval $ac_try) 2>&5
42727  ac_status=$?
42728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729  (exit $ac_status); }; } &&
42730	 { ac_try='test -s conftest$ac_exeext'
42731  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732  (eval $ac_try) 2>&5
42733  ac_status=$?
42734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735  (exit $ac_status); }; }; then
42736  eval "$as_ac_var=yes"
42737else
42738  echo "$as_me: failed program was:" >&5
42739sed 's/^/| /' conftest.$ac_ext >&5
42740
42741eval "$as_ac_var=no"
42742fi
42743rm -f conftest.err conftest.$ac_objext \
42744      conftest$ac_exeext conftest.$ac_ext
42745fi
42746echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42747echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42748if test `eval echo '${'$as_ac_var'}'` = yes; then
42749  cat >>confdefs.h <<_ACEOF
42750#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42751_ACEOF
42752
42753fi
42754done
42755
42756  else
42757
42758  echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42759echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42760  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42761    if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42762  echo $ECHO_N "(cached) $ECHO_C" >&6
42763else
42764
42765
42766
42767      ac_ext=cc
42768ac_cpp='$CXXCPP $CPPFLAGS'
42769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42772
42773      cat >conftest.$ac_ext <<_ACEOF
42774/* confdefs.h.  */
42775_ACEOF
42776cat confdefs.h >>conftest.$ac_ext
42777cat >>conftest.$ac_ext <<_ACEOF
42778/* end confdefs.h.  */
42779#include <math.h>
42780		      #ifdef HAVE_IEEEFP_H
42781		      #include <ieeefp.h>
42782		      #endif
42783
42784int
42785main ()
42786{
42787 _finitef(0);
42788  ;
42789  return 0;
42790}
42791_ACEOF
42792rm -f conftest.$ac_objext
42793if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42794  (eval $ac_compile) 2>conftest.er1
42795  ac_status=$?
42796  grep -v '^ *+' conftest.er1 >conftest.err
42797  rm -f conftest.er1
42798  cat conftest.err >&5
42799  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800  (exit $ac_status); } &&
42801	 { ac_try='test -z "$ac_cxx_werror_flag"
42802			 || test ! -s conftest.err'
42803  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42804  (eval $ac_try) 2>&5
42805  ac_status=$?
42806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807  (exit $ac_status); }; } &&
42808	 { ac_try='test -s conftest.$ac_objext'
42809  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42810  (eval $ac_try) 2>&5
42811  ac_status=$?
42812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42813  (exit $ac_status); }; }; then
42814  glibcxx_cv_func__finitef_use=yes
42815else
42816  echo "$as_me: failed program was:" >&5
42817sed 's/^/| /' conftest.$ac_ext >&5
42818
42819glibcxx_cv_func__finitef_use=no
42820fi
42821rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42822      ac_ext=c
42823ac_cpp='$CPP $CPPFLAGS'
42824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42826ac_compiler_gnu=$ac_cv_c_compiler_gnu
42827
42828
42829fi
42830
42831  fi
42832  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42833echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42834
42835    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42836
42837for ac_func in _finitef
42838do
42839as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42840echo "$as_me:$LINENO: checking for $ac_func" >&5
42841echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42842if eval "test \"\${$as_ac_var+set}\" = set"; then
42843  echo $ECHO_N "(cached) $ECHO_C" >&6
42844else
42845  if test x$gcc_no_link = xyes; then
42846  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42847echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42848   { (exit 1); exit 1; }; }
42849fi
42850cat >conftest.$ac_ext <<_ACEOF
42851/* confdefs.h.  */
42852_ACEOF
42853cat confdefs.h >>conftest.$ac_ext
42854cat >>conftest.$ac_ext <<_ACEOF
42855/* end confdefs.h.  */
42856/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42857   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42858#define $ac_func innocuous_$ac_func
42859
42860/* System header to define __stub macros and hopefully few prototypes,
42861    which can conflict with char $ac_func (); below.
42862    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42863    <limits.h> exists even on freestanding compilers.  */
42864
42865#ifdef __STDC__
42866# include <limits.h>
42867#else
42868# include <assert.h>
42869#endif
42870
42871#undef $ac_func
42872
42873/* Override any gcc2 internal prototype to avoid an error.  */
42874#ifdef __cplusplus
42875extern "C"
42876{
42877#endif
42878/* We use char because int might match the return type of a gcc2
42879   builtin and then its argument prototype would still apply.  */
42880char $ac_func ();
42881/* The GNU C library defines this for functions which it implements
42882    to always fail with ENOSYS.  Some functions are actually named
42883    something starting with __ and the normal name is an alias.  */
42884#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42885choke me
42886#else
42887char (*f) () = $ac_func;
42888#endif
42889#ifdef __cplusplus
42890}
42891#endif
42892
42893int
42894main ()
42895{
42896return f != $ac_func;
42897  ;
42898  return 0;
42899}
42900_ACEOF
42901rm -f conftest.$ac_objext conftest$ac_exeext
42902if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42903  (eval $ac_link) 2>conftest.er1
42904  ac_status=$?
42905  grep -v '^ *+' conftest.er1 >conftest.err
42906  rm -f conftest.er1
42907  cat conftest.err >&5
42908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909  (exit $ac_status); } &&
42910	 { ac_try='test -z "$ac_c_werror_flag"
42911			 || test ! -s conftest.err'
42912  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42913  (eval $ac_try) 2>&5
42914  ac_status=$?
42915  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916  (exit $ac_status); }; } &&
42917	 { ac_try='test -s conftest$ac_exeext'
42918  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42919  (eval $ac_try) 2>&5
42920  ac_status=$?
42921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922  (exit $ac_status); }; }; then
42923  eval "$as_ac_var=yes"
42924else
42925  echo "$as_me: failed program was:" >&5
42926sed 's/^/| /' conftest.$ac_ext >&5
42927
42928eval "$as_ac_var=no"
42929fi
42930rm -f conftest.err conftest.$ac_objext \
42931      conftest$ac_exeext conftest.$ac_ext
42932fi
42933echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42934echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42935if test `eval echo '${'$as_ac_var'}'` = yes; then
42936  cat >>confdefs.h <<_ACEOF
42937#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42938_ACEOF
42939
42940fi
42941done
42942
42943    fi
42944  fi
42945
42946
42947
42948
42949
42950
42951    echo "$as_me:$LINENO: checking for long double trig functions" >&5
42952echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42953  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42954  echo $ECHO_N "(cached) $ECHO_C" >&6
42955else
42956
42957
42958
42959    ac_ext=cc
42960ac_cpp='$CXXCPP $CPPFLAGS'
42961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42964
42965    cat >conftest.$ac_ext <<_ACEOF
42966/* confdefs.h.  */
42967_ACEOF
42968cat confdefs.h >>conftest.$ac_ext
42969cat >>conftest.$ac_ext <<_ACEOF
42970/* end confdefs.h.  */
42971#include <math.h>
42972int
42973main ()
42974{
42975acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42976  ;
42977  return 0;
42978}
42979_ACEOF
42980rm -f conftest.$ac_objext
42981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42982  (eval $ac_compile) 2>conftest.er1
42983  ac_status=$?
42984  grep -v '^ *+' conftest.er1 >conftest.err
42985  rm -f conftest.er1
42986  cat conftest.err >&5
42987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988  (exit $ac_status); } &&
42989	 { ac_try='test -z "$ac_cxx_werror_flag"
42990			 || test ! -s conftest.err'
42991  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42992  (eval $ac_try) 2>&5
42993  ac_status=$?
42994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995  (exit $ac_status); }; } &&
42996	 { ac_try='test -s conftest.$ac_objext'
42997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998  (eval $ac_try) 2>&5
42999  ac_status=$?
43000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001  (exit $ac_status); }; }; then
43002  glibcxx_cv_func_long_double_trig_use=yes
43003else
43004  echo "$as_me: failed program was:" >&5
43005sed 's/^/| /' conftest.$ac_ext >&5
43006
43007glibcxx_cv_func_long_double_trig_use=no
43008fi
43009rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43010    ac_ext=c
43011ac_cpp='$CPP $CPPFLAGS'
43012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014ac_compiler_gnu=$ac_cv_c_compiler_gnu
43015
43016fi
43017
43018  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43019echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43020  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43031do
43032as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43033echo "$as_me:$LINENO: checking for $ac_func" >&5
43034echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43035if eval "test \"\${$as_ac_var+set}\" = set"; then
43036  echo $ECHO_N "(cached) $ECHO_C" >&6
43037else
43038  if test x$gcc_no_link = xyes; then
43039  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43040echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43041   { (exit 1); exit 1; }; }
43042fi
43043cat >conftest.$ac_ext <<_ACEOF
43044/* confdefs.h.  */
43045_ACEOF
43046cat confdefs.h >>conftest.$ac_ext
43047cat >>conftest.$ac_ext <<_ACEOF
43048/* end confdefs.h.  */
43049/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43050   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43051#define $ac_func innocuous_$ac_func
43052
43053/* System header to define __stub macros and hopefully few prototypes,
43054    which can conflict with char $ac_func (); below.
43055    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43056    <limits.h> exists even on freestanding compilers.  */
43057
43058#ifdef __STDC__
43059# include <limits.h>
43060#else
43061# include <assert.h>
43062#endif
43063
43064#undef $ac_func
43065
43066/* Override any gcc2 internal prototype to avoid an error.  */
43067#ifdef __cplusplus
43068extern "C"
43069{
43070#endif
43071/* We use char because int might match the return type of a gcc2
43072   builtin and then its argument prototype would still apply.  */
43073char $ac_func ();
43074/* The GNU C library defines this for functions which it implements
43075    to always fail with ENOSYS.  Some functions are actually named
43076    something starting with __ and the normal name is an alias.  */
43077#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43078choke me
43079#else
43080char (*f) () = $ac_func;
43081#endif
43082#ifdef __cplusplus
43083}
43084#endif
43085
43086int
43087main ()
43088{
43089return f != $ac_func;
43090  ;
43091  return 0;
43092}
43093_ACEOF
43094rm -f conftest.$ac_objext conftest$ac_exeext
43095if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43096  (eval $ac_link) 2>conftest.er1
43097  ac_status=$?
43098  grep -v '^ *+' conftest.er1 >conftest.err
43099  rm -f conftest.er1
43100  cat conftest.err >&5
43101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102  (exit $ac_status); } &&
43103	 { ac_try='test -z "$ac_c_werror_flag"
43104			 || test ! -s conftest.err'
43105  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43106  (eval $ac_try) 2>&5
43107  ac_status=$?
43108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109  (exit $ac_status); }; } &&
43110	 { ac_try='test -s conftest$ac_exeext'
43111  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43112  (eval $ac_try) 2>&5
43113  ac_status=$?
43114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115  (exit $ac_status); }; }; then
43116  eval "$as_ac_var=yes"
43117else
43118  echo "$as_me: failed program was:" >&5
43119sed 's/^/| /' conftest.$ac_ext >&5
43120
43121eval "$as_ac_var=no"
43122fi
43123rm -f conftest.err conftest.$ac_objext \
43124      conftest$ac_exeext conftest.$ac_ext
43125fi
43126echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43127echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43128if test `eval echo '${'$as_ac_var'}'` = yes; then
43129  cat >>confdefs.h <<_ACEOF
43130#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43131_ACEOF
43132
43133fi
43134done
43135
43136  else
43137    echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43138echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43139    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43140  echo $ECHO_N "(cached) $ECHO_C" >&6
43141else
43142
43143
43144
43145      ac_ext=cc
43146ac_cpp='$CXXCPP $CPPFLAGS'
43147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43150
43151      cat >conftest.$ac_ext <<_ACEOF
43152/* confdefs.h.  */
43153_ACEOF
43154cat confdefs.h >>conftest.$ac_ext
43155cat >>conftest.$ac_ext <<_ACEOF
43156/* end confdefs.h.  */
43157#include <math.h>
43158int
43159main ()
43160{
43161_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43162  ;
43163  return 0;
43164}
43165_ACEOF
43166rm -f conftest.$ac_objext
43167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43168  (eval $ac_compile) 2>conftest.er1
43169  ac_status=$?
43170  grep -v '^ *+' conftest.er1 >conftest.err
43171  rm -f conftest.er1
43172  cat conftest.err >&5
43173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174  (exit $ac_status); } &&
43175	 { ac_try='test -z "$ac_cxx_werror_flag"
43176			 || test ! -s conftest.err'
43177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43178  (eval $ac_try) 2>&5
43179  ac_status=$?
43180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181  (exit $ac_status); }; } &&
43182	 { ac_try='test -s conftest.$ac_objext'
43183  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43184  (eval $ac_try) 2>&5
43185  ac_status=$?
43186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187  (exit $ac_status); }; }; then
43188  glibcxx_cv_func__long_double_trig_use=yes
43189else
43190  echo "$as_me: failed program was:" >&5
43191sed 's/^/| /' conftest.$ac_ext >&5
43192
43193glibcxx_cv_func__long_double_trig_use=no
43194fi
43195rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43196      ac_ext=c
43197ac_cpp='$CPP $CPPFLAGS'
43198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201
43202fi
43203
43204    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43205echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43206    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43217do
43218as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43219echo "$as_me:$LINENO: checking for $ac_func" >&5
43220echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43221if eval "test \"\${$as_ac_var+set}\" = set"; then
43222  echo $ECHO_N "(cached) $ECHO_C" >&6
43223else
43224  if test x$gcc_no_link = xyes; then
43225  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43226echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43227   { (exit 1); exit 1; }; }
43228fi
43229cat >conftest.$ac_ext <<_ACEOF
43230/* confdefs.h.  */
43231_ACEOF
43232cat confdefs.h >>conftest.$ac_ext
43233cat >>conftest.$ac_ext <<_ACEOF
43234/* end confdefs.h.  */
43235/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43236   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43237#define $ac_func innocuous_$ac_func
43238
43239/* System header to define __stub macros and hopefully few prototypes,
43240    which can conflict with char $ac_func (); below.
43241    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43242    <limits.h> exists even on freestanding compilers.  */
43243
43244#ifdef __STDC__
43245# include <limits.h>
43246#else
43247# include <assert.h>
43248#endif
43249
43250#undef $ac_func
43251
43252/* Override any gcc2 internal prototype to avoid an error.  */
43253#ifdef __cplusplus
43254extern "C"
43255{
43256#endif
43257/* We use char because int might match the return type of a gcc2
43258   builtin and then its argument prototype would still apply.  */
43259char $ac_func ();
43260/* The GNU C library defines this for functions which it implements
43261    to always fail with ENOSYS.  Some functions are actually named
43262    something starting with __ and the normal name is an alias.  */
43263#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43264choke me
43265#else
43266char (*f) () = $ac_func;
43267#endif
43268#ifdef __cplusplus
43269}
43270#endif
43271
43272int
43273main ()
43274{
43275return f != $ac_func;
43276  ;
43277  return 0;
43278}
43279_ACEOF
43280rm -f conftest.$ac_objext conftest$ac_exeext
43281if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43282  (eval $ac_link) 2>conftest.er1
43283  ac_status=$?
43284  grep -v '^ *+' conftest.er1 >conftest.err
43285  rm -f conftest.er1
43286  cat conftest.err >&5
43287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288  (exit $ac_status); } &&
43289	 { ac_try='test -z "$ac_c_werror_flag"
43290			 || test ! -s conftest.err'
43291  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43292  (eval $ac_try) 2>&5
43293  ac_status=$?
43294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295  (exit $ac_status); }; } &&
43296	 { ac_try='test -s conftest$ac_exeext'
43297  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43298  (eval $ac_try) 2>&5
43299  ac_status=$?
43300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301  (exit $ac_status); }; }; then
43302  eval "$as_ac_var=yes"
43303else
43304  echo "$as_me: failed program was:" >&5
43305sed 's/^/| /' conftest.$ac_ext >&5
43306
43307eval "$as_ac_var=no"
43308fi
43309rm -f conftest.err conftest.$ac_objext \
43310      conftest$ac_exeext conftest.$ac_ext
43311fi
43312echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43313echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43314if test `eval echo '${'$as_ac_var'}'` = yes; then
43315  cat >>confdefs.h <<_ACEOF
43316#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43317_ACEOF
43318
43319fi
43320done
43321
43322    fi
43323  fi
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338    echo "$as_me:$LINENO: checking for long double round functions" >&5
43339echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43340  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43341  echo $ECHO_N "(cached) $ECHO_C" >&6
43342else
43343
43344
43345
43346    ac_ext=cc
43347ac_cpp='$CXXCPP $CPPFLAGS'
43348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43351
43352    cat >conftest.$ac_ext <<_ACEOF
43353/* confdefs.h.  */
43354_ACEOF
43355cat confdefs.h >>conftest.$ac_ext
43356cat >>conftest.$ac_ext <<_ACEOF
43357/* end confdefs.h.  */
43358#include <math.h>
43359int
43360main ()
43361{
43362ceill (0); floorl (0);
43363  ;
43364  return 0;
43365}
43366_ACEOF
43367rm -f conftest.$ac_objext
43368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43369  (eval $ac_compile) 2>conftest.er1
43370  ac_status=$?
43371  grep -v '^ *+' conftest.er1 >conftest.err
43372  rm -f conftest.er1
43373  cat conftest.err >&5
43374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375  (exit $ac_status); } &&
43376	 { ac_try='test -z "$ac_cxx_werror_flag"
43377			 || test ! -s conftest.err'
43378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379  (eval $ac_try) 2>&5
43380  ac_status=$?
43381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382  (exit $ac_status); }; } &&
43383	 { ac_try='test -s conftest.$ac_objext'
43384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385  (eval $ac_try) 2>&5
43386  ac_status=$?
43387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388  (exit $ac_status); }; }; then
43389  glibcxx_cv_func_long_double_round_use=yes
43390else
43391  echo "$as_me: failed program was:" >&5
43392sed 's/^/| /' conftest.$ac_ext >&5
43393
43394glibcxx_cv_func_long_double_round_use=no
43395fi
43396rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43397    ac_ext=c
43398ac_cpp='$CPP $CPPFLAGS'
43399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401ac_compiler_gnu=$ac_cv_c_compiler_gnu
43402
43403fi
43404
43405  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43406echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43407  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43408
43409
43410for ac_func in ceill floorl
43411do
43412as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43413echo "$as_me:$LINENO: checking for $ac_func" >&5
43414echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43415if eval "test \"\${$as_ac_var+set}\" = set"; then
43416  echo $ECHO_N "(cached) $ECHO_C" >&6
43417else
43418  if test x$gcc_no_link = xyes; then
43419  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43420echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43421   { (exit 1); exit 1; }; }
43422fi
43423cat >conftest.$ac_ext <<_ACEOF
43424/* confdefs.h.  */
43425_ACEOF
43426cat confdefs.h >>conftest.$ac_ext
43427cat >>conftest.$ac_ext <<_ACEOF
43428/* end confdefs.h.  */
43429/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43430   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43431#define $ac_func innocuous_$ac_func
43432
43433/* System header to define __stub macros and hopefully few prototypes,
43434    which can conflict with char $ac_func (); below.
43435    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43436    <limits.h> exists even on freestanding compilers.  */
43437
43438#ifdef __STDC__
43439# include <limits.h>
43440#else
43441# include <assert.h>
43442#endif
43443
43444#undef $ac_func
43445
43446/* Override any gcc2 internal prototype to avoid an error.  */
43447#ifdef __cplusplus
43448extern "C"
43449{
43450#endif
43451/* We use char because int might match the return type of a gcc2
43452   builtin and then its argument prototype would still apply.  */
43453char $ac_func ();
43454/* The GNU C library defines this for functions which it implements
43455    to always fail with ENOSYS.  Some functions are actually named
43456    something starting with __ and the normal name is an alias.  */
43457#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43458choke me
43459#else
43460char (*f) () = $ac_func;
43461#endif
43462#ifdef __cplusplus
43463}
43464#endif
43465
43466int
43467main ()
43468{
43469return f != $ac_func;
43470  ;
43471  return 0;
43472}
43473_ACEOF
43474rm -f conftest.$ac_objext conftest$ac_exeext
43475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43476  (eval $ac_link) 2>conftest.er1
43477  ac_status=$?
43478  grep -v '^ *+' conftest.er1 >conftest.err
43479  rm -f conftest.er1
43480  cat conftest.err >&5
43481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482  (exit $ac_status); } &&
43483	 { ac_try='test -z "$ac_c_werror_flag"
43484			 || test ! -s conftest.err'
43485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43486  (eval $ac_try) 2>&5
43487  ac_status=$?
43488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489  (exit $ac_status); }; } &&
43490	 { ac_try='test -s conftest$ac_exeext'
43491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43492  (eval $ac_try) 2>&5
43493  ac_status=$?
43494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495  (exit $ac_status); }; }; then
43496  eval "$as_ac_var=yes"
43497else
43498  echo "$as_me: failed program was:" >&5
43499sed 's/^/| /' conftest.$ac_ext >&5
43500
43501eval "$as_ac_var=no"
43502fi
43503rm -f conftest.err conftest.$ac_objext \
43504      conftest$ac_exeext conftest.$ac_ext
43505fi
43506echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43507echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43508if test `eval echo '${'$as_ac_var'}'` = yes; then
43509  cat >>confdefs.h <<_ACEOF
43510#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43511_ACEOF
43512
43513fi
43514done
43515
43516  else
43517    echo "$as_me:$LINENO: checking for _long double round functions" >&5
43518echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43519    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43520  echo $ECHO_N "(cached) $ECHO_C" >&6
43521else
43522
43523
43524
43525      ac_ext=cc
43526ac_cpp='$CXXCPP $CPPFLAGS'
43527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43530
43531      cat >conftest.$ac_ext <<_ACEOF
43532/* confdefs.h.  */
43533_ACEOF
43534cat confdefs.h >>conftest.$ac_ext
43535cat >>conftest.$ac_ext <<_ACEOF
43536/* end confdefs.h.  */
43537#include <math.h>
43538int
43539main ()
43540{
43541_ceill (0); _floorl (0);
43542  ;
43543  return 0;
43544}
43545_ACEOF
43546rm -f conftest.$ac_objext
43547if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43548  (eval $ac_compile) 2>conftest.er1
43549  ac_status=$?
43550  grep -v '^ *+' conftest.er1 >conftest.err
43551  rm -f conftest.er1
43552  cat conftest.err >&5
43553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554  (exit $ac_status); } &&
43555	 { ac_try='test -z "$ac_cxx_werror_flag"
43556			 || test ! -s conftest.err'
43557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43558  (eval $ac_try) 2>&5
43559  ac_status=$?
43560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561  (exit $ac_status); }; } &&
43562	 { ac_try='test -s conftest.$ac_objext'
43563  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43564  (eval $ac_try) 2>&5
43565  ac_status=$?
43566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567  (exit $ac_status); }; }; then
43568  glibcxx_cv_func__long_double_round_use=yes
43569else
43570  echo "$as_me: failed program was:" >&5
43571sed 's/^/| /' conftest.$ac_ext >&5
43572
43573glibcxx_cv_func__long_double_round_use=no
43574fi
43575rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43576      ac_ext=c
43577ac_cpp='$CPP $CPPFLAGS'
43578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580ac_compiler_gnu=$ac_cv_c_compiler_gnu
43581
43582fi
43583
43584    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43585echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43586    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43587
43588
43589for ac_func in _ceill _floorl
43590do
43591as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43592echo "$as_me:$LINENO: checking for $ac_func" >&5
43593echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43594if eval "test \"\${$as_ac_var+set}\" = set"; then
43595  echo $ECHO_N "(cached) $ECHO_C" >&6
43596else
43597  if test x$gcc_no_link = xyes; then
43598  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43599echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43600   { (exit 1); exit 1; }; }
43601fi
43602cat >conftest.$ac_ext <<_ACEOF
43603/* confdefs.h.  */
43604_ACEOF
43605cat confdefs.h >>conftest.$ac_ext
43606cat >>conftest.$ac_ext <<_ACEOF
43607/* end confdefs.h.  */
43608/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43609   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43610#define $ac_func innocuous_$ac_func
43611
43612/* System header to define __stub macros and hopefully few prototypes,
43613    which can conflict with char $ac_func (); below.
43614    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43615    <limits.h> exists even on freestanding compilers.  */
43616
43617#ifdef __STDC__
43618# include <limits.h>
43619#else
43620# include <assert.h>
43621#endif
43622
43623#undef $ac_func
43624
43625/* Override any gcc2 internal prototype to avoid an error.  */
43626#ifdef __cplusplus
43627extern "C"
43628{
43629#endif
43630/* We use char because int might match the return type of a gcc2
43631   builtin and then its argument prototype would still apply.  */
43632char $ac_func ();
43633/* The GNU C library defines this for functions which it implements
43634    to always fail with ENOSYS.  Some functions are actually named
43635    something starting with __ and the normal name is an alias.  */
43636#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43637choke me
43638#else
43639char (*f) () = $ac_func;
43640#endif
43641#ifdef __cplusplus
43642}
43643#endif
43644
43645int
43646main ()
43647{
43648return f != $ac_func;
43649  ;
43650  return 0;
43651}
43652_ACEOF
43653rm -f conftest.$ac_objext conftest$ac_exeext
43654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43655  (eval $ac_link) 2>conftest.er1
43656  ac_status=$?
43657  grep -v '^ *+' conftest.er1 >conftest.err
43658  rm -f conftest.er1
43659  cat conftest.err >&5
43660  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661  (exit $ac_status); } &&
43662	 { ac_try='test -z "$ac_c_werror_flag"
43663			 || test ! -s conftest.err'
43664  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665  (eval $ac_try) 2>&5
43666  ac_status=$?
43667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668  (exit $ac_status); }; } &&
43669	 { ac_try='test -s conftest$ac_exeext'
43670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671  (eval $ac_try) 2>&5
43672  ac_status=$?
43673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674  (exit $ac_status); }; }; then
43675  eval "$as_ac_var=yes"
43676else
43677  echo "$as_me: failed program was:" >&5
43678sed 's/^/| /' conftest.$ac_ext >&5
43679
43680eval "$as_ac_var=no"
43681fi
43682rm -f conftest.err conftest.$ac_objext \
43683      conftest$ac_exeext conftest.$ac_ext
43684fi
43685echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43686echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43687if test `eval echo '${'$as_ac_var'}'` = yes; then
43688  cat >>confdefs.h <<_ACEOF
43689#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43690_ACEOF
43691
43692fi
43693done
43694
43695    fi
43696  fi
43697
43698
43699
43700
43701
43702
43703
43704
43705  echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43706echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43707  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43708    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43709  echo $ECHO_N "(cached) $ECHO_C" >&6
43710else
43711
43712
43713
43714      ac_ext=cc
43715ac_cpp='$CXXCPP $CPPFLAGS'
43716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719
43720      cat >conftest.$ac_ext <<_ACEOF
43721/* confdefs.h.  */
43722_ACEOF
43723cat confdefs.h >>conftest.$ac_ext
43724cat >>conftest.$ac_ext <<_ACEOF
43725/* end confdefs.h.  */
43726#include <math.h>
43727		      #ifdef HAVE_IEEEFP_H
43728		      #include <ieeefp.h>
43729		      #endif
43730
43731int
43732main ()
43733{
43734 isnanl(0);
43735  ;
43736  return 0;
43737}
43738_ACEOF
43739rm -f conftest.$ac_objext
43740if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43741  (eval $ac_compile) 2>conftest.er1
43742  ac_status=$?
43743  grep -v '^ *+' conftest.er1 >conftest.err
43744  rm -f conftest.er1
43745  cat conftest.err >&5
43746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747  (exit $ac_status); } &&
43748	 { ac_try='test -z "$ac_cxx_werror_flag"
43749			 || test ! -s conftest.err'
43750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43751  (eval $ac_try) 2>&5
43752  ac_status=$?
43753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754  (exit $ac_status); }; } &&
43755	 { ac_try='test -s conftest.$ac_objext'
43756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43757  (eval $ac_try) 2>&5
43758  ac_status=$?
43759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760  (exit $ac_status); }; }; then
43761  glibcxx_cv_func_isnanl_use=yes
43762else
43763  echo "$as_me: failed program was:" >&5
43764sed 's/^/| /' conftest.$ac_ext >&5
43765
43766glibcxx_cv_func_isnanl_use=no
43767fi
43768rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43769      ac_ext=c
43770ac_cpp='$CPP $CPPFLAGS'
43771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773ac_compiler_gnu=$ac_cv_c_compiler_gnu
43774
43775
43776fi
43777
43778  fi
43779  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43780echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43781
43782  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43783
43784for ac_func in isnanl
43785do
43786as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43787echo "$as_me:$LINENO: checking for $ac_func" >&5
43788echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43789if eval "test \"\${$as_ac_var+set}\" = set"; then
43790  echo $ECHO_N "(cached) $ECHO_C" >&6
43791else
43792  if test x$gcc_no_link = xyes; then
43793  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43794echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43795   { (exit 1); exit 1; }; }
43796fi
43797cat >conftest.$ac_ext <<_ACEOF
43798/* confdefs.h.  */
43799_ACEOF
43800cat confdefs.h >>conftest.$ac_ext
43801cat >>conftest.$ac_ext <<_ACEOF
43802/* end confdefs.h.  */
43803/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43804   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43805#define $ac_func innocuous_$ac_func
43806
43807/* System header to define __stub macros and hopefully few prototypes,
43808    which can conflict with char $ac_func (); below.
43809    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43810    <limits.h> exists even on freestanding compilers.  */
43811
43812#ifdef __STDC__
43813# include <limits.h>
43814#else
43815# include <assert.h>
43816#endif
43817
43818#undef $ac_func
43819
43820/* Override any gcc2 internal prototype to avoid an error.  */
43821#ifdef __cplusplus
43822extern "C"
43823{
43824#endif
43825/* We use char because int might match the return type of a gcc2
43826   builtin and then its argument prototype would still apply.  */
43827char $ac_func ();
43828/* The GNU C library defines this for functions which it implements
43829    to always fail with ENOSYS.  Some functions are actually named
43830    something starting with __ and the normal name is an alias.  */
43831#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43832choke me
43833#else
43834char (*f) () = $ac_func;
43835#endif
43836#ifdef __cplusplus
43837}
43838#endif
43839
43840int
43841main ()
43842{
43843return f != $ac_func;
43844  ;
43845  return 0;
43846}
43847_ACEOF
43848rm -f conftest.$ac_objext conftest$ac_exeext
43849if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43850  (eval $ac_link) 2>conftest.er1
43851  ac_status=$?
43852  grep -v '^ *+' conftest.er1 >conftest.err
43853  rm -f conftest.er1
43854  cat conftest.err >&5
43855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856  (exit $ac_status); } &&
43857	 { ac_try='test -z "$ac_c_werror_flag"
43858			 || test ! -s conftest.err'
43859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43860  (eval $ac_try) 2>&5
43861  ac_status=$?
43862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863  (exit $ac_status); }; } &&
43864	 { ac_try='test -s conftest$ac_exeext'
43865  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43866  (eval $ac_try) 2>&5
43867  ac_status=$?
43868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869  (exit $ac_status); }; }; then
43870  eval "$as_ac_var=yes"
43871else
43872  echo "$as_me: failed program was:" >&5
43873sed 's/^/| /' conftest.$ac_ext >&5
43874
43875eval "$as_ac_var=no"
43876fi
43877rm -f conftest.err conftest.$ac_objext \
43878      conftest$ac_exeext conftest.$ac_ext
43879fi
43880echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43881echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43882if test `eval echo '${'$as_ac_var'}'` = yes; then
43883  cat >>confdefs.h <<_ACEOF
43884#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43885_ACEOF
43886
43887fi
43888done
43889
43890  else
43891
43892  echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43893echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43894  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43895    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43896  echo $ECHO_N "(cached) $ECHO_C" >&6
43897else
43898
43899
43900
43901      ac_ext=cc
43902ac_cpp='$CXXCPP $CPPFLAGS'
43903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43906
43907      cat >conftest.$ac_ext <<_ACEOF
43908/* confdefs.h.  */
43909_ACEOF
43910cat confdefs.h >>conftest.$ac_ext
43911cat >>conftest.$ac_ext <<_ACEOF
43912/* end confdefs.h.  */
43913#include <math.h>
43914		      #ifdef HAVE_IEEEFP_H
43915		      #include <ieeefp.h>
43916		      #endif
43917
43918int
43919main ()
43920{
43921 _isnanl(0);
43922  ;
43923  return 0;
43924}
43925_ACEOF
43926rm -f conftest.$ac_objext
43927if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43928  (eval $ac_compile) 2>conftest.er1
43929  ac_status=$?
43930  grep -v '^ *+' conftest.er1 >conftest.err
43931  rm -f conftest.er1
43932  cat conftest.err >&5
43933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934  (exit $ac_status); } &&
43935	 { ac_try='test -z "$ac_cxx_werror_flag"
43936			 || test ! -s conftest.err'
43937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938  (eval $ac_try) 2>&5
43939  ac_status=$?
43940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941  (exit $ac_status); }; } &&
43942	 { ac_try='test -s conftest.$ac_objext'
43943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944  (eval $ac_try) 2>&5
43945  ac_status=$?
43946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947  (exit $ac_status); }; }; then
43948  glibcxx_cv_func__isnanl_use=yes
43949else
43950  echo "$as_me: failed program was:" >&5
43951sed 's/^/| /' conftest.$ac_ext >&5
43952
43953glibcxx_cv_func__isnanl_use=no
43954fi
43955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43956      ac_ext=c
43957ac_cpp='$CPP $CPPFLAGS'
43958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960ac_compiler_gnu=$ac_cv_c_compiler_gnu
43961
43962
43963fi
43964
43965  fi
43966  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43967echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43968
43969    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43970
43971for ac_func in _isnanl
43972do
43973as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43974echo "$as_me:$LINENO: checking for $ac_func" >&5
43975echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43976if eval "test \"\${$as_ac_var+set}\" = set"; then
43977  echo $ECHO_N "(cached) $ECHO_C" >&6
43978else
43979  if test x$gcc_no_link = xyes; then
43980  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43981echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43982   { (exit 1); exit 1; }; }
43983fi
43984cat >conftest.$ac_ext <<_ACEOF
43985/* confdefs.h.  */
43986_ACEOF
43987cat confdefs.h >>conftest.$ac_ext
43988cat >>conftest.$ac_ext <<_ACEOF
43989/* end confdefs.h.  */
43990/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43991   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43992#define $ac_func innocuous_$ac_func
43993
43994/* System header to define __stub macros and hopefully few prototypes,
43995    which can conflict with char $ac_func (); below.
43996    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43997    <limits.h> exists even on freestanding compilers.  */
43998
43999#ifdef __STDC__
44000# include <limits.h>
44001#else
44002# include <assert.h>
44003#endif
44004
44005#undef $ac_func
44006
44007/* Override any gcc2 internal prototype to avoid an error.  */
44008#ifdef __cplusplus
44009extern "C"
44010{
44011#endif
44012/* We use char because int might match the return type of a gcc2
44013   builtin and then its argument prototype would still apply.  */
44014char $ac_func ();
44015/* The GNU C library defines this for functions which it implements
44016    to always fail with ENOSYS.  Some functions are actually named
44017    something starting with __ and the normal name is an alias.  */
44018#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44019choke me
44020#else
44021char (*f) () = $ac_func;
44022#endif
44023#ifdef __cplusplus
44024}
44025#endif
44026
44027int
44028main ()
44029{
44030return f != $ac_func;
44031  ;
44032  return 0;
44033}
44034_ACEOF
44035rm -f conftest.$ac_objext conftest$ac_exeext
44036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44037  (eval $ac_link) 2>conftest.er1
44038  ac_status=$?
44039  grep -v '^ *+' conftest.er1 >conftest.err
44040  rm -f conftest.er1
44041  cat conftest.err >&5
44042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043  (exit $ac_status); } &&
44044	 { ac_try='test -z "$ac_c_werror_flag"
44045			 || test ! -s conftest.err'
44046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44047  (eval $ac_try) 2>&5
44048  ac_status=$?
44049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44050  (exit $ac_status); }; } &&
44051	 { ac_try='test -s conftest$ac_exeext'
44052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44053  (eval $ac_try) 2>&5
44054  ac_status=$?
44055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056  (exit $ac_status); }; }; then
44057  eval "$as_ac_var=yes"
44058else
44059  echo "$as_me: failed program was:" >&5
44060sed 's/^/| /' conftest.$ac_ext >&5
44061
44062eval "$as_ac_var=no"
44063fi
44064rm -f conftest.err conftest.$ac_objext \
44065      conftest$ac_exeext conftest.$ac_ext
44066fi
44067echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44068echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44069if test `eval echo '${'$as_ac_var'}'` = yes; then
44070  cat >>confdefs.h <<_ACEOF
44071#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44072_ACEOF
44073
44074fi
44075done
44076
44077    fi
44078  fi
44079
44080
44081
44082
44083
44084
44085  echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44086echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44087  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44088    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44089  echo $ECHO_N "(cached) $ECHO_C" >&6
44090else
44091
44092
44093
44094      ac_ext=cc
44095ac_cpp='$CXXCPP $CPPFLAGS'
44096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44099
44100      cat >conftest.$ac_ext <<_ACEOF
44101/* confdefs.h.  */
44102_ACEOF
44103cat confdefs.h >>conftest.$ac_ext
44104cat >>conftest.$ac_ext <<_ACEOF
44105/* end confdefs.h.  */
44106#include <math.h>
44107		      #ifdef HAVE_IEEEFP_H
44108		      #include <ieeefp.h>
44109		      #endif
44110
44111int
44112main ()
44113{
44114 isinfl(0);
44115  ;
44116  return 0;
44117}
44118_ACEOF
44119rm -f conftest.$ac_objext
44120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44121  (eval $ac_compile) 2>conftest.er1
44122  ac_status=$?
44123  grep -v '^ *+' conftest.er1 >conftest.err
44124  rm -f conftest.er1
44125  cat conftest.err >&5
44126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127  (exit $ac_status); } &&
44128	 { ac_try='test -z "$ac_cxx_werror_flag"
44129			 || test ! -s conftest.err'
44130  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131  (eval $ac_try) 2>&5
44132  ac_status=$?
44133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134  (exit $ac_status); }; } &&
44135	 { ac_try='test -s conftest.$ac_objext'
44136  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44137  (eval $ac_try) 2>&5
44138  ac_status=$?
44139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140  (exit $ac_status); }; }; then
44141  glibcxx_cv_func_isinfl_use=yes
44142else
44143  echo "$as_me: failed program was:" >&5
44144sed 's/^/| /' conftest.$ac_ext >&5
44145
44146glibcxx_cv_func_isinfl_use=no
44147fi
44148rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44149      ac_ext=c
44150ac_cpp='$CPP $CPPFLAGS'
44151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153ac_compiler_gnu=$ac_cv_c_compiler_gnu
44154
44155
44156fi
44157
44158  fi
44159  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44160echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44161
44162  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44163
44164for ac_func in isinfl
44165do
44166as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44167echo "$as_me:$LINENO: checking for $ac_func" >&5
44168echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44169if eval "test \"\${$as_ac_var+set}\" = set"; then
44170  echo $ECHO_N "(cached) $ECHO_C" >&6
44171else
44172  if test x$gcc_no_link = xyes; then
44173  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44174echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44175   { (exit 1); exit 1; }; }
44176fi
44177cat >conftest.$ac_ext <<_ACEOF
44178/* confdefs.h.  */
44179_ACEOF
44180cat confdefs.h >>conftest.$ac_ext
44181cat >>conftest.$ac_ext <<_ACEOF
44182/* end confdefs.h.  */
44183/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44184   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44185#define $ac_func innocuous_$ac_func
44186
44187/* System header to define __stub macros and hopefully few prototypes,
44188    which can conflict with char $ac_func (); below.
44189    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44190    <limits.h> exists even on freestanding compilers.  */
44191
44192#ifdef __STDC__
44193# include <limits.h>
44194#else
44195# include <assert.h>
44196#endif
44197
44198#undef $ac_func
44199
44200/* Override any gcc2 internal prototype to avoid an error.  */
44201#ifdef __cplusplus
44202extern "C"
44203{
44204#endif
44205/* We use char because int might match the return type of a gcc2
44206   builtin and then its argument prototype would still apply.  */
44207char $ac_func ();
44208/* The GNU C library defines this for functions which it implements
44209    to always fail with ENOSYS.  Some functions are actually named
44210    something starting with __ and the normal name is an alias.  */
44211#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44212choke me
44213#else
44214char (*f) () = $ac_func;
44215#endif
44216#ifdef __cplusplus
44217}
44218#endif
44219
44220int
44221main ()
44222{
44223return f != $ac_func;
44224  ;
44225  return 0;
44226}
44227_ACEOF
44228rm -f conftest.$ac_objext conftest$ac_exeext
44229if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44230  (eval $ac_link) 2>conftest.er1
44231  ac_status=$?
44232  grep -v '^ *+' conftest.er1 >conftest.err
44233  rm -f conftest.er1
44234  cat conftest.err >&5
44235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236  (exit $ac_status); } &&
44237	 { ac_try='test -z "$ac_c_werror_flag"
44238			 || test ! -s conftest.err'
44239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240  (eval $ac_try) 2>&5
44241  ac_status=$?
44242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243  (exit $ac_status); }; } &&
44244	 { ac_try='test -s conftest$ac_exeext'
44245  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44246  (eval $ac_try) 2>&5
44247  ac_status=$?
44248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44249  (exit $ac_status); }; }; then
44250  eval "$as_ac_var=yes"
44251else
44252  echo "$as_me: failed program was:" >&5
44253sed 's/^/| /' conftest.$ac_ext >&5
44254
44255eval "$as_ac_var=no"
44256fi
44257rm -f conftest.err conftest.$ac_objext \
44258      conftest$ac_exeext conftest.$ac_ext
44259fi
44260echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44261echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44262if test `eval echo '${'$as_ac_var'}'` = yes; then
44263  cat >>confdefs.h <<_ACEOF
44264#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44265_ACEOF
44266
44267fi
44268done
44269
44270  else
44271
44272  echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44273echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44274  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44275    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44276  echo $ECHO_N "(cached) $ECHO_C" >&6
44277else
44278
44279
44280
44281      ac_ext=cc
44282ac_cpp='$CXXCPP $CPPFLAGS'
44283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44286
44287      cat >conftest.$ac_ext <<_ACEOF
44288/* confdefs.h.  */
44289_ACEOF
44290cat confdefs.h >>conftest.$ac_ext
44291cat >>conftest.$ac_ext <<_ACEOF
44292/* end confdefs.h.  */
44293#include <math.h>
44294		      #ifdef HAVE_IEEEFP_H
44295		      #include <ieeefp.h>
44296		      #endif
44297
44298int
44299main ()
44300{
44301 _isinfl(0);
44302  ;
44303  return 0;
44304}
44305_ACEOF
44306rm -f conftest.$ac_objext
44307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44308  (eval $ac_compile) 2>conftest.er1
44309  ac_status=$?
44310  grep -v '^ *+' conftest.er1 >conftest.err
44311  rm -f conftest.er1
44312  cat conftest.err >&5
44313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314  (exit $ac_status); } &&
44315	 { ac_try='test -z "$ac_cxx_werror_flag"
44316			 || test ! -s conftest.err'
44317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318  (eval $ac_try) 2>&5
44319  ac_status=$?
44320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321  (exit $ac_status); }; } &&
44322	 { ac_try='test -s conftest.$ac_objext'
44323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44324  (eval $ac_try) 2>&5
44325  ac_status=$?
44326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327  (exit $ac_status); }; }; then
44328  glibcxx_cv_func__isinfl_use=yes
44329else
44330  echo "$as_me: failed program was:" >&5
44331sed 's/^/| /' conftest.$ac_ext >&5
44332
44333glibcxx_cv_func__isinfl_use=no
44334fi
44335rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44336      ac_ext=c
44337ac_cpp='$CPP $CPPFLAGS'
44338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340ac_compiler_gnu=$ac_cv_c_compiler_gnu
44341
44342
44343fi
44344
44345  fi
44346  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44347echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44348
44349    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44350
44351for ac_func in _isinfl
44352do
44353as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44354echo "$as_me:$LINENO: checking for $ac_func" >&5
44355echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44356if eval "test \"\${$as_ac_var+set}\" = set"; then
44357  echo $ECHO_N "(cached) $ECHO_C" >&6
44358else
44359  if test x$gcc_no_link = xyes; then
44360  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44361echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44362   { (exit 1); exit 1; }; }
44363fi
44364cat >conftest.$ac_ext <<_ACEOF
44365/* confdefs.h.  */
44366_ACEOF
44367cat confdefs.h >>conftest.$ac_ext
44368cat >>conftest.$ac_ext <<_ACEOF
44369/* end confdefs.h.  */
44370/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44371   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44372#define $ac_func innocuous_$ac_func
44373
44374/* System header to define __stub macros and hopefully few prototypes,
44375    which can conflict with char $ac_func (); below.
44376    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44377    <limits.h> exists even on freestanding compilers.  */
44378
44379#ifdef __STDC__
44380# include <limits.h>
44381#else
44382# include <assert.h>
44383#endif
44384
44385#undef $ac_func
44386
44387/* Override any gcc2 internal prototype to avoid an error.  */
44388#ifdef __cplusplus
44389extern "C"
44390{
44391#endif
44392/* We use char because int might match the return type of a gcc2
44393   builtin and then its argument prototype would still apply.  */
44394char $ac_func ();
44395/* The GNU C library defines this for functions which it implements
44396    to always fail with ENOSYS.  Some functions are actually named
44397    something starting with __ and the normal name is an alias.  */
44398#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44399choke me
44400#else
44401char (*f) () = $ac_func;
44402#endif
44403#ifdef __cplusplus
44404}
44405#endif
44406
44407int
44408main ()
44409{
44410return f != $ac_func;
44411  ;
44412  return 0;
44413}
44414_ACEOF
44415rm -f conftest.$ac_objext conftest$ac_exeext
44416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44417  (eval $ac_link) 2>conftest.er1
44418  ac_status=$?
44419  grep -v '^ *+' conftest.er1 >conftest.err
44420  rm -f conftest.er1
44421  cat conftest.err >&5
44422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423  (exit $ac_status); } &&
44424	 { ac_try='test -z "$ac_c_werror_flag"
44425			 || test ! -s conftest.err'
44426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44427  (eval $ac_try) 2>&5
44428  ac_status=$?
44429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430  (exit $ac_status); }; } &&
44431	 { ac_try='test -s conftest$ac_exeext'
44432  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44433  (eval $ac_try) 2>&5
44434  ac_status=$?
44435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436  (exit $ac_status); }; }; then
44437  eval "$as_ac_var=yes"
44438else
44439  echo "$as_me: failed program was:" >&5
44440sed 's/^/| /' conftest.$ac_ext >&5
44441
44442eval "$as_ac_var=no"
44443fi
44444rm -f conftest.err conftest.$ac_objext \
44445      conftest$ac_exeext conftest.$ac_ext
44446fi
44447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44448echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44449if test `eval echo '${'$as_ac_var'}'` = yes; then
44450  cat >>confdefs.h <<_ACEOF
44451#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44452_ACEOF
44453
44454fi
44455done
44456
44457    fi
44458  fi
44459
44460
44461
44462
44463
44464
44465  echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44466echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44467  if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44468    if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44469  echo $ECHO_N "(cached) $ECHO_C" >&6
44470else
44471
44472
44473
44474      ac_ext=cc
44475ac_cpp='$CXXCPP $CPPFLAGS'
44476ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44477ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44478ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44479
44480      cat >conftest.$ac_ext <<_ACEOF
44481/* confdefs.h.  */
44482_ACEOF
44483cat confdefs.h >>conftest.$ac_ext
44484cat >>conftest.$ac_ext <<_ACEOF
44485/* end confdefs.h.  */
44486#include <math.h>
44487int
44488main ()
44489{
44490 copysignl(0, 0);
44491  ;
44492  return 0;
44493}
44494_ACEOF
44495rm -f conftest.$ac_objext
44496if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44497  (eval $ac_compile) 2>conftest.er1
44498  ac_status=$?
44499  grep -v '^ *+' conftest.er1 >conftest.err
44500  rm -f conftest.er1
44501  cat conftest.err >&5
44502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503  (exit $ac_status); } &&
44504	 { ac_try='test -z "$ac_cxx_werror_flag"
44505			 || test ! -s conftest.err'
44506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44507  (eval $ac_try) 2>&5
44508  ac_status=$?
44509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510  (exit $ac_status); }; } &&
44511	 { ac_try='test -s conftest.$ac_objext'
44512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44513  (eval $ac_try) 2>&5
44514  ac_status=$?
44515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44516  (exit $ac_status); }; }; then
44517  glibcxx_cv_func_copysignl_use=yes
44518else
44519  echo "$as_me: failed program was:" >&5
44520sed 's/^/| /' conftest.$ac_ext >&5
44521
44522glibcxx_cv_func_copysignl_use=no
44523fi
44524rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44525      ac_ext=c
44526ac_cpp='$CPP $CPPFLAGS'
44527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44529ac_compiler_gnu=$ac_cv_c_compiler_gnu
44530
44531
44532fi
44533
44534  fi
44535  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44536echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44537
44538  if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44539
44540for ac_func in copysignl
44541do
44542as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44543echo "$as_me:$LINENO: checking for $ac_func" >&5
44544echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44545if eval "test \"\${$as_ac_var+set}\" = set"; then
44546  echo $ECHO_N "(cached) $ECHO_C" >&6
44547else
44548  if test x$gcc_no_link = xyes; then
44549  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44550echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44551   { (exit 1); exit 1; }; }
44552fi
44553cat >conftest.$ac_ext <<_ACEOF
44554/* confdefs.h.  */
44555_ACEOF
44556cat confdefs.h >>conftest.$ac_ext
44557cat >>conftest.$ac_ext <<_ACEOF
44558/* end confdefs.h.  */
44559/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44560   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44561#define $ac_func innocuous_$ac_func
44562
44563/* System header to define __stub macros and hopefully few prototypes,
44564    which can conflict with char $ac_func (); below.
44565    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44566    <limits.h> exists even on freestanding compilers.  */
44567
44568#ifdef __STDC__
44569# include <limits.h>
44570#else
44571# include <assert.h>
44572#endif
44573
44574#undef $ac_func
44575
44576/* Override any gcc2 internal prototype to avoid an error.  */
44577#ifdef __cplusplus
44578extern "C"
44579{
44580#endif
44581/* We use char because int might match the return type of a gcc2
44582   builtin and then its argument prototype would still apply.  */
44583char $ac_func ();
44584/* The GNU C library defines this for functions which it implements
44585    to always fail with ENOSYS.  Some functions are actually named
44586    something starting with __ and the normal name is an alias.  */
44587#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44588choke me
44589#else
44590char (*f) () = $ac_func;
44591#endif
44592#ifdef __cplusplus
44593}
44594#endif
44595
44596int
44597main ()
44598{
44599return f != $ac_func;
44600  ;
44601  return 0;
44602}
44603_ACEOF
44604rm -f conftest.$ac_objext conftest$ac_exeext
44605if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44606  (eval $ac_link) 2>conftest.er1
44607  ac_status=$?
44608  grep -v '^ *+' conftest.er1 >conftest.err
44609  rm -f conftest.er1
44610  cat conftest.err >&5
44611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612  (exit $ac_status); } &&
44613	 { ac_try='test -z "$ac_c_werror_flag"
44614			 || test ! -s conftest.err'
44615  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616  (eval $ac_try) 2>&5
44617  ac_status=$?
44618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619  (exit $ac_status); }; } &&
44620	 { ac_try='test -s conftest$ac_exeext'
44621  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44622  (eval $ac_try) 2>&5
44623  ac_status=$?
44624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44625  (exit $ac_status); }; }; then
44626  eval "$as_ac_var=yes"
44627else
44628  echo "$as_me: failed program was:" >&5
44629sed 's/^/| /' conftest.$ac_ext >&5
44630
44631eval "$as_ac_var=no"
44632fi
44633rm -f conftest.err conftest.$ac_objext \
44634      conftest$ac_exeext conftest.$ac_ext
44635fi
44636echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44637echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44638if test `eval echo '${'$as_ac_var'}'` = yes; then
44639  cat >>confdefs.h <<_ACEOF
44640#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44641_ACEOF
44642
44643fi
44644done
44645
44646  else
44647
44648  echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44649echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44650  if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44651    if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44652  echo $ECHO_N "(cached) $ECHO_C" >&6
44653else
44654
44655
44656
44657      ac_ext=cc
44658ac_cpp='$CXXCPP $CPPFLAGS'
44659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44662
44663      cat >conftest.$ac_ext <<_ACEOF
44664/* confdefs.h.  */
44665_ACEOF
44666cat confdefs.h >>conftest.$ac_ext
44667cat >>conftest.$ac_ext <<_ACEOF
44668/* end confdefs.h.  */
44669#include <math.h>
44670int
44671main ()
44672{
44673 _copysignl(0, 0);
44674  ;
44675  return 0;
44676}
44677_ACEOF
44678rm -f conftest.$ac_objext
44679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44680  (eval $ac_compile) 2>conftest.er1
44681  ac_status=$?
44682  grep -v '^ *+' conftest.er1 >conftest.err
44683  rm -f conftest.er1
44684  cat conftest.err >&5
44685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686  (exit $ac_status); } &&
44687	 { ac_try='test -z "$ac_cxx_werror_flag"
44688			 || test ! -s conftest.err'
44689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690  (eval $ac_try) 2>&5
44691  ac_status=$?
44692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693  (exit $ac_status); }; } &&
44694	 { ac_try='test -s conftest.$ac_objext'
44695  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44696  (eval $ac_try) 2>&5
44697  ac_status=$?
44698  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699  (exit $ac_status); }; }; then
44700  glibcxx_cv_func__copysignl_use=yes
44701else
44702  echo "$as_me: failed program was:" >&5
44703sed 's/^/| /' conftest.$ac_ext >&5
44704
44705glibcxx_cv_func__copysignl_use=no
44706fi
44707rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44708      ac_ext=c
44709ac_cpp='$CPP $CPPFLAGS'
44710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44712ac_compiler_gnu=$ac_cv_c_compiler_gnu
44713
44714
44715fi
44716
44717  fi
44718  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44719echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44720
44721    if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44722
44723for ac_func in _copysignl
44724do
44725as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44726echo "$as_me:$LINENO: checking for $ac_func" >&5
44727echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44728if eval "test \"\${$as_ac_var+set}\" = set"; then
44729  echo $ECHO_N "(cached) $ECHO_C" >&6
44730else
44731  if test x$gcc_no_link = xyes; then
44732  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44733echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44734   { (exit 1); exit 1; }; }
44735fi
44736cat >conftest.$ac_ext <<_ACEOF
44737/* confdefs.h.  */
44738_ACEOF
44739cat confdefs.h >>conftest.$ac_ext
44740cat >>conftest.$ac_ext <<_ACEOF
44741/* end confdefs.h.  */
44742/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44743   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44744#define $ac_func innocuous_$ac_func
44745
44746/* System header to define __stub macros and hopefully few prototypes,
44747    which can conflict with char $ac_func (); below.
44748    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44749    <limits.h> exists even on freestanding compilers.  */
44750
44751#ifdef __STDC__
44752# include <limits.h>
44753#else
44754# include <assert.h>
44755#endif
44756
44757#undef $ac_func
44758
44759/* Override any gcc2 internal prototype to avoid an error.  */
44760#ifdef __cplusplus
44761extern "C"
44762{
44763#endif
44764/* We use char because int might match the return type of a gcc2
44765   builtin and then its argument prototype would still apply.  */
44766char $ac_func ();
44767/* The GNU C library defines this for functions which it implements
44768    to always fail with ENOSYS.  Some functions are actually named
44769    something starting with __ and the normal name is an alias.  */
44770#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44771choke me
44772#else
44773char (*f) () = $ac_func;
44774#endif
44775#ifdef __cplusplus
44776}
44777#endif
44778
44779int
44780main ()
44781{
44782return f != $ac_func;
44783  ;
44784  return 0;
44785}
44786_ACEOF
44787rm -f conftest.$ac_objext conftest$ac_exeext
44788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44789  (eval $ac_link) 2>conftest.er1
44790  ac_status=$?
44791  grep -v '^ *+' conftest.er1 >conftest.err
44792  rm -f conftest.er1
44793  cat conftest.err >&5
44794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795  (exit $ac_status); } &&
44796	 { ac_try='test -z "$ac_c_werror_flag"
44797			 || test ! -s conftest.err'
44798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44799  (eval $ac_try) 2>&5
44800  ac_status=$?
44801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802  (exit $ac_status); }; } &&
44803	 { ac_try='test -s conftest$ac_exeext'
44804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44805  (eval $ac_try) 2>&5
44806  ac_status=$?
44807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808  (exit $ac_status); }; }; then
44809  eval "$as_ac_var=yes"
44810else
44811  echo "$as_me: failed program was:" >&5
44812sed 's/^/| /' conftest.$ac_ext >&5
44813
44814eval "$as_ac_var=no"
44815fi
44816rm -f conftest.err conftest.$ac_objext \
44817      conftest$ac_exeext conftest.$ac_ext
44818fi
44819echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44820echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44821if test `eval echo '${'$as_ac_var'}'` = yes; then
44822  cat >>confdefs.h <<_ACEOF
44823#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44824_ACEOF
44825
44826fi
44827done
44828
44829    fi
44830  fi
44831
44832
44833
44834
44835
44836
44837  echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44838echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44839  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44840    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44841  echo $ECHO_N "(cached) $ECHO_C" >&6
44842else
44843
44844
44845
44846      ac_ext=cc
44847ac_cpp='$CXXCPP $CPPFLAGS'
44848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44851
44852      cat >conftest.$ac_ext <<_ACEOF
44853/* confdefs.h.  */
44854_ACEOF
44855cat confdefs.h >>conftest.$ac_ext
44856cat >>conftest.$ac_ext <<_ACEOF
44857/* end confdefs.h.  */
44858#include <math.h>
44859int
44860main ()
44861{
44862 atan2l(0, 0);
44863  ;
44864  return 0;
44865}
44866_ACEOF
44867rm -f conftest.$ac_objext
44868if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44869  (eval $ac_compile) 2>conftest.er1
44870  ac_status=$?
44871  grep -v '^ *+' conftest.er1 >conftest.err
44872  rm -f conftest.er1
44873  cat conftest.err >&5
44874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44875  (exit $ac_status); } &&
44876	 { ac_try='test -z "$ac_cxx_werror_flag"
44877			 || test ! -s conftest.err'
44878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44879  (eval $ac_try) 2>&5
44880  ac_status=$?
44881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882  (exit $ac_status); }; } &&
44883	 { ac_try='test -s conftest.$ac_objext'
44884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44885  (eval $ac_try) 2>&5
44886  ac_status=$?
44887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888  (exit $ac_status); }; }; then
44889  glibcxx_cv_func_atan2l_use=yes
44890else
44891  echo "$as_me: failed program was:" >&5
44892sed 's/^/| /' conftest.$ac_ext >&5
44893
44894glibcxx_cv_func_atan2l_use=no
44895fi
44896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44897      ac_ext=c
44898ac_cpp='$CPP $CPPFLAGS'
44899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902
44903
44904fi
44905
44906  fi
44907  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44908echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44909
44910  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44911
44912for ac_func in atan2l
44913do
44914as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44915echo "$as_me:$LINENO: checking for $ac_func" >&5
44916echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44917if eval "test \"\${$as_ac_var+set}\" = set"; then
44918  echo $ECHO_N "(cached) $ECHO_C" >&6
44919else
44920  if test x$gcc_no_link = xyes; then
44921  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44922echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44923   { (exit 1); exit 1; }; }
44924fi
44925cat >conftest.$ac_ext <<_ACEOF
44926/* confdefs.h.  */
44927_ACEOF
44928cat confdefs.h >>conftest.$ac_ext
44929cat >>conftest.$ac_ext <<_ACEOF
44930/* end confdefs.h.  */
44931/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44932   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44933#define $ac_func innocuous_$ac_func
44934
44935/* System header to define __stub macros and hopefully few prototypes,
44936    which can conflict with char $ac_func (); below.
44937    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44938    <limits.h> exists even on freestanding compilers.  */
44939
44940#ifdef __STDC__
44941# include <limits.h>
44942#else
44943# include <assert.h>
44944#endif
44945
44946#undef $ac_func
44947
44948/* Override any gcc2 internal prototype to avoid an error.  */
44949#ifdef __cplusplus
44950extern "C"
44951{
44952#endif
44953/* We use char because int might match the return type of a gcc2
44954   builtin and then its argument prototype would still apply.  */
44955char $ac_func ();
44956/* The GNU C library defines this for functions which it implements
44957    to always fail with ENOSYS.  Some functions are actually named
44958    something starting with __ and the normal name is an alias.  */
44959#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44960choke me
44961#else
44962char (*f) () = $ac_func;
44963#endif
44964#ifdef __cplusplus
44965}
44966#endif
44967
44968int
44969main ()
44970{
44971return f != $ac_func;
44972  ;
44973  return 0;
44974}
44975_ACEOF
44976rm -f conftest.$ac_objext conftest$ac_exeext
44977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44978  (eval $ac_link) 2>conftest.er1
44979  ac_status=$?
44980  grep -v '^ *+' conftest.er1 >conftest.err
44981  rm -f conftest.er1
44982  cat conftest.err >&5
44983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44984  (exit $ac_status); } &&
44985	 { ac_try='test -z "$ac_c_werror_flag"
44986			 || test ! -s conftest.err'
44987  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988  (eval $ac_try) 2>&5
44989  ac_status=$?
44990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991  (exit $ac_status); }; } &&
44992	 { ac_try='test -s conftest$ac_exeext'
44993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44994  (eval $ac_try) 2>&5
44995  ac_status=$?
44996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997  (exit $ac_status); }; }; then
44998  eval "$as_ac_var=yes"
44999else
45000  echo "$as_me: failed program was:" >&5
45001sed 's/^/| /' conftest.$ac_ext >&5
45002
45003eval "$as_ac_var=no"
45004fi
45005rm -f conftest.err conftest.$ac_objext \
45006      conftest$ac_exeext conftest.$ac_ext
45007fi
45008echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45009echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45010if test `eval echo '${'$as_ac_var'}'` = yes; then
45011  cat >>confdefs.h <<_ACEOF
45012#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45013_ACEOF
45014
45015fi
45016done
45017
45018  else
45019
45020  echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45021echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45022  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45023    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45024  echo $ECHO_N "(cached) $ECHO_C" >&6
45025else
45026
45027
45028
45029      ac_ext=cc
45030ac_cpp='$CXXCPP $CPPFLAGS'
45031ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45034
45035      cat >conftest.$ac_ext <<_ACEOF
45036/* confdefs.h.  */
45037_ACEOF
45038cat confdefs.h >>conftest.$ac_ext
45039cat >>conftest.$ac_ext <<_ACEOF
45040/* end confdefs.h.  */
45041#include <math.h>
45042int
45043main ()
45044{
45045 _atan2l(0, 0);
45046  ;
45047  return 0;
45048}
45049_ACEOF
45050rm -f conftest.$ac_objext
45051if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45052  (eval $ac_compile) 2>conftest.er1
45053  ac_status=$?
45054  grep -v '^ *+' conftest.er1 >conftest.err
45055  rm -f conftest.er1
45056  cat conftest.err >&5
45057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058  (exit $ac_status); } &&
45059	 { ac_try='test -z "$ac_cxx_werror_flag"
45060			 || test ! -s conftest.err'
45061  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45062  (eval $ac_try) 2>&5
45063  ac_status=$?
45064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065  (exit $ac_status); }; } &&
45066	 { ac_try='test -s conftest.$ac_objext'
45067  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45068  (eval $ac_try) 2>&5
45069  ac_status=$?
45070  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071  (exit $ac_status); }; }; then
45072  glibcxx_cv_func__atan2l_use=yes
45073else
45074  echo "$as_me: failed program was:" >&5
45075sed 's/^/| /' conftest.$ac_ext >&5
45076
45077glibcxx_cv_func__atan2l_use=no
45078fi
45079rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45080      ac_ext=c
45081ac_cpp='$CPP $CPPFLAGS'
45082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084ac_compiler_gnu=$ac_cv_c_compiler_gnu
45085
45086
45087fi
45088
45089  fi
45090  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45091echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45092
45093    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45094
45095for ac_func in _atan2l
45096do
45097as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45098echo "$as_me:$LINENO: checking for $ac_func" >&5
45099echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45100if eval "test \"\${$as_ac_var+set}\" = set"; then
45101  echo $ECHO_N "(cached) $ECHO_C" >&6
45102else
45103  if test x$gcc_no_link = xyes; then
45104  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45105echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45106   { (exit 1); exit 1; }; }
45107fi
45108cat >conftest.$ac_ext <<_ACEOF
45109/* confdefs.h.  */
45110_ACEOF
45111cat confdefs.h >>conftest.$ac_ext
45112cat >>conftest.$ac_ext <<_ACEOF
45113/* end confdefs.h.  */
45114/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45115   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45116#define $ac_func innocuous_$ac_func
45117
45118/* System header to define __stub macros and hopefully few prototypes,
45119    which can conflict with char $ac_func (); below.
45120    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45121    <limits.h> exists even on freestanding compilers.  */
45122
45123#ifdef __STDC__
45124# include <limits.h>
45125#else
45126# include <assert.h>
45127#endif
45128
45129#undef $ac_func
45130
45131/* Override any gcc2 internal prototype to avoid an error.  */
45132#ifdef __cplusplus
45133extern "C"
45134{
45135#endif
45136/* We use char because int might match the return type of a gcc2
45137   builtin and then its argument prototype would still apply.  */
45138char $ac_func ();
45139/* The GNU C library defines this for functions which it implements
45140    to always fail with ENOSYS.  Some functions are actually named
45141    something starting with __ and the normal name is an alias.  */
45142#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45143choke me
45144#else
45145char (*f) () = $ac_func;
45146#endif
45147#ifdef __cplusplus
45148}
45149#endif
45150
45151int
45152main ()
45153{
45154return f != $ac_func;
45155  ;
45156  return 0;
45157}
45158_ACEOF
45159rm -f conftest.$ac_objext conftest$ac_exeext
45160if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45161  (eval $ac_link) 2>conftest.er1
45162  ac_status=$?
45163  grep -v '^ *+' conftest.er1 >conftest.err
45164  rm -f conftest.er1
45165  cat conftest.err >&5
45166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167  (exit $ac_status); } &&
45168	 { ac_try='test -z "$ac_c_werror_flag"
45169			 || test ! -s conftest.err'
45170  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45171  (eval $ac_try) 2>&5
45172  ac_status=$?
45173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174  (exit $ac_status); }; } &&
45175	 { ac_try='test -s conftest$ac_exeext'
45176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45177  (eval $ac_try) 2>&5
45178  ac_status=$?
45179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180  (exit $ac_status); }; }; then
45181  eval "$as_ac_var=yes"
45182else
45183  echo "$as_me: failed program was:" >&5
45184sed 's/^/| /' conftest.$ac_ext >&5
45185
45186eval "$as_ac_var=no"
45187fi
45188rm -f conftest.err conftest.$ac_objext \
45189      conftest$ac_exeext conftest.$ac_ext
45190fi
45191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45192echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45193if test `eval echo '${'$as_ac_var'}'` = yes; then
45194  cat >>confdefs.h <<_ACEOF
45195#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45196_ACEOF
45197
45198fi
45199done
45200
45201    fi
45202  fi
45203
45204
45205
45206
45207
45208
45209  echo "$as_me:$LINENO: checking for expl declaration" >&5
45210echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45211  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45212    if test "${glibcxx_cv_func_expl_use+set}" = set; then
45213  echo $ECHO_N "(cached) $ECHO_C" >&6
45214else
45215
45216
45217
45218      ac_ext=cc
45219ac_cpp='$CXXCPP $CPPFLAGS'
45220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45223
45224      cat >conftest.$ac_ext <<_ACEOF
45225/* confdefs.h.  */
45226_ACEOF
45227cat confdefs.h >>conftest.$ac_ext
45228cat >>conftest.$ac_ext <<_ACEOF
45229/* end confdefs.h.  */
45230#include <math.h>
45231		      #ifdef HAVE_IEEEFP_H
45232		      #include <ieeefp.h>
45233		      #endif
45234
45235int
45236main ()
45237{
45238 expl(0);
45239  ;
45240  return 0;
45241}
45242_ACEOF
45243rm -f conftest.$ac_objext
45244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45245  (eval $ac_compile) 2>conftest.er1
45246  ac_status=$?
45247  grep -v '^ *+' conftest.er1 >conftest.err
45248  rm -f conftest.er1
45249  cat conftest.err >&5
45250  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251  (exit $ac_status); } &&
45252	 { ac_try='test -z "$ac_cxx_werror_flag"
45253			 || test ! -s conftest.err'
45254  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255  (eval $ac_try) 2>&5
45256  ac_status=$?
45257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258  (exit $ac_status); }; } &&
45259	 { ac_try='test -s conftest.$ac_objext'
45260  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261  (eval $ac_try) 2>&5
45262  ac_status=$?
45263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264  (exit $ac_status); }; }; then
45265  glibcxx_cv_func_expl_use=yes
45266else
45267  echo "$as_me: failed program was:" >&5
45268sed 's/^/| /' conftest.$ac_ext >&5
45269
45270glibcxx_cv_func_expl_use=no
45271fi
45272rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45273      ac_ext=c
45274ac_cpp='$CPP $CPPFLAGS'
45275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277ac_compiler_gnu=$ac_cv_c_compiler_gnu
45278
45279
45280fi
45281
45282  fi
45283  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45284echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45285
45286  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45287
45288for ac_func in expl
45289do
45290as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291echo "$as_me:$LINENO: checking for $ac_func" >&5
45292echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45293if eval "test \"\${$as_ac_var+set}\" = set"; then
45294  echo $ECHO_N "(cached) $ECHO_C" >&6
45295else
45296  if test x$gcc_no_link = xyes; then
45297  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45298echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45299   { (exit 1); exit 1; }; }
45300fi
45301cat >conftest.$ac_ext <<_ACEOF
45302/* confdefs.h.  */
45303_ACEOF
45304cat confdefs.h >>conftest.$ac_ext
45305cat >>conftest.$ac_ext <<_ACEOF
45306/* end confdefs.h.  */
45307/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45308   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45309#define $ac_func innocuous_$ac_func
45310
45311/* System header to define __stub macros and hopefully few prototypes,
45312    which can conflict with char $ac_func (); below.
45313    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45314    <limits.h> exists even on freestanding compilers.  */
45315
45316#ifdef __STDC__
45317# include <limits.h>
45318#else
45319# include <assert.h>
45320#endif
45321
45322#undef $ac_func
45323
45324/* Override any gcc2 internal prototype to avoid an error.  */
45325#ifdef __cplusplus
45326extern "C"
45327{
45328#endif
45329/* We use char because int might match the return type of a gcc2
45330   builtin and then its argument prototype would still apply.  */
45331char $ac_func ();
45332/* The GNU C library defines this for functions which it implements
45333    to always fail with ENOSYS.  Some functions are actually named
45334    something starting with __ and the normal name is an alias.  */
45335#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45336choke me
45337#else
45338char (*f) () = $ac_func;
45339#endif
45340#ifdef __cplusplus
45341}
45342#endif
45343
45344int
45345main ()
45346{
45347return f != $ac_func;
45348  ;
45349  return 0;
45350}
45351_ACEOF
45352rm -f conftest.$ac_objext conftest$ac_exeext
45353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45354  (eval $ac_link) 2>conftest.er1
45355  ac_status=$?
45356  grep -v '^ *+' conftest.er1 >conftest.err
45357  rm -f conftest.er1
45358  cat conftest.err >&5
45359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360  (exit $ac_status); } &&
45361	 { ac_try='test -z "$ac_c_werror_flag"
45362			 || test ! -s conftest.err'
45363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45364  (eval $ac_try) 2>&5
45365  ac_status=$?
45366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367  (exit $ac_status); }; } &&
45368	 { ac_try='test -s conftest$ac_exeext'
45369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45370  (eval $ac_try) 2>&5
45371  ac_status=$?
45372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373  (exit $ac_status); }; }; then
45374  eval "$as_ac_var=yes"
45375else
45376  echo "$as_me: failed program was:" >&5
45377sed 's/^/| /' conftest.$ac_ext >&5
45378
45379eval "$as_ac_var=no"
45380fi
45381rm -f conftest.err conftest.$ac_objext \
45382      conftest$ac_exeext conftest.$ac_ext
45383fi
45384echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45385echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45386if test `eval echo '${'$as_ac_var'}'` = yes; then
45387  cat >>confdefs.h <<_ACEOF
45388#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45389_ACEOF
45390
45391fi
45392done
45393
45394  else
45395
45396  echo "$as_me:$LINENO: checking for _expl declaration" >&5
45397echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45398  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45399    if test "${glibcxx_cv_func__expl_use+set}" = set; then
45400  echo $ECHO_N "(cached) $ECHO_C" >&6
45401else
45402
45403
45404
45405      ac_ext=cc
45406ac_cpp='$CXXCPP $CPPFLAGS'
45407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45410
45411      cat >conftest.$ac_ext <<_ACEOF
45412/* confdefs.h.  */
45413_ACEOF
45414cat confdefs.h >>conftest.$ac_ext
45415cat >>conftest.$ac_ext <<_ACEOF
45416/* end confdefs.h.  */
45417#include <math.h>
45418		      #ifdef HAVE_IEEEFP_H
45419		      #include <ieeefp.h>
45420		      #endif
45421
45422int
45423main ()
45424{
45425 _expl(0);
45426  ;
45427  return 0;
45428}
45429_ACEOF
45430rm -f conftest.$ac_objext
45431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45432  (eval $ac_compile) 2>conftest.er1
45433  ac_status=$?
45434  grep -v '^ *+' conftest.er1 >conftest.err
45435  rm -f conftest.er1
45436  cat conftest.err >&5
45437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438  (exit $ac_status); } &&
45439	 { ac_try='test -z "$ac_cxx_werror_flag"
45440			 || test ! -s conftest.err'
45441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442  (eval $ac_try) 2>&5
45443  ac_status=$?
45444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445  (exit $ac_status); }; } &&
45446	 { ac_try='test -s conftest.$ac_objext'
45447  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448  (eval $ac_try) 2>&5
45449  ac_status=$?
45450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451  (exit $ac_status); }; }; then
45452  glibcxx_cv_func__expl_use=yes
45453else
45454  echo "$as_me: failed program was:" >&5
45455sed 's/^/| /' conftest.$ac_ext >&5
45456
45457glibcxx_cv_func__expl_use=no
45458fi
45459rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45460      ac_ext=c
45461ac_cpp='$CPP $CPPFLAGS'
45462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464ac_compiler_gnu=$ac_cv_c_compiler_gnu
45465
45466
45467fi
45468
45469  fi
45470  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45471echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45472
45473    if test x$glibcxx_cv_func__expl_use = x"yes"; then
45474
45475for ac_func in _expl
45476do
45477as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45478echo "$as_me:$LINENO: checking for $ac_func" >&5
45479echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45480if eval "test \"\${$as_ac_var+set}\" = set"; then
45481  echo $ECHO_N "(cached) $ECHO_C" >&6
45482else
45483  if test x$gcc_no_link = xyes; then
45484  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45485echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45486   { (exit 1); exit 1; }; }
45487fi
45488cat >conftest.$ac_ext <<_ACEOF
45489/* confdefs.h.  */
45490_ACEOF
45491cat confdefs.h >>conftest.$ac_ext
45492cat >>conftest.$ac_ext <<_ACEOF
45493/* end confdefs.h.  */
45494/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45495   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45496#define $ac_func innocuous_$ac_func
45497
45498/* System header to define __stub macros and hopefully few prototypes,
45499    which can conflict with char $ac_func (); below.
45500    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45501    <limits.h> exists even on freestanding compilers.  */
45502
45503#ifdef __STDC__
45504# include <limits.h>
45505#else
45506# include <assert.h>
45507#endif
45508
45509#undef $ac_func
45510
45511/* Override any gcc2 internal prototype to avoid an error.  */
45512#ifdef __cplusplus
45513extern "C"
45514{
45515#endif
45516/* We use char because int might match the return type of a gcc2
45517   builtin and then its argument prototype would still apply.  */
45518char $ac_func ();
45519/* The GNU C library defines this for functions which it implements
45520    to always fail with ENOSYS.  Some functions are actually named
45521    something starting with __ and the normal name is an alias.  */
45522#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45523choke me
45524#else
45525char (*f) () = $ac_func;
45526#endif
45527#ifdef __cplusplus
45528}
45529#endif
45530
45531int
45532main ()
45533{
45534return f != $ac_func;
45535  ;
45536  return 0;
45537}
45538_ACEOF
45539rm -f conftest.$ac_objext conftest$ac_exeext
45540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45541  (eval $ac_link) 2>conftest.er1
45542  ac_status=$?
45543  grep -v '^ *+' conftest.er1 >conftest.err
45544  rm -f conftest.er1
45545  cat conftest.err >&5
45546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547  (exit $ac_status); } &&
45548	 { ac_try='test -z "$ac_c_werror_flag"
45549			 || test ! -s conftest.err'
45550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45551  (eval $ac_try) 2>&5
45552  ac_status=$?
45553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45554  (exit $ac_status); }; } &&
45555	 { ac_try='test -s conftest$ac_exeext'
45556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45557  (eval $ac_try) 2>&5
45558  ac_status=$?
45559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560  (exit $ac_status); }; }; then
45561  eval "$as_ac_var=yes"
45562else
45563  echo "$as_me: failed program was:" >&5
45564sed 's/^/| /' conftest.$ac_ext >&5
45565
45566eval "$as_ac_var=no"
45567fi
45568rm -f conftest.err conftest.$ac_objext \
45569      conftest$ac_exeext conftest.$ac_ext
45570fi
45571echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45572echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45573if test `eval echo '${'$as_ac_var'}'` = yes; then
45574  cat >>confdefs.h <<_ACEOF
45575#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45576_ACEOF
45577
45578fi
45579done
45580
45581    fi
45582  fi
45583
45584
45585
45586
45587
45588
45589  echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45590echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45591  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45592    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45593  echo $ECHO_N "(cached) $ECHO_C" >&6
45594else
45595
45596
45597
45598      ac_ext=cc
45599ac_cpp='$CXXCPP $CPPFLAGS'
45600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45603
45604      cat >conftest.$ac_ext <<_ACEOF
45605/* confdefs.h.  */
45606_ACEOF
45607cat confdefs.h >>conftest.$ac_ext
45608cat >>conftest.$ac_ext <<_ACEOF
45609/* end confdefs.h.  */
45610#include <math.h>
45611		      #ifdef HAVE_IEEEFP_H
45612		      #include <ieeefp.h>
45613		      #endif
45614
45615int
45616main ()
45617{
45618 fabsl(0);
45619  ;
45620  return 0;
45621}
45622_ACEOF
45623rm -f conftest.$ac_objext
45624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625  (eval $ac_compile) 2>conftest.er1
45626  ac_status=$?
45627  grep -v '^ *+' conftest.er1 >conftest.err
45628  rm -f conftest.er1
45629  cat conftest.err >&5
45630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631  (exit $ac_status); } &&
45632	 { ac_try='test -z "$ac_cxx_werror_flag"
45633			 || test ! -s conftest.err'
45634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635  (eval $ac_try) 2>&5
45636  ac_status=$?
45637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638  (exit $ac_status); }; } &&
45639	 { ac_try='test -s conftest.$ac_objext'
45640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641  (eval $ac_try) 2>&5
45642  ac_status=$?
45643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644  (exit $ac_status); }; }; then
45645  glibcxx_cv_func_fabsl_use=yes
45646else
45647  echo "$as_me: failed program was:" >&5
45648sed 's/^/| /' conftest.$ac_ext >&5
45649
45650glibcxx_cv_func_fabsl_use=no
45651fi
45652rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45653      ac_ext=c
45654ac_cpp='$CPP $CPPFLAGS'
45655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657ac_compiler_gnu=$ac_cv_c_compiler_gnu
45658
45659
45660fi
45661
45662  fi
45663  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45664echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45665
45666  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45667
45668for ac_func in fabsl
45669do
45670as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45671echo "$as_me:$LINENO: checking for $ac_func" >&5
45672echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45673if eval "test \"\${$as_ac_var+set}\" = set"; then
45674  echo $ECHO_N "(cached) $ECHO_C" >&6
45675else
45676  if test x$gcc_no_link = xyes; then
45677  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45678echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45679   { (exit 1); exit 1; }; }
45680fi
45681cat >conftest.$ac_ext <<_ACEOF
45682/* confdefs.h.  */
45683_ACEOF
45684cat confdefs.h >>conftest.$ac_ext
45685cat >>conftest.$ac_ext <<_ACEOF
45686/* end confdefs.h.  */
45687/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45688   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45689#define $ac_func innocuous_$ac_func
45690
45691/* System header to define __stub macros and hopefully few prototypes,
45692    which can conflict with char $ac_func (); below.
45693    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45694    <limits.h> exists even on freestanding compilers.  */
45695
45696#ifdef __STDC__
45697# include <limits.h>
45698#else
45699# include <assert.h>
45700#endif
45701
45702#undef $ac_func
45703
45704/* Override any gcc2 internal prototype to avoid an error.  */
45705#ifdef __cplusplus
45706extern "C"
45707{
45708#endif
45709/* We use char because int might match the return type of a gcc2
45710   builtin and then its argument prototype would still apply.  */
45711char $ac_func ();
45712/* The GNU C library defines this for functions which it implements
45713    to always fail with ENOSYS.  Some functions are actually named
45714    something starting with __ and the normal name is an alias.  */
45715#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45716choke me
45717#else
45718char (*f) () = $ac_func;
45719#endif
45720#ifdef __cplusplus
45721}
45722#endif
45723
45724int
45725main ()
45726{
45727return f != $ac_func;
45728  ;
45729  return 0;
45730}
45731_ACEOF
45732rm -f conftest.$ac_objext conftest$ac_exeext
45733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45734  (eval $ac_link) 2>conftest.er1
45735  ac_status=$?
45736  grep -v '^ *+' conftest.er1 >conftest.err
45737  rm -f conftest.er1
45738  cat conftest.err >&5
45739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740  (exit $ac_status); } &&
45741	 { ac_try='test -z "$ac_c_werror_flag"
45742			 || test ! -s conftest.err'
45743  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45744  (eval $ac_try) 2>&5
45745  ac_status=$?
45746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747  (exit $ac_status); }; } &&
45748	 { ac_try='test -s conftest$ac_exeext'
45749  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45750  (eval $ac_try) 2>&5
45751  ac_status=$?
45752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45753  (exit $ac_status); }; }; then
45754  eval "$as_ac_var=yes"
45755else
45756  echo "$as_me: failed program was:" >&5
45757sed 's/^/| /' conftest.$ac_ext >&5
45758
45759eval "$as_ac_var=no"
45760fi
45761rm -f conftest.err conftest.$ac_objext \
45762      conftest$ac_exeext conftest.$ac_ext
45763fi
45764echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45765echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45766if test `eval echo '${'$as_ac_var'}'` = yes; then
45767  cat >>confdefs.h <<_ACEOF
45768#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45769_ACEOF
45770
45771fi
45772done
45773
45774  else
45775
45776  echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45777echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45778  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45779    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45780  echo $ECHO_N "(cached) $ECHO_C" >&6
45781else
45782
45783
45784
45785      ac_ext=cc
45786ac_cpp='$CXXCPP $CPPFLAGS'
45787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790
45791      cat >conftest.$ac_ext <<_ACEOF
45792/* confdefs.h.  */
45793_ACEOF
45794cat confdefs.h >>conftest.$ac_ext
45795cat >>conftest.$ac_ext <<_ACEOF
45796/* end confdefs.h.  */
45797#include <math.h>
45798		      #ifdef HAVE_IEEEFP_H
45799		      #include <ieeefp.h>
45800		      #endif
45801
45802int
45803main ()
45804{
45805 _fabsl(0);
45806  ;
45807  return 0;
45808}
45809_ACEOF
45810rm -f conftest.$ac_objext
45811if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45812  (eval $ac_compile) 2>conftest.er1
45813  ac_status=$?
45814  grep -v '^ *+' conftest.er1 >conftest.err
45815  rm -f conftest.er1
45816  cat conftest.err >&5
45817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818  (exit $ac_status); } &&
45819	 { ac_try='test -z "$ac_cxx_werror_flag"
45820			 || test ! -s conftest.err'
45821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822  (eval $ac_try) 2>&5
45823  ac_status=$?
45824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825  (exit $ac_status); }; } &&
45826	 { ac_try='test -s conftest.$ac_objext'
45827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45828  (eval $ac_try) 2>&5
45829  ac_status=$?
45830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831  (exit $ac_status); }; }; then
45832  glibcxx_cv_func__fabsl_use=yes
45833else
45834  echo "$as_me: failed program was:" >&5
45835sed 's/^/| /' conftest.$ac_ext >&5
45836
45837glibcxx_cv_func__fabsl_use=no
45838fi
45839rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45840      ac_ext=c
45841ac_cpp='$CPP $CPPFLAGS'
45842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844ac_compiler_gnu=$ac_cv_c_compiler_gnu
45845
45846
45847fi
45848
45849  fi
45850  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45851echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45852
45853    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45854
45855for ac_func in _fabsl
45856do
45857as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45858echo "$as_me:$LINENO: checking for $ac_func" >&5
45859echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45860if eval "test \"\${$as_ac_var+set}\" = set"; then
45861  echo $ECHO_N "(cached) $ECHO_C" >&6
45862else
45863  if test x$gcc_no_link = xyes; then
45864  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45865echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45866   { (exit 1); exit 1; }; }
45867fi
45868cat >conftest.$ac_ext <<_ACEOF
45869/* confdefs.h.  */
45870_ACEOF
45871cat confdefs.h >>conftest.$ac_ext
45872cat >>conftest.$ac_ext <<_ACEOF
45873/* end confdefs.h.  */
45874/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45875   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45876#define $ac_func innocuous_$ac_func
45877
45878/* System header to define __stub macros and hopefully few prototypes,
45879    which can conflict with char $ac_func (); below.
45880    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45881    <limits.h> exists even on freestanding compilers.  */
45882
45883#ifdef __STDC__
45884# include <limits.h>
45885#else
45886# include <assert.h>
45887#endif
45888
45889#undef $ac_func
45890
45891/* Override any gcc2 internal prototype to avoid an error.  */
45892#ifdef __cplusplus
45893extern "C"
45894{
45895#endif
45896/* We use char because int might match the return type of a gcc2
45897   builtin and then its argument prototype would still apply.  */
45898char $ac_func ();
45899/* The GNU C library defines this for functions which it implements
45900    to always fail with ENOSYS.  Some functions are actually named
45901    something starting with __ and the normal name is an alias.  */
45902#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45903choke me
45904#else
45905char (*f) () = $ac_func;
45906#endif
45907#ifdef __cplusplus
45908}
45909#endif
45910
45911int
45912main ()
45913{
45914return f != $ac_func;
45915  ;
45916  return 0;
45917}
45918_ACEOF
45919rm -f conftest.$ac_objext conftest$ac_exeext
45920if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45921  (eval $ac_link) 2>conftest.er1
45922  ac_status=$?
45923  grep -v '^ *+' conftest.er1 >conftest.err
45924  rm -f conftest.er1
45925  cat conftest.err >&5
45926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927  (exit $ac_status); } &&
45928	 { ac_try='test -z "$ac_c_werror_flag"
45929			 || test ! -s conftest.err'
45930  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45931  (eval $ac_try) 2>&5
45932  ac_status=$?
45933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45934  (exit $ac_status); }; } &&
45935	 { ac_try='test -s conftest$ac_exeext'
45936  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45937  (eval $ac_try) 2>&5
45938  ac_status=$?
45939  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45940  (exit $ac_status); }; }; then
45941  eval "$as_ac_var=yes"
45942else
45943  echo "$as_me: failed program was:" >&5
45944sed 's/^/| /' conftest.$ac_ext >&5
45945
45946eval "$as_ac_var=no"
45947fi
45948rm -f conftest.err conftest.$ac_objext \
45949      conftest$ac_exeext conftest.$ac_ext
45950fi
45951echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45952echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45953if test `eval echo '${'$as_ac_var'}'` = yes; then
45954  cat >>confdefs.h <<_ACEOF
45955#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45956_ACEOF
45957
45958fi
45959done
45960
45961    fi
45962  fi
45963
45964
45965
45966
45967
45968
45969  echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45970echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45971  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45972    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45973  echo $ECHO_N "(cached) $ECHO_C" >&6
45974else
45975
45976
45977
45978      ac_ext=cc
45979ac_cpp='$CXXCPP $CPPFLAGS'
45980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45983
45984      cat >conftest.$ac_ext <<_ACEOF
45985/* confdefs.h.  */
45986_ACEOF
45987cat confdefs.h >>conftest.$ac_ext
45988cat >>conftest.$ac_ext <<_ACEOF
45989/* end confdefs.h.  */
45990#include <math.h>
45991int
45992main ()
45993{
45994 fmodl(0, 0);
45995  ;
45996  return 0;
45997}
45998_ACEOF
45999rm -f conftest.$ac_objext
46000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46001  (eval $ac_compile) 2>conftest.er1
46002  ac_status=$?
46003  grep -v '^ *+' conftest.er1 >conftest.err
46004  rm -f conftest.er1
46005  cat conftest.err >&5
46006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007  (exit $ac_status); } &&
46008	 { ac_try='test -z "$ac_cxx_werror_flag"
46009			 || test ! -s conftest.err'
46010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46011  (eval $ac_try) 2>&5
46012  ac_status=$?
46013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46014  (exit $ac_status); }; } &&
46015	 { ac_try='test -s conftest.$ac_objext'
46016  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46017  (eval $ac_try) 2>&5
46018  ac_status=$?
46019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020  (exit $ac_status); }; }; then
46021  glibcxx_cv_func_fmodl_use=yes
46022else
46023  echo "$as_me: failed program was:" >&5
46024sed 's/^/| /' conftest.$ac_ext >&5
46025
46026glibcxx_cv_func_fmodl_use=no
46027fi
46028rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46029      ac_ext=c
46030ac_cpp='$CPP $CPPFLAGS'
46031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033ac_compiler_gnu=$ac_cv_c_compiler_gnu
46034
46035
46036fi
46037
46038  fi
46039  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46040echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46041
46042  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46043
46044for ac_func in fmodl
46045do
46046as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46047echo "$as_me:$LINENO: checking for $ac_func" >&5
46048echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46049if eval "test \"\${$as_ac_var+set}\" = set"; then
46050  echo $ECHO_N "(cached) $ECHO_C" >&6
46051else
46052  if test x$gcc_no_link = xyes; then
46053  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46054echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46055   { (exit 1); exit 1; }; }
46056fi
46057cat >conftest.$ac_ext <<_ACEOF
46058/* confdefs.h.  */
46059_ACEOF
46060cat confdefs.h >>conftest.$ac_ext
46061cat >>conftest.$ac_ext <<_ACEOF
46062/* end confdefs.h.  */
46063/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46064   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46065#define $ac_func innocuous_$ac_func
46066
46067/* System header to define __stub macros and hopefully few prototypes,
46068    which can conflict with char $ac_func (); below.
46069    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46070    <limits.h> exists even on freestanding compilers.  */
46071
46072#ifdef __STDC__
46073# include <limits.h>
46074#else
46075# include <assert.h>
46076#endif
46077
46078#undef $ac_func
46079
46080/* Override any gcc2 internal prototype to avoid an error.  */
46081#ifdef __cplusplus
46082extern "C"
46083{
46084#endif
46085/* We use char because int might match the return type of a gcc2
46086   builtin and then its argument prototype would still apply.  */
46087char $ac_func ();
46088/* The GNU C library defines this for functions which it implements
46089    to always fail with ENOSYS.  Some functions are actually named
46090    something starting with __ and the normal name is an alias.  */
46091#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46092choke me
46093#else
46094char (*f) () = $ac_func;
46095#endif
46096#ifdef __cplusplus
46097}
46098#endif
46099
46100int
46101main ()
46102{
46103return f != $ac_func;
46104  ;
46105  return 0;
46106}
46107_ACEOF
46108rm -f conftest.$ac_objext conftest$ac_exeext
46109if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46110  (eval $ac_link) 2>conftest.er1
46111  ac_status=$?
46112  grep -v '^ *+' conftest.er1 >conftest.err
46113  rm -f conftest.er1
46114  cat conftest.err >&5
46115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116  (exit $ac_status); } &&
46117	 { ac_try='test -z "$ac_c_werror_flag"
46118			 || test ! -s conftest.err'
46119  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46120  (eval $ac_try) 2>&5
46121  ac_status=$?
46122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123  (exit $ac_status); }; } &&
46124	 { ac_try='test -s conftest$ac_exeext'
46125  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46126  (eval $ac_try) 2>&5
46127  ac_status=$?
46128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46129  (exit $ac_status); }; }; then
46130  eval "$as_ac_var=yes"
46131else
46132  echo "$as_me: failed program was:" >&5
46133sed 's/^/| /' conftest.$ac_ext >&5
46134
46135eval "$as_ac_var=no"
46136fi
46137rm -f conftest.err conftest.$ac_objext \
46138      conftest$ac_exeext conftest.$ac_ext
46139fi
46140echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46141echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46142if test `eval echo '${'$as_ac_var'}'` = yes; then
46143  cat >>confdefs.h <<_ACEOF
46144#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46145_ACEOF
46146
46147fi
46148done
46149
46150  else
46151
46152  echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46153echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46154  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46155    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46156  echo $ECHO_N "(cached) $ECHO_C" >&6
46157else
46158
46159
46160
46161      ac_ext=cc
46162ac_cpp='$CXXCPP $CPPFLAGS'
46163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166
46167      cat >conftest.$ac_ext <<_ACEOF
46168/* confdefs.h.  */
46169_ACEOF
46170cat confdefs.h >>conftest.$ac_ext
46171cat >>conftest.$ac_ext <<_ACEOF
46172/* end confdefs.h.  */
46173#include <math.h>
46174int
46175main ()
46176{
46177 _fmodl(0, 0);
46178  ;
46179  return 0;
46180}
46181_ACEOF
46182rm -f conftest.$ac_objext
46183if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46184  (eval $ac_compile) 2>conftest.er1
46185  ac_status=$?
46186  grep -v '^ *+' conftest.er1 >conftest.err
46187  rm -f conftest.er1
46188  cat conftest.err >&5
46189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190  (exit $ac_status); } &&
46191	 { ac_try='test -z "$ac_cxx_werror_flag"
46192			 || test ! -s conftest.err'
46193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194  (eval $ac_try) 2>&5
46195  ac_status=$?
46196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197  (exit $ac_status); }; } &&
46198	 { ac_try='test -s conftest.$ac_objext'
46199  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200  (eval $ac_try) 2>&5
46201  ac_status=$?
46202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203  (exit $ac_status); }; }; then
46204  glibcxx_cv_func__fmodl_use=yes
46205else
46206  echo "$as_me: failed program was:" >&5
46207sed 's/^/| /' conftest.$ac_ext >&5
46208
46209glibcxx_cv_func__fmodl_use=no
46210fi
46211rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46212      ac_ext=c
46213ac_cpp='$CPP $CPPFLAGS'
46214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216ac_compiler_gnu=$ac_cv_c_compiler_gnu
46217
46218
46219fi
46220
46221  fi
46222  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46223echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46224
46225    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46226
46227for ac_func in _fmodl
46228do
46229as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46230echo "$as_me:$LINENO: checking for $ac_func" >&5
46231echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46232if eval "test \"\${$as_ac_var+set}\" = set"; then
46233  echo $ECHO_N "(cached) $ECHO_C" >&6
46234else
46235  if test x$gcc_no_link = xyes; then
46236  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46237echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46238   { (exit 1); exit 1; }; }
46239fi
46240cat >conftest.$ac_ext <<_ACEOF
46241/* confdefs.h.  */
46242_ACEOF
46243cat confdefs.h >>conftest.$ac_ext
46244cat >>conftest.$ac_ext <<_ACEOF
46245/* end confdefs.h.  */
46246/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46247   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46248#define $ac_func innocuous_$ac_func
46249
46250/* System header to define __stub macros and hopefully few prototypes,
46251    which can conflict with char $ac_func (); below.
46252    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46253    <limits.h> exists even on freestanding compilers.  */
46254
46255#ifdef __STDC__
46256# include <limits.h>
46257#else
46258# include <assert.h>
46259#endif
46260
46261#undef $ac_func
46262
46263/* Override any gcc2 internal prototype to avoid an error.  */
46264#ifdef __cplusplus
46265extern "C"
46266{
46267#endif
46268/* We use char because int might match the return type of a gcc2
46269   builtin and then its argument prototype would still apply.  */
46270char $ac_func ();
46271/* The GNU C library defines this for functions which it implements
46272    to always fail with ENOSYS.  Some functions are actually named
46273    something starting with __ and the normal name is an alias.  */
46274#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46275choke me
46276#else
46277char (*f) () = $ac_func;
46278#endif
46279#ifdef __cplusplus
46280}
46281#endif
46282
46283int
46284main ()
46285{
46286return f != $ac_func;
46287  ;
46288  return 0;
46289}
46290_ACEOF
46291rm -f conftest.$ac_objext conftest$ac_exeext
46292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46293  (eval $ac_link) 2>conftest.er1
46294  ac_status=$?
46295  grep -v '^ *+' conftest.er1 >conftest.err
46296  rm -f conftest.er1
46297  cat conftest.err >&5
46298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299  (exit $ac_status); } &&
46300	 { ac_try='test -z "$ac_c_werror_flag"
46301			 || test ! -s conftest.err'
46302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46303  (eval $ac_try) 2>&5
46304  ac_status=$?
46305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306  (exit $ac_status); }; } &&
46307	 { ac_try='test -s conftest$ac_exeext'
46308  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309  (eval $ac_try) 2>&5
46310  ac_status=$?
46311  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312  (exit $ac_status); }; }; then
46313  eval "$as_ac_var=yes"
46314else
46315  echo "$as_me: failed program was:" >&5
46316sed 's/^/| /' conftest.$ac_ext >&5
46317
46318eval "$as_ac_var=no"
46319fi
46320rm -f conftest.err conftest.$ac_objext \
46321      conftest$ac_exeext conftest.$ac_ext
46322fi
46323echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46324echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46325if test `eval echo '${'$as_ac_var'}'` = yes; then
46326  cat >>confdefs.h <<_ACEOF
46327#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46328_ACEOF
46329
46330fi
46331done
46332
46333    fi
46334  fi
46335
46336
46337
46338
46339
46340
46341  echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46342echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46343  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46344    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46345  echo $ECHO_N "(cached) $ECHO_C" >&6
46346else
46347
46348
46349
46350      ac_ext=cc
46351ac_cpp='$CXXCPP $CPPFLAGS'
46352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46355
46356      cat >conftest.$ac_ext <<_ACEOF
46357/* confdefs.h.  */
46358_ACEOF
46359cat confdefs.h >>conftest.$ac_ext
46360cat >>conftest.$ac_ext <<_ACEOF
46361/* end confdefs.h.  */
46362#include <math.h>
46363int
46364main ()
46365{
46366 frexpl(0, 0);
46367  ;
46368  return 0;
46369}
46370_ACEOF
46371rm -f conftest.$ac_objext
46372if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46373  (eval $ac_compile) 2>conftest.er1
46374  ac_status=$?
46375  grep -v '^ *+' conftest.er1 >conftest.err
46376  rm -f conftest.er1
46377  cat conftest.err >&5
46378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379  (exit $ac_status); } &&
46380	 { ac_try='test -z "$ac_cxx_werror_flag"
46381			 || test ! -s conftest.err'
46382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383  (eval $ac_try) 2>&5
46384  ac_status=$?
46385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386  (exit $ac_status); }; } &&
46387	 { ac_try='test -s conftest.$ac_objext'
46388  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46389  (eval $ac_try) 2>&5
46390  ac_status=$?
46391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392  (exit $ac_status); }; }; then
46393  glibcxx_cv_func_frexpl_use=yes
46394else
46395  echo "$as_me: failed program was:" >&5
46396sed 's/^/| /' conftest.$ac_ext >&5
46397
46398glibcxx_cv_func_frexpl_use=no
46399fi
46400rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46401      ac_ext=c
46402ac_cpp='$CPP $CPPFLAGS'
46403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46405ac_compiler_gnu=$ac_cv_c_compiler_gnu
46406
46407
46408fi
46409
46410  fi
46411  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46412echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46413
46414  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46415
46416for ac_func in frexpl
46417do
46418as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46419echo "$as_me:$LINENO: checking for $ac_func" >&5
46420echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46421if eval "test \"\${$as_ac_var+set}\" = set"; then
46422  echo $ECHO_N "(cached) $ECHO_C" >&6
46423else
46424  if test x$gcc_no_link = xyes; then
46425  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46426echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46427   { (exit 1); exit 1; }; }
46428fi
46429cat >conftest.$ac_ext <<_ACEOF
46430/* confdefs.h.  */
46431_ACEOF
46432cat confdefs.h >>conftest.$ac_ext
46433cat >>conftest.$ac_ext <<_ACEOF
46434/* end confdefs.h.  */
46435/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46436   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46437#define $ac_func innocuous_$ac_func
46438
46439/* System header to define __stub macros and hopefully few prototypes,
46440    which can conflict with char $ac_func (); below.
46441    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46442    <limits.h> exists even on freestanding compilers.  */
46443
46444#ifdef __STDC__
46445# include <limits.h>
46446#else
46447# include <assert.h>
46448#endif
46449
46450#undef $ac_func
46451
46452/* Override any gcc2 internal prototype to avoid an error.  */
46453#ifdef __cplusplus
46454extern "C"
46455{
46456#endif
46457/* We use char because int might match the return type of a gcc2
46458   builtin and then its argument prototype would still apply.  */
46459char $ac_func ();
46460/* The GNU C library defines this for functions which it implements
46461    to always fail with ENOSYS.  Some functions are actually named
46462    something starting with __ and the normal name is an alias.  */
46463#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46464choke me
46465#else
46466char (*f) () = $ac_func;
46467#endif
46468#ifdef __cplusplus
46469}
46470#endif
46471
46472int
46473main ()
46474{
46475return f != $ac_func;
46476  ;
46477  return 0;
46478}
46479_ACEOF
46480rm -f conftest.$ac_objext conftest$ac_exeext
46481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46482  (eval $ac_link) 2>conftest.er1
46483  ac_status=$?
46484  grep -v '^ *+' conftest.er1 >conftest.err
46485  rm -f conftest.er1
46486  cat conftest.err >&5
46487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488  (exit $ac_status); } &&
46489	 { ac_try='test -z "$ac_c_werror_flag"
46490			 || test ! -s conftest.err'
46491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46492  (eval $ac_try) 2>&5
46493  ac_status=$?
46494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495  (exit $ac_status); }; } &&
46496	 { ac_try='test -s conftest$ac_exeext'
46497  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46498  (eval $ac_try) 2>&5
46499  ac_status=$?
46500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501  (exit $ac_status); }; }; then
46502  eval "$as_ac_var=yes"
46503else
46504  echo "$as_me: failed program was:" >&5
46505sed 's/^/| /' conftest.$ac_ext >&5
46506
46507eval "$as_ac_var=no"
46508fi
46509rm -f conftest.err conftest.$ac_objext \
46510      conftest$ac_exeext conftest.$ac_ext
46511fi
46512echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46513echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46514if test `eval echo '${'$as_ac_var'}'` = yes; then
46515  cat >>confdefs.h <<_ACEOF
46516#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46517_ACEOF
46518
46519fi
46520done
46521
46522  else
46523
46524  echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46525echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46526  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46527    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46528  echo $ECHO_N "(cached) $ECHO_C" >&6
46529else
46530
46531
46532
46533      ac_ext=cc
46534ac_cpp='$CXXCPP $CPPFLAGS'
46535ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46538
46539      cat >conftest.$ac_ext <<_ACEOF
46540/* confdefs.h.  */
46541_ACEOF
46542cat confdefs.h >>conftest.$ac_ext
46543cat >>conftest.$ac_ext <<_ACEOF
46544/* end confdefs.h.  */
46545#include <math.h>
46546int
46547main ()
46548{
46549 _frexpl(0, 0);
46550  ;
46551  return 0;
46552}
46553_ACEOF
46554rm -f conftest.$ac_objext
46555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46556  (eval $ac_compile) 2>conftest.er1
46557  ac_status=$?
46558  grep -v '^ *+' conftest.er1 >conftest.err
46559  rm -f conftest.er1
46560  cat conftest.err >&5
46561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46562  (exit $ac_status); } &&
46563	 { ac_try='test -z "$ac_cxx_werror_flag"
46564			 || test ! -s conftest.err'
46565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46566  (eval $ac_try) 2>&5
46567  ac_status=$?
46568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46569  (exit $ac_status); }; } &&
46570	 { ac_try='test -s conftest.$ac_objext'
46571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46572  (eval $ac_try) 2>&5
46573  ac_status=$?
46574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46575  (exit $ac_status); }; }; then
46576  glibcxx_cv_func__frexpl_use=yes
46577else
46578  echo "$as_me: failed program was:" >&5
46579sed 's/^/| /' conftest.$ac_ext >&5
46580
46581glibcxx_cv_func__frexpl_use=no
46582fi
46583rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46584      ac_ext=c
46585ac_cpp='$CPP $CPPFLAGS'
46586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588ac_compiler_gnu=$ac_cv_c_compiler_gnu
46589
46590
46591fi
46592
46593  fi
46594  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46595echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46596
46597    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46598
46599for ac_func in _frexpl
46600do
46601as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46602echo "$as_me:$LINENO: checking for $ac_func" >&5
46603echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46604if eval "test \"\${$as_ac_var+set}\" = set"; then
46605  echo $ECHO_N "(cached) $ECHO_C" >&6
46606else
46607  if test x$gcc_no_link = xyes; then
46608  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46609echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46610   { (exit 1); exit 1; }; }
46611fi
46612cat >conftest.$ac_ext <<_ACEOF
46613/* confdefs.h.  */
46614_ACEOF
46615cat confdefs.h >>conftest.$ac_ext
46616cat >>conftest.$ac_ext <<_ACEOF
46617/* end confdefs.h.  */
46618/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46619   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46620#define $ac_func innocuous_$ac_func
46621
46622/* System header to define __stub macros and hopefully few prototypes,
46623    which can conflict with char $ac_func (); below.
46624    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46625    <limits.h> exists even on freestanding compilers.  */
46626
46627#ifdef __STDC__
46628# include <limits.h>
46629#else
46630# include <assert.h>
46631#endif
46632
46633#undef $ac_func
46634
46635/* Override any gcc2 internal prototype to avoid an error.  */
46636#ifdef __cplusplus
46637extern "C"
46638{
46639#endif
46640/* We use char because int might match the return type of a gcc2
46641   builtin and then its argument prototype would still apply.  */
46642char $ac_func ();
46643/* The GNU C library defines this for functions which it implements
46644    to always fail with ENOSYS.  Some functions are actually named
46645    something starting with __ and the normal name is an alias.  */
46646#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46647choke me
46648#else
46649char (*f) () = $ac_func;
46650#endif
46651#ifdef __cplusplus
46652}
46653#endif
46654
46655int
46656main ()
46657{
46658return f != $ac_func;
46659  ;
46660  return 0;
46661}
46662_ACEOF
46663rm -f conftest.$ac_objext conftest$ac_exeext
46664if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46665  (eval $ac_link) 2>conftest.er1
46666  ac_status=$?
46667  grep -v '^ *+' conftest.er1 >conftest.err
46668  rm -f conftest.er1
46669  cat conftest.err >&5
46670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671  (exit $ac_status); } &&
46672	 { ac_try='test -z "$ac_c_werror_flag"
46673			 || test ! -s conftest.err'
46674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46675  (eval $ac_try) 2>&5
46676  ac_status=$?
46677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46678  (exit $ac_status); }; } &&
46679	 { ac_try='test -s conftest$ac_exeext'
46680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46681  (eval $ac_try) 2>&5
46682  ac_status=$?
46683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684  (exit $ac_status); }; }; then
46685  eval "$as_ac_var=yes"
46686else
46687  echo "$as_me: failed program was:" >&5
46688sed 's/^/| /' conftest.$ac_ext >&5
46689
46690eval "$as_ac_var=no"
46691fi
46692rm -f conftest.err conftest.$ac_objext \
46693      conftest$ac_exeext conftest.$ac_ext
46694fi
46695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46696echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46697if test `eval echo '${'$as_ac_var'}'` = yes; then
46698  cat >>confdefs.h <<_ACEOF
46699#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46700_ACEOF
46701
46702fi
46703done
46704
46705    fi
46706  fi
46707
46708
46709
46710
46711
46712
46713  echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46714echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46715  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46716    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46717  echo $ECHO_N "(cached) $ECHO_C" >&6
46718else
46719
46720
46721
46722      ac_ext=cc
46723ac_cpp='$CXXCPP $CPPFLAGS'
46724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46727
46728      cat >conftest.$ac_ext <<_ACEOF
46729/* confdefs.h.  */
46730_ACEOF
46731cat confdefs.h >>conftest.$ac_ext
46732cat >>conftest.$ac_ext <<_ACEOF
46733/* end confdefs.h.  */
46734#include <math.h>
46735int
46736main ()
46737{
46738 hypotl(0, 0);
46739  ;
46740  return 0;
46741}
46742_ACEOF
46743rm -f conftest.$ac_objext
46744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46745  (eval $ac_compile) 2>conftest.er1
46746  ac_status=$?
46747  grep -v '^ *+' conftest.er1 >conftest.err
46748  rm -f conftest.er1
46749  cat conftest.err >&5
46750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46751  (exit $ac_status); } &&
46752	 { ac_try='test -z "$ac_cxx_werror_flag"
46753			 || test ! -s conftest.err'
46754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46755  (eval $ac_try) 2>&5
46756  ac_status=$?
46757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46758  (exit $ac_status); }; } &&
46759	 { ac_try='test -s conftest.$ac_objext'
46760  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46761  (eval $ac_try) 2>&5
46762  ac_status=$?
46763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46764  (exit $ac_status); }; }; then
46765  glibcxx_cv_func_hypotl_use=yes
46766else
46767  echo "$as_me: failed program was:" >&5
46768sed 's/^/| /' conftest.$ac_ext >&5
46769
46770glibcxx_cv_func_hypotl_use=no
46771fi
46772rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46773      ac_ext=c
46774ac_cpp='$CPP $CPPFLAGS'
46775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777ac_compiler_gnu=$ac_cv_c_compiler_gnu
46778
46779
46780fi
46781
46782  fi
46783  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46784echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46785
46786  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46787
46788for ac_func in hypotl
46789do
46790as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46791echo "$as_me:$LINENO: checking for $ac_func" >&5
46792echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46793if eval "test \"\${$as_ac_var+set}\" = set"; then
46794  echo $ECHO_N "(cached) $ECHO_C" >&6
46795else
46796  if test x$gcc_no_link = xyes; then
46797  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46798echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46799   { (exit 1); exit 1; }; }
46800fi
46801cat >conftest.$ac_ext <<_ACEOF
46802/* confdefs.h.  */
46803_ACEOF
46804cat confdefs.h >>conftest.$ac_ext
46805cat >>conftest.$ac_ext <<_ACEOF
46806/* end confdefs.h.  */
46807/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46808   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46809#define $ac_func innocuous_$ac_func
46810
46811/* System header to define __stub macros and hopefully few prototypes,
46812    which can conflict with char $ac_func (); below.
46813    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46814    <limits.h> exists even on freestanding compilers.  */
46815
46816#ifdef __STDC__
46817# include <limits.h>
46818#else
46819# include <assert.h>
46820#endif
46821
46822#undef $ac_func
46823
46824/* Override any gcc2 internal prototype to avoid an error.  */
46825#ifdef __cplusplus
46826extern "C"
46827{
46828#endif
46829/* We use char because int might match the return type of a gcc2
46830   builtin and then its argument prototype would still apply.  */
46831char $ac_func ();
46832/* The GNU C library defines this for functions which it implements
46833    to always fail with ENOSYS.  Some functions are actually named
46834    something starting with __ and the normal name is an alias.  */
46835#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46836choke me
46837#else
46838char (*f) () = $ac_func;
46839#endif
46840#ifdef __cplusplus
46841}
46842#endif
46843
46844int
46845main ()
46846{
46847return f != $ac_func;
46848  ;
46849  return 0;
46850}
46851_ACEOF
46852rm -f conftest.$ac_objext conftest$ac_exeext
46853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46854  (eval $ac_link) 2>conftest.er1
46855  ac_status=$?
46856  grep -v '^ *+' conftest.er1 >conftest.err
46857  rm -f conftest.er1
46858  cat conftest.err >&5
46859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46860  (exit $ac_status); } &&
46861	 { ac_try='test -z "$ac_c_werror_flag"
46862			 || test ! -s conftest.err'
46863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46864  (eval $ac_try) 2>&5
46865  ac_status=$?
46866  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867  (exit $ac_status); }; } &&
46868	 { ac_try='test -s conftest$ac_exeext'
46869  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46870  (eval $ac_try) 2>&5
46871  ac_status=$?
46872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46873  (exit $ac_status); }; }; then
46874  eval "$as_ac_var=yes"
46875else
46876  echo "$as_me: failed program was:" >&5
46877sed 's/^/| /' conftest.$ac_ext >&5
46878
46879eval "$as_ac_var=no"
46880fi
46881rm -f conftest.err conftest.$ac_objext \
46882      conftest$ac_exeext conftest.$ac_ext
46883fi
46884echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46885echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46886if test `eval echo '${'$as_ac_var'}'` = yes; then
46887  cat >>confdefs.h <<_ACEOF
46888#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46889_ACEOF
46890
46891fi
46892done
46893
46894  else
46895
46896  echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46897echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46898  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46899    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46900  echo $ECHO_N "(cached) $ECHO_C" >&6
46901else
46902
46903
46904
46905      ac_ext=cc
46906ac_cpp='$CXXCPP $CPPFLAGS'
46907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46910
46911      cat >conftest.$ac_ext <<_ACEOF
46912/* confdefs.h.  */
46913_ACEOF
46914cat confdefs.h >>conftest.$ac_ext
46915cat >>conftest.$ac_ext <<_ACEOF
46916/* end confdefs.h.  */
46917#include <math.h>
46918int
46919main ()
46920{
46921 _hypotl(0, 0);
46922  ;
46923  return 0;
46924}
46925_ACEOF
46926rm -f conftest.$ac_objext
46927if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46928  (eval $ac_compile) 2>conftest.er1
46929  ac_status=$?
46930  grep -v '^ *+' conftest.er1 >conftest.err
46931  rm -f conftest.er1
46932  cat conftest.err >&5
46933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934  (exit $ac_status); } &&
46935	 { ac_try='test -z "$ac_cxx_werror_flag"
46936			 || test ! -s conftest.err'
46937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46938  (eval $ac_try) 2>&5
46939  ac_status=$?
46940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941  (exit $ac_status); }; } &&
46942	 { ac_try='test -s conftest.$ac_objext'
46943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46944  (eval $ac_try) 2>&5
46945  ac_status=$?
46946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947  (exit $ac_status); }; }; then
46948  glibcxx_cv_func__hypotl_use=yes
46949else
46950  echo "$as_me: failed program was:" >&5
46951sed 's/^/| /' conftest.$ac_ext >&5
46952
46953glibcxx_cv_func__hypotl_use=no
46954fi
46955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46956      ac_ext=c
46957ac_cpp='$CPP $CPPFLAGS'
46958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960ac_compiler_gnu=$ac_cv_c_compiler_gnu
46961
46962
46963fi
46964
46965  fi
46966  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46967echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46968
46969    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46970
46971for ac_func in _hypotl
46972do
46973as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46974echo "$as_me:$LINENO: checking for $ac_func" >&5
46975echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46976if eval "test \"\${$as_ac_var+set}\" = set"; then
46977  echo $ECHO_N "(cached) $ECHO_C" >&6
46978else
46979  if test x$gcc_no_link = xyes; then
46980  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46981echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46982   { (exit 1); exit 1; }; }
46983fi
46984cat >conftest.$ac_ext <<_ACEOF
46985/* confdefs.h.  */
46986_ACEOF
46987cat confdefs.h >>conftest.$ac_ext
46988cat >>conftest.$ac_ext <<_ACEOF
46989/* end confdefs.h.  */
46990/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46991   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46992#define $ac_func innocuous_$ac_func
46993
46994/* System header to define __stub macros and hopefully few prototypes,
46995    which can conflict with char $ac_func (); below.
46996    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46997    <limits.h> exists even on freestanding compilers.  */
46998
46999#ifdef __STDC__
47000# include <limits.h>
47001#else
47002# include <assert.h>
47003#endif
47004
47005#undef $ac_func
47006
47007/* Override any gcc2 internal prototype to avoid an error.  */
47008#ifdef __cplusplus
47009extern "C"
47010{
47011#endif
47012/* We use char because int might match the return type of a gcc2
47013   builtin and then its argument prototype would still apply.  */
47014char $ac_func ();
47015/* The GNU C library defines this for functions which it implements
47016    to always fail with ENOSYS.  Some functions are actually named
47017    something starting with __ and the normal name is an alias.  */
47018#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47019choke me
47020#else
47021char (*f) () = $ac_func;
47022#endif
47023#ifdef __cplusplus
47024}
47025#endif
47026
47027int
47028main ()
47029{
47030return f != $ac_func;
47031  ;
47032  return 0;
47033}
47034_ACEOF
47035rm -f conftest.$ac_objext conftest$ac_exeext
47036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47037  (eval $ac_link) 2>conftest.er1
47038  ac_status=$?
47039  grep -v '^ *+' conftest.er1 >conftest.err
47040  rm -f conftest.er1
47041  cat conftest.err >&5
47042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043  (exit $ac_status); } &&
47044	 { ac_try='test -z "$ac_c_werror_flag"
47045			 || test ! -s conftest.err'
47046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47047  (eval $ac_try) 2>&5
47048  ac_status=$?
47049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050  (exit $ac_status); }; } &&
47051	 { ac_try='test -s conftest$ac_exeext'
47052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47053  (eval $ac_try) 2>&5
47054  ac_status=$?
47055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056  (exit $ac_status); }; }; then
47057  eval "$as_ac_var=yes"
47058else
47059  echo "$as_me: failed program was:" >&5
47060sed 's/^/| /' conftest.$ac_ext >&5
47061
47062eval "$as_ac_var=no"
47063fi
47064rm -f conftest.err conftest.$ac_objext \
47065      conftest$ac_exeext conftest.$ac_ext
47066fi
47067echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47068echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47069if test `eval echo '${'$as_ac_var'}'` = yes; then
47070  cat >>confdefs.h <<_ACEOF
47071#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47072_ACEOF
47073
47074fi
47075done
47076
47077    fi
47078  fi
47079
47080
47081
47082
47083
47084
47085  echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47086echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47087  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47088    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47089  echo $ECHO_N "(cached) $ECHO_C" >&6
47090else
47091
47092
47093
47094      ac_ext=cc
47095ac_cpp='$CXXCPP $CPPFLAGS'
47096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099
47100      cat >conftest.$ac_ext <<_ACEOF
47101/* confdefs.h.  */
47102_ACEOF
47103cat confdefs.h >>conftest.$ac_ext
47104cat >>conftest.$ac_ext <<_ACEOF
47105/* end confdefs.h.  */
47106#include <math.h>
47107int
47108main ()
47109{
47110 ldexpl(0, 0);
47111  ;
47112  return 0;
47113}
47114_ACEOF
47115rm -f conftest.$ac_objext
47116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47117  (eval $ac_compile) 2>conftest.er1
47118  ac_status=$?
47119  grep -v '^ *+' conftest.er1 >conftest.err
47120  rm -f conftest.er1
47121  cat conftest.err >&5
47122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47123  (exit $ac_status); } &&
47124	 { ac_try='test -z "$ac_cxx_werror_flag"
47125			 || test ! -s conftest.err'
47126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47127  (eval $ac_try) 2>&5
47128  ac_status=$?
47129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130  (exit $ac_status); }; } &&
47131	 { ac_try='test -s conftest.$ac_objext'
47132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47133  (eval $ac_try) 2>&5
47134  ac_status=$?
47135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136  (exit $ac_status); }; }; then
47137  glibcxx_cv_func_ldexpl_use=yes
47138else
47139  echo "$as_me: failed program was:" >&5
47140sed 's/^/| /' conftest.$ac_ext >&5
47141
47142glibcxx_cv_func_ldexpl_use=no
47143fi
47144rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47145      ac_ext=c
47146ac_cpp='$CPP $CPPFLAGS'
47147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149ac_compiler_gnu=$ac_cv_c_compiler_gnu
47150
47151
47152fi
47153
47154  fi
47155  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47156echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47157
47158  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47159
47160for ac_func in ldexpl
47161do
47162as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47163echo "$as_me:$LINENO: checking for $ac_func" >&5
47164echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47165if eval "test \"\${$as_ac_var+set}\" = set"; then
47166  echo $ECHO_N "(cached) $ECHO_C" >&6
47167else
47168  if test x$gcc_no_link = xyes; then
47169  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47170echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47171   { (exit 1); exit 1; }; }
47172fi
47173cat >conftest.$ac_ext <<_ACEOF
47174/* confdefs.h.  */
47175_ACEOF
47176cat confdefs.h >>conftest.$ac_ext
47177cat >>conftest.$ac_ext <<_ACEOF
47178/* end confdefs.h.  */
47179/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47180   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47181#define $ac_func innocuous_$ac_func
47182
47183/* System header to define __stub macros and hopefully few prototypes,
47184    which can conflict with char $ac_func (); below.
47185    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47186    <limits.h> exists even on freestanding compilers.  */
47187
47188#ifdef __STDC__
47189# include <limits.h>
47190#else
47191# include <assert.h>
47192#endif
47193
47194#undef $ac_func
47195
47196/* Override any gcc2 internal prototype to avoid an error.  */
47197#ifdef __cplusplus
47198extern "C"
47199{
47200#endif
47201/* We use char because int might match the return type of a gcc2
47202   builtin and then its argument prototype would still apply.  */
47203char $ac_func ();
47204/* The GNU C library defines this for functions which it implements
47205    to always fail with ENOSYS.  Some functions are actually named
47206    something starting with __ and the normal name is an alias.  */
47207#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47208choke me
47209#else
47210char (*f) () = $ac_func;
47211#endif
47212#ifdef __cplusplus
47213}
47214#endif
47215
47216int
47217main ()
47218{
47219return f != $ac_func;
47220  ;
47221  return 0;
47222}
47223_ACEOF
47224rm -f conftest.$ac_objext conftest$ac_exeext
47225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47226  (eval $ac_link) 2>conftest.er1
47227  ac_status=$?
47228  grep -v '^ *+' conftest.er1 >conftest.err
47229  rm -f conftest.er1
47230  cat conftest.err >&5
47231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47232  (exit $ac_status); } &&
47233	 { ac_try='test -z "$ac_c_werror_flag"
47234			 || test ! -s conftest.err'
47235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47236  (eval $ac_try) 2>&5
47237  ac_status=$?
47238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47239  (exit $ac_status); }; } &&
47240	 { ac_try='test -s conftest$ac_exeext'
47241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47242  (eval $ac_try) 2>&5
47243  ac_status=$?
47244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245  (exit $ac_status); }; }; then
47246  eval "$as_ac_var=yes"
47247else
47248  echo "$as_me: failed program was:" >&5
47249sed 's/^/| /' conftest.$ac_ext >&5
47250
47251eval "$as_ac_var=no"
47252fi
47253rm -f conftest.err conftest.$ac_objext \
47254      conftest$ac_exeext conftest.$ac_ext
47255fi
47256echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47257echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47258if test `eval echo '${'$as_ac_var'}'` = yes; then
47259  cat >>confdefs.h <<_ACEOF
47260#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47261_ACEOF
47262
47263fi
47264done
47265
47266  else
47267
47268  echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47269echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47270  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47271    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47272  echo $ECHO_N "(cached) $ECHO_C" >&6
47273else
47274
47275
47276
47277      ac_ext=cc
47278ac_cpp='$CXXCPP $CPPFLAGS'
47279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47282
47283      cat >conftest.$ac_ext <<_ACEOF
47284/* confdefs.h.  */
47285_ACEOF
47286cat confdefs.h >>conftest.$ac_ext
47287cat >>conftest.$ac_ext <<_ACEOF
47288/* end confdefs.h.  */
47289#include <math.h>
47290int
47291main ()
47292{
47293 _ldexpl(0, 0);
47294  ;
47295  return 0;
47296}
47297_ACEOF
47298rm -f conftest.$ac_objext
47299if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47300  (eval $ac_compile) 2>conftest.er1
47301  ac_status=$?
47302  grep -v '^ *+' conftest.er1 >conftest.err
47303  rm -f conftest.er1
47304  cat conftest.err >&5
47305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47306  (exit $ac_status); } &&
47307	 { ac_try='test -z "$ac_cxx_werror_flag"
47308			 || test ! -s conftest.err'
47309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47310  (eval $ac_try) 2>&5
47311  ac_status=$?
47312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313  (exit $ac_status); }; } &&
47314	 { ac_try='test -s conftest.$ac_objext'
47315  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47316  (eval $ac_try) 2>&5
47317  ac_status=$?
47318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319  (exit $ac_status); }; }; then
47320  glibcxx_cv_func__ldexpl_use=yes
47321else
47322  echo "$as_me: failed program was:" >&5
47323sed 's/^/| /' conftest.$ac_ext >&5
47324
47325glibcxx_cv_func__ldexpl_use=no
47326fi
47327rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47328      ac_ext=c
47329ac_cpp='$CPP $CPPFLAGS'
47330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47332ac_compiler_gnu=$ac_cv_c_compiler_gnu
47333
47334
47335fi
47336
47337  fi
47338  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47339echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47340
47341    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47342
47343for ac_func in _ldexpl
47344do
47345as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47346echo "$as_me:$LINENO: checking for $ac_func" >&5
47347echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47348if eval "test \"\${$as_ac_var+set}\" = set"; then
47349  echo $ECHO_N "(cached) $ECHO_C" >&6
47350else
47351  if test x$gcc_no_link = xyes; then
47352  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47353echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47354   { (exit 1); exit 1; }; }
47355fi
47356cat >conftest.$ac_ext <<_ACEOF
47357/* confdefs.h.  */
47358_ACEOF
47359cat confdefs.h >>conftest.$ac_ext
47360cat >>conftest.$ac_ext <<_ACEOF
47361/* end confdefs.h.  */
47362/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47363   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47364#define $ac_func innocuous_$ac_func
47365
47366/* System header to define __stub macros and hopefully few prototypes,
47367    which can conflict with char $ac_func (); below.
47368    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47369    <limits.h> exists even on freestanding compilers.  */
47370
47371#ifdef __STDC__
47372# include <limits.h>
47373#else
47374# include <assert.h>
47375#endif
47376
47377#undef $ac_func
47378
47379/* Override any gcc2 internal prototype to avoid an error.  */
47380#ifdef __cplusplus
47381extern "C"
47382{
47383#endif
47384/* We use char because int might match the return type of a gcc2
47385   builtin and then its argument prototype would still apply.  */
47386char $ac_func ();
47387/* The GNU C library defines this for functions which it implements
47388    to always fail with ENOSYS.  Some functions are actually named
47389    something starting with __ and the normal name is an alias.  */
47390#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47391choke me
47392#else
47393char (*f) () = $ac_func;
47394#endif
47395#ifdef __cplusplus
47396}
47397#endif
47398
47399int
47400main ()
47401{
47402return f != $ac_func;
47403  ;
47404  return 0;
47405}
47406_ACEOF
47407rm -f conftest.$ac_objext conftest$ac_exeext
47408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47409  (eval $ac_link) 2>conftest.er1
47410  ac_status=$?
47411  grep -v '^ *+' conftest.er1 >conftest.err
47412  rm -f conftest.er1
47413  cat conftest.err >&5
47414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47415  (exit $ac_status); } &&
47416	 { ac_try='test -z "$ac_c_werror_flag"
47417			 || test ! -s conftest.err'
47418  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47419  (eval $ac_try) 2>&5
47420  ac_status=$?
47421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47422  (exit $ac_status); }; } &&
47423	 { ac_try='test -s conftest$ac_exeext'
47424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47425  (eval $ac_try) 2>&5
47426  ac_status=$?
47427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47428  (exit $ac_status); }; }; then
47429  eval "$as_ac_var=yes"
47430else
47431  echo "$as_me: failed program was:" >&5
47432sed 's/^/| /' conftest.$ac_ext >&5
47433
47434eval "$as_ac_var=no"
47435fi
47436rm -f conftest.err conftest.$ac_objext \
47437      conftest$ac_exeext conftest.$ac_ext
47438fi
47439echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47440echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47441if test `eval echo '${'$as_ac_var'}'` = yes; then
47442  cat >>confdefs.h <<_ACEOF
47443#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47444_ACEOF
47445
47446fi
47447done
47448
47449    fi
47450  fi
47451
47452
47453
47454
47455
47456
47457  echo "$as_me:$LINENO: checking for logl declaration" >&5
47458echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47459  if test x${glibcxx_cv_func_logl_use+set} != xset; then
47460    if test "${glibcxx_cv_func_logl_use+set}" = set; then
47461  echo $ECHO_N "(cached) $ECHO_C" >&6
47462else
47463
47464
47465
47466      ac_ext=cc
47467ac_cpp='$CXXCPP $CPPFLAGS'
47468ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47471
47472      cat >conftest.$ac_ext <<_ACEOF
47473/* confdefs.h.  */
47474_ACEOF
47475cat confdefs.h >>conftest.$ac_ext
47476cat >>conftest.$ac_ext <<_ACEOF
47477/* end confdefs.h.  */
47478#include <math.h>
47479		      #ifdef HAVE_IEEEFP_H
47480		      #include <ieeefp.h>
47481		      #endif
47482
47483int
47484main ()
47485{
47486 logl(0);
47487  ;
47488  return 0;
47489}
47490_ACEOF
47491rm -f conftest.$ac_objext
47492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47493  (eval $ac_compile) 2>conftest.er1
47494  ac_status=$?
47495  grep -v '^ *+' conftest.er1 >conftest.err
47496  rm -f conftest.er1
47497  cat conftest.err >&5
47498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499  (exit $ac_status); } &&
47500	 { ac_try='test -z "$ac_cxx_werror_flag"
47501			 || test ! -s conftest.err'
47502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47503  (eval $ac_try) 2>&5
47504  ac_status=$?
47505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47506  (exit $ac_status); }; } &&
47507	 { ac_try='test -s conftest.$ac_objext'
47508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47509  (eval $ac_try) 2>&5
47510  ac_status=$?
47511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47512  (exit $ac_status); }; }; then
47513  glibcxx_cv_func_logl_use=yes
47514else
47515  echo "$as_me: failed program was:" >&5
47516sed 's/^/| /' conftest.$ac_ext >&5
47517
47518glibcxx_cv_func_logl_use=no
47519fi
47520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47521      ac_ext=c
47522ac_cpp='$CPP $CPPFLAGS'
47523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525ac_compiler_gnu=$ac_cv_c_compiler_gnu
47526
47527
47528fi
47529
47530  fi
47531  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47532echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47533
47534  if test x$glibcxx_cv_func_logl_use = x"yes"; then
47535
47536for ac_func in logl
47537do
47538as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47539echo "$as_me:$LINENO: checking for $ac_func" >&5
47540echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47541if eval "test \"\${$as_ac_var+set}\" = set"; then
47542  echo $ECHO_N "(cached) $ECHO_C" >&6
47543else
47544  if test x$gcc_no_link = xyes; then
47545  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47546echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47547   { (exit 1); exit 1; }; }
47548fi
47549cat >conftest.$ac_ext <<_ACEOF
47550/* confdefs.h.  */
47551_ACEOF
47552cat confdefs.h >>conftest.$ac_ext
47553cat >>conftest.$ac_ext <<_ACEOF
47554/* end confdefs.h.  */
47555/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47556   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47557#define $ac_func innocuous_$ac_func
47558
47559/* System header to define __stub macros and hopefully few prototypes,
47560    which can conflict with char $ac_func (); below.
47561    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47562    <limits.h> exists even on freestanding compilers.  */
47563
47564#ifdef __STDC__
47565# include <limits.h>
47566#else
47567# include <assert.h>
47568#endif
47569
47570#undef $ac_func
47571
47572/* Override any gcc2 internal prototype to avoid an error.  */
47573#ifdef __cplusplus
47574extern "C"
47575{
47576#endif
47577/* We use char because int might match the return type of a gcc2
47578   builtin and then its argument prototype would still apply.  */
47579char $ac_func ();
47580/* The GNU C library defines this for functions which it implements
47581    to always fail with ENOSYS.  Some functions are actually named
47582    something starting with __ and the normal name is an alias.  */
47583#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47584choke me
47585#else
47586char (*f) () = $ac_func;
47587#endif
47588#ifdef __cplusplus
47589}
47590#endif
47591
47592int
47593main ()
47594{
47595return f != $ac_func;
47596  ;
47597  return 0;
47598}
47599_ACEOF
47600rm -f conftest.$ac_objext conftest$ac_exeext
47601if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47602  (eval $ac_link) 2>conftest.er1
47603  ac_status=$?
47604  grep -v '^ *+' conftest.er1 >conftest.err
47605  rm -f conftest.er1
47606  cat conftest.err >&5
47607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47608  (exit $ac_status); } &&
47609	 { ac_try='test -z "$ac_c_werror_flag"
47610			 || test ! -s conftest.err'
47611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47612  (eval $ac_try) 2>&5
47613  ac_status=$?
47614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47615  (exit $ac_status); }; } &&
47616	 { ac_try='test -s conftest$ac_exeext'
47617  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47618  (eval $ac_try) 2>&5
47619  ac_status=$?
47620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47621  (exit $ac_status); }; }; then
47622  eval "$as_ac_var=yes"
47623else
47624  echo "$as_me: failed program was:" >&5
47625sed 's/^/| /' conftest.$ac_ext >&5
47626
47627eval "$as_ac_var=no"
47628fi
47629rm -f conftest.err conftest.$ac_objext \
47630      conftest$ac_exeext conftest.$ac_ext
47631fi
47632echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47633echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47634if test `eval echo '${'$as_ac_var'}'` = yes; then
47635  cat >>confdefs.h <<_ACEOF
47636#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47637_ACEOF
47638
47639fi
47640done
47641
47642  else
47643
47644  echo "$as_me:$LINENO: checking for _logl declaration" >&5
47645echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47646  if test x${glibcxx_cv_func__logl_use+set} != xset; then
47647    if test "${glibcxx_cv_func__logl_use+set}" = set; then
47648  echo $ECHO_N "(cached) $ECHO_C" >&6
47649else
47650
47651
47652
47653      ac_ext=cc
47654ac_cpp='$CXXCPP $CPPFLAGS'
47655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47658
47659      cat >conftest.$ac_ext <<_ACEOF
47660/* confdefs.h.  */
47661_ACEOF
47662cat confdefs.h >>conftest.$ac_ext
47663cat >>conftest.$ac_ext <<_ACEOF
47664/* end confdefs.h.  */
47665#include <math.h>
47666		      #ifdef HAVE_IEEEFP_H
47667		      #include <ieeefp.h>
47668		      #endif
47669
47670int
47671main ()
47672{
47673 _logl(0);
47674  ;
47675  return 0;
47676}
47677_ACEOF
47678rm -f conftest.$ac_objext
47679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47680  (eval $ac_compile) 2>conftest.er1
47681  ac_status=$?
47682  grep -v '^ *+' conftest.er1 >conftest.err
47683  rm -f conftest.er1
47684  cat conftest.err >&5
47685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686  (exit $ac_status); } &&
47687	 { ac_try='test -z "$ac_cxx_werror_flag"
47688			 || test ! -s conftest.err'
47689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47690  (eval $ac_try) 2>&5
47691  ac_status=$?
47692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693  (exit $ac_status); }; } &&
47694	 { ac_try='test -s conftest.$ac_objext'
47695  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47696  (eval $ac_try) 2>&5
47697  ac_status=$?
47698  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699  (exit $ac_status); }; }; then
47700  glibcxx_cv_func__logl_use=yes
47701else
47702  echo "$as_me: failed program was:" >&5
47703sed 's/^/| /' conftest.$ac_ext >&5
47704
47705glibcxx_cv_func__logl_use=no
47706fi
47707rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47708      ac_ext=c
47709ac_cpp='$CPP $CPPFLAGS'
47710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47712ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713
47714
47715fi
47716
47717  fi
47718  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47719echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47720
47721    if test x$glibcxx_cv_func__logl_use = x"yes"; then
47722
47723for ac_func in _logl
47724do
47725as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47726echo "$as_me:$LINENO: checking for $ac_func" >&5
47727echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47728if eval "test \"\${$as_ac_var+set}\" = set"; then
47729  echo $ECHO_N "(cached) $ECHO_C" >&6
47730else
47731  if test x$gcc_no_link = xyes; then
47732  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47733echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47734   { (exit 1); exit 1; }; }
47735fi
47736cat >conftest.$ac_ext <<_ACEOF
47737/* confdefs.h.  */
47738_ACEOF
47739cat confdefs.h >>conftest.$ac_ext
47740cat >>conftest.$ac_ext <<_ACEOF
47741/* end confdefs.h.  */
47742/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47743   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47744#define $ac_func innocuous_$ac_func
47745
47746/* System header to define __stub macros and hopefully few prototypes,
47747    which can conflict with char $ac_func (); below.
47748    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47749    <limits.h> exists even on freestanding compilers.  */
47750
47751#ifdef __STDC__
47752# include <limits.h>
47753#else
47754# include <assert.h>
47755#endif
47756
47757#undef $ac_func
47758
47759/* Override any gcc2 internal prototype to avoid an error.  */
47760#ifdef __cplusplus
47761extern "C"
47762{
47763#endif
47764/* We use char because int might match the return type of a gcc2
47765   builtin and then its argument prototype would still apply.  */
47766char $ac_func ();
47767/* The GNU C library defines this for functions which it implements
47768    to always fail with ENOSYS.  Some functions are actually named
47769    something starting with __ and the normal name is an alias.  */
47770#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47771choke me
47772#else
47773char (*f) () = $ac_func;
47774#endif
47775#ifdef __cplusplus
47776}
47777#endif
47778
47779int
47780main ()
47781{
47782return f != $ac_func;
47783  ;
47784  return 0;
47785}
47786_ACEOF
47787rm -f conftest.$ac_objext conftest$ac_exeext
47788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47789  (eval $ac_link) 2>conftest.er1
47790  ac_status=$?
47791  grep -v '^ *+' conftest.er1 >conftest.err
47792  rm -f conftest.er1
47793  cat conftest.err >&5
47794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47795  (exit $ac_status); } &&
47796	 { ac_try='test -z "$ac_c_werror_flag"
47797			 || test ! -s conftest.err'
47798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47799  (eval $ac_try) 2>&5
47800  ac_status=$?
47801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47802  (exit $ac_status); }; } &&
47803	 { ac_try='test -s conftest$ac_exeext'
47804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47805  (eval $ac_try) 2>&5
47806  ac_status=$?
47807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47808  (exit $ac_status); }; }; then
47809  eval "$as_ac_var=yes"
47810else
47811  echo "$as_me: failed program was:" >&5
47812sed 's/^/| /' conftest.$ac_ext >&5
47813
47814eval "$as_ac_var=no"
47815fi
47816rm -f conftest.err conftest.$ac_objext \
47817      conftest$ac_exeext conftest.$ac_ext
47818fi
47819echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47820echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47821if test `eval echo '${'$as_ac_var'}'` = yes; then
47822  cat >>confdefs.h <<_ACEOF
47823#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47824_ACEOF
47825
47826fi
47827done
47828
47829    fi
47830  fi
47831
47832
47833
47834
47835
47836
47837  echo "$as_me:$LINENO: checking for log10l declaration" >&5
47838echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47839  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47840    if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47841  echo $ECHO_N "(cached) $ECHO_C" >&6
47842else
47843
47844
47845
47846      ac_ext=cc
47847ac_cpp='$CXXCPP $CPPFLAGS'
47848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851
47852      cat >conftest.$ac_ext <<_ACEOF
47853/* confdefs.h.  */
47854_ACEOF
47855cat confdefs.h >>conftest.$ac_ext
47856cat >>conftest.$ac_ext <<_ACEOF
47857/* end confdefs.h.  */
47858#include <math.h>
47859		      #ifdef HAVE_IEEEFP_H
47860		      #include <ieeefp.h>
47861		      #endif
47862
47863int
47864main ()
47865{
47866 log10l(0);
47867  ;
47868  return 0;
47869}
47870_ACEOF
47871rm -f conftest.$ac_objext
47872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47873  (eval $ac_compile) 2>conftest.er1
47874  ac_status=$?
47875  grep -v '^ *+' conftest.er1 >conftest.err
47876  rm -f conftest.er1
47877  cat conftest.err >&5
47878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879  (exit $ac_status); } &&
47880	 { ac_try='test -z "$ac_cxx_werror_flag"
47881			 || test ! -s conftest.err'
47882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47883  (eval $ac_try) 2>&5
47884  ac_status=$?
47885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886  (exit $ac_status); }; } &&
47887	 { ac_try='test -s conftest.$ac_objext'
47888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47889  (eval $ac_try) 2>&5
47890  ac_status=$?
47891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47892  (exit $ac_status); }; }; then
47893  glibcxx_cv_func_log10l_use=yes
47894else
47895  echo "$as_me: failed program was:" >&5
47896sed 's/^/| /' conftest.$ac_ext >&5
47897
47898glibcxx_cv_func_log10l_use=no
47899fi
47900rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47901      ac_ext=c
47902ac_cpp='$CPP $CPPFLAGS'
47903ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905ac_compiler_gnu=$ac_cv_c_compiler_gnu
47906
47907
47908fi
47909
47910  fi
47911  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47912echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47913
47914  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47915
47916for ac_func in log10l
47917do
47918as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47919echo "$as_me:$LINENO: checking for $ac_func" >&5
47920echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47921if eval "test \"\${$as_ac_var+set}\" = set"; then
47922  echo $ECHO_N "(cached) $ECHO_C" >&6
47923else
47924  if test x$gcc_no_link = xyes; then
47925  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47926echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47927   { (exit 1); exit 1; }; }
47928fi
47929cat >conftest.$ac_ext <<_ACEOF
47930/* confdefs.h.  */
47931_ACEOF
47932cat confdefs.h >>conftest.$ac_ext
47933cat >>conftest.$ac_ext <<_ACEOF
47934/* end confdefs.h.  */
47935/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47936   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47937#define $ac_func innocuous_$ac_func
47938
47939/* System header to define __stub macros and hopefully few prototypes,
47940    which can conflict with char $ac_func (); below.
47941    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47942    <limits.h> exists even on freestanding compilers.  */
47943
47944#ifdef __STDC__
47945# include <limits.h>
47946#else
47947# include <assert.h>
47948#endif
47949
47950#undef $ac_func
47951
47952/* Override any gcc2 internal prototype to avoid an error.  */
47953#ifdef __cplusplus
47954extern "C"
47955{
47956#endif
47957/* We use char because int might match the return type of a gcc2
47958   builtin and then its argument prototype would still apply.  */
47959char $ac_func ();
47960/* The GNU C library defines this for functions which it implements
47961    to always fail with ENOSYS.  Some functions are actually named
47962    something starting with __ and the normal name is an alias.  */
47963#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47964choke me
47965#else
47966char (*f) () = $ac_func;
47967#endif
47968#ifdef __cplusplus
47969}
47970#endif
47971
47972int
47973main ()
47974{
47975return f != $ac_func;
47976  ;
47977  return 0;
47978}
47979_ACEOF
47980rm -f conftest.$ac_objext conftest$ac_exeext
47981if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47982  (eval $ac_link) 2>conftest.er1
47983  ac_status=$?
47984  grep -v '^ *+' conftest.er1 >conftest.err
47985  rm -f conftest.er1
47986  cat conftest.err >&5
47987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47988  (exit $ac_status); } &&
47989	 { ac_try='test -z "$ac_c_werror_flag"
47990			 || test ! -s conftest.err'
47991  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47992  (eval $ac_try) 2>&5
47993  ac_status=$?
47994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995  (exit $ac_status); }; } &&
47996	 { ac_try='test -s conftest$ac_exeext'
47997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47998  (eval $ac_try) 2>&5
47999  ac_status=$?
48000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001  (exit $ac_status); }; }; then
48002  eval "$as_ac_var=yes"
48003else
48004  echo "$as_me: failed program was:" >&5
48005sed 's/^/| /' conftest.$ac_ext >&5
48006
48007eval "$as_ac_var=no"
48008fi
48009rm -f conftest.err conftest.$ac_objext \
48010      conftest$ac_exeext conftest.$ac_ext
48011fi
48012echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48013echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48014if test `eval echo '${'$as_ac_var'}'` = yes; then
48015  cat >>confdefs.h <<_ACEOF
48016#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48017_ACEOF
48018
48019fi
48020done
48021
48022  else
48023
48024  echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48025echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48026  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48027    if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48028  echo $ECHO_N "(cached) $ECHO_C" >&6
48029else
48030
48031
48032
48033      ac_ext=cc
48034ac_cpp='$CXXCPP $CPPFLAGS'
48035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038
48039      cat >conftest.$ac_ext <<_ACEOF
48040/* confdefs.h.  */
48041_ACEOF
48042cat confdefs.h >>conftest.$ac_ext
48043cat >>conftest.$ac_ext <<_ACEOF
48044/* end confdefs.h.  */
48045#include <math.h>
48046		      #ifdef HAVE_IEEEFP_H
48047		      #include <ieeefp.h>
48048		      #endif
48049
48050int
48051main ()
48052{
48053 _log10l(0);
48054  ;
48055  return 0;
48056}
48057_ACEOF
48058rm -f conftest.$ac_objext
48059if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48060  (eval $ac_compile) 2>conftest.er1
48061  ac_status=$?
48062  grep -v '^ *+' conftest.er1 >conftest.err
48063  rm -f conftest.er1
48064  cat conftest.err >&5
48065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066  (exit $ac_status); } &&
48067	 { ac_try='test -z "$ac_cxx_werror_flag"
48068			 || test ! -s conftest.err'
48069  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48070  (eval $ac_try) 2>&5
48071  ac_status=$?
48072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48073  (exit $ac_status); }; } &&
48074	 { ac_try='test -s conftest.$ac_objext'
48075  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48076  (eval $ac_try) 2>&5
48077  ac_status=$?
48078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079  (exit $ac_status); }; }; then
48080  glibcxx_cv_func__log10l_use=yes
48081else
48082  echo "$as_me: failed program was:" >&5
48083sed 's/^/| /' conftest.$ac_ext >&5
48084
48085glibcxx_cv_func__log10l_use=no
48086fi
48087rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48088      ac_ext=c
48089ac_cpp='$CPP $CPPFLAGS'
48090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092ac_compiler_gnu=$ac_cv_c_compiler_gnu
48093
48094
48095fi
48096
48097  fi
48098  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48099echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48100
48101    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48102
48103for ac_func in _log10l
48104do
48105as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48106echo "$as_me:$LINENO: checking for $ac_func" >&5
48107echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48108if eval "test \"\${$as_ac_var+set}\" = set"; then
48109  echo $ECHO_N "(cached) $ECHO_C" >&6
48110else
48111  if test x$gcc_no_link = xyes; then
48112  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48113echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48114   { (exit 1); exit 1; }; }
48115fi
48116cat >conftest.$ac_ext <<_ACEOF
48117/* confdefs.h.  */
48118_ACEOF
48119cat confdefs.h >>conftest.$ac_ext
48120cat >>conftest.$ac_ext <<_ACEOF
48121/* end confdefs.h.  */
48122/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48123   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48124#define $ac_func innocuous_$ac_func
48125
48126/* System header to define __stub macros and hopefully few prototypes,
48127    which can conflict with char $ac_func (); below.
48128    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48129    <limits.h> exists even on freestanding compilers.  */
48130
48131#ifdef __STDC__
48132# include <limits.h>
48133#else
48134# include <assert.h>
48135#endif
48136
48137#undef $ac_func
48138
48139/* Override any gcc2 internal prototype to avoid an error.  */
48140#ifdef __cplusplus
48141extern "C"
48142{
48143#endif
48144/* We use char because int might match the return type of a gcc2
48145   builtin and then its argument prototype would still apply.  */
48146char $ac_func ();
48147/* The GNU C library defines this for functions which it implements
48148    to always fail with ENOSYS.  Some functions are actually named
48149    something starting with __ and the normal name is an alias.  */
48150#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48151choke me
48152#else
48153char (*f) () = $ac_func;
48154#endif
48155#ifdef __cplusplus
48156}
48157#endif
48158
48159int
48160main ()
48161{
48162return f != $ac_func;
48163  ;
48164  return 0;
48165}
48166_ACEOF
48167rm -f conftest.$ac_objext conftest$ac_exeext
48168if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48169  (eval $ac_link) 2>conftest.er1
48170  ac_status=$?
48171  grep -v '^ *+' conftest.er1 >conftest.err
48172  rm -f conftest.er1
48173  cat conftest.err >&5
48174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175  (exit $ac_status); } &&
48176	 { ac_try='test -z "$ac_c_werror_flag"
48177			 || test ! -s conftest.err'
48178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48179  (eval $ac_try) 2>&5
48180  ac_status=$?
48181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48182  (exit $ac_status); }; } &&
48183	 { ac_try='test -s conftest$ac_exeext'
48184  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48185  (eval $ac_try) 2>&5
48186  ac_status=$?
48187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48188  (exit $ac_status); }; }; then
48189  eval "$as_ac_var=yes"
48190else
48191  echo "$as_me: failed program was:" >&5
48192sed 's/^/| /' conftest.$ac_ext >&5
48193
48194eval "$as_ac_var=no"
48195fi
48196rm -f conftest.err conftest.$ac_objext \
48197      conftest$ac_exeext conftest.$ac_ext
48198fi
48199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48200echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48201if test `eval echo '${'$as_ac_var'}'` = yes; then
48202  cat >>confdefs.h <<_ACEOF
48203#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48204_ACEOF
48205
48206fi
48207done
48208
48209    fi
48210  fi
48211
48212
48213
48214
48215
48216
48217  echo "$as_me:$LINENO: checking for modfl declaration" >&5
48218echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48219  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48220    if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48221  echo $ECHO_N "(cached) $ECHO_C" >&6
48222else
48223
48224
48225
48226      ac_ext=cc
48227ac_cpp='$CXXCPP $CPPFLAGS'
48228ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48231
48232      cat >conftest.$ac_ext <<_ACEOF
48233/* confdefs.h.  */
48234_ACEOF
48235cat confdefs.h >>conftest.$ac_ext
48236cat >>conftest.$ac_ext <<_ACEOF
48237/* end confdefs.h.  */
48238#include <math.h>
48239int
48240main ()
48241{
48242 modfl(0, 0);
48243  ;
48244  return 0;
48245}
48246_ACEOF
48247rm -f conftest.$ac_objext
48248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48249  (eval $ac_compile) 2>conftest.er1
48250  ac_status=$?
48251  grep -v '^ *+' conftest.er1 >conftest.err
48252  rm -f conftest.er1
48253  cat conftest.err >&5
48254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255  (exit $ac_status); } &&
48256	 { ac_try='test -z "$ac_cxx_werror_flag"
48257			 || test ! -s conftest.err'
48258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259  (eval $ac_try) 2>&5
48260  ac_status=$?
48261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262  (exit $ac_status); }; } &&
48263	 { ac_try='test -s conftest.$ac_objext'
48264  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48265  (eval $ac_try) 2>&5
48266  ac_status=$?
48267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268  (exit $ac_status); }; }; then
48269  glibcxx_cv_func_modfl_use=yes
48270else
48271  echo "$as_me: failed program was:" >&5
48272sed 's/^/| /' conftest.$ac_ext >&5
48273
48274glibcxx_cv_func_modfl_use=no
48275fi
48276rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48277      ac_ext=c
48278ac_cpp='$CPP $CPPFLAGS'
48279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281ac_compiler_gnu=$ac_cv_c_compiler_gnu
48282
48283
48284fi
48285
48286  fi
48287  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48288echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48289
48290  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48291
48292for ac_func in modfl
48293do
48294as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48295echo "$as_me:$LINENO: checking for $ac_func" >&5
48296echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48297if eval "test \"\${$as_ac_var+set}\" = set"; then
48298  echo $ECHO_N "(cached) $ECHO_C" >&6
48299else
48300  if test x$gcc_no_link = xyes; then
48301  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48302echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48303   { (exit 1); exit 1; }; }
48304fi
48305cat >conftest.$ac_ext <<_ACEOF
48306/* confdefs.h.  */
48307_ACEOF
48308cat confdefs.h >>conftest.$ac_ext
48309cat >>conftest.$ac_ext <<_ACEOF
48310/* end confdefs.h.  */
48311/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48312   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48313#define $ac_func innocuous_$ac_func
48314
48315/* System header to define __stub macros and hopefully few prototypes,
48316    which can conflict with char $ac_func (); below.
48317    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48318    <limits.h> exists even on freestanding compilers.  */
48319
48320#ifdef __STDC__
48321# include <limits.h>
48322#else
48323# include <assert.h>
48324#endif
48325
48326#undef $ac_func
48327
48328/* Override any gcc2 internal prototype to avoid an error.  */
48329#ifdef __cplusplus
48330extern "C"
48331{
48332#endif
48333/* We use char because int might match the return type of a gcc2
48334   builtin and then its argument prototype would still apply.  */
48335char $ac_func ();
48336/* The GNU C library defines this for functions which it implements
48337    to always fail with ENOSYS.  Some functions are actually named
48338    something starting with __ and the normal name is an alias.  */
48339#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48340choke me
48341#else
48342char (*f) () = $ac_func;
48343#endif
48344#ifdef __cplusplus
48345}
48346#endif
48347
48348int
48349main ()
48350{
48351return f != $ac_func;
48352  ;
48353  return 0;
48354}
48355_ACEOF
48356rm -f conftest.$ac_objext conftest$ac_exeext
48357if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48358  (eval $ac_link) 2>conftest.er1
48359  ac_status=$?
48360  grep -v '^ *+' conftest.er1 >conftest.err
48361  rm -f conftest.er1
48362  cat conftest.err >&5
48363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48364  (exit $ac_status); } &&
48365	 { ac_try='test -z "$ac_c_werror_flag"
48366			 || test ! -s conftest.err'
48367  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48368  (eval $ac_try) 2>&5
48369  ac_status=$?
48370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371  (exit $ac_status); }; } &&
48372	 { ac_try='test -s conftest$ac_exeext'
48373  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374  (eval $ac_try) 2>&5
48375  ac_status=$?
48376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377  (exit $ac_status); }; }; then
48378  eval "$as_ac_var=yes"
48379else
48380  echo "$as_me: failed program was:" >&5
48381sed 's/^/| /' conftest.$ac_ext >&5
48382
48383eval "$as_ac_var=no"
48384fi
48385rm -f conftest.err conftest.$ac_objext \
48386      conftest$ac_exeext conftest.$ac_ext
48387fi
48388echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48389echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48390if test `eval echo '${'$as_ac_var'}'` = yes; then
48391  cat >>confdefs.h <<_ACEOF
48392#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48393_ACEOF
48394
48395fi
48396done
48397
48398  else
48399
48400  echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48401echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48402  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48403    if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48404  echo $ECHO_N "(cached) $ECHO_C" >&6
48405else
48406
48407
48408
48409      ac_ext=cc
48410ac_cpp='$CXXCPP $CPPFLAGS'
48411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48414
48415      cat >conftest.$ac_ext <<_ACEOF
48416/* confdefs.h.  */
48417_ACEOF
48418cat confdefs.h >>conftest.$ac_ext
48419cat >>conftest.$ac_ext <<_ACEOF
48420/* end confdefs.h.  */
48421#include <math.h>
48422int
48423main ()
48424{
48425 _modfl(0, 0);
48426  ;
48427  return 0;
48428}
48429_ACEOF
48430rm -f conftest.$ac_objext
48431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48432  (eval $ac_compile) 2>conftest.er1
48433  ac_status=$?
48434  grep -v '^ *+' conftest.er1 >conftest.err
48435  rm -f conftest.er1
48436  cat conftest.err >&5
48437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438  (exit $ac_status); } &&
48439	 { ac_try='test -z "$ac_cxx_werror_flag"
48440			 || test ! -s conftest.err'
48441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48442  (eval $ac_try) 2>&5
48443  ac_status=$?
48444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48445  (exit $ac_status); }; } &&
48446	 { ac_try='test -s conftest.$ac_objext'
48447  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48448  (eval $ac_try) 2>&5
48449  ac_status=$?
48450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451  (exit $ac_status); }; }; then
48452  glibcxx_cv_func__modfl_use=yes
48453else
48454  echo "$as_me: failed program was:" >&5
48455sed 's/^/| /' conftest.$ac_ext >&5
48456
48457glibcxx_cv_func__modfl_use=no
48458fi
48459rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48460      ac_ext=c
48461ac_cpp='$CPP $CPPFLAGS'
48462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464ac_compiler_gnu=$ac_cv_c_compiler_gnu
48465
48466
48467fi
48468
48469  fi
48470  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48471echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48472
48473    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48474
48475for ac_func in _modfl
48476do
48477as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48478echo "$as_me:$LINENO: checking for $ac_func" >&5
48479echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48480if eval "test \"\${$as_ac_var+set}\" = set"; then
48481  echo $ECHO_N "(cached) $ECHO_C" >&6
48482else
48483  if test x$gcc_no_link = xyes; then
48484  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48485echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48486   { (exit 1); exit 1; }; }
48487fi
48488cat >conftest.$ac_ext <<_ACEOF
48489/* confdefs.h.  */
48490_ACEOF
48491cat confdefs.h >>conftest.$ac_ext
48492cat >>conftest.$ac_ext <<_ACEOF
48493/* end confdefs.h.  */
48494/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48495   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48496#define $ac_func innocuous_$ac_func
48497
48498/* System header to define __stub macros and hopefully few prototypes,
48499    which can conflict with char $ac_func (); below.
48500    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48501    <limits.h> exists even on freestanding compilers.  */
48502
48503#ifdef __STDC__
48504# include <limits.h>
48505#else
48506# include <assert.h>
48507#endif
48508
48509#undef $ac_func
48510
48511/* Override any gcc2 internal prototype to avoid an error.  */
48512#ifdef __cplusplus
48513extern "C"
48514{
48515#endif
48516/* We use char because int might match the return type of a gcc2
48517   builtin and then its argument prototype would still apply.  */
48518char $ac_func ();
48519/* The GNU C library defines this for functions which it implements
48520    to always fail with ENOSYS.  Some functions are actually named
48521    something starting with __ and the normal name is an alias.  */
48522#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48523choke me
48524#else
48525char (*f) () = $ac_func;
48526#endif
48527#ifdef __cplusplus
48528}
48529#endif
48530
48531int
48532main ()
48533{
48534return f != $ac_func;
48535  ;
48536  return 0;
48537}
48538_ACEOF
48539rm -f conftest.$ac_objext conftest$ac_exeext
48540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48541  (eval $ac_link) 2>conftest.er1
48542  ac_status=$?
48543  grep -v '^ *+' conftest.er1 >conftest.err
48544  rm -f conftest.er1
48545  cat conftest.err >&5
48546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547  (exit $ac_status); } &&
48548	 { ac_try='test -z "$ac_c_werror_flag"
48549			 || test ! -s conftest.err'
48550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48551  (eval $ac_try) 2>&5
48552  ac_status=$?
48553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554  (exit $ac_status); }; } &&
48555	 { ac_try='test -s conftest$ac_exeext'
48556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48557  (eval $ac_try) 2>&5
48558  ac_status=$?
48559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48560  (exit $ac_status); }; }; then
48561  eval "$as_ac_var=yes"
48562else
48563  echo "$as_me: failed program was:" >&5
48564sed 's/^/| /' conftest.$ac_ext >&5
48565
48566eval "$as_ac_var=no"
48567fi
48568rm -f conftest.err conftest.$ac_objext \
48569      conftest$ac_exeext conftest.$ac_ext
48570fi
48571echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48572echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48573if test `eval echo '${'$as_ac_var'}'` = yes; then
48574  cat >>confdefs.h <<_ACEOF
48575#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48576_ACEOF
48577
48578fi
48579done
48580
48581    fi
48582  fi
48583
48584
48585
48586
48587
48588
48589  echo "$as_me:$LINENO: checking for powl declaration" >&5
48590echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48591  if test x${glibcxx_cv_func_powl_use+set} != xset; then
48592    if test "${glibcxx_cv_func_powl_use+set}" = set; then
48593  echo $ECHO_N "(cached) $ECHO_C" >&6
48594else
48595
48596
48597
48598      ac_ext=cc
48599ac_cpp='$CXXCPP $CPPFLAGS'
48600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48603
48604      cat >conftest.$ac_ext <<_ACEOF
48605/* confdefs.h.  */
48606_ACEOF
48607cat confdefs.h >>conftest.$ac_ext
48608cat >>conftest.$ac_ext <<_ACEOF
48609/* end confdefs.h.  */
48610#include <math.h>
48611int
48612main ()
48613{
48614 powl(0, 0);
48615  ;
48616  return 0;
48617}
48618_ACEOF
48619rm -f conftest.$ac_objext
48620if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48621  (eval $ac_compile) 2>conftest.er1
48622  ac_status=$?
48623  grep -v '^ *+' conftest.er1 >conftest.err
48624  rm -f conftest.er1
48625  cat conftest.err >&5
48626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627  (exit $ac_status); } &&
48628	 { ac_try='test -z "$ac_cxx_werror_flag"
48629			 || test ! -s conftest.err'
48630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631  (eval $ac_try) 2>&5
48632  ac_status=$?
48633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634  (exit $ac_status); }; } &&
48635	 { ac_try='test -s conftest.$ac_objext'
48636  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48637  (eval $ac_try) 2>&5
48638  ac_status=$?
48639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640  (exit $ac_status); }; }; then
48641  glibcxx_cv_func_powl_use=yes
48642else
48643  echo "$as_me: failed program was:" >&5
48644sed 's/^/| /' conftest.$ac_ext >&5
48645
48646glibcxx_cv_func_powl_use=no
48647fi
48648rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48649      ac_ext=c
48650ac_cpp='$CPP $CPPFLAGS'
48651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653ac_compiler_gnu=$ac_cv_c_compiler_gnu
48654
48655
48656fi
48657
48658  fi
48659  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48660echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48661
48662  if test x$glibcxx_cv_func_powl_use = x"yes"; then
48663
48664for ac_func in powl
48665do
48666as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48667echo "$as_me:$LINENO: checking for $ac_func" >&5
48668echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48669if eval "test \"\${$as_ac_var+set}\" = set"; then
48670  echo $ECHO_N "(cached) $ECHO_C" >&6
48671else
48672  if test x$gcc_no_link = xyes; then
48673  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48674echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48675   { (exit 1); exit 1; }; }
48676fi
48677cat >conftest.$ac_ext <<_ACEOF
48678/* confdefs.h.  */
48679_ACEOF
48680cat confdefs.h >>conftest.$ac_ext
48681cat >>conftest.$ac_ext <<_ACEOF
48682/* end confdefs.h.  */
48683/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48684   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48685#define $ac_func innocuous_$ac_func
48686
48687/* System header to define __stub macros and hopefully few prototypes,
48688    which can conflict with char $ac_func (); below.
48689    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48690    <limits.h> exists even on freestanding compilers.  */
48691
48692#ifdef __STDC__
48693# include <limits.h>
48694#else
48695# include <assert.h>
48696#endif
48697
48698#undef $ac_func
48699
48700/* Override any gcc2 internal prototype to avoid an error.  */
48701#ifdef __cplusplus
48702extern "C"
48703{
48704#endif
48705/* We use char because int might match the return type of a gcc2
48706   builtin and then its argument prototype would still apply.  */
48707char $ac_func ();
48708/* The GNU C library defines this for functions which it implements
48709    to always fail with ENOSYS.  Some functions are actually named
48710    something starting with __ and the normal name is an alias.  */
48711#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48712choke me
48713#else
48714char (*f) () = $ac_func;
48715#endif
48716#ifdef __cplusplus
48717}
48718#endif
48719
48720int
48721main ()
48722{
48723return f != $ac_func;
48724  ;
48725  return 0;
48726}
48727_ACEOF
48728rm -f conftest.$ac_objext conftest$ac_exeext
48729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48730  (eval $ac_link) 2>conftest.er1
48731  ac_status=$?
48732  grep -v '^ *+' conftest.er1 >conftest.err
48733  rm -f conftest.er1
48734  cat conftest.err >&5
48735  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736  (exit $ac_status); } &&
48737	 { ac_try='test -z "$ac_c_werror_flag"
48738			 || test ! -s conftest.err'
48739  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48740  (eval $ac_try) 2>&5
48741  ac_status=$?
48742  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48743  (exit $ac_status); }; } &&
48744	 { ac_try='test -s conftest$ac_exeext'
48745  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48746  (eval $ac_try) 2>&5
48747  ac_status=$?
48748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749  (exit $ac_status); }; }; then
48750  eval "$as_ac_var=yes"
48751else
48752  echo "$as_me: failed program was:" >&5
48753sed 's/^/| /' conftest.$ac_ext >&5
48754
48755eval "$as_ac_var=no"
48756fi
48757rm -f conftest.err conftest.$ac_objext \
48758      conftest$ac_exeext conftest.$ac_ext
48759fi
48760echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48761echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48762if test `eval echo '${'$as_ac_var'}'` = yes; then
48763  cat >>confdefs.h <<_ACEOF
48764#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48765_ACEOF
48766
48767fi
48768done
48769
48770  else
48771
48772  echo "$as_me:$LINENO: checking for _powl declaration" >&5
48773echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48774  if test x${glibcxx_cv_func__powl_use+set} != xset; then
48775    if test "${glibcxx_cv_func__powl_use+set}" = set; then
48776  echo $ECHO_N "(cached) $ECHO_C" >&6
48777else
48778
48779
48780
48781      ac_ext=cc
48782ac_cpp='$CXXCPP $CPPFLAGS'
48783ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48784ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48785ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48786
48787      cat >conftest.$ac_ext <<_ACEOF
48788/* confdefs.h.  */
48789_ACEOF
48790cat confdefs.h >>conftest.$ac_ext
48791cat >>conftest.$ac_ext <<_ACEOF
48792/* end confdefs.h.  */
48793#include <math.h>
48794int
48795main ()
48796{
48797 _powl(0, 0);
48798  ;
48799  return 0;
48800}
48801_ACEOF
48802rm -f conftest.$ac_objext
48803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48804  (eval $ac_compile) 2>conftest.er1
48805  ac_status=$?
48806  grep -v '^ *+' conftest.er1 >conftest.err
48807  rm -f conftest.er1
48808  cat conftest.err >&5
48809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810  (exit $ac_status); } &&
48811	 { ac_try='test -z "$ac_cxx_werror_flag"
48812			 || test ! -s conftest.err'
48813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48814  (eval $ac_try) 2>&5
48815  ac_status=$?
48816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817  (exit $ac_status); }; } &&
48818	 { ac_try='test -s conftest.$ac_objext'
48819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48820  (eval $ac_try) 2>&5
48821  ac_status=$?
48822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823  (exit $ac_status); }; }; then
48824  glibcxx_cv_func__powl_use=yes
48825else
48826  echo "$as_me: failed program was:" >&5
48827sed 's/^/| /' conftest.$ac_ext >&5
48828
48829glibcxx_cv_func__powl_use=no
48830fi
48831rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48832      ac_ext=c
48833ac_cpp='$CPP $CPPFLAGS'
48834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836ac_compiler_gnu=$ac_cv_c_compiler_gnu
48837
48838
48839fi
48840
48841  fi
48842  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48843echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48844
48845    if test x$glibcxx_cv_func__powl_use = x"yes"; then
48846
48847for ac_func in _powl
48848do
48849as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48850echo "$as_me:$LINENO: checking for $ac_func" >&5
48851echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48852if eval "test \"\${$as_ac_var+set}\" = set"; then
48853  echo $ECHO_N "(cached) $ECHO_C" >&6
48854else
48855  if test x$gcc_no_link = xyes; then
48856  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48857echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48858   { (exit 1); exit 1; }; }
48859fi
48860cat >conftest.$ac_ext <<_ACEOF
48861/* confdefs.h.  */
48862_ACEOF
48863cat confdefs.h >>conftest.$ac_ext
48864cat >>conftest.$ac_ext <<_ACEOF
48865/* end confdefs.h.  */
48866/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48867   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48868#define $ac_func innocuous_$ac_func
48869
48870/* System header to define __stub macros and hopefully few prototypes,
48871    which can conflict with char $ac_func (); below.
48872    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48873    <limits.h> exists even on freestanding compilers.  */
48874
48875#ifdef __STDC__
48876# include <limits.h>
48877#else
48878# include <assert.h>
48879#endif
48880
48881#undef $ac_func
48882
48883/* Override any gcc2 internal prototype to avoid an error.  */
48884#ifdef __cplusplus
48885extern "C"
48886{
48887#endif
48888/* We use char because int might match the return type of a gcc2
48889   builtin and then its argument prototype would still apply.  */
48890char $ac_func ();
48891/* The GNU C library defines this for functions which it implements
48892    to always fail with ENOSYS.  Some functions are actually named
48893    something starting with __ and the normal name is an alias.  */
48894#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48895choke me
48896#else
48897char (*f) () = $ac_func;
48898#endif
48899#ifdef __cplusplus
48900}
48901#endif
48902
48903int
48904main ()
48905{
48906return f != $ac_func;
48907  ;
48908  return 0;
48909}
48910_ACEOF
48911rm -f conftest.$ac_objext conftest$ac_exeext
48912if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48913  (eval $ac_link) 2>conftest.er1
48914  ac_status=$?
48915  grep -v '^ *+' conftest.er1 >conftest.err
48916  rm -f conftest.er1
48917  cat conftest.err >&5
48918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919  (exit $ac_status); } &&
48920	 { ac_try='test -z "$ac_c_werror_flag"
48921			 || test ! -s conftest.err'
48922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48923  (eval $ac_try) 2>&5
48924  ac_status=$?
48925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48926  (exit $ac_status); }; } &&
48927	 { ac_try='test -s conftest$ac_exeext'
48928  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48929  (eval $ac_try) 2>&5
48930  ac_status=$?
48931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48932  (exit $ac_status); }; }; then
48933  eval "$as_ac_var=yes"
48934else
48935  echo "$as_me: failed program was:" >&5
48936sed 's/^/| /' conftest.$ac_ext >&5
48937
48938eval "$as_ac_var=no"
48939fi
48940rm -f conftest.err conftest.$ac_objext \
48941      conftest$ac_exeext conftest.$ac_ext
48942fi
48943echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48944echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48945if test `eval echo '${'$as_ac_var'}'` = yes; then
48946  cat >>confdefs.h <<_ACEOF
48947#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48948_ACEOF
48949
48950fi
48951done
48952
48953    fi
48954  fi
48955
48956
48957
48958
48959
48960
48961  echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48962echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48963  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48964    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48965  echo $ECHO_N "(cached) $ECHO_C" >&6
48966else
48967
48968
48969
48970      ac_ext=cc
48971ac_cpp='$CXXCPP $CPPFLAGS'
48972ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48975
48976      cat >conftest.$ac_ext <<_ACEOF
48977/* confdefs.h.  */
48978_ACEOF
48979cat confdefs.h >>conftest.$ac_ext
48980cat >>conftest.$ac_ext <<_ACEOF
48981/* end confdefs.h.  */
48982#include <math.h>
48983		      #ifdef HAVE_IEEEFP_H
48984		      #include <ieeefp.h>
48985		      #endif
48986
48987int
48988main ()
48989{
48990 sqrtl(0);
48991  ;
48992  return 0;
48993}
48994_ACEOF
48995rm -f conftest.$ac_objext
48996if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48997  (eval $ac_compile) 2>conftest.er1
48998  ac_status=$?
48999  grep -v '^ *+' conftest.er1 >conftest.err
49000  rm -f conftest.er1
49001  cat conftest.err >&5
49002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003  (exit $ac_status); } &&
49004	 { ac_try='test -z "$ac_cxx_werror_flag"
49005			 || test ! -s conftest.err'
49006  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49007  (eval $ac_try) 2>&5
49008  ac_status=$?
49009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49010  (exit $ac_status); }; } &&
49011	 { ac_try='test -s conftest.$ac_objext'
49012  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49013  (eval $ac_try) 2>&5
49014  ac_status=$?
49015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016  (exit $ac_status); }; }; then
49017  glibcxx_cv_func_sqrtl_use=yes
49018else
49019  echo "$as_me: failed program was:" >&5
49020sed 's/^/| /' conftest.$ac_ext >&5
49021
49022glibcxx_cv_func_sqrtl_use=no
49023fi
49024rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49025      ac_ext=c
49026ac_cpp='$CPP $CPPFLAGS'
49027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029ac_compiler_gnu=$ac_cv_c_compiler_gnu
49030
49031
49032fi
49033
49034  fi
49035  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49036echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49037
49038  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49039
49040for ac_func in sqrtl
49041do
49042as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49043echo "$as_me:$LINENO: checking for $ac_func" >&5
49044echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49045if eval "test \"\${$as_ac_var+set}\" = set"; then
49046  echo $ECHO_N "(cached) $ECHO_C" >&6
49047else
49048  if test x$gcc_no_link = xyes; then
49049  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49050echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49051   { (exit 1); exit 1; }; }
49052fi
49053cat >conftest.$ac_ext <<_ACEOF
49054/* confdefs.h.  */
49055_ACEOF
49056cat confdefs.h >>conftest.$ac_ext
49057cat >>conftest.$ac_ext <<_ACEOF
49058/* end confdefs.h.  */
49059/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49060   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49061#define $ac_func innocuous_$ac_func
49062
49063/* System header to define __stub macros and hopefully few prototypes,
49064    which can conflict with char $ac_func (); below.
49065    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49066    <limits.h> exists even on freestanding compilers.  */
49067
49068#ifdef __STDC__
49069# include <limits.h>
49070#else
49071# include <assert.h>
49072#endif
49073
49074#undef $ac_func
49075
49076/* Override any gcc2 internal prototype to avoid an error.  */
49077#ifdef __cplusplus
49078extern "C"
49079{
49080#endif
49081/* We use char because int might match the return type of a gcc2
49082   builtin and then its argument prototype would still apply.  */
49083char $ac_func ();
49084/* The GNU C library defines this for functions which it implements
49085    to always fail with ENOSYS.  Some functions are actually named
49086    something starting with __ and the normal name is an alias.  */
49087#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49088choke me
49089#else
49090char (*f) () = $ac_func;
49091#endif
49092#ifdef __cplusplus
49093}
49094#endif
49095
49096int
49097main ()
49098{
49099return f != $ac_func;
49100  ;
49101  return 0;
49102}
49103_ACEOF
49104rm -f conftest.$ac_objext conftest$ac_exeext
49105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49106  (eval $ac_link) 2>conftest.er1
49107  ac_status=$?
49108  grep -v '^ *+' conftest.er1 >conftest.err
49109  rm -f conftest.er1
49110  cat conftest.err >&5
49111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112  (exit $ac_status); } &&
49113	 { ac_try='test -z "$ac_c_werror_flag"
49114			 || test ! -s conftest.err'
49115  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49116  (eval $ac_try) 2>&5
49117  ac_status=$?
49118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119  (exit $ac_status); }; } &&
49120	 { ac_try='test -s conftest$ac_exeext'
49121  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49122  (eval $ac_try) 2>&5
49123  ac_status=$?
49124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49125  (exit $ac_status); }; }; then
49126  eval "$as_ac_var=yes"
49127else
49128  echo "$as_me: failed program was:" >&5
49129sed 's/^/| /' conftest.$ac_ext >&5
49130
49131eval "$as_ac_var=no"
49132fi
49133rm -f conftest.err conftest.$ac_objext \
49134      conftest$ac_exeext conftest.$ac_ext
49135fi
49136echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49137echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49138if test `eval echo '${'$as_ac_var'}'` = yes; then
49139  cat >>confdefs.h <<_ACEOF
49140#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49141_ACEOF
49142
49143fi
49144done
49145
49146  else
49147
49148  echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49149echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49150  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49151    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49152  echo $ECHO_N "(cached) $ECHO_C" >&6
49153else
49154
49155
49156
49157      ac_ext=cc
49158ac_cpp='$CXXCPP $CPPFLAGS'
49159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49162
49163      cat >conftest.$ac_ext <<_ACEOF
49164/* confdefs.h.  */
49165_ACEOF
49166cat confdefs.h >>conftest.$ac_ext
49167cat >>conftest.$ac_ext <<_ACEOF
49168/* end confdefs.h.  */
49169#include <math.h>
49170		      #ifdef HAVE_IEEEFP_H
49171		      #include <ieeefp.h>
49172		      #endif
49173
49174int
49175main ()
49176{
49177 _sqrtl(0);
49178  ;
49179  return 0;
49180}
49181_ACEOF
49182rm -f conftest.$ac_objext
49183if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49184  (eval $ac_compile) 2>conftest.er1
49185  ac_status=$?
49186  grep -v '^ *+' conftest.er1 >conftest.err
49187  rm -f conftest.er1
49188  cat conftest.err >&5
49189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190  (exit $ac_status); } &&
49191	 { ac_try='test -z "$ac_cxx_werror_flag"
49192			 || test ! -s conftest.err'
49193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194  (eval $ac_try) 2>&5
49195  ac_status=$?
49196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197  (exit $ac_status); }; } &&
49198	 { ac_try='test -s conftest.$ac_objext'
49199  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200  (eval $ac_try) 2>&5
49201  ac_status=$?
49202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203  (exit $ac_status); }; }; then
49204  glibcxx_cv_func__sqrtl_use=yes
49205else
49206  echo "$as_me: failed program was:" >&5
49207sed 's/^/| /' conftest.$ac_ext >&5
49208
49209glibcxx_cv_func__sqrtl_use=no
49210fi
49211rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49212      ac_ext=c
49213ac_cpp='$CPP $CPPFLAGS'
49214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216ac_compiler_gnu=$ac_cv_c_compiler_gnu
49217
49218
49219fi
49220
49221  fi
49222  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49223echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49224
49225    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49226
49227for ac_func in _sqrtl
49228do
49229as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49230echo "$as_me:$LINENO: checking for $ac_func" >&5
49231echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49232if eval "test \"\${$as_ac_var+set}\" = set"; then
49233  echo $ECHO_N "(cached) $ECHO_C" >&6
49234else
49235  if test x$gcc_no_link = xyes; then
49236  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49237echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49238   { (exit 1); exit 1; }; }
49239fi
49240cat >conftest.$ac_ext <<_ACEOF
49241/* confdefs.h.  */
49242_ACEOF
49243cat confdefs.h >>conftest.$ac_ext
49244cat >>conftest.$ac_ext <<_ACEOF
49245/* end confdefs.h.  */
49246/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49247   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49248#define $ac_func innocuous_$ac_func
49249
49250/* System header to define __stub macros and hopefully few prototypes,
49251    which can conflict with char $ac_func (); below.
49252    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49253    <limits.h> exists even on freestanding compilers.  */
49254
49255#ifdef __STDC__
49256# include <limits.h>
49257#else
49258# include <assert.h>
49259#endif
49260
49261#undef $ac_func
49262
49263/* Override any gcc2 internal prototype to avoid an error.  */
49264#ifdef __cplusplus
49265extern "C"
49266{
49267#endif
49268/* We use char because int might match the return type of a gcc2
49269   builtin and then its argument prototype would still apply.  */
49270char $ac_func ();
49271/* The GNU C library defines this for functions which it implements
49272    to always fail with ENOSYS.  Some functions are actually named
49273    something starting with __ and the normal name is an alias.  */
49274#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49275choke me
49276#else
49277char (*f) () = $ac_func;
49278#endif
49279#ifdef __cplusplus
49280}
49281#endif
49282
49283int
49284main ()
49285{
49286return f != $ac_func;
49287  ;
49288  return 0;
49289}
49290_ACEOF
49291rm -f conftest.$ac_objext conftest$ac_exeext
49292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49293  (eval $ac_link) 2>conftest.er1
49294  ac_status=$?
49295  grep -v '^ *+' conftest.er1 >conftest.err
49296  rm -f conftest.er1
49297  cat conftest.err >&5
49298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299  (exit $ac_status); } &&
49300	 { ac_try='test -z "$ac_c_werror_flag"
49301			 || test ! -s conftest.err'
49302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49303  (eval $ac_try) 2>&5
49304  ac_status=$?
49305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49306  (exit $ac_status); }; } &&
49307	 { ac_try='test -s conftest$ac_exeext'
49308  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49309  (eval $ac_try) 2>&5
49310  ac_status=$?
49311  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49312  (exit $ac_status); }; }; then
49313  eval "$as_ac_var=yes"
49314else
49315  echo "$as_me: failed program was:" >&5
49316sed 's/^/| /' conftest.$ac_ext >&5
49317
49318eval "$as_ac_var=no"
49319fi
49320rm -f conftest.err conftest.$ac_objext \
49321      conftest$ac_exeext conftest.$ac_ext
49322fi
49323echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49324echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49325if test `eval echo '${'$as_ac_var'}'` = yes; then
49326  cat >>confdefs.h <<_ACEOF
49327#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49328_ACEOF
49329
49330fi
49331done
49332
49333    fi
49334  fi
49335
49336
49337
49338
49339
49340
49341  echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49342echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49343  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49344    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49345  echo $ECHO_N "(cached) $ECHO_C" >&6
49346else
49347
49348
49349
49350      ac_ext=cc
49351ac_cpp='$CXXCPP $CPPFLAGS'
49352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49355
49356      cat >conftest.$ac_ext <<_ACEOF
49357/* confdefs.h.  */
49358_ACEOF
49359cat confdefs.h >>conftest.$ac_ext
49360cat >>conftest.$ac_ext <<_ACEOF
49361/* end confdefs.h.  */
49362#include <math.h>
49363int
49364main ()
49365{
49366 sincosl(0, 0, 0);
49367  ;
49368  return 0;
49369}
49370_ACEOF
49371rm -f conftest.$ac_objext
49372if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49373  (eval $ac_compile) 2>conftest.er1
49374  ac_status=$?
49375  grep -v '^ *+' conftest.er1 >conftest.err
49376  rm -f conftest.er1
49377  cat conftest.err >&5
49378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379  (exit $ac_status); } &&
49380	 { ac_try='test -z "$ac_cxx_werror_flag"
49381			 || test ! -s conftest.err'
49382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383  (eval $ac_try) 2>&5
49384  ac_status=$?
49385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386  (exit $ac_status); }; } &&
49387	 { ac_try='test -s conftest.$ac_objext'
49388  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49389  (eval $ac_try) 2>&5
49390  ac_status=$?
49391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392  (exit $ac_status); }; }; then
49393  glibcxx_cv_func_sincosl_use=yes
49394else
49395  echo "$as_me: failed program was:" >&5
49396sed 's/^/| /' conftest.$ac_ext >&5
49397
49398glibcxx_cv_func_sincosl_use=no
49399fi
49400rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49401      ac_ext=c
49402ac_cpp='$CPP $CPPFLAGS'
49403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49405ac_compiler_gnu=$ac_cv_c_compiler_gnu
49406
49407
49408fi
49409
49410  fi
49411  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49412echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49413
49414  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49415
49416for ac_func in sincosl
49417do
49418as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49419echo "$as_me:$LINENO: checking for $ac_func" >&5
49420echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49421if eval "test \"\${$as_ac_var+set}\" = set"; then
49422  echo $ECHO_N "(cached) $ECHO_C" >&6
49423else
49424  if test x$gcc_no_link = xyes; then
49425  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49426echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49427   { (exit 1); exit 1; }; }
49428fi
49429cat >conftest.$ac_ext <<_ACEOF
49430/* confdefs.h.  */
49431_ACEOF
49432cat confdefs.h >>conftest.$ac_ext
49433cat >>conftest.$ac_ext <<_ACEOF
49434/* end confdefs.h.  */
49435/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49436   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49437#define $ac_func innocuous_$ac_func
49438
49439/* System header to define __stub macros and hopefully few prototypes,
49440    which can conflict with char $ac_func (); below.
49441    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49442    <limits.h> exists even on freestanding compilers.  */
49443
49444#ifdef __STDC__
49445# include <limits.h>
49446#else
49447# include <assert.h>
49448#endif
49449
49450#undef $ac_func
49451
49452/* Override any gcc2 internal prototype to avoid an error.  */
49453#ifdef __cplusplus
49454extern "C"
49455{
49456#endif
49457/* We use char because int might match the return type of a gcc2
49458   builtin and then its argument prototype would still apply.  */
49459char $ac_func ();
49460/* The GNU C library defines this for functions which it implements
49461    to always fail with ENOSYS.  Some functions are actually named
49462    something starting with __ and the normal name is an alias.  */
49463#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49464choke me
49465#else
49466char (*f) () = $ac_func;
49467#endif
49468#ifdef __cplusplus
49469}
49470#endif
49471
49472int
49473main ()
49474{
49475return f != $ac_func;
49476  ;
49477  return 0;
49478}
49479_ACEOF
49480rm -f conftest.$ac_objext conftest$ac_exeext
49481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49482  (eval $ac_link) 2>conftest.er1
49483  ac_status=$?
49484  grep -v '^ *+' conftest.er1 >conftest.err
49485  rm -f conftest.er1
49486  cat conftest.err >&5
49487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49488  (exit $ac_status); } &&
49489	 { ac_try='test -z "$ac_c_werror_flag"
49490			 || test ! -s conftest.err'
49491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49492  (eval $ac_try) 2>&5
49493  ac_status=$?
49494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49495  (exit $ac_status); }; } &&
49496	 { ac_try='test -s conftest$ac_exeext'
49497  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49498  (eval $ac_try) 2>&5
49499  ac_status=$?
49500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501  (exit $ac_status); }; }; then
49502  eval "$as_ac_var=yes"
49503else
49504  echo "$as_me: failed program was:" >&5
49505sed 's/^/| /' conftest.$ac_ext >&5
49506
49507eval "$as_ac_var=no"
49508fi
49509rm -f conftest.err conftest.$ac_objext \
49510      conftest$ac_exeext conftest.$ac_ext
49511fi
49512echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49513echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49514if test `eval echo '${'$as_ac_var'}'` = yes; then
49515  cat >>confdefs.h <<_ACEOF
49516#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49517_ACEOF
49518
49519fi
49520done
49521
49522  else
49523
49524  echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49525echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49526  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49527    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49528  echo $ECHO_N "(cached) $ECHO_C" >&6
49529else
49530
49531
49532
49533      ac_ext=cc
49534ac_cpp='$CXXCPP $CPPFLAGS'
49535ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49538
49539      cat >conftest.$ac_ext <<_ACEOF
49540/* confdefs.h.  */
49541_ACEOF
49542cat confdefs.h >>conftest.$ac_ext
49543cat >>conftest.$ac_ext <<_ACEOF
49544/* end confdefs.h.  */
49545#include <math.h>
49546int
49547main ()
49548{
49549 _sincosl(0, 0, 0);
49550  ;
49551  return 0;
49552}
49553_ACEOF
49554rm -f conftest.$ac_objext
49555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49556  (eval $ac_compile) 2>conftest.er1
49557  ac_status=$?
49558  grep -v '^ *+' conftest.er1 >conftest.err
49559  rm -f conftest.er1
49560  cat conftest.err >&5
49561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49562  (exit $ac_status); } &&
49563	 { ac_try='test -z "$ac_cxx_werror_flag"
49564			 || test ! -s conftest.err'
49565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49566  (eval $ac_try) 2>&5
49567  ac_status=$?
49568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49569  (exit $ac_status); }; } &&
49570	 { ac_try='test -s conftest.$ac_objext'
49571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49572  (eval $ac_try) 2>&5
49573  ac_status=$?
49574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49575  (exit $ac_status); }; }; then
49576  glibcxx_cv_func__sincosl_use=yes
49577else
49578  echo "$as_me: failed program was:" >&5
49579sed 's/^/| /' conftest.$ac_ext >&5
49580
49581glibcxx_cv_func__sincosl_use=no
49582fi
49583rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49584      ac_ext=c
49585ac_cpp='$CPP $CPPFLAGS'
49586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588ac_compiler_gnu=$ac_cv_c_compiler_gnu
49589
49590
49591fi
49592
49593  fi
49594  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49595echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49596
49597    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49598
49599for ac_func in _sincosl
49600do
49601as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49602echo "$as_me:$LINENO: checking for $ac_func" >&5
49603echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49604if eval "test \"\${$as_ac_var+set}\" = set"; then
49605  echo $ECHO_N "(cached) $ECHO_C" >&6
49606else
49607  if test x$gcc_no_link = xyes; then
49608  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49609echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49610   { (exit 1); exit 1; }; }
49611fi
49612cat >conftest.$ac_ext <<_ACEOF
49613/* confdefs.h.  */
49614_ACEOF
49615cat confdefs.h >>conftest.$ac_ext
49616cat >>conftest.$ac_ext <<_ACEOF
49617/* end confdefs.h.  */
49618/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49619   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49620#define $ac_func innocuous_$ac_func
49621
49622/* System header to define __stub macros and hopefully few prototypes,
49623    which can conflict with char $ac_func (); below.
49624    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49625    <limits.h> exists even on freestanding compilers.  */
49626
49627#ifdef __STDC__
49628# include <limits.h>
49629#else
49630# include <assert.h>
49631#endif
49632
49633#undef $ac_func
49634
49635/* Override any gcc2 internal prototype to avoid an error.  */
49636#ifdef __cplusplus
49637extern "C"
49638{
49639#endif
49640/* We use char because int might match the return type of a gcc2
49641   builtin and then its argument prototype would still apply.  */
49642char $ac_func ();
49643/* The GNU C library defines this for functions which it implements
49644    to always fail with ENOSYS.  Some functions are actually named
49645    something starting with __ and the normal name is an alias.  */
49646#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49647choke me
49648#else
49649char (*f) () = $ac_func;
49650#endif
49651#ifdef __cplusplus
49652}
49653#endif
49654
49655int
49656main ()
49657{
49658return f != $ac_func;
49659  ;
49660  return 0;
49661}
49662_ACEOF
49663rm -f conftest.$ac_objext conftest$ac_exeext
49664if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49665  (eval $ac_link) 2>conftest.er1
49666  ac_status=$?
49667  grep -v '^ *+' conftest.er1 >conftest.err
49668  rm -f conftest.er1
49669  cat conftest.err >&5
49670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49671  (exit $ac_status); } &&
49672	 { ac_try='test -z "$ac_c_werror_flag"
49673			 || test ! -s conftest.err'
49674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49675  (eval $ac_try) 2>&5
49676  ac_status=$?
49677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49678  (exit $ac_status); }; } &&
49679	 { ac_try='test -s conftest$ac_exeext'
49680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49681  (eval $ac_try) 2>&5
49682  ac_status=$?
49683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49684  (exit $ac_status); }; }; then
49685  eval "$as_ac_var=yes"
49686else
49687  echo "$as_me: failed program was:" >&5
49688sed 's/^/| /' conftest.$ac_ext >&5
49689
49690eval "$as_ac_var=no"
49691fi
49692rm -f conftest.err conftest.$ac_objext \
49693      conftest$ac_exeext conftest.$ac_ext
49694fi
49695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49696echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49697if test `eval echo '${'$as_ac_var'}'` = yes; then
49698  cat >>confdefs.h <<_ACEOF
49699#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49700_ACEOF
49701
49702fi
49703done
49704
49705    fi
49706  fi
49707
49708
49709
49710
49711
49712
49713  echo "$as_me:$LINENO: checking for finitel declaration" >&5
49714echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49715  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49716    if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49717  echo $ECHO_N "(cached) $ECHO_C" >&6
49718else
49719
49720
49721
49722      ac_ext=cc
49723ac_cpp='$CXXCPP $CPPFLAGS'
49724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49727
49728      cat >conftest.$ac_ext <<_ACEOF
49729/* confdefs.h.  */
49730_ACEOF
49731cat confdefs.h >>conftest.$ac_ext
49732cat >>conftest.$ac_ext <<_ACEOF
49733/* end confdefs.h.  */
49734#include <math.h>
49735		      #ifdef HAVE_IEEEFP_H
49736		      #include <ieeefp.h>
49737		      #endif
49738
49739int
49740main ()
49741{
49742 finitel(0);
49743  ;
49744  return 0;
49745}
49746_ACEOF
49747rm -f conftest.$ac_objext
49748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49749  (eval $ac_compile) 2>conftest.er1
49750  ac_status=$?
49751  grep -v '^ *+' conftest.er1 >conftest.err
49752  rm -f conftest.er1
49753  cat conftest.err >&5
49754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49755  (exit $ac_status); } &&
49756	 { ac_try='test -z "$ac_cxx_werror_flag"
49757			 || test ! -s conftest.err'
49758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49759  (eval $ac_try) 2>&5
49760  ac_status=$?
49761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49762  (exit $ac_status); }; } &&
49763	 { ac_try='test -s conftest.$ac_objext'
49764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49765  (eval $ac_try) 2>&5
49766  ac_status=$?
49767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49768  (exit $ac_status); }; }; then
49769  glibcxx_cv_func_finitel_use=yes
49770else
49771  echo "$as_me: failed program was:" >&5
49772sed 's/^/| /' conftest.$ac_ext >&5
49773
49774glibcxx_cv_func_finitel_use=no
49775fi
49776rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49777      ac_ext=c
49778ac_cpp='$CPP $CPPFLAGS'
49779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782
49783
49784fi
49785
49786  fi
49787  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49788echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49789
49790  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49791
49792for ac_func in finitel
49793do
49794as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49795echo "$as_me:$LINENO: checking for $ac_func" >&5
49796echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49797if eval "test \"\${$as_ac_var+set}\" = set"; then
49798  echo $ECHO_N "(cached) $ECHO_C" >&6
49799else
49800  if test x$gcc_no_link = xyes; then
49801  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49802echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49803   { (exit 1); exit 1; }; }
49804fi
49805cat >conftest.$ac_ext <<_ACEOF
49806/* confdefs.h.  */
49807_ACEOF
49808cat confdefs.h >>conftest.$ac_ext
49809cat >>conftest.$ac_ext <<_ACEOF
49810/* end confdefs.h.  */
49811/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49812   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49813#define $ac_func innocuous_$ac_func
49814
49815/* System header to define __stub macros and hopefully few prototypes,
49816    which can conflict with char $ac_func (); below.
49817    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49818    <limits.h> exists even on freestanding compilers.  */
49819
49820#ifdef __STDC__
49821# include <limits.h>
49822#else
49823# include <assert.h>
49824#endif
49825
49826#undef $ac_func
49827
49828/* Override any gcc2 internal prototype to avoid an error.  */
49829#ifdef __cplusplus
49830extern "C"
49831{
49832#endif
49833/* We use char because int might match the return type of a gcc2
49834   builtin and then its argument prototype would still apply.  */
49835char $ac_func ();
49836/* The GNU C library defines this for functions which it implements
49837    to always fail with ENOSYS.  Some functions are actually named
49838    something starting with __ and the normal name is an alias.  */
49839#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49840choke me
49841#else
49842char (*f) () = $ac_func;
49843#endif
49844#ifdef __cplusplus
49845}
49846#endif
49847
49848int
49849main ()
49850{
49851return f != $ac_func;
49852  ;
49853  return 0;
49854}
49855_ACEOF
49856rm -f conftest.$ac_objext conftest$ac_exeext
49857if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49858  (eval $ac_link) 2>conftest.er1
49859  ac_status=$?
49860  grep -v '^ *+' conftest.er1 >conftest.err
49861  rm -f conftest.er1
49862  cat conftest.err >&5
49863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49864  (exit $ac_status); } &&
49865	 { ac_try='test -z "$ac_c_werror_flag"
49866			 || test ! -s conftest.err'
49867  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49868  (eval $ac_try) 2>&5
49869  ac_status=$?
49870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49871  (exit $ac_status); }; } &&
49872	 { ac_try='test -s conftest$ac_exeext'
49873  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49874  (eval $ac_try) 2>&5
49875  ac_status=$?
49876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49877  (exit $ac_status); }; }; then
49878  eval "$as_ac_var=yes"
49879else
49880  echo "$as_me: failed program was:" >&5
49881sed 's/^/| /' conftest.$ac_ext >&5
49882
49883eval "$as_ac_var=no"
49884fi
49885rm -f conftest.err conftest.$ac_objext \
49886      conftest$ac_exeext conftest.$ac_ext
49887fi
49888echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49889echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49890if test `eval echo '${'$as_ac_var'}'` = yes; then
49891  cat >>confdefs.h <<_ACEOF
49892#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49893_ACEOF
49894
49895fi
49896done
49897
49898  else
49899
49900  echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49901echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49902  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49903    if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49904  echo $ECHO_N "(cached) $ECHO_C" >&6
49905else
49906
49907
49908
49909      ac_ext=cc
49910ac_cpp='$CXXCPP $CPPFLAGS'
49911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49914
49915      cat >conftest.$ac_ext <<_ACEOF
49916/* confdefs.h.  */
49917_ACEOF
49918cat confdefs.h >>conftest.$ac_ext
49919cat >>conftest.$ac_ext <<_ACEOF
49920/* end confdefs.h.  */
49921#include <math.h>
49922		      #ifdef HAVE_IEEEFP_H
49923		      #include <ieeefp.h>
49924		      #endif
49925
49926int
49927main ()
49928{
49929 _finitel(0);
49930  ;
49931  return 0;
49932}
49933_ACEOF
49934rm -f conftest.$ac_objext
49935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49936  (eval $ac_compile) 2>conftest.er1
49937  ac_status=$?
49938  grep -v '^ *+' conftest.er1 >conftest.err
49939  rm -f conftest.er1
49940  cat conftest.err >&5
49941  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942  (exit $ac_status); } &&
49943	 { ac_try='test -z "$ac_cxx_werror_flag"
49944			 || test ! -s conftest.err'
49945  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49946  (eval $ac_try) 2>&5
49947  ac_status=$?
49948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49949  (exit $ac_status); }; } &&
49950	 { ac_try='test -s conftest.$ac_objext'
49951  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49952  (eval $ac_try) 2>&5
49953  ac_status=$?
49954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49955  (exit $ac_status); }; }; then
49956  glibcxx_cv_func__finitel_use=yes
49957else
49958  echo "$as_me: failed program was:" >&5
49959sed 's/^/| /' conftest.$ac_ext >&5
49960
49961glibcxx_cv_func__finitel_use=no
49962fi
49963rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49964      ac_ext=c
49965ac_cpp='$CPP $CPPFLAGS'
49966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968ac_compiler_gnu=$ac_cv_c_compiler_gnu
49969
49970
49971fi
49972
49973  fi
49974  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49975echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49976
49977    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49978
49979for ac_func in _finitel
49980do
49981as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49982echo "$as_me:$LINENO: checking for $ac_func" >&5
49983echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49984if eval "test \"\${$as_ac_var+set}\" = set"; then
49985  echo $ECHO_N "(cached) $ECHO_C" >&6
49986else
49987  if test x$gcc_no_link = xyes; then
49988  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49989echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49990   { (exit 1); exit 1; }; }
49991fi
49992cat >conftest.$ac_ext <<_ACEOF
49993/* confdefs.h.  */
49994_ACEOF
49995cat confdefs.h >>conftest.$ac_ext
49996cat >>conftest.$ac_ext <<_ACEOF
49997/* end confdefs.h.  */
49998/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49999   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50000#define $ac_func innocuous_$ac_func
50001
50002/* System header to define __stub macros and hopefully few prototypes,
50003    which can conflict with char $ac_func (); below.
50004    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50005    <limits.h> exists even on freestanding compilers.  */
50006
50007#ifdef __STDC__
50008# include <limits.h>
50009#else
50010# include <assert.h>
50011#endif
50012
50013#undef $ac_func
50014
50015/* Override any gcc2 internal prototype to avoid an error.  */
50016#ifdef __cplusplus
50017extern "C"
50018{
50019#endif
50020/* We use char because int might match the return type of a gcc2
50021   builtin and then its argument prototype would still apply.  */
50022char $ac_func ();
50023/* The GNU C library defines this for functions which it implements
50024    to always fail with ENOSYS.  Some functions are actually named
50025    something starting with __ and the normal name is an alias.  */
50026#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50027choke me
50028#else
50029char (*f) () = $ac_func;
50030#endif
50031#ifdef __cplusplus
50032}
50033#endif
50034
50035int
50036main ()
50037{
50038return f != $ac_func;
50039  ;
50040  return 0;
50041}
50042_ACEOF
50043rm -f conftest.$ac_objext conftest$ac_exeext
50044if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50045  (eval $ac_link) 2>conftest.er1
50046  ac_status=$?
50047  grep -v '^ *+' conftest.er1 >conftest.err
50048  rm -f conftest.er1
50049  cat conftest.err >&5
50050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051  (exit $ac_status); } &&
50052	 { ac_try='test -z "$ac_c_werror_flag"
50053			 || test ! -s conftest.err'
50054  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50055  (eval $ac_try) 2>&5
50056  ac_status=$?
50057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50058  (exit $ac_status); }; } &&
50059	 { ac_try='test -s conftest$ac_exeext'
50060  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50061  (eval $ac_try) 2>&5
50062  ac_status=$?
50063  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50064  (exit $ac_status); }; }; then
50065  eval "$as_ac_var=yes"
50066else
50067  echo "$as_me: failed program was:" >&5
50068sed 's/^/| /' conftest.$ac_ext >&5
50069
50070eval "$as_ac_var=no"
50071fi
50072rm -f conftest.err conftest.$ac_objext \
50073      conftest$ac_exeext conftest.$ac_ext
50074fi
50075echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50076echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50077if test `eval echo '${'$as_ac_var'}'` = yes; then
50078  cat >>confdefs.h <<_ACEOF
50079#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50080_ACEOF
50081
50082fi
50083done
50084
50085    fi
50086  fi
50087
50088
50089
50090
50091
50092  LIBS="$ac_save_LIBS"
50093  CXXFLAGS="$ac_save_CXXFLAGS"
50094
50095
50096
50097  echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50098echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50099  if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50100    if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50101  echo $ECHO_N "(cached) $ECHO_C" >&6
50102else
50103
50104
50105
50106      ac_ext=cc
50107ac_cpp='$CXXCPP $CPPFLAGS'
50108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112      cat >conftest.$ac_ext <<_ACEOF
50113/* confdefs.h.  */
50114_ACEOF
50115cat confdefs.h >>conftest.$ac_ext
50116cat >>conftest.$ac_ext <<_ACEOF
50117/* end confdefs.h.  */
50118#include <math.h>
50119int
50120main ()
50121{
50122 __builtin_abs(0);
50123  ;
50124  return 0;
50125}
50126_ACEOF
50127rm -f conftest.$ac_objext
50128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50129  (eval $ac_compile) 2>conftest.er1
50130  ac_status=$?
50131  grep -v '^ *+' conftest.er1 >conftest.err
50132  rm -f conftest.er1
50133  cat conftest.err >&5
50134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135  (exit $ac_status); } &&
50136	 { ac_try='test -z "$ac_cxx_werror_flag"
50137			 || test ! -s conftest.err'
50138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139  (eval $ac_try) 2>&5
50140  ac_status=$?
50141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142  (exit $ac_status); }; } &&
50143	 { ac_try='test -s conftest.$ac_objext'
50144  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145  (eval $ac_try) 2>&5
50146  ac_status=$?
50147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148  (exit $ac_status); }; }; then
50149  glibcxx_cv_func___builtin_abs_use=yes
50150else
50151  echo "$as_me: failed program was:" >&5
50152sed 's/^/| /' conftest.$ac_ext >&5
50153
50154glibcxx_cv_func___builtin_abs_use=no
50155fi
50156rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50157      ac_ext=c
50158ac_cpp='$CPP $CPPFLAGS'
50159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161ac_compiler_gnu=$ac_cv_c_compiler_gnu
50162
50163
50164fi
50165
50166  fi
50167  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50168echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50169  if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50170    echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50171echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50172    if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50173      if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50174  echo $ECHO_N "(cached) $ECHO_C" >&6
50175else
50176
50177        if test x$gcc_no_link = xyes; then
50178  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50179echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50180   { (exit 1); exit 1; }; }
50181fi
50182cat >conftest.$ac_ext <<_ACEOF
50183/* confdefs.h.  */
50184_ACEOF
50185cat confdefs.h >>conftest.$ac_ext
50186cat >>conftest.$ac_ext <<_ACEOF
50187/* end confdefs.h.  */
50188#include <math.h>
50189int
50190main ()
50191{
50192 __builtin_abs(0);
50193  ;
50194  return 0;
50195}
50196_ACEOF
50197rm -f conftest.$ac_objext conftest$ac_exeext
50198if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50199  (eval $ac_link) 2>conftest.er1
50200  ac_status=$?
50201  grep -v '^ *+' conftest.er1 >conftest.err
50202  rm -f conftest.er1
50203  cat conftest.err >&5
50204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205  (exit $ac_status); } &&
50206	 { ac_try='test -z "$ac_c_werror_flag"
50207			 || test ! -s conftest.err'
50208  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50209  (eval $ac_try) 2>&5
50210  ac_status=$?
50211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212  (exit $ac_status); }; } &&
50213	 { ac_try='test -s conftest$ac_exeext'
50214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50215  (eval $ac_try) 2>&5
50216  ac_status=$?
50217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50218  (exit $ac_status); }; }; then
50219  glibcxx_cv_func___builtin_abs_link=yes
50220else
50221  echo "$as_me: failed program was:" >&5
50222sed 's/^/| /' conftest.$ac_ext >&5
50223
50224glibcxx_cv_func___builtin_abs_link=no
50225fi
50226rm -f conftest.err conftest.$ac_objext \
50227      conftest$ac_exeext conftest.$ac_ext
50228
50229fi
50230
50231    fi
50232    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50233echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50234
50235    if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50236
50237cat >>confdefs.h <<\_ACEOF
50238#define HAVE___BUILTIN_ABS 1
50239_ACEOF
50240
50241    fi
50242
50243  fi
50244
50245
50246  echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50247echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50248  if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50249    if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50250  echo $ECHO_N "(cached) $ECHO_C" >&6
50251else
50252
50253
50254
50255      ac_ext=cc
50256ac_cpp='$CXXCPP $CPPFLAGS'
50257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50260
50261      cat >conftest.$ac_ext <<_ACEOF
50262/* confdefs.h.  */
50263_ACEOF
50264cat confdefs.h >>conftest.$ac_ext
50265cat >>conftest.$ac_ext <<_ACEOF
50266/* end confdefs.h.  */
50267#include <math.h>
50268int
50269main ()
50270{
50271 __builtin_fabsf(0);
50272  ;
50273  return 0;
50274}
50275_ACEOF
50276rm -f conftest.$ac_objext
50277if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50278  (eval $ac_compile) 2>conftest.er1
50279  ac_status=$?
50280  grep -v '^ *+' conftest.er1 >conftest.err
50281  rm -f conftest.er1
50282  cat conftest.err >&5
50283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284  (exit $ac_status); } &&
50285	 { ac_try='test -z "$ac_cxx_werror_flag"
50286			 || test ! -s conftest.err'
50287  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288  (eval $ac_try) 2>&5
50289  ac_status=$?
50290  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291  (exit $ac_status); }; } &&
50292	 { ac_try='test -s conftest.$ac_objext'
50293  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50294  (eval $ac_try) 2>&5
50295  ac_status=$?
50296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50297  (exit $ac_status); }; }; then
50298  glibcxx_cv_func___builtin_fabsf_use=yes
50299else
50300  echo "$as_me: failed program was:" >&5
50301sed 's/^/| /' conftest.$ac_ext >&5
50302
50303glibcxx_cv_func___builtin_fabsf_use=no
50304fi
50305rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50306      ac_ext=c
50307ac_cpp='$CPP $CPPFLAGS'
50308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310ac_compiler_gnu=$ac_cv_c_compiler_gnu
50311
50312
50313fi
50314
50315  fi
50316  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50317echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50318  if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50319    echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50320echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50321    if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50322      if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50323  echo $ECHO_N "(cached) $ECHO_C" >&6
50324else
50325
50326        if test x$gcc_no_link = xyes; then
50327  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50328echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50329   { (exit 1); exit 1; }; }
50330fi
50331cat >conftest.$ac_ext <<_ACEOF
50332/* confdefs.h.  */
50333_ACEOF
50334cat confdefs.h >>conftest.$ac_ext
50335cat >>conftest.$ac_ext <<_ACEOF
50336/* end confdefs.h.  */
50337#include <math.h>
50338int
50339main ()
50340{
50341 __builtin_fabsf(0);
50342  ;
50343  return 0;
50344}
50345_ACEOF
50346rm -f conftest.$ac_objext conftest$ac_exeext
50347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50348  (eval $ac_link) 2>conftest.er1
50349  ac_status=$?
50350  grep -v '^ *+' conftest.er1 >conftest.err
50351  rm -f conftest.er1
50352  cat conftest.err >&5
50353  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354  (exit $ac_status); } &&
50355	 { ac_try='test -z "$ac_c_werror_flag"
50356			 || test ! -s conftest.err'
50357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50358  (eval $ac_try) 2>&5
50359  ac_status=$?
50360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50361  (exit $ac_status); }; } &&
50362	 { ac_try='test -s conftest$ac_exeext'
50363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50364  (eval $ac_try) 2>&5
50365  ac_status=$?
50366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50367  (exit $ac_status); }; }; then
50368  glibcxx_cv_func___builtin_fabsf_link=yes
50369else
50370  echo "$as_me: failed program was:" >&5
50371sed 's/^/| /' conftest.$ac_ext >&5
50372
50373glibcxx_cv_func___builtin_fabsf_link=no
50374fi
50375rm -f conftest.err conftest.$ac_objext \
50376      conftest$ac_exeext conftest.$ac_ext
50377
50378fi
50379
50380    fi
50381    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50382echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50383
50384    if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50385
50386cat >>confdefs.h <<\_ACEOF
50387#define HAVE___BUILTIN_FABSF 1
50388_ACEOF
50389
50390    fi
50391
50392  fi
50393
50394
50395  echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50396echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50397  if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50398    if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50399  echo $ECHO_N "(cached) $ECHO_C" >&6
50400else
50401
50402
50403
50404      ac_ext=cc
50405ac_cpp='$CXXCPP $CPPFLAGS'
50406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50409
50410      cat >conftest.$ac_ext <<_ACEOF
50411/* confdefs.h.  */
50412_ACEOF
50413cat confdefs.h >>conftest.$ac_ext
50414cat >>conftest.$ac_ext <<_ACEOF
50415/* end confdefs.h.  */
50416#include <math.h>
50417int
50418main ()
50419{
50420 __builtin_fabs(0);
50421  ;
50422  return 0;
50423}
50424_ACEOF
50425rm -f conftest.$ac_objext
50426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50427  (eval $ac_compile) 2>conftest.er1
50428  ac_status=$?
50429  grep -v '^ *+' conftest.er1 >conftest.err
50430  rm -f conftest.er1
50431  cat conftest.err >&5
50432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433  (exit $ac_status); } &&
50434	 { ac_try='test -z "$ac_cxx_werror_flag"
50435			 || test ! -s conftest.err'
50436  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50437  (eval $ac_try) 2>&5
50438  ac_status=$?
50439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50440  (exit $ac_status); }; } &&
50441	 { ac_try='test -s conftest.$ac_objext'
50442  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50443  (eval $ac_try) 2>&5
50444  ac_status=$?
50445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50446  (exit $ac_status); }; }; then
50447  glibcxx_cv_func___builtin_fabs_use=yes
50448else
50449  echo "$as_me: failed program was:" >&5
50450sed 's/^/| /' conftest.$ac_ext >&5
50451
50452glibcxx_cv_func___builtin_fabs_use=no
50453fi
50454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50455      ac_ext=c
50456ac_cpp='$CPP $CPPFLAGS'
50457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460
50461
50462fi
50463
50464  fi
50465  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50466echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50467  if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50468    echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50469echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50470    if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50471      if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50472  echo $ECHO_N "(cached) $ECHO_C" >&6
50473else
50474
50475        if test x$gcc_no_link = xyes; then
50476  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50477echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50478   { (exit 1); exit 1; }; }
50479fi
50480cat >conftest.$ac_ext <<_ACEOF
50481/* confdefs.h.  */
50482_ACEOF
50483cat confdefs.h >>conftest.$ac_ext
50484cat >>conftest.$ac_ext <<_ACEOF
50485/* end confdefs.h.  */
50486#include <math.h>
50487int
50488main ()
50489{
50490 __builtin_fabs(0);
50491  ;
50492  return 0;
50493}
50494_ACEOF
50495rm -f conftest.$ac_objext conftest$ac_exeext
50496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50497  (eval $ac_link) 2>conftest.er1
50498  ac_status=$?
50499  grep -v '^ *+' conftest.er1 >conftest.err
50500  rm -f conftest.er1
50501  cat conftest.err >&5
50502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503  (exit $ac_status); } &&
50504	 { ac_try='test -z "$ac_c_werror_flag"
50505			 || test ! -s conftest.err'
50506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50507  (eval $ac_try) 2>&5
50508  ac_status=$?
50509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50510  (exit $ac_status); }; } &&
50511	 { ac_try='test -s conftest$ac_exeext'
50512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50513  (eval $ac_try) 2>&5
50514  ac_status=$?
50515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516  (exit $ac_status); }; }; then
50517  glibcxx_cv_func___builtin_fabs_link=yes
50518else
50519  echo "$as_me: failed program was:" >&5
50520sed 's/^/| /' conftest.$ac_ext >&5
50521
50522glibcxx_cv_func___builtin_fabs_link=no
50523fi
50524rm -f conftest.err conftest.$ac_objext \
50525      conftest$ac_exeext conftest.$ac_ext
50526
50527fi
50528
50529    fi
50530    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50531echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50532
50533    if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50534
50535cat >>confdefs.h <<\_ACEOF
50536#define HAVE___BUILTIN_FABS 1
50537_ACEOF
50538
50539    fi
50540
50541  fi
50542
50543
50544  echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50545echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50546  if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50547    if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50548  echo $ECHO_N "(cached) $ECHO_C" >&6
50549else
50550
50551
50552
50553      ac_ext=cc
50554ac_cpp='$CXXCPP $CPPFLAGS'
50555ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50558
50559      cat >conftest.$ac_ext <<_ACEOF
50560/* confdefs.h.  */
50561_ACEOF
50562cat confdefs.h >>conftest.$ac_ext
50563cat >>conftest.$ac_ext <<_ACEOF
50564/* end confdefs.h.  */
50565#include <math.h>
50566int
50567main ()
50568{
50569 __builtin_fabsl(0);
50570  ;
50571  return 0;
50572}
50573_ACEOF
50574rm -f conftest.$ac_objext
50575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50576  (eval $ac_compile) 2>conftest.er1
50577  ac_status=$?
50578  grep -v '^ *+' conftest.er1 >conftest.err
50579  rm -f conftest.er1
50580  cat conftest.err >&5
50581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582  (exit $ac_status); } &&
50583	 { ac_try='test -z "$ac_cxx_werror_flag"
50584			 || test ! -s conftest.err'
50585  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50586  (eval $ac_try) 2>&5
50587  ac_status=$?
50588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50589  (exit $ac_status); }; } &&
50590	 { ac_try='test -s conftest.$ac_objext'
50591  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50592  (eval $ac_try) 2>&5
50593  ac_status=$?
50594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50595  (exit $ac_status); }; }; then
50596  glibcxx_cv_func___builtin_fabsl_use=yes
50597else
50598  echo "$as_me: failed program was:" >&5
50599sed 's/^/| /' conftest.$ac_ext >&5
50600
50601glibcxx_cv_func___builtin_fabsl_use=no
50602fi
50603rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50604      ac_ext=c
50605ac_cpp='$CPP $CPPFLAGS'
50606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50608ac_compiler_gnu=$ac_cv_c_compiler_gnu
50609
50610
50611fi
50612
50613  fi
50614  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50615echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50616  if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50617    echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50618echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50619    if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50620      if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50621  echo $ECHO_N "(cached) $ECHO_C" >&6
50622else
50623
50624        if test x$gcc_no_link = xyes; then
50625  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50626echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50627   { (exit 1); exit 1; }; }
50628fi
50629cat >conftest.$ac_ext <<_ACEOF
50630/* confdefs.h.  */
50631_ACEOF
50632cat confdefs.h >>conftest.$ac_ext
50633cat >>conftest.$ac_ext <<_ACEOF
50634/* end confdefs.h.  */
50635#include <math.h>
50636int
50637main ()
50638{
50639 __builtin_fabsl(0);
50640  ;
50641  return 0;
50642}
50643_ACEOF
50644rm -f conftest.$ac_objext conftest$ac_exeext
50645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50646  (eval $ac_link) 2>conftest.er1
50647  ac_status=$?
50648  grep -v '^ *+' conftest.er1 >conftest.err
50649  rm -f conftest.er1
50650  cat conftest.err >&5
50651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652  (exit $ac_status); } &&
50653	 { ac_try='test -z "$ac_c_werror_flag"
50654			 || test ! -s conftest.err'
50655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50656  (eval $ac_try) 2>&5
50657  ac_status=$?
50658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659  (exit $ac_status); }; } &&
50660	 { ac_try='test -s conftest$ac_exeext'
50661  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662  (eval $ac_try) 2>&5
50663  ac_status=$?
50664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665  (exit $ac_status); }; }; then
50666  glibcxx_cv_func___builtin_fabsl_link=yes
50667else
50668  echo "$as_me: failed program was:" >&5
50669sed 's/^/| /' conftest.$ac_ext >&5
50670
50671glibcxx_cv_func___builtin_fabsl_link=no
50672fi
50673rm -f conftest.err conftest.$ac_objext \
50674      conftest$ac_exeext conftest.$ac_ext
50675
50676fi
50677
50678    fi
50679    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50680echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50681
50682    if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50683
50684cat >>confdefs.h <<\_ACEOF
50685#define HAVE___BUILTIN_FABSL 1
50686_ACEOF
50687
50688    fi
50689
50690  fi
50691
50692
50693  echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50694echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50695  if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50696    if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50697  echo $ECHO_N "(cached) $ECHO_C" >&6
50698else
50699
50700
50701
50702      ac_ext=cc
50703ac_cpp='$CXXCPP $CPPFLAGS'
50704ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50707
50708      cat >conftest.$ac_ext <<_ACEOF
50709/* confdefs.h.  */
50710_ACEOF
50711cat confdefs.h >>conftest.$ac_ext
50712cat >>conftest.$ac_ext <<_ACEOF
50713/* end confdefs.h.  */
50714#include <math.h>
50715int
50716main ()
50717{
50718 __builtin_labs(0);
50719  ;
50720  return 0;
50721}
50722_ACEOF
50723rm -f conftest.$ac_objext
50724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50725  (eval $ac_compile) 2>conftest.er1
50726  ac_status=$?
50727  grep -v '^ *+' conftest.er1 >conftest.err
50728  rm -f conftest.er1
50729  cat conftest.err >&5
50730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731  (exit $ac_status); } &&
50732	 { ac_try='test -z "$ac_cxx_werror_flag"
50733			 || test ! -s conftest.err'
50734  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50735  (eval $ac_try) 2>&5
50736  ac_status=$?
50737  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738  (exit $ac_status); }; } &&
50739	 { ac_try='test -s conftest.$ac_objext'
50740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50741  (eval $ac_try) 2>&5
50742  ac_status=$?
50743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50744  (exit $ac_status); }; }; then
50745  glibcxx_cv_func___builtin_labs_use=yes
50746else
50747  echo "$as_me: failed program was:" >&5
50748sed 's/^/| /' conftest.$ac_ext >&5
50749
50750glibcxx_cv_func___builtin_labs_use=no
50751fi
50752rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50753      ac_ext=c
50754ac_cpp='$CPP $CPPFLAGS'
50755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757ac_compiler_gnu=$ac_cv_c_compiler_gnu
50758
50759
50760fi
50761
50762  fi
50763  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50764echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50765  if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50766    echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50767echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50768    if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50769      if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50770  echo $ECHO_N "(cached) $ECHO_C" >&6
50771else
50772
50773        if test x$gcc_no_link = xyes; then
50774  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50775echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50776   { (exit 1); exit 1; }; }
50777fi
50778cat >conftest.$ac_ext <<_ACEOF
50779/* confdefs.h.  */
50780_ACEOF
50781cat confdefs.h >>conftest.$ac_ext
50782cat >>conftest.$ac_ext <<_ACEOF
50783/* end confdefs.h.  */
50784#include <math.h>
50785int
50786main ()
50787{
50788 __builtin_labs(0);
50789  ;
50790  return 0;
50791}
50792_ACEOF
50793rm -f conftest.$ac_objext conftest$ac_exeext
50794if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50795  (eval $ac_link) 2>conftest.er1
50796  ac_status=$?
50797  grep -v '^ *+' conftest.er1 >conftest.err
50798  rm -f conftest.er1
50799  cat conftest.err >&5
50800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50801  (exit $ac_status); } &&
50802	 { ac_try='test -z "$ac_c_werror_flag"
50803			 || test ! -s conftest.err'
50804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50805  (eval $ac_try) 2>&5
50806  ac_status=$?
50807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50808  (exit $ac_status); }; } &&
50809	 { ac_try='test -s conftest$ac_exeext'
50810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50811  (eval $ac_try) 2>&5
50812  ac_status=$?
50813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50814  (exit $ac_status); }; }; then
50815  glibcxx_cv_func___builtin_labs_link=yes
50816else
50817  echo "$as_me: failed program was:" >&5
50818sed 's/^/| /' conftest.$ac_ext >&5
50819
50820glibcxx_cv_func___builtin_labs_link=no
50821fi
50822rm -f conftest.err conftest.$ac_objext \
50823      conftest$ac_exeext conftest.$ac_ext
50824
50825fi
50826
50827    fi
50828    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50829echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50830
50831    if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50832
50833cat >>confdefs.h <<\_ACEOF
50834#define HAVE___BUILTIN_LABS 1
50835_ACEOF
50836
50837    fi
50838
50839  fi
50840
50841
50842
50843  echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50844echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50845  if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50846    if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50847  echo $ECHO_N "(cached) $ECHO_C" >&6
50848else
50849
50850
50851
50852      ac_ext=cc
50853ac_cpp='$CXXCPP $CPPFLAGS'
50854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50857
50858      cat >conftest.$ac_ext <<_ACEOF
50859/* confdefs.h.  */
50860_ACEOF
50861cat confdefs.h >>conftest.$ac_ext
50862cat >>conftest.$ac_ext <<_ACEOF
50863/* end confdefs.h.  */
50864#include <math.h>
50865int
50866main ()
50867{
50868 __builtin_sqrtf(0);
50869  ;
50870  return 0;
50871}
50872_ACEOF
50873rm -f conftest.$ac_objext
50874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50875  (eval $ac_compile) 2>conftest.er1
50876  ac_status=$?
50877  grep -v '^ *+' conftest.er1 >conftest.err
50878  rm -f conftest.er1
50879  cat conftest.err >&5
50880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881  (exit $ac_status); } &&
50882	 { ac_try='test -z "$ac_cxx_werror_flag"
50883			 || test ! -s conftest.err'
50884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50885  (eval $ac_try) 2>&5
50886  ac_status=$?
50887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888  (exit $ac_status); }; } &&
50889	 { ac_try='test -s conftest.$ac_objext'
50890  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50891  (eval $ac_try) 2>&5
50892  ac_status=$?
50893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50894  (exit $ac_status); }; }; then
50895  glibcxx_cv_func___builtin_sqrtf_use=yes
50896else
50897  echo "$as_me: failed program was:" >&5
50898sed 's/^/| /' conftest.$ac_ext >&5
50899
50900glibcxx_cv_func___builtin_sqrtf_use=no
50901fi
50902rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50903      ac_ext=c
50904ac_cpp='$CPP $CPPFLAGS'
50905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50907ac_compiler_gnu=$ac_cv_c_compiler_gnu
50908
50909
50910fi
50911
50912  fi
50913  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50914echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50915  if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50916    echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50917echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50918    if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50919      if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50920  echo $ECHO_N "(cached) $ECHO_C" >&6
50921else
50922
50923        if test x$gcc_no_link = xyes; then
50924  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50925echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50926   { (exit 1); exit 1; }; }
50927fi
50928cat >conftest.$ac_ext <<_ACEOF
50929/* confdefs.h.  */
50930_ACEOF
50931cat confdefs.h >>conftest.$ac_ext
50932cat >>conftest.$ac_ext <<_ACEOF
50933/* end confdefs.h.  */
50934#include <math.h>
50935int
50936main ()
50937{
50938 __builtin_sqrtf(0);
50939  ;
50940  return 0;
50941}
50942_ACEOF
50943rm -f conftest.$ac_objext conftest$ac_exeext
50944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50945  (eval $ac_link) 2>conftest.er1
50946  ac_status=$?
50947  grep -v '^ *+' conftest.er1 >conftest.err
50948  rm -f conftest.er1
50949  cat conftest.err >&5
50950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951  (exit $ac_status); } &&
50952	 { ac_try='test -z "$ac_c_werror_flag"
50953			 || test ! -s conftest.err'
50954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50955  (eval $ac_try) 2>&5
50956  ac_status=$?
50957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50958  (exit $ac_status); }; } &&
50959	 { ac_try='test -s conftest$ac_exeext'
50960  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50961  (eval $ac_try) 2>&5
50962  ac_status=$?
50963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50964  (exit $ac_status); }; }; then
50965  glibcxx_cv_func___builtin_sqrtf_link=yes
50966else
50967  echo "$as_me: failed program was:" >&5
50968sed 's/^/| /' conftest.$ac_ext >&5
50969
50970glibcxx_cv_func___builtin_sqrtf_link=no
50971fi
50972rm -f conftest.err conftest.$ac_objext \
50973      conftest$ac_exeext conftest.$ac_ext
50974
50975fi
50976
50977    fi
50978    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50979echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50980
50981    if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50982
50983cat >>confdefs.h <<\_ACEOF
50984#define HAVE___BUILTIN_SQRTF 1
50985_ACEOF
50986
50987    fi
50988
50989  fi
50990
50991
50992  echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50993echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50994  if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50995    if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50996  echo $ECHO_N "(cached) $ECHO_C" >&6
50997else
50998
50999
51000
51001      ac_ext=cc
51002ac_cpp='$CXXCPP $CPPFLAGS'
51003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51006
51007      cat >conftest.$ac_ext <<_ACEOF
51008/* confdefs.h.  */
51009_ACEOF
51010cat confdefs.h >>conftest.$ac_ext
51011cat >>conftest.$ac_ext <<_ACEOF
51012/* end confdefs.h.  */
51013#include <math.h>
51014int
51015main ()
51016{
51017 __builtin_sqrt(0);
51018  ;
51019  return 0;
51020}
51021_ACEOF
51022rm -f conftest.$ac_objext
51023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51024  (eval $ac_compile) 2>conftest.er1
51025  ac_status=$?
51026  grep -v '^ *+' conftest.er1 >conftest.err
51027  rm -f conftest.er1
51028  cat conftest.err >&5
51029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51030  (exit $ac_status); } &&
51031	 { ac_try='test -z "$ac_cxx_werror_flag"
51032			 || test ! -s conftest.err'
51033  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51034  (eval $ac_try) 2>&5
51035  ac_status=$?
51036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51037  (exit $ac_status); }; } &&
51038	 { ac_try='test -s conftest.$ac_objext'
51039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51040  (eval $ac_try) 2>&5
51041  ac_status=$?
51042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51043  (exit $ac_status); }; }; then
51044  glibcxx_cv_func___builtin_sqrt_use=yes
51045else
51046  echo "$as_me: failed program was:" >&5
51047sed 's/^/| /' conftest.$ac_ext >&5
51048
51049glibcxx_cv_func___builtin_sqrt_use=no
51050fi
51051rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51052      ac_ext=c
51053ac_cpp='$CPP $CPPFLAGS'
51054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51056ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057
51058
51059fi
51060
51061  fi
51062  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51063echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51064  if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51065    echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51066echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51067    if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51068      if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51069  echo $ECHO_N "(cached) $ECHO_C" >&6
51070else
51071
51072        if test x$gcc_no_link = xyes; then
51073  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51074echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51075   { (exit 1); exit 1; }; }
51076fi
51077cat >conftest.$ac_ext <<_ACEOF
51078/* confdefs.h.  */
51079_ACEOF
51080cat confdefs.h >>conftest.$ac_ext
51081cat >>conftest.$ac_ext <<_ACEOF
51082/* end confdefs.h.  */
51083#include <math.h>
51084int
51085main ()
51086{
51087 __builtin_sqrt(0);
51088  ;
51089  return 0;
51090}
51091_ACEOF
51092rm -f conftest.$ac_objext conftest$ac_exeext
51093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51094  (eval $ac_link) 2>conftest.er1
51095  ac_status=$?
51096  grep -v '^ *+' conftest.er1 >conftest.err
51097  rm -f conftest.er1
51098  cat conftest.err >&5
51099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51100  (exit $ac_status); } &&
51101	 { ac_try='test -z "$ac_c_werror_flag"
51102			 || test ! -s conftest.err'
51103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51104  (eval $ac_try) 2>&5
51105  ac_status=$?
51106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51107  (exit $ac_status); }; } &&
51108	 { ac_try='test -s conftest$ac_exeext'
51109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51110  (eval $ac_try) 2>&5
51111  ac_status=$?
51112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51113  (exit $ac_status); }; }; then
51114  glibcxx_cv_func___builtin_sqrt_link=yes
51115else
51116  echo "$as_me: failed program was:" >&5
51117sed 's/^/| /' conftest.$ac_ext >&5
51118
51119glibcxx_cv_func___builtin_sqrt_link=no
51120fi
51121rm -f conftest.err conftest.$ac_objext \
51122      conftest$ac_exeext conftest.$ac_ext
51123
51124fi
51125
51126    fi
51127    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51128echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51129
51130    if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51131
51132cat >>confdefs.h <<\_ACEOF
51133#define HAVE___BUILTIN_SQRT 1
51134_ACEOF
51135
51136    fi
51137
51138  fi
51139
51140
51141  echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51142echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51143  if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51144    if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51145  echo $ECHO_N "(cached) $ECHO_C" >&6
51146else
51147
51148
51149
51150      ac_ext=cc
51151ac_cpp='$CXXCPP $CPPFLAGS'
51152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51155
51156      cat >conftest.$ac_ext <<_ACEOF
51157/* confdefs.h.  */
51158_ACEOF
51159cat confdefs.h >>conftest.$ac_ext
51160cat >>conftest.$ac_ext <<_ACEOF
51161/* end confdefs.h.  */
51162#include <math.h>
51163int
51164main ()
51165{
51166 __builtin_sqrtl(0);
51167  ;
51168  return 0;
51169}
51170_ACEOF
51171rm -f conftest.$ac_objext
51172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51173  (eval $ac_compile) 2>conftest.er1
51174  ac_status=$?
51175  grep -v '^ *+' conftest.er1 >conftest.err
51176  rm -f conftest.er1
51177  cat conftest.err >&5
51178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51179  (exit $ac_status); } &&
51180	 { ac_try='test -z "$ac_cxx_werror_flag"
51181			 || test ! -s conftest.err'
51182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51183  (eval $ac_try) 2>&5
51184  ac_status=$?
51185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51186  (exit $ac_status); }; } &&
51187	 { ac_try='test -s conftest.$ac_objext'
51188  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51189  (eval $ac_try) 2>&5
51190  ac_status=$?
51191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51192  (exit $ac_status); }; }; then
51193  glibcxx_cv_func___builtin_sqrtl_use=yes
51194else
51195  echo "$as_me: failed program was:" >&5
51196sed 's/^/| /' conftest.$ac_ext >&5
51197
51198glibcxx_cv_func___builtin_sqrtl_use=no
51199fi
51200rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51201      ac_ext=c
51202ac_cpp='$CPP $CPPFLAGS'
51203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51205ac_compiler_gnu=$ac_cv_c_compiler_gnu
51206
51207
51208fi
51209
51210  fi
51211  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51212echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51213  if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51214    echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51215echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51216    if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51217      if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51218  echo $ECHO_N "(cached) $ECHO_C" >&6
51219else
51220
51221        if test x$gcc_no_link = xyes; then
51222  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51223echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51224   { (exit 1); exit 1; }; }
51225fi
51226cat >conftest.$ac_ext <<_ACEOF
51227/* confdefs.h.  */
51228_ACEOF
51229cat confdefs.h >>conftest.$ac_ext
51230cat >>conftest.$ac_ext <<_ACEOF
51231/* end confdefs.h.  */
51232#include <math.h>
51233int
51234main ()
51235{
51236 __builtin_sqrtl(0);
51237  ;
51238  return 0;
51239}
51240_ACEOF
51241rm -f conftest.$ac_objext conftest$ac_exeext
51242if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51243  (eval $ac_link) 2>conftest.er1
51244  ac_status=$?
51245  grep -v '^ *+' conftest.er1 >conftest.err
51246  rm -f conftest.er1
51247  cat conftest.err >&5
51248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249  (exit $ac_status); } &&
51250	 { ac_try='test -z "$ac_c_werror_flag"
51251			 || test ! -s conftest.err'
51252  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51253  (eval $ac_try) 2>&5
51254  ac_status=$?
51255  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51256  (exit $ac_status); }; } &&
51257	 { ac_try='test -s conftest$ac_exeext'
51258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51259  (eval $ac_try) 2>&5
51260  ac_status=$?
51261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51262  (exit $ac_status); }; }; then
51263  glibcxx_cv_func___builtin_sqrtl_link=yes
51264else
51265  echo "$as_me: failed program was:" >&5
51266sed 's/^/| /' conftest.$ac_ext >&5
51267
51268glibcxx_cv_func___builtin_sqrtl_link=no
51269fi
51270rm -f conftest.err conftest.$ac_objext \
51271      conftest$ac_exeext conftest.$ac_ext
51272
51273fi
51274
51275    fi
51276    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51277echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51278
51279    if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51280
51281cat >>confdefs.h <<\_ACEOF
51282#define HAVE___BUILTIN_SQRTL 1
51283_ACEOF
51284
51285    fi
51286
51287  fi
51288
51289
51290
51291  echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51292echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51293  if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51294    if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51295  echo $ECHO_N "(cached) $ECHO_C" >&6
51296else
51297
51298
51299
51300      ac_ext=cc
51301ac_cpp='$CXXCPP $CPPFLAGS'
51302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51305
51306      cat >conftest.$ac_ext <<_ACEOF
51307/* confdefs.h.  */
51308_ACEOF
51309cat confdefs.h >>conftest.$ac_ext
51310cat >>conftest.$ac_ext <<_ACEOF
51311/* end confdefs.h.  */
51312#include <math.h>
51313int
51314main ()
51315{
51316 __builtin_sinf(0);
51317  ;
51318  return 0;
51319}
51320_ACEOF
51321rm -f conftest.$ac_objext
51322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51323  (eval $ac_compile) 2>conftest.er1
51324  ac_status=$?
51325  grep -v '^ *+' conftest.er1 >conftest.err
51326  rm -f conftest.er1
51327  cat conftest.err >&5
51328  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329  (exit $ac_status); } &&
51330	 { ac_try='test -z "$ac_cxx_werror_flag"
51331			 || test ! -s conftest.err'
51332  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51333  (eval $ac_try) 2>&5
51334  ac_status=$?
51335  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51336  (exit $ac_status); }; } &&
51337	 { ac_try='test -s conftest.$ac_objext'
51338  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51339  (eval $ac_try) 2>&5
51340  ac_status=$?
51341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51342  (exit $ac_status); }; }; then
51343  glibcxx_cv_func___builtin_sinf_use=yes
51344else
51345  echo "$as_me: failed program was:" >&5
51346sed 's/^/| /' conftest.$ac_ext >&5
51347
51348glibcxx_cv_func___builtin_sinf_use=no
51349fi
51350rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51351      ac_ext=c
51352ac_cpp='$CPP $CPPFLAGS'
51353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355ac_compiler_gnu=$ac_cv_c_compiler_gnu
51356
51357
51358fi
51359
51360  fi
51361  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51362echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51363  if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51364    echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51365echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51366    if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51367      if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51368  echo $ECHO_N "(cached) $ECHO_C" >&6
51369else
51370
51371        if test x$gcc_no_link = xyes; then
51372  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51373echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51374   { (exit 1); exit 1; }; }
51375fi
51376cat >conftest.$ac_ext <<_ACEOF
51377/* confdefs.h.  */
51378_ACEOF
51379cat confdefs.h >>conftest.$ac_ext
51380cat >>conftest.$ac_ext <<_ACEOF
51381/* end confdefs.h.  */
51382#include <math.h>
51383int
51384main ()
51385{
51386 __builtin_sinf(0);
51387  ;
51388  return 0;
51389}
51390_ACEOF
51391rm -f conftest.$ac_objext conftest$ac_exeext
51392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51393  (eval $ac_link) 2>conftest.er1
51394  ac_status=$?
51395  grep -v '^ *+' conftest.er1 >conftest.err
51396  rm -f conftest.er1
51397  cat conftest.err >&5
51398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51399  (exit $ac_status); } &&
51400	 { ac_try='test -z "$ac_c_werror_flag"
51401			 || test ! -s conftest.err'
51402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51403  (eval $ac_try) 2>&5
51404  ac_status=$?
51405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406  (exit $ac_status); }; } &&
51407	 { ac_try='test -s conftest$ac_exeext'
51408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51409  (eval $ac_try) 2>&5
51410  ac_status=$?
51411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51412  (exit $ac_status); }; }; then
51413  glibcxx_cv_func___builtin_sinf_link=yes
51414else
51415  echo "$as_me: failed program was:" >&5
51416sed 's/^/| /' conftest.$ac_ext >&5
51417
51418glibcxx_cv_func___builtin_sinf_link=no
51419fi
51420rm -f conftest.err conftest.$ac_objext \
51421      conftest$ac_exeext conftest.$ac_ext
51422
51423fi
51424
51425    fi
51426    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51427echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51428
51429    if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51430
51431cat >>confdefs.h <<\_ACEOF
51432#define HAVE___BUILTIN_SINF 1
51433_ACEOF
51434
51435    fi
51436
51437  fi
51438
51439
51440  echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51441echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51442  if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51443    if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51444  echo $ECHO_N "(cached) $ECHO_C" >&6
51445else
51446
51447
51448
51449      ac_ext=cc
51450ac_cpp='$CXXCPP $CPPFLAGS'
51451ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51454
51455      cat >conftest.$ac_ext <<_ACEOF
51456/* confdefs.h.  */
51457_ACEOF
51458cat confdefs.h >>conftest.$ac_ext
51459cat >>conftest.$ac_ext <<_ACEOF
51460/* end confdefs.h.  */
51461#include <math.h>
51462int
51463main ()
51464{
51465 __builtin_sin(0);
51466  ;
51467  return 0;
51468}
51469_ACEOF
51470rm -f conftest.$ac_objext
51471if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51472  (eval $ac_compile) 2>conftest.er1
51473  ac_status=$?
51474  grep -v '^ *+' conftest.er1 >conftest.err
51475  rm -f conftest.er1
51476  cat conftest.err >&5
51477  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478  (exit $ac_status); } &&
51479	 { ac_try='test -z "$ac_cxx_werror_flag"
51480			 || test ! -s conftest.err'
51481  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51482  (eval $ac_try) 2>&5
51483  ac_status=$?
51484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51485  (exit $ac_status); }; } &&
51486	 { ac_try='test -s conftest.$ac_objext'
51487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51488  (eval $ac_try) 2>&5
51489  ac_status=$?
51490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51491  (exit $ac_status); }; }; then
51492  glibcxx_cv_func___builtin_sin_use=yes
51493else
51494  echo "$as_me: failed program was:" >&5
51495sed 's/^/| /' conftest.$ac_ext >&5
51496
51497glibcxx_cv_func___builtin_sin_use=no
51498fi
51499rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51500      ac_ext=c
51501ac_cpp='$CPP $CPPFLAGS'
51502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51504ac_compiler_gnu=$ac_cv_c_compiler_gnu
51505
51506
51507fi
51508
51509  fi
51510  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51511echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51512  if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51513    echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51514echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51515    if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51516      if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51517  echo $ECHO_N "(cached) $ECHO_C" >&6
51518else
51519
51520        if test x$gcc_no_link = xyes; then
51521  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51522echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51523   { (exit 1); exit 1; }; }
51524fi
51525cat >conftest.$ac_ext <<_ACEOF
51526/* confdefs.h.  */
51527_ACEOF
51528cat confdefs.h >>conftest.$ac_ext
51529cat >>conftest.$ac_ext <<_ACEOF
51530/* end confdefs.h.  */
51531#include <math.h>
51532int
51533main ()
51534{
51535 __builtin_sin(0);
51536  ;
51537  return 0;
51538}
51539_ACEOF
51540rm -f conftest.$ac_objext conftest$ac_exeext
51541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51542  (eval $ac_link) 2>conftest.er1
51543  ac_status=$?
51544  grep -v '^ *+' conftest.er1 >conftest.err
51545  rm -f conftest.er1
51546  cat conftest.err >&5
51547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51548  (exit $ac_status); } &&
51549	 { ac_try='test -z "$ac_c_werror_flag"
51550			 || test ! -s conftest.err'
51551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552  (eval $ac_try) 2>&5
51553  ac_status=$?
51554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555  (exit $ac_status); }; } &&
51556	 { ac_try='test -s conftest$ac_exeext'
51557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51558  (eval $ac_try) 2>&5
51559  ac_status=$?
51560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51561  (exit $ac_status); }; }; then
51562  glibcxx_cv_func___builtin_sin_link=yes
51563else
51564  echo "$as_me: failed program was:" >&5
51565sed 's/^/| /' conftest.$ac_ext >&5
51566
51567glibcxx_cv_func___builtin_sin_link=no
51568fi
51569rm -f conftest.err conftest.$ac_objext \
51570      conftest$ac_exeext conftest.$ac_ext
51571
51572fi
51573
51574    fi
51575    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51576echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51577
51578    if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51579
51580cat >>confdefs.h <<\_ACEOF
51581#define HAVE___BUILTIN_SIN 1
51582_ACEOF
51583
51584    fi
51585
51586  fi
51587
51588
51589  echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51590echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51591  if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51592    if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51593  echo $ECHO_N "(cached) $ECHO_C" >&6
51594else
51595
51596
51597
51598      ac_ext=cc
51599ac_cpp='$CXXCPP $CPPFLAGS'
51600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51603
51604      cat >conftest.$ac_ext <<_ACEOF
51605/* confdefs.h.  */
51606_ACEOF
51607cat confdefs.h >>conftest.$ac_ext
51608cat >>conftest.$ac_ext <<_ACEOF
51609/* end confdefs.h.  */
51610#include <math.h>
51611int
51612main ()
51613{
51614 __builtin_sinl(0);
51615  ;
51616  return 0;
51617}
51618_ACEOF
51619rm -f conftest.$ac_objext
51620if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51621  (eval $ac_compile) 2>conftest.er1
51622  ac_status=$?
51623  grep -v '^ *+' conftest.er1 >conftest.err
51624  rm -f conftest.er1
51625  cat conftest.err >&5
51626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627  (exit $ac_status); } &&
51628	 { ac_try='test -z "$ac_cxx_werror_flag"
51629			 || test ! -s conftest.err'
51630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51631  (eval $ac_try) 2>&5
51632  ac_status=$?
51633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634  (exit $ac_status); }; } &&
51635	 { ac_try='test -s conftest.$ac_objext'
51636  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637  (eval $ac_try) 2>&5
51638  ac_status=$?
51639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640  (exit $ac_status); }; }; then
51641  glibcxx_cv_func___builtin_sinl_use=yes
51642else
51643  echo "$as_me: failed program was:" >&5
51644sed 's/^/| /' conftest.$ac_ext >&5
51645
51646glibcxx_cv_func___builtin_sinl_use=no
51647fi
51648rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51649      ac_ext=c
51650ac_cpp='$CPP $CPPFLAGS'
51651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653ac_compiler_gnu=$ac_cv_c_compiler_gnu
51654
51655
51656fi
51657
51658  fi
51659  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51660echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51661  if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51662    echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51663echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51664    if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51665      if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51666  echo $ECHO_N "(cached) $ECHO_C" >&6
51667else
51668
51669        if test x$gcc_no_link = xyes; then
51670  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51671echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51672   { (exit 1); exit 1; }; }
51673fi
51674cat >conftest.$ac_ext <<_ACEOF
51675/* confdefs.h.  */
51676_ACEOF
51677cat confdefs.h >>conftest.$ac_ext
51678cat >>conftest.$ac_ext <<_ACEOF
51679/* end confdefs.h.  */
51680#include <math.h>
51681int
51682main ()
51683{
51684 __builtin_sinl(0);
51685  ;
51686  return 0;
51687}
51688_ACEOF
51689rm -f conftest.$ac_objext conftest$ac_exeext
51690if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51691  (eval $ac_link) 2>conftest.er1
51692  ac_status=$?
51693  grep -v '^ *+' conftest.er1 >conftest.err
51694  rm -f conftest.er1
51695  cat conftest.err >&5
51696  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51697  (exit $ac_status); } &&
51698	 { ac_try='test -z "$ac_c_werror_flag"
51699			 || test ! -s conftest.err'
51700  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51701  (eval $ac_try) 2>&5
51702  ac_status=$?
51703  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51704  (exit $ac_status); }; } &&
51705	 { ac_try='test -s conftest$ac_exeext'
51706  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51707  (eval $ac_try) 2>&5
51708  ac_status=$?
51709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51710  (exit $ac_status); }; }; then
51711  glibcxx_cv_func___builtin_sinl_link=yes
51712else
51713  echo "$as_me: failed program was:" >&5
51714sed 's/^/| /' conftest.$ac_ext >&5
51715
51716glibcxx_cv_func___builtin_sinl_link=no
51717fi
51718rm -f conftest.err conftest.$ac_objext \
51719      conftest$ac_exeext conftest.$ac_ext
51720
51721fi
51722
51723    fi
51724    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51725echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51726
51727    if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51728
51729cat >>confdefs.h <<\_ACEOF
51730#define HAVE___BUILTIN_SINL 1
51731_ACEOF
51732
51733    fi
51734
51735  fi
51736
51737
51738
51739  echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51740echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51741  if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51742    if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51743  echo $ECHO_N "(cached) $ECHO_C" >&6
51744else
51745
51746
51747
51748      ac_ext=cc
51749ac_cpp='$CXXCPP $CPPFLAGS'
51750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51753
51754      cat >conftest.$ac_ext <<_ACEOF
51755/* confdefs.h.  */
51756_ACEOF
51757cat confdefs.h >>conftest.$ac_ext
51758cat >>conftest.$ac_ext <<_ACEOF
51759/* end confdefs.h.  */
51760#include <math.h>
51761int
51762main ()
51763{
51764 __builtin_cosf(0);
51765  ;
51766  return 0;
51767}
51768_ACEOF
51769rm -f conftest.$ac_objext
51770if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51771  (eval $ac_compile) 2>conftest.er1
51772  ac_status=$?
51773  grep -v '^ *+' conftest.er1 >conftest.err
51774  rm -f conftest.er1
51775  cat conftest.err >&5
51776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51777  (exit $ac_status); } &&
51778	 { ac_try='test -z "$ac_cxx_werror_flag"
51779			 || test ! -s conftest.err'
51780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51781  (eval $ac_try) 2>&5
51782  ac_status=$?
51783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51784  (exit $ac_status); }; } &&
51785	 { ac_try='test -s conftest.$ac_objext'
51786  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51787  (eval $ac_try) 2>&5
51788  ac_status=$?
51789  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51790  (exit $ac_status); }; }; then
51791  glibcxx_cv_func___builtin_cosf_use=yes
51792else
51793  echo "$as_me: failed program was:" >&5
51794sed 's/^/| /' conftest.$ac_ext >&5
51795
51796glibcxx_cv_func___builtin_cosf_use=no
51797fi
51798rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51799      ac_ext=c
51800ac_cpp='$CPP $CPPFLAGS'
51801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803ac_compiler_gnu=$ac_cv_c_compiler_gnu
51804
51805
51806fi
51807
51808  fi
51809  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51810echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51811  if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51812    echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51813echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51814    if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51815      if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51816  echo $ECHO_N "(cached) $ECHO_C" >&6
51817else
51818
51819        if test x$gcc_no_link = xyes; then
51820  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51821echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51822   { (exit 1); exit 1; }; }
51823fi
51824cat >conftest.$ac_ext <<_ACEOF
51825/* confdefs.h.  */
51826_ACEOF
51827cat confdefs.h >>conftest.$ac_ext
51828cat >>conftest.$ac_ext <<_ACEOF
51829/* end confdefs.h.  */
51830#include <math.h>
51831int
51832main ()
51833{
51834 __builtin_cosf(0);
51835  ;
51836  return 0;
51837}
51838_ACEOF
51839rm -f conftest.$ac_objext conftest$ac_exeext
51840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51841  (eval $ac_link) 2>conftest.er1
51842  ac_status=$?
51843  grep -v '^ *+' conftest.er1 >conftest.err
51844  rm -f conftest.er1
51845  cat conftest.err >&5
51846  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51847  (exit $ac_status); } &&
51848	 { ac_try='test -z "$ac_c_werror_flag"
51849			 || test ! -s conftest.err'
51850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51851  (eval $ac_try) 2>&5
51852  ac_status=$?
51853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854  (exit $ac_status); }; } &&
51855	 { ac_try='test -s conftest$ac_exeext'
51856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51857  (eval $ac_try) 2>&5
51858  ac_status=$?
51859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51860  (exit $ac_status); }; }; then
51861  glibcxx_cv_func___builtin_cosf_link=yes
51862else
51863  echo "$as_me: failed program was:" >&5
51864sed 's/^/| /' conftest.$ac_ext >&5
51865
51866glibcxx_cv_func___builtin_cosf_link=no
51867fi
51868rm -f conftest.err conftest.$ac_objext \
51869      conftest$ac_exeext conftest.$ac_ext
51870
51871fi
51872
51873    fi
51874    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51875echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51876
51877    if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51878
51879cat >>confdefs.h <<\_ACEOF
51880#define HAVE___BUILTIN_COSF 1
51881_ACEOF
51882
51883    fi
51884
51885  fi
51886
51887
51888  echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51889echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51890  if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51891    if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51892  echo $ECHO_N "(cached) $ECHO_C" >&6
51893else
51894
51895
51896
51897      ac_ext=cc
51898ac_cpp='$CXXCPP $CPPFLAGS'
51899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51902
51903      cat >conftest.$ac_ext <<_ACEOF
51904/* confdefs.h.  */
51905_ACEOF
51906cat confdefs.h >>conftest.$ac_ext
51907cat >>conftest.$ac_ext <<_ACEOF
51908/* end confdefs.h.  */
51909#include <math.h>
51910int
51911main ()
51912{
51913 __builtin_cos(0);
51914  ;
51915  return 0;
51916}
51917_ACEOF
51918rm -f conftest.$ac_objext
51919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51920  (eval $ac_compile) 2>conftest.er1
51921  ac_status=$?
51922  grep -v '^ *+' conftest.er1 >conftest.err
51923  rm -f conftest.er1
51924  cat conftest.err >&5
51925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51926  (exit $ac_status); } &&
51927	 { ac_try='test -z "$ac_cxx_werror_flag"
51928			 || test ! -s conftest.err'
51929  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51930  (eval $ac_try) 2>&5
51931  ac_status=$?
51932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51933  (exit $ac_status); }; } &&
51934	 { ac_try='test -s conftest.$ac_objext'
51935  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51936  (eval $ac_try) 2>&5
51937  ac_status=$?
51938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51939  (exit $ac_status); }; }; then
51940  glibcxx_cv_func___builtin_cos_use=yes
51941else
51942  echo "$as_me: failed program was:" >&5
51943sed 's/^/| /' conftest.$ac_ext >&5
51944
51945glibcxx_cv_func___builtin_cos_use=no
51946fi
51947rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51948      ac_ext=c
51949ac_cpp='$CPP $CPPFLAGS'
51950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952ac_compiler_gnu=$ac_cv_c_compiler_gnu
51953
51954
51955fi
51956
51957  fi
51958  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51959echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51960  if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51961    echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51962echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51963    if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51964      if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51965  echo $ECHO_N "(cached) $ECHO_C" >&6
51966else
51967
51968        if test x$gcc_no_link = xyes; then
51969  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51970echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51971   { (exit 1); exit 1; }; }
51972fi
51973cat >conftest.$ac_ext <<_ACEOF
51974/* confdefs.h.  */
51975_ACEOF
51976cat confdefs.h >>conftest.$ac_ext
51977cat >>conftest.$ac_ext <<_ACEOF
51978/* end confdefs.h.  */
51979#include <math.h>
51980int
51981main ()
51982{
51983 __builtin_cos(0);
51984  ;
51985  return 0;
51986}
51987_ACEOF
51988rm -f conftest.$ac_objext conftest$ac_exeext
51989if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51990  (eval $ac_link) 2>conftest.er1
51991  ac_status=$?
51992  grep -v '^ *+' conftest.er1 >conftest.err
51993  rm -f conftest.er1
51994  cat conftest.err >&5
51995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51996  (exit $ac_status); } &&
51997	 { ac_try='test -z "$ac_c_werror_flag"
51998			 || test ! -s conftest.err'
51999  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52000  (eval $ac_try) 2>&5
52001  ac_status=$?
52002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52003  (exit $ac_status); }; } &&
52004	 { ac_try='test -s conftest$ac_exeext'
52005  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52006  (eval $ac_try) 2>&5
52007  ac_status=$?
52008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52009  (exit $ac_status); }; }; then
52010  glibcxx_cv_func___builtin_cos_link=yes
52011else
52012  echo "$as_me: failed program was:" >&5
52013sed 's/^/| /' conftest.$ac_ext >&5
52014
52015glibcxx_cv_func___builtin_cos_link=no
52016fi
52017rm -f conftest.err conftest.$ac_objext \
52018      conftest$ac_exeext conftest.$ac_ext
52019
52020fi
52021
52022    fi
52023    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52024echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52025
52026    if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52027
52028cat >>confdefs.h <<\_ACEOF
52029#define HAVE___BUILTIN_COS 1
52030_ACEOF
52031
52032    fi
52033
52034  fi
52035
52036
52037  echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52038echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52039  if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52040    if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52041  echo $ECHO_N "(cached) $ECHO_C" >&6
52042else
52043
52044
52045
52046      ac_ext=cc
52047ac_cpp='$CXXCPP $CPPFLAGS'
52048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52051
52052      cat >conftest.$ac_ext <<_ACEOF
52053/* confdefs.h.  */
52054_ACEOF
52055cat confdefs.h >>conftest.$ac_ext
52056cat >>conftest.$ac_ext <<_ACEOF
52057/* end confdefs.h.  */
52058#include <math.h>
52059int
52060main ()
52061{
52062 __builtin_cosl(0);
52063  ;
52064  return 0;
52065}
52066_ACEOF
52067rm -f conftest.$ac_objext
52068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52069  (eval $ac_compile) 2>conftest.er1
52070  ac_status=$?
52071  grep -v '^ *+' conftest.er1 >conftest.err
52072  rm -f conftest.er1
52073  cat conftest.err >&5
52074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075  (exit $ac_status); } &&
52076	 { ac_try='test -z "$ac_cxx_werror_flag"
52077			 || test ! -s conftest.err'
52078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52079  (eval $ac_try) 2>&5
52080  ac_status=$?
52081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52082  (exit $ac_status); }; } &&
52083	 { ac_try='test -s conftest.$ac_objext'
52084  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52085  (eval $ac_try) 2>&5
52086  ac_status=$?
52087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52088  (exit $ac_status); }; }; then
52089  glibcxx_cv_func___builtin_cosl_use=yes
52090else
52091  echo "$as_me: failed program was:" >&5
52092sed 's/^/| /' conftest.$ac_ext >&5
52093
52094glibcxx_cv_func___builtin_cosl_use=no
52095fi
52096rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52097      ac_ext=c
52098ac_cpp='$CPP $CPPFLAGS'
52099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101ac_compiler_gnu=$ac_cv_c_compiler_gnu
52102
52103
52104fi
52105
52106  fi
52107  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52108echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52109  if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52110    echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52111echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52112    if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52113      if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52114  echo $ECHO_N "(cached) $ECHO_C" >&6
52115else
52116
52117        if test x$gcc_no_link = xyes; then
52118  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52119echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52120   { (exit 1); exit 1; }; }
52121fi
52122cat >conftest.$ac_ext <<_ACEOF
52123/* confdefs.h.  */
52124_ACEOF
52125cat confdefs.h >>conftest.$ac_ext
52126cat >>conftest.$ac_ext <<_ACEOF
52127/* end confdefs.h.  */
52128#include <math.h>
52129int
52130main ()
52131{
52132 __builtin_cosl(0);
52133  ;
52134  return 0;
52135}
52136_ACEOF
52137rm -f conftest.$ac_objext conftest$ac_exeext
52138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52139  (eval $ac_link) 2>conftest.er1
52140  ac_status=$?
52141  grep -v '^ *+' conftest.er1 >conftest.err
52142  rm -f conftest.er1
52143  cat conftest.err >&5
52144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52145  (exit $ac_status); } &&
52146	 { ac_try='test -z "$ac_c_werror_flag"
52147			 || test ! -s conftest.err'
52148  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52149  (eval $ac_try) 2>&5
52150  ac_status=$?
52151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52152  (exit $ac_status); }; } &&
52153	 { ac_try='test -s conftest$ac_exeext'
52154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52155  (eval $ac_try) 2>&5
52156  ac_status=$?
52157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52158  (exit $ac_status); }; }; then
52159  glibcxx_cv_func___builtin_cosl_link=yes
52160else
52161  echo "$as_me: failed program was:" >&5
52162sed 's/^/| /' conftest.$ac_ext >&5
52163
52164glibcxx_cv_func___builtin_cosl_link=no
52165fi
52166rm -f conftest.err conftest.$ac_objext \
52167      conftest$ac_exeext conftest.$ac_ext
52168
52169fi
52170
52171    fi
52172    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52173echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52174
52175    if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52176
52177cat >>confdefs.h <<\_ACEOF
52178#define HAVE___BUILTIN_COSL 1
52179_ACEOF
52180
52181    fi
52182
52183  fi
52184
52185
52186
52187
52188echo "$as_me:$LINENO: checking for main in -lm" >&5
52189echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52190if test "${ac_cv_lib_m_main+set}" = set; then
52191  echo $ECHO_N "(cached) $ECHO_C" >&6
52192else
52193  ac_check_lib_save_LIBS=$LIBS
52194LIBS="-lm  $LIBS"
52195if test x$gcc_no_link = xyes; then
52196  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52197echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52198   { (exit 1); exit 1; }; }
52199fi
52200cat >conftest.$ac_ext <<_ACEOF
52201/* confdefs.h.  */
52202_ACEOF
52203cat confdefs.h >>conftest.$ac_ext
52204cat >>conftest.$ac_ext <<_ACEOF
52205/* end confdefs.h.  */
52206
52207
52208int
52209main ()
52210{
52211main ();
52212  ;
52213  return 0;
52214}
52215_ACEOF
52216rm -f conftest.$ac_objext conftest$ac_exeext
52217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52218  (eval $ac_link) 2>conftest.er1
52219  ac_status=$?
52220  grep -v '^ *+' conftest.er1 >conftest.err
52221  rm -f conftest.er1
52222  cat conftest.err >&5
52223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224  (exit $ac_status); } &&
52225	 { ac_try='test -z "$ac_c_werror_flag"
52226			 || test ! -s conftest.err'
52227  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52228  (eval $ac_try) 2>&5
52229  ac_status=$?
52230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52231  (exit $ac_status); }; } &&
52232	 { ac_try='test -s conftest$ac_exeext'
52233  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52234  (eval $ac_try) 2>&5
52235  ac_status=$?
52236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237  (exit $ac_status); }; }; then
52238  ac_cv_lib_m_main=yes
52239else
52240  echo "$as_me: failed program was:" >&5
52241sed 's/^/| /' conftest.$ac_ext >&5
52242
52243ac_cv_lib_m_main=no
52244fi
52245rm -f conftest.err conftest.$ac_objext \
52246      conftest$ac_exeext conftest.$ac_ext
52247LIBS=$ac_check_lib_save_LIBS
52248fi
52249echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52250echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52251if test $ac_cv_lib_m_main = yes; then
52252  cat >>confdefs.h <<_ACEOF
52253#define HAVE_LIBM 1
52254_ACEOF
52255
52256  LIBS="-lm $LIBS"
52257
52258fi
52259
52260
52261for ac_func in copysignf
52262do
52263as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52264echo "$as_me:$LINENO: checking for $ac_func" >&5
52265echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52266if eval "test \"\${$as_ac_var+set}\" = set"; then
52267  echo $ECHO_N "(cached) $ECHO_C" >&6
52268else
52269  if test x$gcc_no_link = xyes; then
52270  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52271echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52272   { (exit 1); exit 1; }; }
52273fi
52274cat >conftest.$ac_ext <<_ACEOF
52275/* confdefs.h.  */
52276_ACEOF
52277cat confdefs.h >>conftest.$ac_ext
52278cat >>conftest.$ac_ext <<_ACEOF
52279/* end confdefs.h.  */
52280/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52281   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52282#define $ac_func innocuous_$ac_func
52283
52284/* System header to define __stub macros and hopefully few prototypes,
52285    which can conflict with char $ac_func (); below.
52286    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52287    <limits.h> exists even on freestanding compilers.  */
52288
52289#ifdef __STDC__
52290# include <limits.h>
52291#else
52292# include <assert.h>
52293#endif
52294
52295#undef $ac_func
52296
52297/* Override any gcc2 internal prototype to avoid an error.  */
52298#ifdef __cplusplus
52299extern "C"
52300{
52301#endif
52302/* We use char because int might match the return type of a gcc2
52303   builtin and then its argument prototype would still apply.  */
52304char $ac_func ();
52305/* The GNU C library defines this for functions which it implements
52306    to always fail with ENOSYS.  Some functions are actually named
52307    something starting with __ and the normal name is an alias.  */
52308#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52309choke me
52310#else
52311char (*f) () = $ac_func;
52312#endif
52313#ifdef __cplusplus
52314}
52315#endif
52316
52317int
52318main ()
52319{
52320return f != $ac_func;
52321  ;
52322  return 0;
52323}
52324_ACEOF
52325rm -f conftest.$ac_objext conftest$ac_exeext
52326if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52327  (eval $ac_link) 2>conftest.er1
52328  ac_status=$?
52329  grep -v '^ *+' conftest.er1 >conftest.err
52330  rm -f conftest.er1
52331  cat conftest.err >&5
52332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52333  (exit $ac_status); } &&
52334	 { ac_try='test -z "$ac_c_werror_flag"
52335			 || test ! -s conftest.err'
52336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52337  (eval $ac_try) 2>&5
52338  ac_status=$?
52339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52340  (exit $ac_status); }; } &&
52341	 { ac_try='test -s conftest$ac_exeext'
52342  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52343  (eval $ac_try) 2>&5
52344  ac_status=$?
52345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52346  (exit $ac_status); }; }; then
52347  eval "$as_ac_var=yes"
52348else
52349  echo "$as_me: failed program was:" >&5
52350sed 's/^/| /' conftest.$ac_ext >&5
52351
52352eval "$as_ac_var=no"
52353fi
52354rm -f conftest.err conftest.$ac_objext \
52355      conftest$ac_exeext conftest.$ac_ext
52356fi
52357echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52358echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52359if test `eval echo '${'$as_ac_var'}'` = yes; then
52360  cat >>confdefs.h <<_ACEOF
52361#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52362_ACEOF
52363
52364else
52365  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52366fi
52367done
52368
52369
52370
52371for ac_func in __signbit
52372do
52373as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52374echo "$as_me:$LINENO: checking for $ac_func" >&5
52375echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52376if eval "test \"\${$as_ac_var+set}\" = set"; then
52377  echo $ECHO_N "(cached) $ECHO_C" >&6
52378else
52379  if test x$gcc_no_link = xyes; then
52380  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52381echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52382   { (exit 1); exit 1; }; }
52383fi
52384cat >conftest.$ac_ext <<_ACEOF
52385/* confdefs.h.  */
52386_ACEOF
52387cat confdefs.h >>conftest.$ac_ext
52388cat >>conftest.$ac_ext <<_ACEOF
52389/* end confdefs.h.  */
52390/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52391   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52392#define $ac_func innocuous_$ac_func
52393
52394/* System header to define __stub macros and hopefully few prototypes,
52395    which can conflict with char $ac_func (); below.
52396    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52397    <limits.h> exists even on freestanding compilers.  */
52398
52399#ifdef __STDC__
52400# include <limits.h>
52401#else
52402# include <assert.h>
52403#endif
52404
52405#undef $ac_func
52406
52407/* Override any gcc2 internal prototype to avoid an error.  */
52408#ifdef __cplusplus
52409extern "C"
52410{
52411#endif
52412/* We use char because int might match the return type of a gcc2
52413   builtin and then its argument prototype would still apply.  */
52414char $ac_func ();
52415/* The GNU C library defines this for functions which it implements
52416    to always fail with ENOSYS.  Some functions are actually named
52417    something starting with __ and the normal name is an alias.  */
52418#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52419choke me
52420#else
52421char (*f) () = $ac_func;
52422#endif
52423#ifdef __cplusplus
52424}
52425#endif
52426
52427int
52428main ()
52429{
52430return f != $ac_func;
52431  ;
52432  return 0;
52433}
52434_ACEOF
52435rm -f conftest.$ac_objext conftest$ac_exeext
52436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52437  (eval $ac_link) 2>conftest.er1
52438  ac_status=$?
52439  grep -v '^ *+' conftest.er1 >conftest.err
52440  rm -f conftest.er1
52441  cat conftest.err >&5
52442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52443  (exit $ac_status); } &&
52444	 { ac_try='test -z "$ac_c_werror_flag"
52445			 || test ! -s conftest.err'
52446  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52447  (eval $ac_try) 2>&5
52448  ac_status=$?
52449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450  (exit $ac_status); }; } &&
52451	 { ac_try='test -s conftest$ac_exeext'
52452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52453  (eval $ac_try) 2>&5
52454  ac_status=$?
52455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52456  (exit $ac_status); }; }; then
52457  eval "$as_ac_var=yes"
52458else
52459  echo "$as_me: failed program was:" >&5
52460sed 's/^/| /' conftest.$ac_ext >&5
52461
52462eval "$as_ac_var=no"
52463fi
52464rm -f conftest.err conftest.$ac_objext \
52465      conftest$ac_exeext conftest.$ac_ext
52466fi
52467echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52468echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52469if test `eval echo '${'$as_ac_var'}'` = yes; then
52470  cat >>confdefs.h <<_ACEOF
52471#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52472_ACEOF
52473
52474else
52475  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52476fi
52477done
52478
52479
52480
52481for ac_func in __signbitf
52482do
52483as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52484echo "$as_me:$LINENO: checking for $ac_func" >&5
52485echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52486if eval "test \"\${$as_ac_var+set}\" = set"; then
52487  echo $ECHO_N "(cached) $ECHO_C" >&6
52488else
52489  if test x$gcc_no_link = xyes; then
52490  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52491echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52492   { (exit 1); exit 1; }; }
52493fi
52494cat >conftest.$ac_ext <<_ACEOF
52495/* confdefs.h.  */
52496_ACEOF
52497cat confdefs.h >>conftest.$ac_ext
52498cat >>conftest.$ac_ext <<_ACEOF
52499/* end confdefs.h.  */
52500/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52501   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52502#define $ac_func innocuous_$ac_func
52503
52504/* System header to define __stub macros and hopefully few prototypes,
52505    which can conflict with char $ac_func (); below.
52506    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52507    <limits.h> exists even on freestanding compilers.  */
52508
52509#ifdef __STDC__
52510# include <limits.h>
52511#else
52512# include <assert.h>
52513#endif
52514
52515#undef $ac_func
52516
52517/* Override any gcc2 internal prototype to avoid an error.  */
52518#ifdef __cplusplus
52519extern "C"
52520{
52521#endif
52522/* We use char because int might match the return type of a gcc2
52523   builtin and then its argument prototype would still apply.  */
52524char $ac_func ();
52525/* The GNU C library defines this for functions which it implements
52526    to always fail with ENOSYS.  Some functions are actually named
52527    something starting with __ and the normal name is an alias.  */
52528#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52529choke me
52530#else
52531char (*f) () = $ac_func;
52532#endif
52533#ifdef __cplusplus
52534}
52535#endif
52536
52537int
52538main ()
52539{
52540return f != $ac_func;
52541  ;
52542  return 0;
52543}
52544_ACEOF
52545rm -f conftest.$ac_objext conftest$ac_exeext
52546if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52547  (eval $ac_link) 2>conftest.er1
52548  ac_status=$?
52549  grep -v '^ *+' conftest.er1 >conftest.err
52550  rm -f conftest.er1
52551  cat conftest.err >&5
52552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52553  (exit $ac_status); } &&
52554	 { ac_try='test -z "$ac_c_werror_flag"
52555			 || test ! -s conftest.err'
52556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52557  (eval $ac_try) 2>&5
52558  ac_status=$?
52559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52560  (exit $ac_status); }; } &&
52561	 { ac_try='test -s conftest$ac_exeext'
52562  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52563  (eval $ac_try) 2>&5
52564  ac_status=$?
52565  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52566  (exit $ac_status); }; }; then
52567  eval "$as_ac_var=yes"
52568else
52569  echo "$as_me: failed program was:" >&5
52570sed 's/^/| /' conftest.$ac_ext >&5
52571
52572eval "$as_ac_var=no"
52573fi
52574rm -f conftest.err conftest.$ac_objext \
52575      conftest$ac_exeext conftest.$ac_ext
52576fi
52577echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52578echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52579if test `eval echo '${'$as_ac_var'}'` = yes; then
52580  cat >>confdefs.h <<_ACEOF
52581#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52582_ACEOF
52583
52584else
52585  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52586fi
52587done
52588
52589
52590          if test x$ac_cv_func_copysignl = x"yes"; then
52591
52592for ac_func in __signbitl
52593do
52594as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52595echo "$as_me:$LINENO: checking for $ac_func" >&5
52596echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52597if eval "test \"\${$as_ac_var+set}\" = set"; then
52598  echo $ECHO_N "(cached) $ECHO_C" >&6
52599else
52600  if test x$gcc_no_link = xyes; then
52601  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52602echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52603   { (exit 1); exit 1; }; }
52604fi
52605cat >conftest.$ac_ext <<_ACEOF
52606/* confdefs.h.  */
52607_ACEOF
52608cat confdefs.h >>conftest.$ac_ext
52609cat >>conftest.$ac_ext <<_ACEOF
52610/* end confdefs.h.  */
52611/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52612   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52613#define $ac_func innocuous_$ac_func
52614
52615/* System header to define __stub macros and hopefully few prototypes,
52616    which can conflict with char $ac_func (); below.
52617    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52618    <limits.h> exists even on freestanding compilers.  */
52619
52620#ifdef __STDC__
52621# include <limits.h>
52622#else
52623# include <assert.h>
52624#endif
52625
52626#undef $ac_func
52627
52628/* Override any gcc2 internal prototype to avoid an error.  */
52629#ifdef __cplusplus
52630extern "C"
52631{
52632#endif
52633/* We use char because int might match the return type of a gcc2
52634   builtin and then its argument prototype would still apply.  */
52635char $ac_func ();
52636/* The GNU C library defines this for functions which it implements
52637    to always fail with ENOSYS.  Some functions are actually named
52638    something starting with __ and the normal name is an alias.  */
52639#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52640choke me
52641#else
52642char (*f) () = $ac_func;
52643#endif
52644#ifdef __cplusplus
52645}
52646#endif
52647
52648int
52649main ()
52650{
52651return f != $ac_func;
52652  ;
52653  return 0;
52654}
52655_ACEOF
52656rm -f conftest.$ac_objext conftest$ac_exeext
52657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52658  (eval $ac_link) 2>conftest.er1
52659  ac_status=$?
52660  grep -v '^ *+' conftest.er1 >conftest.err
52661  rm -f conftest.er1
52662  cat conftest.err >&5
52663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52664  (exit $ac_status); } &&
52665	 { ac_try='test -z "$ac_c_werror_flag"
52666			 || test ! -s conftest.err'
52667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52668  (eval $ac_try) 2>&5
52669  ac_status=$?
52670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52671  (exit $ac_status); }; } &&
52672	 { ac_try='test -s conftest$ac_exeext'
52673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52674  (eval $ac_try) 2>&5
52675  ac_status=$?
52676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52677  (exit $ac_status); }; }; then
52678  eval "$as_ac_var=yes"
52679else
52680  echo "$as_me: failed program was:" >&5
52681sed 's/^/| /' conftest.$ac_ext >&5
52682
52683eval "$as_ac_var=no"
52684fi
52685rm -f conftest.err conftest.$ac_objext \
52686      conftest$ac_exeext conftest.$ac_ext
52687fi
52688echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52689echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52690if test `eval echo '${'$as_ac_var'}'` = yes; then
52691  cat >>confdefs.h <<_ACEOF
52692#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52693_ACEOF
52694
52695else
52696  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52697fi
52698done
52699
52700  fi
52701
52702  # Used in libmath/Makefile.am.
52703  if test -n "$LIBMATHOBJS"; then
52704    need_libmath=yes
52705  fi
52706
52707
52708
52709
52710  enable_iconv=no
52711  # Only continue checking if the ISO C99 headers exist and support is on.
52712  if test x"$enable_wchar_t" = xyes; then
52713
52714    # Use iconv for wchar_t to char conversions. As such, check for
52715    # X/Open Portability Guide, version 2 features (XPG2).
52716    if test "${ac_cv_header_iconv_h+set}" = set; then
52717  echo "$as_me:$LINENO: checking for iconv.h" >&5
52718echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52719if test "${ac_cv_header_iconv_h+set}" = set; then
52720  echo $ECHO_N "(cached) $ECHO_C" >&6
52721fi
52722echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52723echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52724else
52725  # Is the header compilable?
52726echo "$as_me:$LINENO: checking iconv.h usability" >&5
52727echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52728cat >conftest.$ac_ext <<_ACEOF
52729/* confdefs.h.  */
52730_ACEOF
52731cat confdefs.h >>conftest.$ac_ext
52732cat >>conftest.$ac_ext <<_ACEOF
52733/* end confdefs.h.  */
52734$ac_includes_default
52735#include <iconv.h>
52736_ACEOF
52737rm -f conftest.$ac_objext
52738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52739  (eval $ac_compile) 2>conftest.er1
52740  ac_status=$?
52741  grep -v '^ *+' conftest.er1 >conftest.err
52742  rm -f conftest.er1
52743  cat conftest.err >&5
52744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52745  (exit $ac_status); } &&
52746	 { ac_try='test -z "$ac_c_werror_flag"
52747			 || test ! -s conftest.err'
52748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52749  (eval $ac_try) 2>&5
52750  ac_status=$?
52751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52752  (exit $ac_status); }; } &&
52753	 { ac_try='test -s conftest.$ac_objext'
52754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52755  (eval $ac_try) 2>&5
52756  ac_status=$?
52757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52758  (exit $ac_status); }; }; then
52759  ac_header_compiler=yes
52760else
52761  echo "$as_me: failed program was:" >&5
52762sed 's/^/| /' conftest.$ac_ext >&5
52763
52764ac_header_compiler=no
52765fi
52766rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52767echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52768echo "${ECHO_T}$ac_header_compiler" >&6
52769
52770# Is the header present?
52771echo "$as_me:$LINENO: checking iconv.h presence" >&5
52772echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52773cat >conftest.$ac_ext <<_ACEOF
52774/* confdefs.h.  */
52775_ACEOF
52776cat confdefs.h >>conftest.$ac_ext
52777cat >>conftest.$ac_ext <<_ACEOF
52778/* end confdefs.h.  */
52779#include <iconv.h>
52780_ACEOF
52781if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52782  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52783  ac_status=$?
52784  grep -v '^ *+' conftest.er1 >conftest.err
52785  rm -f conftest.er1
52786  cat conftest.err >&5
52787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52788  (exit $ac_status); } >/dev/null; then
52789  if test -s conftest.err; then
52790    ac_cpp_err=$ac_c_preproc_warn_flag
52791    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52792  else
52793    ac_cpp_err=
52794  fi
52795else
52796  ac_cpp_err=yes
52797fi
52798if test -z "$ac_cpp_err"; then
52799  ac_header_preproc=yes
52800else
52801  echo "$as_me: failed program was:" >&5
52802sed 's/^/| /' conftest.$ac_ext >&5
52803
52804  ac_header_preproc=no
52805fi
52806rm -f conftest.err conftest.$ac_ext
52807echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52808echo "${ECHO_T}$ac_header_preproc" >&6
52809
52810# So?  What about this header?
52811case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52812  yes:no: )
52813    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52814echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52815    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52816echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52817    ac_header_preproc=yes
52818    ;;
52819  no:yes:* )
52820    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52821echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52822    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
52823echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
52824    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52825echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52826    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
52827echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52828    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52829echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52830    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52831echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52832    (
52833      cat <<\_ASBOX
52834## ----------------------------------------- ##
52835## Report this to the package-unused lists.  ##
52836## ----------------------------------------- ##
52837_ASBOX
52838    ) |
52839      sed "s/^/$as_me: WARNING:     /" >&2
52840    ;;
52841esac
52842echo "$as_me:$LINENO: checking for iconv.h" >&5
52843echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52844if test "${ac_cv_header_iconv_h+set}" = set; then
52845  echo $ECHO_N "(cached) $ECHO_C" >&6
52846else
52847  ac_cv_header_iconv_h=$ac_header_preproc
52848fi
52849echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52850echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52851
52852fi
52853if test $ac_cv_header_iconv_h = yes; then
52854  ac_has_iconv_h=yes
52855else
52856  ac_has_iconv_h=no
52857fi
52858
52859
52860    if test "${ac_cv_header_langinfo_h+set}" = set; then
52861  echo "$as_me:$LINENO: checking for langinfo.h" >&5
52862echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52863if test "${ac_cv_header_langinfo_h+set}" = set; then
52864  echo $ECHO_N "(cached) $ECHO_C" >&6
52865fi
52866echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52867echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52868else
52869  # Is the header compilable?
52870echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52871echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52872cat >conftest.$ac_ext <<_ACEOF
52873/* confdefs.h.  */
52874_ACEOF
52875cat confdefs.h >>conftest.$ac_ext
52876cat >>conftest.$ac_ext <<_ACEOF
52877/* end confdefs.h.  */
52878$ac_includes_default
52879#include <langinfo.h>
52880_ACEOF
52881rm -f conftest.$ac_objext
52882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52883  (eval $ac_compile) 2>conftest.er1
52884  ac_status=$?
52885  grep -v '^ *+' conftest.er1 >conftest.err
52886  rm -f conftest.er1
52887  cat conftest.err >&5
52888  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889  (exit $ac_status); } &&
52890	 { ac_try='test -z "$ac_c_werror_flag"
52891			 || test ! -s conftest.err'
52892  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893  (eval $ac_try) 2>&5
52894  ac_status=$?
52895  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896  (exit $ac_status); }; } &&
52897	 { ac_try='test -s conftest.$ac_objext'
52898  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52899  (eval $ac_try) 2>&5
52900  ac_status=$?
52901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902  (exit $ac_status); }; }; then
52903  ac_header_compiler=yes
52904else
52905  echo "$as_me: failed program was:" >&5
52906sed 's/^/| /' conftest.$ac_ext >&5
52907
52908ac_header_compiler=no
52909fi
52910rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52911echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52912echo "${ECHO_T}$ac_header_compiler" >&6
52913
52914# Is the header present?
52915echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52916echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52917cat >conftest.$ac_ext <<_ACEOF
52918/* confdefs.h.  */
52919_ACEOF
52920cat confdefs.h >>conftest.$ac_ext
52921cat >>conftest.$ac_ext <<_ACEOF
52922/* end confdefs.h.  */
52923#include <langinfo.h>
52924_ACEOF
52925if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52926  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52927  ac_status=$?
52928  grep -v '^ *+' conftest.er1 >conftest.err
52929  rm -f conftest.er1
52930  cat conftest.err >&5
52931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52932  (exit $ac_status); } >/dev/null; then
52933  if test -s conftest.err; then
52934    ac_cpp_err=$ac_c_preproc_warn_flag
52935    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52936  else
52937    ac_cpp_err=
52938  fi
52939else
52940  ac_cpp_err=yes
52941fi
52942if test -z "$ac_cpp_err"; then
52943  ac_header_preproc=yes
52944else
52945  echo "$as_me: failed program was:" >&5
52946sed 's/^/| /' conftest.$ac_ext >&5
52947
52948  ac_header_preproc=no
52949fi
52950rm -f conftest.err conftest.$ac_ext
52951echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52952echo "${ECHO_T}$ac_header_preproc" >&6
52953
52954# So?  What about this header?
52955case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52956  yes:no: )
52957    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52958echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52959    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52960echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52961    ac_header_preproc=yes
52962    ;;
52963  no:yes:* )
52964    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52965echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52966    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52967echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52968    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52969echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52970    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52971echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52972    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52973echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52974    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52975echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52976    (
52977      cat <<\_ASBOX
52978## ----------------------------------------- ##
52979## Report this to the package-unused lists.  ##
52980## ----------------------------------------- ##
52981_ASBOX
52982    ) |
52983      sed "s/^/$as_me: WARNING:     /" >&2
52984    ;;
52985esac
52986echo "$as_me:$LINENO: checking for langinfo.h" >&5
52987echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52988if test "${ac_cv_header_langinfo_h+set}" = set; then
52989  echo $ECHO_N "(cached) $ECHO_C" >&6
52990else
52991  ac_cv_header_langinfo_h=$ac_header_preproc
52992fi
52993echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52994echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52995
52996fi
52997if test $ac_cv_header_langinfo_h = yes; then
52998  ac_has_langinfo_h=yes
52999else
53000  ac_has_langinfo_h=no
53001fi
53002
53003
53004
53005    # Check for existence of libiconv.a providing XPG2 wchar_t support.
53006    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
53007echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
53008if test "${ac_cv_lib_iconv_iconv+set}" = set; then
53009  echo $ECHO_N "(cached) $ECHO_C" >&6
53010else
53011  ac_check_lib_save_LIBS=$LIBS
53012LIBS="-liconv  $LIBS"
53013if test x$gcc_no_link = xyes; then
53014  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53015echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53016   { (exit 1); exit 1; }; }
53017fi
53018cat >conftest.$ac_ext <<_ACEOF
53019/* confdefs.h.  */
53020_ACEOF
53021cat confdefs.h >>conftest.$ac_ext
53022cat >>conftest.$ac_ext <<_ACEOF
53023/* end confdefs.h.  */
53024
53025/* Override any gcc2 internal prototype to avoid an error.  */
53026#ifdef __cplusplus
53027extern "C"
53028#endif
53029/* We use char because int might match the return type of a gcc2
53030   builtin and then its argument prototype would still apply.  */
53031char iconv ();
53032int
53033main ()
53034{
53035iconv ();
53036  ;
53037  return 0;
53038}
53039_ACEOF
53040rm -f conftest.$ac_objext conftest$ac_exeext
53041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53042  (eval $ac_link) 2>conftest.er1
53043  ac_status=$?
53044  grep -v '^ *+' conftest.er1 >conftest.err
53045  rm -f conftest.er1
53046  cat conftest.err >&5
53047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53048  (exit $ac_status); } &&
53049	 { ac_try='test -z "$ac_c_werror_flag"
53050			 || test ! -s conftest.err'
53051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53052  (eval $ac_try) 2>&5
53053  ac_status=$?
53054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53055  (exit $ac_status); }; } &&
53056	 { ac_try='test -s conftest$ac_exeext'
53057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53058  (eval $ac_try) 2>&5
53059  ac_status=$?
53060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061  (exit $ac_status); }; }; then
53062  ac_cv_lib_iconv_iconv=yes
53063else
53064  echo "$as_me: failed program was:" >&5
53065sed 's/^/| /' conftest.$ac_ext >&5
53066
53067ac_cv_lib_iconv_iconv=no
53068fi
53069rm -f conftest.err conftest.$ac_objext \
53070      conftest$ac_exeext conftest.$ac_ext
53071LIBS=$ac_check_lib_save_LIBS
53072fi
53073echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
53074echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
53075if test $ac_cv_lib_iconv_iconv = yes; then
53076  LIBICONV="-liconv"
53077fi
53078
53079    ac_save_LIBS="$LIBS"
53080    LIBS="$LIBS $LIBICONV"
53081
53082
53083
53084
53085
53086
53087for ac_func in iconv_open iconv_close iconv nl_langinfo
53088do
53089as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53090echo "$as_me:$LINENO: checking for $ac_func" >&5
53091echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53092if eval "test \"\${$as_ac_var+set}\" = set"; then
53093  echo $ECHO_N "(cached) $ECHO_C" >&6
53094else
53095  if test x$gcc_no_link = xyes; then
53096  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53097echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53098   { (exit 1); exit 1; }; }
53099fi
53100cat >conftest.$ac_ext <<_ACEOF
53101/* confdefs.h.  */
53102_ACEOF
53103cat confdefs.h >>conftest.$ac_ext
53104cat >>conftest.$ac_ext <<_ACEOF
53105/* end confdefs.h.  */
53106/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53107   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53108#define $ac_func innocuous_$ac_func
53109
53110/* System header to define __stub macros and hopefully few prototypes,
53111    which can conflict with char $ac_func (); below.
53112    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53113    <limits.h> exists even on freestanding compilers.  */
53114
53115#ifdef __STDC__
53116# include <limits.h>
53117#else
53118# include <assert.h>
53119#endif
53120
53121#undef $ac_func
53122
53123/* Override any gcc2 internal prototype to avoid an error.  */
53124#ifdef __cplusplus
53125extern "C"
53126{
53127#endif
53128/* We use char because int might match the return type of a gcc2
53129   builtin and then its argument prototype would still apply.  */
53130char $ac_func ();
53131/* The GNU C library defines this for functions which it implements
53132    to always fail with ENOSYS.  Some functions are actually named
53133    something starting with __ and the normal name is an alias.  */
53134#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53135choke me
53136#else
53137char (*f) () = $ac_func;
53138#endif
53139#ifdef __cplusplus
53140}
53141#endif
53142
53143int
53144main ()
53145{
53146return f != $ac_func;
53147  ;
53148  return 0;
53149}
53150_ACEOF
53151rm -f conftest.$ac_objext conftest$ac_exeext
53152if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53153  (eval $ac_link) 2>conftest.er1
53154  ac_status=$?
53155  grep -v '^ *+' conftest.er1 >conftest.err
53156  rm -f conftest.er1
53157  cat conftest.err >&5
53158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53159  (exit $ac_status); } &&
53160	 { ac_try='test -z "$ac_c_werror_flag"
53161			 || test ! -s conftest.err'
53162  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53163  (eval $ac_try) 2>&5
53164  ac_status=$?
53165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53166  (exit $ac_status); }; } &&
53167	 { ac_try='test -s conftest$ac_exeext'
53168  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169  (eval $ac_try) 2>&5
53170  ac_status=$?
53171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172  (exit $ac_status); }; }; then
53173  eval "$as_ac_var=yes"
53174else
53175  echo "$as_me: failed program was:" >&5
53176sed 's/^/| /' conftest.$ac_ext >&5
53177
53178eval "$as_ac_var=no"
53179fi
53180rm -f conftest.err conftest.$ac_objext \
53181      conftest$ac_exeext conftest.$ac_ext
53182fi
53183echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53184echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53185if test `eval echo '${'$as_ac_var'}'` = yes; then
53186  cat >>confdefs.h <<_ACEOF
53187#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53188_ACEOF
53189 ac_XPG2funcs=yes
53190else
53191  ac_XPG2funcs=no
53192fi
53193done
53194
53195
53196    LIBS="$ac_save_LIBS"
53197
53198    if test x"$ac_has_iconv_h" = xyes &&
53199       test x"$ac_has_langinfo_h" = xyes &&
53200       test x"$ac_XPG2funcs" = xyes;
53201    then
53202
53203cat >>confdefs.h <<\_ACEOF
53204#define _GLIBCXX_USE_ICONV 1
53205_ACEOF
53206
53207      enable_iconv=yes
53208    fi
53209  fi
53210  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
53211echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
53212  echo "$as_me:$LINENO: result: $enable_iconv" >&5
53213echo "${ECHO_T}$enable_iconv" >&6
53214
53215
53216  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53217  ac_save_CXXFLAGS="$CXXFLAGS"
53218  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53219
53220
53221  echo "$as_me:$LINENO: checking for strtold declaration" >&5
53222echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53223  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53224    if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53225  echo $ECHO_N "(cached) $ECHO_C" >&6
53226else
53227
53228
53229
53230      ac_ext=cc
53231ac_cpp='$CXXCPP $CPPFLAGS'
53232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53235
53236      cat >conftest.$ac_ext <<_ACEOF
53237/* confdefs.h.  */
53238_ACEOF
53239cat confdefs.h >>conftest.$ac_ext
53240cat >>conftest.$ac_ext <<_ACEOF
53241/* end confdefs.h.  */
53242#include <stdlib.h>
53243int
53244main ()
53245{
53246 strtold(0, 0);
53247  ;
53248  return 0;
53249}
53250_ACEOF
53251rm -f conftest.$ac_objext
53252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53253  (eval $ac_compile) 2>conftest.er1
53254  ac_status=$?
53255  grep -v '^ *+' conftest.er1 >conftest.err
53256  rm -f conftest.er1
53257  cat conftest.err >&5
53258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53259  (exit $ac_status); } &&
53260	 { ac_try='test -z "$ac_cxx_werror_flag"
53261			 || test ! -s conftest.err'
53262  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53263  (eval $ac_try) 2>&5
53264  ac_status=$?
53265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53266  (exit $ac_status); }; } &&
53267	 { ac_try='test -s conftest.$ac_objext'
53268  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53269  (eval $ac_try) 2>&5
53270  ac_status=$?
53271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53272  (exit $ac_status); }; }; then
53273  glibcxx_cv_func_strtold_use=yes
53274else
53275  echo "$as_me: failed program was:" >&5
53276sed 's/^/| /' conftest.$ac_ext >&5
53277
53278glibcxx_cv_func_strtold_use=no
53279fi
53280rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53281      ac_ext=c
53282ac_cpp='$CPP $CPPFLAGS'
53283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285ac_compiler_gnu=$ac_cv_c_compiler_gnu
53286
53287
53288fi
53289
53290  fi
53291  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53292echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53293  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53294
53295for ac_func in strtold
53296do
53297as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53298echo "$as_me:$LINENO: checking for $ac_func" >&5
53299echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53300if eval "test \"\${$as_ac_var+set}\" = set"; then
53301  echo $ECHO_N "(cached) $ECHO_C" >&6
53302else
53303  if test x$gcc_no_link = xyes; then
53304  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53305echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53306   { (exit 1); exit 1; }; }
53307fi
53308cat >conftest.$ac_ext <<_ACEOF
53309/* confdefs.h.  */
53310_ACEOF
53311cat confdefs.h >>conftest.$ac_ext
53312cat >>conftest.$ac_ext <<_ACEOF
53313/* end confdefs.h.  */
53314/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53315   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53316#define $ac_func innocuous_$ac_func
53317
53318/* System header to define __stub macros and hopefully few prototypes,
53319    which can conflict with char $ac_func (); below.
53320    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53321    <limits.h> exists even on freestanding compilers.  */
53322
53323#ifdef __STDC__
53324# include <limits.h>
53325#else
53326# include <assert.h>
53327#endif
53328
53329#undef $ac_func
53330
53331/* Override any gcc2 internal prototype to avoid an error.  */
53332#ifdef __cplusplus
53333extern "C"
53334{
53335#endif
53336/* We use char because int might match the return type of a gcc2
53337   builtin and then its argument prototype would still apply.  */
53338char $ac_func ();
53339/* The GNU C library defines this for functions which it implements
53340    to always fail with ENOSYS.  Some functions are actually named
53341    something starting with __ and the normal name is an alias.  */
53342#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53343choke me
53344#else
53345char (*f) () = $ac_func;
53346#endif
53347#ifdef __cplusplus
53348}
53349#endif
53350
53351int
53352main ()
53353{
53354return f != $ac_func;
53355  ;
53356  return 0;
53357}
53358_ACEOF
53359rm -f conftest.$ac_objext conftest$ac_exeext
53360if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53361  (eval $ac_link) 2>conftest.er1
53362  ac_status=$?
53363  grep -v '^ *+' conftest.er1 >conftest.err
53364  rm -f conftest.er1
53365  cat conftest.err >&5
53366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367  (exit $ac_status); } &&
53368	 { ac_try='test -z "$ac_c_werror_flag"
53369			 || test ! -s conftest.err'
53370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53371  (eval $ac_try) 2>&5
53372  ac_status=$?
53373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53374  (exit $ac_status); }; } &&
53375	 { ac_try='test -s conftest$ac_exeext'
53376  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53377  (eval $ac_try) 2>&5
53378  ac_status=$?
53379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53380  (exit $ac_status); }; }; then
53381  eval "$as_ac_var=yes"
53382else
53383  echo "$as_me: failed program was:" >&5
53384sed 's/^/| /' conftest.$ac_ext >&5
53385
53386eval "$as_ac_var=no"
53387fi
53388rm -f conftest.err conftest.$ac_objext \
53389      conftest$ac_exeext conftest.$ac_ext
53390fi
53391echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53392echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53393if test `eval echo '${'$as_ac_var'}'` = yes; then
53394  cat >>confdefs.h <<_ACEOF
53395#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53396_ACEOF
53397
53398fi
53399done
53400
53401  fi
53402
53403
53404
53405
53406
53407  echo "$as_me:$LINENO: checking for strtof declaration" >&5
53408echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53409  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53410    if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53411  echo $ECHO_N "(cached) $ECHO_C" >&6
53412else
53413
53414
53415
53416      ac_ext=cc
53417ac_cpp='$CXXCPP $CPPFLAGS'
53418ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53421
53422      cat >conftest.$ac_ext <<_ACEOF
53423/* confdefs.h.  */
53424_ACEOF
53425cat confdefs.h >>conftest.$ac_ext
53426cat >>conftest.$ac_ext <<_ACEOF
53427/* end confdefs.h.  */
53428#include <stdlib.h>
53429int
53430main ()
53431{
53432 strtof(0, 0);
53433  ;
53434  return 0;
53435}
53436_ACEOF
53437rm -f conftest.$ac_objext
53438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53439  (eval $ac_compile) 2>conftest.er1
53440  ac_status=$?
53441  grep -v '^ *+' conftest.er1 >conftest.err
53442  rm -f conftest.er1
53443  cat conftest.err >&5
53444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53445  (exit $ac_status); } &&
53446	 { ac_try='test -z "$ac_cxx_werror_flag"
53447			 || test ! -s conftest.err'
53448  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53449  (eval $ac_try) 2>&5
53450  ac_status=$?
53451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452  (exit $ac_status); }; } &&
53453	 { ac_try='test -s conftest.$ac_objext'
53454  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53455  (eval $ac_try) 2>&5
53456  ac_status=$?
53457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53458  (exit $ac_status); }; }; then
53459  glibcxx_cv_func_strtof_use=yes
53460else
53461  echo "$as_me: failed program was:" >&5
53462sed 's/^/| /' conftest.$ac_ext >&5
53463
53464glibcxx_cv_func_strtof_use=no
53465fi
53466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53467      ac_ext=c
53468ac_cpp='$CPP $CPPFLAGS'
53469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471ac_compiler_gnu=$ac_cv_c_compiler_gnu
53472
53473
53474fi
53475
53476  fi
53477  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53478echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53479  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53480
53481for ac_func in strtof
53482do
53483as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53484echo "$as_me:$LINENO: checking for $ac_func" >&5
53485echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53486if eval "test \"\${$as_ac_var+set}\" = set"; then
53487  echo $ECHO_N "(cached) $ECHO_C" >&6
53488else
53489  if test x$gcc_no_link = xyes; then
53490  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53491echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53492   { (exit 1); exit 1; }; }
53493fi
53494cat >conftest.$ac_ext <<_ACEOF
53495/* confdefs.h.  */
53496_ACEOF
53497cat confdefs.h >>conftest.$ac_ext
53498cat >>conftest.$ac_ext <<_ACEOF
53499/* end confdefs.h.  */
53500/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53501   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53502#define $ac_func innocuous_$ac_func
53503
53504/* System header to define __stub macros and hopefully few prototypes,
53505    which can conflict with char $ac_func (); below.
53506    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53507    <limits.h> exists even on freestanding compilers.  */
53508
53509#ifdef __STDC__
53510# include <limits.h>
53511#else
53512# include <assert.h>
53513#endif
53514
53515#undef $ac_func
53516
53517/* Override any gcc2 internal prototype to avoid an error.  */
53518#ifdef __cplusplus
53519extern "C"
53520{
53521#endif
53522/* We use char because int might match the return type of a gcc2
53523   builtin and then its argument prototype would still apply.  */
53524char $ac_func ();
53525/* The GNU C library defines this for functions which it implements
53526    to always fail with ENOSYS.  Some functions are actually named
53527    something starting with __ and the normal name is an alias.  */
53528#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53529choke me
53530#else
53531char (*f) () = $ac_func;
53532#endif
53533#ifdef __cplusplus
53534}
53535#endif
53536
53537int
53538main ()
53539{
53540return f != $ac_func;
53541  ;
53542  return 0;
53543}
53544_ACEOF
53545rm -f conftest.$ac_objext conftest$ac_exeext
53546if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53547  (eval $ac_link) 2>conftest.er1
53548  ac_status=$?
53549  grep -v '^ *+' conftest.er1 >conftest.err
53550  rm -f conftest.er1
53551  cat conftest.err >&5
53552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553  (exit $ac_status); } &&
53554	 { ac_try='test -z "$ac_c_werror_flag"
53555			 || test ! -s conftest.err'
53556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53557  (eval $ac_try) 2>&5
53558  ac_status=$?
53559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53560  (exit $ac_status); }; } &&
53561	 { ac_try='test -s conftest$ac_exeext'
53562  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53563  (eval $ac_try) 2>&5
53564  ac_status=$?
53565  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53566  (exit $ac_status); }; }; then
53567  eval "$as_ac_var=yes"
53568else
53569  echo "$as_me: failed program was:" >&5
53570sed 's/^/| /' conftest.$ac_ext >&5
53571
53572eval "$as_ac_var=no"
53573fi
53574rm -f conftest.err conftest.$ac_objext \
53575      conftest$ac_exeext conftest.$ac_ext
53576fi
53577echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53578echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53579if test `eval echo '${'$as_ac_var'}'` = yes; then
53580  cat >>confdefs.h <<_ACEOF
53581#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53582_ACEOF
53583
53584fi
53585done
53586
53587  fi
53588
53589
53590
53591
53592
53593  CXXFLAGS="$ac_save_CXXFLAGS"
53594
53595
53596    # For showmanyc_helper().
53597
53598
53599for ac_header in sys/ioctl.h sys/filio.h
53600do
53601as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53602if eval "test \"\${$as_ac_Header+set}\" = set"; then
53603  echo "$as_me:$LINENO: checking for $ac_header" >&5
53604echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53605if eval "test \"\${$as_ac_Header+set}\" = set"; then
53606  echo $ECHO_N "(cached) $ECHO_C" >&6
53607fi
53608echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53609echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53610else
53611  # Is the header compilable?
53612echo "$as_me:$LINENO: checking $ac_header usability" >&5
53613echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53614cat >conftest.$ac_ext <<_ACEOF
53615/* confdefs.h.  */
53616_ACEOF
53617cat confdefs.h >>conftest.$ac_ext
53618cat >>conftest.$ac_ext <<_ACEOF
53619/* end confdefs.h.  */
53620$ac_includes_default
53621#include <$ac_header>
53622_ACEOF
53623rm -f conftest.$ac_objext
53624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53625  (eval $ac_compile) 2>conftest.er1
53626  ac_status=$?
53627  grep -v '^ *+' conftest.er1 >conftest.err
53628  rm -f conftest.er1
53629  cat conftest.err >&5
53630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631  (exit $ac_status); } &&
53632	 { ac_try='test -z "$ac_c_werror_flag"
53633			 || test ! -s conftest.err'
53634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53635  (eval $ac_try) 2>&5
53636  ac_status=$?
53637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53638  (exit $ac_status); }; } &&
53639	 { ac_try='test -s conftest.$ac_objext'
53640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53641  (eval $ac_try) 2>&5
53642  ac_status=$?
53643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53644  (exit $ac_status); }; }; then
53645  ac_header_compiler=yes
53646else
53647  echo "$as_me: failed program was:" >&5
53648sed 's/^/| /' conftest.$ac_ext >&5
53649
53650ac_header_compiler=no
53651fi
53652rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53653echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53654echo "${ECHO_T}$ac_header_compiler" >&6
53655
53656# Is the header present?
53657echo "$as_me:$LINENO: checking $ac_header presence" >&5
53658echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53659cat >conftest.$ac_ext <<_ACEOF
53660/* confdefs.h.  */
53661_ACEOF
53662cat confdefs.h >>conftest.$ac_ext
53663cat >>conftest.$ac_ext <<_ACEOF
53664/* end confdefs.h.  */
53665#include <$ac_header>
53666_ACEOF
53667if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53668  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53669  ac_status=$?
53670  grep -v '^ *+' conftest.er1 >conftest.err
53671  rm -f conftest.er1
53672  cat conftest.err >&5
53673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53674  (exit $ac_status); } >/dev/null; then
53675  if test -s conftest.err; then
53676    ac_cpp_err=$ac_c_preproc_warn_flag
53677    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53678  else
53679    ac_cpp_err=
53680  fi
53681else
53682  ac_cpp_err=yes
53683fi
53684if test -z "$ac_cpp_err"; then
53685  ac_header_preproc=yes
53686else
53687  echo "$as_me: failed program was:" >&5
53688sed 's/^/| /' conftest.$ac_ext >&5
53689
53690  ac_header_preproc=no
53691fi
53692rm -f conftest.err conftest.$ac_ext
53693echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53694echo "${ECHO_T}$ac_header_preproc" >&6
53695
53696# So?  What about this header?
53697case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53698  yes:no: )
53699    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53700echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53701    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53702echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53703    ac_header_preproc=yes
53704    ;;
53705  no:yes:* )
53706    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53707echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53708    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53709echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53710    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53711echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53712    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53713echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53714    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53715echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53716    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53717echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53718    (
53719      cat <<\_ASBOX
53720## ----------------------------------------- ##
53721## Report this to the package-unused lists.  ##
53722## ----------------------------------------- ##
53723_ASBOX
53724    ) |
53725      sed "s/^/$as_me: WARNING:     /" >&2
53726    ;;
53727esac
53728echo "$as_me:$LINENO: checking for $ac_header" >&5
53729echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53730if eval "test \"\${$as_ac_Header+set}\" = set"; then
53731  echo $ECHO_N "(cached) $ECHO_C" >&6
53732else
53733  eval "$as_ac_Header=\$ac_header_preproc"
53734fi
53735echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53736echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53737
53738fi
53739if test `eval echo '${'$as_ac_Header'}'` = yes; then
53740  cat >>confdefs.h <<_ACEOF
53741#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53742_ACEOF
53743
53744fi
53745
53746done
53747
53748
53749  echo "$as_me:$LINENO: checking for poll" >&5
53750echo $ECHO_N "checking for poll... $ECHO_C" >&6
53751  if test "${glibcxx_cv_POLL+set}" = set; then
53752  echo $ECHO_N "(cached) $ECHO_C" >&6
53753else
53754
53755    if test x$gcc_no_link = xyes; then
53756  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53757echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53758   { (exit 1); exit 1; }; }
53759fi
53760cat >conftest.$ac_ext <<_ACEOF
53761/* confdefs.h.  */
53762_ACEOF
53763cat confdefs.h >>conftest.$ac_ext
53764cat >>conftest.$ac_ext <<_ACEOF
53765/* end confdefs.h.  */
53766#include <poll.h>
53767int
53768main ()
53769{
53770struct pollfd pfd[1];
53771       pfd[0].events = POLLIN;
53772       poll(pfd, 1, 0);
53773  ;
53774  return 0;
53775}
53776_ACEOF
53777rm -f conftest.$ac_objext conftest$ac_exeext
53778if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53779  (eval $ac_link) 2>conftest.er1
53780  ac_status=$?
53781  grep -v '^ *+' conftest.er1 >conftest.err
53782  rm -f conftest.er1
53783  cat conftest.err >&5
53784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53785  (exit $ac_status); } &&
53786	 { ac_try='test -z "$ac_c_werror_flag"
53787			 || test ! -s conftest.err'
53788  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53789  (eval $ac_try) 2>&5
53790  ac_status=$?
53791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53792  (exit $ac_status); }; } &&
53793	 { ac_try='test -s conftest$ac_exeext'
53794  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53795  (eval $ac_try) 2>&5
53796  ac_status=$?
53797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53798  (exit $ac_status); }; }; then
53799  glibcxx_cv_POLL=yes
53800else
53801  echo "$as_me: failed program was:" >&5
53802sed 's/^/| /' conftest.$ac_ext >&5
53803
53804glibcxx_cv_POLL=no
53805fi
53806rm -f conftest.err conftest.$ac_objext \
53807      conftest$ac_exeext conftest.$ac_ext
53808
53809fi
53810
53811  if test $glibcxx_cv_POLL = yes; then
53812
53813cat >>confdefs.h <<\_ACEOF
53814#define HAVE_POLL 1
53815_ACEOF
53816
53817  fi
53818  echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53819echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53820
53821
53822  echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53823echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53824  if test "${glibcxx_cv_S_ISREG+set}" = set; then
53825  echo $ECHO_N "(cached) $ECHO_C" >&6
53826else
53827
53828    if test x$gcc_no_link = xyes; then
53829  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53830echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53831   { (exit 1); exit 1; }; }
53832fi
53833cat >conftest.$ac_ext <<_ACEOF
53834/* confdefs.h.  */
53835_ACEOF
53836cat confdefs.h >>conftest.$ac_ext
53837cat >>conftest.$ac_ext <<_ACEOF
53838/* end confdefs.h.  */
53839#include <sys/stat.h>
53840int
53841main ()
53842{
53843struct stat buffer;
53844       fstat(0, &buffer);
53845       S_ISREG(buffer.st_mode);
53846  ;
53847  return 0;
53848}
53849_ACEOF
53850rm -f conftest.$ac_objext conftest$ac_exeext
53851if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53852  (eval $ac_link) 2>conftest.er1
53853  ac_status=$?
53854  grep -v '^ *+' conftest.er1 >conftest.err
53855  rm -f conftest.er1
53856  cat conftest.err >&5
53857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53858  (exit $ac_status); } &&
53859	 { ac_try='test -z "$ac_c_werror_flag"
53860			 || test ! -s conftest.err'
53861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53862  (eval $ac_try) 2>&5
53863  ac_status=$?
53864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53865  (exit $ac_status); }; } &&
53866	 { ac_try='test -s conftest$ac_exeext'
53867  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53868  (eval $ac_try) 2>&5
53869  ac_status=$?
53870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53871  (exit $ac_status); }; }; then
53872  glibcxx_cv_S_ISREG=yes
53873else
53874  echo "$as_me: failed program was:" >&5
53875sed 's/^/| /' conftest.$ac_ext >&5
53876
53877glibcxx_cv_S_ISREG=no
53878fi
53879rm -f conftest.err conftest.$ac_objext \
53880      conftest$ac_exeext conftest.$ac_ext
53881
53882fi
53883
53884  if test "${glibcxx_cv_S_IFREG+set}" = set; then
53885  echo $ECHO_N "(cached) $ECHO_C" >&6
53886else
53887
53888    if test x$gcc_no_link = xyes; then
53889  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53890echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53891   { (exit 1); exit 1; }; }
53892fi
53893cat >conftest.$ac_ext <<_ACEOF
53894/* confdefs.h.  */
53895_ACEOF
53896cat confdefs.h >>conftest.$ac_ext
53897cat >>conftest.$ac_ext <<_ACEOF
53898/* end confdefs.h.  */
53899#include <sys/stat.h>
53900int
53901main ()
53902{
53903struct stat buffer;
53904       fstat(0, &buffer);
53905       S_IFREG & buffer.st_mode;
53906  ;
53907  return 0;
53908}
53909_ACEOF
53910rm -f conftest.$ac_objext conftest$ac_exeext
53911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53912  (eval $ac_link) 2>conftest.er1
53913  ac_status=$?
53914  grep -v '^ *+' conftest.er1 >conftest.err
53915  rm -f conftest.er1
53916  cat conftest.err >&5
53917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53918  (exit $ac_status); } &&
53919	 { ac_try='test -z "$ac_c_werror_flag"
53920			 || test ! -s conftest.err'
53921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53922  (eval $ac_try) 2>&5
53923  ac_status=$?
53924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925  (exit $ac_status); }; } &&
53926	 { ac_try='test -s conftest$ac_exeext'
53927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53928  (eval $ac_try) 2>&5
53929  ac_status=$?
53930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53931  (exit $ac_status); }; }; then
53932  glibcxx_cv_S_IFREG=yes
53933else
53934  echo "$as_me: failed program was:" >&5
53935sed 's/^/| /' conftest.$ac_ext >&5
53936
53937glibcxx_cv_S_IFREG=no
53938fi
53939rm -f conftest.err conftest.$ac_objext \
53940      conftest$ac_exeext conftest.$ac_ext
53941
53942fi
53943
53944  res=no
53945  if test $glibcxx_cv_S_ISREG = yes; then
53946
53947cat >>confdefs.h <<\_ACEOF
53948#define HAVE_S_ISREG 1
53949_ACEOF
53950
53951    res=S_ISREG
53952  elif test $glibcxx_cv_S_IFREG = yes; then
53953
53954cat >>confdefs.h <<\_ACEOF
53955#define HAVE_S_IFREG 1
53956_ACEOF
53957
53958    res=S_IFREG
53959  fi
53960  echo "$as_me:$LINENO: result: $res" >&5
53961echo "${ECHO_T}$res" >&6
53962
53963
53964    # For xsputn_2().
53965
53966for ac_header in sys/uio.h
53967do
53968as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53969if eval "test \"\${$as_ac_Header+set}\" = set"; then
53970  echo "$as_me:$LINENO: checking for $ac_header" >&5
53971echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53972if eval "test \"\${$as_ac_Header+set}\" = set"; then
53973  echo $ECHO_N "(cached) $ECHO_C" >&6
53974fi
53975echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53976echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53977else
53978  # Is the header compilable?
53979echo "$as_me:$LINENO: checking $ac_header usability" >&5
53980echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53981cat >conftest.$ac_ext <<_ACEOF
53982/* confdefs.h.  */
53983_ACEOF
53984cat confdefs.h >>conftest.$ac_ext
53985cat >>conftest.$ac_ext <<_ACEOF
53986/* end confdefs.h.  */
53987$ac_includes_default
53988#include <$ac_header>
53989_ACEOF
53990rm -f conftest.$ac_objext
53991if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53992  (eval $ac_compile) 2>conftest.er1
53993  ac_status=$?
53994  grep -v '^ *+' conftest.er1 >conftest.err
53995  rm -f conftest.er1
53996  cat conftest.err >&5
53997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53998  (exit $ac_status); } &&
53999	 { ac_try='test -z "$ac_c_werror_flag"
54000			 || test ! -s conftest.err'
54001  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54002  (eval $ac_try) 2>&5
54003  ac_status=$?
54004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54005  (exit $ac_status); }; } &&
54006	 { ac_try='test -s conftest.$ac_objext'
54007  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54008  (eval $ac_try) 2>&5
54009  ac_status=$?
54010  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54011  (exit $ac_status); }; }; then
54012  ac_header_compiler=yes
54013else
54014  echo "$as_me: failed program was:" >&5
54015sed 's/^/| /' conftest.$ac_ext >&5
54016
54017ac_header_compiler=no
54018fi
54019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54020echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54021echo "${ECHO_T}$ac_header_compiler" >&6
54022
54023# Is the header present?
54024echo "$as_me:$LINENO: checking $ac_header presence" >&5
54025echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54026cat >conftest.$ac_ext <<_ACEOF
54027/* confdefs.h.  */
54028_ACEOF
54029cat confdefs.h >>conftest.$ac_ext
54030cat >>conftest.$ac_ext <<_ACEOF
54031/* end confdefs.h.  */
54032#include <$ac_header>
54033_ACEOF
54034if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54035  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54036  ac_status=$?
54037  grep -v '^ *+' conftest.er1 >conftest.err
54038  rm -f conftest.er1
54039  cat conftest.err >&5
54040  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54041  (exit $ac_status); } >/dev/null; then
54042  if test -s conftest.err; then
54043    ac_cpp_err=$ac_c_preproc_warn_flag
54044    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54045  else
54046    ac_cpp_err=
54047  fi
54048else
54049  ac_cpp_err=yes
54050fi
54051if test -z "$ac_cpp_err"; then
54052  ac_header_preproc=yes
54053else
54054  echo "$as_me: failed program was:" >&5
54055sed 's/^/| /' conftest.$ac_ext >&5
54056
54057  ac_header_preproc=no
54058fi
54059rm -f conftest.err conftest.$ac_ext
54060echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54061echo "${ECHO_T}$ac_header_preproc" >&6
54062
54063# So?  What about this header?
54064case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54065  yes:no: )
54066    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54067echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54068    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54069echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54070    ac_header_preproc=yes
54071    ;;
54072  no:yes:* )
54073    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54074echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54075    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54076echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54077    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54078echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54079    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54080echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54081    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54082echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54083    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54084echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54085    (
54086      cat <<\_ASBOX
54087## ----------------------------------------- ##
54088## Report this to the package-unused lists.  ##
54089## ----------------------------------------- ##
54090_ASBOX
54091    ) |
54092      sed "s/^/$as_me: WARNING:     /" >&2
54093    ;;
54094esac
54095echo "$as_me:$LINENO: checking for $ac_header" >&5
54096echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54097if eval "test \"\${$as_ac_Header+set}\" = set"; then
54098  echo $ECHO_N "(cached) $ECHO_C" >&6
54099else
54100  eval "$as_ac_Header=\$ac_header_preproc"
54101fi
54102echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54103echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54104
54105fi
54106if test `eval echo '${'$as_ac_Header'}'` = yes; then
54107  cat >>confdefs.h <<_ACEOF
54108#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54109_ACEOF
54110
54111fi
54112
54113done
54114
54115
54116  echo "$as_me:$LINENO: checking for writev" >&5
54117echo $ECHO_N "checking for writev... $ECHO_C" >&6
54118  if test "${glibcxx_cv_WRITEV+set}" = set; then
54119  echo $ECHO_N "(cached) $ECHO_C" >&6
54120else
54121
54122    if test x$gcc_no_link = xyes; then
54123  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54124echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54125   { (exit 1); exit 1; }; }
54126fi
54127cat >conftest.$ac_ext <<_ACEOF
54128/* confdefs.h.  */
54129_ACEOF
54130cat confdefs.h >>conftest.$ac_ext
54131cat >>conftest.$ac_ext <<_ACEOF
54132/* end confdefs.h.  */
54133#include <sys/uio.h>
54134int
54135main ()
54136{
54137struct iovec iov[2];
54138       writev(0, iov, 0);
54139  ;
54140  return 0;
54141}
54142_ACEOF
54143rm -f conftest.$ac_objext conftest$ac_exeext
54144if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54145  (eval $ac_link) 2>conftest.er1
54146  ac_status=$?
54147  grep -v '^ *+' conftest.er1 >conftest.err
54148  rm -f conftest.er1
54149  cat conftest.err >&5
54150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54151  (exit $ac_status); } &&
54152	 { ac_try='test -z "$ac_c_werror_flag"
54153			 || test ! -s conftest.err'
54154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54155  (eval $ac_try) 2>&5
54156  ac_status=$?
54157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54158  (exit $ac_status); }; } &&
54159	 { ac_try='test -s conftest$ac_exeext'
54160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54161  (eval $ac_try) 2>&5
54162  ac_status=$?
54163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54164  (exit $ac_status); }; }; then
54165  glibcxx_cv_WRITEV=yes
54166else
54167  echo "$as_me: failed program was:" >&5
54168sed 's/^/| /' conftest.$ac_ext >&5
54169
54170glibcxx_cv_WRITEV=no
54171fi
54172rm -f conftest.err conftest.$ac_objext \
54173      conftest$ac_exeext conftest.$ac_ext
54174
54175fi
54176
54177  if test $glibcxx_cv_WRITEV = yes; then
54178
54179cat >>confdefs.h <<\_ACEOF
54180#define HAVE_WRITEV 1
54181_ACEOF
54182
54183  fi
54184  echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
54185echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
54186
54187
54188    cat >>confdefs.h <<\_ACEOF
54189#define HAVE_LC_MESSAGES 1
54190_ACEOF
54191
54192
54193    cat >conftest.$ac_ext <<_ACEOF
54194/* confdefs.h.  */
54195_ACEOF
54196cat confdefs.h >>conftest.$ac_ext
54197cat >>conftest.$ac_ext <<_ACEOF
54198/* end confdefs.h.  */
54199#include <setjmp.h>
54200int
54201main ()
54202{
54203sigjmp_buf env;
54204       while (! sigsetjmp (env, 1))
54205         siglongjmp (env, 1);
54206
54207  ;
54208  return 0;
54209}
54210_ACEOF
54211rm -f conftest.$ac_objext
54212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54213  (eval $ac_compile) 2>conftest.er1
54214  ac_status=$?
54215  grep -v '^ *+' conftest.er1 >conftest.err
54216  rm -f conftest.er1
54217  cat conftest.err >&5
54218  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54219  (exit $ac_status); } &&
54220	 { ac_try='test -z "$ac_c_werror_flag"
54221			 || test ! -s conftest.err'
54222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54223  (eval $ac_try) 2>&5
54224  ac_status=$?
54225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54226  (exit $ac_status); }; } &&
54227	 { ac_try='test -s conftest.$ac_objext'
54228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54229  (eval $ac_try) 2>&5
54230  ac_status=$?
54231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54232  (exit $ac_status); }; }; then
54233
54234cat >>confdefs.h <<\_ACEOF
54235#define HAVE_SIGSETJMP 1
54236_ACEOF
54237
54238else
54239  echo "$as_me: failed program was:" >&5
54240sed 's/^/| /' conftest.$ac_ext >&5
54241
54242fi
54243rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54244
54245    cat >>confdefs.h <<\_ACEOF
54246#define HAVE_MMAP 1
54247_ACEOF
54248
54249    ;;
54250
54251  *djgpp)
54252
54253
54254
54255
54256
54257
54258
54259
54260
54261
54262
54263
54264
54265
54266
54267
54268
54269
54270
54271
54272for ac_header in float.h ieeefp.h inttypes.h locale.h \
54273      memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54274      wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54275      sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54276do
54277as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54278if eval "test \"\${$as_ac_Header+set}\" = set"; then
54279  echo "$as_me:$LINENO: checking for $ac_header" >&5
54280echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54281if eval "test \"\${$as_ac_Header+set}\" = set"; then
54282  echo $ECHO_N "(cached) $ECHO_C" >&6
54283fi
54284echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54285echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54286else
54287  # Is the header compilable?
54288echo "$as_me:$LINENO: checking $ac_header usability" >&5
54289echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54290cat >conftest.$ac_ext <<_ACEOF
54291/* confdefs.h.  */
54292_ACEOF
54293cat confdefs.h >>conftest.$ac_ext
54294cat >>conftest.$ac_ext <<_ACEOF
54295/* end confdefs.h.  */
54296$ac_includes_default
54297#include <$ac_header>
54298_ACEOF
54299rm -f conftest.$ac_objext
54300if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54301  (eval $ac_compile) 2>conftest.er1
54302  ac_status=$?
54303  grep -v '^ *+' conftest.er1 >conftest.err
54304  rm -f conftest.er1
54305  cat conftest.err >&5
54306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54307  (exit $ac_status); } &&
54308	 { ac_try='test -z "$ac_c_werror_flag"
54309			 || test ! -s conftest.err'
54310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54311  (eval $ac_try) 2>&5
54312  ac_status=$?
54313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54314  (exit $ac_status); }; } &&
54315	 { ac_try='test -s conftest.$ac_objext'
54316  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54317  (eval $ac_try) 2>&5
54318  ac_status=$?
54319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320  (exit $ac_status); }; }; then
54321  ac_header_compiler=yes
54322else
54323  echo "$as_me: failed program was:" >&5
54324sed 's/^/| /' conftest.$ac_ext >&5
54325
54326ac_header_compiler=no
54327fi
54328rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54329echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54330echo "${ECHO_T}$ac_header_compiler" >&6
54331
54332# Is the header present?
54333echo "$as_me:$LINENO: checking $ac_header presence" >&5
54334echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54335cat >conftest.$ac_ext <<_ACEOF
54336/* confdefs.h.  */
54337_ACEOF
54338cat confdefs.h >>conftest.$ac_ext
54339cat >>conftest.$ac_ext <<_ACEOF
54340/* end confdefs.h.  */
54341#include <$ac_header>
54342_ACEOF
54343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54344  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54345  ac_status=$?
54346  grep -v '^ *+' conftest.er1 >conftest.err
54347  rm -f conftest.er1
54348  cat conftest.err >&5
54349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54350  (exit $ac_status); } >/dev/null; then
54351  if test -s conftest.err; then
54352    ac_cpp_err=$ac_c_preproc_warn_flag
54353    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54354  else
54355    ac_cpp_err=
54356  fi
54357else
54358  ac_cpp_err=yes
54359fi
54360if test -z "$ac_cpp_err"; then
54361  ac_header_preproc=yes
54362else
54363  echo "$as_me: failed program was:" >&5
54364sed 's/^/| /' conftest.$ac_ext >&5
54365
54366  ac_header_preproc=no
54367fi
54368rm -f conftest.err conftest.$ac_ext
54369echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54370echo "${ECHO_T}$ac_header_preproc" >&6
54371
54372# So?  What about this header?
54373case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54374  yes:no: )
54375    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54376echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54377    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54378echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54379    ac_header_preproc=yes
54380    ;;
54381  no:yes:* )
54382    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54383echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54384    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54385echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54386    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54387echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54388    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54389echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54390    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54391echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54392    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54393echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54394    (
54395      cat <<\_ASBOX
54396## ----------------------------------------- ##
54397## Report this to the package-unused lists.  ##
54398## ----------------------------------------- ##
54399_ASBOX
54400    ) |
54401      sed "s/^/$as_me: WARNING:     /" >&2
54402    ;;
54403esac
54404echo "$as_me:$LINENO: checking for $ac_header" >&5
54405echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54406if eval "test \"\${$as_ac_Header+set}\" = set"; then
54407  echo $ECHO_N "(cached) $ECHO_C" >&6
54408else
54409  eval "$as_ac_Header=\$ac_header_preproc"
54410fi
54411echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54412echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54413
54414fi
54415if test `eval echo '${'$as_ac_Header'}'` = yes; then
54416  cat >>confdefs.h <<_ACEOF
54417#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54418_ACEOF
54419
54420fi
54421
54422done
54423
54424
54425  # If we're not using GNU ld, then there's no point in even trying these
54426  # tests.  Check for that first.  We should have already tested for gld
54427  # by now (in libtool), but require it now just to be safe...
54428  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54429  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54430
54431
54432
54433  # The name set by libtool depends on the version of libtool.  Shame on us
54434  # for depending on an impl detail, but c'est la vie.  Older versions used
54435  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54436  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54437  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54438  # set (hence we're using an older libtool), then set it.
54439  if test x${with_gnu_ld+set} != xset; then
54440    if test x${ac_cv_prog_gnu_ld+set} != xset; then
54441      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54442      with_gnu_ld=no
54443    else
54444      with_gnu_ld=$ac_cv_prog_gnu_ld
54445    fi
54446  fi
54447
54448  # Start by getting the version number.  I think the libtool test already
54449  # does some of this, but throws away the result.
54450  if test x"$with_gnu_ld" = x"yes"; then
54451    echo "$as_me:$LINENO: checking for ld version" >&5
54452echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54453
54454    ldver=`$LD --version 2>/dev/null | head -1 | \
54455           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
54456
54457    glibcxx_gnu_ld_version=`echo $ldver | \
54458           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54459    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54460echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54461  fi
54462
54463  # Set --gc-sections.
54464  glibcxx_gcsections_min_ld=21602
54465  if test x"$with_gnu_ld" = x"yes" &&
54466	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54467
54468    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54469    # NB: This flag only works reliably after 2.16.1. Configure tests
54470    # for this are difficult, so hard wire a value that should work.
54471
54472    ac_test_CFLAGS="${CFLAGS+set}"
54473    ac_save_CFLAGS="$CFLAGS"
54474    CFLAGS='-Wl,--gc-sections'
54475
54476    # Check for -Wl,--gc-sections
54477    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54478echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54479    if test x$gcc_no_link = xyes; then
54480  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54481echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54482   { (exit 1); exit 1; }; }
54483fi
54484cat >conftest.$ac_ext <<_ACEOF
54485/* confdefs.h.  */
54486_ACEOF
54487cat confdefs.h >>conftest.$ac_ext
54488cat >>conftest.$ac_ext <<_ACEOF
54489/* end confdefs.h.  */
54490 int one(void) { return 1; }
54491     int two(void) { return 2; }
54492
54493int
54494main ()
54495{
54496 two();
54497  ;
54498  return 0;
54499}
54500_ACEOF
54501rm -f conftest.$ac_objext conftest$ac_exeext
54502if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54503  (eval $ac_link) 2>conftest.er1
54504  ac_status=$?
54505  grep -v '^ *+' conftest.er1 >conftest.err
54506  rm -f conftest.er1
54507  cat conftest.err >&5
54508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54509  (exit $ac_status); } &&
54510	 { ac_try='test -z "$ac_c_werror_flag"
54511			 || test ! -s conftest.err'
54512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54513  (eval $ac_try) 2>&5
54514  ac_status=$?
54515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54516  (exit $ac_status); }; } &&
54517	 { ac_try='test -s conftest$ac_exeext'
54518  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54519  (eval $ac_try) 2>&5
54520  ac_status=$?
54521  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54522  (exit $ac_status); }; }; then
54523  ac_gcsections=yes
54524else
54525  echo "$as_me: failed program was:" >&5
54526sed 's/^/| /' conftest.$ac_ext >&5
54527
54528ac_gcsections=no
54529fi
54530rm -f conftest.err conftest.$ac_objext \
54531      conftest$ac_exeext conftest.$ac_ext
54532    if test "$ac_gcsections" = "yes"; then
54533      rm -f conftest.c
54534      touch conftest.c
54535      if $CC -c conftest.c; then
54536	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54537	   grep "Warning: gc-sections option ignored" > /dev/null; then
54538	  ac_gcsections=no
54539	fi
54540      fi
54541      rm -f conftest.c conftest.o conftest
54542    fi
54543    if test "$ac_gcsections" = "yes"; then
54544      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54545    fi
54546    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54547echo "${ECHO_T}$ac_gcsections" >&6
54548
54549    if test "$ac_test_CFLAGS" = set; then
54550      CFLAGS="$ac_save_CFLAGS"
54551    else
54552      # this is the suspicious part
54553      CFLAGS=''
54554    fi
54555  fi
54556
54557  # Set -z,relro.
54558  # Note this is only for shared objects.
54559  ac_ld_relro=no
54560  if test x"$with_gnu_ld" = x"yes"; then
54561    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54562echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54563    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54564    if test -n "$cxx_z_relo"; then
54565      OPT_LDFLAGS="-Wl,-z,relro"
54566      ac_ld_relro=yes
54567    fi
54568    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54569echo "${ECHO_T}$ac_ld_relro" >&6
54570  fi
54571
54572  # Set linker optimization flags.
54573  if test x"$with_gnu_ld" = x"yes"; then
54574    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54575  fi
54576
54577
54578
54579
54580
54581  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54582  ac_save_CXXFLAGS="$CXXFLAGS"
54583  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54584
54585    echo "$as_me:$LINENO: checking for sin in -lm" >&5
54586echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54587if test "${ac_cv_lib_m_sin+set}" = set; then
54588  echo $ECHO_N "(cached) $ECHO_C" >&6
54589else
54590  ac_check_lib_save_LIBS=$LIBS
54591LIBS="-lm  $LIBS"
54592if test x$gcc_no_link = xyes; then
54593  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54594echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54595   { (exit 1); exit 1; }; }
54596fi
54597cat >conftest.$ac_ext <<_ACEOF
54598/* confdefs.h.  */
54599_ACEOF
54600cat confdefs.h >>conftest.$ac_ext
54601cat >>conftest.$ac_ext <<_ACEOF
54602/* end confdefs.h.  */
54603
54604/* Override any gcc2 internal prototype to avoid an error.  */
54605#ifdef __cplusplus
54606extern "C"
54607#endif
54608/* We use char because int might match the return type of a gcc2
54609   builtin and then its argument prototype would still apply.  */
54610char sin ();
54611int
54612main ()
54613{
54614sin ();
54615  ;
54616  return 0;
54617}
54618_ACEOF
54619rm -f conftest.$ac_objext conftest$ac_exeext
54620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54621  (eval $ac_link) 2>conftest.er1
54622  ac_status=$?
54623  grep -v '^ *+' conftest.er1 >conftest.err
54624  rm -f conftest.er1
54625  cat conftest.err >&5
54626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54627  (exit $ac_status); } &&
54628	 { ac_try='test -z "$ac_c_werror_flag"
54629			 || test ! -s conftest.err'
54630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54631  (eval $ac_try) 2>&5
54632  ac_status=$?
54633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54634  (exit $ac_status); }; } &&
54635	 { ac_try='test -s conftest$ac_exeext'
54636  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54637  (eval $ac_try) 2>&5
54638  ac_status=$?
54639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54640  (exit $ac_status); }; }; then
54641  ac_cv_lib_m_sin=yes
54642else
54643  echo "$as_me: failed program was:" >&5
54644sed 's/^/| /' conftest.$ac_ext >&5
54645
54646ac_cv_lib_m_sin=no
54647fi
54648rm -f conftest.err conftest.$ac_objext \
54649      conftest$ac_exeext conftest.$ac_ext
54650LIBS=$ac_check_lib_save_LIBS
54651fi
54652echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54653echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54654if test $ac_cv_lib_m_sin = yes; then
54655  libm="-lm"
54656fi
54657
54658  ac_save_LIBS="$LIBS"
54659  LIBS="$LIBS $libm"
54660
54661
54662
54663  echo "$as_me:$LINENO: checking for isinf declaration" >&5
54664echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54665  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54666    if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54667  echo $ECHO_N "(cached) $ECHO_C" >&6
54668else
54669
54670
54671
54672      ac_ext=cc
54673ac_cpp='$CXXCPP $CPPFLAGS'
54674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54677
54678      cat >conftest.$ac_ext <<_ACEOF
54679/* confdefs.h.  */
54680_ACEOF
54681cat confdefs.h >>conftest.$ac_ext
54682cat >>conftest.$ac_ext <<_ACEOF
54683/* end confdefs.h.  */
54684#include <math.h>
54685		      #ifdef HAVE_IEEEFP_H
54686		      #include <ieeefp.h>
54687		      #endif
54688
54689int
54690main ()
54691{
54692 isinf(0);
54693  ;
54694  return 0;
54695}
54696_ACEOF
54697rm -f conftest.$ac_objext
54698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54699  (eval $ac_compile) 2>conftest.er1
54700  ac_status=$?
54701  grep -v '^ *+' conftest.er1 >conftest.err
54702  rm -f conftest.er1
54703  cat conftest.err >&5
54704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54705  (exit $ac_status); } &&
54706	 { ac_try='test -z "$ac_cxx_werror_flag"
54707			 || test ! -s conftest.err'
54708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54709  (eval $ac_try) 2>&5
54710  ac_status=$?
54711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54712  (exit $ac_status); }; } &&
54713	 { ac_try='test -s conftest.$ac_objext'
54714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54715  (eval $ac_try) 2>&5
54716  ac_status=$?
54717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54718  (exit $ac_status); }; }; then
54719  glibcxx_cv_func_isinf_use=yes
54720else
54721  echo "$as_me: failed program was:" >&5
54722sed 's/^/| /' conftest.$ac_ext >&5
54723
54724glibcxx_cv_func_isinf_use=no
54725fi
54726rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54727      ac_ext=c
54728ac_cpp='$CPP $CPPFLAGS'
54729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731ac_compiler_gnu=$ac_cv_c_compiler_gnu
54732
54733
54734fi
54735
54736  fi
54737  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54738echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54739
54740  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54741
54742for ac_func in isinf
54743do
54744as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54745echo "$as_me:$LINENO: checking for $ac_func" >&5
54746echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54747if eval "test \"\${$as_ac_var+set}\" = set"; then
54748  echo $ECHO_N "(cached) $ECHO_C" >&6
54749else
54750  if test x$gcc_no_link = xyes; then
54751  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54752echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54753   { (exit 1); exit 1; }; }
54754fi
54755cat >conftest.$ac_ext <<_ACEOF
54756/* confdefs.h.  */
54757_ACEOF
54758cat confdefs.h >>conftest.$ac_ext
54759cat >>conftest.$ac_ext <<_ACEOF
54760/* end confdefs.h.  */
54761/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54762   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54763#define $ac_func innocuous_$ac_func
54764
54765/* System header to define __stub macros and hopefully few prototypes,
54766    which can conflict with char $ac_func (); below.
54767    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54768    <limits.h> exists even on freestanding compilers.  */
54769
54770#ifdef __STDC__
54771# include <limits.h>
54772#else
54773# include <assert.h>
54774#endif
54775
54776#undef $ac_func
54777
54778/* Override any gcc2 internal prototype to avoid an error.  */
54779#ifdef __cplusplus
54780extern "C"
54781{
54782#endif
54783/* We use char because int might match the return type of a gcc2
54784   builtin and then its argument prototype would still apply.  */
54785char $ac_func ();
54786/* The GNU C library defines this for functions which it implements
54787    to always fail with ENOSYS.  Some functions are actually named
54788    something starting with __ and the normal name is an alias.  */
54789#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54790choke me
54791#else
54792char (*f) () = $ac_func;
54793#endif
54794#ifdef __cplusplus
54795}
54796#endif
54797
54798int
54799main ()
54800{
54801return f != $ac_func;
54802  ;
54803  return 0;
54804}
54805_ACEOF
54806rm -f conftest.$ac_objext conftest$ac_exeext
54807if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54808  (eval $ac_link) 2>conftest.er1
54809  ac_status=$?
54810  grep -v '^ *+' conftest.er1 >conftest.err
54811  rm -f conftest.er1
54812  cat conftest.err >&5
54813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54814  (exit $ac_status); } &&
54815	 { ac_try='test -z "$ac_c_werror_flag"
54816			 || test ! -s conftest.err'
54817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54818  (eval $ac_try) 2>&5
54819  ac_status=$?
54820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54821  (exit $ac_status); }; } &&
54822	 { ac_try='test -s conftest$ac_exeext'
54823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54824  (eval $ac_try) 2>&5
54825  ac_status=$?
54826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54827  (exit $ac_status); }; }; then
54828  eval "$as_ac_var=yes"
54829else
54830  echo "$as_me: failed program was:" >&5
54831sed 's/^/| /' conftest.$ac_ext >&5
54832
54833eval "$as_ac_var=no"
54834fi
54835rm -f conftest.err conftest.$ac_objext \
54836      conftest$ac_exeext conftest.$ac_ext
54837fi
54838echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54839echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54840if test `eval echo '${'$as_ac_var'}'` = yes; then
54841  cat >>confdefs.h <<_ACEOF
54842#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54843_ACEOF
54844
54845fi
54846done
54847
54848  else
54849
54850  echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54851echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54852  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54853    if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54854  echo $ECHO_N "(cached) $ECHO_C" >&6
54855else
54856
54857
54858
54859      ac_ext=cc
54860ac_cpp='$CXXCPP $CPPFLAGS'
54861ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54864
54865      cat >conftest.$ac_ext <<_ACEOF
54866/* confdefs.h.  */
54867_ACEOF
54868cat confdefs.h >>conftest.$ac_ext
54869cat >>conftest.$ac_ext <<_ACEOF
54870/* end confdefs.h.  */
54871#include <math.h>
54872		      #ifdef HAVE_IEEEFP_H
54873		      #include <ieeefp.h>
54874		      #endif
54875
54876int
54877main ()
54878{
54879 _isinf(0);
54880  ;
54881  return 0;
54882}
54883_ACEOF
54884rm -f conftest.$ac_objext
54885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54886  (eval $ac_compile) 2>conftest.er1
54887  ac_status=$?
54888  grep -v '^ *+' conftest.er1 >conftest.err
54889  rm -f conftest.er1
54890  cat conftest.err >&5
54891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54892  (exit $ac_status); } &&
54893	 { ac_try='test -z "$ac_cxx_werror_flag"
54894			 || test ! -s conftest.err'
54895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54896  (eval $ac_try) 2>&5
54897  ac_status=$?
54898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54899  (exit $ac_status); }; } &&
54900	 { ac_try='test -s conftest.$ac_objext'
54901  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54902  (eval $ac_try) 2>&5
54903  ac_status=$?
54904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54905  (exit $ac_status); }; }; then
54906  glibcxx_cv_func__isinf_use=yes
54907else
54908  echo "$as_me: failed program was:" >&5
54909sed 's/^/| /' conftest.$ac_ext >&5
54910
54911glibcxx_cv_func__isinf_use=no
54912fi
54913rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54914      ac_ext=c
54915ac_cpp='$CPP $CPPFLAGS'
54916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918ac_compiler_gnu=$ac_cv_c_compiler_gnu
54919
54920
54921fi
54922
54923  fi
54924  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54925echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54926
54927    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54928
54929for ac_func in _isinf
54930do
54931as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54932echo "$as_me:$LINENO: checking for $ac_func" >&5
54933echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54934if eval "test \"\${$as_ac_var+set}\" = set"; then
54935  echo $ECHO_N "(cached) $ECHO_C" >&6
54936else
54937  if test x$gcc_no_link = xyes; then
54938  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54939echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54940   { (exit 1); exit 1; }; }
54941fi
54942cat >conftest.$ac_ext <<_ACEOF
54943/* confdefs.h.  */
54944_ACEOF
54945cat confdefs.h >>conftest.$ac_ext
54946cat >>conftest.$ac_ext <<_ACEOF
54947/* end confdefs.h.  */
54948/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54949   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54950#define $ac_func innocuous_$ac_func
54951
54952/* System header to define __stub macros and hopefully few prototypes,
54953    which can conflict with char $ac_func (); below.
54954    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54955    <limits.h> exists even on freestanding compilers.  */
54956
54957#ifdef __STDC__
54958# include <limits.h>
54959#else
54960# include <assert.h>
54961#endif
54962
54963#undef $ac_func
54964
54965/* Override any gcc2 internal prototype to avoid an error.  */
54966#ifdef __cplusplus
54967extern "C"
54968{
54969#endif
54970/* We use char because int might match the return type of a gcc2
54971   builtin and then its argument prototype would still apply.  */
54972char $ac_func ();
54973/* The GNU C library defines this for functions which it implements
54974    to always fail with ENOSYS.  Some functions are actually named
54975    something starting with __ and the normal name is an alias.  */
54976#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54977choke me
54978#else
54979char (*f) () = $ac_func;
54980#endif
54981#ifdef __cplusplus
54982}
54983#endif
54984
54985int
54986main ()
54987{
54988return f != $ac_func;
54989  ;
54990  return 0;
54991}
54992_ACEOF
54993rm -f conftest.$ac_objext conftest$ac_exeext
54994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54995  (eval $ac_link) 2>conftest.er1
54996  ac_status=$?
54997  grep -v '^ *+' conftest.er1 >conftest.err
54998  rm -f conftest.er1
54999  cat conftest.err >&5
55000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55001  (exit $ac_status); } &&
55002	 { ac_try='test -z "$ac_c_werror_flag"
55003			 || test ! -s conftest.err'
55004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55005  (eval $ac_try) 2>&5
55006  ac_status=$?
55007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55008  (exit $ac_status); }; } &&
55009	 { ac_try='test -s conftest$ac_exeext'
55010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55011  (eval $ac_try) 2>&5
55012  ac_status=$?
55013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55014  (exit $ac_status); }; }; then
55015  eval "$as_ac_var=yes"
55016else
55017  echo "$as_me: failed program was:" >&5
55018sed 's/^/| /' conftest.$ac_ext >&5
55019
55020eval "$as_ac_var=no"
55021fi
55022rm -f conftest.err conftest.$ac_objext \
55023      conftest$ac_exeext conftest.$ac_ext
55024fi
55025echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55026echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55027if test `eval echo '${'$as_ac_var'}'` = yes; then
55028  cat >>confdefs.h <<_ACEOF
55029#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55030_ACEOF
55031
55032fi
55033done
55034
55035    fi
55036  fi
55037
55038
55039
55040
55041
55042
55043  echo "$as_me:$LINENO: checking for isnan declaration" >&5
55044echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
55045  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55046    if test "${glibcxx_cv_func_isnan_use+set}" = set; then
55047  echo $ECHO_N "(cached) $ECHO_C" >&6
55048else
55049
55050
55051
55052      ac_ext=cc
55053ac_cpp='$CXXCPP $CPPFLAGS'
55054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55057
55058      cat >conftest.$ac_ext <<_ACEOF
55059/* confdefs.h.  */
55060_ACEOF
55061cat confdefs.h >>conftest.$ac_ext
55062cat >>conftest.$ac_ext <<_ACEOF
55063/* end confdefs.h.  */
55064#include <math.h>
55065		      #ifdef HAVE_IEEEFP_H
55066		      #include <ieeefp.h>
55067		      #endif
55068
55069int
55070main ()
55071{
55072 isnan(0);
55073  ;
55074  return 0;
55075}
55076_ACEOF
55077rm -f conftest.$ac_objext
55078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55079  (eval $ac_compile) 2>conftest.er1
55080  ac_status=$?
55081  grep -v '^ *+' conftest.er1 >conftest.err
55082  rm -f conftest.er1
55083  cat conftest.err >&5
55084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085  (exit $ac_status); } &&
55086	 { ac_try='test -z "$ac_cxx_werror_flag"
55087			 || test ! -s conftest.err'
55088  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55089  (eval $ac_try) 2>&5
55090  ac_status=$?
55091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55092  (exit $ac_status); }; } &&
55093	 { ac_try='test -s conftest.$ac_objext'
55094  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55095  (eval $ac_try) 2>&5
55096  ac_status=$?
55097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55098  (exit $ac_status); }; }; then
55099  glibcxx_cv_func_isnan_use=yes
55100else
55101  echo "$as_me: failed program was:" >&5
55102sed 's/^/| /' conftest.$ac_ext >&5
55103
55104glibcxx_cv_func_isnan_use=no
55105fi
55106rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55107      ac_ext=c
55108ac_cpp='$CPP $CPPFLAGS'
55109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55111ac_compiler_gnu=$ac_cv_c_compiler_gnu
55112
55113
55114fi
55115
55116  fi
55117  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
55118echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
55119
55120  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55121
55122for ac_func in isnan
55123do
55124as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55125echo "$as_me:$LINENO: checking for $ac_func" >&5
55126echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55127if eval "test \"\${$as_ac_var+set}\" = set"; then
55128  echo $ECHO_N "(cached) $ECHO_C" >&6
55129else
55130  if test x$gcc_no_link = xyes; then
55131  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55132echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55133   { (exit 1); exit 1; }; }
55134fi
55135cat >conftest.$ac_ext <<_ACEOF
55136/* confdefs.h.  */
55137_ACEOF
55138cat confdefs.h >>conftest.$ac_ext
55139cat >>conftest.$ac_ext <<_ACEOF
55140/* end confdefs.h.  */
55141/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55142   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55143#define $ac_func innocuous_$ac_func
55144
55145/* System header to define __stub macros and hopefully few prototypes,
55146    which can conflict with char $ac_func (); below.
55147    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55148    <limits.h> exists even on freestanding compilers.  */
55149
55150#ifdef __STDC__
55151# include <limits.h>
55152#else
55153# include <assert.h>
55154#endif
55155
55156#undef $ac_func
55157
55158/* Override any gcc2 internal prototype to avoid an error.  */
55159#ifdef __cplusplus
55160extern "C"
55161{
55162#endif
55163/* We use char because int might match the return type of a gcc2
55164   builtin and then its argument prototype would still apply.  */
55165char $ac_func ();
55166/* The GNU C library defines this for functions which it implements
55167    to always fail with ENOSYS.  Some functions are actually named
55168    something starting with __ and the normal name is an alias.  */
55169#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55170choke me
55171#else
55172char (*f) () = $ac_func;
55173#endif
55174#ifdef __cplusplus
55175}
55176#endif
55177
55178int
55179main ()
55180{
55181return f != $ac_func;
55182  ;
55183  return 0;
55184}
55185_ACEOF
55186rm -f conftest.$ac_objext conftest$ac_exeext
55187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55188  (eval $ac_link) 2>conftest.er1
55189  ac_status=$?
55190  grep -v '^ *+' conftest.er1 >conftest.err
55191  rm -f conftest.er1
55192  cat conftest.err >&5
55193  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55194  (exit $ac_status); } &&
55195	 { ac_try='test -z "$ac_c_werror_flag"
55196			 || test ! -s conftest.err'
55197  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55198  (eval $ac_try) 2>&5
55199  ac_status=$?
55200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55201  (exit $ac_status); }; } &&
55202	 { ac_try='test -s conftest$ac_exeext'
55203  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55204  (eval $ac_try) 2>&5
55205  ac_status=$?
55206  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55207  (exit $ac_status); }; }; then
55208  eval "$as_ac_var=yes"
55209else
55210  echo "$as_me: failed program was:" >&5
55211sed 's/^/| /' conftest.$ac_ext >&5
55212
55213eval "$as_ac_var=no"
55214fi
55215rm -f conftest.err conftest.$ac_objext \
55216      conftest$ac_exeext conftest.$ac_ext
55217fi
55218echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55219echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55220if test `eval echo '${'$as_ac_var'}'` = yes; then
55221  cat >>confdefs.h <<_ACEOF
55222#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55223_ACEOF
55224
55225fi
55226done
55227
55228  else
55229
55230  echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55231echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55232  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55233    if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55234  echo $ECHO_N "(cached) $ECHO_C" >&6
55235else
55236
55237
55238
55239      ac_ext=cc
55240ac_cpp='$CXXCPP $CPPFLAGS'
55241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55244
55245      cat >conftest.$ac_ext <<_ACEOF
55246/* confdefs.h.  */
55247_ACEOF
55248cat confdefs.h >>conftest.$ac_ext
55249cat >>conftest.$ac_ext <<_ACEOF
55250/* end confdefs.h.  */
55251#include <math.h>
55252		      #ifdef HAVE_IEEEFP_H
55253		      #include <ieeefp.h>
55254		      #endif
55255
55256int
55257main ()
55258{
55259 _isnan(0);
55260  ;
55261  return 0;
55262}
55263_ACEOF
55264rm -f conftest.$ac_objext
55265if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55266  (eval $ac_compile) 2>conftest.er1
55267  ac_status=$?
55268  grep -v '^ *+' conftest.er1 >conftest.err
55269  rm -f conftest.er1
55270  cat conftest.err >&5
55271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55272  (exit $ac_status); } &&
55273	 { ac_try='test -z "$ac_cxx_werror_flag"
55274			 || test ! -s conftest.err'
55275  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55276  (eval $ac_try) 2>&5
55277  ac_status=$?
55278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279  (exit $ac_status); }; } &&
55280	 { ac_try='test -s conftest.$ac_objext'
55281  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55282  (eval $ac_try) 2>&5
55283  ac_status=$?
55284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55285  (exit $ac_status); }; }; then
55286  glibcxx_cv_func__isnan_use=yes
55287else
55288  echo "$as_me: failed program was:" >&5
55289sed 's/^/| /' conftest.$ac_ext >&5
55290
55291glibcxx_cv_func__isnan_use=no
55292fi
55293rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55294      ac_ext=c
55295ac_cpp='$CPP $CPPFLAGS'
55296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55298ac_compiler_gnu=$ac_cv_c_compiler_gnu
55299
55300
55301fi
55302
55303  fi
55304  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55305echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55306
55307    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55308
55309for ac_func in _isnan
55310do
55311as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55312echo "$as_me:$LINENO: checking for $ac_func" >&5
55313echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55314if eval "test \"\${$as_ac_var+set}\" = set"; then
55315  echo $ECHO_N "(cached) $ECHO_C" >&6
55316else
55317  if test x$gcc_no_link = xyes; then
55318  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55319echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55320   { (exit 1); exit 1; }; }
55321fi
55322cat >conftest.$ac_ext <<_ACEOF
55323/* confdefs.h.  */
55324_ACEOF
55325cat confdefs.h >>conftest.$ac_ext
55326cat >>conftest.$ac_ext <<_ACEOF
55327/* end confdefs.h.  */
55328/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55329   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55330#define $ac_func innocuous_$ac_func
55331
55332/* System header to define __stub macros and hopefully few prototypes,
55333    which can conflict with char $ac_func (); below.
55334    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55335    <limits.h> exists even on freestanding compilers.  */
55336
55337#ifdef __STDC__
55338# include <limits.h>
55339#else
55340# include <assert.h>
55341#endif
55342
55343#undef $ac_func
55344
55345/* Override any gcc2 internal prototype to avoid an error.  */
55346#ifdef __cplusplus
55347extern "C"
55348{
55349#endif
55350/* We use char because int might match the return type of a gcc2
55351   builtin and then its argument prototype would still apply.  */
55352char $ac_func ();
55353/* The GNU C library defines this for functions which it implements
55354    to always fail with ENOSYS.  Some functions are actually named
55355    something starting with __ and the normal name is an alias.  */
55356#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55357choke me
55358#else
55359char (*f) () = $ac_func;
55360#endif
55361#ifdef __cplusplus
55362}
55363#endif
55364
55365int
55366main ()
55367{
55368return f != $ac_func;
55369  ;
55370  return 0;
55371}
55372_ACEOF
55373rm -f conftest.$ac_objext conftest$ac_exeext
55374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55375  (eval $ac_link) 2>conftest.er1
55376  ac_status=$?
55377  grep -v '^ *+' conftest.er1 >conftest.err
55378  rm -f conftest.er1
55379  cat conftest.err >&5
55380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381  (exit $ac_status); } &&
55382	 { ac_try='test -z "$ac_c_werror_flag"
55383			 || test ! -s conftest.err'
55384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55385  (eval $ac_try) 2>&5
55386  ac_status=$?
55387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388  (exit $ac_status); }; } &&
55389	 { ac_try='test -s conftest$ac_exeext'
55390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55391  (eval $ac_try) 2>&5
55392  ac_status=$?
55393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55394  (exit $ac_status); }; }; then
55395  eval "$as_ac_var=yes"
55396else
55397  echo "$as_me: failed program was:" >&5
55398sed 's/^/| /' conftest.$ac_ext >&5
55399
55400eval "$as_ac_var=no"
55401fi
55402rm -f conftest.err conftest.$ac_objext \
55403      conftest$ac_exeext conftest.$ac_ext
55404fi
55405echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55406echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55407if test `eval echo '${'$as_ac_var'}'` = yes; then
55408  cat >>confdefs.h <<_ACEOF
55409#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55410_ACEOF
55411
55412fi
55413done
55414
55415    fi
55416  fi
55417
55418
55419
55420
55421
55422
55423  echo "$as_me:$LINENO: checking for finite declaration" >&5
55424echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55425  if test x${glibcxx_cv_func_finite_use+set} != xset; then
55426    if test "${glibcxx_cv_func_finite_use+set}" = set; then
55427  echo $ECHO_N "(cached) $ECHO_C" >&6
55428else
55429
55430
55431
55432      ac_ext=cc
55433ac_cpp='$CXXCPP $CPPFLAGS'
55434ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437
55438      cat >conftest.$ac_ext <<_ACEOF
55439/* confdefs.h.  */
55440_ACEOF
55441cat confdefs.h >>conftest.$ac_ext
55442cat >>conftest.$ac_ext <<_ACEOF
55443/* end confdefs.h.  */
55444#include <math.h>
55445		      #ifdef HAVE_IEEEFP_H
55446		      #include <ieeefp.h>
55447		      #endif
55448
55449int
55450main ()
55451{
55452 finite(0);
55453  ;
55454  return 0;
55455}
55456_ACEOF
55457rm -f conftest.$ac_objext
55458if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55459  (eval $ac_compile) 2>conftest.er1
55460  ac_status=$?
55461  grep -v '^ *+' conftest.er1 >conftest.err
55462  rm -f conftest.er1
55463  cat conftest.err >&5
55464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55465  (exit $ac_status); } &&
55466	 { ac_try='test -z "$ac_cxx_werror_flag"
55467			 || test ! -s conftest.err'
55468  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55469  (eval $ac_try) 2>&5
55470  ac_status=$?
55471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55472  (exit $ac_status); }; } &&
55473	 { ac_try='test -s conftest.$ac_objext'
55474  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55475  (eval $ac_try) 2>&5
55476  ac_status=$?
55477  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55478  (exit $ac_status); }; }; then
55479  glibcxx_cv_func_finite_use=yes
55480else
55481  echo "$as_me: failed program was:" >&5
55482sed 's/^/| /' conftest.$ac_ext >&5
55483
55484glibcxx_cv_func_finite_use=no
55485fi
55486rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55487      ac_ext=c
55488ac_cpp='$CPP $CPPFLAGS'
55489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55491ac_compiler_gnu=$ac_cv_c_compiler_gnu
55492
55493
55494fi
55495
55496  fi
55497  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55498echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55499
55500  if test x$glibcxx_cv_func_finite_use = x"yes"; then
55501
55502for ac_func in finite
55503do
55504as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55505echo "$as_me:$LINENO: checking for $ac_func" >&5
55506echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55507if eval "test \"\${$as_ac_var+set}\" = set"; then
55508  echo $ECHO_N "(cached) $ECHO_C" >&6
55509else
55510  if test x$gcc_no_link = xyes; then
55511  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55512echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55513   { (exit 1); exit 1; }; }
55514fi
55515cat >conftest.$ac_ext <<_ACEOF
55516/* confdefs.h.  */
55517_ACEOF
55518cat confdefs.h >>conftest.$ac_ext
55519cat >>conftest.$ac_ext <<_ACEOF
55520/* end confdefs.h.  */
55521/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55522   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55523#define $ac_func innocuous_$ac_func
55524
55525/* System header to define __stub macros and hopefully few prototypes,
55526    which can conflict with char $ac_func (); below.
55527    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55528    <limits.h> exists even on freestanding compilers.  */
55529
55530#ifdef __STDC__
55531# include <limits.h>
55532#else
55533# include <assert.h>
55534#endif
55535
55536#undef $ac_func
55537
55538/* Override any gcc2 internal prototype to avoid an error.  */
55539#ifdef __cplusplus
55540extern "C"
55541{
55542#endif
55543/* We use char because int might match the return type of a gcc2
55544   builtin and then its argument prototype would still apply.  */
55545char $ac_func ();
55546/* The GNU C library defines this for functions which it implements
55547    to always fail with ENOSYS.  Some functions are actually named
55548    something starting with __ and the normal name is an alias.  */
55549#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55550choke me
55551#else
55552char (*f) () = $ac_func;
55553#endif
55554#ifdef __cplusplus
55555}
55556#endif
55557
55558int
55559main ()
55560{
55561return f != $ac_func;
55562  ;
55563  return 0;
55564}
55565_ACEOF
55566rm -f conftest.$ac_objext conftest$ac_exeext
55567if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55568  (eval $ac_link) 2>conftest.er1
55569  ac_status=$?
55570  grep -v '^ *+' conftest.er1 >conftest.err
55571  rm -f conftest.er1
55572  cat conftest.err >&5
55573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55574  (exit $ac_status); } &&
55575	 { ac_try='test -z "$ac_c_werror_flag"
55576			 || test ! -s conftest.err'
55577  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55578  (eval $ac_try) 2>&5
55579  ac_status=$?
55580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581  (exit $ac_status); }; } &&
55582	 { ac_try='test -s conftest$ac_exeext'
55583  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55584  (eval $ac_try) 2>&5
55585  ac_status=$?
55586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55587  (exit $ac_status); }; }; then
55588  eval "$as_ac_var=yes"
55589else
55590  echo "$as_me: failed program was:" >&5
55591sed 's/^/| /' conftest.$ac_ext >&5
55592
55593eval "$as_ac_var=no"
55594fi
55595rm -f conftest.err conftest.$ac_objext \
55596      conftest$ac_exeext conftest.$ac_ext
55597fi
55598echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55599echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55600if test `eval echo '${'$as_ac_var'}'` = yes; then
55601  cat >>confdefs.h <<_ACEOF
55602#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55603_ACEOF
55604
55605fi
55606done
55607
55608  else
55609
55610  echo "$as_me:$LINENO: checking for _finite declaration" >&5
55611echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55612  if test x${glibcxx_cv_func__finite_use+set} != xset; then
55613    if test "${glibcxx_cv_func__finite_use+set}" = set; then
55614  echo $ECHO_N "(cached) $ECHO_C" >&6
55615else
55616
55617
55618
55619      ac_ext=cc
55620ac_cpp='$CXXCPP $CPPFLAGS'
55621ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55624
55625      cat >conftest.$ac_ext <<_ACEOF
55626/* confdefs.h.  */
55627_ACEOF
55628cat confdefs.h >>conftest.$ac_ext
55629cat >>conftest.$ac_ext <<_ACEOF
55630/* end confdefs.h.  */
55631#include <math.h>
55632		      #ifdef HAVE_IEEEFP_H
55633		      #include <ieeefp.h>
55634		      #endif
55635
55636int
55637main ()
55638{
55639 _finite(0);
55640  ;
55641  return 0;
55642}
55643_ACEOF
55644rm -f conftest.$ac_objext
55645if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55646  (eval $ac_compile) 2>conftest.er1
55647  ac_status=$?
55648  grep -v '^ *+' conftest.er1 >conftest.err
55649  rm -f conftest.er1
55650  cat conftest.err >&5
55651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55652  (exit $ac_status); } &&
55653	 { ac_try='test -z "$ac_cxx_werror_flag"
55654			 || test ! -s conftest.err'
55655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55656  (eval $ac_try) 2>&5
55657  ac_status=$?
55658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55659  (exit $ac_status); }; } &&
55660	 { ac_try='test -s conftest.$ac_objext'
55661  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55662  (eval $ac_try) 2>&5
55663  ac_status=$?
55664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55665  (exit $ac_status); }; }; then
55666  glibcxx_cv_func__finite_use=yes
55667else
55668  echo "$as_me: failed program was:" >&5
55669sed 's/^/| /' conftest.$ac_ext >&5
55670
55671glibcxx_cv_func__finite_use=no
55672fi
55673rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55674      ac_ext=c
55675ac_cpp='$CPP $CPPFLAGS'
55676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678ac_compiler_gnu=$ac_cv_c_compiler_gnu
55679
55680
55681fi
55682
55683  fi
55684  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55685echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55686
55687    if test x$glibcxx_cv_func__finite_use = x"yes"; then
55688
55689for ac_func in _finite
55690do
55691as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55692echo "$as_me:$LINENO: checking for $ac_func" >&5
55693echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55694if eval "test \"\${$as_ac_var+set}\" = set"; then
55695  echo $ECHO_N "(cached) $ECHO_C" >&6
55696else
55697  if test x$gcc_no_link = xyes; then
55698  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55699echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55700   { (exit 1); exit 1; }; }
55701fi
55702cat >conftest.$ac_ext <<_ACEOF
55703/* confdefs.h.  */
55704_ACEOF
55705cat confdefs.h >>conftest.$ac_ext
55706cat >>conftest.$ac_ext <<_ACEOF
55707/* end confdefs.h.  */
55708/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55709   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55710#define $ac_func innocuous_$ac_func
55711
55712/* System header to define __stub macros and hopefully few prototypes,
55713    which can conflict with char $ac_func (); below.
55714    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55715    <limits.h> exists even on freestanding compilers.  */
55716
55717#ifdef __STDC__
55718# include <limits.h>
55719#else
55720# include <assert.h>
55721#endif
55722
55723#undef $ac_func
55724
55725/* Override any gcc2 internal prototype to avoid an error.  */
55726#ifdef __cplusplus
55727extern "C"
55728{
55729#endif
55730/* We use char because int might match the return type of a gcc2
55731   builtin and then its argument prototype would still apply.  */
55732char $ac_func ();
55733/* The GNU C library defines this for functions which it implements
55734    to always fail with ENOSYS.  Some functions are actually named
55735    something starting with __ and the normal name is an alias.  */
55736#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55737choke me
55738#else
55739char (*f) () = $ac_func;
55740#endif
55741#ifdef __cplusplus
55742}
55743#endif
55744
55745int
55746main ()
55747{
55748return f != $ac_func;
55749  ;
55750  return 0;
55751}
55752_ACEOF
55753rm -f conftest.$ac_objext conftest$ac_exeext
55754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55755  (eval $ac_link) 2>conftest.er1
55756  ac_status=$?
55757  grep -v '^ *+' conftest.er1 >conftest.err
55758  rm -f conftest.er1
55759  cat conftest.err >&5
55760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761  (exit $ac_status); } &&
55762	 { ac_try='test -z "$ac_c_werror_flag"
55763			 || test ! -s conftest.err'
55764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55765  (eval $ac_try) 2>&5
55766  ac_status=$?
55767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768  (exit $ac_status); }; } &&
55769	 { ac_try='test -s conftest$ac_exeext'
55770  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55771  (eval $ac_try) 2>&5
55772  ac_status=$?
55773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774  (exit $ac_status); }; }; then
55775  eval "$as_ac_var=yes"
55776else
55777  echo "$as_me: failed program was:" >&5
55778sed 's/^/| /' conftest.$ac_ext >&5
55779
55780eval "$as_ac_var=no"
55781fi
55782rm -f conftest.err conftest.$ac_objext \
55783      conftest$ac_exeext conftest.$ac_ext
55784fi
55785echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55786echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55787if test `eval echo '${'$as_ac_var'}'` = yes; then
55788  cat >>confdefs.h <<_ACEOF
55789#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55790_ACEOF
55791
55792fi
55793done
55794
55795    fi
55796  fi
55797
55798
55799
55800
55801
55802
55803  echo "$as_me:$LINENO: checking for copysign declaration" >&5
55804echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55805  if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55806    if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55807  echo $ECHO_N "(cached) $ECHO_C" >&6
55808else
55809
55810
55811
55812      ac_ext=cc
55813ac_cpp='$CXXCPP $CPPFLAGS'
55814ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55817
55818      cat >conftest.$ac_ext <<_ACEOF
55819/* confdefs.h.  */
55820_ACEOF
55821cat confdefs.h >>conftest.$ac_ext
55822cat >>conftest.$ac_ext <<_ACEOF
55823/* end confdefs.h.  */
55824#include <math.h>
55825int
55826main ()
55827{
55828 copysign(0, 0);
55829  ;
55830  return 0;
55831}
55832_ACEOF
55833rm -f conftest.$ac_objext
55834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55835  (eval $ac_compile) 2>conftest.er1
55836  ac_status=$?
55837  grep -v '^ *+' conftest.er1 >conftest.err
55838  rm -f conftest.er1
55839  cat conftest.err >&5
55840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55841  (exit $ac_status); } &&
55842	 { ac_try='test -z "$ac_cxx_werror_flag"
55843			 || test ! -s conftest.err'
55844  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55845  (eval $ac_try) 2>&5
55846  ac_status=$?
55847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55848  (exit $ac_status); }; } &&
55849	 { ac_try='test -s conftest.$ac_objext'
55850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55851  (eval $ac_try) 2>&5
55852  ac_status=$?
55853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55854  (exit $ac_status); }; }; then
55855  glibcxx_cv_func_copysign_use=yes
55856else
55857  echo "$as_me: failed program was:" >&5
55858sed 's/^/| /' conftest.$ac_ext >&5
55859
55860glibcxx_cv_func_copysign_use=no
55861fi
55862rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55863      ac_ext=c
55864ac_cpp='$CPP $CPPFLAGS'
55865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867ac_compiler_gnu=$ac_cv_c_compiler_gnu
55868
55869
55870fi
55871
55872  fi
55873  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55874echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55875
55876  if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55877
55878for ac_func in copysign
55879do
55880as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55881echo "$as_me:$LINENO: checking for $ac_func" >&5
55882echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55883if eval "test \"\${$as_ac_var+set}\" = set"; then
55884  echo $ECHO_N "(cached) $ECHO_C" >&6
55885else
55886  if test x$gcc_no_link = xyes; then
55887  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55888echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55889   { (exit 1); exit 1; }; }
55890fi
55891cat >conftest.$ac_ext <<_ACEOF
55892/* confdefs.h.  */
55893_ACEOF
55894cat confdefs.h >>conftest.$ac_ext
55895cat >>conftest.$ac_ext <<_ACEOF
55896/* end confdefs.h.  */
55897/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55898   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55899#define $ac_func innocuous_$ac_func
55900
55901/* System header to define __stub macros and hopefully few prototypes,
55902    which can conflict with char $ac_func (); below.
55903    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55904    <limits.h> exists even on freestanding compilers.  */
55905
55906#ifdef __STDC__
55907# include <limits.h>
55908#else
55909# include <assert.h>
55910#endif
55911
55912#undef $ac_func
55913
55914/* Override any gcc2 internal prototype to avoid an error.  */
55915#ifdef __cplusplus
55916extern "C"
55917{
55918#endif
55919/* We use char because int might match the return type of a gcc2
55920   builtin and then its argument prototype would still apply.  */
55921char $ac_func ();
55922/* The GNU C library defines this for functions which it implements
55923    to always fail with ENOSYS.  Some functions are actually named
55924    something starting with __ and the normal name is an alias.  */
55925#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55926choke me
55927#else
55928char (*f) () = $ac_func;
55929#endif
55930#ifdef __cplusplus
55931}
55932#endif
55933
55934int
55935main ()
55936{
55937return f != $ac_func;
55938  ;
55939  return 0;
55940}
55941_ACEOF
55942rm -f conftest.$ac_objext conftest$ac_exeext
55943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55944  (eval $ac_link) 2>conftest.er1
55945  ac_status=$?
55946  grep -v '^ *+' conftest.er1 >conftest.err
55947  rm -f conftest.er1
55948  cat conftest.err >&5
55949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55950  (exit $ac_status); } &&
55951	 { ac_try='test -z "$ac_c_werror_flag"
55952			 || test ! -s conftest.err'
55953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55954  (eval $ac_try) 2>&5
55955  ac_status=$?
55956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55957  (exit $ac_status); }; } &&
55958	 { ac_try='test -s conftest$ac_exeext'
55959  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55960  (eval $ac_try) 2>&5
55961  ac_status=$?
55962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55963  (exit $ac_status); }; }; then
55964  eval "$as_ac_var=yes"
55965else
55966  echo "$as_me: failed program was:" >&5
55967sed 's/^/| /' conftest.$ac_ext >&5
55968
55969eval "$as_ac_var=no"
55970fi
55971rm -f conftest.err conftest.$ac_objext \
55972      conftest$ac_exeext conftest.$ac_ext
55973fi
55974echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55975echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55976if test `eval echo '${'$as_ac_var'}'` = yes; then
55977  cat >>confdefs.h <<_ACEOF
55978#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55979_ACEOF
55980
55981fi
55982done
55983
55984  else
55985
55986  echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55987echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55988  if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55989    if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55990  echo $ECHO_N "(cached) $ECHO_C" >&6
55991else
55992
55993
55994
55995      ac_ext=cc
55996ac_cpp='$CXXCPP $CPPFLAGS'
55997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56000
56001      cat >conftest.$ac_ext <<_ACEOF
56002/* confdefs.h.  */
56003_ACEOF
56004cat confdefs.h >>conftest.$ac_ext
56005cat >>conftest.$ac_ext <<_ACEOF
56006/* end confdefs.h.  */
56007#include <math.h>
56008int
56009main ()
56010{
56011 _copysign(0, 0);
56012  ;
56013  return 0;
56014}
56015_ACEOF
56016rm -f conftest.$ac_objext
56017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56018  (eval $ac_compile) 2>conftest.er1
56019  ac_status=$?
56020  grep -v '^ *+' conftest.er1 >conftest.err
56021  rm -f conftest.er1
56022  cat conftest.err >&5
56023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024  (exit $ac_status); } &&
56025	 { ac_try='test -z "$ac_cxx_werror_flag"
56026			 || test ! -s conftest.err'
56027  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56028  (eval $ac_try) 2>&5
56029  ac_status=$?
56030  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031  (exit $ac_status); }; } &&
56032	 { ac_try='test -s conftest.$ac_objext'
56033  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56034  (eval $ac_try) 2>&5
56035  ac_status=$?
56036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037  (exit $ac_status); }; }; then
56038  glibcxx_cv_func__copysign_use=yes
56039else
56040  echo "$as_me: failed program was:" >&5
56041sed 's/^/| /' conftest.$ac_ext >&5
56042
56043glibcxx_cv_func__copysign_use=no
56044fi
56045rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56046      ac_ext=c
56047ac_cpp='$CPP $CPPFLAGS'
56048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050ac_compiler_gnu=$ac_cv_c_compiler_gnu
56051
56052
56053fi
56054
56055  fi
56056  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
56057echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
56058
56059    if test x$glibcxx_cv_func__copysign_use = x"yes"; then
56060
56061for ac_func in _copysign
56062do
56063as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064echo "$as_me:$LINENO: checking for $ac_func" >&5
56065echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56066if eval "test \"\${$as_ac_var+set}\" = set"; then
56067  echo $ECHO_N "(cached) $ECHO_C" >&6
56068else
56069  if test x$gcc_no_link = xyes; then
56070  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56071echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56072   { (exit 1); exit 1; }; }
56073fi
56074cat >conftest.$ac_ext <<_ACEOF
56075/* confdefs.h.  */
56076_ACEOF
56077cat confdefs.h >>conftest.$ac_ext
56078cat >>conftest.$ac_ext <<_ACEOF
56079/* end confdefs.h.  */
56080/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56081   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56082#define $ac_func innocuous_$ac_func
56083
56084/* System header to define __stub macros and hopefully few prototypes,
56085    which can conflict with char $ac_func (); below.
56086    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56087    <limits.h> exists even on freestanding compilers.  */
56088
56089#ifdef __STDC__
56090# include <limits.h>
56091#else
56092# include <assert.h>
56093#endif
56094
56095#undef $ac_func
56096
56097/* Override any gcc2 internal prototype to avoid an error.  */
56098#ifdef __cplusplus
56099extern "C"
56100{
56101#endif
56102/* We use char because int might match the return type of a gcc2
56103   builtin and then its argument prototype would still apply.  */
56104char $ac_func ();
56105/* The GNU C library defines this for functions which it implements
56106    to always fail with ENOSYS.  Some functions are actually named
56107    something starting with __ and the normal name is an alias.  */
56108#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56109choke me
56110#else
56111char (*f) () = $ac_func;
56112#endif
56113#ifdef __cplusplus
56114}
56115#endif
56116
56117int
56118main ()
56119{
56120return f != $ac_func;
56121  ;
56122  return 0;
56123}
56124_ACEOF
56125rm -f conftest.$ac_objext conftest$ac_exeext
56126if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56127  (eval $ac_link) 2>conftest.er1
56128  ac_status=$?
56129  grep -v '^ *+' conftest.er1 >conftest.err
56130  rm -f conftest.er1
56131  cat conftest.err >&5
56132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133  (exit $ac_status); } &&
56134	 { ac_try='test -z "$ac_c_werror_flag"
56135			 || test ! -s conftest.err'
56136  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56137  (eval $ac_try) 2>&5
56138  ac_status=$?
56139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56140  (exit $ac_status); }; } &&
56141	 { ac_try='test -s conftest$ac_exeext'
56142  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56143  (eval $ac_try) 2>&5
56144  ac_status=$?
56145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146  (exit $ac_status); }; }; then
56147  eval "$as_ac_var=yes"
56148else
56149  echo "$as_me: failed program was:" >&5
56150sed 's/^/| /' conftest.$ac_ext >&5
56151
56152eval "$as_ac_var=no"
56153fi
56154rm -f conftest.err conftest.$ac_objext \
56155      conftest$ac_exeext conftest.$ac_ext
56156fi
56157echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56158echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56159if test `eval echo '${'$as_ac_var'}'` = yes; then
56160  cat >>confdefs.h <<_ACEOF
56161#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56162_ACEOF
56163
56164fi
56165done
56166
56167    fi
56168  fi
56169
56170
56171
56172
56173
56174
56175  echo "$as_me:$LINENO: checking for sincos declaration" >&5
56176echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
56177  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56178    if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56179  echo $ECHO_N "(cached) $ECHO_C" >&6
56180else
56181
56182
56183
56184      ac_ext=cc
56185ac_cpp='$CXXCPP $CPPFLAGS'
56186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56189
56190      cat >conftest.$ac_ext <<_ACEOF
56191/* confdefs.h.  */
56192_ACEOF
56193cat confdefs.h >>conftest.$ac_ext
56194cat >>conftest.$ac_ext <<_ACEOF
56195/* end confdefs.h.  */
56196#include <math.h>
56197int
56198main ()
56199{
56200 sincos(0, 0, 0);
56201  ;
56202  return 0;
56203}
56204_ACEOF
56205rm -f conftest.$ac_objext
56206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56207  (eval $ac_compile) 2>conftest.er1
56208  ac_status=$?
56209  grep -v '^ *+' conftest.er1 >conftest.err
56210  rm -f conftest.er1
56211  cat conftest.err >&5
56212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56213  (exit $ac_status); } &&
56214	 { ac_try='test -z "$ac_cxx_werror_flag"
56215			 || test ! -s conftest.err'
56216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56217  (eval $ac_try) 2>&5
56218  ac_status=$?
56219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220  (exit $ac_status); }; } &&
56221	 { ac_try='test -s conftest.$ac_objext'
56222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56223  (eval $ac_try) 2>&5
56224  ac_status=$?
56225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56226  (exit $ac_status); }; }; then
56227  glibcxx_cv_func_sincos_use=yes
56228else
56229  echo "$as_me: failed program was:" >&5
56230sed 's/^/| /' conftest.$ac_ext >&5
56231
56232glibcxx_cv_func_sincos_use=no
56233fi
56234rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56235      ac_ext=c
56236ac_cpp='$CPP $CPPFLAGS'
56237ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240
56241
56242fi
56243
56244  fi
56245  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56246echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56247
56248  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56249
56250for ac_func in sincos
56251do
56252as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56253echo "$as_me:$LINENO: checking for $ac_func" >&5
56254echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56255if eval "test \"\${$as_ac_var+set}\" = set"; then
56256  echo $ECHO_N "(cached) $ECHO_C" >&6
56257else
56258  if test x$gcc_no_link = xyes; then
56259  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56260echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56261   { (exit 1); exit 1; }; }
56262fi
56263cat >conftest.$ac_ext <<_ACEOF
56264/* confdefs.h.  */
56265_ACEOF
56266cat confdefs.h >>conftest.$ac_ext
56267cat >>conftest.$ac_ext <<_ACEOF
56268/* end confdefs.h.  */
56269/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56270   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56271#define $ac_func innocuous_$ac_func
56272
56273/* System header to define __stub macros and hopefully few prototypes,
56274    which can conflict with char $ac_func (); below.
56275    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56276    <limits.h> exists even on freestanding compilers.  */
56277
56278#ifdef __STDC__
56279# include <limits.h>
56280#else
56281# include <assert.h>
56282#endif
56283
56284#undef $ac_func
56285
56286/* Override any gcc2 internal prototype to avoid an error.  */
56287#ifdef __cplusplus
56288extern "C"
56289{
56290#endif
56291/* We use char because int might match the return type of a gcc2
56292   builtin and then its argument prototype would still apply.  */
56293char $ac_func ();
56294/* The GNU C library defines this for functions which it implements
56295    to always fail with ENOSYS.  Some functions are actually named
56296    something starting with __ and the normal name is an alias.  */
56297#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56298choke me
56299#else
56300char (*f) () = $ac_func;
56301#endif
56302#ifdef __cplusplus
56303}
56304#endif
56305
56306int
56307main ()
56308{
56309return f != $ac_func;
56310  ;
56311  return 0;
56312}
56313_ACEOF
56314rm -f conftest.$ac_objext conftest$ac_exeext
56315if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56316  (eval $ac_link) 2>conftest.er1
56317  ac_status=$?
56318  grep -v '^ *+' conftest.er1 >conftest.err
56319  rm -f conftest.er1
56320  cat conftest.err >&5
56321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56322  (exit $ac_status); } &&
56323	 { ac_try='test -z "$ac_c_werror_flag"
56324			 || test ! -s conftest.err'
56325  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56326  (eval $ac_try) 2>&5
56327  ac_status=$?
56328  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329  (exit $ac_status); }; } &&
56330	 { ac_try='test -s conftest$ac_exeext'
56331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56332  (eval $ac_try) 2>&5
56333  ac_status=$?
56334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56335  (exit $ac_status); }; }; then
56336  eval "$as_ac_var=yes"
56337else
56338  echo "$as_me: failed program was:" >&5
56339sed 's/^/| /' conftest.$ac_ext >&5
56340
56341eval "$as_ac_var=no"
56342fi
56343rm -f conftest.err conftest.$ac_objext \
56344      conftest$ac_exeext conftest.$ac_ext
56345fi
56346echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56347echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56348if test `eval echo '${'$as_ac_var'}'` = yes; then
56349  cat >>confdefs.h <<_ACEOF
56350#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56351_ACEOF
56352
56353fi
56354done
56355
56356  else
56357
56358  echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56359echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56360  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56361    if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56362  echo $ECHO_N "(cached) $ECHO_C" >&6
56363else
56364
56365
56366
56367      ac_ext=cc
56368ac_cpp='$CXXCPP $CPPFLAGS'
56369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56372
56373      cat >conftest.$ac_ext <<_ACEOF
56374/* confdefs.h.  */
56375_ACEOF
56376cat confdefs.h >>conftest.$ac_ext
56377cat >>conftest.$ac_ext <<_ACEOF
56378/* end confdefs.h.  */
56379#include <math.h>
56380int
56381main ()
56382{
56383 _sincos(0, 0, 0);
56384  ;
56385  return 0;
56386}
56387_ACEOF
56388rm -f conftest.$ac_objext
56389if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56390  (eval $ac_compile) 2>conftest.er1
56391  ac_status=$?
56392  grep -v '^ *+' conftest.er1 >conftest.err
56393  rm -f conftest.er1
56394  cat conftest.err >&5
56395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56396  (exit $ac_status); } &&
56397	 { ac_try='test -z "$ac_cxx_werror_flag"
56398			 || test ! -s conftest.err'
56399  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56400  (eval $ac_try) 2>&5
56401  ac_status=$?
56402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56403  (exit $ac_status); }; } &&
56404	 { ac_try='test -s conftest.$ac_objext'
56405  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56406  (eval $ac_try) 2>&5
56407  ac_status=$?
56408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56409  (exit $ac_status); }; }; then
56410  glibcxx_cv_func__sincos_use=yes
56411else
56412  echo "$as_me: failed program was:" >&5
56413sed 's/^/| /' conftest.$ac_ext >&5
56414
56415glibcxx_cv_func__sincos_use=no
56416fi
56417rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56418      ac_ext=c
56419ac_cpp='$CPP $CPPFLAGS'
56420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422ac_compiler_gnu=$ac_cv_c_compiler_gnu
56423
56424
56425fi
56426
56427  fi
56428  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56429echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56430
56431    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56432
56433for ac_func in _sincos
56434do
56435as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56436echo "$as_me:$LINENO: checking for $ac_func" >&5
56437echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56438if eval "test \"\${$as_ac_var+set}\" = set"; then
56439  echo $ECHO_N "(cached) $ECHO_C" >&6
56440else
56441  if test x$gcc_no_link = xyes; then
56442  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56443echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56444   { (exit 1); exit 1; }; }
56445fi
56446cat >conftest.$ac_ext <<_ACEOF
56447/* confdefs.h.  */
56448_ACEOF
56449cat confdefs.h >>conftest.$ac_ext
56450cat >>conftest.$ac_ext <<_ACEOF
56451/* end confdefs.h.  */
56452/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56453   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56454#define $ac_func innocuous_$ac_func
56455
56456/* System header to define __stub macros and hopefully few prototypes,
56457    which can conflict with char $ac_func (); below.
56458    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56459    <limits.h> exists even on freestanding compilers.  */
56460
56461#ifdef __STDC__
56462# include <limits.h>
56463#else
56464# include <assert.h>
56465#endif
56466
56467#undef $ac_func
56468
56469/* Override any gcc2 internal prototype to avoid an error.  */
56470#ifdef __cplusplus
56471extern "C"
56472{
56473#endif
56474/* We use char because int might match the return type of a gcc2
56475   builtin and then its argument prototype would still apply.  */
56476char $ac_func ();
56477/* The GNU C library defines this for functions which it implements
56478    to always fail with ENOSYS.  Some functions are actually named
56479    something starting with __ and the normal name is an alias.  */
56480#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56481choke me
56482#else
56483char (*f) () = $ac_func;
56484#endif
56485#ifdef __cplusplus
56486}
56487#endif
56488
56489int
56490main ()
56491{
56492return f != $ac_func;
56493  ;
56494  return 0;
56495}
56496_ACEOF
56497rm -f conftest.$ac_objext conftest$ac_exeext
56498if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56499  (eval $ac_link) 2>conftest.er1
56500  ac_status=$?
56501  grep -v '^ *+' conftest.er1 >conftest.err
56502  rm -f conftest.er1
56503  cat conftest.err >&5
56504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56505  (exit $ac_status); } &&
56506	 { ac_try='test -z "$ac_c_werror_flag"
56507			 || test ! -s conftest.err'
56508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56509  (eval $ac_try) 2>&5
56510  ac_status=$?
56511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56512  (exit $ac_status); }; } &&
56513	 { ac_try='test -s conftest$ac_exeext'
56514  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56515  (eval $ac_try) 2>&5
56516  ac_status=$?
56517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56518  (exit $ac_status); }; }; then
56519  eval "$as_ac_var=yes"
56520else
56521  echo "$as_me: failed program was:" >&5
56522sed 's/^/| /' conftest.$ac_ext >&5
56523
56524eval "$as_ac_var=no"
56525fi
56526rm -f conftest.err conftest.$ac_objext \
56527      conftest$ac_exeext conftest.$ac_ext
56528fi
56529echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56530echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56531if test `eval echo '${'$as_ac_var'}'` = yes; then
56532  cat >>confdefs.h <<_ACEOF
56533#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56534_ACEOF
56535
56536fi
56537done
56538
56539    fi
56540  fi
56541
56542
56543
56544
56545
56546
56547  echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56548echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56549  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56550    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56551  echo $ECHO_N "(cached) $ECHO_C" >&6
56552else
56553
56554
56555
56556      ac_ext=cc
56557ac_cpp='$CXXCPP $CPPFLAGS'
56558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56561
56562      cat >conftest.$ac_ext <<_ACEOF
56563/* confdefs.h.  */
56564_ACEOF
56565cat confdefs.h >>conftest.$ac_ext
56566cat >>conftest.$ac_ext <<_ACEOF
56567/* end confdefs.h.  */
56568#include <math.h>
56569		      #ifdef HAVE_IEEEFP_H
56570		      #include <ieeefp.h>
56571		      #endif
56572
56573int
56574main ()
56575{
56576 fpclass(0);
56577  ;
56578  return 0;
56579}
56580_ACEOF
56581rm -f conftest.$ac_objext
56582if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56583  (eval $ac_compile) 2>conftest.er1
56584  ac_status=$?
56585  grep -v '^ *+' conftest.er1 >conftest.err
56586  rm -f conftest.er1
56587  cat conftest.err >&5
56588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56589  (exit $ac_status); } &&
56590	 { ac_try='test -z "$ac_cxx_werror_flag"
56591			 || test ! -s conftest.err'
56592  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56593  (eval $ac_try) 2>&5
56594  ac_status=$?
56595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56596  (exit $ac_status); }; } &&
56597	 { ac_try='test -s conftest.$ac_objext'
56598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56599  (eval $ac_try) 2>&5
56600  ac_status=$?
56601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602  (exit $ac_status); }; }; then
56603  glibcxx_cv_func_fpclass_use=yes
56604else
56605  echo "$as_me: failed program was:" >&5
56606sed 's/^/| /' conftest.$ac_ext >&5
56607
56608glibcxx_cv_func_fpclass_use=no
56609fi
56610rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56611      ac_ext=c
56612ac_cpp='$CPP $CPPFLAGS'
56613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615ac_compiler_gnu=$ac_cv_c_compiler_gnu
56616
56617
56618fi
56619
56620  fi
56621  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56622echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56623
56624  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56625
56626for ac_func in fpclass
56627do
56628as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56629echo "$as_me:$LINENO: checking for $ac_func" >&5
56630echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56631if eval "test \"\${$as_ac_var+set}\" = set"; then
56632  echo $ECHO_N "(cached) $ECHO_C" >&6
56633else
56634  if test x$gcc_no_link = xyes; then
56635  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56636echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56637   { (exit 1); exit 1; }; }
56638fi
56639cat >conftest.$ac_ext <<_ACEOF
56640/* confdefs.h.  */
56641_ACEOF
56642cat confdefs.h >>conftest.$ac_ext
56643cat >>conftest.$ac_ext <<_ACEOF
56644/* end confdefs.h.  */
56645/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56646   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56647#define $ac_func innocuous_$ac_func
56648
56649/* System header to define __stub macros and hopefully few prototypes,
56650    which can conflict with char $ac_func (); below.
56651    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56652    <limits.h> exists even on freestanding compilers.  */
56653
56654#ifdef __STDC__
56655# include <limits.h>
56656#else
56657# include <assert.h>
56658#endif
56659
56660#undef $ac_func
56661
56662/* Override any gcc2 internal prototype to avoid an error.  */
56663#ifdef __cplusplus
56664extern "C"
56665{
56666#endif
56667/* We use char because int might match the return type of a gcc2
56668   builtin and then its argument prototype would still apply.  */
56669char $ac_func ();
56670/* The GNU C library defines this for functions which it implements
56671    to always fail with ENOSYS.  Some functions are actually named
56672    something starting with __ and the normal name is an alias.  */
56673#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56674choke me
56675#else
56676char (*f) () = $ac_func;
56677#endif
56678#ifdef __cplusplus
56679}
56680#endif
56681
56682int
56683main ()
56684{
56685return f != $ac_func;
56686  ;
56687  return 0;
56688}
56689_ACEOF
56690rm -f conftest.$ac_objext conftest$ac_exeext
56691if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56692  (eval $ac_link) 2>conftest.er1
56693  ac_status=$?
56694  grep -v '^ *+' conftest.er1 >conftest.err
56695  rm -f conftest.er1
56696  cat conftest.err >&5
56697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56698  (exit $ac_status); } &&
56699	 { ac_try='test -z "$ac_c_werror_flag"
56700			 || test ! -s conftest.err'
56701  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56702  (eval $ac_try) 2>&5
56703  ac_status=$?
56704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56705  (exit $ac_status); }; } &&
56706	 { ac_try='test -s conftest$ac_exeext'
56707  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56708  (eval $ac_try) 2>&5
56709  ac_status=$?
56710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711  (exit $ac_status); }; }; then
56712  eval "$as_ac_var=yes"
56713else
56714  echo "$as_me: failed program was:" >&5
56715sed 's/^/| /' conftest.$ac_ext >&5
56716
56717eval "$as_ac_var=no"
56718fi
56719rm -f conftest.err conftest.$ac_objext \
56720      conftest$ac_exeext conftest.$ac_ext
56721fi
56722echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56723echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56724if test `eval echo '${'$as_ac_var'}'` = yes; then
56725  cat >>confdefs.h <<_ACEOF
56726#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56727_ACEOF
56728
56729fi
56730done
56731
56732  else
56733
56734  echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56735echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56736  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56737    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56738  echo $ECHO_N "(cached) $ECHO_C" >&6
56739else
56740
56741
56742
56743      ac_ext=cc
56744ac_cpp='$CXXCPP $CPPFLAGS'
56745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56748
56749      cat >conftest.$ac_ext <<_ACEOF
56750/* confdefs.h.  */
56751_ACEOF
56752cat confdefs.h >>conftest.$ac_ext
56753cat >>conftest.$ac_ext <<_ACEOF
56754/* end confdefs.h.  */
56755#include <math.h>
56756		      #ifdef HAVE_IEEEFP_H
56757		      #include <ieeefp.h>
56758		      #endif
56759
56760int
56761main ()
56762{
56763 _fpclass(0);
56764  ;
56765  return 0;
56766}
56767_ACEOF
56768rm -f conftest.$ac_objext
56769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56770  (eval $ac_compile) 2>conftest.er1
56771  ac_status=$?
56772  grep -v '^ *+' conftest.er1 >conftest.err
56773  rm -f conftest.er1
56774  cat conftest.err >&5
56775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56776  (exit $ac_status); } &&
56777	 { ac_try='test -z "$ac_cxx_werror_flag"
56778			 || test ! -s conftest.err'
56779  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56780  (eval $ac_try) 2>&5
56781  ac_status=$?
56782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56783  (exit $ac_status); }; } &&
56784	 { ac_try='test -s conftest.$ac_objext'
56785  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56786  (eval $ac_try) 2>&5
56787  ac_status=$?
56788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56789  (exit $ac_status); }; }; then
56790  glibcxx_cv_func__fpclass_use=yes
56791else
56792  echo "$as_me: failed program was:" >&5
56793sed 's/^/| /' conftest.$ac_ext >&5
56794
56795glibcxx_cv_func__fpclass_use=no
56796fi
56797rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56798      ac_ext=c
56799ac_cpp='$CPP $CPPFLAGS'
56800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802ac_compiler_gnu=$ac_cv_c_compiler_gnu
56803
56804
56805fi
56806
56807  fi
56808  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56809echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56810
56811    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56812
56813for ac_func in _fpclass
56814do
56815as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56816echo "$as_me:$LINENO: checking for $ac_func" >&5
56817echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56818if eval "test \"\${$as_ac_var+set}\" = set"; then
56819  echo $ECHO_N "(cached) $ECHO_C" >&6
56820else
56821  if test x$gcc_no_link = xyes; then
56822  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56823echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56824   { (exit 1); exit 1; }; }
56825fi
56826cat >conftest.$ac_ext <<_ACEOF
56827/* confdefs.h.  */
56828_ACEOF
56829cat confdefs.h >>conftest.$ac_ext
56830cat >>conftest.$ac_ext <<_ACEOF
56831/* end confdefs.h.  */
56832/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56833   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56834#define $ac_func innocuous_$ac_func
56835
56836/* System header to define __stub macros and hopefully few prototypes,
56837    which can conflict with char $ac_func (); below.
56838    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56839    <limits.h> exists even on freestanding compilers.  */
56840
56841#ifdef __STDC__
56842# include <limits.h>
56843#else
56844# include <assert.h>
56845#endif
56846
56847#undef $ac_func
56848
56849/* Override any gcc2 internal prototype to avoid an error.  */
56850#ifdef __cplusplus
56851extern "C"
56852{
56853#endif
56854/* We use char because int might match the return type of a gcc2
56855   builtin and then its argument prototype would still apply.  */
56856char $ac_func ();
56857/* The GNU C library defines this for functions which it implements
56858    to always fail with ENOSYS.  Some functions are actually named
56859    something starting with __ and the normal name is an alias.  */
56860#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56861choke me
56862#else
56863char (*f) () = $ac_func;
56864#endif
56865#ifdef __cplusplus
56866}
56867#endif
56868
56869int
56870main ()
56871{
56872return f != $ac_func;
56873  ;
56874  return 0;
56875}
56876_ACEOF
56877rm -f conftest.$ac_objext conftest$ac_exeext
56878if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56879  (eval $ac_link) 2>conftest.er1
56880  ac_status=$?
56881  grep -v '^ *+' conftest.er1 >conftest.err
56882  rm -f conftest.er1
56883  cat conftest.err >&5
56884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885  (exit $ac_status); } &&
56886	 { ac_try='test -z "$ac_c_werror_flag"
56887			 || test ! -s conftest.err'
56888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56889  (eval $ac_try) 2>&5
56890  ac_status=$?
56891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892  (exit $ac_status); }; } &&
56893	 { ac_try='test -s conftest$ac_exeext'
56894  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56895  (eval $ac_try) 2>&5
56896  ac_status=$?
56897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56898  (exit $ac_status); }; }; then
56899  eval "$as_ac_var=yes"
56900else
56901  echo "$as_me: failed program was:" >&5
56902sed 's/^/| /' conftest.$ac_ext >&5
56903
56904eval "$as_ac_var=no"
56905fi
56906rm -f conftest.err conftest.$ac_objext \
56907      conftest$ac_exeext conftest.$ac_ext
56908fi
56909echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56910echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56911if test `eval echo '${'$as_ac_var'}'` = yes; then
56912  cat >>confdefs.h <<_ACEOF
56913#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56914_ACEOF
56915
56916fi
56917done
56918
56919    fi
56920  fi
56921
56922
56923
56924
56925
56926
56927  echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56928echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56929  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56930    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56931  echo $ECHO_N "(cached) $ECHO_C" >&6
56932else
56933
56934
56935
56936      ac_ext=cc
56937ac_cpp='$CXXCPP $CPPFLAGS'
56938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56941
56942      cat >conftest.$ac_ext <<_ACEOF
56943/* confdefs.h.  */
56944_ACEOF
56945cat confdefs.h >>conftest.$ac_ext
56946cat >>conftest.$ac_ext <<_ACEOF
56947/* end confdefs.h.  */
56948#include <math.h>
56949		      #ifdef HAVE_IEEEFP_H
56950		      #include <ieeefp.h>
56951		      #endif
56952
56953int
56954main ()
56955{
56956 qfpclass(0);
56957  ;
56958  return 0;
56959}
56960_ACEOF
56961rm -f conftest.$ac_objext
56962if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56963  (eval $ac_compile) 2>conftest.er1
56964  ac_status=$?
56965  grep -v '^ *+' conftest.er1 >conftest.err
56966  rm -f conftest.er1
56967  cat conftest.err >&5
56968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56969  (exit $ac_status); } &&
56970	 { ac_try='test -z "$ac_cxx_werror_flag"
56971			 || test ! -s conftest.err'
56972  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56973  (eval $ac_try) 2>&5
56974  ac_status=$?
56975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56976  (exit $ac_status); }; } &&
56977	 { ac_try='test -s conftest.$ac_objext'
56978  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56979  (eval $ac_try) 2>&5
56980  ac_status=$?
56981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982  (exit $ac_status); }; }; then
56983  glibcxx_cv_func_qfpclass_use=yes
56984else
56985  echo "$as_me: failed program was:" >&5
56986sed 's/^/| /' conftest.$ac_ext >&5
56987
56988glibcxx_cv_func_qfpclass_use=no
56989fi
56990rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56991      ac_ext=c
56992ac_cpp='$CPP $CPPFLAGS'
56993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56995ac_compiler_gnu=$ac_cv_c_compiler_gnu
56996
56997
56998fi
56999
57000  fi
57001  echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
57002echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
57003
57004  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57005
57006for ac_func in qfpclass
57007do
57008as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57009echo "$as_me:$LINENO: checking for $ac_func" >&5
57010echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57011if eval "test \"\${$as_ac_var+set}\" = set"; then
57012  echo $ECHO_N "(cached) $ECHO_C" >&6
57013else
57014  if test x$gcc_no_link = xyes; then
57015  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57016echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57017   { (exit 1); exit 1; }; }
57018fi
57019cat >conftest.$ac_ext <<_ACEOF
57020/* confdefs.h.  */
57021_ACEOF
57022cat confdefs.h >>conftest.$ac_ext
57023cat >>conftest.$ac_ext <<_ACEOF
57024/* end confdefs.h.  */
57025/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57026   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57027#define $ac_func innocuous_$ac_func
57028
57029/* System header to define __stub macros and hopefully few prototypes,
57030    which can conflict with char $ac_func (); below.
57031    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57032    <limits.h> exists even on freestanding compilers.  */
57033
57034#ifdef __STDC__
57035# include <limits.h>
57036#else
57037# include <assert.h>
57038#endif
57039
57040#undef $ac_func
57041
57042/* Override any gcc2 internal prototype to avoid an error.  */
57043#ifdef __cplusplus
57044extern "C"
57045{
57046#endif
57047/* We use char because int might match the return type of a gcc2
57048   builtin and then its argument prototype would still apply.  */
57049char $ac_func ();
57050/* The GNU C library defines this for functions which it implements
57051    to always fail with ENOSYS.  Some functions are actually named
57052    something starting with __ and the normal name is an alias.  */
57053#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57054choke me
57055#else
57056char (*f) () = $ac_func;
57057#endif
57058#ifdef __cplusplus
57059}
57060#endif
57061
57062int
57063main ()
57064{
57065return f != $ac_func;
57066  ;
57067  return 0;
57068}
57069_ACEOF
57070rm -f conftest.$ac_objext conftest$ac_exeext
57071if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57072  (eval $ac_link) 2>conftest.er1
57073  ac_status=$?
57074  grep -v '^ *+' conftest.er1 >conftest.err
57075  rm -f conftest.er1
57076  cat conftest.err >&5
57077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57078  (exit $ac_status); } &&
57079	 { ac_try='test -z "$ac_c_werror_flag"
57080			 || test ! -s conftest.err'
57081  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57082  (eval $ac_try) 2>&5
57083  ac_status=$?
57084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57085  (exit $ac_status); }; } &&
57086	 { ac_try='test -s conftest$ac_exeext'
57087  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57088  (eval $ac_try) 2>&5
57089  ac_status=$?
57090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57091  (exit $ac_status); }; }; then
57092  eval "$as_ac_var=yes"
57093else
57094  echo "$as_me: failed program was:" >&5
57095sed 's/^/| /' conftest.$ac_ext >&5
57096
57097eval "$as_ac_var=no"
57098fi
57099rm -f conftest.err conftest.$ac_objext \
57100      conftest$ac_exeext conftest.$ac_ext
57101fi
57102echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57103echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57104if test `eval echo '${'$as_ac_var'}'` = yes; then
57105  cat >>confdefs.h <<_ACEOF
57106#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57107_ACEOF
57108
57109fi
57110done
57111
57112  else
57113
57114  echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
57115echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
57116  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57117    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
57118  echo $ECHO_N "(cached) $ECHO_C" >&6
57119else
57120
57121
57122
57123      ac_ext=cc
57124ac_cpp='$CXXCPP $CPPFLAGS'
57125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57128
57129      cat >conftest.$ac_ext <<_ACEOF
57130/* confdefs.h.  */
57131_ACEOF
57132cat confdefs.h >>conftest.$ac_ext
57133cat >>conftest.$ac_ext <<_ACEOF
57134/* end confdefs.h.  */
57135#include <math.h>
57136		      #ifdef HAVE_IEEEFP_H
57137		      #include <ieeefp.h>
57138		      #endif
57139
57140int
57141main ()
57142{
57143 _qfpclass(0);
57144  ;
57145  return 0;
57146}
57147_ACEOF
57148rm -f conftest.$ac_objext
57149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57150  (eval $ac_compile) 2>conftest.er1
57151  ac_status=$?
57152  grep -v '^ *+' conftest.er1 >conftest.err
57153  rm -f conftest.er1
57154  cat conftest.err >&5
57155  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156  (exit $ac_status); } &&
57157	 { ac_try='test -z "$ac_cxx_werror_flag"
57158			 || test ! -s conftest.err'
57159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57160  (eval $ac_try) 2>&5
57161  ac_status=$?
57162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57163  (exit $ac_status); }; } &&
57164	 { ac_try='test -s conftest.$ac_objext'
57165  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57166  (eval $ac_try) 2>&5
57167  ac_status=$?
57168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57169  (exit $ac_status); }; }; then
57170  glibcxx_cv_func__qfpclass_use=yes
57171else
57172  echo "$as_me: failed program was:" >&5
57173sed 's/^/| /' conftest.$ac_ext >&5
57174
57175glibcxx_cv_func__qfpclass_use=no
57176fi
57177rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57178      ac_ext=c
57179ac_cpp='$CPP $CPPFLAGS'
57180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182ac_compiler_gnu=$ac_cv_c_compiler_gnu
57183
57184
57185fi
57186
57187  fi
57188  echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57189echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57190
57191    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57192
57193for ac_func in _qfpclass
57194do
57195as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57196echo "$as_me:$LINENO: checking for $ac_func" >&5
57197echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57198if eval "test \"\${$as_ac_var+set}\" = set"; then
57199  echo $ECHO_N "(cached) $ECHO_C" >&6
57200else
57201  if test x$gcc_no_link = xyes; then
57202  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57203echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57204   { (exit 1); exit 1; }; }
57205fi
57206cat >conftest.$ac_ext <<_ACEOF
57207/* confdefs.h.  */
57208_ACEOF
57209cat confdefs.h >>conftest.$ac_ext
57210cat >>conftest.$ac_ext <<_ACEOF
57211/* end confdefs.h.  */
57212/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57213   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57214#define $ac_func innocuous_$ac_func
57215
57216/* System header to define __stub macros and hopefully few prototypes,
57217    which can conflict with char $ac_func (); below.
57218    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57219    <limits.h> exists even on freestanding compilers.  */
57220
57221#ifdef __STDC__
57222# include <limits.h>
57223#else
57224# include <assert.h>
57225#endif
57226
57227#undef $ac_func
57228
57229/* Override any gcc2 internal prototype to avoid an error.  */
57230#ifdef __cplusplus
57231extern "C"
57232{
57233#endif
57234/* We use char because int might match the return type of a gcc2
57235   builtin and then its argument prototype would still apply.  */
57236char $ac_func ();
57237/* The GNU C library defines this for functions which it implements
57238    to always fail with ENOSYS.  Some functions are actually named
57239    something starting with __ and the normal name is an alias.  */
57240#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57241choke me
57242#else
57243char (*f) () = $ac_func;
57244#endif
57245#ifdef __cplusplus
57246}
57247#endif
57248
57249int
57250main ()
57251{
57252return f != $ac_func;
57253  ;
57254  return 0;
57255}
57256_ACEOF
57257rm -f conftest.$ac_objext conftest$ac_exeext
57258if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57259  (eval $ac_link) 2>conftest.er1
57260  ac_status=$?
57261  grep -v '^ *+' conftest.er1 >conftest.err
57262  rm -f conftest.er1
57263  cat conftest.err >&5
57264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265  (exit $ac_status); } &&
57266	 { ac_try='test -z "$ac_c_werror_flag"
57267			 || test ! -s conftest.err'
57268  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57269  (eval $ac_try) 2>&5
57270  ac_status=$?
57271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57272  (exit $ac_status); }; } &&
57273	 { ac_try='test -s conftest$ac_exeext'
57274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57275  (eval $ac_try) 2>&5
57276  ac_status=$?
57277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57278  (exit $ac_status); }; }; then
57279  eval "$as_ac_var=yes"
57280else
57281  echo "$as_me: failed program was:" >&5
57282sed 's/^/| /' conftest.$ac_ext >&5
57283
57284eval "$as_ac_var=no"
57285fi
57286rm -f conftest.err conftest.$ac_objext \
57287      conftest$ac_exeext conftest.$ac_ext
57288fi
57289echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57290echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57291if test `eval echo '${'$as_ac_var'}'` = yes; then
57292  cat >>confdefs.h <<_ACEOF
57293#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57294_ACEOF
57295
57296fi
57297done
57298
57299    fi
57300  fi
57301
57302
57303
57304
57305
57306
57307  echo "$as_me:$LINENO: checking for hypot declaration" >&5
57308echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57309  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57310    if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57311  echo $ECHO_N "(cached) $ECHO_C" >&6
57312else
57313
57314
57315
57316      ac_ext=cc
57317ac_cpp='$CXXCPP $CPPFLAGS'
57318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57321
57322      cat >conftest.$ac_ext <<_ACEOF
57323/* confdefs.h.  */
57324_ACEOF
57325cat confdefs.h >>conftest.$ac_ext
57326cat >>conftest.$ac_ext <<_ACEOF
57327/* end confdefs.h.  */
57328#include <math.h>
57329int
57330main ()
57331{
57332 hypot(0, 0);
57333  ;
57334  return 0;
57335}
57336_ACEOF
57337rm -f conftest.$ac_objext
57338if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57339  (eval $ac_compile) 2>conftest.er1
57340  ac_status=$?
57341  grep -v '^ *+' conftest.er1 >conftest.err
57342  rm -f conftest.er1
57343  cat conftest.err >&5
57344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57345  (exit $ac_status); } &&
57346	 { ac_try='test -z "$ac_cxx_werror_flag"
57347			 || test ! -s conftest.err'
57348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57349  (eval $ac_try) 2>&5
57350  ac_status=$?
57351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57352  (exit $ac_status); }; } &&
57353	 { ac_try='test -s conftest.$ac_objext'
57354  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57355  (eval $ac_try) 2>&5
57356  ac_status=$?
57357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57358  (exit $ac_status); }; }; then
57359  glibcxx_cv_func_hypot_use=yes
57360else
57361  echo "$as_me: failed program was:" >&5
57362sed 's/^/| /' conftest.$ac_ext >&5
57363
57364glibcxx_cv_func_hypot_use=no
57365fi
57366rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57367      ac_ext=c
57368ac_cpp='$CPP $CPPFLAGS'
57369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57371ac_compiler_gnu=$ac_cv_c_compiler_gnu
57372
57373
57374fi
57375
57376  fi
57377  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57378echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57379
57380  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57381
57382for ac_func in hypot
57383do
57384as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57385echo "$as_me:$LINENO: checking for $ac_func" >&5
57386echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57387if eval "test \"\${$as_ac_var+set}\" = set"; then
57388  echo $ECHO_N "(cached) $ECHO_C" >&6
57389else
57390  if test x$gcc_no_link = xyes; then
57391  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57392echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57393   { (exit 1); exit 1; }; }
57394fi
57395cat >conftest.$ac_ext <<_ACEOF
57396/* confdefs.h.  */
57397_ACEOF
57398cat confdefs.h >>conftest.$ac_ext
57399cat >>conftest.$ac_ext <<_ACEOF
57400/* end confdefs.h.  */
57401/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57402   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57403#define $ac_func innocuous_$ac_func
57404
57405/* System header to define __stub macros and hopefully few prototypes,
57406    which can conflict with char $ac_func (); below.
57407    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57408    <limits.h> exists even on freestanding compilers.  */
57409
57410#ifdef __STDC__
57411# include <limits.h>
57412#else
57413# include <assert.h>
57414#endif
57415
57416#undef $ac_func
57417
57418/* Override any gcc2 internal prototype to avoid an error.  */
57419#ifdef __cplusplus
57420extern "C"
57421{
57422#endif
57423/* We use char because int might match the return type of a gcc2
57424   builtin and then its argument prototype would still apply.  */
57425char $ac_func ();
57426/* The GNU C library defines this for functions which it implements
57427    to always fail with ENOSYS.  Some functions are actually named
57428    something starting with __ and the normal name is an alias.  */
57429#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57430choke me
57431#else
57432char (*f) () = $ac_func;
57433#endif
57434#ifdef __cplusplus
57435}
57436#endif
57437
57438int
57439main ()
57440{
57441return f != $ac_func;
57442  ;
57443  return 0;
57444}
57445_ACEOF
57446rm -f conftest.$ac_objext conftest$ac_exeext
57447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57448  (eval $ac_link) 2>conftest.er1
57449  ac_status=$?
57450  grep -v '^ *+' conftest.er1 >conftest.err
57451  rm -f conftest.er1
57452  cat conftest.err >&5
57453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57454  (exit $ac_status); } &&
57455	 { ac_try='test -z "$ac_c_werror_flag"
57456			 || test ! -s conftest.err'
57457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57458  (eval $ac_try) 2>&5
57459  ac_status=$?
57460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57461  (exit $ac_status); }; } &&
57462	 { ac_try='test -s conftest$ac_exeext'
57463  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57464  (eval $ac_try) 2>&5
57465  ac_status=$?
57466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467  (exit $ac_status); }; }; then
57468  eval "$as_ac_var=yes"
57469else
57470  echo "$as_me: failed program was:" >&5
57471sed 's/^/| /' conftest.$ac_ext >&5
57472
57473eval "$as_ac_var=no"
57474fi
57475rm -f conftest.err conftest.$ac_objext \
57476      conftest$ac_exeext conftest.$ac_ext
57477fi
57478echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57479echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57480if test `eval echo '${'$as_ac_var'}'` = yes; then
57481  cat >>confdefs.h <<_ACEOF
57482#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57483_ACEOF
57484
57485fi
57486done
57487
57488  else
57489
57490  echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57491echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57492  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57493    if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57494  echo $ECHO_N "(cached) $ECHO_C" >&6
57495else
57496
57497
57498
57499      ac_ext=cc
57500ac_cpp='$CXXCPP $CPPFLAGS'
57501ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57504
57505      cat >conftest.$ac_ext <<_ACEOF
57506/* confdefs.h.  */
57507_ACEOF
57508cat confdefs.h >>conftest.$ac_ext
57509cat >>conftest.$ac_ext <<_ACEOF
57510/* end confdefs.h.  */
57511#include <math.h>
57512int
57513main ()
57514{
57515 _hypot(0, 0);
57516  ;
57517  return 0;
57518}
57519_ACEOF
57520rm -f conftest.$ac_objext
57521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57522  (eval $ac_compile) 2>conftest.er1
57523  ac_status=$?
57524  grep -v '^ *+' conftest.er1 >conftest.err
57525  rm -f conftest.er1
57526  cat conftest.err >&5
57527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528  (exit $ac_status); } &&
57529	 { ac_try='test -z "$ac_cxx_werror_flag"
57530			 || test ! -s conftest.err'
57531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57532  (eval $ac_try) 2>&5
57533  ac_status=$?
57534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57535  (exit $ac_status); }; } &&
57536	 { ac_try='test -s conftest.$ac_objext'
57537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538  (eval $ac_try) 2>&5
57539  ac_status=$?
57540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541  (exit $ac_status); }; }; then
57542  glibcxx_cv_func__hypot_use=yes
57543else
57544  echo "$as_me: failed program was:" >&5
57545sed 's/^/| /' conftest.$ac_ext >&5
57546
57547glibcxx_cv_func__hypot_use=no
57548fi
57549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57550      ac_ext=c
57551ac_cpp='$CPP $CPPFLAGS'
57552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554ac_compiler_gnu=$ac_cv_c_compiler_gnu
57555
57556
57557fi
57558
57559  fi
57560  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57561echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57562
57563    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57564
57565for ac_func in _hypot
57566do
57567as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57568echo "$as_me:$LINENO: checking for $ac_func" >&5
57569echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57570if eval "test \"\${$as_ac_var+set}\" = set"; then
57571  echo $ECHO_N "(cached) $ECHO_C" >&6
57572else
57573  if test x$gcc_no_link = xyes; then
57574  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57575echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57576   { (exit 1); exit 1; }; }
57577fi
57578cat >conftest.$ac_ext <<_ACEOF
57579/* confdefs.h.  */
57580_ACEOF
57581cat confdefs.h >>conftest.$ac_ext
57582cat >>conftest.$ac_ext <<_ACEOF
57583/* end confdefs.h.  */
57584/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57585   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57586#define $ac_func innocuous_$ac_func
57587
57588/* System header to define __stub macros and hopefully few prototypes,
57589    which can conflict with char $ac_func (); below.
57590    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57591    <limits.h> exists even on freestanding compilers.  */
57592
57593#ifdef __STDC__
57594# include <limits.h>
57595#else
57596# include <assert.h>
57597#endif
57598
57599#undef $ac_func
57600
57601/* Override any gcc2 internal prototype to avoid an error.  */
57602#ifdef __cplusplus
57603extern "C"
57604{
57605#endif
57606/* We use char because int might match the return type of a gcc2
57607   builtin and then its argument prototype would still apply.  */
57608char $ac_func ();
57609/* The GNU C library defines this for functions which it implements
57610    to always fail with ENOSYS.  Some functions are actually named
57611    something starting with __ and the normal name is an alias.  */
57612#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57613choke me
57614#else
57615char (*f) () = $ac_func;
57616#endif
57617#ifdef __cplusplus
57618}
57619#endif
57620
57621int
57622main ()
57623{
57624return f != $ac_func;
57625  ;
57626  return 0;
57627}
57628_ACEOF
57629rm -f conftest.$ac_objext conftest$ac_exeext
57630if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57631  (eval $ac_link) 2>conftest.er1
57632  ac_status=$?
57633  grep -v '^ *+' conftest.er1 >conftest.err
57634  rm -f conftest.er1
57635  cat conftest.err >&5
57636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637  (exit $ac_status); } &&
57638	 { ac_try='test -z "$ac_c_werror_flag"
57639			 || test ! -s conftest.err'
57640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57641  (eval $ac_try) 2>&5
57642  ac_status=$?
57643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57644  (exit $ac_status); }; } &&
57645	 { ac_try='test -s conftest$ac_exeext'
57646  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57647  (eval $ac_try) 2>&5
57648  ac_status=$?
57649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650  (exit $ac_status); }; }; then
57651  eval "$as_ac_var=yes"
57652else
57653  echo "$as_me: failed program was:" >&5
57654sed 's/^/| /' conftest.$ac_ext >&5
57655
57656eval "$as_ac_var=no"
57657fi
57658rm -f conftest.err conftest.$ac_objext \
57659      conftest$ac_exeext conftest.$ac_ext
57660fi
57661echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57662echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57663if test `eval echo '${'$as_ac_var'}'` = yes; then
57664  cat >>confdefs.h <<_ACEOF
57665#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57666_ACEOF
57667
57668fi
57669done
57670
57671    fi
57672  fi
57673
57674
57675
57676
57677
57678
57679    echo "$as_me:$LINENO: checking for float trig functions" >&5
57680echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57681  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57682  echo $ECHO_N "(cached) $ECHO_C" >&6
57683else
57684
57685
57686
57687    ac_ext=cc
57688ac_cpp='$CXXCPP $CPPFLAGS'
57689ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57690ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57691ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57692
57693    cat >conftest.$ac_ext <<_ACEOF
57694/* confdefs.h.  */
57695_ACEOF
57696cat confdefs.h >>conftest.$ac_ext
57697cat >>conftest.$ac_ext <<_ACEOF
57698/* end confdefs.h.  */
57699#include <math.h>
57700int
57701main ()
57702{
57703acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57704  ;
57705  return 0;
57706}
57707_ACEOF
57708rm -f conftest.$ac_objext
57709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57710  (eval $ac_compile) 2>conftest.er1
57711  ac_status=$?
57712  grep -v '^ *+' conftest.er1 >conftest.err
57713  rm -f conftest.er1
57714  cat conftest.err >&5
57715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57716  (exit $ac_status); } &&
57717	 { ac_try='test -z "$ac_cxx_werror_flag"
57718			 || test ! -s conftest.err'
57719  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57720  (eval $ac_try) 2>&5
57721  ac_status=$?
57722  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57723  (exit $ac_status); }; } &&
57724	 { ac_try='test -s conftest.$ac_objext'
57725  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57726  (eval $ac_try) 2>&5
57727  ac_status=$?
57728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57729  (exit $ac_status); }; }; then
57730  glibcxx_cv_func_float_trig_use=yes
57731else
57732  echo "$as_me: failed program was:" >&5
57733sed 's/^/| /' conftest.$ac_ext >&5
57734
57735glibcxx_cv_func_float_trig_use=no
57736fi
57737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57738    ac_ext=c
57739ac_cpp='$CPP $CPPFLAGS'
57740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57742ac_compiler_gnu=$ac_cv_c_compiler_gnu
57743
57744fi
57745
57746  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57747echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57748  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57749
57750
57751
57752
57753
57754
57755
57756
57757
57758for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57759do
57760as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57761echo "$as_me:$LINENO: checking for $ac_func" >&5
57762echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57763if eval "test \"\${$as_ac_var+set}\" = set"; then
57764  echo $ECHO_N "(cached) $ECHO_C" >&6
57765else
57766  if test x$gcc_no_link = xyes; then
57767  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57768echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57769   { (exit 1); exit 1; }; }
57770fi
57771cat >conftest.$ac_ext <<_ACEOF
57772/* confdefs.h.  */
57773_ACEOF
57774cat confdefs.h >>conftest.$ac_ext
57775cat >>conftest.$ac_ext <<_ACEOF
57776/* end confdefs.h.  */
57777/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57778   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57779#define $ac_func innocuous_$ac_func
57780
57781/* System header to define __stub macros and hopefully few prototypes,
57782    which can conflict with char $ac_func (); below.
57783    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57784    <limits.h> exists even on freestanding compilers.  */
57785
57786#ifdef __STDC__
57787# include <limits.h>
57788#else
57789# include <assert.h>
57790#endif
57791
57792#undef $ac_func
57793
57794/* Override any gcc2 internal prototype to avoid an error.  */
57795#ifdef __cplusplus
57796extern "C"
57797{
57798#endif
57799/* We use char because int might match the return type of a gcc2
57800   builtin and then its argument prototype would still apply.  */
57801char $ac_func ();
57802/* The GNU C library defines this for functions which it implements
57803    to always fail with ENOSYS.  Some functions are actually named
57804    something starting with __ and the normal name is an alias.  */
57805#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57806choke me
57807#else
57808char (*f) () = $ac_func;
57809#endif
57810#ifdef __cplusplus
57811}
57812#endif
57813
57814int
57815main ()
57816{
57817return f != $ac_func;
57818  ;
57819  return 0;
57820}
57821_ACEOF
57822rm -f conftest.$ac_objext conftest$ac_exeext
57823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57824  (eval $ac_link) 2>conftest.er1
57825  ac_status=$?
57826  grep -v '^ *+' conftest.er1 >conftest.err
57827  rm -f conftest.er1
57828  cat conftest.err >&5
57829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830  (exit $ac_status); } &&
57831	 { ac_try='test -z "$ac_c_werror_flag"
57832			 || test ! -s conftest.err'
57833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57834  (eval $ac_try) 2>&5
57835  ac_status=$?
57836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57837  (exit $ac_status); }; } &&
57838	 { ac_try='test -s conftest$ac_exeext'
57839  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57840  (eval $ac_try) 2>&5
57841  ac_status=$?
57842  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843  (exit $ac_status); }; }; then
57844  eval "$as_ac_var=yes"
57845else
57846  echo "$as_me: failed program was:" >&5
57847sed 's/^/| /' conftest.$ac_ext >&5
57848
57849eval "$as_ac_var=no"
57850fi
57851rm -f conftest.err conftest.$ac_objext \
57852      conftest$ac_exeext conftest.$ac_ext
57853fi
57854echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57855echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57856if test `eval echo '${'$as_ac_var'}'` = yes; then
57857  cat >>confdefs.h <<_ACEOF
57858#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57859_ACEOF
57860
57861fi
57862done
57863
57864  else
57865    echo "$as_me:$LINENO: checking for _float trig functions" >&5
57866echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57867    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57868  echo $ECHO_N "(cached) $ECHO_C" >&6
57869else
57870
57871
57872
57873      ac_ext=cc
57874ac_cpp='$CXXCPP $CPPFLAGS'
57875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878
57879      cat >conftest.$ac_ext <<_ACEOF
57880/* confdefs.h.  */
57881_ACEOF
57882cat confdefs.h >>conftest.$ac_ext
57883cat >>conftest.$ac_ext <<_ACEOF
57884/* end confdefs.h.  */
57885#include <math.h>
57886int
57887main ()
57888{
57889_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57890  ;
57891  return 0;
57892}
57893_ACEOF
57894rm -f conftest.$ac_objext
57895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57896  (eval $ac_compile) 2>conftest.er1
57897  ac_status=$?
57898  grep -v '^ *+' conftest.er1 >conftest.err
57899  rm -f conftest.er1
57900  cat conftest.err >&5
57901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902  (exit $ac_status); } &&
57903	 { ac_try='test -z "$ac_cxx_werror_flag"
57904			 || test ! -s conftest.err'
57905  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57906  (eval $ac_try) 2>&5
57907  ac_status=$?
57908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57909  (exit $ac_status); }; } &&
57910	 { ac_try='test -s conftest.$ac_objext'
57911  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57912  (eval $ac_try) 2>&5
57913  ac_status=$?
57914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57915  (exit $ac_status); }; }; then
57916  glibcxx_cv_func__float_trig_use=yes
57917else
57918  echo "$as_me: failed program was:" >&5
57919sed 's/^/| /' conftest.$ac_ext >&5
57920
57921glibcxx_cv_func__float_trig_use=no
57922fi
57923rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57924      ac_ext=c
57925ac_cpp='$CPP $CPPFLAGS'
57926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57928ac_compiler_gnu=$ac_cv_c_compiler_gnu
57929
57930fi
57931
57932    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57933echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57934    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57935
57936
57937
57938
57939
57940
57941
57942
57943
57944for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57945do
57946as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57947echo "$as_me:$LINENO: checking for $ac_func" >&5
57948echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57949if eval "test \"\${$as_ac_var+set}\" = set"; then
57950  echo $ECHO_N "(cached) $ECHO_C" >&6
57951else
57952  if test x$gcc_no_link = xyes; then
57953  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57954echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57955   { (exit 1); exit 1; }; }
57956fi
57957cat >conftest.$ac_ext <<_ACEOF
57958/* confdefs.h.  */
57959_ACEOF
57960cat confdefs.h >>conftest.$ac_ext
57961cat >>conftest.$ac_ext <<_ACEOF
57962/* end confdefs.h.  */
57963/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57964   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57965#define $ac_func innocuous_$ac_func
57966
57967/* System header to define __stub macros and hopefully few prototypes,
57968    which can conflict with char $ac_func (); below.
57969    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57970    <limits.h> exists even on freestanding compilers.  */
57971
57972#ifdef __STDC__
57973# include <limits.h>
57974#else
57975# include <assert.h>
57976#endif
57977
57978#undef $ac_func
57979
57980/* Override any gcc2 internal prototype to avoid an error.  */
57981#ifdef __cplusplus
57982extern "C"
57983{
57984#endif
57985/* We use char because int might match the return type of a gcc2
57986   builtin and then its argument prototype would still apply.  */
57987char $ac_func ();
57988/* The GNU C library defines this for functions which it implements
57989    to always fail with ENOSYS.  Some functions are actually named
57990    something starting with __ and the normal name is an alias.  */
57991#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57992choke me
57993#else
57994char (*f) () = $ac_func;
57995#endif
57996#ifdef __cplusplus
57997}
57998#endif
57999
58000int
58001main ()
58002{
58003return f != $ac_func;
58004  ;
58005  return 0;
58006}
58007_ACEOF
58008rm -f conftest.$ac_objext conftest$ac_exeext
58009if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58010  (eval $ac_link) 2>conftest.er1
58011  ac_status=$?
58012  grep -v '^ *+' conftest.er1 >conftest.err
58013  rm -f conftest.er1
58014  cat conftest.err >&5
58015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016  (exit $ac_status); } &&
58017	 { ac_try='test -z "$ac_c_werror_flag"
58018			 || test ! -s conftest.err'
58019  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58020  (eval $ac_try) 2>&5
58021  ac_status=$?
58022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023  (exit $ac_status); }; } &&
58024	 { ac_try='test -s conftest$ac_exeext'
58025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58026  (eval $ac_try) 2>&5
58027  ac_status=$?
58028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58029  (exit $ac_status); }; }; then
58030  eval "$as_ac_var=yes"
58031else
58032  echo "$as_me: failed program was:" >&5
58033sed 's/^/| /' conftest.$ac_ext >&5
58034
58035eval "$as_ac_var=no"
58036fi
58037rm -f conftest.err conftest.$ac_objext \
58038      conftest$ac_exeext conftest.$ac_ext
58039fi
58040echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58041echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58042if test `eval echo '${'$as_ac_var'}'` = yes; then
58043  cat >>confdefs.h <<_ACEOF
58044#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58045_ACEOF
58046
58047fi
58048done
58049
58050    fi
58051  fi
58052
58053
58054
58055
58056
58057
58058
58059
58060
58061
58062
58063
58064
58065
58066    echo "$as_me:$LINENO: checking for float round functions" >&5
58067echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
58068  if test "${glibcxx_cv_func_float_round_use+set}" = set; then
58069  echo $ECHO_N "(cached) $ECHO_C" >&6
58070else
58071
58072
58073
58074    ac_ext=cc
58075ac_cpp='$CXXCPP $CPPFLAGS'
58076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58079
58080    cat >conftest.$ac_ext <<_ACEOF
58081/* confdefs.h.  */
58082_ACEOF
58083cat confdefs.h >>conftest.$ac_ext
58084cat >>conftest.$ac_ext <<_ACEOF
58085/* end confdefs.h.  */
58086#include <math.h>
58087int
58088main ()
58089{
58090ceilf (0); floorf (0);
58091  ;
58092  return 0;
58093}
58094_ACEOF
58095rm -f conftest.$ac_objext
58096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58097  (eval $ac_compile) 2>conftest.er1
58098  ac_status=$?
58099  grep -v '^ *+' conftest.er1 >conftest.err
58100  rm -f conftest.er1
58101  cat conftest.err >&5
58102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58103  (exit $ac_status); } &&
58104	 { ac_try='test -z "$ac_cxx_werror_flag"
58105			 || test ! -s conftest.err'
58106  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58107  (eval $ac_try) 2>&5
58108  ac_status=$?
58109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58110  (exit $ac_status); }; } &&
58111	 { ac_try='test -s conftest.$ac_objext'
58112  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58113  (eval $ac_try) 2>&5
58114  ac_status=$?
58115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58116  (exit $ac_status); }; }; then
58117  glibcxx_cv_func_float_round_use=yes
58118else
58119  echo "$as_me: failed program was:" >&5
58120sed 's/^/| /' conftest.$ac_ext >&5
58121
58122glibcxx_cv_func_float_round_use=no
58123fi
58124rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58125    ac_ext=c
58126ac_cpp='$CPP $CPPFLAGS'
58127ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58128ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58129ac_compiler_gnu=$ac_cv_c_compiler_gnu
58130
58131fi
58132
58133  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
58134echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
58135  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58136
58137
58138for ac_func in ceilf floorf
58139do
58140as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58141echo "$as_me:$LINENO: checking for $ac_func" >&5
58142echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58143if eval "test \"\${$as_ac_var+set}\" = set"; then
58144  echo $ECHO_N "(cached) $ECHO_C" >&6
58145else
58146  if test x$gcc_no_link = xyes; then
58147  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58148echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58149   { (exit 1); exit 1; }; }
58150fi
58151cat >conftest.$ac_ext <<_ACEOF
58152/* confdefs.h.  */
58153_ACEOF
58154cat confdefs.h >>conftest.$ac_ext
58155cat >>conftest.$ac_ext <<_ACEOF
58156/* end confdefs.h.  */
58157/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58158   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58159#define $ac_func innocuous_$ac_func
58160
58161/* System header to define __stub macros and hopefully few prototypes,
58162    which can conflict with char $ac_func (); below.
58163    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58164    <limits.h> exists even on freestanding compilers.  */
58165
58166#ifdef __STDC__
58167# include <limits.h>
58168#else
58169# include <assert.h>
58170#endif
58171
58172#undef $ac_func
58173
58174/* Override any gcc2 internal prototype to avoid an error.  */
58175#ifdef __cplusplus
58176extern "C"
58177{
58178#endif
58179/* We use char because int might match the return type of a gcc2
58180   builtin and then its argument prototype would still apply.  */
58181char $ac_func ();
58182/* The GNU C library defines this for functions which it implements
58183    to always fail with ENOSYS.  Some functions are actually named
58184    something starting with __ and the normal name is an alias.  */
58185#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58186choke me
58187#else
58188char (*f) () = $ac_func;
58189#endif
58190#ifdef __cplusplus
58191}
58192#endif
58193
58194int
58195main ()
58196{
58197return f != $ac_func;
58198  ;
58199  return 0;
58200}
58201_ACEOF
58202rm -f conftest.$ac_objext conftest$ac_exeext
58203if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58204  (eval $ac_link) 2>conftest.er1
58205  ac_status=$?
58206  grep -v '^ *+' conftest.er1 >conftest.err
58207  rm -f conftest.er1
58208  cat conftest.err >&5
58209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58210  (exit $ac_status); } &&
58211	 { ac_try='test -z "$ac_c_werror_flag"
58212			 || test ! -s conftest.err'
58213  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58214  (eval $ac_try) 2>&5
58215  ac_status=$?
58216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58217  (exit $ac_status); }; } &&
58218	 { ac_try='test -s conftest$ac_exeext'
58219  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58220  (eval $ac_try) 2>&5
58221  ac_status=$?
58222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58223  (exit $ac_status); }; }; then
58224  eval "$as_ac_var=yes"
58225else
58226  echo "$as_me: failed program was:" >&5
58227sed 's/^/| /' conftest.$ac_ext >&5
58228
58229eval "$as_ac_var=no"
58230fi
58231rm -f conftest.err conftest.$ac_objext \
58232      conftest$ac_exeext conftest.$ac_ext
58233fi
58234echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58235echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58236if test `eval echo '${'$as_ac_var'}'` = yes; then
58237  cat >>confdefs.h <<_ACEOF
58238#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58239_ACEOF
58240
58241fi
58242done
58243
58244  else
58245    echo "$as_me:$LINENO: checking for _float round functions" >&5
58246echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58247    if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58248  echo $ECHO_N "(cached) $ECHO_C" >&6
58249else
58250
58251
58252
58253      ac_ext=cc
58254ac_cpp='$CXXCPP $CPPFLAGS'
58255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58258
58259      cat >conftest.$ac_ext <<_ACEOF
58260/* confdefs.h.  */
58261_ACEOF
58262cat confdefs.h >>conftest.$ac_ext
58263cat >>conftest.$ac_ext <<_ACEOF
58264/* end confdefs.h.  */
58265#include <math.h>
58266int
58267main ()
58268{
58269_ceilf (0); _floorf (0);
58270  ;
58271  return 0;
58272}
58273_ACEOF
58274rm -f conftest.$ac_objext
58275if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58276  (eval $ac_compile) 2>conftest.er1
58277  ac_status=$?
58278  grep -v '^ *+' conftest.er1 >conftest.err
58279  rm -f conftest.er1
58280  cat conftest.err >&5
58281  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282  (exit $ac_status); } &&
58283	 { ac_try='test -z "$ac_cxx_werror_flag"
58284			 || test ! -s conftest.err'
58285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58286  (eval $ac_try) 2>&5
58287  ac_status=$?
58288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58289  (exit $ac_status); }; } &&
58290	 { ac_try='test -s conftest.$ac_objext'
58291  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58292  (eval $ac_try) 2>&5
58293  ac_status=$?
58294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58295  (exit $ac_status); }; }; then
58296  glibcxx_cv_func__float_round_use=yes
58297else
58298  echo "$as_me: failed program was:" >&5
58299sed 's/^/| /' conftest.$ac_ext >&5
58300
58301glibcxx_cv_func__float_round_use=no
58302fi
58303rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58304      ac_ext=c
58305ac_cpp='$CPP $CPPFLAGS'
58306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308ac_compiler_gnu=$ac_cv_c_compiler_gnu
58309
58310fi
58311
58312    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58313echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58314    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58315
58316
58317for ac_func in _ceilf _floorf
58318do
58319as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58320echo "$as_me:$LINENO: checking for $ac_func" >&5
58321echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58322if eval "test \"\${$as_ac_var+set}\" = set"; then
58323  echo $ECHO_N "(cached) $ECHO_C" >&6
58324else
58325  if test x$gcc_no_link = xyes; then
58326  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58327echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58328   { (exit 1); exit 1; }; }
58329fi
58330cat >conftest.$ac_ext <<_ACEOF
58331/* confdefs.h.  */
58332_ACEOF
58333cat confdefs.h >>conftest.$ac_ext
58334cat >>conftest.$ac_ext <<_ACEOF
58335/* end confdefs.h.  */
58336/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58337   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58338#define $ac_func innocuous_$ac_func
58339
58340/* System header to define __stub macros and hopefully few prototypes,
58341    which can conflict with char $ac_func (); below.
58342    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58343    <limits.h> exists even on freestanding compilers.  */
58344
58345#ifdef __STDC__
58346# include <limits.h>
58347#else
58348# include <assert.h>
58349#endif
58350
58351#undef $ac_func
58352
58353/* Override any gcc2 internal prototype to avoid an error.  */
58354#ifdef __cplusplus
58355extern "C"
58356{
58357#endif
58358/* We use char because int might match the return type of a gcc2
58359   builtin and then its argument prototype would still apply.  */
58360char $ac_func ();
58361/* The GNU C library defines this for functions which it implements
58362    to always fail with ENOSYS.  Some functions are actually named
58363    something starting with __ and the normal name is an alias.  */
58364#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58365choke me
58366#else
58367char (*f) () = $ac_func;
58368#endif
58369#ifdef __cplusplus
58370}
58371#endif
58372
58373int
58374main ()
58375{
58376return f != $ac_func;
58377  ;
58378  return 0;
58379}
58380_ACEOF
58381rm -f conftest.$ac_objext conftest$ac_exeext
58382if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58383  (eval $ac_link) 2>conftest.er1
58384  ac_status=$?
58385  grep -v '^ *+' conftest.er1 >conftest.err
58386  rm -f conftest.er1
58387  cat conftest.err >&5
58388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389  (exit $ac_status); } &&
58390	 { ac_try='test -z "$ac_c_werror_flag"
58391			 || test ! -s conftest.err'
58392  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58393  (eval $ac_try) 2>&5
58394  ac_status=$?
58395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396  (exit $ac_status); }; } &&
58397	 { ac_try='test -s conftest$ac_exeext'
58398  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58399  (eval $ac_try) 2>&5
58400  ac_status=$?
58401  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402  (exit $ac_status); }; }; then
58403  eval "$as_ac_var=yes"
58404else
58405  echo "$as_me: failed program was:" >&5
58406sed 's/^/| /' conftest.$ac_ext >&5
58407
58408eval "$as_ac_var=no"
58409fi
58410rm -f conftest.err conftest.$ac_objext \
58411      conftest$ac_exeext conftest.$ac_ext
58412fi
58413echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58414echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58415if test `eval echo '${'$as_ac_var'}'` = yes; then
58416  cat >>confdefs.h <<_ACEOF
58417#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58418_ACEOF
58419
58420fi
58421done
58422
58423    fi
58424  fi
58425
58426
58427
58428
58429
58430
58431
58432
58433  echo "$as_me:$LINENO: checking for expf declaration" >&5
58434echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58435  if test x${glibcxx_cv_func_expf_use+set} != xset; then
58436    if test "${glibcxx_cv_func_expf_use+set}" = set; then
58437  echo $ECHO_N "(cached) $ECHO_C" >&6
58438else
58439
58440
58441
58442      ac_ext=cc
58443ac_cpp='$CXXCPP $CPPFLAGS'
58444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58447
58448      cat >conftest.$ac_ext <<_ACEOF
58449/* confdefs.h.  */
58450_ACEOF
58451cat confdefs.h >>conftest.$ac_ext
58452cat >>conftest.$ac_ext <<_ACEOF
58453/* end confdefs.h.  */
58454#include <math.h>
58455		      #ifdef HAVE_IEEEFP_H
58456		      #include <ieeefp.h>
58457		      #endif
58458
58459int
58460main ()
58461{
58462 expf(0);
58463  ;
58464  return 0;
58465}
58466_ACEOF
58467rm -f conftest.$ac_objext
58468if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58469  (eval $ac_compile) 2>conftest.er1
58470  ac_status=$?
58471  grep -v '^ *+' conftest.er1 >conftest.err
58472  rm -f conftest.er1
58473  cat conftest.err >&5
58474  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475  (exit $ac_status); } &&
58476	 { ac_try='test -z "$ac_cxx_werror_flag"
58477			 || test ! -s conftest.err'
58478  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58479  (eval $ac_try) 2>&5
58480  ac_status=$?
58481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482  (exit $ac_status); }; } &&
58483	 { ac_try='test -s conftest.$ac_objext'
58484  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58485  (eval $ac_try) 2>&5
58486  ac_status=$?
58487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488  (exit $ac_status); }; }; then
58489  glibcxx_cv_func_expf_use=yes
58490else
58491  echo "$as_me: failed program was:" >&5
58492sed 's/^/| /' conftest.$ac_ext >&5
58493
58494glibcxx_cv_func_expf_use=no
58495fi
58496rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58497      ac_ext=c
58498ac_cpp='$CPP $CPPFLAGS'
58499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58501ac_compiler_gnu=$ac_cv_c_compiler_gnu
58502
58503
58504fi
58505
58506  fi
58507  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58508echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58509
58510  if test x$glibcxx_cv_func_expf_use = x"yes"; then
58511
58512for ac_func in expf
58513do
58514as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58515echo "$as_me:$LINENO: checking for $ac_func" >&5
58516echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58517if eval "test \"\${$as_ac_var+set}\" = set"; then
58518  echo $ECHO_N "(cached) $ECHO_C" >&6
58519else
58520  if test x$gcc_no_link = xyes; then
58521  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58522echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58523   { (exit 1); exit 1; }; }
58524fi
58525cat >conftest.$ac_ext <<_ACEOF
58526/* confdefs.h.  */
58527_ACEOF
58528cat confdefs.h >>conftest.$ac_ext
58529cat >>conftest.$ac_ext <<_ACEOF
58530/* end confdefs.h.  */
58531/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58532   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58533#define $ac_func innocuous_$ac_func
58534
58535/* System header to define __stub macros and hopefully few prototypes,
58536    which can conflict with char $ac_func (); below.
58537    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58538    <limits.h> exists even on freestanding compilers.  */
58539
58540#ifdef __STDC__
58541# include <limits.h>
58542#else
58543# include <assert.h>
58544#endif
58545
58546#undef $ac_func
58547
58548/* Override any gcc2 internal prototype to avoid an error.  */
58549#ifdef __cplusplus
58550extern "C"
58551{
58552#endif
58553/* We use char because int might match the return type of a gcc2
58554   builtin and then its argument prototype would still apply.  */
58555char $ac_func ();
58556/* The GNU C library defines this for functions which it implements
58557    to always fail with ENOSYS.  Some functions are actually named
58558    something starting with __ and the normal name is an alias.  */
58559#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58560choke me
58561#else
58562char (*f) () = $ac_func;
58563#endif
58564#ifdef __cplusplus
58565}
58566#endif
58567
58568int
58569main ()
58570{
58571return f != $ac_func;
58572  ;
58573  return 0;
58574}
58575_ACEOF
58576rm -f conftest.$ac_objext conftest$ac_exeext
58577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58578  (eval $ac_link) 2>conftest.er1
58579  ac_status=$?
58580  grep -v '^ *+' conftest.er1 >conftest.err
58581  rm -f conftest.er1
58582  cat conftest.err >&5
58583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584  (exit $ac_status); } &&
58585	 { ac_try='test -z "$ac_c_werror_flag"
58586			 || test ! -s conftest.err'
58587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58588  (eval $ac_try) 2>&5
58589  ac_status=$?
58590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58591  (exit $ac_status); }; } &&
58592	 { ac_try='test -s conftest$ac_exeext'
58593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58594  (eval $ac_try) 2>&5
58595  ac_status=$?
58596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58597  (exit $ac_status); }; }; then
58598  eval "$as_ac_var=yes"
58599else
58600  echo "$as_me: failed program was:" >&5
58601sed 's/^/| /' conftest.$ac_ext >&5
58602
58603eval "$as_ac_var=no"
58604fi
58605rm -f conftest.err conftest.$ac_objext \
58606      conftest$ac_exeext conftest.$ac_ext
58607fi
58608echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58609echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58610if test `eval echo '${'$as_ac_var'}'` = yes; then
58611  cat >>confdefs.h <<_ACEOF
58612#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58613_ACEOF
58614
58615fi
58616done
58617
58618  else
58619
58620  echo "$as_me:$LINENO: checking for _expf declaration" >&5
58621echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58622  if test x${glibcxx_cv_func__expf_use+set} != xset; then
58623    if test "${glibcxx_cv_func__expf_use+set}" = set; then
58624  echo $ECHO_N "(cached) $ECHO_C" >&6
58625else
58626
58627
58628
58629      ac_ext=cc
58630ac_cpp='$CXXCPP $CPPFLAGS'
58631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58634
58635      cat >conftest.$ac_ext <<_ACEOF
58636/* confdefs.h.  */
58637_ACEOF
58638cat confdefs.h >>conftest.$ac_ext
58639cat >>conftest.$ac_ext <<_ACEOF
58640/* end confdefs.h.  */
58641#include <math.h>
58642		      #ifdef HAVE_IEEEFP_H
58643		      #include <ieeefp.h>
58644		      #endif
58645
58646int
58647main ()
58648{
58649 _expf(0);
58650  ;
58651  return 0;
58652}
58653_ACEOF
58654rm -f conftest.$ac_objext
58655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58656  (eval $ac_compile) 2>conftest.er1
58657  ac_status=$?
58658  grep -v '^ *+' conftest.er1 >conftest.err
58659  rm -f conftest.er1
58660  cat conftest.err >&5
58661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662  (exit $ac_status); } &&
58663	 { ac_try='test -z "$ac_cxx_werror_flag"
58664			 || test ! -s conftest.err'
58665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58666  (eval $ac_try) 2>&5
58667  ac_status=$?
58668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669  (exit $ac_status); }; } &&
58670	 { ac_try='test -s conftest.$ac_objext'
58671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58672  (eval $ac_try) 2>&5
58673  ac_status=$?
58674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58675  (exit $ac_status); }; }; then
58676  glibcxx_cv_func__expf_use=yes
58677else
58678  echo "$as_me: failed program was:" >&5
58679sed 's/^/| /' conftest.$ac_ext >&5
58680
58681glibcxx_cv_func__expf_use=no
58682fi
58683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58684      ac_ext=c
58685ac_cpp='$CPP $CPPFLAGS'
58686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58688ac_compiler_gnu=$ac_cv_c_compiler_gnu
58689
58690
58691fi
58692
58693  fi
58694  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58695echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58696
58697    if test x$glibcxx_cv_func__expf_use = x"yes"; then
58698
58699for ac_func in _expf
58700do
58701as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58702echo "$as_me:$LINENO: checking for $ac_func" >&5
58703echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58704if eval "test \"\${$as_ac_var+set}\" = set"; then
58705  echo $ECHO_N "(cached) $ECHO_C" >&6
58706else
58707  if test x$gcc_no_link = xyes; then
58708  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58709echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58710   { (exit 1); exit 1; }; }
58711fi
58712cat >conftest.$ac_ext <<_ACEOF
58713/* confdefs.h.  */
58714_ACEOF
58715cat confdefs.h >>conftest.$ac_ext
58716cat >>conftest.$ac_ext <<_ACEOF
58717/* end confdefs.h.  */
58718/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58719   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58720#define $ac_func innocuous_$ac_func
58721
58722/* System header to define __stub macros and hopefully few prototypes,
58723    which can conflict with char $ac_func (); below.
58724    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58725    <limits.h> exists even on freestanding compilers.  */
58726
58727#ifdef __STDC__
58728# include <limits.h>
58729#else
58730# include <assert.h>
58731#endif
58732
58733#undef $ac_func
58734
58735/* Override any gcc2 internal prototype to avoid an error.  */
58736#ifdef __cplusplus
58737extern "C"
58738{
58739#endif
58740/* We use char because int might match the return type of a gcc2
58741   builtin and then its argument prototype would still apply.  */
58742char $ac_func ();
58743/* The GNU C library defines this for functions which it implements
58744    to always fail with ENOSYS.  Some functions are actually named
58745    something starting with __ and the normal name is an alias.  */
58746#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58747choke me
58748#else
58749char (*f) () = $ac_func;
58750#endif
58751#ifdef __cplusplus
58752}
58753#endif
58754
58755int
58756main ()
58757{
58758return f != $ac_func;
58759  ;
58760  return 0;
58761}
58762_ACEOF
58763rm -f conftest.$ac_objext conftest$ac_exeext
58764if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58765  (eval $ac_link) 2>conftest.er1
58766  ac_status=$?
58767  grep -v '^ *+' conftest.er1 >conftest.err
58768  rm -f conftest.er1
58769  cat conftest.err >&5
58770  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58771  (exit $ac_status); } &&
58772	 { ac_try='test -z "$ac_c_werror_flag"
58773			 || test ! -s conftest.err'
58774  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58775  (eval $ac_try) 2>&5
58776  ac_status=$?
58777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58778  (exit $ac_status); }; } &&
58779	 { ac_try='test -s conftest$ac_exeext'
58780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58781  (eval $ac_try) 2>&5
58782  ac_status=$?
58783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58784  (exit $ac_status); }; }; then
58785  eval "$as_ac_var=yes"
58786else
58787  echo "$as_me: failed program was:" >&5
58788sed 's/^/| /' conftest.$ac_ext >&5
58789
58790eval "$as_ac_var=no"
58791fi
58792rm -f conftest.err conftest.$ac_objext \
58793      conftest$ac_exeext conftest.$ac_ext
58794fi
58795echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58796echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58797if test `eval echo '${'$as_ac_var'}'` = yes; then
58798  cat >>confdefs.h <<_ACEOF
58799#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58800_ACEOF
58801
58802fi
58803done
58804
58805    fi
58806  fi
58807
58808
58809
58810
58811
58812
58813  echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58814echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58815  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58816    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58817  echo $ECHO_N "(cached) $ECHO_C" >&6
58818else
58819
58820
58821
58822      ac_ext=cc
58823ac_cpp='$CXXCPP $CPPFLAGS'
58824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58827
58828      cat >conftest.$ac_ext <<_ACEOF
58829/* confdefs.h.  */
58830_ACEOF
58831cat confdefs.h >>conftest.$ac_ext
58832cat >>conftest.$ac_ext <<_ACEOF
58833/* end confdefs.h.  */
58834#include <math.h>
58835		      #ifdef HAVE_IEEEFP_H
58836		      #include <ieeefp.h>
58837		      #endif
58838
58839int
58840main ()
58841{
58842 isnanf(0);
58843  ;
58844  return 0;
58845}
58846_ACEOF
58847rm -f conftest.$ac_objext
58848if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58849  (eval $ac_compile) 2>conftest.er1
58850  ac_status=$?
58851  grep -v '^ *+' conftest.er1 >conftest.err
58852  rm -f conftest.er1
58853  cat conftest.err >&5
58854  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58855  (exit $ac_status); } &&
58856	 { ac_try='test -z "$ac_cxx_werror_flag"
58857			 || test ! -s conftest.err'
58858  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58859  (eval $ac_try) 2>&5
58860  ac_status=$?
58861  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58862  (exit $ac_status); }; } &&
58863	 { ac_try='test -s conftest.$ac_objext'
58864  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58865  (eval $ac_try) 2>&5
58866  ac_status=$?
58867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58868  (exit $ac_status); }; }; then
58869  glibcxx_cv_func_isnanf_use=yes
58870else
58871  echo "$as_me: failed program was:" >&5
58872sed 's/^/| /' conftest.$ac_ext >&5
58873
58874glibcxx_cv_func_isnanf_use=no
58875fi
58876rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58877      ac_ext=c
58878ac_cpp='$CPP $CPPFLAGS'
58879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881ac_compiler_gnu=$ac_cv_c_compiler_gnu
58882
58883
58884fi
58885
58886  fi
58887  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58888echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58889
58890  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58891
58892for ac_func in isnanf
58893do
58894as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58895echo "$as_me:$LINENO: checking for $ac_func" >&5
58896echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58897if eval "test \"\${$as_ac_var+set}\" = set"; then
58898  echo $ECHO_N "(cached) $ECHO_C" >&6
58899else
58900  if test x$gcc_no_link = xyes; then
58901  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58902echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58903   { (exit 1); exit 1; }; }
58904fi
58905cat >conftest.$ac_ext <<_ACEOF
58906/* confdefs.h.  */
58907_ACEOF
58908cat confdefs.h >>conftest.$ac_ext
58909cat >>conftest.$ac_ext <<_ACEOF
58910/* end confdefs.h.  */
58911/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58912   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58913#define $ac_func innocuous_$ac_func
58914
58915/* System header to define __stub macros and hopefully few prototypes,
58916    which can conflict with char $ac_func (); below.
58917    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58918    <limits.h> exists even on freestanding compilers.  */
58919
58920#ifdef __STDC__
58921# include <limits.h>
58922#else
58923# include <assert.h>
58924#endif
58925
58926#undef $ac_func
58927
58928/* Override any gcc2 internal prototype to avoid an error.  */
58929#ifdef __cplusplus
58930extern "C"
58931{
58932#endif
58933/* We use char because int might match the return type of a gcc2
58934   builtin and then its argument prototype would still apply.  */
58935char $ac_func ();
58936/* The GNU C library defines this for functions which it implements
58937    to always fail with ENOSYS.  Some functions are actually named
58938    something starting with __ and the normal name is an alias.  */
58939#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58940choke me
58941#else
58942char (*f) () = $ac_func;
58943#endif
58944#ifdef __cplusplus
58945}
58946#endif
58947
58948int
58949main ()
58950{
58951return f != $ac_func;
58952  ;
58953  return 0;
58954}
58955_ACEOF
58956rm -f conftest.$ac_objext conftest$ac_exeext
58957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58958  (eval $ac_link) 2>conftest.er1
58959  ac_status=$?
58960  grep -v '^ *+' conftest.er1 >conftest.err
58961  rm -f conftest.er1
58962  cat conftest.err >&5
58963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58964  (exit $ac_status); } &&
58965	 { ac_try='test -z "$ac_c_werror_flag"
58966			 || test ! -s conftest.err'
58967  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58968  (eval $ac_try) 2>&5
58969  ac_status=$?
58970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58971  (exit $ac_status); }; } &&
58972	 { ac_try='test -s conftest$ac_exeext'
58973  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58974  (eval $ac_try) 2>&5
58975  ac_status=$?
58976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58977  (exit $ac_status); }; }; then
58978  eval "$as_ac_var=yes"
58979else
58980  echo "$as_me: failed program was:" >&5
58981sed 's/^/| /' conftest.$ac_ext >&5
58982
58983eval "$as_ac_var=no"
58984fi
58985rm -f conftest.err conftest.$ac_objext \
58986      conftest$ac_exeext conftest.$ac_ext
58987fi
58988echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58989echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58990if test `eval echo '${'$as_ac_var'}'` = yes; then
58991  cat >>confdefs.h <<_ACEOF
58992#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58993_ACEOF
58994
58995fi
58996done
58997
58998  else
58999
59000  echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
59001echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
59002  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59003    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
59004  echo $ECHO_N "(cached) $ECHO_C" >&6
59005else
59006
59007
59008
59009      ac_ext=cc
59010ac_cpp='$CXXCPP $CPPFLAGS'
59011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59014
59015      cat >conftest.$ac_ext <<_ACEOF
59016/* confdefs.h.  */
59017_ACEOF
59018cat confdefs.h >>conftest.$ac_ext
59019cat >>conftest.$ac_ext <<_ACEOF
59020/* end confdefs.h.  */
59021#include <math.h>
59022		      #ifdef HAVE_IEEEFP_H
59023		      #include <ieeefp.h>
59024		      #endif
59025
59026int
59027main ()
59028{
59029 _isnanf(0);
59030  ;
59031  return 0;
59032}
59033_ACEOF
59034rm -f conftest.$ac_objext
59035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59036  (eval $ac_compile) 2>conftest.er1
59037  ac_status=$?
59038  grep -v '^ *+' conftest.er1 >conftest.err
59039  rm -f conftest.er1
59040  cat conftest.err >&5
59041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59042  (exit $ac_status); } &&
59043	 { ac_try='test -z "$ac_cxx_werror_flag"
59044			 || test ! -s conftest.err'
59045  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59046  (eval $ac_try) 2>&5
59047  ac_status=$?
59048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59049  (exit $ac_status); }; } &&
59050	 { ac_try='test -s conftest.$ac_objext'
59051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59052  (eval $ac_try) 2>&5
59053  ac_status=$?
59054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59055  (exit $ac_status); }; }; then
59056  glibcxx_cv_func__isnanf_use=yes
59057else
59058  echo "$as_me: failed program was:" >&5
59059sed 's/^/| /' conftest.$ac_ext >&5
59060
59061glibcxx_cv_func__isnanf_use=no
59062fi
59063rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59064      ac_ext=c
59065ac_cpp='$CPP $CPPFLAGS'
59066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59068ac_compiler_gnu=$ac_cv_c_compiler_gnu
59069
59070
59071fi
59072
59073  fi
59074  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
59075echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
59076
59077    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59078
59079for ac_func in _isnanf
59080do
59081as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59082echo "$as_me:$LINENO: checking for $ac_func" >&5
59083echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59084if eval "test \"\${$as_ac_var+set}\" = set"; then
59085  echo $ECHO_N "(cached) $ECHO_C" >&6
59086else
59087  if test x$gcc_no_link = xyes; then
59088  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59089echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59090   { (exit 1); exit 1; }; }
59091fi
59092cat >conftest.$ac_ext <<_ACEOF
59093/* confdefs.h.  */
59094_ACEOF
59095cat confdefs.h >>conftest.$ac_ext
59096cat >>conftest.$ac_ext <<_ACEOF
59097/* end confdefs.h.  */
59098/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59099   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59100#define $ac_func innocuous_$ac_func
59101
59102/* System header to define __stub macros and hopefully few prototypes,
59103    which can conflict with char $ac_func (); below.
59104    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59105    <limits.h> exists even on freestanding compilers.  */
59106
59107#ifdef __STDC__
59108# include <limits.h>
59109#else
59110# include <assert.h>
59111#endif
59112
59113#undef $ac_func
59114
59115/* Override any gcc2 internal prototype to avoid an error.  */
59116#ifdef __cplusplus
59117extern "C"
59118{
59119#endif
59120/* We use char because int might match the return type of a gcc2
59121   builtin and then its argument prototype would still apply.  */
59122char $ac_func ();
59123/* The GNU C library defines this for functions which it implements
59124    to always fail with ENOSYS.  Some functions are actually named
59125    something starting with __ and the normal name is an alias.  */
59126#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59127choke me
59128#else
59129char (*f) () = $ac_func;
59130#endif
59131#ifdef __cplusplus
59132}
59133#endif
59134
59135int
59136main ()
59137{
59138return f != $ac_func;
59139  ;
59140  return 0;
59141}
59142_ACEOF
59143rm -f conftest.$ac_objext conftest$ac_exeext
59144if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59145  (eval $ac_link) 2>conftest.er1
59146  ac_status=$?
59147  grep -v '^ *+' conftest.er1 >conftest.err
59148  rm -f conftest.er1
59149  cat conftest.err >&5
59150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59151  (exit $ac_status); } &&
59152	 { ac_try='test -z "$ac_c_werror_flag"
59153			 || test ! -s conftest.err'
59154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59155  (eval $ac_try) 2>&5
59156  ac_status=$?
59157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59158  (exit $ac_status); }; } &&
59159	 { ac_try='test -s conftest$ac_exeext'
59160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59161  (eval $ac_try) 2>&5
59162  ac_status=$?
59163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59164  (exit $ac_status); }; }; then
59165  eval "$as_ac_var=yes"
59166else
59167  echo "$as_me: failed program was:" >&5
59168sed 's/^/| /' conftest.$ac_ext >&5
59169
59170eval "$as_ac_var=no"
59171fi
59172rm -f conftest.err conftest.$ac_objext \
59173      conftest$ac_exeext conftest.$ac_ext
59174fi
59175echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59176echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59177if test `eval echo '${'$as_ac_var'}'` = yes; then
59178  cat >>confdefs.h <<_ACEOF
59179#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59180_ACEOF
59181
59182fi
59183done
59184
59185    fi
59186  fi
59187
59188
59189
59190
59191
59192
59193  echo "$as_me:$LINENO: checking for isinff declaration" >&5
59194echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59195  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59196    if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59197  echo $ECHO_N "(cached) $ECHO_C" >&6
59198else
59199
59200
59201
59202      ac_ext=cc
59203ac_cpp='$CXXCPP $CPPFLAGS'
59204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59207
59208      cat >conftest.$ac_ext <<_ACEOF
59209/* confdefs.h.  */
59210_ACEOF
59211cat confdefs.h >>conftest.$ac_ext
59212cat >>conftest.$ac_ext <<_ACEOF
59213/* end confdefs.h.  */
59214#include <math.h>
59215		      #ifdef HAVE_IEEEFP_H
59216		      #include <ieeefp.h>
59217		      #endif
59218
59219int
59220main ()
59221{
59222 isinff(0);
59223  ;
59224  return 0;
59225}
59226_ACEOF
59227rm -f conftest.$ac_objext
59228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59229  (eval $ac_compile) 2>conftest.er1
59230  ac_status=$?
59231  grep -v '^ *+' conftest.er1 >conftest.err
59232  rm -f conftest.er1
59233  cat conftest.err >&5
59234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59235  (exit $ac_status); } &&
59236	 { ac_try='test -z "$ac_cxx_werror_flag"
59237			 || test ! -s conftest.err'
59238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59239  (eval $ac_try) 2>&5
59240  ac_status=$?
59241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59242  (exit $ac_status); }; } &&
59243	 { ac_try='test -s conftest.$ac_objext'
59244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59245  (eval $ac_try) 2>&5
59246  ac_status=$?
59247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59248  (exit $ac_status); }; }; then
59249  glibcxx_cv_func_isinff_use=yes
59250else
59251  echo "$as_me: failed program was:" >&5
59252sed 's/^/| /' conftest.$ac_ext >&5
59253
59254glibcxx_cv_func_isinff_use=no
59255fi
59256rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59257      ac_ext=c
59258ac_cpp='$CPP $CPPFLAGS'
59259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261ac_compiler_gnu=$ac_cv_c_compiler_gnu
59262
59263
59264fi
59265
59266  fi
59267  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59268echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59269
59270  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59271
59272for ac_func in isinff
59273do
59274as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59275echo "$as_me:$LINENO: checking for $ac_func" >&5
59276echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59277if eval "test \"\${$as_ac_var+set}\" = set"; then
59278  echo $ECHO_N "(cached) $ECHO_C" >&6
59279else
59280  if test x$gcc_no_link = xyes; then
59281  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59282echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59283   { (exit 1); exit 1; }; }
59284fi
59285cat >conftest.$ac_ext <<_ACEOF
59286/* confdefs.h.  */
59287_ACEOF
59288cat confdefs.h >>conftest.$ac_ext
59289cat >>conftest.$ac_ext <<_ACEOF
59290/* end confdefs.h.  */
59291/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59292   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59293#define $ac_func innocuous_$ac_func
59294
59295/* System header to define __stub macros and hopefully few prototypes,
59296    which can conflict with char $ac_func (); below.
59297    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59298    <limits.h> exists even on freestanding compilers.  */
59299
59300#ifdef __STDC__
59301# include <limits.h>
59302#else
59303# include <assert.h>
59304#endif
59305
59306#undef $ac_func
59307
59308/* Override any gcc2 internal prototype to avoid an error.  */
59309#ifdef __cplusplus
59310extern "C"
59311{
59312#endif
59313/* We use char because int might match the return type of a gcc2
59314   builtin and then its argument prototype would still apply.  */
59315char $ac_func ();
59316/* The GNU C library defines this for functions which it implements
59317    to always fail with ENOSYS.  Some functions are actually named
59318    something starting with __ and the normal name is an alias.  */
59319#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59320choke me
59321#else
59322char (*f) () = $ac_func;
59323#endif
59324#ifdef __cplusplus
59325}
59326#endif
59327
59328int
59329main ()
59330{
59331return f != $ac_func;
59332  ;
59333  return 0;
59334}
59335_ACEOF
59336rm -f conftest.$ac_objext conftest$ac_exeext
59337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59338  (eval $ac_link) 2>conftest.er1
59339  ac_status=$?
59340  grep -v '^ *+' conftest.er1 >conftest.err
59341  rm -f conftest.er1
59342  cat conftest.err >&5
59343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59344  (exit $ac_status); } &&
59345	 { ac_try='test -z "$ac_c_werror_flag"
59346			 || test ! -s conftest.err'
59347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59348  (eval $ac_try) 2>&5
59349  ac_status=$?
59350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59351  (exit $ac_status); }; } &&
59352	 { ac_try='test -s conftest$ac_exeext'
59353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59354  (eval $ac_try) 2>&5
59355  ac_status=$?
59356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59357  (exit $ac_status); }; }; then
59358  eval "$as_ac_var=yes"
59359else
59360  echo "$as_me: failed program was:" >&5
59361sed 's/^/| /' conftest.$ac_ext >&5
59362
59363eval "$as_ac_var=no"
59364fi
59365rm -f conftest.err conftest.$ac_objext \
59366      conftest$ac_exeext conftest.$ac_ext
59367fi
59368echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59369echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59370if test `eval echo '${'$as_ac_var'}'` = yes; then
59371  cat >>confdefs.h <<_ACEOF
59372#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59373_ACEOF
59374
59375fi
59376done
59377
59378  else
59379
59380  echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59381echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59382  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59383    if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59384  echo $ECHO_N "(cached) $ECHO_C" >&6
59385else
59386
59387
59388
59389      ac_ext=cc
59390ac_cpp='$CXXCPP $CPPFLAGS'
59391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59394
59395      cat >conftest.$ac_ext <<_ACEOF
59396/* confdefs.h.  */
59397_ACEOF
59398cat confdefs.h >>conftest.$ac_ext
59399cat >>conftest.$ac_ext <<_ACEOF
59400/* end confdefs.h.  */
59401#include <math.h>
59402		      #ifdef HAVE_IEEEFP_H
59403		      #include <ieeefp.h>
59404		      #endif
59405
59406int
59407main ()
59408{
59409 _isinff(0);
59410  ;
59411  return 0;
59412}
59413_ACEOF
59414rm -f conftest.$ac_objext
59415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59416  (eval $ac_compile) 2>conftest.er1
59417  ac_status=$?
59418  grep -v '^ *+' conftest.er1 >conftest.err
59419  rm -f conftest.er1
59420  cat conftest.err >&5
59421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59422  (exit $ac_status); } &&
59423	 { ac_try='test -z "$ac_cxx_werror_flag"
59424			 || test ! -s conftest.err'
59425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59426  (eval $ac_try) 2>&5
59427  ac_status=$?
59428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429  (exit $ac_status); }; } &&
59430	 { ac_try='test -s conftest.$ac_objext'
59431  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59432  (eval $ac_try) 2>&5
59433  ac_status=$?
59434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59435  (exit $ac_status); }; }; then
59436  glibcxx_cv_func__isinff_use=yes
59437else
59438  echo "$as_me: failed program was:" >&5
59439sed 's/^/| /' conftest.$ac_ext >&5
59440
59441glibcxx_cv_func__isinff_use=no
59442fi
59443rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59444      ac_ext=c
59445ac_cpp='$CPP $CPPFLAGS'
59446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448ac_compiler_gnu=$ac_cv_c_compiler_gnu
59449
59450
59451fi
59452
59453  fi
59454  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59455echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59456
59457    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59458
59459for ac_func in _isinff
59460do
59461as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59462echo "$as_me:$LINENO: checking for $ac_func" >&5
59463echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59464if eval "test \"\${$as_ac_var+set}\" = set"; then
59465  echo $ECHO_N "(cached) $ECHO_C" >&6
59466else
59467  if test x$gcc_no_link = xyes; then
59468  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59469echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59470   { (exit 1); exit 1; }; }
59471fi
59472cat >conftest.$ac_ext <<_ACEOF
59473/* confdefs.h.  */
59474_ACEOF
59475cat confdefs.h >>conftest.$ac_ext
59476cat >>conftest.$ac_ext <<_ACEOF
59477/* end confdefs.h.  */
59478/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59479   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59480#define $ac_func innocuous_$ac_func
59481
59482/* System header to define __stub macros and hopefully few prototypes,
59483    which can conflict with char $ac_func (); below.
59484    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59485    <limits.h> exists even on freestanding compilers.  */
59486
59487#ifdef __STDC__
59488# include <limits.h>
59489#else
59490# include <assert.h>
59491#endif
59492
59493#undef $ac_func
59494
59495/* Override any gcc2 internal prototype to avoid an error.  */
59496#ifdef __cplusplus
59497extern "C"
59498{
59499#endif
59500/* We use char because int might match the return type of a gcc2
59501   builtin and then its argument prototype would still apply.  */
59502char $ac_func ();
59503/* The GNU C library defines this for functions which it implements
59504    to always fail with ENOSYS.  Some functions are actually named
59505    something starting with __ and the normal name is an alias.  */
59506#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59507choke me
59508#else
59509char (*f) () = $ac_func;
59510#endif
59511#ifdef __cplusplus
59512}
59513#endif
59514
59515int
59516main ()
59517{
59518return f != $ac_func;
59519  ;
59520  return 0;
59521}
59522_ACEOF
59523rm -f conftest.$ac_objext conftest$ac_exeext
59524if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59525  (eval $ac_link) 2>conftest.er1
59526  ac_status=$?
59527  grep -v '^ *+' conftest.er1 >conftest.err
59528  rm -f conftest.er1
59529  cat conftest.err >&5
59530  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59531  (exit $ac_status); } &&
59532	 { ac_try='test -z "$ac_c_werror_flag"
59533			 || test ! -s conftest.err'
59534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59535  (eval $ac_try) 2>&5
59536  ac_status=$?
59537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59538  (exit $ac_status); }; } &&
59539	 { ac_try='test -s conftest$ac_exeext'
59540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59541  (eval $ac_try) 2>&5
59542  ac_status=$?
59543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59544  (exit $ac_status); }; }; then
59545  eval "$as_ac_var=yes"
59546else
59547  echo "$as_me: failed program was:" >&5
59548sed 's/^/| /' conftest.$ac_ext >&5
59549
59550eval "$as_ac_var=no"
59551fi
59552rm -f conftest.err conftest.$ac_objext \
59553      conftest$ac_exeext conftest.$ac_ext
59554fi
59555echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59556echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59557if test `eval echo '${'$as_ac_var'}'` = yes; then
59558  cat >>confdefs.h <<_ACEOF
59559#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59560_ACEOF
59561
59562fi
59563done
59564
59565    fi
59566  fi
59567
59568
59569
59570
59571
59572
59573  echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59574echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59575  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59576    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59577  echo $ECHO_N "(cached) $ECHO_C" >&6
59578else
59579
59580
59581
59582      ac_ext=cc
59583ac_cpp='$CXXCPP $CPPFLAGS'
59584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59587
59588      cat >conftest.$ac_ext <<_ACEOF
59589/* confdefs.h.  */
59590_ACEOF
59591cat confdefs.h >>conftest.$ac_ext
59592cat >>conftest.$ac_ext <<_ACEOF
59593/* end confdefs.h.  */
59594#include <math.h>
59595int
59596main ()
59597{
59598 atan2f(0, 0);
59599  ;
59600  return 0;
59601}
59602_ACEOF
59603rm -f conftest.$ac_objext
59604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59605  (eval $ac_compile) 2>conftest.er1
59606  ac_status=$?
59607  grep -v '^ *+' conftest.er1 >conftest.err
59608  rm -f conftest.er1
59609  cat conftest.err >&5
59610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59611  (exit $ac_status); } &&
59612	 { ac_try='test -z "$ac_cxx_werror_flag"
59613			 || test ! -s conftest.err'
59614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59615  (eval $ac_try) 2>&5
59616  ac_status=$?
59617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59618  (exit $ac_status); }; } &&
59619	 { ac_try='test -s conftest.$ac_objext'
59620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59621  (eval $ac_try) 2>&5
59622  ac_status=$?
59623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59624  (exit $ac_status); }; }; then
59625  glibcxx_cv_func_atan2f_use=yes
59626else
59627  echo "$as_me: failed program was:" >&5
59628sed 's/^/| /' conftest.$ac_ext >&5
59629
59630glibcxx_cv_func_atan2f_use=no
59631fi
59632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59633      ac_ext=c
59634ac_cpp='$CPP $CPPFLAGS'
59635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637ac_compiler_gnu=$ac_cv_c_compiler_gnu
59638
59639
59640fi
59641
59642  fi
59643  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59644echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59645
59646  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59647
59648for ac_func in atan2f
59649do
59650as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59651echo "$as_me:$LINENO: checking for $ac_func" >&5
59652echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59653if eval "test \"\${$as_ac_var+set}\" = set"; then
59654  echo $ECHO_N "(cached) $ECHO_C" >&6
59655else
59656  if test x$gcc_no_link = xyes; then
59657  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59658echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59659   { (exit 1); exit 1; }; }
59660fi
59661cat >conftest.$ac_ext <<_ACEOF
59662/* confdefs.h.  */
59663_ACEOF
59664cat confdefs.h >>conftest.$ac_ext
59665cat >>conftest.$ac_ext <<_ACEOF
59666/* end confdefs.h.  */
59667/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59668   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59669#define $ac_func innocuous_$ac_func
59670
59671/* System header to define __stub macros and hopefully few prototypes,
59672    which can conflict with char $ac_func (); below.
59673    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59674    <limits.h> exists even on freestanding compilers.  */
59675
59676#ifdef __STDC__
59677# include <limits.h>
59678#else
59679# include <assert.h>
59680#endif
59681
59682#undef $ac_func
59683
59684/* Override any gcc2 internal prototype to avoid an error.  */
59685#ifdef __cplusplus
59686extern "C"
59687{
59688#endif
59689/* We use char because int might match the return type of a gcc2
59690   builtin and then its argument prototype would still apply.  */
59691char $ac_func ();
59692/* The GNU C library defines this for functions which it implements
59693    to always fail with ENOSYS.  Some functions are actually named
59694    something starting with __ and the normal name is an alias.  */
59695#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59696choke me
59697#else
59698char (*f) () = $ac_func;
59699#endif
59700#ifdef __cplusplus
59701}
59702#endif
59703
59704int
59705main ()
59706{
59707return f != $ac_func;
59708  ;
59709  return 0;
59710}
59711_ACEOF
59712rm -f conftest.$ac_objext conftest$ac_exeext
59713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59714  (eval $ac_link) 2>conftest.er1
59715  ac_status=$?
59716  grep -v '^ *+' conftest.er1 >conftest.err
59717  rm -f conftest.er1
59718  cat conftest.err >&5
59719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59720  (exit $ac_status); } &&
59721	 { ac_try='test -z "$ac_c_werror_flag"
59722			 || test ! -s conftest.err'
59723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59724  (eval $ac_try) 2>&5
59725  ac_status=$?
59726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59727  (exit $ac_status); }; } &&
59728	 { ac_try='test -s conftest$ac_exeext'
59729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59730  (eval $ac_try) 2>&5
59731  ac_status=$?
59732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59733  (exit $ac_status); }; }; then
59734  eval "$as_ac_var=yes"
59735else
59736  echo "$as_me: failed program was:" >&5
59737sed 's/^/| /' conftest.$ac_ext >&5
59738
59739eval "$as_ac_var=no"
59740fi
59741rm -f conftest.err conftest.$ac_objext \
59742      conftest$ac_exeext conftest.$ac_ext
59743fi
59744echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59745echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59746if test `eval echo '${'$as_ac_var'}'` = yes; then
59747  cat >>confdefs.h <<_ACEOF
59748#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59749_ACEOF
59750
59751fi
59752done
59753
59754  else
59755
59756  echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59757echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59758  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59759    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59760  echo $ECHO_N "(cached) $ECHO_C" >&6
59761else
59762
59763
59764
59765      ac_ext=cc
59766ac_cpp='$CXXCPP $CPPFLAGS'
59767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59770
59771      cat >conftest.$ac_ext <<_ACEOF
59772/* confdefs.h.  */
59773_ACEOF
59774cat confdefs.h >>conftest.$ac_ext
59775cat >>conftest.$ac_ext <<_ACEOF
59776/* end confdefs.h.  */
59777#include <math.h>
59778int
59779main ()
59780{
59781 _atan2f(0, 0);
59782  ;
59783  return 0;
59784}
59785_ACEOF
59786rm -f conftest.$ac_objext
59787if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59788  (eval $ac_compile) 2>conftest.er1
59789  ac_status=$?
59790  grep -v '^ *+' conftest.er1 >conftest.err
59791  rm -f conftest.er1
59792  cat conftest.err >&5
59793  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59794  (exit $ac_status); } &&
59795	 { ac_try='test -z "$ac_cxx_werror_flag"
59796			 || test ! -s conftest.err'
59797  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59798  (eval $ac_try) 2>&5
59799  ac_status=$?
59800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59801  (exit $ac_status); }; } &&
59802	 { ac_try='test -s conftest.$ac_objext'
59803  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59804  (eval $ac_try) 2>&5
59805  ac_status=$?
59806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59807  (exit $ac_status); }; }; then
59808  glibcxx_cv_func__atan2f_use=yes
59809else
59810  echo "$as_me: failed program was:" >&5
59811sed 's/^/| /' conftest.$ac_ext >&5
59812
59813glibcxx_cv_func__atan2f_use=no
59814fi
59815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59816      ac_ext=c
59817ac_cpp='$CPP $CPPFLAGS'
59818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59820ac_compiler_gnu=$ac_cv_c_compiler_gnu
59821
59822
59823fi
59824
59825  fi
59826  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59827echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59828
59829    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59830
59831for ac_func in _atan2f
59832do
59833as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59834echo "$as_me:$LINENO: checking for $ac_func" >&5
59835echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59836if eval "test \"\${$as_ac_var+set}\" = set"; then
59837  echo $ECHO_N "(cached) $ECHO_C" >&6
59838else
59839  if test x$gcc_no_link = xyes; then
59840  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59841echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59842   { (exit 1); exit 1; }; }
59843fi
59844cat >conftest.$ac_ext <<_ACEOF
59845/* confdefs.h.  */
59846_ACEOF
59847cat confdefs.h >>conftest.$ac_ext
59848cat >>conftest.$ac_ext <<_ACEOF
59849/* end confdefs.h.  */
59850/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59851   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59852#define $ac_func innocuous_$ac_func
59853
59854/* System header to define __stub macros and hopefully few prototypes,
59855    which can conflict with char $ac_func (); below.
59856    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59857    <limits.h> exists even on freestanding compilers.  */
59858
59859#ifdef __STDC__
59860# include <limits.h>
59861#else
59862# include <assert.h>
59863#endif
59864
59865#undef $ac_func
59866
59867/* Override any gcc2 internal prototype to avoid an error.  */
59868#ifdef __cplusplus
59869extern "C"
59870{
59871#endif
59872/* We use char because int might match the return type of a gcc2
59873   builtin and then its argument prototype would still apply.  */
59874char $ac_func ();
59875/* The GNU C library defines this for functions which it implements
59876    to always fail with ENOSYS.  Some functions are actually named
59877    something starting with __ and the normal name is an alias.  */
59878#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59879choke me
59880#else
59881char (*f) () = $ac_func;
59882#endif
59883#ifdef __cplusplus
59884}
59885#endif
59886
59887int
59888main ()
59889{
59890return f != $ac_func;
59891  ;
59892  return 0;
59893}
59894_ACEOF
59895rm -f conftest.$ac_objext conftest$ac_exeext
59896if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59897  (eval $ac_link) 2>conftest.er1
59898  ac_status=$?
59899  grep -v '^ *+' conftest.er1 >conftest.err
59900  rm -f conftest.er1
59901  cat conftest.err >&5
59902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59903  (exit $ac_status); } &&
59904	 { ac_try='test -z "$ac_c_werror_flag"
59905			 || test ! -s conftest.err'
59906  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59907  (eval $ac_try) 2>&5
59908  ac_status=$?
59909  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59910  (exit $ac_status); }; } &&
59911	 { ac_try='test -s conftest$ac_exeext'
59912  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59913  (eval $ac_try) 2>&5
59914  ac_status=$?
59915  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59916  (exit $ac_status); }; }; then
59917  eval "$as_ac_var=yes"
59918else
59919  echo "$as_me: failed program was:" >&5
59920sed 's/^/| /' conftest.$ac_ext >&5
59921
59922eval "$as_ac_var=no"
59923fi
59924rm -f conftest.err conftest.$ac_objext \
59925      conftest$ac_exeext conftest.$ac_ext
59926fi
59927echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59928echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59929if test `eval echo '${'$as_ac_var'}'` = yes; then
59930  cat >>confdefs.h <<_ACEOF
59931#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59932_ACEOF
59933
59934fi
59935done
59936
59937    fi
59938  fi
59939
59940
59941
59942
59943
59944
59945  echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59946echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59947  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59948    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59949  echo $ECHO_N "(cached) $ECHO_C" >&6
59950else
59951
59952
59953
59954      ac_ext=cc
59955ac_cpp='$CXXCPP $CPPFLAGS'
59956ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59959
59960      cat >conftest.$ac_ext <<_ACEOF
59961/* confdefs.h.  */
59962_ACEOF
59963cat confdefs.h >>conftest.$ac_ext
59964cat >>conftest.$ac_ext <<_ACEOF
59965/* end confdefs.h.  */
59966#include <math.h>
59967		      #ifdef HAVE_IEEEFP_H
59968		      #include <ieeefp.h>
59969		      #endif
59970
59971int
59972main ()
59973{
59974 fabsf(0);
59975  ;
59976  return 0;
59977}
59978_ACEOF
59979rm -f conftest.$ac_objext
59980if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59981  (eval $ac_compile) 2>conftest.er1
59982  ac_status=$?
59983  grep -v '^ *+' conftest.er1 >conftest.err
59984  rm -f conftest.er1
59985  cat conftest.err >&5
59986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987  (exit $ac_status); } &&
59988	 { ac_try='test -z "$ac_cxx_werror_flag"
59989			 || test ! -s conftest.err'
59990  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59991  (eval $ac_try) 2>&5
59992  ac_status=$?
59993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59994  (exit $ac_status); }; } &&
59995	 { ac_try='test -s conftest.$ac_objext'
59996  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59997  (eval $ac_try) 2>&5
59998  ac_status=$?
59999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60000  (exit $ac_status); }; }; then
60001  glibcxx_cv_func_fabsf_use=yes
60002else
60003  echo "$as_me: failed program was:" >&5
60004sed 's/^/| /' conftest.$ac_ext >&5
60005
60006glibcxx_cv_func_fabsf_use=no
60007fi
60008rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60009      ac_ext=c
60010ac_cpp='$CPP $CPPFLAGS'
60011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60013ac_compiler_gnu=$ac_cv_c_compiler_gnu
60014
60015
60016fi
60017
60018  fi
60019  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
60020echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
60021
60022  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60023
60024for ac_func in fabsf
60025do
60026as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60027echo "$as_me:$LINENO: checking for $ac_func" >&5
60028echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60029if eval "test \"\${$as_ac_var+set}\" = set"; then
60030  echo $ECHO_N "(cached) $ECHO_C" >&6
60031else
60032  if test x$gcc_no_link = xyes; then
60033  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60034echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60035   { (exit 1); exit 1; }; }
60036fi
60037cat >conftest.$ac_ext <<_ACEOF
60038/* confdefs.h.  */
60039_ACEOF
60040cat confdefs.h >>conftest.$ac_ext
60041cat >>conftest.$ac_ext <<_ACEOF
60042/* end confdefs.h.  */
60043/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60044   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60045#define $ac_func innocuous_$ac_func
60046
60047/* System header to define __stub macros and hopefully few prototypes,
60048    which can conflict with char $ac_func (); below.
60049    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60050    <limits.h> exists even on freestanding compilers.  */
60051
60052#ifdef __STDC__
60053# include <limits.h>
60054#else
60055# include <assert.h>
60056#endif
60057
60058#undef $ac_func
60059
60060/* Override any gcc2 internal prototype to avoid an error.  */
60061#ifdef __cplusplus
60062extern "C"
60063{
60064#endif
60065/* We use char because int might match the return type of a gcc2
60066   builtin and then its argument prototype would still apply.  */
60067char $ac_func ();
60068/* The GNU C library defines this for functions which it implements
60069    to always fail with ENOSYS.  Some functions are actually named
60070    something starting with __ and the normal name is an alias.  */
60071#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60072choke me
60073#else
60074char (*f) () = $ac_func;
60075#endif
60076#ifdef __cplusplus
60077}
60078#endif
60079
60080int
60081main ()
60082{
60083return f != $ac_func;
60084  ;
60085  return 0;
60086}
60087_ACEOF
60088rm -f conftest.$ac_objext conftest$ac_exeext
60089if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60090  (eval $ac_link) 2>conftest.er1
60091  ac_status=$?
60092  grep -v '^ *+' conftest.er1 >conftest.err
60093  rm -f conftest.er1
60094  cat conftest.err >&5
60095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60096  (exit $ac_status); } &&
60097	 { ac_try='test -z "$ac_c_werror_flag"
60098			 || test ! -s conftest.err'
60099  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60100  (eval $ac_try) 2>&5
60101  ac_status=$?
60102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60103  (exit $ac_status); }; } &&
60104	 { ac_try='test -s conftest$ac_exeext'
60105  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60106  (eval $ac_try) 2>&5
60107  ac_status=$?
60108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60109  (exit $ac_status); }; }; then
60110  eval "$as_ac_var=yes"
60111else
60112  echo "$as_me: failed program was:" >&5
60113sed 's/^/| /' conftest.$ac_ext >&5
60114
60115eval "$as_ac_var=no"
60116fi
60117rm -f conftest.err conftest.$ac_objext \
60118      conftest$ac_exeext conftest.$ac_ext
60119fi
60120echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60121echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60122if test `eval echo '${'$as_ac_var'}'` = yes; then
60123  cat >>confdefs.h <<_ACEOF
60124#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60125_ACEOF
60126
60127fi
60128done
60129
60130  else
60131
60132  echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
60133echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
60134  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60135    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
60136  echo $ECHO_N "(cached) $ECHO_C" >&6
60137else
60138
60139
60140
60141      ac_ext=cc
60142ac_cpp='$CXXCPP $CPPFLAGS'
60143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60146
60147      cat >conftest.$ac_ext <<_ACEOF
60148/* confdefs.h.  */
60149_ACEOF
60150cat confdefs.h >>conftest.$ac_ext
60151cat >>conftest.$ac_ext <<_ACEOF
60152/* end confdefs.h.  */
60153#include <math.h>
60154		      #ifdef HAVE_IEEEFP_H
60155		      #include <ieeefp.h>
60156		      #endif
60157
60158int
60159main ()
60160{
60161 _fabsf(0);
60162  ;
60163  return 0;
60164}
60165_ACEOF
60166rm -f conftest.$ac_objext
60167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60168  (eval $ac_compile) 2>conftest.er1
60169  ac_status=$?
60170  grep -v '^ *+' conftest.er1 >conftest.err
60171  rm -f conftest.er1
60172  cat conftest.err >&5
60173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60174  (exit $ac_status); } &&
60175	 { ac_try='test -z "$ac_cxx_werror_flag"
60176			 || test ! -s conftest.err'
60177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60178  (eval $ac_try) 2>&5
60179  ac_status=$?
60180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181  (exit $ac_status); }; } &&
60182	 { ac_try='test -s conftest.$ac_objext'
60183  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60184  (eval $ac_try) 2>&5
60185  ac_status=$?
60186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60187  (exit $ac_status); }; }; then
60188  glibcxx_cv_func__fabsf_use=yes
60189else
60190  echo "$as_me: failed program was:" >&5
60191sed 's/^/| /' conftest.$ac_ext >&5
60192
60193glibcxx_cv_func__fabsf_use=no
60194fi
60195rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60196      ac_ext=c
60197ac_cpp='$CPP $CPPFLAGS'
60198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201
60202
60203fi
60204
60205  fi
60206  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60207echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60208
60209    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60210
60211for ac_func in _fabsf
60212do
60213as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60214echo "$as_me:$LINENO: checking for $ac_func" >&5
60215echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60216if eval "test \"\${$as_ac_var+set}\" = set"; then
60217  echo $ECHO_N "(cached) $ECHO_C" >&6
60218else
60219  if test x$gcc_no_link = xyes; then
60220  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60221echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60222   { (exit 1); exit 1; }; }
60223fi
60224cat >conftest.$ac_ext <<_ACEOF
60225/* confdefs.h.  */
60226_ACEOF
60227cat confdefs.h >>conftest.$ac_ext
60228cat >>conftest.$ac_ext <<_ACEOF
60229/* end confdefs.h.  */
60230/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60231   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60232#define $ac_func innocuous_$ac_func
60233
60234/* System header to define __stub macros and hopefully few prototypes,
60235    which can conflict with char $ac_func (); below.
60236    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60237    <limits.h> exists even on freestanding compilers.  */
60238
60239#ifdef __STDC__
60240# include <limits.h>
60241#else
60242# include <assert.h>
60243#endif
60244
60245#undef $ac_func
60246
60247/* Override any gcc2 internal prototype to avoid an error.  */
60248#ifdef __cplusplus
60249extern "C"
60250{
60251#endif
60252/* We use char because int might match the return type of a gcc2
60253   builtin and then its argument prototype would still apply.  */
60254char $ac_func ();
60255/* The GNU C library defines this for functions which it implements
60256    to always fail with ENOSYS.  Some functions are actually named
60257    something starting with __ and the normal name is an alias.  */
60258#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60259choke me
60260#else
60261char (*f) () = $ac_func;
60262#endif
60263#ifdef __cplusplus
60264}
60265#endif
60266
60267int
60268main ()
60269{
60270return f != $ac_func;
60271  ;
60272  return 0;
60273}
60274_ACEOF
60275rm -f conftest.$ac_objext conftest$ac_exeext
60276if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60277  (eval $ac_link) 2>conftest.er1
60278  ac_status=$?
60279  grep -v '^ *+' conftest.er1 >conftest.err
60280  rm -f conftest.er1
60281  cat conftest.err >&5
60282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60283  (exit $ac_status); } &&
60284	 { ac_try='test -z "$ac_c_werror_flag"
60285			 || test ! -s conftest.err'
60286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60287  (eval $ac_try) 2>&5
60288  ac_status=$?
60289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60290  (exit $ac_status); }; } &&
60291	 { ac_try='test -s conftest$ac_exeext'
60292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60293  (eval $ac_try) 2>&5
60294  ac_status=$?
60295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60296  (exit $ac_status); }; }; then
60297  eval "$as_ac_var=yes"
60298else
60299  echo "$as_me: failed program was:" >&5
60300sed 's/^/| /' conftest.$ac_ext >&5
60301
60302eval "$as_ac_var=no"
60303fi
60304rm -f conftest.err conftest.$ac_objext \
60305      conftest$ac_exeext conftest.$ac_ext
60306fi
60307echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60308echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60309if test `eval echo '${'$as_ac_var'}'` = yes; then
60310  cat >>confdefs.h <<_ACEOF
60311#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60312_ACEOF
60313
60314fi
60315done
60316
60317    fi
60318  fi
60319
60320
60321
60322
60323
60324
60325  echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60326echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60327  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60328    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60329  echo $ECHO_N "(cached) $ECHO_C" >&6
60330else
60331
60332
60333
60334      ac_ext=cc
60335ac_cpp='$CXXCPP $CPPFLAGS'
60336ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60337ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60339
60340      cat >conftest.$ac_ext <<_ACEOF
60341/* confdefs.h.  */
60342_ACEOF
60343cat confdefs.h >>conftest.$ac_ext
60344cat >>conftest.$ac_ext <<_ACEOF
60345/* end confdefs.h.  */
60346#include <math.h>
60347int
60348main ()
60349{
60350 fmodf(0, 0);
60351  ;
60352  return 0;
60353}
60354_ACEOF
60355rm -f conftest.$ac_objext
60356if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60357  (eval $ac_compile) 2>conftest.er1
60358  ac_status=$?
60359  grep -v '^ *+' conftest.er1 >conftest.err
60360  rm -f conftest.er1
60361  cat conftest.err >&5
60362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60363  (exit $ac_status); } &&
60364	 { ac_try='test -z "$ac_cxx_werror_flag"
60365			 || test ! -s conftest.err'
60366  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60367  (eval $ac_try) 2>&5
60368  ac_status=$?
60369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60370  (exit $ac_status); }; } &&
60371	 { ac_try='test -s conftest.$ac_objext'
60372  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60373  (eval $ac_try) 2>&5
60374  ac_status=$?
60375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60376  (exit $ac_status); }; }; then
60377  glibcxx_cv_func_fmodf_use=yes
60378else
60379  echo "$as_me: failed program was:" >&5
60380sed 's/^/| /' conftest.$ac_ext >&5
60381
60382glibcxx_cv_func_fmodf_use=no
60383fi
60384rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60385      ac_ext=c
60386ac_cpp='$CPP $CPPFLAGS'
60387ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389ac_compiler_gnu=$ac_cv_c_compiler_gnu
60390
60391
60392fi
60393
60394  fi
60395  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60396echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60397
60398  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60399
60400for ac_func in fmodf
60401do
60402as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60403echo "$as_me:$LINENO: checking for $ac_func" >&5
60404echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60405if eval "test \"\${$as_ac_var+set}\" = set"; then
60406  echo $ECHO_N "(cached) $ECHO_C" >&6
60407else
60408  if test x$gcc_no_link = xyes; then
60409  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60410echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60411   { (exit 1); exit 1; }; }
60412fi
60413cat >conftest.$ac_ext <<_ACEOF
60414/* confdefs.h.  */
60415_ACEOF
60416cat confdefs.h >>conftest.$ac_ext
60417cat >>conftest.$ac_ext <<_ACEOF
60418/* end confdefs.h.  */
60419/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60420   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60421#define $ac_func innocuous_$ac_func
60422
60423/* System header to define __stub macros and hopefully few prototypes,
60424    which can conflict with char $ac_func (); below.
60425    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60426    <limits.h> exists even on freestanding compilers.  */
60427
60428#ifdef __STDC__
60429# include <limits.h>
60430#else
60431# include <assert.h>
60432#endif
60433
60434#undef $ac_func
60435
60436/* Override any gcc2 internal prototype to avoid an error.  */
60437#ifdef __cplusplus
60438extern "C"
60439{
60440#endif
60441/* We use char because int might match the return type of a gcc2
60442   builtin and then its argument prototype would still apply.  */
60443char $ac_func ();
60444/* The GNU C library defines this for functions which it implements
60445    to always fail with ENOSYS.  Some functions are actually named
60446    something starting with __ and the normal name is an alias.  */
60447#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60448choke me
60449#else
60450char (*f) () = $ac_func;
60451#endif
60452#ifdef __cplusplus
60453}
60454#endif
60455
60456int
60457main ()
60458{
60459return f != $ac_func;
60460  ;
60461  return 0;
60462}
60463_ACEOF
60464rm -f conftest.$ac_objext conftest$ac_exeext
60465if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60466  (eval $ac_link) 2>conftest.er1
60467  ac_status=$?
60468  grep -v '^ *+' conftest.er1 >conftest.err
60469  rm -f conftest.er1
60470  cat conftest.err >&5
60471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60472  (exit $ac_status); } &&
60473	 { ac_try='test -z "$ac_c_werror_flag"
60474			 || test ! -s conftest.err'
60475  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60476  (eval $ac_try) 2>&5
60477  ac_status=$?
60478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60479  (exit $ac_status); }; } &&
60480	 { ac_try='test -s conftest$ac_exeext'
60481  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60482  (eval $ac_try) 2>&5
60483  ac_status=$?
60484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60485  (exit $ac_status); }; }; then
60486  eval "$as_ac_var=yes"
60487else
60488  echo "$as_me: failed program was:" >&5
60489sed 's/^/| /' conftest.$ac_ext >&5
60490
60491eval "$as_ac_var=no"
60492fi
60493rm -f conftest.err conftest.$ac_objext \
60494      conftest$ac_exeext conftest.$ac_ext
60495fi
60496echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60497echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60498if test `eval echo '${'$as_ac_var'}'` = yes; then
60499  cat >>confdefs.h <<_ACEOF
60500#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60501_ACEOF
60502
60503fi
60504done
60505
60506  else
60507
60508  echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60509echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60510  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60511    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60512  echo $ECHO_N "(cached) $ECHO_C" >&6
60513else
60514
60515
60516
60517      ac_ext=cc
60518ac_cpp='$CXXCPP $CPPFLAGS'
60519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60522
60523      cat >conftest.$ac_ext <<_ACEOF
60524/* confdefs.h.  */
60525_ACEOF
60526cat confdefs.h >>conftest.$ac_ext
60527cat >>conftest.$ac_ext <<_ACEOF
60528/* end confdefs.h.  */
60529#include <math.h>
60530int
60531main ()
60532{
60533 _fmodf(0, 0);
60534  ;
60535  return 0;
60536}
60537_ACEOF
60538rm -f conftest.$ac_objext
60539if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60540  (eval $ac_compile) 2>conftest.er1
60541  ac_status=$?
60542  grep -v '^ *+' conftest.er1 >conftest.err
60543  rm -f conftest.er1
60544  cat conftest.err >&5
60545  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60546  (exit $ac_status); } &&
60547	 { ac_try='test -z "$ac_cxx_werror_flag"
60548			 || test ! -s conftest.err'
60549  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60550  (eval $ac_try) 2>&5
60551  ac_status=$?
60552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60553  (exit $ac_status); }; } &&
60554	 { ac_try='test -s conftest.$ac_objext'
60555  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60556  (eval $ac_try) 2>&5
60557  ac_status=$?
60558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60559  (exit $ac_status); }; }; then
60560  glibcxx_cv_func__fmodf_use=yes
60561else
60562  echo "$as_me: failed program was:" >&5
60563sed 's/^/| /' conftest.$ac_ext >&5
60564
60565glibcxx_cv_func__fmodf_use=no
60566fi
60567rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60568      ac_ext=c
60569ac_cpp='$CPP $CPPFLAGS'
60570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60572ac_compiler_gnu=$ac_cv_c_compiler_gnu
60573
60574
60575fi
60576
60577  fi
60578  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60579echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60580
60581    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60582
60583for ac_func in _fmodf
60584do
60585as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60586echo "$as_me:$LINENO: checking for $ac_func" >&5
60587echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60588if eval "test \"\${$as_ac_var+set}\" = set"; then
60589  echo $ECHO_N "(cached) $ECHO_C" >&6
60590else
60591  if test x$gcc_no_link = xyes; then
60592  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60593echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60594   { (exit 1); exit 1; }; }
60595fi
60596cat >conftest.$ac_ext <<_ACEOF
60597/* confdefs.h.  */
60598_ACEOF
60599cat confdefs.h >>conftest.$ac_ext
60600cat >>conftest.$ac_ext <<_ACEOF
60601/* end confdefs.h.  */
60602/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60603   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60604#define $ac_func innocuous_$ac_func
60605
60606/* System header to define __stub macros and hopefully few prototypes,
60607    which can conflict with char $ac_func (); below.
60608    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60609    <limits.h> exists even on freestanding compilers.  */
60610
60611#ifdef __STDC__
60612# include <limits.h>
60613#else
60614# include <assert.h>
60615#endif
60616
60617#undef $ac_func
60618
60619/* Override any gcc2 internal prototype to avoid an error.  */
60620#ifdef __cplusplus
60621extern "C"
60622{
60623#endif
60624/* We use char because int might match the return type of a gcc2
60625   builtin and then its argument prototype would still apply.  */
60626char $ac_func ();
60627/* The GNU C library defines this for functions which it implements
60628    to always fail with ENOSYS.  Some functions are actually named
60629    something starting with __ and the normal name is an alias.  */
60630#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60631choke me
60632#else
60633char (*f) () = $ac_func;
60634#endif
60635#ifdef __cplusplus
60636}
60637#endif
60638
60639int
60640main ()
60641{
60642return f != $ac_func;
60643  ;
60644  return 0;
60645}
60646_ACEOF
60647rm -f conftest.$ac_objext conftest$ac_exeext
60648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60649  (eval $ac_link) 2>conftest.er1
60650  ac_status=$?
60651  grep -v '^ *+' conftest.er1 >conftest.err
60652  rm -f conftest.er1
60653  cat conftest.err >&5
60654  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60655  (exit $ac_status); } &&
60656	 { ac_try='test -z "$ac_c_werror_flag"
60657			 || test ! -s conftest.err'
60658  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60659  (eval $ac_try) 2>&5
60660  ac_status=$?
60661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60662  (exit $ac_status); }; } &&
60663	 { ac_try='test -s conftest$ac_exeext'
60664  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60665  (eval $ac_try) 2>&5
60666  ac_status=$?
60667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60668  (exit $ac_status); }; }; then
60669  eval "$as_ac_var=yes"
60670else
60671  echo "$as_me: failed program was:" >&5
60672sed 's/^/| /' conftest.$ac_ext >&5
60673
60674eval "$as_ac_var=no"
60675fi
60676rm -f conftest.err conftest.$ac_objext \
60677      conftest$ac_exeext conftest.$ac_ext
60678fi
60679echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60680echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60681if test `eval echo '${'$as_ac_var'}'` = yes; then
60682  cat >>confdefs.h <<_ACEOF
60683#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60684_ACEOF
60685
60686fi
60687done
60688
60689    fi
60690  fi
60691
60692
60693
60694
60695
60696
60697  echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60698echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60699  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60700    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60701  echo $ECHO_N "(cached) $ECHO_C" >&6
60702else
60703
60704
60705
60706      ac_ext=cc
60707ac_cpp='$CXXCPP $CPPFLAGS'
60708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60711
60712      cat >conftest.$ac_ext <<_ACEOF
60713/* confdefs.h.  */
60714_ACEOF
60715cat confdefs.h >>conftest.$ac_ext
60716cat >>conftest.$ac_ext <<_ACEOF
60717/* end confdefs.h.  */
60718#include <math.h>
60719int
60720main ()
60721{
60722 frexpf(0, 0);
60723  ;
60724  return 0;
60725}
60726_ACEOF
60727rm -f conftest.$ac_objext
60728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60729  (eval $ac_compile) 2>conftest.er1
60730  ac_status=$?
60731  grep -v '^ *+' conftest.er1 >conftest.err
60732  rm -f conftest.er1
60733  cat conftest.err >&5
60734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60735  (exit $ac_status); } &&
60736	 { ac_try='test -z "$ac_cxx_werror_flag"
60737			 || test ! -s conftest.err'
60738  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739  (eval $ac_try) 2>&5
60740  ac_status=$?
60741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742  (exit $ac_status); }; } &&
60743	 { ac_try='test -s conftest.$ac_objext'
60744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60745  (eval $ac_try) 2>&5
60746  ac_status=$?
60747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60748  (exit $ac_status); }; }; then
60749  glibcxx_cv_func_frexpf_use=yes
60750else
60751  echo "$as_me: failed program was:" >&5
60752sed 's/^/| /' conftest.$ac_ext >&5
60753
60754glibcxx_cv_func_frexpf_use=no
60755fi
60756rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60757      ac_ext=c
60758ac_cpp='$CPP $CPPFLAGS'
60759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761ac_compiler_gnu=$ac_cv_c_compiler_gnu
60762
60763
60764fi
60765
60766  fi
60767  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60768echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60769
60770  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60771
60772for ac_func in frexpf
60773do
60774as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60775echo "$as_me:$LINENO: checking for $ac_func" >&5
60776echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60777if eval "test \"\${$as_ac_var+set}\" = set"; then
60778  echo $ECHO_N "(cached) $ECHO_C" >&6
60779else
60780  if test x$gcc_no_link = xyes; then
60781  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60782echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60783   { (exit 1); exit 1; }; }
60784fi
60785cat >conftest.$ac_ext <<_ACEOF
60786/* confdefs.h.  */
60787_ACEOF
60788cat confdefs.h >>conftest.$ac_ext
60789cat >>conftest.$ac_ext <<_ACEOF
60790/* end confdefs.h.  */
60791/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60792   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60793#define $ac_func innocuous_$ac_func
60794
60795/* System header to define __stub macros and hopefully few prototypes,
60796    which can conflict with char $ac_func (); below.
60797    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60798    <limits.h> exists even on freestanding compilers.  */
60799
60800#ifdef __STDC__
60801# include <limits.h>
60802#else
60803# include <assert.h>
60804#endif
60805
60806#undef $ac_func
60807
60808/* Override any gcc2 internal prototype to avoid an error.  */
60809#ifdef __cplusplus
60810extern "C"
60811{
60812#endif
60813/* We use char because int might match the return type of a gcc2
60814   builtin and then its argument prototype would still apply.  */
60815char $ac_func ();
60816/* The GNU C library defines this for functions which it implements
60817    to always fail with ENOSYS.  Some functions are actually named
60818    something starting with __ and the normal name is an alias.  */
60819#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60820choke me
60821#else
60822char (*f) () = $ac_func;
60823#endif
60824#ifdef __cplusplus
60825}
60826#endif
60827
60828int
60829main ()
60830{
60831return f != $ac_func;
60832  ;
60833  return 0;
60834}
60835_ACEOF
60836rm -f conftest.$ac_objext conftest$ac_exeext
60837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60838  (eval $ac_link) 2>conftest.er1
60839  ac_status=$?
60840  grep -v '^ *+' conftest.er1 >conftest.err
60841  rm -f conftest.er1
60842  cat conftest.err >&5
60843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60844  (exit $ac_status); } &&
60845	 { ac_try='test -z "$ac_c_werror_flag"
60846			 || test ! -s conftest.err'
60847  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60848  (eval $ac_try) 2>&5
60849  ac_status=$?
60850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60851  (exit $ac_status); }; } &&
60852	 { ac_try='test -s conftest$ac_exeext'
60853  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60854  (eval $ac_try) 2>&5
60855  ac_status=$?
60856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60857  (exit $ac_status); }; }; then
60858  eval "$as_ac_var=yes"
60859else
60860  echo "$as_me: failed program was:" >&5
60861sed 's/^/| /' conftest.$ac_ext >&5
60862
60863eval "$as_ac_var=no"
60864fi
60865rm -f conftest.err conftest.$ac_objext \
60866      conftest$ac_exeext conftest.$ac_ext
60867fi
60868echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60869echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60870if test `eval echo '${'$as_ac_var'}'` = yes; then
60871  cat >>confdefs.h <<_ACEOF
60872#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60873_ACEOF
60874
60875fi
60876done
60877
60878  else
60879
60880  echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60881echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60882  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60883    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60884  echo $ECHO_N "(cached) $ECHO_C" >&6
60885else
60886
60887
60888
60889      ac_ext=cc
60890ac_cpp='$CXXCPP $CPPFLAGS'
60891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60894
60895      cat >conftest.$ac_ext <<_ACEOF
60896/* confdefs.h.  */
60897_ACEOF
60898cat confdefs.h >>conftest.$ac_ext
60899cat >>conftest.$ac_ext <<_ACEOF
60900/* end confdefs.h.  */
60901#include <math.h>
60902int
60903main ()
60904{
60905 _frexpf(0, 0);
60906  ;
60907  return 0;
60908}
60909_ACEOF
60910rm -f conftest.$ac_objext
60911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60912  (eval $ac_compile) 2>conftest.er1
60913  ac_status=$?
60914  grep -v '^ *+' conftest.er1 >conftest.err
60915  rm -f conftest.er1
60916  cat conftest.err >&5
60917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918  (exit $ac_status); } &&
60919	 { ac_try='test -z "$ac_cxx_werror_flag"
60920			 || test ! -s conftest.err'
60921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60922  (eval $ac_try) 2>&5
60923  ac_status=$?
60924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60925  (exit $ac_status); }; } &&
60926	 { ac_try='test -s conftest.$ac_objext'
60927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60928  (eval $ac_try) 2>&5
60929  ac_status=$?
60930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60931  (exit $ac_status); }; }; then
60932  glibcxx_cv_func__frexpf_use=yes
60933else
60934  echo "$as_me: failed program was:" >&5
60935sed 's/^/| /' conftest.$ac_ext >&5
60936
60937glibcxx_cv_func__frexpf_use=no
60938fi
60939rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60940      ac_ext=c
60941ac_cpp='$CPP $CPPFLAGS'
60942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944ac_compiler_gnu=$ac_cv_c_compiler_gnu
60945
60946
60947fi
60948
60949  fi
60950  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60951echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60952
60953    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60954
60955for ac_func in _frexpf
60956do
60957as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60958echo "$as_me:$LINENO: checking for $ac_func" >&5
60959echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60960if eval "test \"\${$as_ac_var+set}\" = set"; then
60961  echo $ECHO_N "(cached) $ECHO_C" >&6
60962else
60963  if test x$gcc_no_link = xyes; then
60964  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60965echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60966   { (exit 1); exit 1; }; }
60967fi
60968cat >conftest.$ac_ext <<_ACEOF
60969/* confdefs.h.  */
60970_ACEOF
60971cat confdefs.h >>conftest.$ac_ext
60972cat >>conftest.$ac_ext <<_ACEOF
60973/* end confdefs.h.  */
60974/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60975   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60976#define $ac_func innocuous_$ac_func
60977
60978/* System header to define __stub macros and hopefully few prototypes,
60979    which can conflict with char $ac_func (); below.
60980    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60981    <limits.h> exists even on freestanding compilers.  */
60982
60983#ifdef __STDC__
60984# include <limits.h>
60985#else
60986# include <assert.h>
60987#endif
60988
60989#undef $ac_func
60990
60991/* Override any gcc2 internal prototype to avoid an error.  */
60992#ifdef __cplusplus
60993extern "C"
60994{
60995#endif
60996/* We use char because int might match the return type of a gcc2
60997   builtin and then its argument prototype would still apply.  */
60998char $ac_func ();
60999/* The GNU C library defines this for functions which it implements
61000    to always fail with ENOSYS.  Some functions are actually named
61001    something starting with __ and the normal name is an alias.  */
61002#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61003choke me
61004#else
61005char (*f) () = $ac_func;
61006#endif
61007#ifdef __cplusplus
61008}
61009#endif
61010
61011int
61012main ()
61013{
61014return f != $ac_func;
61015  ;
61016  return 0;
61017}
61018_ACEOF
61019rm -f conftest.$ac_objext conftest$ac_exeext
61020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61021  (eval $ac_link) 2>conftest.er1
61022  ac_status=$?
61023  grep -v '^ *+' conftest.er1 >conftest.err
61024  rm -f conftest.er1
61025  cat conftest.err >&5
61026  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027  (exit $ac_status); } &&
61028	 { ac_try='test -z "$ac_c_werror_flag"
61029			 || test ! -s conftest.err'
61030  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61031  (eval $ac_try) 2>&5
61032  ac_status=$?
61033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61034  (exit $ac_status); }; } &&
61035	 { ac_try='test -s conftest$ac_exeext'
61036  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61037  (eval $ac_try) 2>&5
61038  ac_status=$?
61039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61040  (exit $ac_status); }; }; then
61041  eval "$as_ac_var=yes"
61042else
61043  echo "$as_me: failed program was:" >&5
61044sed 's/^/| /' conftest.$ac_ext >&5
61045
61046eval "$as_ac_var=no"
61047fi
61048rm -f conftest.err conftest.$ac_objext \
61049      conftest$ac_exeext conftest.$ac_ext
61050fi
61051echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61052echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61053if test `eval echo '${'$as_ac_var'}'` = yes; then
61054  cat >>confdefs.h <<_ACEOF
61055#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61056_ACEOF
61057
61058fi
61059done
61060
61061    fi
61062  fi
61063
61064
61065
61066
61067
61068
61069  echo "$as_me:$LINENO: checking for hypotf declaration" >&5
61070echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
61071  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61072    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
61073  echo $ECHO_N "(cached) $ECHO_C" >&6
61074else
61075
61076
61077
61078      ac_ext=cc
61079ac_cpp='$CXXCPP $CPPFLAGS'
61080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61083
61084      cat >conftest.$ac_ext <<_ACEOF
61085/* confdefs.h.  */
61086_ACEOF
61087cat confdefs.h >>conftest.$ac_ext
61088cat >>conftest.$ac_ext <<_ACEOF
61089/* end confdefs.h.  */
61090#include <math.h>
61091int
61092main ()
61093{
61094 hypotf(0, 0);
61095  ;
61096  return 0;
61097}
61098_ACEOF
61099rm -f conftest.$ac_objext
61100if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61101  (eval $ac_compile) 2>conftest.er1
61102  ac_status=$?
61103  grep -v '^ *+' conftest.er1 >conftest.err
61104  rm -f conftest.er1
61105  cat conftest.err >&5
61106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61107  (exit $ac_status); } &&
61108	 { ac_try='test -z "$ac_cxx_werror_flag"
61109			 || test ! -s conftest.err'
61110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61111  (eval $ac_try) 2>&5
61112  ac_status=$?
61113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61114  (exit $ac_status); }; } &&
61115	 { ac_try='test -s conftest.$ac_objext'
61116  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61117  (eval $ac_try) 2>&5
61118  ac_status=$?
61119  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61120  (exit $ac_status); }; }; then
61121  glibcxx_cv_func_hypotf_use=yes
61122else
61123  echo "$as_me: failed program was:" >&5
61124sed 's/^/| /' conftest.$ac_ext >&5
61125
61126glibcxx_cv_func_hypotf_use=no
61127fi
61128rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61129      ac_ext=c
61130ac_cpp='$CPP $CPPFLAGS'
61131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133ac_compiler_gnu=$ac_cv_c_compiler_gnu
61134
61135
61136fi
61137
61138  fi
61139  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
61140echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
61141
61142  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61143
61144for ac_func in hypotf
61145do
61146as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61147echo "$as_me:$LINENO: checking for $ac_func" >&5
61148echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61149if eval "test \"\${$as_ac_var+set}\" = set"; then
61150  echo $ECHO_N "(cached) $ECHO_C" >&6
61151else
61152  if test x$gcc_no_link = xyes; then
61153  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61154echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61155   { (exit 1); exit 1; }; }
61156fi
61157cat >conftest.$ac_ext <<_ACEOF
61158/* confdefs.h.  */
61159_ACEOF
61160cat confdefs.h >>conftest.$ac_ext
61161cat >>conftest.$ac_ext <<_ACEOF
61162/* end confdefs.h.  */
61163/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61164   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61165#define $ac_func innocuous_$ac_func
61166
61167/* System header to define __stub macros and hopefully few prototypes,
61168    which can conflict with char $ac_func (); below.
61169    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61170    <limits.h> exists even on freestanding compilers.  */
61171
61172#ifdef __STDC__
61173# include <limits.h>
61174#else
61175# include <assert.h>
61176#endif
61177
61178#undef $ac_func
61179
61180/* Override any gcc2 internal prototype to avoid an error.  */
61181#ifdef __cplusplus
61182extern "C"
61183{
61184#endif
61185/* We use char because int might match the return type of a gcc2
61186   builtin and then its argument prototype would still apply.  */
61187char $ac_func ();
61188/* The GNU C library defines this for functions which it implements
61189    to always fail with ENOSYS.  Some functions are actually named
61190    something starting with __ and the normal name is an alias.  */
61191#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61192choke me
61193#else
61194char (*f) () = $ac_func;
61195#endif
61196#ifdef __cplusplus
61197}
61198#endif
61199
61200int
61201main ()
61202{
61203return f != $ac_func;
61204  ;
61205  return 0;
61206}
61207_ACEOF
61208rm -f conftest.$ac_objext conftest$ac_exeext
61209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61210  (eval $ac_link) 2>conftest.er1
61211  ac_status=$?
61212  grep -v '^ *+' conftest.er1 >conftest.err
61213  rm -f conftest.er1
61214  cat conftest.err >&5
61215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61216  (exit $ac_status); } &&
61217	 { ac_try='test -z "$ac_c_werror_flag"
61218			 || test ! -s conftest.err'
61219  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61220  (eval $ac_try) 2>&5
61221  ac_status=$?
61222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61223  (exit $ac_status); }; } &&
61224	 { ac_try='test -s conftest$ac_exeext'
61225  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61226  (eval $ac_try) 2>&5
61227  ac_status=$?
61228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61229  (exit $ac_status); }; }; then
61230  eval "$as_ac_var=yes"
61231else
61232  echo "$as_me: failed program was:" >&5
61233sed 's/^/| /' conftest.$ac_ext >&5
61234
61235eval "$as_ac_var=no"
61236fi
61237rm -f conftest.err conftest.$ac_objext \
61238      conftest$ac_exeext conftest.$ac_ext
61239fi
61240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61241echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61242if test `eval echo '${'$as_ac_var'}'` = yes; then
61243  cat >>confdefs.h <<_ACEOF
61244#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61245_ACEOF
61246
61247fi
61248done
61249
61250  else
61251
61252  echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61253echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61254  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61255    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61256  echo $ECHO_N "(cached) $ECHO_C" >&6
61257else
61258
61259
61260
61261      ac_ext=cc
61262ac_cpp='$CXXCPP $CPPFLAGS'
61263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61266
61267      cat >conftest.$ac_ext <<_ACEOF
61268/* confdefs.h.  */
61269_ACEOF
61270cat confdefs.h >>conftest.$ac_ext
61271cat >>conftest.$ac_ext <<_ACEOF
61272/* end confdefs.h.  */
61273#include <math.h>
61274int
61275main ()
61276{
61277 _hypotf(0, 0);
61278  ;
61279  return 0;
61280}
61281_ACEOF
61282rm -f conftest.$ac_objext
61283if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61284  (eval $ac_compile) 2>conftest.er1
61285  ac_status=$?
61286  grep -v '^ *+' conftest.er1 >conftest.err
61287  rm -f conftest.er1
61288  cat conftest.err >&5
61289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290  (exit $ac_status); } &&
61291	 { ac_try='test -z "$ac_cxx_werror_flag"
61292			 || test ! -s conftest.err'
61293  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61294  (eval $ac_try) 2>&5
61295  ac_status=$?
61296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297  (exit $ac_status); }; } &&
61298	 { ac_try='test -s conftest.$ac_objext'
61299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61300  (eval $ac_try) 2>&5
61301  ac_status=$?
61302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61303  (exit $ac_status); }; }; then
61304  glibcxx_cv_func__hypotf_use=yes
61305else
61306  echo "$as_me: failed program was:" >&5
61307sed 's/^/| /' conftest.$ac_ext >&5
61308
61309glibcxx_cv_func__hypotf_use=no
61310fi
61311rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61312      ac_ext=c
61313ac_cpp='$CPP $CPPFLAGS'
61314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316ac_compiler_gnu=$ac_cv_c_compiler_gnu
61317
61318
61319fi
61320
61321  fi
61322  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61323echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61324
61325    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61326
61327for ac_func in _hypotf
61328do
61329as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61330echo "$as_me:$LINENO: checking for $ac_func" >&5
61331echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61332if eval "test \"\${$as_ac_var+set}\" = set"; then
61333  echo $ECHO_N "(cached) $ECHO_C" >&6
61334else
61335  if test x$gcc_no_link = xyes; then
61336  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61337echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61338   { (exit 1); exit 1; }; }
61339fi
61340cat >conftest.$ac_ext <<_ACEOF
61341/* confdefs.h.  */
61342_ACEOF
61343cat confdefs.h >>conftest.$ac_ext
61344cat >>conftest.$ac_ext <<_ACEOF
61345/* end confdefs.h.  */
61346/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61347   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61348#define $ac_func innocuous_$ac_func
61349
61350/* System header to define __stub macros and hopefully few prototypes,
61351    which can conflict with char $ac_func (); below.
61352    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61353    <limits.h> exists even on freestanding compilers.  */
61354
61355#ifdef __STDC__
61356# include <limits.h>
61357#else
61358# include <assert.h>
61359#endif
61360
61361#undef $ac_func
61362
61363/* Override any gcc2 internal prototype to avoid an error.  */
61364#ifdef __cplusplus
61365extern "C"
61366{
61367#endif
61368/* We use char because int might match the return type of a gcc2
61369   builtin and then its argument prototype would still apply.  */
61370char $ac_func ();
61371/* The GNU C library defines this for functions which it implements
61372    to always fail with ENOSYS.  Some functions are actually named
61373    something starting with __ and the normal name is an alias.  */
61374#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61375choke me
61376#else
61377char (*f) () = $ac_func;
61378#endif
61379#ifdef __cplusplus
61380}
61381#endif
61382
61383int
61384main ()
61385{
61386return f != $ac_func;
61387  ;
61388  return 0;
61389}
61390_ACEOF
61391rm -f conftest.$ac_objext conftest$ac_exeext
61392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61393  (eval $ac_link) 2>conftest.er1
61394  ac_status=$?
61395  grep -v '^ *+' conftest.er1 >conftest.err
61396  rm -f conftest.er1
61397  cat conftest.err >&5
61398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399  (exit $ac_status); } &&
61400	 { ac_try='test -z "$ac_c_werror_flag"
61401			 || test ! -s conftest.err'
61402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61403  (eval $ac_try) 2>&5
61404  ac_status=$?
61405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61406  (exit $ac_status); }; } &&
61407	 { ac_try='test -s conftest$ac_exeext'
61408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61409  (eval $ac_try) 2>&5
61410  ac_status=$?
61411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61412  (exit $ac_status); }; }; then
61413  eval "$as_ac_var=yes"
61414else
61415  echo "$as_me: failed program was:" >&5
61416sed 's/^/| /' conftest.$ac_ext >&5
61417
61418eval "$as_ac_var=no"
61419fi
61420rm -f conftest.err conftest.$ac_objext \
61421      conftest$ac_exeext conftest.$ac_ext
61422fi
61423echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61424echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61425if test `eval echo '${'$as_ac_var'}'` = yes; then
61426  cat >>confdefs.h <<_ACEOF
61427#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61428_ACEOF
61429
61430fi
61431done
61432
61433    fi
61434  fi
61435
61436
61437
61438
61439
61440
61441  echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61442echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61443  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61444    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61445  echo $ECHO_N "(cached) $ECHO_C" >&6
61446else
61447
61448
61449
61450      ac_ext=cc
61451ac_cpp='$CXXCPP $CPPFLAGS'
61452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61455
61456      cat >conftest.$ac_ext <<_ACEOF
61457/* confdefs.h.  */
61458_ACEOF
61459cat confdefs.h >>conftest.$ac_ext
61460cat >>conftest.$ac_ext <<_ACEOF
61461/* end confdefs.h.  */
61462#include <math.h>
61463int
61464main ()
61465{
61466 ldexpf(0, 0);
61467  ;
61468  return 0;
61469}
61470_ACEOF
61471rm -f conftest.$ac_objext
61472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61473  (eval $ac_compile) 2>conftest.er1
61474  ac_status=$?
61475  grep -v '^ *+' conftest.er1 >conftest.err
61476  rm -f conftest.er1
61477  cat conftest.err >&5
61478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61479  (exit $ac_status); } &&
61480	 { ac_try='test -z "$ac_cxx_werror_flag"
61481			 || test ! -s conftest.err'
61482  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61483  (eval $ac_try) 2>&5
61484  ac_status=$?
61485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61486  (exit $ac_status); }; } &&
61487	 { ac_try='test -s conftest.$ac_objext'
61488  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61489  (eval $ac_try) 2>&5
61490  ac_status=$?
61491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61492  (exit $ac_status); }; }; then
61493  glibcxx_cv_func_ldexpf_use=yes
61494else
61495  echo "$as_me: failed program was:" >&5
61496sed 's/^/| /' conftest.$ac_ext >&5
61497
61498glibcxx_cv_func_ldexpf_use=no
61499fi
61500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61501      ac_ext=c
61502ac_cpp='$CPP $CPPFLAGS'
61503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505ac_compiler_gnu=$ac_cv_c_compiler_gnu
61506
61507
61508fi
61509
61510  fi
61511  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61512echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61513
61514  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61515
61516for ac_func in ldexpf
61517do
61518as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61519echo "$as_me:$LINENO: checking for $ac_func" >&5
61520echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61521if eval "test \"\${$as_ac_var+set}\" = set"; then
61522  echo $ECHO_N "(cached) $ECHO_C" >&6
61523else
61524  if test x$gcc_no_link = xyes; then
61525  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61526echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61527   { (exit 1); exit 1; }; }
61528fi
61529cat >conftest.$ac_ext <<_ACEOF
61530/* confdefs.h.  */
61531_ACEOF
61532cat confdefs.h >>conftest.$ac_ext
61533cat >>conftest.$ac_ext <<_ACEOF
61534/* end confdefs.h.  */
61535/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61536   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61537#define $ac_func innocuous_$ac_func
61538
61539/* System header to define __stub macros and hopefully few prototypes,
61540    which can conflict with char $ac_func (); below.
61541    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61542    <limits.h> exists even on freestanding compilers.  */
61543
61544#ifdef __STDC__
61545# include <limits.h>
61546#else
61547# include <assert.h>
61548#endif
61549
61550#undef $ac_func
61551
61552/* Override any gcc2 internal prototype to avoid an error.  */
61553#ifdef __cplusplus
61554extern "C"
61555{
61556#endif
61557/* We use char because int might match the return type of a gcc2
61558   builtin and then its argument prototype would still apply.  */
61559char $ac_func ();
61560/* The GNU C library defines this for functions which it implements
61561    to always fail with ENOSYS.  Some functions are actually named
61562    something starting with __ and the normal name is an alias.  */
61563#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61564choke me
61565#else
61566char (*f) () = $ac_func;
61567#endif
61568#ifdef __cplusplus
61569}
61570#endif
61571
61572int
61573main ()
61574{
61575return f != $ac_func;
61576  ;
61577  return 0;
61578}
61579_ACEOF
61580rm -f conftest.$ac_objext conftest$ac_exeext
61581if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61582  (eval $ac_link) 2>conftest.er1
61583  ac_status=$?
61584  grep -v '^ *+' conftest.er1 >conftest.err
61585  rm -f conftest.er1
61586  cat conftest.err >&5
61587  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588  (exit $ac_status); } &&
61589	 { ac_try='test -z "$ac_c_werror_flag"
61590			 || test ! -s conftest.err'
61591  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61592  (eval $ac_try) 2>&5
61593  ac_status=$?
61594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595  (exit $ac_status); }; } &&
61596	 { ac_try='test -s conftest$ac_exeext'
61597  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61598  (eval $ac_try) 2>&5
61599  ac_status=$?
61600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61601  (exit $ac_status); }; }; then
61602  eval "$as_ac_var=yes"
61603else
61604  echo "$as_me: failed program was:" >&5
61605sed 's/^/| /' conftest.$ac_ext >&5
61606
61607eval "$as_ac_var=no"
61608fi
61609rm -f conftest.err conftest.$ac_objext \
61610      conftest$ac_exeext conftest.$ac_ext
61611fi
61612echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61613echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61614if test `eval echo '${'$as_ac_var'}'` = yes; then
61615  cat >>confdefs.h <<_ACEOF
61616#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61617_ACEOF
61618
61619fi
61620done
61621
61622  else
61623
61624  echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61625echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61626  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61627    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61628  echo $ECHO_N "(cached) $ECHO_C" >&6
61629else
61630
61631
61632
61633      ac_ext=cc
61634ac_cpp='$CXXCPP $CPPFLAGS'
61635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61638
61639      cat >conftest.$ac_ext <<_ACEOF
61640/* confdefs.h.  */
61641_ACEOF
61642cat confdefs.h >>conftest.$ac_ext
61643cat >>conftest.$ac_ext <<_ACEOF
61644/* end confdefs.h.  */
61645#include <math.h>
61646int
61647main ()
61648{
61649 _ldexpf(0, 0);
61650  ;
61651  return 0;
61652}
61653_ACEOF
61654rm -f conftest.$ac_objext
61655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61656  (eval $ac_compile) 2>conftest.er1
61657  ac_status=$?
61658  grep -v '^ *+' conftest.er1 >conftest.err
61659  rm -f conftest.er1
61660  cat conftest.err >&5
61661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662  (exit $ac_status); } &&
61663	 { ac_try='test -z "$ac_cxx_werror_flag"
61664			 || test ! -s conftest.err'
61665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61666  (eval $ac_try) 2>&5
61667  ac_status=$?
61668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61669  (exit $ac_status); }; } &&
61670	 { ac_try='test -s conftest.$ac_objext'
61671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61672  (eval $ac_try) 2>&5
61673  ac_status=$?
61674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61675  (exit $ac_status); }; }; then
61676  glibcxx_cv_func__ldexpf_use=yes
61677else
61678  echo "$as_me: failed program was:" >&5
61679sed 's/^/| /' conftest.$ac_ext >&5
61680
61681glibcxx_cv_func__ldexpf_use=no
61682fi
61683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61684      ac_ext=c
61685ac_cpp='$CPP $CPPFLAGS'
61686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689
61690
61691fi
61692
61693  fi
61694  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61695echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61696
61697    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61698
61699for ac_func in _ldexpf
61700do
61701as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61702echo "$as_me:$LINENO: checking for $ac_func" >&5
61703echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61704if eval "test \"\${$as_ac_var+set}\" = set"; then
61705  echo $ECHO_N "(cached) $ECHO_C" >&6
61706else
61707  if test x$gcc_no_link = xyes; then
61708  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61709echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61710   { (exit 1); exit 1; }; }
61711fi
61712cat >conftest.$ac_ext <<_ACEOF
61713/* confdefs.h.  */
61714_ACEOF
61715cat confdefs.h >>conftest.$ac_ext
61716cat >>conftest.$ac_ext <<_ACEOF
61717/* end confdefs.h.  */
61718/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61719   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61720#define $ac_func innocuous_$ac_func
61721
61722/* System header to define __stub macros and hopefully few prototypes,
61723    which can conflict with char $ac_func (); below.
61724    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61725    <limits.h> exists even on freestanding compilers.  */
61726
61727#ifdef __STDC__
61728# include <limits.h>
61729#else
61730# include <assert.h>
61731#endif
61732
61733#undef $ac_func
61734
61735/* Override any gcc2 internal prototype to avoid an error.  */
61736#ifdef __cplusplus
61737extern "C"
61738{
61739#endif
61740/* We use char because int might match the return type of a gcc2
61741   builtin and then its argument prototype would still apply.  */
61742char $ac_func ();
61743/* The GNU C library defines this for functions which it implements
61744    to always fail with ENOSYS.  Some functions are actually named
61745    something starting with __ and the normal name is an alias.  */
61746#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61747choke me
61748#else
61749char (*f) () = $ac_func;
61750#endif
61751#ifdef __cplusplus
61752}
61753#endif
61754
61755int
61756main ()
61757{
61758return f != $ac_func;
61759  ;
61760  return 0;
61761}
61762_ACEOF
61763rm -f conftest.$ac_objext conftest$ac_exeext
61764if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61765  (eval $ac_link) 2>conftest.er1
61766  ac_status=$?
61767  grep -v '^ *+' conftest.er1 >conftest.err
61768  rm -f conftest.er1
61769  cat conftest.err >&5
61770  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771  (exit $ac_status); } &&
61772	 { ac_try='test -z "$ac_c_werror_flag"
61773			 || test ! -s conftest.err'
61774  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61775  (eval $ac_try) 2>&5
61776  ac_status=$?
61777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61778  (exit $ac_status); }; } &&
61779	 { ac_try='test -s conftest$ac_exeext'
61780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61781  (eval $ac_try) 2>&5
61782  ac_status=$?
61783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61784  (exit $ac_status); }; }; then
61785  eval "$as_ac_var=yes"
61786else
61787  echo "$as_me: failed program was:" >&5
61788sed 's/^/| /' conftest.$ac_ext >&5
61789
61790eval "$as_ac_var=no"
61791fi
61792rm -f conftest.err conftest.$ac_objext \
61793      conftest$ac_exeext conftest.$ac_ext
61794fi
61795echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61796echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61797if test `eval echo '${'$as_ac_var'}'` = yes; then
61798  cat >>confdefs.h <<_ACEOF
61799#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61800_ACEOF
61801
61802fi
61803done
61804
61805    fi
61806  fi
61807
61808
61809
61810
61811
61812
61813  echo "$as_me:$LINENO: checking for logf declaration" >&5
61814echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61815  if test x${glibcxx_cv_func_logf_use+set} != xset; then
61816    if test "${glibcxx_cv_func_logf_use+set}" = set; then
61817  echo $ECHO_N "(cached) $ECHO_C" >&6
61818else
61819
61820
61821
61822      ac_ext=cc
61823ac_cpp='$CXXCPP $CPPFLAGS'
61824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61827
61828      cat >conftest.$ac_ext <<_ACEOF
61829/* confdefs.h.  */
61830_ACEOF
61831cat confdefs.h >>conftest.$ac_ext
61832cat >>conftest.$ac_ext <<_ACEOF
61833/* end confdefs.h.  */
61834#include <math.h>
61835		      #ifdef HAVE_IEEEFP_H
61836		      #include <ieeefp.h>
61837		      #endif
61838
61839int
61840main ()
61841{
61842 logf(0);
61843  ;
61844  return 0;
61845}
61846_ACEOF
61847rm -f conftest.$ac_objext
61848if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61849  (eval $ac_compile) 2>conftest.er1
61850  ac_status=$?
61851  grep -v '^ *+' conftest.er1 >conftest.err
61852  rm -f conftest.er1
61853  cat conftest.err >&5
61854  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61855  (exit $ac_status); } &&
61856	 { ac_try='test -z "$ac_cxx_werror_flag"
61857			 || test ! -s conftest.err'
61858  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61859  (eval $ac_try) 2>&5
61860  ac_status=$?
61861  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61862  (exit $ac_status); }; } &&
61863	 { ac_try='test -s conftest.$ac_objext'
61864  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61865  (eval $ac_try) 2>&5
61866  ac_status=$?
61867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61868  (exit $ac_status); }; }; then
61869  glibcxx_cv_func_logf_use=yes
61870else
61871  echo "$as_me: failed program was:" >&5
61872sed 's/^/| /' conftest.$ac_ext >&5
61873
61874glibcxx_cv_func_logf_use=no
61875fi
61876rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61877      ac_ext=c
61878ac_cpp='$CPP $CPPFLAGS'
61879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61881ac_compiler_gnu=$ac_cv_c_compiler_gnu
61882
61883
61884fi
61885
61886  fi
61887  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61888echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61889
61890  if test x$glibcxx_cv_func_logf_use = x"yes"; then
61891
61892for ac_func in logf
61893do
61894as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61895echo "$as_me:$LINENO: checking for $ac_func" >&5
61896echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61897if eval "test \"\${$as_ac_var+set}\" = set"; then
61898  echo $ECHO_N "(cached) $ECHO_C" >&6
61899else
61900  if test x$gcc_no_link = xyes; then
61901  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61902echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61903   { (exit 1); exit 1; }; }
61904fi
61905cat >conftest.$ac_ext <<_ACEOF
61906/* confdefs.h.  */
61907_ACEOF
61908cat confdefs.h >>conftest.$ac_ext
61909cat >>conftest.$ac_ext <<_ACEOF
61910/* end confdefs.h.  */
61911/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61912   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61913#define $ac_func innocuous_$ac_func
61914
61915/* System header to define __stub macros and hopefully few prototypes,
61916    which can conflict with char $ac_func (); below.
61917    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61918    <limits.h> exists even on freestanding compilers.  */
61919
61920#ifdef __STDC__
61921# include <limits.h>
61922#else
61923# include <assert.h>
61924#endif
61925
61926#undef $ac_func
61927
61928/* Override any gcc2 internal prototype to avoid an error.  */
61929#ifdef __cplusplus
61930extern "C"
61931{
61932#endif
61933/* We use char because int might match the return type of a gcc2
61934   builtin and then its argument prototype would still apply.  */
61935char $ac_func ();
61936/* The GNU C library defines this for functions which it implements
61937    to always fail with ENOSYS.  Some functions are actually named
61938    something starting with __ and the normal name is an alias.  */
61939#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61940choke me
61941#else
61942char (*f) () = $ac_func;
61943#endif
61944#ifdef __cplusplus
61945}
61946#endif
61947
61948int
61949main ()
61950{
61951return f != $ac_func;
61952  ;
61953  return 0;
61954}
61955_ACEOF
61956rm -f conftest.$ac_objext conftest$ac_exeext
61957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61958  (eval $ac_link) 2>conftest.er1
61959  ac_status=$?
61960  grep -v '^ *+' conftest.er1 >conftest.err
61961  rm -f conftest.er1
61962  cat conftest.err >&5
61963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964  (exit $ac_status); } &&
61965	 { ac_try='test -z "$ac_c_werror_flag"
61966			 || test ! -s conftest.err'
61967  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61968  (eval $ac_try) 2>&5
61969  ac_status=$?
61970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61971  (exit $ac_status); }; } &&
61972	 { ac_try='test -s conftest$ac_exeext'
61973  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61974  (eval $ac_try) 2>&5
61975  ac_status=$?
61976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61977  (exit $ac_status); }; }; then
61978  eval "$as_ac_var=yes"
61979else
61980  echo "$as_me: failed program was:" >&5
61981sed 's/^/| /' conftest.$ac_ext >&5
61982
61983eval "$as_ac_var=no"
61984fi
61985rm -f conftest.err conftest.$ac_objext \
61986      conftest$ac_exeext conftest.$ac_ext
61987fi
61988echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61989echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61990if test `eval echo '${'$as_ac_var'}'` = yes; then
61991  cat >>confdefs.h <<_ACEOF
61992#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61993_ACEOF
61994
61995fi
61996done
61997
61998  else
61999
62000  echo "$as_me:$LINENO: checking for _logf declaration" >&5
62001echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
62002  if test x${glibcxx_cv_func__logf_use+set} != xset; then
62003    if test "${glibcxx_cv_func__logf_use+set}" = set; then
62004  echo $ECHO_N "(cached) $ECHO_C" >&6
62005else
62006
62007
62008
62009      ac_ext=cc
62010ac_cpp='$CXXCPP $CPPFLAGS'
62011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62014
62015      cat >conftest.$ac_ext <<_ACEOF
62016/* confdefs.h.  */
62017_ACEOF
62018cat confdefs.h >>conftest.$ac_ext
62019cat >>conftest.$ac_ext <<_ACEOF
62020/* end confdefs.h.  */
62021#include <math.h>
62022		      #ifdef HAVE_IEEEFP_H
62023		      #include <ieeefp.h>
62024		      #endif
62025
62026int
62027main ()
62028{
62029 _logf(0);
62030  ;
62031  return 0;
62032}
62033_ACEOF
62034rm -f conftest.$ac_objext
62035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62036  (eval $ac_compile) 2>conftest.er1
62037  ac_status=$?
62038  grep -v '^ *+' conftest.er1 >conftest.err
62039  rm -f conftest.er1
62040  cat conftest.err >&5
62041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042  (exit $ac_status); } &&
62043	 { ac_try='test -z "$ac_cxx_werror_flag"
62044			 || test ! -s conftest.err'
62045  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62046  (eval $ac_try) 2>&5
62047  ac_status=$?
62048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62049  (exit $ac_status); }; } &&
62050	 { ac_try='test -s conftest.$ac_objext'
62051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62052  (eval $ac_try) 2>&5
62053  ac_status=$?
62054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62055  (exit $ac_status); }; }; then
62056  glibcxx_cv_func__logf_use=yes
62057else
62058  echo "$as_me: failed program was:" >&5
62059sed 's/^/| /' conftest.$ac_ext >&5
62060
62061glibcxx_cv_func__logf_use=no
62062fi
62063rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62064      ac_ext=c
62065ac_cpp='$CPP $CPPFLAGS'
62066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068ac_compiler_gnu=$ac_cv_c_compiler_gnu
62069
62070
62071fi
62072
62073  fi
62074  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
62075echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
62076
62077    if test x$glibcxx_cv_func__logf_use = x"yes"; then
62078
62079for ac_func in _logf
62080do
62081as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62082echo "$as_me:$LINENO: checking for $ac_func" >&5
62083echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62084if eval "test \"\${$as_ac_var+set}\" = set"; then
62085  echo $ECHO_N "(cached) $ECHO_C" >&6
62086else
62087  if test x$gcc_no_link = xyes; then
62088  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62089echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62090   { (exit 1); exit 1; }; }
62091fi
62092cat >conftest.$ac_ext <<_ACEOF
62093/* confdefs.h.  */
62094_ACEOF
62095cat confdefs.h >>conftest.$ac_ext
62096cat >>conftest.$ac_ext <<_ACEOF
62097/* end confdefs.h.  */
62098/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62099   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62100#define $ac_func innocuous_$ac_func
62101
62102/* System header to define __stub macros and hopefully few prototypes,
62103    which can conflict with char $ac_func (); below.
62104    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62105    <limits.h> exists even on freestanding compilers.  */
62106
62107#ifdef __STDC__
62108# include <limits.h>
62109#else
62110# include <assert.h>
62111#endif
62112
62113#undef $ac_func
62114
62115/* Override any gcc2 internal prototype to avoid an error.  */
62116#ifdef __cplusplus
62117extern "C"
62118{
62119#endif
62120/* We use char because int might match the return type of a gcc2
62121   builtin and then its argument prototype would still apply.  */
62122char $ac_func ();
62123/* The GNU C library defines this for functions which it implements
62124    to always fail with ENOSYS.  Some functions are actually named
62125    something starting with __ and the normal name is an alias.  */
62126#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62127choke me
62128#else
62129char (*f) () = $ac_func;
62130#endif
62131#ifdef __cplusplus
62132}
62133#endif
62134
62135int
62136main ()
62137{
62138return f != $ac_func;
62139  ;
62140  return 0;
62141}
62142_ACEOF
62143rm -f conftest.$ac_objext conftest$ac_exeext
62144if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62145  (eval $ac_link) 2>conftest.er1
62146  ac_status=$?
62147  grep -v '^ *+' conftest.er1 >conftest.err
62148  rm -f conftest.er1
62149  cat conftest.err >&5
62150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151  (exit $ac_status); } &&
62152	 { ac_try='test -z "$ac_c_werror_flag"
62153			 || test ! -s conftest.err'
62154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62155  (eval $ac_try) 2>&5
62156  ac_status=$?
62157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62158  (exit $ac_status); }; } &&
62159	 { ac_try='test -s conftest$ac_exeext'
62160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62161  (eval $ac_try) 2>&5
62162  ac_status=$?
62163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62164  (exit $ac_status); }; }; then
62165  eval "$as_ac_var=yes"
62166else
62167  echo "$as_me: failed program was:" >&5
62168sed 's/^/| /' conftest.$ac_ext >&5
62169
62170eval "$as_ac_var=no"
62171fi
62172rm -f conftest.err conftest.$ac_objext \
62173      conftest$ac_exeext conftest.$ac_ext
62174fi
62175echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62176echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62177if test `eval echo '${'$as_ac_var'}'` = yes; then
62178  cat >>confdefs.h <<_ACEOF
62179#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62180_ACEOF
62181
62182fi
62183done
62184
62185    fi
62186  fi
62187
62188
62189
62190
62191
62192
62193  echo "$as_me:$LINENO: checking for log10f declaration" >&5
62194echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62195  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62196    if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62197  echo $ECHO_N "(cached) $ECHO_C" >&6
62198else
62199
62200
62201
62202      ac_ext=cc
62203ac_cpp='$CXXCPP $CPPFLAGS'
62204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62207
62208      cat >conftest.$ac_ext <<_ACEOF
62209/* confdefs.h.  */
62210_ACEOF
62211cat confdefs.h >>conftest.$ac_ext
62212cat >>conftest.$ac_ext <<_ACEOF
62213/* end confdefs.h.  */
62214#include <math.h>
62215		      #ifdef HAVE_IEEEFP_H
62216		      #include <ieeefp.h>
62217		      #endif
62218
62219int
62220main ()
62221{
62222 log10f(0);
62223  ;
62224  return 0;
62225}
62226_ACEOF
62227rm -f conftest.$ac_objext
62228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62229  (eval $ac_compile) 2>conftest.er1
62230  ac_status=$?
62231  grep -v '^ *+' conftest.er1 >conftest.err
62232  rm -f conftest.er1
62233  cat conftest.err >&5
62234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62235  (exit $ac_status); } &&
62236	 { ac_try='test -z "$ac_cxx_werror_flag"
62237			 || test ! -s conftest.err'
62238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62239  (eval $ac_try) 2>&5
62240  ac_status=$?
62241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62242  (exit $ac_status); }; } &&
62243	 { ac_try='test -s conftest.$ac_objext'
62244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62245  (eval $ac_try) 2>&5
62246  ac_status=$?
62247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62248  (exit $ac_status); }; }; then
62249  glibcxx_cv_func_log10f_use=yes
62250else
62251  echo "$as_me: failed program was:" >&5
62252sed 's/^/| /' conftest.$ac_ext >&5
62253
62254glibcxx_cv_func_log10f_use=no
62255fi
62256rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62257      ac_ext=c
62258ac_cpp='$CPP $CPPFLAGS'
62259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62261ac_compiler_gnu=$ac_cv_c_compiler_gnu
62262
62263
62264fi
62265
62266  fi
62267  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62268echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62269
62270  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62271
62272for ac_func in log10f
62273do
62274as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62275echo "$as_me:$LINENO: checking for $ac_func" >&5
62276echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62277if eval "test \"\${$as_ac_var+set}\" = set"; then
62278  echo $ECHO_N "(cached) $ECHO_C" >&6
62279else
62280  if test x$gcc_no_link = xyes; then
62281  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62282echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62283   { (exit 1); exit 1; }; }
62284fi
62285cat >conftest.$ac_ext <<_ACEOF
62286/* confdefs.h.  */
62287_ACEOF
62288cat confdefs.h >>conftest.$ac_ext
62289cat >>conftest.$ac_ext <<_ACEOF
62290/* end confdefs.h.  */
62291/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62292   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62293#define $ac_func innocuous_$ac_func
62294
62295/* System header to define __stub macros and hopefully few prototypes,
62296    which can conflict with char $ac_func (); below.
62297    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62298    <limits.h> exists even on freestanding compilers.  */
62299
62300#ifdef __STDC__
62301# include <limits.h>
62302#else
62303# include <assert.h>
62304#endif
62305
62306#undef $ac_func
62307
62308/* Override any gcc2 internal prototype to avoid an error.  */
62309#ifdef __cplusplus
62310extern "C"
62311{
62312#endif
62313/* We use char because int might match the return type of a gcc2
62314   builtin and then its argument prototype would still apply.  */
62315char $ac_func ();
62316/* The GNU C library defines this for functions which it implements
62317    to always fail with ENOSYS.  Some functions are actually named
62318    something starting with __ and the normal name is an alias.  */
62319#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62320choke me
62321#else
62322char (*f) () = $ac_func;
62323#endif
62324#ifdef __cplusplus
62325}
62326#endif
62327
62328int
62329main ()
62330{
62331return f != $ac_func;
62332  ;
62333  return 0;
62334}
62335_ACEOF
62336rm -f conftest.$ac_objext conftest$ac_exeext
62337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62338  (eval $ac_link) 2>conftest.er1
62339  ac_status=$?
62340  grep -v '^ *+' conftest.er1 >conftest.err
62341  rm -f conftest.er1
62342  cat conftest.err >&5
62343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344  (exit $ac_status); } &&
62345	 { ac_try='test -z "$ac_c_werror_flag"
62346			 || test ! -s conftest.err'
62347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62348  (eval $ac_try) 2>&5
62349  ac_status=$?
62350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62351  (exit $ac_status); }; } &&
62352	 { ac_try='test -s conftest$ac_exeext'
62353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62354  (eval $ac_try) 2>&5
62355  ac_status=$?
62356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62357  (exit $ac_status); }; }; then
62358  eval "$as_ac_var=yes"
62359else
62360  echo "$as_me: failed program was:" >&5
62361sed 's/^/| /' conftest.$ac_ext >&5
62362
62363eval "$as_ac_var=no"
62364fi
62365rm -f conftest.err conftest.$ac_objext \
62366      conftest$ac_exeext conftest.$ac_ext
62367fi
62368echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62369echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62370if test `eval echo '${'$as_ac_var'}'` = yes; then
62371  cat >>confdefs.h <<_ACEOF
62372#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62373_ACEOF
62374
62375fi
62376done
62377
62378  else
62379
62380  echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62381echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62382  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62383    if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62384  echo $ECHO_N "(cached) $ECHO_C" >&6
62385else
62386
62387
62388
62389      ac_ext=cc
62390ac_cpp='$CXXCPP $CPPFLAGS'
62391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62394
62395      cat >conftest.$ac_ext <<_ACEOF
62396/* confdefs.h.  */
62397_ACEOF
62398cat confdefs.h >>conftest.$ac_ext
62399cat >>conftest.$ac_ext <<_ACEOF
62400/* end confdefs.h.  */
62401#include <math.h>
62402		      #ifdef HAVE_IEEEFP_H
62403		      #include <ieeefp.h>
62404		      #endif
62405
62406int
62407main ()
62408{
62409 _log10f(0);
62410  ;
62411  return 0;
62412}
62413_ACEOF
62414rm -f conftest.$ac_objext
62415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62416  (eval $ac_compile) 2>conftest.er1
62417  ac_status=$?
62418  grep -v '^ *+' conftest.er1 >conftest.err
62419  rm -f conftest.er1
62420  cat conftest.err >&5
62421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422  (exit $ac_status); } &&
62423	 { ac_try='test -z "$ac_cxx_werror_flag"
62424			 || test ! -s conftest.err'
62425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62426  (eval $ac_try) 2>&5
62427  ac_status=$?
62428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62429  (exit $ac_status); }; } &&
62430	 { ac_try='test -s conftest.$ac_objext'
62431  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62432  (eval $ac_try) 2>&5
62433  ac_status=$?
62434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62435  (exit $ac_status); }; }; then
62436  glibcxx_cv_func__log10f_use=yes
62437else
62438  echo "$as_me: failed program was:" >&5
62439sed 's/^/| /' conftest.$ac_ext >&5
62440
62441glibcxx_cv_func__log10f_use=no
62442fi
62443rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62444      ac_ext=c
62445ac_cpp='$CPP $CPPFLAGS'
62446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448ac_compiler_gnu=$ac_cv_c_compiler_gnu
62449
62450
62451fi
62452
62453  fi
62454  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62455echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62456
62457    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62458
62459for ac_func in _log10f
62460do
62461as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62462echo "$as_me:$LINENO: checking for $ac_func" >&5
62463echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62464if eval "test \"\${$as_ac_var+set}\" = set"; then
62465  echo $ECHO_N "(cached) $ECHO_C" >&6
62466else
62467  if test x$gcc_no_link = xyes; then
62468  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62469echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62470   { (exit 1); exit 1; }; }
62471fi
62472cat >conftest.$ac_ext <<_ACEOF
62473/* confdefs.h.  */
62474_ACEOF
62475cat confdefs.h >>conftest.$ac_ext
62476cat >>conftest.$ac_ext <<_ACEOF
62477/* end confdefs.h.  */
62478/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62479   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62480#define $ac_func innocuous_$ac_func
62481
62482/* System header to define __stub macros and hopefully few prototypes,
62483    which can conflict with char $ac_func (); below.
62484    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62485    <limits.h> exists even on freestanding compilers.  */
62486
62487#ifdef __STDC__
62488# include <limits.h>
62489#else
62490# include <assert.h>
62491#endif
62492
62493#undef $ac_func
62494
62495/* Override any gcc2 internal prototype to avoid an error.  */
62496#ifdef __cplusplus
62497extern "C"
62498{
62499#endif
62500/* We use char because int might match the return type of a gcc2
62501   builtin and then its argument prototype would still apply.  */
62502char $ac_func ();
62503/* The GNU C library defines this for functions which it implements
62504    to always fail with ENOSYS.  Some functions are actually named
62505    something starting with __ and the normal name is an alias.  */
62506#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62507choke me
62508#else
62509char (*f) () = $ac_func;
62510#endif
62511#ifdef __cplusplus
62512}
62513#endif
62514
62515int
62516main ()
62517{
62518return f != $ac_func;
62519  ;
62520  return 0;
62521}
62522_ACEOF
62523rm -f conftest.$ac_objext conftest$ac_exeext
62524if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62525  (eval $ac_link) 2>conftest.er1
62526  ac_status=$?
62527  grep -v '^ *+' conftest.er1 >conftest.err
62528  rm -f conftest.er1
62529  cat conftest.err >&5
62530  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531  (exit $ac_status); } &&
62532	 { ac_try='test -z "$ac_c_werror_flag"
62533			 || test ! -s conftest.err'
62534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62535  (eval $ac_try) 2>&5
62536  ac_status=$?
62537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62538  (exit $ac_status); }; } &&
62539	 { ac_try='test -s conftest$ac_exeext'
62540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62541  (eval $ac_try) 2>&5
62542  ac_status=$?
62543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62544  (exit $ac_status); }; }; then
62545  eval "$as_ac_var=yes"
62546else
62547  echo "$as_me: failed program was:" >&5
62548sed 's/^/| /' conftest.$ac_ext >&5
62549
62550eval "$as_ac_var=no"
62551fi
62552rm -f conftest.err conftest.$ac_objext \
62553      conftest$ac_exeext conftest.$ac_ext
62554fi
62555echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62556echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62557if test `eval echo '${'$as_ac_var'}'` = yes; then
62558  cat >>confdefs.h <<_ACEOF
62559#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62560_ACEOF
62561
62562fi
62563done
62564
62565    fi
62566  fi
62567
62568
62569
62570
62571
62572
62573  echo "$as_me:$LINENO: checking for modff declaration" >&5
62574echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62575  if test x${glibcxx_cv_func_modff_use+set} != xset; then
62576    if test "${glibcxx_cv_func_modff_use+set}" = set; then
62577  echo $ECHO_N "(cached) $ECHO_C" >&6
62578else
62579
62580
62581
62582      ac_ext=cc
62583ac_cpp='$CXXCPP $CPPFLAGS'
62584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587
62588      cat >conftest.$ac_ext <<_ACEOF
62589/* confdefs.h.  */
62590_ACEOF
62591cat confdefs.h >>conftest.$ac_ext
62592cat >>conftest.$ac_ext <<_ACEOF
62593/* end confdefs.h.  */
62594#include <math.h>
62595int
62596main ()
62597{
62598 modff(0, 0);
62599  ;
62600  return 0;
62601}
62602_ACEOF
62603rm -f conftest.$ac_objext
62604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62605  (eval $ac_compile) 2>conftest.er1
62606  ac_status=$?
62607  grep -v '^ *+' conftest.er1 >conftest.err
62608  rm -f conftest.er1
62609  cat conftest.err >&5
62610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62611  (exit $ac_status); } &&
62612	 { ac_try='test -z "$ac_cxx_werror_flag"
62613			 || test ! -s conftest.err'
62614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62615  (eval $ac_try) 2>&5
62616  ac_status=$?
62617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62618  (exit $ac_status); }; } &&
62619	 { ac_try='test -s conftest.$ac_objext'
62620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62621  (eval $ac_try) 2>&5
62622  ac_status=$?
62623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62624  (exit $ac_status); }; }; then
62625  glibcxx_cv_func_modff_use=yes
62626else
62627  echo "$as_me: failed program was:" >&5
62628sed 's/^/| /' conftest.$ac_ext >&5
62629
62630glibcxx_cv_func_modff_use=no
62631fi
62632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62633      ac_ext=c
62634ac_cpp='$CPP $CPPFLAGS'
62635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62637ac_compiler_gnu=$ac_cv_c_compiler_gnu
62638
62639
62640fi
62641
62642  fi
62643  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62644echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62645
62646  if test x$glibcxx_cv_func_modff_use = x"yes"; then
62647
62648for ac_func in modff
62649do
62650as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62651echo "$as_me:$LINENO: checking for $ac_func" >&5
62652echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62653if eval "test \"\${$as_ac_var+set}\" = set"; then
62654  echo $ECHO_N "(cached) $ECHO_C" >&6
62655else
62656  if test x$gcc_no_link = xyes; then
62657  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62658echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62659   { (exit 1); exit 1; }; }
62660fi
62661cat >conftest.$ac_ext <<_ACEOF
62662/* confdefs.h.  */
62663_ACEOF
62664cat confdefs.h >>conftest.$ac_ext
62665cat >>conftest.$ac_ext <<_ACEOF
62666/* end confdefs.h.  */
62667/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62668   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62669#define $ac_func innocuous_$ac_func
62670
62671/* System header to define __stub macros and hopefully few prototypes,
62672    which can conflict with char $ac_func (); below.
62673    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62674    <limits.h> exists even on freestanding compilers.  */
62675
62676#ifdef __STDC__
62677# include <limits.h>
62678#else
62679# include <assert.h>
62680#endif
62681
62682#undef $ac_func
62683
62684/* Override any gcc2 internal prototype to avoid an error.  */
62685#ifdef __cplusplus
62686extern "C"
62687{
62688#endif
62689/* We use char because int might match the return type of a gcc2
62690   builtin and then its argument prototype would still apply.  */
62691char $ac_func ();
62692/* The GNU C library defines this for functions which it implements
62693    to always fail with ENOSYS.  Some functions are actually named
62694    something starting with __ and the normal name is an alias.  */
62695#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62696choke me
62697#else
62698char (*f) () = $ac_func;
62699#endif
62700#ifdef __cplusplus
62701}
62702#endif
62703
62704int
62705main ()
62706{
62707return f != $ac_func;
62708  ;
62709  return 0;
62710}
62711_ACEOF
62712rm -f conftest.$ac_objext conftest$ac_exeext
62713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62714  (eval $ac_link) 2>conftest.er1
62715  ac_status=$?
62716  grep -v '^ *+' conftest.er1 >conftest.err
62717  rm -f conftest.er1
62718  cat conftest.err >&5
62719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62720  (exit $ac_status); } &&
62721	 { ac_try='test -z "$ac_c_werror_flag"
62722			 || test ! -s conftest.err'
62723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62724  (eval $ac_try) 2>&5
62725  ac_status=$?
62726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62727  (exit $ac_status); }; } &&
62728	 { ac_try='test -s conftest$ac_exeext'
62729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62730  (eval $ac_try) 2>&5
62731  ac_status=$?
62732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62733  (exit $ac_status); }; }; then
62734  eval "$as_ac_var=yes"
62735else
62736  echo "$as_me: failed program was:" >&5
62737sed 's/^/| /' conftest.$ac_ext >&5
62738
62739eval "$as_ac_var=no"
62740fi
62741rm -f conftest.err conftest.$ac_objext \
62742      conftest$ac_exeext conftest.$ac_ext
62743fi
62744echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62745echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62746if test `eval echo '${'$as_ac_var'}'` = yes; then
62747  cat >>confdefs.h <<_ACEOF
62748#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62749_ACEOF
62750
62751fi
62752done
62753
62754  else
62755
62756  echo "$as_me:$LINENO: checking for _modff declaration" >&5
62757echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62758  if test x${glibcxx_cv_func__modff_use+set} != xset; then
62759    if test "${glibcxx_cv_func__modff_use+set}" = set; then
62760  echo $ECHO_N "(cached) $ECHO_C" >&6
62761else
62762
62763
62764
62765      ac_ext=cc
62766ac_cpp='$CXXCPP $CPPFLAGS'
62767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62770
62771      cat >conftest.$ac_ext <<_ACEOF
62772/* confdefs.h.  */
62773_ACEOF
62774cat confdefs.h >>conftest.$ac_ext
62775cat >>conftest.$ac_ext <<_ACEOF
62776/* end confdefs.h.  */
62777#include <math.h>
62778int
62779main ()
62780{
62781 _modff(0, 0);
62782  ;
62783  return 0;
62784}
62785_ACEOF
62786rm -f conftest.$ac_objext
62787if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62788  (eval $ac_compile) 2>conftest.er1
62789  ac_status=$?
62790  grep -v '^ *+' conftest.er1 >conftest.err
62791  rm -f conftest.er1
62792  cat conftest.err >&5
62793  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62794  (exit $ac_status); } &&
62795	 { ac_try='test -z "$ac_cxx_werror_flag"
62796			 || test ! -s conftest.err'
62797  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62798  (eval $ac_try) 2>&5
62799  ac_status=$?
62800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62801  (exit $ac_status); }; } &&
62802	 { ac_try='test -s conftest.$ac_objext'
62803  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62804  (eval $ac_try) 2>&5
62805  ac_status=$?
62806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62807  (exit $ac_status); }; }; then
62808  glibcxx_cv_func__modff_use=yes
62809else
62810  echo "$as_me: failed program was:" >&5
62811sed 's/^/| /' conftest.$ac_ext >&5
62812
62813glibcxx_cv_func__modff_use=no
62814fi
62815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62816      ac_ext=c
62817ac_cpp='$CPP $CPPFLAGS'
62818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820ac_compiler_gnu=$ac_cv_c_compiler_gnu
62821
62822
62823fi
62824
62825  fi
62826  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62827echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62828
62829    if test x$glibcxx_cv_func__modff_use = x"yes"; then
62830
62831for ac_func in _modff
62832do
62833as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62834echo "$as_me:$LINENO: checking for $ac_func" >&5
62835echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62836if eval "test \"\${$as_ac_var+set}\" = set"; then
62837  echo $ECHO_N "(cached) $ECHO_C" >&6
62838else
62839  if test x$gcc_no_link = xyes; then
62840  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62841echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62842   { (exit 1); exit 1; }; }
62843fi
62844cat >conftest.$ac_ext <<_ACEOF
62845/* confdefs.h.  */
62846_ACEOF
62847cat confdefs.h >>conftest.$ac_ext
62848cat >>conftest.$ac_ext <<_ACEOF
62849/* end confdefs.h.  */
62850/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62851   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62852#define $ac_func innocuous_$ac_func
62853
62854/* System header to define __stub macros and hopefully few prototypes,
62855    which can conflict with char $ac_func (); below.
62856    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62857    <limits.h> exists even on freestanding compilers.  */
62858
62859#ifdef __STDC__
62860# include <limits.h>
62861#else
62862# include <assert.h>
62863#endif
62864
62865#undef $ac_func
62866
62867/* Override any gcc2 internal prototype to avoid an error.  */
62868#ifdef __cplusplus
62869extern "C"
62870{
62871#endif
62872/* We use char because int might match the return type of a gcc2
62873   builtin and then its argument prototype would still apply.  */
62874char $ac_func ();
62875/* The GNU C library defines this for functions which it implements
62876    to always fail with ENOSYS.  Some functions are actually named
62877    something starting with __ and the normal name is an alias.  */
62878#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62879choke me
62880#else
62881char (*f) () = $ac_func;
62882#endif
62883#ifdef __cplusplus
62884}
62885#endif
62886
62887int
62888main ()
62889{
62890return f != $ac_func;
62891  ;
62892  return 0;
62893}
62894_ACEOF
62895rm -f conftest.$ac_objext conftest$ac_exeext
62896if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62897  (eval $ac_link) 2>conftest.er1
62898  ac_status=$?
62899  grep -v '^ *+' conftest.er1 >conftest.err
62900  rm -f conftest.er1
62901  cat conftest.err >&5
62902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62903  (exit $ac_status); } &&
62904	 { ac_try='test -z "$ac_c_werror_flag"
62905			 || test ! -s conftest.err'
62906  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62907  (eval $ac_try) 2>&5
62908  ac_status=$?
62909  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62910  (exit $ac_status); }; } &&
62911	 { ac_try='test -s conftest$ac_exeext'
62912  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62913  (eval $ac_try) 2>&5
62914  ac_status=$?
62915  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62916  (exit $ac_status); }; }; then
62917  eval "$as_ac_var=yes"
62918else
62919  echo "$as_me: failed program was:" >&5
62920sed 's/^/| /' conftest.$ac_ext >&5
62921
62922eval "$as_ac_var=no"
62923fi
62924rm -f conftest.err conftest.$ac_objext \
62925      conftest$ac_exeext conftest.$ac_ext
62926fi
62927echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62928echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62929if test `eval echo '${'$as_ac_var'}'` = yes; then
62930  cat >>confdefs.h <<_ACEOF
62931#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62932_ACEOF
62933
62934fi
62935done
62936
62937    fi
62938  fi
62939
62940
62941
62942
62943
62944
62945  echo "$as_me:$LINENO: checking for modf declaration" >&5
62946echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62947  if test x${glibcxx_cv_func_modf_use+set} != xset; then
62948    if test "${glibcxx_cv_func_modf_use+set}" = set; then
62949  echo $ECHO_N "(cached) $ECHO_C" >&6
62950else
62951
62952
62953
62954      ac_ext=cc
62955ac_cpp='$CXXCPP $CPPFLAGS'
62956ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62959
62960      cat >conftest.$ac_ext <<_ACEOF
62961/* confdefs.h.  */
62962_ACEOF
62963cat confdefs.h >>conftest.$ac_ext
62964cat >>conftest.$ac_ext <<_ACEOF
62965/* end confdefs.h.  */
62966#include <math.h>
62967int
62968main ()
62969{
62970 modf(0, 0);
62971  ;
62972  return 0;
62973}
62974_ACEOF
62975rm -f conftest.$ac_objext
62976if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62977  (eval $ac_compile) 2>conftest.er1
62978  ac_status=$?
62979  grep -v '^ *+' conftest.er1 >conftest.err
62980  rm -f conftest.er1
62981  cat conftest.err >&5
62982  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62983  (exit $ac_status); } &&
62984	 { ac_try='test -z "$ac_cxx_werror_flag"
62985			 || test ! -s conftest.err'
62986  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62987  (eval $ac_try) 2>&5
62988  ac_status=$?
62989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62990  (exit $ac_status); }; } &&
62991	 { ac_try='test -s conftest.$ac_objext'
62992  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62993  (eval $ac_try) 2>&5
62994  ac_status=$?
62995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62996  (exit $ac_status); }; }; then
62997  glibcxx_cv_func_modf_use=yes
62998else
62999  echo "$as_me: failed program was:" >&5
63000sed 's/^/| /' conftest.$ac_ext >&5
63001
63002glibcxx_cv_func_modf_use=no
63003fi
63004rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63005      ac_ext=c
63006ac_cpp='$CPP $CPPFLAGS'
63007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63009ac_compiler_gnu=$ac_cv_c_compiler_gnu
63010
63011
63012fi
63013
63014  fi
63015  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
63016echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
63017
63018  if test x$glibcxx_cv_func_modf_use = x"yes"; then
63019
63020for ac_func in modf
63021do
63022as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63023echo "$as_me:$LINENO: checking for $ac_func" >&5
63024echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63025if eval "test \"\${$as_ac_var+set}\" = set"; then
63026  echo $ECHO_N "(cached) $ECHO_C" >&6
63027else
63028  if test x$gcc_no_link = xyes; then
63029  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63030echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63031   { (exit 1); exit 1; }; }
63032fi
63033cat >conftest.$ac_ext <<_ACEOF
63034/* confdefs.h.  */
63035_ACEOF
63036cat confdefs.h >>conftest.$ac_ext
63037cat >>conftest.$ac_ext <<_ACEOF
63038/* end confdefs.h.  */
63039/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63040   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63041#define $ac_func innocuous_$ac_func
63042
63043/* System header to define __stub macros and hopefully few prototypes,
63044    which can conflict with char $ac_func (); below.
63045    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63046    <limits.h> exists even on freestanding compilers.  */
63047
63048#ifdef __STDC__
63049# include <limits.h>
63050#else
63051# include <assert.h>
63052#endif
63053
63054#undef $ac_func
63055
63056/* Override any gcc2 internal prototype to avoid an error.  */
63057#ifdef __cplusplus
63058extern "C"
63059{
63060#endif
63061/* We use char because int might match the return type of a gcc2
63062   builtin and then its argument prototype would still apply.  */
63063char $ac_func ();
63064/* The GNU C library defines this for functions which it implements
63065    to always fail with ENOSYS.  Some functions are actually named
63066    something starting with __ and the normal name is an alias.  */
63067#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63068choke me
63069#else
63070char (*f) () = $ac_func;
63071#endif
63072#ifdef __cplusplus
63073}
63074#endif
63075
63076int
63077main ()
63078{
63079return f != $ac_func;
63080  ;
63081  return 0;
63082}
63083_ACEOF
63084rm -f conftest.$ac_objext conftest$ac_exeext
63085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63086  (eval $ac_link) 2>conftest.er1
63087  ac_status=$?
63088  grep -v '^ *+' conftest.er1 >conftest.err
63089  rm -f conftest.er1
63090  cat conftest.err >&5
63091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63092  (exit $ac_status); } &&
63093	 { ac_try='test -z "$ac_c_werror_flag"
63094			 || test ! -s conftest.err'
63095  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63096  (eval $ac_try) 2>&5
63097  ac_status=$?
63098  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63099  (exit $ac_status); }; } &&
63100	 { ac_try='test -s conftest$ac_exeext'
63101  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63102  (eval $ac_try) 2>&5
63103  ac_status=$?
63104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63105  (exit $ac_status); }; }; then
63106  eval "$as_ac_var=yes"
63107else
63108  echo "$as_me: failed program was:" >&5
63109sed 's/^/| /' conftest.$ac_ext >&5
63110
63111eval "$as_ac_var=no"
63112fi
63113rm -f conftest.err conftest.$ac_objext \
63114      conftest$ac_exeext conftest.$ac_ext
63115fi
63116echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63117echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63118if test `eval echo '${'$as_ac_var'}'` = yes; then
63119  cat >>confdefs.h <<_ACEOF
63120#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63121_ACEOF
63122
63123fi
63124done
63125
63126  else
63127
63128  echo "$as_me:$LINENO: checking for _modf declaration" >&5
63129echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
63130  if test x${glibcxx_cv_func__modf_use+set} != xset; then
63131    if test "${glibcxx_cv_func__modf_use+set}" = set; then
63132  echo $ECHO_N "(cached) $ECHO_C" >&6
63133else
63134
63135
63136
63137      ac_ext=cc
63138ac_cpp='$CXXCPP $CPPFLAGS'
63139ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63142
63143      cat >conftest.$ac_ext <<_ACEOF
63144/* confdefs.h.  */
63145_ACEOF
63146cat confdefs.h >>conftest.$ac_ext
63147cat >>conftest.$ac_ext <<_ACEOF
63148/* end confdefs.h.  */
63149#include <math.h>
63150int
63151main ()
63152{
63153 _modf(0, 0);
63154  ;
63155  return 0;
63156}
63157_ACEOF
63158rm -f conftest.$ac_objext
63159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63160  (eval $ac_compile) 2>conftest.er1
63161  ac_status=$?
63162  grep -v '^ *+' conftest.er1 >conftest.err
63163  rm -f conftest.er1
63164  cat conftest.err >&5
63165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63166  (exit $ac_status); } &&
63167	 { ac_try='test -z "$ac_cxx_werror_flag"
63168			 || test ! -s conftest.err'
63169  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63170  (eval $ac_try) 2>&5
63171  ac_status=$?
63172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63173  (exit $ac_status); }; } &&
63174	 { ac_try='test -s conftest.$ac_objext'
63175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63176  (eval $ac_try) 2>&5
63177  ac_status=$?
63178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63179  (exit $ac_status); }; }; then
63180  glibcxx_cv_func__modf_use=yes
63181else
63182  echo "$as_me: failed program was:" >&5
63183sed 's/^/| /' conftest.$ac_ext >&5
63184
63185glibcxx_cv_func__modf_use=no
63186fi
63187rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63188      ac_ext=c
63189ac_cpp='$CPP $CPPFLAGS'
63190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63192ac_compiler_gnu=$ac_cv_c_compiler_gnu
63193
63194
63195fi
63196
63197  fi
63198  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
63199echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
63200
63201    if test x$glibcxx_cv_func__modf_use = x"yes"; then
63202
63203for ac_func in _modf
63204do
63205as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63206echo "$as_me:$LINENO: checking for $ac_func" >&5
63207echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63208if eval "test \"\${$as_ac_var+set}\" = set"; then
63209  echo $ECHO_N "(cached) $ECHO_C" >&6
63210else
63211  if test x$gcc_no_link = xyes; then
63212  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63213echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63214   { (exit 1); exit 1; }; }
63215fi
63216cat >conftest.$ac_ext <<_ACEOF
63217/* confdefs.h.  */
63218_ACEOF
63219cat confdefs.h >>conftest.$ac_ext
63220cat >>conftest.$ac_ext <<_ACEOF
63221/* end confdefs.h.  */
63222/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63223   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63224#define $ac_func innocuous_$ac_func
63225
63226/* System header to define __stub macros and hopefully few prototypes,
63227    which can conflict with char $ac_func (); below.
63228    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63229    <limits.h> exists even on freestanding compilers.  */
63230
63231#ifdef __STDC__
63232# include <limits.h>
63233#else
63234# include <assert.h>
63235#endif
63236
63237#undef $ac_func
63238
63239/* Override any gcc2 internal prototype to avoid an error.  */
63240#ifdef __cplusplus
63241extern "C"
63242{
63243#endif
63244/* We use char because int might match the return type of a gcc2
63245   builtin and then its argument prototype would still apply.  */
63246char $ac_func ();
63247/* The GNU C library defines this for functions which it implements
63248    to always fail with ENOSYS.  Some functions are actually named
63249    something starting with __ and the normal name is an alias.  */
63250#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63251choke me
63252#else
63253char (*f) () = $ac_func;
63254#endif
63255#ifdef __cplusplus
63256}
63257#endif
63258
63259int
63260main ()
63261{
63262return f != $ac_func;
63263  ;
63264  return 0;
63265}
63266_ACEOF
63267rm -f conftest.$ac_objext conftest$ac_exeext
63268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63269  (eval $ac_link) 2>conftest.er1
63270  ac_status=$?
63271  grep -v '^ *+' conftest.er1 >conftest.err
63272  rm -f conftest.er1
63273  cat conftest.err >&5
63274  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275  (exit $ac_status); } &&
63276	 { ac_try='test -z "$ac_c_werror_flag"
63277			 || test ! -s conftest.err'
63278  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63279  (eval $ac_try) 2>&5
63280  ac_status=$?
63281  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63282  (exit $ac_status); }; } &&
63283	 { ac_try='test -s conftest$ac_exeext'
63284  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63285  (eval $ac_try) 2>&5
63286  ac_status=$?
63287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63288  (exit $ac_status); }; }; then
63289  eval "$as_ac_var=yes"
63290else
63291  echo "$as_me: failed program was:" >&5
63292sed 's/^/| /' conftest.$ac_ext >&5
63293
63294eval "$as_ac_var=no"
63295fi
63296rm -f conftest.err conftest.$ac_objext \
63297      conftest$ac_exeext conftest.$ac_ext
63298fi
63299echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63300echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63301if test `eval echo '${'$as_ac_var'}'` = yes; then
63302  cat >>confdefs.h <<_ACEOF
63303#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63304_ACEOF
63305
63306fi
63307done
63308
63309    fi
63310  fi
63311
63312
63313
63314
63315
63316
63317  echo "$as_me:$LINENO: checking for powf declaration" >&5
63318echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63319  if test x${glibcxx_cv_func_powf_use+set} != xset; then
63320    if test "${glibcxx_cv_func_powf_use+set}" = set; then
63321  echo $ECHO_N "(cached) $ECHO_C" >&6
63322else
63323
63324
63325
63326      ac_ext=cc
63327ac_cpp='$CXXCPP $CPPFLAGS'
63328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63331
63332      cat >conftest.$ac_ext <<_ACEOF
63333/* confdefs.h.  */
63334_ACEOF
63335cat confdefs.h >>conftest.$ac_ext
63336cat >>conftest.$ac_ext <<_ACEOF
63337/* end confdefs.h.  */
63338#include <math.h>
63339int
63340main ()
63341{
63342 powf(0, 0);
63343  ;
63344  return 0;
63345}
63346_ACEOF
63347rm -f conftest.$ac_objext
63348if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63349  (eval $ac_compile) 2>conftest.er1
63350  ac_status=$?
63351  grep -v '^ *+' conftest.er1 >conftest.err
63352  rm -f conftest.er1
63353  cat conftest.err >&5
63354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63355  (exit $ac_status); } &&
63356	 { ac_try='test -z "$ac_cxx_werror_flag"
63357			 || test ! -s conftest.err'
63358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63359  (eval $ac_try) 2>&5
63360  ac_status=$?
63361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63362  (exit $ac_status); }; } &&
63363	 { ac_try='test -s conftest.$ac_objext'
63364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63365  (eval $ac_try) 2>&5
63366  ac_status=$?
63367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63368  (exit $ac_status); }; }; then
63369  glibcxx_cv_func_powf_use=yes
63370else
63371  echo "$as_me: failed program was:" >&5
63372sed 's/^/| /' conftest.$ac_ext >&5
63373
63374glibcxx_cv_func_powf_use=no
63375fi
63376rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63377      ac_ext=c
63378ac_cpp='$CPP $CPPFLAGS'
63379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63381ac_compiler_gnu=$ac_cv_c_compiler_gnu
63382
63383
63384fi
63385
63386  fi
63387  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63388echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63389
63390  if test x$glibcxx_cv_func_powf_use = x"yes"; then
63391
63392for ac_func in powf
63393do
63394as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63395echo "$as_me:$LINENO: checking for $ac_func" >&5
63396echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63397if eval "test \"\${$as_ac_var+set}\" = set"; then
63398  echo $ECHO_N "(cached) $ECHO_C" >&6
63399else
63400  if test x$gcc_no_link = xyes; then
63401  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63402echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63403   { (exit 1); exit 1; }; }
63404fi
63405cat >conftest.$ac_ext <<_ACEOF
63406/* confdefs.h.  */
63407_ACEOF
63408cat confdefs.h >>conftest.$ac_ext
63409cat >>conftest.$ac_ext <<_ACEOF
63410/* end confdefs.h.  */
63411/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63412   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63413#define $ac_func innocuous_$ac_func
63414
63415/* System header to define __stub macros and hopefully few prototypes,
63416    which can conflict with char $ac_func (); below.
63417    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63418    <limits.h> exists even on freestanding compilers.  */
63419
63420#ifdef __STDC__
63421# include <limits.h>
63422#else
63423# include <assert.h>
63424#endif
63425
63426#undef $ac_func
63427
63428/* Override any gcc2 internal prototype to avoid an error.  */
63429#ifdef __cplusplus
63430extern "C"
63431{
63432#endif
63433/* We use char because int might match the return type of a gcc2
63434   builtin and then its argument prototype would still apply.  */
63435char $ac_func ();
63436/* The GNU C library defines this for functions which it implements
63437    to always fail with ENOSYS.  Some functions are actually named
63438    something starting with __ and the normal name is an alias.  */
63439#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63440choke me
63441#else
63442char (*f) () = $ac_func;
63443#endif
63444#ifdef __cplusplus
63445}
63446#endif
63447
63448int
63449main ()
63450{
63451return f != $ac_func;
63452  ;
63453  return 0;
63454}
63455_ACEOF
63456rm -f conftest.$ac_objext conftest$ac_exeext
63457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63458  (eval $ac_link) 2>conftest.er1
63459  ac_status=$?
63460  grep -v '^ *+' conftest.er1 >conftest.err
63461  rm -f conftest.er1
63462  cat conftest.err >&5
63463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464  (exit $ac_status); } &&
63465	 { ac_try='test -z "$ac_c_werror_flag"
63466			 || test ! -s conftest.err'
63467  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63468  (eval $ac_try) 2>&5
63469  ac_status=$?
63470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63471  (exit $ac_status); }; } &&
63472	 { ac_try='test -s conftest$ac_exeext'
63473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63474  (eval $ac_try) 2>&5
63475  ac_status=$?
63476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63477  (exit $ac_status); }; }; then
63478  eval "$as_ac_var=yes"
63479else
63480  echo "$as_me: failed program was:" >&5
63481sed 's/^/| /' conftest.$ac_ext >&5
63482
63483eval "$as_ac_var=no"
63484fi
63485rm -f conftest.err conftest.$ac_objext \
63486      conftest$ac_exeext conftest.$ac_ext
63487fi
63488echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63489echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63490if test `eval echo '${'$as_ac_var'}'` = yes; then
63491  cat >>confdefs.h <<_ACEOF
63492#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63493_ACEOF
63494
63495fi
63496done
63497
63498  else
63499
63500  echo "$as_me:$LINENO: checking for _powf declaration" >&5
63501echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63502  if test x${glibcxx_cv_func__powf_use+set} != xset; then
63503    if test "${glibcxx_cv_func__powf_use+set}" = set; then
63504  echo $ECHO_N "(cached) $ECHO_C" >&6
63505else
63506
63507
63508
63509      ac_ext=cc
63510ac_cpp='$CXXCPP $CPPFLAGS'
63511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63514
63515      cat >conftest.$ac_ext <<_ACEOF
63516/* confdefs.h.  */
63517_ACEOF
63518cat confdefs.h >>conftest.$ac_ext
63519cat >>conftest.$ac_ext <<_ACEOF
63520/* end confdefs.h.  */
63521#include <math.h>
63522int
63523main ()
63524{
63525 _powf(0, 0);
63526  ;
63527  return 0;
63528}
63529_ACEOF
63530rm -f conftest.$ac_objext
63531if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63532  (eval $ac_compile) 2>conftest.er1
63533  ac_status=$?
63534  grep -v '^ *+' conftest.er1 >conftest.err
63535  rm -f conftest.er1
63536  cat conftest.err >&5
63537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63538  (exit $ac_status); } &&
63539	 { ac_try='test -z "$ac_cxx_werror_flag"
63540			 || test ! -s conftest.err'
63541  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63542  (eval $ac_try) 2>&5
63543  ac_status=$?
63544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63545  (exit $ac_status); }; } &&
63546	 { ac_try='test -s conftest.$ac_objext'
63547  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63548  (eval $ac_try) 2>&5
63549  ac_status=$?
63550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63551  (exit $ac_status); }; }; then
63552  glibcxx_cv_func__powf_use=yes
63553else
63554  echo "$as_me: failed program was:" >&5
63555sed 's/^/| /' conftest.$ac_ext >&5
63556
63557glibcxx_cv_func__powf_use=no
63558fi
63559rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63560      ac_ext=c
63561ac_cpp='$CPP $CPPFLAGS'
63562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564ac_compiler_gnu=$ac_cv_c_compiler_gnu
63565
63566
63567fi
63568
63569  fi
63570  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63571echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63572
63573    if test x$glibcxx_cv_func__powf_use = x"yes"; then
63574
63575for ac_func in _powf
63576do
63577as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63578echo "$as_me:$LINENO: checking for $ac_func" >&5
63579echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63580if eval "test \"\${$as_ac_var+set}\" = set"; then
63581  echo $ECHO_N "(cached) $ECHO_C" >&6
63582else
63583  if test x$gcc_no_link = xyes; then
63584  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63585echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63586   { (exit 1); exit 1; }; }
63587fi
63588cat >conftest.$ac_ext <<_ACEOF
63589/* confdefs.h.  */
63590_ACEOF
63591cat confdefs.h >>conftest.$ac_ext
63592cat >>conftest.$ac_ext <<_ACEOF
63593/* end confdefs.h.  */
63594/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63595   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63596#define $ac_func innocuous_$ac_func
63597
63598/* System header to define __stub macros and hopefully few prototypes,
63599    which can conflict with char $ac_func (); below.
63600    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63601    <limits.h> exists even on freestanding compilers.  */
63602
63603#ifdef __STDC__
63604# include <limits.h>
63605#else
63606# include <assert.h>
63607#endif
63608
63609#undef $ac_func
63610
63611/* Override any gcc2 internal prototype to avoid an error.  */
63612#ifdef __cplusplus
63613extern "C"
63614{
63615#endif
63616/* We use char because int might match the return type of a gcc2
63617   builtin and then its argument prototype would still apply.  */
63618char $ac_func ();
63619/* The GNU C library defines this for functions which it implements
63620    to always fail with ENOSYS.  Some functions are actually named
63621    something starting with __ and the normal name is an alias.  */
63622#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63623choke me
63624#else
63625char (*f) () = $ac_func;
63626#endif
63627#ifdef __cplusplus
63628}
63629#endif
63630
63631int
63632main ()
63633{
63634return f != $ac_func;
63635  ;
63636  return 0;
63637}
63638_ACEOF
63639rm -f conftest.$ac_objext conftest$ac_exeext
63640if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63641  (eval $ac_link) 2>conftest.er1
63642  ac_status=$?
63643  grep -v '^ *+' conftest.er1 >conftest.err
63644  rm -f conftest.er1
63645  cat conftest.err >&5
63646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647  (exit $ac_status); } &&
63648	 { ac_try='test -z "$ac_c_werror_flag"
63649			 || test ! -s conftest.err'
63650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63651  (eval $ac_try) 2>&5
63652  ac_status=$?
63653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63654  (exit $ac_status); }; } &&
63655	 { ac_try='test -s conftest$ac_exeext'
63656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63657  (eval $ac_try) 2>&5
63658  ac_status=$?
63659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63660  (exit $ac_status); }; }; then
63661  eval "$as_ac_var=yes"
63662else
63663  echo "$as_me: failed program was:" >&5
63664sed 's/^/| /' conftest.$ac_ext >&5
63665
63666eval "$as_ac_var=no"
63667fi
63668rm -f conftest.err conftest.$ac_objext \
63669      conftest$ac_exeext conftest.$ac_ext
63670fi
63671echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63672echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63673if test `eval echo '${'$as_ac_var'}'` = yes; then
63674  cat >>confdefs.h <<_ACEOF
63675#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63676_ACEOF
63677
63678fi
63679done
63680
63681    fi
63682  fi
63683
63684
63685
63686
63687
63688
63689  echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63690echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63691  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63692    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63693  echo $ECHO_N "(cached) $ECHO_C" >&6
63694else
63695
63696
63697
63698      ac_ext=cc
63699ac_cpp='$CXXCPP $CPPFLAGS'
63700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63703
63704      cat >conftest.$ac_ext <<_ACEOF
63705/* confdefs.h.  */
63706_ACEOF
63707cat confdefs.h >>conftest.$ac_ext
63708cat >>conftest.$ac_ext <<_ACEOF
63709/* end confdefs.h.  */
63710#include <math.h>
63711		      #ifdef HAVE_IEEEFP_H
63712		      #include <ieeefp.h>
63713		      #endif
63714
63715int
63716main ()
63717{
63718 sqrtf(0);
63719  ;
63720  return 0;
63721}
63722_ACEOF
63723rm -f conftest.$ac_objext
63724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63725  (eval $ac_compile) 2>conftest.er1
63726  ac_status=$?
63727  grep -v '^ *+' conftest.er1 >conftest.err
63728  rm -f conftest.er1
63729  cat conftest.err >&5
63730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63731  (exit $ac_status); } &&
63732	 { ac_try='test -z "$ac_cxx_werror_flag"
63733			 || test ! -s conftest.err'
63734  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63735  (eval $ac_try) 2>&5
63736  ac_status=$?
63737  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738  (exit $ac_status); }; } &&
63739	 { ac_try='test -s conftest.$ac_objext'
63740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63741  (eval $ac_try) 2>&5
63742  ac_status=$?
63743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63744  (exit $ac_status); }; }; then
63745  glibcxx_cv_func_sqrtf_use=yes
63746else
63747  echo "$as_me: failed program was:" >&5
63748sed 's/^/| /' conftest.$ac_ext >&5
63749
63750glibcxx_cv_func_sqrtf_use=no
63751fi
63752rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63753      ac_ext=c
63754ac_cpp='$CPP $CPPFLAGS'
63755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757ac_compiler_gnu=$ac_cv_c_compiler_gnu
63758
63759
63760fi
63761
63762  fi
63763  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63764echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63765
63766  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63767
63768for ac_func in sqrtf
63769do
63770as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63771echo "$as_me:$LINENO: checking for $ac_func" >&5
63772echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63773if eval "test \"\${$as_ac_var+set}\" = set"; then
63774  echo $ECHO_N "(cached) $ECHO_C" >&6
63775else
63776  if test x$gcc_no_link = xyes; then
63777  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63778echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63779   { (exit 1); exit 1; }; }
63780fi
63781cat >conftest.$ac_ext <<_ACEOF
63782/* confdefs.h.  */
63783_ACEOF
63784cat confdefs.h >>conftest.$ac_ext
63785cat >>conftest.$ac_ext <<_ACEOF
63786/* end confdefs.h.  */
63787/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63788   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63789#define $ac_func innocuous_$ac_func
63790
63791/* System header to define __stub macros and hopefully few prototypes,
63792    which can conflict with char $ac_func (); below.
63793    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63794    <limits.h> exists even on freestanding compilers.  */
63795
63796#ifdef __STDC__
63797# include <limits.h>
63798#else
63799# include <assert.h>
63800#endif
63801
63802#undef $ac_func
63803
63804/* Override any gcc2 internal prototype to avoid an error.  */
63805#ifdef __cplusplus
63806extern "C"
63807{
63808#endif
63809/* We use char because int might match the return type of a gcc2
63810   builtin and then its argument prototype would still apply.  */
63811char $ac_func ();
63812/* The GNU C library defines this for functions which it implements
63813    to always fail with ENOSYS.  Some functions are actually named
63814    something starting with __ and the normal name is an alias.  */
63815#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63816choke me
63817#else
63818char (*f) () = $ac_func;
63819#endif
63820#ifdef __cplusplus
63821}
63822#endif
63823
63824int
63825main ()
63826{
63827return f != $ac_func;
63828  ;
63829  return 0;
63830}
63831_ACEOF
63832rm -f conftest.$ac_objext conftest$ac_exeext
63833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63834  (eval $ac_link) 2>conftest.er1
63835  ac_status=$?
63836  grep -v '^ *+' conftest.er1 >conftest.err
63837  rm -f conftest.er1
63838  cat conftest.err >&5
63839  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840  (exit $ac_status); } &&
63841	 { ac_try='test -z "$ac_c_werror_flag"
63842			 || test ! -s conftest.err'
63843  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63844  (eval $ac_try) 2>&5
63845  ac_status=$?
63846  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63847  (exit $ac_status); }; } &&
63848	 { ac_try='test -s conftest$ac_exeext'
63849  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63850  (eval $ac_try) 2>&5
63851  ac_status=$?
63852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63853  (exit $ac_status); }; }; then
63854  eval "$as_ac_var=yes"
63855else
63856  echo "$as_me: failed program was:" >&5
63857sed 's/^/| /' conftest.$ac_ext >&5
63858
63859eval "$as_ac_var=no"
63860fi
63861rm -f conftest.err conftest.$ac_objext \
63862      conftest$ac_exeext conftest.$ac_ext
63863fi
63864echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63865echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63866if test `eval echo '${'$as_ac_var'}'` = yes; then
63867  cat >>confdefs.h <<_ACEOF
63868#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63869_ACEOF
63870
63871fi
63872done
63873
63874  else
63875
63876  echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63877echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63878  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63879    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63880  echo $ECHO_N "(cached) $ECHO_C" >&6
63881else
63882
63883
63884
63885      ac_ext=cc
63886ac_cpp='$CXXCPP $CPPFLAGS'
63887ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63890
63891      cat >conftest.$ac_ext <<_ACEOF
63892/* confdefs.h.  */
63893_ACEOF
63894cat confdefs.h >>conftest.$ac_ext
63895cat >>conftest.$ac_ext <<_ACEOF
63896/* end confdefs.h.  */
63897#include <math.h>
63898		      #ifdef HAVE_IEEEFP_H
63899		      #include <ieeefp.h>
63900		      #endif
63901
63902int
63903main ()
63904{
63905 _sqrtf(0);
63906  ;
63907  return 0;
63908}
63909_ACEOF
63910rm -f conftest.$ac_objext
63911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63912  (eval $ac_compile) 2>conftest.er1
63913  ac_status=$?
63914  grep -v '^ *+' conftest.er1 >conftest.err
63915  rm -f conftest.er1
63916  cat conftest.err >&5
63917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918  (exit $ac_status); } &&
63919	 { ac_try='test -z "$ac_cxx_werror_flag"
63920			 || test ! -s conftest.err'
63921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63922  (eval $ac_try) 2>&5
63923  ac_status=$?
63924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63925  (exit $ac_status); }; } &&
63926	 { ac_try='test -s conftest.$ac_objext'
63927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63928  (eval $ac_try) 2>&5
63929  ac_status=$?
63930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931  (exit $ac_status); }; }; then
63932  glibcxx_cv_func__sqrtf_use=yes
63933else
63934  echo "$as_me: failed program was:" >&5
63935sed 's/^/| /' conftest.$ac_ext >&5
63936
63937glibcxx_cv_func__sqrtf_use=no
63938fi
63939rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63940      ac_ext=c
63941ac_cpp='$CPP $CPPFLAGS'
63942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944ac_compiler_gnu=$ac_cv_c_compiler_gnu
63945
63946
63947fi
63948
63949  fi
63950  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63951echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63952
63953    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63954
63955for ac_func in _sqrtf
63956do
63957as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63958echo "$as_me:$LINENO: checking for $ac_func" >&5
63959echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63960if eval "test \"\${$as_ac_var+set}\" = set"; then
63961  echo $ECHO_N "(cached) $ECHO_C" >&6
63962else
63963  if test x$gcc_no_link = xyes; then
63964  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63965echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63966   { (exit 1); exit 1; }; }
63967fi
63968cat >conftest.$ac_ext <<_ACEOF
63969/* confdefs.h.  */
63970_ACEOF
63971cat confdefs.h >>conftest.$ac_ext
63972cat >>conftest.$ac_ext <<_ACEOF
63973/* end confdefs.h.  */
63974/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63975   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63976#define $ac_func innocuous_$ac_func
63977
63978/* System header to define __stub macros and hopefully few prototypes,
63979    which can conflict with char $ac_func (); below.
63980    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63981    <limits.h> exists even on freestanding compilers.  */
63982
63983#ifdef __STDC__
63984# include <limits.h>
63985#else
63986# include <assert.h>
63987#endif
63988
63989#undef $ac_func
63990
63991/* Override any gcc2 internal prototype to avoid an error.  */
63992#ifdef __cplusplus
63993extern "C"
63994{
63995#endif
63996/* We use char because int might match the return type of a gcc2
63997   builtin and then its argument prototype would still apply.  */
63998char $ac_func ();
63999/* The GNU C library defines this for functions which it implements
64000    to always fail with ENOSYS.  Some functions are actually named
64001    something starting with __ and the normal name is an alias.  */
64002#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64003choke me
64004#else
64005char (*f) () = $ac_func;
64006#endif
64007#ifdef __cplusplus
64008}
64009#endif
64010
64011int
64012main ()
64013{
64014return f != $ac_func;
64015  ;
64016  return 0;
64017}
64018_ACEOF
64019rm -f conftest.$ac_objext conftest$ac_exeext
64020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64021  (eval $ac_link) 2>conftest.er1
64022  ac_status=$?
64023  grep -v '^ *+' conftest.er1 >conftest.err
64024  rm -f conftest.er1
64025  cat conftest.err >&5
64026  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027  (exit $ac_status); } &&
64028	 { ac_try='test -z "$ac_c_werror_flag"
64029			 || test ! -s conftest.err'
64030  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64031  (eval $ac_try) 2>&5
64032  ac_status=$?
64033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64034  (exit $ac_status); }; } &&
64035	 { ac_try='test -s conftest$ac_exeext'
64036  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64037  (eval $ac_try) 2>&5
64038  ac_status=$?
64039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64040  (exit $ac_status); }; }; then
64041  eval "$as_ac_var=yes"
64042else
64043  echo "$as_me: failed program was:" >&5
64044sed 's/^/| /' conftest.$ac_ext >&5
64045
64046eval "$as_ac_var=no"
64047fi
64048rm -f conftest.err conftest.$ac_objext \
64049      conftest$ac_exeext conftest.$ac_ext
64050fi
64051echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64052echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64053if test `eval echo '${'$as_ac_var'}'` = yes; then
64054  cat >>confdefs.h <<_ACEOF
64055#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64056_ACEOF
64057
64058fi
64059done
64060
64061    fi
64062  fi
64063
64064
64065
64066
64067
64068
64069  echo "$as_me:$LINENO: checking for sincosf declaration" >&5
64070echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
64071  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64072    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
64073  echo $ECHO_N "(cached) $ECHO_C" >&6
64074else
64075
64076
64077
64078      ac_ext=cc
64079ac_cpp='$CXXCPP $CPPFLAGS'
64080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64083
64084      cat >conftest.$ac_ext <<_ACEOF
64085/* confdefs.h.  */
64086_ACEOF
64087cat confdefs.h >>conftest.$ac_ext
64088cat >>conftest.$ac_ext <<_ACEOF
64089/* end confdefs.h.  */
64090#include <math.h>
64091int
64092main ()
64093{
64094 sincosf(0, 0, 0);
64095  ;
64096  return 0;
64097}
64098_ACEOF
64099rm -f conftest.$ac_objext
64100if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64101  (eval $ac_compile) 2>conftest.er1
64102  ac_status=$?
64103  grep -v '^ *+' conftest.er1 >conftest.err
64104  rm -f conftest.er1
64105  cat conftest.err >&5
64106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64107  (exit $ac_status); } &&
64108	 { ac_try='test -z "$ac_cxx_werror_flag"
64109			 || test ! -s conftest.err'
64110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64111  (eval $ac_try) 2>&5
64112  ac_status=$?
64113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64114  (exit $ac_status); }; } &&
64115	 { ac_try='test -s conftest.$ac_objext'
64116  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64117  (eval $ac_try) 2>&5
64118  ac_status=$?
64119  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64120  (exit $ac_status); }; }; then
64121  glibcxx_cv_func_sincosf_use=yes
64122else
64123  echo "$as_me: failed program was:" >&5
64124sed 's/^/| /' conftest.$ac_ext >&5
64125
64126glibcxx_cv_func_sincosf_use=no
64127fi
64128rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64129      ac_ext=c
64130ac_cpp='$CPP $CPPFLAGS'
64131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133ac_compiler_gnu=$ac_cv_c_compiler_gnu
64134
64135
64136fi
64137
64138  fi
64139  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
64140echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
64141
64142  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64143
64144for ac_func in sincosf
64145do
64146as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64147echo "$as_me:$LINENO: checking for $ac_func" >&5
64148echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64149if eval "test \"\${$as_ac_var+set}\" = set"; then
64150  echo $ECHO_N "(cached) $ECHO_C" >&6
64151else
64152  if test x$gcc_no_link = xyes; then
64153  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64154echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64155   { (exit 1); exit 1; }; }
64156fi
64157cat >conftest.$ac_ext <<_ACEOF
64158/* confdefs.h.  */
64159_ACEOF
64160cat confdefs.h >>conftest.$ac_ext
64161cat >>conftest.$ac_ext <<_ACEOF
64162/* end confdefs.h.  */
64163/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64164   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64165#define $ac_func innocuous_$ac_func
64166
64167/* System header to define __stub macros and hopefully few prototypes,
64168    which can conflict with char $ac_func (); below.
64169    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64170    <limits.h> exists even on freestanding compilers.  */
64171
64172#ifdef __STDC__
64173# include <limits.h>
64174#else
64175# include <assert.h>
64176#endif
64177
64178#undef $ac_func
64179
64180/* Override any gcc2 internal prototype to avoid an error.  */
64181#ifdef __cplusplus
64182extern "C"
64183{
64184#endif
64185/* We use char because int might match the return type of a gcc2
64186   builtin and then its argument prototype would still apply.  */
64187char $ac_func ();
64188/* The GNU C library defines this for functions which it implements
64189    to always fail with ENOSYS.  Some functions are actually named
64190    something starting with __ and the normal name is an alias.  */
64191#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64192choke me
64193#else
64194char (*f) () = $ac_func;
64195#endif
64196#ifdef __cplusplus
64197}
64198#endif
64199
64200int
64201main ()
64202{
64203return f != $ac_func;
64204  ;
64205  return 0;
64206}
64207_ACEOF
64208rm -f conftest.$ac_objext conftest$ac_exeext
64209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64210  (eval $ac_link) 2>conftest.er1
64211  ac_status=$?
64212  grep -v '^ *+' conftest.er1 >conftest.err
64213  rm -f conftest.er1
64214  cat conftest.err >&5
64215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216  (exit $ac_status); } &&
64217	 { ac_try='test -z "$ac_c_werror_flag"
64218			 || test ! -s conftest.err'
64219  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64220  (eval $ac_try) 2>&5
64221  ac_status=$?
64222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64223  (exit $ac_status); }; } &&
64224	 { ac_try='test -s conftest$ac_exeext'
64225  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64226  (eval $ac_try) 2>&5
64227  ac_status=$?
64228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64229  (exit $ac_status); }; }; then
64230  eval "$as_ac_var=yes"
64231else
64232  echo "$as_me: failed program was:" >&5
64233sed 's/^/| /' conftest.$ac_ext >&5
64234
64235eval "$as_ac_var=no"
64236fi
64237rm -f conftest.err conftest.$ac_objext \
64238      conftest$ac_exeext conftest.$ac_ext
64239fi
64240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64241echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64242if test `eval echo '${'$as_ac_var'}'` = yes; then
64243  cat >>confdefs.h <<_ACEOF
64244#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64245_ACEOF
64246
64247fi
64248done
64249
64250  else
64251
64252  echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64253echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64254  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64255    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64256  echo $ECHO_N "(cached) $ECHO_C" >&6
64257else
64258
64259
64260
64261      ac_ext=cc
64262ac_cpp='$CXXCPP $CPPFLAGS'
64263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64266
64267      cat >conftest.$ac_ext <<_ACEOF
64268/* confdefs.h.  */
64269_ACEOF
64270cat confdefs.h >>conftest.$ac_ext
64271cat >>conftest.$ac_ext <<_ACEOF
64272/* end confdefs.h.  */
64273#include <math.h>
64274int
64275main ()
64276{
64277 _sincosf(0, 0, 0);
64278  ;
64279  return 0;
64280}
64281_ACEOF
64282rm -f conftest.$ac_objext
64283if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64284  (eval $ac_compile) 2>conftest.er1
64285  ac_status=$?
64286  grep -v '^ *+' conftest.er1 >conftest.err
64287  rm -f conftest.er1
64288  cat conftest.err >&5
64289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64290  (exit $ac_status); } &&
64291	 { ac_try='test -z "$ac_cxx_werror_flag"
64292			 || test ! -s conftest.err'
64293  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64294  (eval $ac_try) 2>&5
64295  ac_status=$?
64296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64297  (exit $ac_status); }; } &&
64298	 { ac_try='test -s conftest.$ac_objext'
64299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64300  (eval $ac_try) 2>&5
64301  ac_status=$?
64302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64303  (exit $ac_status); }; }; then
64304  glibcxx_cv_func__sincosf_use=yes
64305else
64306  echo "$as_me: failed program was:" >&5
64307sed 's/^/| /' conftest.$ac_ext >&5
64308
64309glibcxx_cv_func__sincosf_use=no
64310fi
64311rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64312      ac_ext=c
64313ac_cpp='$CPP $CPPFLAGS'
64314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64316ac_compiler_gnu=$ac_cv_c_compiler_gnu
64317
64318
64319fi
64320
64321  fi
64322  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64323echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64324
64325    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64326
64327for ac_func in _sincosf
64328do
64329as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64330echo "$as_me:$LINENO: checking for $ac_func" >&5
64331echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64332if eval "test \"\${$as_ac_var+set}\" = set"; then
64333  echo $ECHO_N "(cached) $ECHO_C" >&6
64334else
64335  if test x$gcc_no_link = xyes; then
64336  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64337echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64338   { (exit 1); exit 1; }; }
64339fi
64340cat >conftest.$ac_ext <<_ACEOF
64341/* confdefs.h.  */
64342_ACEOF
64343cat confdefs.h >>conftest.$ac_ext
64344cat >>conftest.$ac_ext <<_ACEOF
64345/* end confdefs.h.  */
64346/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64347   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64348#define $ac_func innocuous_$ac_func
64349
64350/* System header to define __stub macros and hopefully few prototypes,
64351    which can conflict with char $ac_func (); below.
64352    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64353    <limits.h> exists even on freestanding compilers.  */
64354
64355#ifdef __STDC__
64356# include <limits.h>
64357#else
64358# include <assert.h>
64359#endif
64360
64361#undef $ac_func
64362
64363/* Override any gcc2 internal prototype to avoid an error.  */
64364#ifdef __cplusplus
64365extern "C"
64366{
64367#endif
64368/* We use char because int might match the return type of a gcc2
64369   builtin and then its argument prototype would still apply.  */
64370char $ac_func ();
64371/* The GNU C library defines this for functions which it implements
64372    to always fail with ENOSYS.  Some functions are actually named
64373    something starting with __ and the normal name is an alias.  */
64374#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64375choke me
64376#else
64377char (*f) () = $ac_func;
64378#endif
64379#ifdef __cplusplus
64380}
64381#endif
64382
64383int
64384main ()
64385{
64386return f != $ac_func;
64387  ;
64388  return 0;
64389}
64390_ACEOF
64391rm -f conftest.$ac_objext conftest$ac_exeext
64392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64393  (eval $ac_link) 2>conftest.er1
64394  ac_status=$?
64395  grep -v '^ *+' conftest.er1 >conftest.err
64396  rm -f conftest.er1
64397  cat conftest.err >&5
64398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64399  (exit $ac_status); } &&
64400	 { ac_try='test -z "$ac_c_werror_flag"
64401			 || test ! -s conftest.err'
64402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64403  (eval $ac_try) 2>&5
64404  ac_status=$?
64405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64406  (exit $ac_status); }; } &&
64407	 { ac_try='test -s conftest$ac_exeext'
64408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64409  (eval $ac_try) 2>&5
64410  ac_status=$?
64411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64412  (exit $ac_status); }; }; then
64413  eval "$as_ac_var=yes"
64414else
64415  echo "$as_me: failed program was:" >&5
64416sed 's/^/| /' conftest.$ac_ext >&5
64417
64418eval "$as_ac_var=no"
64419fi
64420rm -f conftest.err conftest.$ac_objext \
64421      conftest$ac_exeext conftest.$ac_ext
64422fi
64423echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64424echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64425if test `eval echo '${'$as_ac_var'}'` = yes; then
64426  cat >>confdefs.h <<_ACEOF
64427#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64428_ACEOF
64429
64430fi
64431done
64432
64433    fi
64434  fi
64435
64436
64437
64438
64439
64440
64441  echo "$as_me:$LINENO: checking for finitef declaration" >&5
64442echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64443  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64444    if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64445  echo $ECHO_N "(cached) $ECHO_C" >&6
64446else
64447
64448
64449
64450      ac_ext=cc
64451ac_cpp='$CXXCPP $CPPFLAGS'
64452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64455
64456      cat >conftest.$ac_ext <<_ACEOF
64457/* confdefs.h.  */
64458_ACEOF
64459cat confdefs.h >>conftest.$ac_ext
64460cat >>conftest.$ac_ext <<_ACEOF
64461/* end confdefs.h.  */
64462#include <math.h>
64463		      #ifdef HAVE_IEEEFP_H
64464		      #include <ieeefp.h>
64465		      #endif
64466
64467int
64468main ()
64469{
64470 finitef(0);
64471  ;
64472  return 0;
64473}
64474_ACEOF
64475rm -f conftest.$ac_objext
64476if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64477  (eval $ac_compile) 2>conftest.er1
64478  ac_status=$?
64479  grep -v '^ *+' conftest.er1 >conftest.err
64480  rm -f conftest.er1
64481  cat conftest.err >&5
64482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64483  (exit $ac_status); } &&
64484	 { ac_try='test -z "$ac_cxx_werror_flag"
64485			 || test ! -s conftest.err'
64486  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64487  (eval $ac_try) 2>&5
64488  ac_status=$?
64489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64490  (exit $ac_status); }; } &&
64491	 { ac_try='test -s conftest.$ac_objext'
64492  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64493  (eval $ac_try) 2>&5
64494  ac_status=$?
64495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64496  (exit $ac_status); }; }; then
64497  glibcxx_cv_func_finitef_use=yes
64498else
64499  echo "$as_me: failed program was:" >&5
64500sed 's/^/| /' conftest.$ac_ext >&5
64501
64502glibcxx_cv_func_finitef_use=no
64503fi
64504rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64505      ac_ext=c
64506ac_cpp='$CPP $CPPFLAGS'
64507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64509ac_compiler_gnu=$ac_cv_c_compiler_gnu
64510
64511
64512fi
64513
64514  fi
64515  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64516echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64517
64518  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64519
64520for ac_func in finitef
64521do
64522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64523echo "$as_me:$LINENO: checking for $ac_func" >&5
64524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64525if eval "test \"\${$as_ac_var+set}\" = set"; then
64526  echo $ECHO_N "(cached) $ECHO_C" >&6
64527else
64528  if test x$gcc_no_link = xyes; then
64529  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64530echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64531   { (exit 1); exit 1; }; }
64532fi
64533cat >conftest.$ac_ext <<_ACEOF
64534/* confdefs.h.  */
64535_ACEOF
64536cat confdefs.h >>conftest.$ac_ext
64537cat >>conftest.$ac_ext <<_ACEOF
64538/* end confdefs.h.  */
64539/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64540   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64541#define $ac_func innocuous_$ac_func
64542
64543/* System header to define __stub macros and hopefully few prototypes,
64544    which can conflict with char $ac_func (); below.
64545    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64546    <limits.h> exists even on freestanding compilers.  */
64547
64548#ifdef __STDC__
64549# include <limits.h>
64550#else
64551# include <assert.h>
64552#endif
64553
64554#undef $ac_func
64555
64556/* Override any gcc2 internal prototype to avoid an error.  */
64557#ifdef __cplusplus
64558extern "C"
64559{
64560#endif
64561/* We use char because int might match the return type of a gcc2
64562   builtin and then its argument prototype would still apply.  */
64563char $ac_func ();
64564/* The GNU C library defines this for functions which it implements
64565    to always fail with ENOSYS.  Some functions are actually named
64566    something starting with __ and the normal name is an alias.  */
64567#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64568choke me
64569#else
64570char (*f) () = $ac_func;
64571#endif
64572#ifdef __cplusplus
64573}
64574#endif
64575
64576int
64577main ()
64578{
64579return f != $ac_func;
64580  ;
64581  return 0;
64582}
64583_ACEOF
64584rm -f conftest.$ac_objext conftest$ac_exeext
64585if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64586  (eval $ac_link) 2>conftest.er1
64587  ac_status=$?
64588  grep -v '^ *+' conftest.er1 >conftest.err
64589  rm -f conftest.er1
64590  cat conftest.err >&5
64591  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64592  (exit $ac_status); } &&
64593	 { ac_try='test -z "$ac_c_werror_flag"
64594			 || test ! -s conftest.err'
64595  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64596  (eval $ac_try) 2>&5
64597  ac_status=$?
64598  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64599  (exit $ac_status); }; } &&
64600	 { ac_try='test -s conftest$ac_exeext'
64601  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64602  (eval $ac_try) 2>&5
64603  ac_status=$?
64604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64605  (exit $ac_status); }; }; then
64606  eval "$as_ac_var=yes"
64607else
64608  echo "$as_me: failed program was:" >&5
64609sed 's/^/| /' conftest.$ac_ext >&5
64610
64611eval "$as_ac_var=no"
64612fi
64613rm -f conftest.err conftest.$ac_objext \
64614      conftest$ac_exeext conftest.$ac_ext
64615fi
64616echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64617echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64618if test `eval echo '${'$as_ac_var'}'` = yes; then
64619  cat >>confdefs.h <<_ACEOF
64620#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64621_ACEOF
64622
64623fi
64624done
64625
64626  else
64627
64628  echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64629echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64630  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64631    if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64632  echo $ECHO_N "(cached) $ECHO_C" >&6
64633else
64634
64635
64636
64637      ac_ext=cc
64638ac_cpp='$CXXCPP $CPPFLAGS'
64639ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64642
64643      cat >conftest.$ac_ext <<_ACEOF
64644/* confdefs.h.  */
64645_ACEOF
64646cat confdefs.h >>conftest.$ac_ext
64647cat >>conftest.$ac_ext <<_ACEOF
64648/* end confdefs.h.  */
64649#include <math.h>
64650		      #ifdef HAVE_IEEEFP_H
64651		      #include <ieeefp.h>
64652		      #endif
64653
64654int
64655main ()
64656{
64657 _finitef(0);
64658  ;
64659  return 0;
64660}
64661_ACEOF
64662rm -f conftest.$ac_objext
64663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64664  (eval $ac_compile) 2>conftest.er1
64665  ac_status=$?
64666  grep -v '^ *+' conftest.er1 >conftest.err
64667  rm -f conftest.er1
64668  cat conftest.err >&5
64669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64670  (exit $ac_status); } &&
64671	 { ac_try='test -z "$ac_cxx_werror_flag"
64672			 || test ! -s conftest.err'
64673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64674  (eval $ac_try) 2>&5
64675  ac_status=$?
64676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677  (exit $ac_status); }; } &&
64678	 { ac_try='test -s conftest.$ac_objext'
64679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64680  (eval $ac_try) 2>&5
64681  ac_status=$?
64682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64683  (exit $ac_status); }; }; then
64684  glibcxx_cv_func__finitef_use=yes
64685else
64686  echo "$as_me: failed program was:" >&5
64687sed 's/^/| /' conftest.$ac_ext >&5
64688
64689glibcxx_cv_func__finitef_use=no
64690fi
64691rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64692      ac_ext=c
64693ac_cpp='$CPP $CPPFLAGS'
64694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696ac_compiler_gnu=$ac_cv_c_compiler_gnu
64697
64698
64699fi
64700
64701  fi
64702  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64703echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64704
64705    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64706
64707for ac_func in _finitef
64708do
64709as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64710echo "$as_me:$LINENO: checking for $ac_func" >&5
64711echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64712if eval "test \"\${$as_ac_var+set}\" = set"; then
64713  echo $ECHO_N "(cached) $ECHO_C" >&6
64714else
64715  if test x$gcc_no_link = xyes; then
64716  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64717echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64718   { (exit 1); exit 1; }; }
64719fi
64720cat >conftest.$ac_ext <<_ACEOF
64721/* confdefs.h.  */
64722_ACEOF
64723cat confdefs.h >>conftest.$ac_ext
64724cat >>conftest.$ac_ext <<_ACEOF
64725/* end confdefs.h.  */
64726/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64727   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64728#define $ac_func innocuous_$ac_func
64729
64730/* System header to define __stub macros and hopefully few prototypes,
64731    which can conflict with char $ac_func (); below.
64732    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64733    <limits.h> exists even on freestanding compilers.  */
64734
64735#ifdef __STDC__
64736# include <limits.h>
64737#else
64738# include <assert.h>
64739#endif
64740
64741#undef $ac_func
64742
64743/* Override any gcc2 internal prototype to avoid an error.  */
64744#ifdef __cplusplus
64745extern "C"
64746{
64747#endif
64748/* We use char because int might match the return type of a gcc2
64749   builtin and then its argument prototype would still apply.  */
64750char $ac_func ();
64751/* The GNU C library defines this for functions which it implements
64752    to always fail with ENOSYS.  Some functions are actually named
64753    something starting with __ and the normal name is an alias.  */
64754#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64755choke me
64756#else
64757char (*f) () = $ac_func;
64758#endif
64759#ifdef __cplusplus
64760}
64761#endif
64762
64763int
64764main ()
64765{
64766return f != $ac_func;
64767  ;
64768  return 0;
64769}
64770_ACEOF
64771rm -f conftest.$ac_objext conftest$ac_exeext
64772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64773  (eval $ac_link) 2>conftest.er1
64774  ac_status=$?
64775  grep -v '^ *+' conftest.er1 >conftest.err
64776  rm -f conftest.er1
64777  cat conftest.err >&5
64778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64779  (exit $ac_status); } &&
64780	 { ac_try='test -z "$ac_c_werror_flag"
64781			 || test ! -s conftest.err'
64782  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64783  (eval $ac_try) 2>&5
64784  ac_status=$?
64785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64786  (exit $ac_status); }; } &&
64787	 { ac_try='test -s conftest$ac_exeext'
64788  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64789  (eval $ac_try) 2>&5
64790  ac_status=$?
64791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64792  (exit $ac_status); }; }; then
64793  eval "$as_ac_var=yes"
64794else
64795  echo "$as_me: failed program was:" >&5
64796sed 's/^/| /' conftest.$ac_ext >&5
64797
64798eval "$as_ac_var=no"
64799fi
64800rm -f conftest.err conftest.$ac_objext \
64801      conftest$ac_exeext conftest.$ac_ext
64802fi
64803echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64804echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64805if test `eval echo '${'$as_ac_var'}'` = yes; then
64806  cat >>confdefs.h <<_ACEOF
64807#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64808_ACEOF
64809
64810fi
64811done
64812
64813    fi
64814  fi
64815
64816
64817
64818
64819
64820
64821    echo "$as_me:$LINENO: checking for long double trig functions" >&5
64822echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64823  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64824  echo $ECHO_N "(cached) $ECHO_C" >&6
64825else
64826
64827
64828
64829    ac_ext=cc
64830ac_cpp='$CXXCPP $CPPFLAGS'
64831ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64834
64835    cat >conftest.$ac_ext <<_ACEOF
64836/* confdefs.h.  */
64837_ACEOF
64838cat confdefs.h >>conftest.$ac_ext
64839cat >>conftest.$ac_ext <<_ACEOF
64840/* end confdefs.h.  */
64841#include <math.h>
64842int
64843main ()
64844{
64845acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64846  ;
64847  return 0;
64848}
64849_ACEOF
64850rm -f conftest.$ac_objext
64851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64852  (eval $ac_compile) 2>conftest.er1
64853  ac_status=$?
64854  grep -v '^ *+' conftest.er1 >conftest.err
64855  rm -f conftest.er1
64856  cat conftest.err >&5
64857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64858  (exit $ac_status); } &&
64859	 { ac_try='test -z "$ac_cxx_werror_flag"
64860			 || test ! -s conftest.err'
64861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64862  (eval $ac_try) 2>&5
64863  ac_status=$?
64864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64865  (exit $ac_status); }; } &&
64866	 { ac_try='test -s conftest.$ac_objext'
64867  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64868  (eval $ac_try) 2>&5
64869  ac_status=$?
64870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871  (exit $ac_status); }; }; then
64872  glibcxx_cv_func_long_double_trig_use=yes
64873else
64874  echo "$as_me: failed program was:" >&5
64875sed 's/^/| /' conftest.$ac_ext >&5
64876
64877glibcxx_cv_func_long_double_trig_use=no
64878fi
64879rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64880    ac_ext=c
64881ac_cpp='$CPP $CPPFLAGS'
64882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64884ac_compiler_gnu=$ac_cv_c_compiler_gnu
64885
64886fi
64887
64888  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64889echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64890  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64891
64892
64893
64894
64895
64896
64897
64898
64899
64900for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64901do
64902as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64903echo "$as_me:$LINENO: checking for $ac_func" >&5
64904echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64905if eval "test \"\${$as_ac_var+set}\" = set"; then
64906  echo $ECHO_N "(cached) $ECHO_C" >&6
64907else
64908  if test x$gcc_no_link = xyes; then
64909  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64910echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64911   { (exit 1); exit 1; }; }
64912fi
64913cat >conftest.$ac_ext <<_ACEOF
64914/* confdefs.h.  */
64915_ACEOF
64916cat confdefs.h >>conftest.$ac_ext
64917cat >>conftest.$ac_ext <<_ACEOF
64918/* end confdefs.h.  */
64919/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64920   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64921#define $ac_func innocuous_$ac_func
64922
64923/* System header to define __stub macros and hopefully few prototypes,
64924    which can conflict with char $ac_func (); below.
64925    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64926    <limits.h> exists even on freestanding compilers.  */
64927
64928#ifdef __STDC__
64929# include <limits.h>
64930#else
64931# include <assert.h>
64932#endif
64933
64934#undef $ac_func
64935
64936/* Override any gcc2 internal prototype to avoid an error.  */
64937#ifdef __cplusplus
64938extern "C"
64939{
64940#endif
64941/* We use char because int might match the return type of a gcc2
64942   builtin and then its argument prototype would still apply.  */
64943char $ac_func ();
64944/* The GNU C library defines this for functions which it implements
64945    to always fail with ENOSYS.  Some functions are actually named
64946    something starting with __ and the normal name is an alias.  */
64947#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64948choke me
64949#else
64950char (*f) () = $ac_func;
64951#endif
64952#ifdef __cplusplus
64953}
64954#endif
64955
64956int
64957main ()
64958{
64959return f != $ac_func;
64960  ;
64961  return 0;
64962}
64963_ACEOF
64964rm -f conftest.$ac_objext conftest$ac_exeext
64965if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64966  (eval $ac_link) 2>conftest.er1
64967  ac_status=$?
64968  grep -v '^ *+' conftest.er1 >conftest.err
64969  rm -f conftest.er1
64970  cat conftest.err >&5
64971  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64972  (exit $ac_status); } &&
64973	 { ac_try='test -z "$ac_c_werror_flag"
64974			 || test ! -s conftest.err'
64975  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64976  (eval $ac_try) 2>&5
64977  ac_status=$?
64978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64979  (exit $ac_status); }; } &&
64980	 { ac_try='test -s conftest$ac_exeext'
64981  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64982  (eval $ac_try) 2>&5
64983  ac_status=$?
64984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64985  (exit $ac_status); }; }; then
64986  eval "$as_ac_var=yes"
64987else
64988  echo "$as_me: failed program was:" >&5
64989sed 's/^/| /' conftest.$ac_ext >&5
64990
64991eval "$as_ac_var=no"
64992fi
64993rm -f conftest.err conftest.$ac_objext \
64994      conftest$ac_exeext conftest.$ac_ext
64995fi
64996echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64997echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64998if test `eval echo '${'$as_ac_var'}'` = yes; then
64999  cat >>confdefs.h <<_ACEOF
65000#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65001_ACEOF
65002
65003fi
65004done
65005
65006  else
65007    echo "$as_me:$LINENO: checking for _long double trig functions" >&5
65008echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
65009    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
65010  echo $ECHO_N "(cached) $ECHO_C" >&6
65011else
65012
65013
65014
65015      ac_ext=cc
65016ac_cpp='$CXXCPP $CPPFLAGS'
65017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65020
65021      cat >conftest.$ac_ext <<_ACEOF
65022/* confdefs.h.  */
65023_ACEOF
65024cat confdefs.h >>conftest.$ac_ext
65025cat >>conftest.$ac_ext <<_ACEOF
65026/* end confdefs.h.  */
65027#include <math.h>
65028int
65029main ()
65030{
65031_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
65032  ;
65033  return 0;
65034}
65035_ACEOF
65036rm -f conftest.$ac_objext
65037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65038  (eval $ac_compile) 2>conftest.er1
65039  ac_status=$?
65040  grep -v '^ *+' conftest.er1 >conftest.err
65041  rm -f conftest.er1
65042  cat conftest.err >&5
65043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65044  (exit $ac_status); } &&
65045	 { ac_try='test -z "$ac_cxx_werror_flag"
65046			 || test ! -s conftest.err'
65047  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65048  (eval $ac_try) 2>&5
65049  ac_status=$?
65050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65051  (exit $ac_status); }; } &&
65052	 { ac_try='test -s conftest.$ac_objext'
65053  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65054  (eval $ac_try) 2>&5
65055  ac_status=$?
65056  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65057  (exit $ac_status); }; }; then
65058  glibcxx_cv_func__long_double_trig_use=yes
65059else
65060  echo "$as_me: failed program was:" >&5
65061sed 's/^/| /' conftest.$ac_ext >&5
65062
65063glibcxx_cv_func__long_double_trig_use=no
65064fi
65065rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65066      ac_ext=c
65067ac_cpp='$CPP $CPPFLAGS'
65068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65070ac_compiler_gnu=$ac_cv_c_compiler_gnu
65071
65072fi
65073
65074    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
65075echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
65076    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
65077
65078
65079
65080
65081
65082
65083
65084
65085
65086for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
65087do
65088as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65089echo "$as_me:$LINENO: checking for $ac_func" >&5
65090echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65091if eval "test \"\${$as_ac_var+set}\" = set"; then
65092  echo $ECHO_N "(cached) $ECHO_C" >&6
65093else
65094  if test x$gcc_no_link = xyes; then
65095  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65096echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65097   { (exit 1); exit 1; }; }
65098fi
65099cat >conftest.$ac_ext <<_ACEOF
65100/* confdefs.h.  */
65101_ACEOF
65102cat confdefs.h >>conftest.$ac_ext
65103cat >>conftest.$ac_ext <<_ACEOF
65104/* end confdefs.h.  */
65105/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65106   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65107#define $ac_func innocuous_$ac_func
65108
65109/* System header to define __stub macros and hopefully few prototypes,
65110    which can conflict with char $ac_func (); below.
65111    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65112    <limits.h> exists even on freestanding compilers.  */
65113
65114#ifdef __STDC__
65115# include <limits.h>
65116#else
65117# include <assert.h>
65118#endif
65119
65120#undef $ac_func
65121
65122/* Override any gcc2 internal prototype to avoid an error.  */
65123#ifdef __cplusplus
65124extern "C"
65125{
65126#endif
65127/* We use char because int might match the return type of a gcc2
65128   builtin and then its argument prototype would still apply.  */
65129char $ac_func ();
65130/* The GNU C library defines this for functions which it implements
65131    to always fail with ENOSYS.  Some functions are actually named
65132    something starting with __ and the normal name is an alias.  */
65133#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65134choke me
65135#else
65136char (*f) () = $ac_func;
65137#endif
65138#ifdef __cplusplus
65139}
65140#endif
65141
65142int
65143main ()
65144{
65145return f != $ac_func;
65146  ;
65147  return 0;
65148}
65149_ACEOF
65150rm -f conftest.$ac_objext conftest$ac_exeext
65151if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65152  (eval $ac_link) 2>conftest.er1
65153  ac_status=$?
65154  grep -v '^ *+' conftest.er1 >conftest.err
65155  rm -f conftest.er1
65156  cat conftest.err >&5
65157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65158  (exit $ac_status); } &&
65159	 { ac_try='test -z "$ac_c_werror_flag"
65160			 || test ! -s conftest.err'
65161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65162  (eval $ac_try) 2>&5
65163  ac_status=$?
65164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65165  (exit $ac_status); }; } &&
65166	 { ac_try='test -s conftest$ac_exeext'
65167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65168  (eval $ac_try) 2>&5
65169  ac_status=$?
65170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65171  (exit $ac_status); }; }; then
65172  eval "$as_ac_var=yes"
65173else
65174  echo "$as_me: failed program was:" >&5
65175sed 's/^/| /' conftest.$ac_ext >&5
65176
65177eval "$as_ac_var=no"
65178fi
65179rm -f conftest.err conftest.$ac_objext \
65180      conftest$ac_exeext conftest.$ac_ext
65181fi
65182echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65183echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65184if test `eval echo '${'$as_ac_var'}'` = yes; then
65185  cat >>confdefs.h <<_ACEOF
65186#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65187_ACEOF
65188
65189fi
65190done
65191
65192    fi
65193  fi
65194
65195
65196
65197
65198
65199
65200
65201
65202
65203
65204
65205
65206
65207
65208    echo "$as_me:$LINENO: checking for long double round functions" >&5
65209echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65210  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65211  echo $ECHO_N "(cached) $ECHO_C" >&6
65212else
65213
65214
65215
65216    ac_ext=cc
65217ac_cpp='$CXXCPP $CPPFLAGS'
65218ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65219ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65220ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65221
65222    cat >conftest.$ac_ext <<_ACEOF
65223/* confdefs.h.  */
65224_ACEOF
65225cat confdefs.h >>conftest.$ac_ext
65226cat >>conftest.$ac_ext <<_ACEOF
65227/* end confdefs.h.  */
65228#include <math.h>
65229int
65230main ()
65231{
65232ceill (0); floorl (0);
65233  ;
65234  return 0;
65235}
65236_ACEOF
65237rm -f conftest.$ac_objext
65238if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65239  (eval $ac_compile) 2>conftest.er1
65240  ac_status=$?
65241  grep -v '^ *+' conftest.er1 >conftest.err
65242  rm -f conftest.er1
65243  cat conftest.err >&5
65244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65245  (exit $ac_status); } &&
65246	 { ac_try='test -z "$ac_cxx_werror_flag"
65247			 || test ! -s conftest.err'
65248  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65249  (eval $ac_try) 2>&5
65250  ac_status=$?
65251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65252  (exit $ac_status); }; } &&
65253	 { ac_try='test -s conftest.$ac_objext'
65254  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65255  (eval $ac_try) 2>&5
65256  ac_status=$?
65257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65258  (exit $ac_status); }; }; then
65259  glibcxx_cv_func_long_double_round_use=yes
65260else
65261  echo "$as_me: failed program was:" >&5
65262sed 's/^/| /' conftest.$ac_ext >&5
65263
65264glibcxx_cv_func_long_double_round_use=no
65265fi
65266rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65267    ac_ext=c
65268ac_cpp='$CPP $CPPFLAGS'
65269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65271ac_compiler_gnu=$ac_cv_c_compiler_gnu
65272
65273fi
65274
65275  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65276echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65277  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65278
65279
65280for ac_func in ceill floorl
65281do
65282as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65283echo "$as_me:$LINENO: checking for $ac_func" >&5
65284echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65285if eval "test \"\${$as_ac_var+set}\" = set"; then
65286  echo $ECHO_N "(cached) $ECHO_C" >&6
65287else
65288  if test x$gcc_no_link = xyes; then
65289  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65290echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65291   { (exit 1); exit 1; }; }
65292fi
65293cat >conftest.$ac_ext <<_ACEOF
65294/* confdefs.h.  */
65295_ACEOF
65296cat confdefs.h >>conftest.$ac_ext
65297cat >>conftest.$ac_ext <<_ACEOF
65298/* end confdefs.h.  */
65299/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65300   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65301#define $ac_func innocuous_$ac_func
65302
65303/* System header to define __stub macros and hopefully few prototypes,
65304    which can conflict with char $ac_func (); below.
65305    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65306    <limits.h> exists even on freestanding compilers.  */
65307
65308#ifdef __STDC__
65309# include <limits.h>
65310#else
65311# include <assert.h>
65312#endif
65313
65314#undef $ac_func
65315
65316/* Override any gcc2 internal prototype to avoid an error.  */
65317#ifdef __cplusplus
65318extern "C"
65319{
65320#endif
65321/* We use char because int might match the return type of a gcc2
65322   builtin and then its argument prototype would still apply.  */
65323char $ac_func ();
65324/* The GNU C library defines this for functions which it implements
65325    to always fail with ENOSYS.  Some functions are actually named
65326    something starting with __ and the normal name is an alias.  */
65327#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65328choke me
65329#else
65330char (*f) () = $ac_func;
65331#endif
65332#ifdef __cplusplus
65333}
65334#endif
65335
65336int
65337main ()
65338{
65339return f != $ac_func;
65340  ;
65341  return 0;
65342}
65343_ACEOF
65344rm -f conftest.$ac_objext conftest$ac_exeext
65345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65346  (eval $ac_link) 2>conftest.er1
65347  ac_status=$?
65348  grep -v '^ *+' conftest.er1 >conftest.err
65349  rm -f conftest.er1
65350  cat conftest.err >&5
65351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65352  (exit $ac_status); } &&
65353	 { ac_try='test -z "$ac_c_werror_flag"
65354			 || test ! -s conftest.err'
65355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65356  (eval $ac_try) 2>&5
65357  ac_status=$?
65358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65359  (exit $ac_status); }; } &&
65360	 { ac_try='test -s conftest$ac_exeext'
65361  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65362  (eval $ac_try) 2>&5
65363  ac_status=$?
65364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65365  (exit $ac_status); }; }; then
65366  eval "$as_ac_var=yes"
65367else
65368  echo "$as_me: failed program was:" >&5
65369sed 's/^/| /' conftest.$ac_ext >&5
65370
65371eval "$as_ac_var=no"
65372fi
65373rm -f conftest.err conftest.$ac_objext \
65374      conftest$ac_exeext conftest.$ac_ext
65375fi
65376echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65377echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65378if test `eval echo '${'$as_ac_var'}'` = yes; then
65379  cat >>confdefs.h <<_ACEOF
65380#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65381_ACEOF
65382
65383fi
65384done
65385
65386  else
65387    echo "$as_me:$LINENO: checking for _long double round functions" >&5
65388echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65389    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65390  echo $ECHO_N "(cached) $ECHO_C" >&6
65391else
65392
65393
65394
65395      ac_ext=cc
65396ac_cpp='$CXXCPP $CPPFLAGS'
65397ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65398ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65399ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65400
65401      cat >conftest.$ac_ext <<_ACEOF
65402/* confdefs.h.  */
65403_ACEOF
65404cat confdefs.h >>conftest.$ac_ext
65405cat >>conftest.$ac_ext <<_ACEOF
65406/* end confdefs.h.  */
65407#include <math.h>
65408int
65409main ()
65410{
65411_ceill (0); _floorl (0);
65412  ;
65413  return 0;
65414}
65415_ACEOF
65416rm -f conftest.$ac_objext
65417if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65418  (eval $ac_compile) 2>conftest.er1
65419  ac_status=$?
65420  grep -v '^ *+' conftest.er1 >conftest.err
65421  rm -f conftest.er1
65422  cat conftest.err >&5
65423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65424  (exit $ac_status); } &&
65425	 { ac_try='test -z "$ac_cxx_werror_flag"
65426			 || test ! -s conftest.err'
65427  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65428  (eval $ac_try) 2>&5
65429  ac_status=$?
65430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431  (exit $ac_status); }; } &&
65432	 { ac_try='test -s conftest.$ac_objext'
65433  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65434  (eval $ac_try) 2>&5
65435  ac_status=$?
65436  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65437  (exit $ac_status); }; }; then
65438  glibcxx_cv_func__long_double_round_use=yes
65439else
65440  echo "$as_me: failed program was:" >&5
65441sed 's/^/| /' conftest.$ac_ext >&5
65442
65443glibcxx_cv_func__long_double_round_use=no
65444fi
65445rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65446      ac_ext=c
65447ac_cpp='$CPP $CPPFLAGS'
65448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450ac_compiler_gnu=$ac_cv_c_compiler_gnu
65451
65452fi
65453
65454    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65455echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65456    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65457
65458
65459for ac_func in _ceill _floorl
65460do
65461as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65462echo "$as_me:$LINENO: checking for $ac_func" >&5
65463echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65464if eval "test \"\${$as_ac_var+set}\" = set"; then
65465  echo $ECHO_N "(cached) $ECHO_C" >&6
65466else
65467  if test x$gcc_no_link = xyes; then
65468  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65469echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65470   { (exit 1); exit 1; }; }
65471fi
65472cat >conftest.$ac_ext <<_ACEOF
65473/* confdefs.h.  */
65474_ACEOF
65475cat confdefs.h >>conftest.$ac_ext
65476cat >>conftest.$ac_ext <<_ACEOF
65477/* end confdefs.h.  */
65478/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65479   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65480#define $ac_func innocuous_$ac_func
65481
65482/* System header to define __stub macros and hopefully few prototypes,
65483    which can conflict with char $ac_func (); below.
65484    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65485    <limits.h> exists even on freestanding compilers.  */
65486
65487#ifdef __STDC__
65488# include <limits.h>
65489#else
65490# include <assert.h>
65491#endif
65492
65493#undef $ac_func
65494
65495/* Override any gcc2 internal prototype to avoid an error.  */
65496#ifdef __cplusplus
65497extern "C"
65498{
65499#endif
65500/* We use char because int might match the return type of a gcc2
65501   builtin and then its argument prototype would still apply.  */
65502char $ac_func ();
65503/* The GNU C library defines this for functions which it implements
65504    to always fail with ENOSYS.  Some functions are actually named
65505    something starting with __ and the normal name is an alias.  */
65506#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65507choke me
65508#else
65509char (*f) () = $ac_func;
65510#endif
65511#ifdef __cplusplus
65512}
65513#endif
65514
65515int
65516main ()
65517{
65518return f != $ac_func;
65519  ;
65520  return 0;
65521}
65522_ACEOF
65523rm -f conftest.$ac_objext conftest$ac_exeext
65524if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65525  (eval $ac_link) 2>conftest.er1
65526  ac_status=$?
65527  grep -v '^ *+' conftest.er1 >conftest.err
65528  rm -f conftest.er1
65529  cat conftest.err >&5
65530  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531  (exit $ac_status); } &&
65532	 { ac_try='test -z "$ac_c_werror_flag"
65533			 || test ! -s conftest.err'
65534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65535  (eval $ac_try) 2>&5
65536  ac_status=$?
65537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65538  (exit $ac_status); }; } &&
65539	 { ac_try='test -s conftest$ac_exeext'
65540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65541  (eval $ac_try) 2>&5
65542  ac_status=$?
65543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65544  (exit $ac_status); }; }; then
65545  eval "$as_ac_var=yes"
65546else
65547  echo "$as_me: failed program was:" >&5
65548sed 's/^/| /' conftest.$ac_ext >&5
65549
65550eval "$as_ac_var=no"
65551fi
65552rm -f conftest.err conftest.$ac_objext \
65553      conftest$ac_exeext conftest.$ac_ext
65554fi
65555echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65556echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65557if test `eval echo '${'$as_ac_var'}'` = yes; then
65558  cat >>confdefs.h <<_ACEOF
65559#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65560_ACEOF
65561
65562fi
65563done
65564
65565    fi
65566  fi
65567
65568
65569
65570
65571
65572
65573
65574
65575  echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65576echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65577  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65578    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65579  echo $ECHO_N "(cached) $ECHO_C" >&6
65580else
65581
65582
65583
65584      ac_ext=cc
65585ac_cpp='$CXXCPP $CPPFLAGS'
65586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65589
65590      cat >conftest.$ac_ext <<_ACEOF
65591/* confdefs.h.  */
65592_ACEOF
65593cat confdefs.h >>conftest.$ac_ext
65594cat >>conftest.$ac_ext <<_ACEOF
65595/* end confdefs.h.  */
65596#include <math.h>
65597		      #ifdef HAVE_IEEEFP_H
65598		      #include <ieeefp.h>
65599		      #endif
65600
65601int
65602main ()
65603{
65604 isnanl(0);
65605  ;
65606  return 0;
65607}
65608_ACEOF
65609rm -f conftest.$ac_objext
65610if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65611  (eval $ac_compile) 2>conftest.er1
65612  ac_status=$?
65613  grep -v '^ *+' conftest.er1 >conftest.err
65614  rm -f conftest.er1
65615  cat conftest.err >&5
65616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65617  (exit $ac_status); } &&
65618	 { ac_try='test -z "$ac_cxx_werror_flag"
65619			 || test ! -s conftest.err'
65620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65621  (eval $ac_try) 2>&5
65622  ac_status=$?
65623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65624  (exit $ac_status); }; } &&
65625	 { ac_try='test -s conftest.$ac_objext'
65626  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65627  (eval $ac_try) 2>&5
65628  ac_status=$?
65629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65630  (exit $ac_status); }; }; then
65631  glibcxx_cv_func_isnanl_use=yes
65632else
65633  echo "$as_me: failed program was:" >&5
65634sed 's/^/| /' conftest.$ac_ext >&5
65635
65636glibcxx_cv_func_isnanl_use=no
65637fi
65638rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65639      ac_ext=c
65640ac_cpp='$CPP $CPPFLAGS'
65641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643ac_compiler_gnu=$ac_cv_c_compiler_gnu
65644
65645
65646fi
65647
65648  fi
65649  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65650echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65651
65652  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65653
65654for ac_func in isnanl
65655do
65656as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65657echo "$as_me:$LINENO: checking for $ac_func" >&5
65658echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65659if eval "test \"\${$as_ac_var+set}\" = set"; then
65660  echo $ECHO_N "(cached) $ECHO_C" >&6
65661else
65662  if test x$gcc_no_link = xyes; then
65663  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65664echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65665   { (exit 1); exit 1; }; }
65666fi
65667cat >conftest.$ac_ext <<_ACEOF
65668/* confdefs.h.  */
65669_ACEOF
65670cat confdefs.h >>conftest.$ac_ext
65671cat >>conftest.$ac_ext <<_ACEOF
65672/* end confdefs.h.  */
65673/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65674   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65675#define $ac_func innocuous_$ac_func
65676
65677/* System header to define __stub macros and hopefully few prototypes,
65678    which can conflict with char $ac_func (); below.
65679    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65680    <limits.h> exists even on freestanding compilers.  */
65681
65682#ifdef __STDC__
65683# include <limits.h>
65684#else
65685# include <assert.h>
65686#endif
65687
65688#undef $ac_func
65689
65690/* Override any gcc2 internal prototype to avoid an error.  */
65691#ifdef __cplusplus
65692extern "C"
65693{
65694#endif
65695/* We use char because int might match the return type of a gcc2
65696   builtin and then its argument prototype would still apply.  */
65697char $ac_func ();
65698/* The GNU C library defines this for functions which it implements
65699    to always fail with ENOSYS.  Some functions are actually named
65700    something starting with __ and the normal name is an alias.  */
65701#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65702choke me
65703#else
65704char (*f) () = $ac_func;
65705#endif
65706#ifdef __cplusplus
65707}
65708#endif
65709
65710int
65711main ()
65712{
65713return f != $ac_func;
65714  ;
65715  return 0;
65716}
65717_ACEOF
65718rm -f conftest.$ac_objext conftest$ac_exeext
65719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65720  (eval $ac_link) 2>conftest.er1
65721  ac_status=$?
65722  grep -v '^ *+' conftest.er1 >conftest.err
65723  rm -f conftest.er1
65724  cat conftest.err >&5
65725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65726  (exit $ac_status); } &&
65727	 { ac_try='test -z "$ac_c_werror_flag"
65728			 || test ! -s conftest.err'
65729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65730  (eval $ac_try) 2>&5
65731  ac_status=$?
65732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65733  (exit $ac_status); }; } &&
65734	 { ac_try='test -s conftest$ac_exeext'
65735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65736  (eval $ac_try) 2>&5
65737  ac_status=$?
65738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65739  (exit $ac_status); }; }; then
65740  eval "$as_ac_var=yes"
65741else
65742  echo "$as_me: failed program was:" >&5
65743sed 's/^/| /' conftest.$ac_ext >&5
65744
65745eval "$as_ac_var=no"
65746fi
65747rm -f conftest.err conftest.$ac_objext \
65748      conftest$ac_exeext conftest.$ac_ext
65749fi
65750echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65751echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65752if test `eval echo '${'$as_ac_var'}'` = yes; then
65753  cat >>confdefs.h <<_ACEOF
65754#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65755_ACEOF
65756
65757fi
65758done
65759
65760  else
65761
65762  echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65763echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65764  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65765    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65766  echo $ECHO_N "(cached) $ECHO_C" >&6
65767else
65768
65769
65770
65771      ac_ext=cc
65772ac_cpp='$CXXCPP $CPPFLAGS'
65773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65776
65777      cat >conftest.$ac_ext <<_ACEOF
65778/* confdefs.h.  */
65779_ACEOF
65780cat confdefs.h >>conftest.$ac_ext
65781cat >>conftest.$ac_ext <<_ACEOF
65782/* end confdefs.h.  */
65783#include <math.h>
65784		      #ifdef HAVE_IEEEFP_H
65785		      #include <ieeefp.h>
65786		      #endif
65787
65788int
65789main ()
65790{
65791 _isnanl(0);
65792  ;
65793  return 0;
65794}
65795_ACEOF
65796rm -f conftest.$ac_objext
65797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65798  (eval $ac_compile) 2>conftest.er1
65799  ac_status=$?
65800  grep -v '^ *+' conftest.er1 >conftest.err
65801  rm -f conftest.er1
65802  cat conftest.err >&5
65803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65804  (exit $ac_status); } &&
65805	 { ac_try='test -z "$ac_cxx_werror_flag"
65806			 || test ! -s conftest.err'
65807  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65808  (eval $ac_try) 2>&5
65809  ac_status=$?
65810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65811  (exit $ac_status); }; } &&
65812	 { ac_try='test -s conftest.$ac_objext'
65813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65814  (eval $ac_try) 2>&5
65815  ac_status=$?
65816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65817  (exit $ac_status); }; }; then
65818  glibcxx_cv_func__isnanl_use=yes
65819else
65820  echo "$as_me: failed program was:" >&5
65821sed 's/^/| /' conftest.$ac_ext >&5
65822
65823glibcxx_cv_func__isnanl_use=no
65824fi
65825rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65826      ac_ext=c
65827ac_cpp='$CPP $CPPFLAGS'
65828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830ac_compiler_gnu=$ac_cv_c_compiler_gnu
65831
65832
65833fi
65834
65835  fi
65836  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65837echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65838
65839    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65840
65841for ac_func in _isnanl
65842do
65843as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65844echo "$as_me:$LINENO: checking for $ac_func" >&5
65845echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65846if eval "test \"\${$as_ac_var+set}\" = set"; then
65847  echo $ECHO_N "(cached) $ECHO_C" >&6
65848else
65849  if test x$gcc_no_link = xyes; then
65850  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65851echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65852   { (exit 1); exit 1; }; }
65853fi
65854cat >conftest.$ac_ext <<_ACEOF
65855/* confdefs.h.  */
65856_ACEOF
65857cat confdefs.h >>conftest.$ac_ext
65858cat >>conftest.$ac_ext <<_ACEOF
65859/* end confdefs.h.  */
65860/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65861   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65862#define $ac_func innocuous_$ac_func
65863
65864/* System header to define __stub macros and hopefully few prototypes,
65865    which can conflict with char $ac_func (); below.
65866    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65867    <limits.h> exists even on freestanding compilers.  */
65868
65869#ifdef __STDC__
65870# include <limits.h>
65871#else
65872# include <assert.h>
65873#endif
65874
65875#undef $ac_func
65876
65877/* Override any gcc2 internal prototype to avoid an error.  */
65878#ifdef __cplusplus
65879extern "C"
65880{
65881#endif
65882/* We use char because int might match the return type of a gcc2
65883   builtin and then its argument prototype would still apply.  */
65884char $ac_func ();
65885/* The GNU C library defines this for functions which it implements
65886    to always fail with ENOSYS.  Some functions are actually named
65887    something starting with __ and the normal name is an alias.  */
65888#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65889choke me
65890#else
65891char (*f) () = $ac_func;
65892#endif
65893#ifdef __cplusplus
65894}
65895#endif
65896
65897int
65898main ()
65899{
65900return f != $ac_func;
65901  ;
65902  return 0;
65903}
65904_ACEOF
65905rm -f conftest.$ac_objext conftest$ac_exeext
65906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65907  (eval $ac_link) 2>conftest.er1
65908  ac_status=$?
65909  grep -v '^ *+' conftest.er1 >conftest.err
65910  rm -f conftest.er1
65911  cat conftest.err >&5
65912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65913  (exit $ac_status); } &&
65914	 { ac_try='test -z "$ac_c_werror_flag"
65915			 || test ! -s conftest.err'
65916  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65917  (eval $ac_try) 2>&5
65918  ac_status=$?
65919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65920  (exit $ac_status); }; } &&
65921	 { ac_try='test -s conftest$ac_exeext'
65922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65923  (eval $ac_try) 2>&5
65924  ac_status=$?
65925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65926  (exit $ac_status); }; }; then
65927  eval "$as_ac_var=yes"
65928else
65929  echo "$as_me: failed program was:" >&5
65930sed 's/^/| /' conftest.$ac_ext >&5
65931
65932eval "$as_ac_var=no"
65933fi
65934rm -f conftest.err conftest.$ac_objext \
65935      conftest$ac_exeext conftest.$ac_ext
65936fi
65937echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65938echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65939if test `eval echo '${'$as_ac_var'}'` = yes; then
65940  cat >>confdefs.h <<_ACEOF
65941#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65942_ACEOF
65943
65944fi
65945done
65946
65947    fi
65948  fi
65949
65950
65951
65952
65953
65954
65955  echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65956echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65957  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65958    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65959  echo $ECHO_N "(cached) $ECHO_C" >&6
65960else
65961
65962
65963
65964      ac_ext=cc
65965ac_cpp='$CXXCPP $CPPFLAGS'
65966ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65967ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65968ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65969
65970      cat >conftest.$ac_ext <<_ACEOF
65971/* confdefs.h.  */
65972_ACEOF
65973cat confdefs.h >>conftest.$ac_ext
65974cat >>conftest.$ac_ext <<_ACEOF
65975/* end confdefs.h.  */
65976#include <math.h>
65977		      #ifdef HAVE_IEEEFP_H
65978		      #include <ieeefp.h>
65979		      #endif
65980
65981int
65982main ()
65983{
65984 isinfl(0);
65985  ;
65986  return 0;
65987}
65988_ACEOF
65989rm -f conftest.$ac_objext
65990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65991  (eval $ac_compile) 2>conftest.er1
65992  ac_status=$?
65993  grep -v '^ *+' conftest.er1 >conftest.err
65994  rm -f conftest.er1
65995  cat conftest.err >&5
65996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65997  (exit $ac_status); } &&
65998	 { ac_try='test -z "$ac_cxx_werror_flag"
65999			 || test ! -s conftest.err'
66000  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66001  (eval $ac_try) 2>&5
66002  ac_status=$?
66003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004  (exit $ac_status); }; } &&
66005	 { ac_try='test -s conftest.$ac_objext'
66006  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66007  (eval $ac_try) 2>&5
66008  ac_status=$?
66009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66010  (exit $ac_status); }; }; then
66011  glibcxx_cv_func_isinfl_use=yes
66012else
66013  echo "$as_me: failed program was:" >&5
66014sed 's/^/| /' conftest.$ac_ext >&5
66015
66016glibcxx_cv_func_isinfl_use=no
66017fi
66018rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66019      ac_ext=c
66020ac_cpp='$CPP $CPPFLAGS'
66021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023ac_compiler_gnu=$ac_cv_c_compiler_gnu
66024
66025
66026fi
66027
66028  fi
66029  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
66030echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
66031
66032  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66033
66034for ac_func in isinfl
66035do
66036as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66037echo "$as_me:$LINENO: checking for $ac_func" >&5
66038echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66039if eval "test \"\${$as_ac_var+set}\" = set"; then
66040  echo $ECHO_N "(cached) $ECHO_C" >&6
66041else
66042  if test x$gcc_no_link = xyes; then
66043  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66044echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66045   { (exit 1); exit 1; }; }
66046fi
66047cat >conftest.$ac_ext <<_ACEOF
66048/* confdefs.h.  */
66049_ACEOF
66050cat confdefs.h >>conftest.$ac_ext
66051cat >>conftest.$ac_ext <<_ACEOF
66052/* end confdefs.h.  */
66053/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66054   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66055#define $ac_func innocuous_$ac_func
66056
66057/* System header to define __stub macros and hopefully few prototypes,
66058    which can conflict with char $ac_func (); below.
66059    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66060    <limits.h> exists even on freestanding compilers.  */
66061
66062#ifdef __STDC__
66063# include <limits.h>
66064#else
66065# include <assert.h>
66066#endif
66067
66068#undef $ac_func
66069
66070/* Override any gcc2 internal prototype to avoid an error.  */
66071#ifdef __cplusplus
66072extern "C"
66073{
66074#endif
66075/* We use char because int might match the return type of a gcc2
66076   builtin and then its argument prototype would still apply.  */
66077char $ac_func ();
66078/* The GNU C library defines this for functions which it implements
66079    to always fail with ENOSYS.  Some functions are actually named
66080    something starting with __ and the normal name is an alias.  */
66081#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66082choke me
66083#else
66084char (*f) () = $ac_func;
66085#endif
66086#ifdef __cplusplus
66087}
66088#endif
66089
66090int
66091main ()
66092{
66093return f != $ac_func;
66094  ;
66095  return 0;
66096}
66097_ACEOF
66098rm -f conftest.$ac_objext conftest$ac_exeext
66099if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66100  (eval $ac_link) 2>conftest.er1
66101  ac_status=$?
66102  grep -v '^ *+' conftest.er1 >conftest.err
66103  rm -f conftest.er1
66104  cat conftest.err >&5
66105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66106  (exit $ac_status); } &&
66107	 { ac_try='test -z "$ac_c_werror_flag"
66108			 || test ! -s conftest.err'
66109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66110  (eval $ac_try) 2>&5
66111  ac_status=$?
66112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113  (exit $ac_status); }; } &&
66114	 { ac_try='test -s conftest$ac_exeext'
66115  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66116  (eval $ac_try) 2>&5
66117  ac_status=$?
66118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66119  (exit $ac_status); }; }; then
66120  eval "$as_ac_var=yes"
66121else
66122  echo "$as_me: failed program was:" >&5
66123sed 's/^/| /' conftest.$ac_ext >&5
66124
66125eval "$as_ac_var=no"
66126fi
66127rm -f conftest.err conftest.$ac_objext \
66128      conftest$ac_exeext conftest.$ac_ext
66129fi
66130echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66131echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66132if test `eval echo '${'$as_ac_var'}'` = yes; then
66133  cat >>confdefs.h <<_ACEOF
66134#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66135_ACEOF
66136
66137fi
66138done
66139
66140  else
66141
66142  echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
66143echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
66144  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66145    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
66146  echo $ECHO_N "(cached) $ECHO_C" >&6
66147else
66148
66149
66150
66151      ac_ext=cc
66152ac_cpp='$CXXCPP $CPPFLAGS'
66153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66156
66157      cat >conftest.$ac_ext <<_ACEOF
66158/* confdefs.h.  */
66159_ACEOF
66160cat confdefs.h >>conftest.$ac_ext
66161cat >>conftest.$ac_ext <<_ACEOF
66162/* end confdefs.h.  */
66163#include <math.h>
66164		      #ifdef HAVE_IEEEFP_H
66165		      #include <ieeefp.h>
66166		      #endif
66167
66168int
66169main ()
66170{
66171 _isinfl(0);
66172  ;
66173  return 0;
66174}
66175_ACEOF
66176rm -f conftest.$ac_objext
66177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66178  (eval $ac_compile) 2>conftest.er1
66179  ac_status=$?
66180  grep -v '^ *+' conftest.er1 >conftest.err
66181  rm -f conftest.er1
66182  cat conftest.err >&5
66183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66184  (exit $ac_status); } &&
66185	 { ac_try='test -z "$ac_cxx_werror_flag"
66186			 || test ! -s conftest.err'
66187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66188  (eval $ac_try) 2>&5
66189  ac_status=$?
66190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66191  (exit $ac_status); }; } &&
66192	 { ac_try='test -s conftest.$ac_objext'
66193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66194  (eval $ac_try) 2>&5
66195  ac_status=$?
66196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197  (exit $ac_status); }; }; then
66198  glibcxx_cv_func__isinfl_use=yes
66199else
66200  echo "$as_me: failed program was:" >&5
66201sed 's/^/| /' conftest.$ac_ext >&5
66202
66203glibcxx_cv_func__isinfl_use=no
66204fi
66205rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66206      ac_ext=c
66207ac_cpp='$CPP $CPPFLAGS'
66208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66210ac_compiler_gnu=$ac_cv_c_compiler_gnu
66211
66212
66213fi
66214
66215  fi
66216  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66217echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66218
66219    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66220
66221for ac_func in _isinfl
66222do
66223as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66224echo "$as_me:$LINENO: checking for $ac_func" >&5
66225echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66226if eval "test \"\${$as_ac_var+set}\" = set"; then
66227  echo $ECHO_N "(cached) $ECHO_C" >&6
66228else
66229  if test x$gcc_no_link = xyes; then
66230  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66231echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66232   { (exit 1); exit 1; }; }
66233fi
66234cat >conftest.$ac_ext <<_ACEOF
66235/* confdefs.h.  */
66236_ACEOF
66237cat confdefs.h >>conftest.$ac_ext
66238cat >>conftest.$ac_ext <<_ACEOF
66239/* end confdefs.h.  */
66240/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66241   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66242#define $ac_func innocuous_$ac_func
66243
66244/* System header to define __stub macros and hopefully few prototypes,
66245    which can conflict with char $ac_func (); below.
66246    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66247    <limits.h> exists even on freestanding compilers.  */
66248
66249#ifdef __STDC__
66250# include <limits.h>
66251#else
66252# include <assert.h>
66253#endif
66254
66255#undef $ac_func
66256
66257/* Override any gcc2 internal prototype to avoid an error.  */
66258#ifdef __cplusplus
66259extern "C"
66260{
66261#endif
66262/* We use char because int might match the return type of a gcc2
66263   builtin and then its argument prototype would still apply.  */
66264char $ac_func ();
66265/* The GNU C library defines this for functions which it implements
66266    to always fail with ENOSYS.  Some functions are actually named
66267    something starting with __ and the normal name is an alias.  */
66268#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66269choke me
66270#else
66271char (*f) () = $ac_func;
66272#endif
66273#ifdef __cplusplus
66274}
66275#endif
66276
66277int
66278main ()
66279{
66280return f != $ac_func;
66281  ;
66282  return 0;
66283}
66284_ACEOF
66285rm -f conftest.$ac_objext conftest$ac_exeext
66286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66287  (eval $ac_link) 2>conftest.er1
66288  ac_status=$?
66289  grep -v '^ *+' conftest.er1 >conftest.err
66290  rm -f conftest.er1
66291  cat conftest.err >&5
66292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293  (exit $ac_status); } &&
66294	 { ac_try='test -z "$ac_c_werror_flag"
66295			 || test ! -s conftest.err'
66296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66297  (eval $ac_try) 2>&5
66298  ac_status=$?
66299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66300  (exit $ac_status); }; } &&
66301	 { ac_try='test -s conftest$ac_exeext'
66302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66303  (eval $ac_try) 2>&5
66304  ac_status=$?
66305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306  (exit $ac_status); }; }; then
66307  eval "$as_ac_var=yes"
66308else
66309  echo "$as_me: failed program was:" >&5
66310sed 's/^/| /' conftest.$ac_ext >&5
66311
66312eval "$as_ac_var=no"
66313fi
66314rm -f conftest.err conftest.$ac_objext \
66315      conftest$ac_exeext conftest.$ac_ext
66316fi
66317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66318echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66319if test `eval echo '${'$as_ac_var'}'` = yes; then
66320  cat >>confdefs.h <<_ACEOF
66321#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66322_ACEOF
66323
66324fi
66325done
66326
66327    fi
66328  fi
66329
66330
66331
66332
66333
66334
66335  echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66336echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66337  if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66338    if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66339  echo $ECHO_N "(cached) $ECHO_C" >&6
66340else
66341
66342
66343
66344      ac_ext=cc
66345ac_cpp='$CXXCPP $CPPFLAGS'
66346ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66349
66350      cat >conftest.$ac_ext <<_ACEOF
66351/* confdefs.h.  */
66352_ACEOF
66353cat confdefs.h >>conftest.$ac_ext
66354cat >>conftest.$ac_ext <<_ACEOF
66355/* end confdefs.h.  */
66356#include <math.h>
66357int
66358main ()
66359{
66360 copysignl(0, 0);
66361  ;
66362  return 0;
66363}
66364_ACEOF
66365rm -f conftest.$ac_objext
66366if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66367  (eval $ac_compile) 2>conftest.er1
66368  ac_status=$?
66369  grep -v '^ *+' conftest.er1 >conftest.err
66370  rm -f conftest.er1
66371  cat conftest.err >&5
66372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373  (exit $ac_status); } &&
66374	 { ac_try='test -z "$ac_cxx_werror_flag"
66375			 || test ! -s conftest.err'
66376  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66377  (eval $ac_try) 2>&5
66378  ac_status=$?
66379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66380  (exit $ac_status); }; } &&
66381	 { ac_try='test -s conftest.$ac_objext'
66382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66383  (eval $ac_try) 2>&5
66384  ac_status=$?
66385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66386  (exit $ac_status); }; }; then
66387  glibcxx_cv_func_copysignl_use=yes
66388else
66389  echo "$as_me: failed program was:" >&5
66390sed 's/^/| /' conftest.$ac_ext >&5
66391
66392glibcxx_cv_func_copysignl_use=no
66393fi
66394rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66395      ac_ext=c
66396ac_cpp='$CPP $CPPFLAGS'
66397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66399ac_compiler_gnu=$ac_cv_c_compiler_gnu
66400
66401
66402fi
66403
66404  fi
66405  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66406echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66407
66408  if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66409
66410for ac_func in copysignl
66411do
66412as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66413echo "$as_me:$LINENO: checking for $ac_func" >&5
66414echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66415if eval "test \"\${$as_ac_var+set}\" = set"; then
66416  echo $ECHO_N "(cached) $ECHO_C" >&6
66417else
66418  if test x$gcc_no_link = xyes; then
66419  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66420echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66421   { (exit 1); exit 1; }; }
66422fi
66423cat >conftest.$ac_ext <<_ACEOF
66424/* confdefs.h.  */
66425_ACEOF
66426cat confdefs.h >>conftest.$ac_ext
66427cat >>conftest.$ac_ext <<_ACEOF
66428/* end confdefs.h.  */
66429/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66430   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66431#define $ac_func innocuous_$ac_func
66432
66433/* System header to define __stub macros and hopefully few prototypes,
66434    which can conflict with char $ac_func (); below.
66435    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66436    <limits.h> exists even on freestanding compilers.  */
66437
66438#ifdef __STDC__
66439# include <limits.h>
66440#else
66441# include <assert.h>
66442#endif
66443
66444#undef $ac_func
66445
66446/* Override any gcc2 internal prototype to avoid an error.  */
66447#ifdef __cplusplus
66448extern "C"
66449{
66450#endif
66451/* We use char because int might match the return type of a gcc2
66452   builtin and then its argument prototype would still apply.  */
66453char $ac_func ();
66454/* The GNU C library defines this for functions which it implements
66455    to always fail with ENOSYS.  Some functions are actually named
66456    something starting with __ and the normal name is an alias.  */
66457#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66458choke me
66459#else
66460char (*f) () = $ac_func;
66461#endif
66462#ifdef __cplusplus
66463}
66464#endif
66465
66466int
66467main ()
66468{
66469return f != $ac_func;
66470  ;
66471  return 0;
66472}
66473_ACEOF
66474rm -f conftest.$ac_objext conftest$ac_exeext
66475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66476  (eval $ac_link) 2>conftest.er1
66477  ac_status=$?
66478  grep -v '^ *+' conftest.er1 >conftest.err
66479  rm -f conftest.er1
66480  cat conftest.err >&5
66481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66482  (exit $ac_status); } &&
66483	 { ac_try='test -z "$ac_c_werror_flag"
66484			 || test ! -s conftest.err'
66485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66486  (eval $ac_try) 2>&5
66487  ac_status=$?
66488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66489  (exit $ac_status); }; } &&
66490	 { ac_try='test -s conftest$ac_exeext'
66491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66492  (eval $ac_try) 2>&5
66493  ac_status=$?
66494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66495  (exit $ac_status); }; }; then
66496  eval "$as_ac_var=yes"
66497else
66498  echo "$as_me: failed program was:" >&5
66499sed 's/^/| /' conftest.$ac_ext >&5
66500
66501eval "$as_ac_var=no"
66502fi
66503rm -f conftest.err conftest.$ac_objext \
66504      conftest$ac_exeext conftest.$ac_ext
66505fi
66506echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66507echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66508if test `eval echo '${'$as_ac_var'}'` = yes; then
66509  cat >>confdefs.h <<_ACEOF
66510#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66511_ACEOF
66512
66513fi
66514done
66515
66516  else
66517
66518  echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66519echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66520  if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66521    if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66522  echo $ECHO_N "(cached) $ECHO_C" >&6
66523else
66524
66525
66526
66527      ac_ext=cc
66528ac_cpp='$CXXCPP $CPPFLAGS'
66529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66532
66533      cat >conftest.$ac_ext <<_ACEOF
66534/* confdefs.h.  */
66535_ACEOF
66536cat confdefs.h >>conftest.$ac_ext
66537cat >>conftest.$ac_ext <<_ACEOF
66538/* end confdefs.h.  */
66539#include <math.h>
66540int
66541main ()
66542{
66543 _copysignl(0, 0);
66544  ;
66545  return 0;
66546}
66547_ACEOF
66548rm -f conftest.$ac_objext
66549if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66550  (eval $ac_compile) 2>conftest.er1
66551  ac_status=$?
66552  grep -v '^ *+' conftest.er1 >conftest.err
66553  rm -f conftest.er1
66554  cat conftest.err >&5
66555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66556  (exit $ac_status); } &&
66557	 { ac_try='test -z "$ac_cxx_werror_flag"
66558			 || test ! -s conftest.err'
66559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66560  (eval $ac_try) 2>&5
66561  ac_status=$?
66562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66563  (exit $ac_status); }; } &&
66564	 { ac_try='test -s conftest.$ac_objext'
66565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66566  (eval $ac_try) 2>&5
66567  ac_status=$?
66568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66569  (exit $ac_status); }; }; then
66570  glibcxx_cv_func__copysignl_use=yes
66571else
66572  echo "$as_me: failed program was:" >&5
66573sed 's/^/| /' conftest.$ac_ext >&5
66574
66575glibcxx_cv_func__copysignl_use=no
66576fi
66577rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66578      ac_ext=c
66579ac_cpp='$CPP $CPPFLAGS'
66580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66582ac_compiler_gnu=$ac_cv_c_compiler_gnu
66583
66584
66585fi
66586
66587  fi
66588  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66589echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66590
66591    if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66592
66593for ac_func in _copysignl
66594do
66595as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66596echo "$as_me:$LINENO: checking for $ac_func" >&5
66597echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66598if eval "test \"\${$as_ac_var+set}\" = set"; then
66599  echo $ECHO_N "(cached) $ECHO_C" >&6
66600else
66601  if test x$gcc_no_link = xyes; then
66602  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66603echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66604   { (exit 1); exit 1; }; }
66605fi
66606cat >conftest.$ac_ext <<_ACEOF
66607/* confdefs.h.  */
66608_ACEOF
66609cat confdefs.h >>conftest.$ac_ext
66610cat >>conftest.$ac_ext <<_ACEOF
66611/* end confdefs.h.  */
66612/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66613   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66614#define $ac_func innocuous_$ac_func
66615
66616/* System header to define __stub macros and hopefully few prototypes,
66617    which can conflict with char $ac_func (); below.
66618    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66619    <limits.h> exists even on freestanding compilers.  */
66620
66621#ifdef __STDC__
66622# include <limits.h>
66623#else
66624# include <assert.h>
66625#endif
66626
66627#undef $ac_func
66628
66629/* Override any gcc2 internal prototype to avoid an error.  */
66630#ifdef __cplusplus
66631extern "C"
66632{
66633#endif
66634/* We use char because int might match the return type of a gcc2
66635   builtin and then its argument prototype would still apply.  */
66636char $ac_func ();
66637/* The GNU C library defines this for functions which it implements
66638    to always fail with ENOSYS.  Some functions are actually named
66639    something starting with __ and the normal name is an alias.  */
66640#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66641choke me
66642#else
66643char (*f) () = $ac_func;
66644#endif
66645#ifdef __cplusplus
66646}
66647#endif
66648
66649int
66650main ()
66651{
66652return f != $ac_func;
66653  ;
66654  return 0;
66655}
66656_ACEOF
66657rm -f conftest.$ac_objext conftest$ac_exeext
66658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66659  (eval $ac_link) 2>conftest.er1
66660  ac_status=$?
66661  grep -v '^ *+' conftest.er1 >conftest.err
66662  rm -f conftest.er1
66663  cat conftest.err >&5
66664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665  (exit $ac_status); } &&
66666	 { ac_try='test -z "$ac_c_werror_flag"
66667			 || test ! -s conftest.err'
66668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669  (eval $ac_try) 2>&5
66670  ac_status=$?
66671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672  (exit $ac_status); }; } &&
66673	 { ac_try='test -s conftest$ac_exeext'
66674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66675  (eval $ac_try) 2>&5
66676  ac_status=$?
66677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66678  (exit $ac_status); }; }; then
66679  eval "$as_ac_var=yes"
66680else
66681  echo "$as_me: failed program was:" >&5
66682sed 's/^/| /' conftest.$ac_ext >&5
66683
66684eval "$as_ac_var=no"
66685fi
66686rm -f conftest.err conftest.$ac_objext \
66687      conftest$ac_exeext conftest.$ac_ext
66688fi
66689echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66690echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66691if test `eval echo '${'$as_ac_var'}'` = yes; then
66692  cat >>confdefs.h <<_ACEOF
66693#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66694_ACEOF
66695
66696fi
66697done
66698
66699    fi
66700  fi
66701
66702
66703
66704
66705
66706
66707  echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66708echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66709  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66710    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66711  echo $ECHO_N "(cached) $ECHO_C" >&6
66712else
66713
66714
66715
66716      ac_ext=cc
66717ac_cpp='$CXXCPP $CPPFLAGS'
66718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66721
66722      cat >conftest.$ac_ext <<_ACEOF
66723/* confdefs.h.  */
66724_ACEOF
66725cat confdefs.h >>conftest.$ac_ext
66726cat >>conftest.$ac_ext <<_ACEOF
66727/* end confdefs.h.  */
66728#include <math.h>
66729int
66730main ()
66731{
66732 atan2l(0, 0);
66733  ;
66734  return 0;
66735}
66736_ACEOF
66737rm -f conftest.$ac_objext
66738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66739  (eval $ac_compile) 2>conftest.er1
66740  ac_status=$?
66741  grep -v '^ *+' conftest.er1 >conftest.err
66742  rm -f conftest.er1
66743  cat conftest.err >&5
66744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66745  (exit $ac_status); } &&
66746	 { ac_try='test -z "$ac_cxx_werror_flag"
66747			 || test ! -s conftest.err'
66748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66749  (eval $ac_try) 2>&5
66750  ac_status=$?
66751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66752  (exit $ac_status); }; } &&
66753	 { ac_try='test -s conftest.$ac_objext'
66754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66755  (eval $ac_try) 2>&5
66756  ac_status=$?
66757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66758  (exit $ac_status); }; }; then
66759  glibcxx_cv_func_atan2l_use=yes
66760else
66761  echo "$as_me: failed program was:" >&5
66762sed 's/^/| /' conftest.$ac_ext >&5
66763
66764glibcxx_cv_func_atan2l_use=no
66765fi
66766rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66767      ac_ext=c
66768ac_cpp='$CPP $CPPFLAGS'
66769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66771ac_compiler_gnu=$ac_cv_c_compiler_gnu
66772
66773
66774fi
66775
66776  fi
66777  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66778echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66779
66780  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66781
66782for ac_func in atan2l
66783do
66784as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66785echo "$as_me:$LINENO: checking for $ac_func" >&5
66786echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66787if eval "test \"\${$as_ac_var+set}\" = set"; then
66788  echo $ECHO_N "(cached) $ECHO_C" >&6
66789else
66790  if test x$gcc_no_link = xyes; then
66791  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66792echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66793   { (exit 1); exit 1; }; }
66794fi
66795cat >conftest.$ac_ext <<_ACEOF
66796/* confdefs.h.  */
66797_ACEOF
66798cat confdefs.h >>conftest.$ac_ext
66799cat >>conftest.$ac_ext <<_ACEOF
66800/* end confdefs.h.  */
66801/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66802   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66803#define $ac_func innocuous_$ac_func
66804
66805/* System header to define __stub macros and hopefully few prototypes,
66806    which can conflict with char $ac_func (); below.
66807    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66808    <limits.h> exists even on freestanding compilers.  */
66809
66810#ifdef __STDC__
66811# include <limits.h>
66812#else
66813# include <assert.h>
66814#endif
66815
66816#undef $ac_func
66817
66818/* Override any gcc2 internal prototype to avoid an error.  */
66819#ifdef __cplusplus
66820extern "C"
66821{
66822#endif
66823/* We use char because int might match the return type of a gcc2
66824   builtin and then its argument prototype would still apply.  */
66825char $ac_func ();
66826/* The GNU C library defines this for functions which it implements
66827    to always fail with ENOSYS.  Some functions are actually named
66828    something starting with __ and the normal name is an alias.  */
66829#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66830choke me
66831#else
66832char (*f) () = $ac_func;
66833#endif
66834#ifdef __cplusplus
66835}
66836#endif
66837
66838int
66839main ()
66840{
66841return f != $ac_func;
66842  ;
66843  return 0;
66844}
66845_ACEOF
66846rm -f conftest.$ac_objext conftest$ac_exeext
66847if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66848  (eval $ac_link) 2>conftest.er1
66849  ac_status=$?
66850  grep -v '^ *+' conftest.er1 >conftest.err
66851  rm -f conftest.er1
66852  cat conftest.err >&5
66853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66854  (exit $ac_status); } &&
66855	 { ac_try='test -z "$ac_c_werror_flag"
66856			 || test ! -s conftest.err'
66857  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66858  (eval $ac_try) 2>&5
66859  ac_status=$?
66860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66861  (exit $ac_status); }; } &&
66862	 { ac_try='test -s conftest$ac_exeext'
66863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66864  (eval $ac_try) 2>&5
66865  ac_status=$?
66866  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66867  (exit $ac_status); }; }; then
66868  eval "$as_ac_var=yes"
66869else
66870  echo "$as_me: failed program was:" >&5
66871sed 's/^/| /' conftest.$ac_ext >&5
66872
66873eval "$as_ac_var=no"
66874fi
66875rm -f conftest.err conftest.$ac_objext \
66876      conftest$ac_exeext conftest.$ac_ext
66877fi
66878echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66879echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66880if test `eval echo '${'$as_ac_var'}'` = yes; then
66881  cat >>confdefs.h <<_ACEOF
66882#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66883_ACEOF
66884
66885fi
66886done
66887
66888  else
66889
66890  echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66891echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66892  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66893    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66894  echo $ECHO_N "(cached) $ECHO_C" >&6
66895else
66896
66897
66898
66899      ac_ext=cc
66900ac_cpp='$CXXCPP $CPPFLAGS'
66901ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66902ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66903ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66904
66905      cat >conftest.$ac_ext <<_ACEOF
66906/* confdefs.h.  */
66907_ACEOF
66908cat confdefs.h >>conftest.$ac_ext
66909cat >>conftest.$ac_ext <<_ACEOF
66910/* end confdefs.h.  */
66911#include <math.h>
66912int
66913main ()
66914{
66915 _atan2l(0, 0);
66916  ;
66917  return 0;
66918}
66919_ACEOF
66920rm -f conftest.$ac_objext
66921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66922  (eval $ac_compile) 2>conftest.er1
66923  ac_status=$?
66924  grep -v '^ *+' conftest.er1 >conftest.err
66925  rm -f conftest.er1
66926  cat conftest.err >&5
66927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66928  (exit $ac_status); } &&
66929	 { ac_try='test -z "$ac_cxx_werror_flag"
66930			 || test ! -s conftest.err'
66931  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66932  (eval $ac_try) 2>&5
66933  ac_status=$?
66934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935  (exit $ac_status); }; } &&
66936	 { ac_try='test -s conftest.$ac_objext'
66937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66938  (eval $ac_try) 2>&5
66939  ac_status=$?
66940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66941  (exit $ac_status); }; }; then
66942  glibcxx_cv_func__atan2l_use=yes
66943else
66944  echo "$as_me: failed program was:" >&5
66945sed 's/^/| /' conftest.$ac_ext >&5
66946
66947glibcxx_cv_func__atan2l_use=no
66948fi
66949rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66950      ac_ext=c
66951ac_cpp='$CPP $CPPFLAGS'
66952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66954ac_compiler_gnu=$ac_cv_c_compiler_gnu
66955
66956
66957fi
66958
66959  fi
66960  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66961echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66962
66963    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66964
66965for ac_func in _atan2l
66966do
66967as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66968echo "$as_me:$LINENO: checking for $ac_func" >&5
66969echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66970if eval "test \"\${$as_ac_var+set}\" = set"; then
66971  echo $ECHO_N "(cached) $ECHO_C" >&6
66972else
66973  if test x$gcc_no_link = xyes; then
66974  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66975echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66976   { (exit 1); exit 1; }; }
66977fi
66978cat >conftest.$ac_ext <<_ACEOF
66979/* confdefs.h.  */
66980_ACEOF
66981cat confdefs.h >>conftest.$ac_ext
66982cat >>conftest.$ac_ext <<_ACEOF
66983/* end confdefs.h.  */
66984/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66985   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66986#define $ac_func innocuous_$ac_func
66987
66988/* System header to define __stub macros and hopefully few prototypes,
66989    which can conflict with char $ac_func (); below.
66990    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66991    <limits.h> exists even on freestanding compilers.  */
66992
66993#ifdef __STDC__
66994# include <limits.h>
66995#else
66996# include <assert.h>
66997#endif
66998
66999#undef $ac_func
67000
67001/* Override any gcc2 internal prototype to avoid an error.  */
67002#ifdef __cplusplus
67003extern "C"
67004{
67005#endif
67006/* We use char because int might match the return type of a gcc2
67007   builtin and then its argument prototype would still apply.  */
67008char $ac_func ();
67009/* The GNU C library defines this for functions which it implements
67010    to always fail with ENOSYS.  Some functions are actually named
67011    something starting with __ and the normal name is an alias.  */
67012#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67013choke me
67014#else
67015char (*f) () = $ac_func;
67016#endif
67017#ifdef __cplusplus
67018}
67019#endif
67020
67021int
67022main ()
67023{
67024return f != $ac_func;
67025  ;
67026  return 0;
67027}
67028_ACEOF
67029rm -f conftest.$ac_objext conftest$ac_exeext
67030if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67031  (eval $ac_link) 2>conftest.er1
67032  ac_status=$?
67033  grep -v '^ *+' conftest.er1 >conftest.err
67034  rm -f conftest.er1
67035  cat conftest.err >&5
67036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67037  (exit $ac_status); } &&
67038	 { ac_try='test -z "$ac_c_werror_flag"
67039			 || test ! -s conftest.err'
67040  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67041  (eval $ac_try) 2>&5
67042  ac_status=$?
67043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044  (exit $ac_status); }; } &&
67045	 { ac_try='test -s conftest$ac_exeext'
67046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67047  (eval $ac_try) 2>&5
67048  ac_status=$?
67049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67050  (exit $ac_status); }; }; then
67051  eval "$as_ac_var=yes"
67052else
67053  echo "$as_me: failed program was:" >&5
67054sed 's/^/| /' conftest.$ac_ext >&5
67055
67056eval "$as_ac_var=no"
67057fi
67058rm -f conftest.err conftest.$ac_objext \
67059      conftest$ac_exeext conftest.$ac_ext
67060fi
67061echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67062echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67063if test `eval echo '${'$as_ac_var'}'` = yes; then
67064  cat >>confdefs.h <<_ACEOF
67065#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67066_ACEOF
67067
67068fi
67069done
67070
67071    fi
67072  fi
67073
67074
67075
67076
67077
67078
67079  echo "$as_me:$LINENO: checking for expl declaration" >&5
67080echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
67081  if test x${glibcxx_cv_func_expl_use+set} != xset; then
67082    if test "${glibcxx_cv_func_expl_use+set}" = set; then
67083  echo $ECHO_N "(cached) $ECHO_C" >&6
67084else
67085
67086
67087
67088      ac_ext=cc
67089ac_cpp='$CXXCPP $CPPFLAGS'
67090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67093
67094      cat >conftest.$ac_ext <<_ACEOF
67095/* confdefs.h.  */
67096_ACEOF
67097cat confdefs.h >>conftest.$ac_ext
67098cat >>conftest.$ac_ext <<_ACEOF
67099/* end confdefs.h.  */
67100#include <math.h>
67101		      #ifdef HAVE_IEEEFP_H
67102		      #include <ieeefp.h>
67103		      #endif
67104
67105int
67106main ()
67107{
67108 expl(0);
67109  ;
67110  return 0;
67111}
67112_ACEOF
67113rm -f conftest.$ac_objext
67114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67115  (eval $ac_compile) 2>conftest.er1
67116  ac_status=$?
67117  grep -v '^ *+' conftest.er1 >conftest.err
67118  rm -f conftest.er1
67119  cat conftest.err >&5
67120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121  (exit $ac_status); } &&
67122	 { ac_try='test -z "$ac_cxx_werror_flag"
67123			 || test ! -s conftest.err'
67124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67125  (eval $ac_try) 2>&5
67126  ac_status=$?
67127  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67128  (exit $ac_status); }; } &&
67129	 { ac_try='test -s conftest.$ac_objext'
67130  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67131  (eval $ac_try) 2>&5
67132  ac_status=$?
67133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67134  (exit $ac_status); }; }; then
67135  glibcxx_cv_func_expl_use=yes
67136else
67137  echo "$as_me: failed program was:" >&5
67138sed 's/^/| /' conftest.$ac_ext >&5
67139
67140glibcxx_cv_func_expl_use=no
67141fi
67142rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67143      ac_ext=c
67144ac_cpp='$CPP $CPPFLAGS'
67145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67147ac_compiler_gnu=$ac_cv_c_compiler_gnu
67148
67149
67150fi
67151
67152  fi
67153  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
67154echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
67155
67156  if test x$glibcxx_cv_func_expl_use = x"yes"; then
67157
67158for ac_func in expl
67159do
67160as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67161echo "$as_me:$LINENO: checking for $ac_func" >&5
67162echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67163if eval "test \"\${$as_ac_var+set}\" = set"; then
67164  echo $ECHO_N "(cached) $ECHO_C" >&6
67165else
67166  if test x$gcc_no_link = xyes; then
67167  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67168echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67169   { (exit 1); exit 1; }; }
67170fi
67171cat >conftest.$ac_ext <<_ACEOF
67172/* confdefs.h.  */
67173_ACEOF
67174cat confdefs.h >>conftest.$ac_ext
67175cat >>conftest.$ac_ext <<_ACEOF
67176/* end confdefs.h.  */
67177/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67178   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67179#define $ac_func innocuous_$ac_func
67180
67181/* System header to define __stub macros and hopefully few prototypes,
67182    which can conflict with char $ac_func (); below.
67183    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67184    <limits.h> exists even on freestanding compilers.  */
67185
67186#ifdef __STDC__
67187# include <limits.h>
67188#else
67189# include <assert.h>
67190#endif
67191
67192#undef $ac_func
67193
67194/* Override any gcc2 internal prototype to avoid an error.  */
67195#ifdef __cplusplus
67196extern "C"
67197{
67198#endif
67199/* We use char because int might match the return type of a gcc2
67200   builtin and then its argument prototype would still apply.  */
67201char $ac_func ();
67202/* The GNU C library defines this for functions which it implements
67203    to always fail with ENOSYS.  Some functions are actually named
67204    something starting with __ and the normal name is an alias.  */
67205#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67206choke me
67207#else
67208char (*f) () = $ac_func;
67209#endif
67210#ifdef __cplusplus
67211}
67212#endif
67213
67214int
67215main ()
67216{
67217return f != $ac_func;
67218  ;
67219  return 0;
67220}
67221_ACEOF
67222rm -f conftest.$ac_objext conftest$ac_exeext
67223if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67224  (eval $ac_link) 2>conftest.er1
67225  ac_status=$?
67226  grep -v '^ *+' conftest.er1 >conftest.err
67227  rm -f conftest.er1
67228  cat conftest.err >&5
67229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67230  (exit $ac_status); } &&
67231	 { ac_try='test -z "$ac_c_werror_flag"
67232			 || test ! -s conftest.err'
67233  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67234  (eval $ac_try) 2>&5
67235  ac_status=$?
67236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67237  (exit $ac_status); }; } &&
67238	 { ac_try='test -s conftest$ac_exeext'
67239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67240  (eval $ac_try) 2>&5
67241  ac_status=$?
67242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67243  (exit $ac_status); }; }; then
67244  eval "$as_ac_var=yes"
67245else
67246  echo "$as_me: failed program was:" >&5
67247sed 's/^/| /' conftest.$ac_ext >&5
67248
67249eval "$as_ac_var=no"
67250fi
67251rm -f conftest.err conftest.$ac_objext \
67252      conftest$ac_exeext conftest.$ac_ext
67253fi
67254echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67255echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67256if test `eval echo '${'$as_ac_var'}'` = yes; then
67257  cat >>confdefs.h <<_ACEOF
67258#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67259_ACEOF
67260
67261fi
67262done
67263
67264  else
67265
67266  echo "$as_me:$LINENO: checking for _expl declaration" >&5
67267echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67268  if test x${glibcxx_cv_func__expl_use+set} != xset; then
67269    if test "${glibcxx_cv_func__expl_use+set}" = set; then
67270  echo $ECHO_N "(cached) $ECHO_C" >&6
67271else
67272
67273
67274
67275      ac_ext=cc
67276ac_cpp='$CXXCPP $CPPFLAGS'
67277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67280
67281      cat >conftest.$ac_ext <<_ACEOF
67282/* confdefs.h.  */
67283_ACEOF
67284cat confdefs.h >>conftest.$ac_ext
67285cat >>conftest.$ac_ext <<_ACEOF
67286/* end confdefs.h.  */
67287#include <math.h>
67288		      #ifdef HAVE_IEEEFP_H
67289		      #include <ieeefp.h>
67290		      #endif
67291
67292int
67293main ()
67294{
67295 _expl(0);
67296  ;
67297  return 0;
67298}
67299_ACEOF
67300rm -f conftest.$ac_objext
67301if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67302  (eval $ac_compile) 2>conftest.er1
67303  ac_status=$?
67304  grep -v '^ *+' conftest.er1 >conftest.err
67305  rm -f conftest.er1
67306  cat conftest.err >&5
67307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67308  (exit $ac_status); } &&
67309	 { ac_try='test -z "$ac_cxx_werror_flag"
67310			 || test ! -s conftest.err'
67311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67312  (eval $ac_try) 2>&5
67313  ac_status=$?
67314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67315  (exit $ac_status); }; } &&
67316	 { ac_try='test -s conftest.$ac_objext'
67317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67318  (eval $ac_try) 2>&5
67319  ac_status=$?
67320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67321  (exit $ac_status); }; }; then
67322  glibcxx_cv_func__expl_use=yes
67323else
67324  echo "$as_me: failed program was:" >&5
67325sed 's/^/| /' conftest.$ac_ext >&5
67326
67327glibcxx_cv_func__expl_use=no
67328fi
67329rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67330      ac_ext=c
67331ac_cpp='$CPP $CPPFLAGS'
67332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334ac_compiler_gnu=$ac_cv_c_compiler_gnu
67335
67336
67337fi
67338
67339  fi
67340  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67341echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67342
67343    if test x$glibcxx_cv_func__expl_use = x"yes"; then
67344
67345for ac_func in _expl
67346do
67347as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67348echo "$as_me:$LINENO: checking for $ac_func" >&5
67349echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67350if eval "test \"\${$as_ac_var+set}\" = set"; then
67351  echo $ECHO_N "(cached) $ECHO_C" >&6
67352else
67353  if test x$gcc_no_link = xyes; then
67354  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67355echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67356   { (exit 1); exit 1; }; }
67357fi
67358cat >conftest.$ac_ext <<_ACEOF
67359/* confdefs.h.  */
67360_ACEOF
67361cat confdefs.h >>conftest.$ac_ext
67362cat >>conftest.$ac_ext <<_ACEOF
67363/* end confdefs.h.  */
67364/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67365   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67366#define $ac_func innocuous_$ac_func
67367
67368/* System header to define __stub macros and hopefully few prototypes,
67369    which can conflict with char $ac_func (); below.
67370    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67371    <limits.h> exists even on freestanding compilers.  */
67372
67373#ifdef __STDC__
67374# include <limits.h>
67375#else
67376# include <assert.h>
67377#endif
67378
67379#undef $ac_func
67380
67381/* Override any gcc2 internal prototype to avoid an error.  */
67382#ifdef __cplusplus
67383extern "C"
67384{
67385#endif
67386/* We use char because int might match the return type of a gcc2
67387   builtin and then its argument prototype would still apply.  */
67388char $ac_func ();
67389/* The GNU C library defines this for functions which it implements
67390    to always fail with ENOSYS.  Some functions are actually named
67391    something starting with __ and the normal name is an alias.  */
67392#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67393choke me
67394#else
67395char (*f) () = $ac_func;
67396#endif
67397#ifdef __cplusplus
67398}
67399#endif
67400
67401int
67402main ()
67403{
67404return f != $ac_func;
67405  ;
67406  return 0;
67407}
67408_ACEOF
67409rm -f conftest.$ac_objext conftest$ac_exeext
67410if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67411  (eval $ac_link) 2>conftest.er1
67412  ac_status=$?
67413  grep -v '^ *+' conftest.er1 >conftest.err
67414  rm -f conftest.er1
67415  cat conftest.err >&5
67416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67417  (exit $ac_status); } &&
67418	 { ac_try='test -z "$ac_c_werror_flag"
67419			 || test ! -s conftest.err'
67420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67421  (eval $ac_try) 2>&5
67422  ac_status=$?
67423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67424  (exit $ac_status); }; } &&
67425	 { ac_try='test -s conftest$ac_exeext'
67426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67427  (eval $ac_try) 2>&5
67428  ac_status=$?
67429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67430  (exit $ac_status); }; }; then
67431  eval "$as_ac_var=yes"
67432else
67433  echo "$as_me: failed program was:" >&5
67434sed 's/^/| /' conftest.$ac_ext >&5
67435
67436eval "$as_ac_var=no"
67437fi
67438rm -f conftest.err conftest.$ac_objext \
67439      conftest$ac_exeext conftest.$ac_ext
67440fi
67441echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67442echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67443if test `eval echo '${'$as_ac_var'}'` = yes; then
67444  cat >>confdefs.h <<_ACEOF
67445#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67446_ACEOF
67447
67448fi
67449done
67450
67451    fi
67452  fi
67453
67454
67455
67456
67457
67458
67459  echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67460echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67461  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67462    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67463  echo $ECHO_N "(cached) $ECHO_C" >&6
67464else
67465
67466
67467
67468      ac_ext=cc
67469ac_cpp='$CXXCPP $CPPFLAGS'
67470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67473
67474      cat >conftest.$ac_ext <<_ACEOF
67475/* confdefs.h.  */
67476_ACEOF
67477cat confdefs.h >>conftest.$ac_ext
67478cat >>conftest.$ac_ext <<_ACEOF
67479/* end confdefs.h.  */
67480#include <math.h>
67481		      #ifdef HAVE_IEEEFP_H
67482		      #include <ieeefp.h>
67483		      #endif
67484
67485int
67486main ()
67487{
67488 fabsl(0);
67489  ;
67490  return 0;
67491}
67492_ACEOF
67493rm -f conftest.$ac_objext
67494if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67495  (eval $ac_compile) 2>conftest.er1
67496  ac_status=$?
67497  grep -v '^ *+' conftest.er1 >conftest.err
67498  rm -f conftest.er1
67499  cat conftest.err >&5
67500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67501  (exit $ac_status); } &&
67502	 { ac_try='test -z "$ac_cxx_werror_flag"
67503			 || test ! -s conftest.err'
67504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67505  (eval $ac_try) 2>&5
67506  ac_status=$?
67507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67508  (exit $ac_status); }; } &&
67509	 { ac_try='test -s conftest.$ac_objext'
67510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67511  (eval $ac_try) 2>&5
67512  ac_status=$?
67513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67514  (exit $ac_status); }; }; then
67515  glibcxx_cv_func_fabsl_use=yes
67516else
67517  echo "$as_me: failed program was:" >&5
67518sed 's/^/| /' conftest.$ac_ext >&5
67519
67520glibcxx_cv_func_fabsl_use=no
67521fi
67522rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67523      ac_ext=c
67524ac_cpp='$CPP $CPPFLAGS'
67525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67527ac_compiler_gnu=$ac_cv_c_compiler_gnu
67528
67529
67530fi
67531
67532  fi
67533  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67534echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67535
67536  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67537
67538for ac_func in fabsl
67539do
67540as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67541echo "$as_me:$LINENO: checking for $ac_func" >&5
67542echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67543if eval "test \"\${$as_ac_var+set}\" = set"; then
67544  echo $ECHO_N "(cached) $ECHO_C" >&6
67545else
67546  if test x$gcc_no_link = xyes; then
67547  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67548echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67549   { (exit 1); exit 1; }; }
67550fi
67551cat >conftest.$ac_ext <<_ACEOF
67552/* confdefs.h.  */
67553_ACEOF
67554cat confdefs.h >>conftest.$ac_ext
67555cat >>conftest.$ac_ext <<_ACEOF
67556/* end confdefs.h.  */
67557/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67558   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67559#define $ac_func innocuous_$ac_func
67560
67561/* System header to define __stub macros and hopefully few prototypes,
67562    which can conflict with char $ac_func (); below.
67563    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67564    <limits.h> exists even on freestanding compilers.  */
67565
67566#ifdef __STDC__
67567# include <limits.h>
67568#else
67569# include <assert.h>
67570#endif
67571
67572#undef $ac_func
67573
67574/* Override any gcc2 internal prototype to avoid an error.  */
67575#ifdef __cplusplus
67576extern "C"
67577{
67578#endif
67579/* We use char because int might match the return type of a gcc2
67580   builtin and then its argument prototype would still apply.  */
67581char $ac_func ();
67582/* The GNU C library defines this for functions which it implements
67583    to always fail with ENOSYS.  Some functions are actually named
67584    something starting with __ and the normal name is an alias.  */
67585#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67586choke me
67587#else
67588char (*f) () = $ac_func;
67589#endif
67590#ifdef __cplusplus
67591}
67592#endif
67593
67594int
67595main ()
67596{
67597return f != $ac_func;
67598  ;
67599  return 0;
67600}
67601_ACEOF
67602rm -f conftest.$ac_objext conftest$ac_exeext
67603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67604  (eval $ac_link) 2>conftest.er1
67605  ac_status=$?
67606  grep -v '^ *+' conftest.er1 >conftest.err
67607  rm -f conftest.er1
67608  cat conftest.err >&5
67609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67610  (exit $ac_status); } &&
67611	 { ac_try='test -z "$ac_c_werror_flag"
67612			 || test ! -s conftest.err'
67613  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67614  (eval $ac_try) 2>&5
67615  ac_status=$?
67616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67617  (exit $ac_status); }; } &&
67618	 { ac_try='test -s conftest$ac_exeext'
67619  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67620  (eval $ac_try) 2>&5
67621  ac_status=$?
67622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67623  (exit $ac_status); }; }; then
67624  eval "$as_ac_var=yes"
67625else
67626  echo "$as_me: failed program was:" >&5
67627sed 's/^/| /' conftest.$ac_ext >&5
67628
67629eval "$as_ac_var=no"
67630fi
67631rm -f conftest.err conftest.$ac_objext \
67632      conftest$ac_exeext conftest.$ac_ext
67633fi
67634echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67635echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67636if test `eval echo '${'$as_ac_var'}'` = yes; then
67637  cat >>confdefs.h <<_ACEOF
67638#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67639_ACEOF
67640
67641fi
67642done
67643
67644  else
67645
67646  echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67647echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67648  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67649    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67650  echo $ECHO_N "(cached) $ECHO_C" >&6
67651else
67652
67653
67654
67655      ac_ext=cc
67656ac_cpp='$CXXCPP $CPPFLAGS'
67657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67660
67661      cat >conftest.$ac_ext <<_ACEOF
67662/* confdefs.h.  */
67663_ACEOF
67664cat confdefs.h >>conftest.$ac_ext
67665cat >>conftest.$ac_ext <<_ACEOF
67666/* end confdefs.h.  */
67667#include <math.h>
67668		      #ifdef HAVE_IEEEFP_H
67669		      #include <ieeefp.h>
67670		      #endif
67671
67672int
67673main ()
67674{
67675 _fabsl(0);
67676  ;
67677  return 0;
67678}
67679_ACEOF
67680rm -f conftest.$ac_objext
67681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67682  (eval $ac_compile) 2>conftest.er1
67683  ac_status=$?
67684  grep -v '^ *+' conftest.er1 >conftest.err
67685  rm -f conftest.er1
67686  cat conftest.err >&5
67687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688  (exit $ac_status); } &&
67689	 { ac_try='test -z "$ac_cxx_werror_flag"
67690			 || test ! -s conftest.err'
67691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67692  (eval $ac_try) 2>&5
67693  ac_status=$?
67694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67695  (exit $ac_status); }; } &&
67696	 { ac_try='test -s conftest.$ac_objext'
67697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67698  (eval $ac_try) 2>&5
67699  ac_status=$?
67700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67701  (exit $ac_status); }; }; then
67702  glibcxx_cv_func__fabsl_use=yes
67703else
67704  echo "$as_me: failed program was:" >&5
67705sed 's/^/| /' conftest.$ac_ext >&5
67706
67707glibcxx_cv_func__fabsl_use=no
67708fi
67709rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67710      ac_ext=c
67711ac_cpp='$CPP $CPPFLAGS'
67712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67714ac_compiler_gnu=$ac_cv_c_compiler_gnu
67715
67716
67717fi
67718
67719  fi
67720  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67721echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67722
67723    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67724
67725for ac_func in _fabsl
67726do
67727as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67728echo "$as_me:$LINENO: checking for $ac_func" >&5
67729echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67730if eval "test \"\${$as_ac_var+set}\" = set"; then
67731  echo $ECHO_N "(cached) $ECHO_C" >&6
67732else
67733  if test x$gcc_no_link = xyes; then
67734  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67735echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67736   { (exit 1); exit 1; }; }
67737fi
67738cat >conftest.$ac_ext <<_ACEOF
67739/* confdefs.h.  */
67740_ACEOF
67741cat confdefs.h >>conftest.$ac_ext
67742cat >>conftest.$ac_ext <<_ACEOF
67743/* end confdefs.h.  */
67744/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67746#define $ac_func innocuous_$ac_func
67747
67748/* System header to define __stub macros and hopefully few prototypes,
67749    which can conflict with char $ac_func (); below.
67750    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67751    <limits.h> exists even on freestanding compilers.  */
67752
67753#ifdef __STDC__
67754# include <limits.h>
67755#else
67756# include <assert.h>
67757#endif
67758
67759#undef $ac_func
67760
67761/* Override any gcc2 internal prototype to avoid an error.  */
67762#ifdef __cplusplus
67763extern "C"
67764{
67765#endif
67766/* We use char because int might match the return type of a gcc2
67767   builtin and then its argument prototype would still apply.  */
67768char $ac_func ();
67769/* The GNU C library defines this for functions which it implements
67770    to always fail with ENOSYS.  Some functions are actually named
67771    something starting with __ and the normal name is an alias.  */
67772#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67773choke me
67774#else
67775char (*f) () = $ac_func;
67776#endif
67777#ifdef __cplusplus
67778}
67779#endif
67780
67781int
67782main ()
67783{
67784return f != $ac_func;
67785  ;
67786  return 0;
67787}
67788_ACEOF
67789rm -f conftest.$ac_objext conftest$ac_exeext
67790if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67791  (eval $ac_link) 2>conftest.er1
67792  ac_status=$?
67793  grep -v '^ *+' conftest.er1 >conftest.err
67794  rm -f conftest.er1
67795  cat conftest.err >&5
67796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67797  (exit $ac_status); } &&
67798	 { ac_try='test -z "$ac_c_werror_flag"
67799			 || test ! -s conftest.err'
67800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67801  (eval $ac_try) 2>&5
67802  ac_status=$?
67803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67804  (exit $ac_status); }; } &&
67805	 { ac_try='test -s conftest$ac_exeext'
67806  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67807  (eval $ac_try) 2>&5
67808  ac_status=$?
67809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67810  (exit $ac_status); }; }; then
67811  eval "$as_ac_var=yes"
67812else
67813  echo "$as_me: failed program was:" >&5
67814sed 's/^/| /' conftest.$ac_ext >&5
67815
67816eval "$as_ac_var=no"
67817fi
67818rm -f conftest.err conftest.$ac_objext \
67819      conftest$ac_exeext conftest.$ac_ext
67820fi
67821echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67822echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67823if test `eval echo '${'$as_ac_var'}'` = yes; then
67824  cat >>confdefs.h <<_ACEOF
67825#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67826_ACEOF
67827
67828fi
67829done
67830
67831    fi
67832  fi
67833
67834
67835
67836
67837
67838
67839  echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67840echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67841  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67842    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67843  echo $ECHO_N "(cached) $ECHO_C" >&6
67844else
67845
67846
67847
67848      ac_ext=cc
67849ac_cpp='$CXXCPP $CPPFLAGS'
67850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853
67854      cat >conftest.$ac_ext <<_ACEOF
67855/* confdefs.h.  */
67856_ACEOF
67857cat confdefs.h >>conftest.$ac_ext
67858cat >>conftest.$ac_ext <<_ACEOF
67859/* end confdefs.h.  */
67860#include <math.h>
67861int
67862main ()
67863{
67864 fmodl(0, 0);
67865  ;
67866  return 0;
67867}
67868_ACEOF
67869rm -f conftest.$ac_objext
67870if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67871  (eval $ac_compile) 2>conftest.er1
67872  ac_status=$?
67873  grep -v '^ *+' conftest.er1 >conftest.err
67874  rm -f conftest.er1
67875  cat conftest.err >&5
67876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877  (exit $ac_status); } &&
67878	 { ac_try='test -z "$ac_cxx_werror_flag"
67879			 || test ! -s conftest.err'
67880  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67881  (eval $ac_try) 2>&5
67882  ac_status=$?
67883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67884  (exit $ac_status); }; } &&
67885	 { ac_try='test -s conftest.$ac_objext'
67886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67887  (eval $ac_try) 2>&5
67888  ac_status=$?
67889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890  (exit $ac_status); }; }; then
67891  glibcxx_cv_func_fmodl_use=yes
67892else
67893  echo "$as_me: failed program was:" >&5
67894sed 's/^/| /' conftest.$ac_ext >&5
67895
67896glibcxx_cv_func_fmodl_use=no
67897fi
67898rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67899      ac_ext=c
67900ac_cpp='$CPP $CPPFLAGS'
67901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67903ac_compiler_gnu=$ac_cv_c_compiler_gnu
67904
67905
67906fi
67907
67908  fi
67909  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67910echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67911
67912  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67913
67914for ac_func in fmodl
67915do
67916as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67917echo "$as_me:$LINENO: checking for $ac_func" >&5
67918echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67919if eval "test \"\${$as_ac_var+set}\" = set"; then
67920  echo $ECHO_N "(cached) $ECHO_C" >&6
67921else
67922  if test x$gcc_no_link = xyes; then
67923  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67924echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67925   { (exit 1); exit 1; }; }
67926fi
67927cat >conftest.$ac_ext <<_ACEOF
67928/* confdefs.h.  */
67929_ACEOF
67930cat confdefs.h >>conftest.$ac_ext
67931cat >>conftest.$ac_ext <<_ACEOF
67932/* end confdefs.h.  */
67933/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67934   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67935#define $ac_func innocuous_$ac_func
67936
67937/* System header to define __stub macros and hopefully few prototypes,
67938    which can conflict with char $ac_func (); below.
67939    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67940    <limits.h> exists even on freestanding compilers.  */
67941
67942#ifdef __STDC__
67943# include <limits.h>
67944#else
67945# include <assert.h>
67946#endif
67947
67948#undef $ac_func
67949
67950/* Override any gcc2 internal prototype to avoid an error.  */
67951#ifdef __cplusplus
67952extern "C"
67953{
67954#endif
67955/* We use char because int might match the return type of a gcc2
67956   builtin and then its argument prototype would still apply.  */
67957char $ac_func ();
67958/* The GNU C library defines this for functions which it implements
67959    to always fail with ENOSYS.  Some functions are actually named
67960    something starting with __ and the normal name is an alias.  */
67961#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67962choke me
67963#else
67964char (*f) () = $ac_func;
67965#endif
67966#ifdef __cplusplus
67967}
67968#endif
67969
67970int
67971main ()
67972{
67973return f != $ac_func;
67974  ;
67975  return 0;
67976}
67977_ACEOF
67978rm -f conftest.$ac_objext conftest$ac_exeext
67979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67980  (eval $ac_link) 2>conftest.er1
67981  ac_status=$?
67982  grep -v '^ *+' conftest.er1 >conftest.err
67983  rm -f conftest.er1
67984  cat conftest.err >&5
67985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67986  (exit $ac_status); } &&
67987	 { ac_try='test -z "$ac_c_werror_flag"
67988			 || test ! -s conftest.err'
67989  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67990  (eval $ac_try) 2>&5
67991  ac_status=$?
67992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67993  (exit $ac_status); }; } &&
67994	 { ac_try='test -s conftest$ac_exeext'
67995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67996  (eval $ac_try) 2>&5
67997  ac_status=$?
67998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67999  (exit $ac_status); }; }; then
68000  eval "$as_ac_var=yes"
68001else
68002  echo "$as_me: failed program was:" >&5
68003sed 's/^/| /' conftest.$ac_ext >&5
68004
68005eval "$as_ac_var=no"
68006fi
68007rm -f conftest.err conftest.$ac_objext \
68008      conftest$ac_exeext conftest.$ac_ext
68009fi
68010echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68011echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68012if test `eval echo '${'$as_ac_var'}'` = yes; then
68013  cat >>confdefs.h <<_ACEOF
68014#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68015_ACEOF
68016
68017fi
68018done
68019
68020  else
68021
68022  echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
68023echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
68024  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68025    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
68026  echo $ECHO_N "(cached) $ECHO_C" >&6
68027else
68028
68029
68030
68031      ac_ext=cc
68032ac_cpp='$CXXCPP $CPPFLAGS'
68033ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68034ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68035ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68036
68037      cat >conftest.$ac_ext <<_ACEOF
68038/* confdefs.h.  */
68039_ACEOF
68040cat confdefs.h >>conftest.$ac_ext
68041cat >>conftest.$ac_ext <<_ACEOF
68042/* end confdefs.h.  */
68043#include <math.h>
68044int
68045main ()
68046{
68047 _fmodl(0, 0);
68048  ;
68049  return 0;
68050}
68051_ACEOF
68052rm -f conftest.$ac_objext
68053if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68054  (eval $ac_compile) 2>conftest.er1
68055  ac_status=$?
68056  grep -v '^ *+' conftest.er1 >conftest.err
68057  rm -f conftest.er1
68058  cat conftest.err >&5
68059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68060  (exit $ac_status); } &&
68061	 { ac_try='test -z "$ac_cxx_werror_flag"
68062			 || test ! -s conftest.err'
68063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68064  (eval $ac_try) 2>&5
68065  ac_status=$?
68066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067  (exit $ac_status); }; } &&
68068	 { ac_try='test -s conftest.$ac_objext'
68069  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68070  (eval $ac_try) 2>&5
68071  ac_status=$?
68072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68073  (exit $ac_status); }; }; then
68074  glibcxx_cv_func__fmodl_use=yes
68075else
68076  echo "$as_me: failed program was:" >&5
68077sed 's/^/| /' conftest.$ac_ext >&5
68078
68079glibcxx_cv_func__fmodl_use=no
68080fi
68081rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68082      ac_ext=c
68083ac_cpp='$CPP $CPPFLAGS'
68084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68086ac_compiler_gnu=$ac_cv_c_compiler_gnu
68087
68088
68089fi
68090
68091  fi
68092  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
68093echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
68094
68095    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68096
68097for ac_func in _fmodl
68098do
68099as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68100echo "$as_me:$LINENO: checking for $ac_func" >&5
68101echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68102if eval "test \"\${$as_ac_var+set}\" = set"; then
68103  echo $ECHO_N "(cached) $ECHO_C" >&6
68104else
68105  if test x$gcc_no_link = xyes; then
68106  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68107echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68108   { (exit 1); exit 1; }; }
68109fi
68110cat >conftest.$ac_ext <<_ACEOF
68111/* confdefs.h.  */
68112_ACEOF
68113cat confdefs.h >>conftest.$ac_ext
68114cat >>conftest.$ac_ext <<_ACEOF
68115/* end confdefs.h.  */
68116/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68117   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68118#define $ac_func innocuous_$ac_func
68119
68120/* System header to define __stub macros and hopefully few prototypes,
68121    which can conflict with char $ac_func (); below.
68122    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68123    <limits.h> exists even on freestanding compilers.  */
68124
68125#ifdef __STDC__
68126# include <limits.h>
68127#else
68128# include <assert.h>
68129#endif
68130
68131#undef $ac_func
68132
68133/* Override any gcc2 internal prototype to avoid an error.  */
68134#ifdef __cplusplus
68135extern "C"
68136{
68137#endif
68138/* We use char because int might match the return type of a gcc2
68139   builtin and then its argument prototype would still apply.  */
68140char $ac_func ();
68141/* The GNU C library defines this for functions which it implements
68142    to always fail with ENOSYS.  Some functions are actually named
68143    something starting with __ and the normal name is an alias.  */
68144#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68145choke me
68146#else
68147char (*f) () = $ac_func;
68148#endif
68149#ifdef __cplusplus
68150}
68151#endif
68152
68153int
68154main ()
68155{
68156return f != $ac_func;
68157  ;
68158  return 0;
68159}
68160_ACEOF
68161rm -f conftest.$ac_objext conftest$ac_exeext
68162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68163  (eval $ac_link) 2>conftest.er1
68164  ac_status=$?
68165  grep -v '^ *+' conftest.er1 >conftest.err
68166  rm -f conftest.er1
68167  cat conftest.err >&5
68168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68169  (exit $ac_status); } &&
68170	 { ac_try='test -z "$ac_c_werror_flag"
68171			 || test ! -s conftest.err'
68172  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68173  (eval $ac_try) 2>&5
68174  ac_status=$?
68175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68176  (exit $ac_status); }; } &&
68177	 { ac_try='test -s conftest$ac_exeext'
68178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68179  (eval $ac_try) 2>&5
68180  ac_status=$?
68181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68182  (exit $ac_status); }; }; then
68183  eval "$as_ac_var=yes"
68184else
68185  echo "$as_me: failed program was:" >&5
68186sed 's/^/| /' conftest.$ac_ext >&5
68187
68188eval "$as_ac_var=no"
68189fi
68190rm -f conftest.err conftest.$ac_objext \
68191      conftest$ac_exeext conftest.$ac_ext
68192fi
68193echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68194echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68195if test `eval echo '${'$as_ac_var'}'` = yes; then
68196  cat >>confdefs.h <<_ACEOF
68197#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68198_ACEOF
68199
68200fi
68201done
68202
68203    fi
68204  fi
68205
68206
68207
68208
68209
68210
68211  echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68212echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68213  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68214    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68215  echo $ECHO_N "(cached) $ECHO_C" >&6
68216else
68217
68218
68219
68220      ac_ext=cc
68221ac_cpp='$CXXCPP $CPPFLAGS'
68222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225
68226      cat >conftest.$ac_ext <<_ACEOF
68227/* confdefs.h.  */
68228_ACEOF
68229cat confdefs.h >>conftest.$ac_ext
68230cat >>conftest.$ac_ext <<_ACEOF
68231/* end confdefs.h.  */
68232#include <math.h>
68233int
68234main ()
68235{
68236 frexpl(0, 0);
68237  ;
68238  return 0;
68239}
68240_ACEOF
68241rm -f conftest.$ac_objext
68242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68243  (eval $ac_compile) 2>conftest.er1
68244  ac_status=$?
68245  grep -v '^ *+' conftest.er1 >conftest.err
68246  rm -f conftest.er1
68247  cat conftest.err >&5
68248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68249  (exit $ac_status); } &&
68250	 { ac_try='test -z "$ac_cxx_werror_flag"
68251			 || test ! -s conftest.err'
68252  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68253  (eval $ac_try) 2>&5
68254  ac_status=$?
68255  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68256  (exit $ac_status); }; } &&
68257	 { ac_try='test -s conftest.$ac_objext'
68258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68259  (eval $ac_try) 2>&5
68260  ac_status=$?
68261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68262  (exit $ac_status); }; }; then
68263  glibcxx_cv_func_frexpl_use=yes
68264else
68265  echo "$as_me: failed program was:" >&5
68266sed 's/^/| /' conftest.$ac_ext >&5
68267
68268glibcxx_cv_func_frexpl_use=no
68269fi
68270rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68271      ac_ext=c
68272ac_cpp='$CPP $CPPFLAGS'
68273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275ac_compiler_gnu=$ac_cv_c_compiler_gnu
68276
68277
68278fi
68279
68280  fi
68281  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68282echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68283
68284  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68285
68286for ac_func in frexpl
68287do
68288as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68289echo "$as_me:$LINENO: checking for $ac_func" >&5
68290echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68291if eval "test \"\${$as_ac_var+set}\" = set"; then
68292  echo $ECHO_N "(cached) $ECHO_C" >&6
68293else
68294  if test x$gcc_no_link = xyes; then
68295  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68296echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68297   { (exit 1); exit 1; }; }
68298fi
68299cat >conftest.$ac_ext <<_ACEOF
68300/* confdefs.h.  */
68301_ACEOF
68302cat confdefs.h >>conftest.$ac_ext
68303cat >>conftest.$ac_ext <<_ACEOF
68304/* end confdefs.h.  */
68305/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68306   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68307#define $ac_func innocuous_$ac_func
68308
68309/* System header to define __stub macros and hopefully few prototypes,
68310    which can conflict with char $ac_func (); below.
68311    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68312    <limits.h> exists even on freestanding compilers.  */
68313
68314#ifdef __STDC__
68315# include <limits.h>
68316#else
68317# include <assert.h>
68318#endif
68319
68320#undef $ac_func
68321
68322/* Override any gcc2 internal prototype to avoid an error.  */
68323#ifdef __cplusplus
68324extern "C"
68325{
68326#endif
68327/* We use char because int might match the return type of a gcc2
68328   builtin and then its argument prototype would still apply.  */
68329char $ac_func ();
68330/* The GNU C library defines this for functions which it implements
68331    to always fail with ENOSYS.  Some functions are actually named
68332    something starting with __ and the normal name is an alias.  */
68333#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68334choke me
68335#else
68336char (*f) () = $ac_func;
68337#endif
68338#ifdef __cplusplus
68339}
68340#endif
68341
68342int
68343main ()
68344{
68345return f != $ac_func;
68346  ;
68347  return 0;
68348}
68349_ACEOF
68350rm -f conftest.$ac_objext conftest$ac_exeext
68351if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68352  (eval $ac_link) 2>conftest.er1
68353  ac_status=$?
68354  grep -v '^ *+' conftest.er1 >conftest.err
68355  rm -f conftest.er1
68356  cat conftest.err >&5
68357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68358  (exit $ac_status); } &&
68359	 { ac_try='test -z "$ac_c_werror_flag"
68360			 || test ! -s conftest.err'
68361  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68362  (eval $ac_try) 2>&5
68363  ac_status=$?
68364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68365  (exit $ac_status); }; } &&
68366	 { ac_try='test -s conftest$ac_exeext'
68367  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68368  (eval $ac_try) 2>&5
68369  ac_status=$?
68370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68371  (exit $ac_status); }; }; then
68372  eval "$as_ac_var=yes"
68373else
68374  echo "$as_me: failed program was:" >&5
68375sed 's/^/| /' conftest.$ac_ext >&5
68376
68377eval "$as_ac_var=no"
68378fi
68379rm -f conftest.err conftest.$ac_objext \
68380      conftest$ac_exeext conftest.$ac_ext
68381fi
68382echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68383echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68384if test `eval echo '${'$as_ac_var'}'` = yes; then
68385  cat >>confdefs.h <<_ACEOF
68386#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68387_ACEOF
68388
68389fi
68390done
68391
68392  else
68393
68394  echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68395echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68396  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68397    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68398  echo $ECHO_N "(cached) $ECHO_C" >&6
68399else
68400
68401
68402
68403      ac_ext=cc
68404ac_cpp='$CXXCPP $CPPFLAGS'
68405ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68406ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68407ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68408
68409      cat >conftest.$ac_ext <<_ACEOF
68410/* confdefs.h.  */
68411_ACEOF
68412cat confdefs.h >>conftest.$ac_ext
68413cat >>conftest.$ac_ext <<_ACEOF
68414/* end confdefs.h.  */
68415#include <math.h>
68416int
68417main ()
68418{
68419 _frexpl(0, 0);
68420  ;
68421  return 0;
68422}
68423_ACEOF
68424rm -f conftest.$ac_objext
68425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68426  (eval $ac_compile) 2>conftest.er1
68427  ac_status=$?
68428  grep -v '^ *+' conftest.er1 >conftest.err
68429  rm -f conftest.er1
68430  cat conftest.err >&5
68431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432  (exit $ac_status); } &&
68433	 { ac_try='test -z "$ac_cxx_werror_flag"
68434			 || test ! -s conftest.err'
68435  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68436  (eval $ac_try) 2>&5
68437  ac_status=$?
68438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68439  (exit $ac_status); }; } &&
68440	 { ac_try='test -s conftest.$ac_objext'
68441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68442  (eval $ac_try) 2>&5
68443  ac_status=$?
68444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445  (exit $ac_status); }; }; then
68446  glibcxx_cv_func__frexpl_use=yes
68447else
68448  echo "$as_me: failed program was:" >&5
68449sed 's/^/| /' conftest.$ac_ext >&5
68450
68451glibcxx_cv_func__frexpl_use=no
68452fi
68453rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68454      ac_ext=c
68455ac_cpp='$CPP $CPPFLAGS'
68456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68458ac_compiler_gnu=$ac_cv_c_compiler_gnu
68459
68460
68461fi
68462
68463  fi
68464  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68465echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68466
68467    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68468
68469for ac_func in _frexpl
68470do
68471as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68472echo "$as_me:$LINENO: checking for $ac_func" >&5
68473echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68474if eval "test \"\${$as_ac_var+set}\" = set"; then
68475  echo $ECHO_N "(cached) $ECHO_C" >&6
68476else
68477  if test x$gcc_no_link = xyes; then
68478  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68479echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68480   { (exit 1); exit 1; }; }
68481fi
68482cat >conftest.$ac_ext <<_ACEOF
68483/* confdefs.h.  */
68484_ACEOF
68485cat confdefs.h >>conftest.$ac_ext
68486cat >>conftest.$ac_ext <<_ACEOF
68487/* end confdefs.h.  */
68488/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68489   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68490#define $ac_func innocuous_$ac_func
68491
68492/* System header to define __stub macros and hopefully few prototypes,
68493    which can conflict with char $ac_func (); below.
68494    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68495    <limits.h> exists even on freestanding compilers.  */
68496
68497#ifdef __STDC__
68498# include <limits.h>
68499#else
68500# include <assert.h>
68501#endif
68502
68503#undef $ac_func
68504
68505/* Override any gcc2 internal prototype to avoid an error.  */
68506#ifdef __cplusplus
68507extern "C"
68508{
68509#endif
68510/* We use char because int might match the return type of a gcc2
68511   builtin and then its argument prototype would still apply.  */
68512char $ac_func ();
68513/* The GNU C library defines this for functions which it implements
68514    to always fail with ENOSYS.  Some functions are actually named
68515    something starting with __ and the normal name is an alias.  */
68516#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68517choke me
68518#else
68519char (*f) () = $ac_func;
68520#endif
68521#ifdef __cplusplus
68522}
68523#endif
68524
68525int
68526main ()
68527{
68528return f != $ac_func;
68529  ;
68530  return 0;
68531}
68532_ACEOF
68533rm -f conftest.$ac_objext conftest$ac_exeext
68534if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68535  (eval $ac_link) 2>conftest.er1
68536  ac_status=$?
68537  grep -v '^ *+' conftest.er1 >conftest.err
68538  rm -f conftest.er1
68539  cat conftest.err >&5
68540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541  (exit $ac_status); } &&
68542	 { ac_try='test -z "$ac_c_werror_flag"
68543			 || test ! -s conftest.err'
68544  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68545  (eval $ac_try) 2>&5
68546  ac_status=$?
68547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68548  (exit $ac_status); }; } &&
68549	 { ac_try='test -s conftest$ac_exeext'
68550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68551  (eval $ac_try) 2>&5
68552  ac_status=$?
68553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554  (exit $ac_status); }; }; then
68555  eval "$as_ac_var=yes"
68556else
68557  echo "$as_me: failed program was:" >&5
68558sed 's/^/| /' conftest.$ac_ext >&5
68559
68560eval "$as_ac_var=no"
68561fi
68562rm -f conftest.err conftest.$ac_objext \
68563      conftest$ac_exeext conftest.$ac_ext
68564fi
68565echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68566echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68567if test `eval echo '${'$as_ac_var'}'` = yes; then
68568  cat >>confdefs.h <<_ACEOF
68569#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68570_ACEOF
68571
68572fi
68573done
68574
68575    fi
68576  fi
68577
68578
68579
68580
68581
68582
68583  echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68584echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68585  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68586    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68587  echo $ECHO_N "(cached) $ECHO_C" >&6
68588else
68589
68590
68591
68592      ac_ext=cc
68593ac_cpp='$CXXCPP $CPPFLAGS'
68594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68597
68598      cat >conftest.$ac_ext <<_ACEOF
68599/* confdefs.h.  */
68600_ACEOF
68601cat confdefs.h >>conftest.$ac_ext
68602cat >>conftest.$ac_ext <<_ACEOF
68603/* end confdefs.h.  */
68604#include <math.h>
68605int
68606main ()
68607{
68608 hypotl(0, 0);
68609  ;
68610  return 0;
68611}
68612_ACEOF
68613rm -f conftest.$ac_objext
68614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68615  (eval $ac_compile) 2>conftest.er1
68616  ac_status=$?
68617  grep -v '^ *+' conftest.er1 >conftest.err
68618  rm -f conftest.er1
68619  cat conftest.err >&5
68620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68621  (exit $ac_status); } &&
68622	 { ac_try='test -z "$ac_cxx_werror_flag"
68623			 || test ! -s conftest.err'
68624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68625  (eval $ac_try) 2>&5
68626  ac_status=$?
68627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68628  (exit $ac_status); }; } &&
68629	 { ac_try='test -s conftest.$ac_objext'
68630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68631  (eval $ac_try) 2>&5
68632  ac_status=$?
68633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634  (exit $ac_status); }; }; then
68635  glibcxx_cv_func_hypotl_use=yes
68636else
68637  echo "$as_me: failed program was:" >&5
68638sed 's/^/| /' conftest.$ac_ext >&5
68639
68640glibcxx_cv_func_hypotl_use=no
68641fi
68642rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68643      ac_ext=c
68644ac_cpp='$CPP $CPPFLAGS'
68645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647ac_compiler_gnu=$ac_cv_c_compiler_gnu
68648
68649
68650fi
68651
68652  fi
68653  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68654echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68655
68656  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68657
68658for ac_func in hypotl
68659do
68660as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68661echo "$as_me:$LINENO: checking for $ac_func" >&5
68662echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68663if eval "test \"\${$as_ac_var+set}\" = set"; then
68664  echo $ECHO_N "(cached) $ECHO_C" >&6
68665else
68666  if test x$gcc_no_link = xyes; then
68667  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68668echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68669   { (exit 1); exit 1; }; }
68670fi
68671cat >conftest.$ac_ext <<_ACEOF
68672/* confdefs.h.  */
68673_ACEOF
68674cat confdefs.h >>conftest.$ac_ext
68675cat >>conftest.$ac_ext <<_ACEOF
68676/* end confdefs.h.  */
68677/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68678   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68679#define $ac_func innocuous_$ac_func
68680
68681/* System header to define __stub macros and hopefully few prototypes,
68682    which can conflict with char $ac_func (); below.
68683    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68684    <limits.h> exists even on freestanding compilers.  */
68685
68686#ifdef __STDC__
68687# include <limits.h>
68688#else
68689# include <assert.h>
68690#endif
68691
68692#undef $ac_func
68693
68694/* Override any gcc2 internal prototype to avoid an error.  */
68695#ifdef __cplusplus
68696extern "C"
68697{
68698#endif
68699/* We use char because int might match the return type of a gcc2
68700   builtin and then its argument prototype would still apply.  */
68701char $ac_func ();
68702/* The GNU C library defines this for functions which it implements
68703    to always fail with ENOSYS.  Some functions are actually named
68704    something starting with __ and the normal name is an alias.  */
68705#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68706choke me
68707#else
68708char (*f) () = $ac_func;
68709#endif
68710#ifdef __cplusplus
68711}
68712#endif
68713
68714int
68715main ()
68716{
68717return f != $ac_func;
68718  ;
68719  return 0;
68720}
68721_ACEOF
68722rm -f conftest.$ac_objext conftest$ac_exeext
68723if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68724  (eval $ac_link) 2>conftest.er1
68725  ac_status=$?
68726  grep -v '^ *+' conftest.er1 >conftest.err
68727  rm -f conftest.er1
68728  cat conftest.err >&5
68729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68730  (exit $ac_status); } &&
68731	 { ac_try='test -z "$ac_c_werror_flag"
68732			 || test ! -s conftest.err'
68733  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68734  (eval $ac_try) 2>&5
68735  ac_status=$?
68736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68737  (exit $ac_status); }; } &&
68738	 { ac_try='test -s conftest$ac_exeext'
68739  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68740  (eval $ac_try) 2>&5
68741  ac_status=$?
68742  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68743  (exit $ac_status); }; }; then
68744  eval "$as_ac_var=yes"
68745else
68746  echo "$as_me: failed program was:" >&5
68747sed 's/^/| /' conftest.$ac_ext >&5
68748
68749eval "$as_ac_var=no"
68750fi
68751rm -f conftest.err conftest.$ac_objext \
68752      conftest$ac_exeext conftest.$ac_ext
68753fi
68754echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68755echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68756if test `eval echo '${'$as_ac_var'}'` = yes; then
68757  cat >>confdefs.h <<_ACEOF
68758#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68759_ACEOF
68760
68761fi
68762done
68763
68764  else
68765
68766  echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68767echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68768  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68769    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68770  echo $ECHO_N "(cached) $ECHO_C" >&6
68771else
68772
68773
68774
68775      ac_ext=cc
68776ac_cpp='$CXXCPP $CPPFLAGS'
68777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68780
68781      cat >conftest.$ac_ext <<_ACEOF
68782/* confdefs.h.  */
68783_ACEOF
68784cat confdefs.h >>conftest.$ac_ext
68785cat >>conftest.$ac_ext <<_ACEOF
68786/* end confdefs.h.  */
68787#include <math.h>
68788int
68789main ()
68790{
68791 _hypotl(0, 0);
68792  ;
68793  return 0;
68794}
68795_ACEOF
68796rm -f conftest.$ac_objext
68797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68798  (eval $ac_compile) 2>conftest.er1
68799  ac_status=$?
68800  grep -v '^ *+' conftest.er1 >conftest.err
68801  rm -f conftest.er1
68802  cat conftest.err >&5
68803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804  (exit $ac_status); } &&
68805	 { ac_try='test -z "$ac_cxx_werror_flag"
68806			 || test ! -s conftest.err'
68807  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68808  (eval $ac_try) 2>&5
68809  ac_status=$?
68810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811  (exit $ac_status); }; } &&
68812	 { ac_try='test -s conftest.$ac_objext'
68813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68814  (eval $ac_try) 2>&5
68815  ac_status=$?
68816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68817  (exit $ac_status); }; }; then
68818  glibcxx_cv_func__hypotl_use=yes
68819else
68820  echo "$as_me: failed program was:" >&5
68821sed 's/^/| /' conftest.$ac_ext >&5
68822
68823glibcxx_cv_func__hypotl_use=no
68824fi
68825rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68826      ac_ext=c
68827ac_cpp='$CPP $CPPFLAGS'
68828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830ac_compiler_gnu=$ac_cv_c_compiler_gnu
68831
68832
68833fi
68834
68835  fi
68836  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68837echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68838
68839    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68840
68841for ac_func in _hypotl
68842do
68843as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68844echo "$as_me:$LINENO: checking for $ac_func" >&5
68845echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68846if eval "test \"\${$as_ac_var+set}\" = set"; then
68847  echo $ECHO_N "(cached) $ECHO_C" >&6
68848else
68849  if test x$gcc_no_link = xyes; then
68850  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68851echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68852   { (exit 1); exit 1; }; }
68853fi
68854cat >conftest.$ac_ext <<_ACEOF
68855/* confdefs.h.  */
68856_ACEOF
68857cat confdefs.h >>conftest.$ac_ext
68858cat >>conftest.$ac_ext <<_ACEOF
68859/* end confdefs.h.  */
68860/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68861   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68862#define $ac_func innocuous_$ac_func
68863
68864/* System header to define __stub macros and hopefully few prototypes,
68865    which can conflict with char $ac_func (); below.
68866    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68867    <limits.h> exists even on freestanding compilers.  */
68868
68869#ifdef __STDC__
68870# include <limits.h>
68871#else
68872# include <assert.h>
68873#endif
68874
68875#undef $ac_func
68876
68877/* Override any gcc2 internal prototype to avoid an error.  */
68878#ifdef __cplusplus
68879extern "C"
68880{
68881#endif
68882/* We use char because int might match the return type of a gcc2
68883   builtin and then its argument prototype would still apply.  */
68884char $ac_func ();
68885/* The GNU C library defines this for functions which it implements
68886    to always fail with ENOSYS.  Some functions are actually named
68887    something starting with __ and the normal name is an alias.  */
68888#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68889choke me
68890#else
68891char (*f) () = $ac_func;
68892#endif
68893#ifdef __cplusplus
68894}
68895#endif
68896
68897int
68898main ()
68899{
68900return f != $ac_func;
68901  ;
68902  return 0;
68903}
68904_ACEOF
68905rm -f conftest.$ac_objext conftest$ac_exeext
68906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68907  (eval $ac_link) 2>conftest.er1
68908  ac_status=$?
68909  grep -v '^ *+' conftest.er1 >conftest.err
68910  rm -f conftest.er1
68911  cat conftest.err >&5
68912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913  (exit $ac_status); } &&
68914	 { ac_try='test -z "$ac_c_werror_flag"
68915			 || test ! -s conftest.err'
68916  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68917  (eval $ac_try) 2>&5
68918  ac_status=$?
68919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68920  (exit $ac_status); }; } &&
68921	 { ac_try='test -s conftest$ac_exeext'
68922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68923  (eval $ac_try) 2>&5
68924  ac_status=$?
68925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68926  (exit $ac_status); }; }; then
68927  eval "$as_ac_var=yes"
68928else
68929  echo "$as_me: failed program was:" >&5
68930sed 's/^/| /' conftest.$ac_ext >&5
68931
68932eval "$as_ac_var=no"
68933fi
68934rm -f conftest.err conftest.$ac_objext \
68935      conftest$ac_exeext conftest.$ac_ext
68936fi
68937echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68938echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68939if test `eval echo '${'$as_ac_var'}'` = yes; then
68940  cat >>confdefs.h <<_ACEOF
68941#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68942_ACEOF
68943
68944fi
68945done
68946
68947    fi
68948  fi
68949
68950
68951
68952
68953
68954
68955  echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68956echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68957  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68958    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68959  echo $ECHO_N "(cached) $ECHO_C" >&6
68960else
68961
68962
68963
68964      ac_ext=cc
68965ac_cpp='$CXXCPP $CPPFLAGS'
68966ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68967ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68968ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68969
68970      cat >conftest.$ac_ext <<_ACEOF
68971/* confdefs.h.  */
68972_ACEOF
68973cat confdefs.h >>conftest.$ac_ext
68974cat >>conftest.$ac_ext <<_ACEOF
68975/* end confdefs.h.  */
68976#include <math.h>
68977int
68978main ()
68979{
68980 ldexpl(0, 0);
68981  ;
68982  return 0;
68983}
68984_ACEOF
68985rm -f conftest.$ac_objext
68986if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68987  (eval $ac_compile) 2>conftest.er1
68988  ac_status=$?
68989  grep -v '^ *+' conftest.er1 >conftest.err
68990  rm -f conftest.er1
68991  cat conftest.err >&5
68992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68993  (exit $ac_status); } &&
68994	 { ac_try='test -z "$ac_cxx_werror_flag"
68995			 || test ! -s conftest.err'
68996  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68997  (eval $ac_try) 2>&5
68998  ac_status=$?
68999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69000  (exit $ac_status); }; } &&
69001	 { ac_try='test -s conftest.$ac_objext'
69002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69003  (eval $ac_try) 2>&5
69004  ac_status=$?
69005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69006  (exit $ac_status); }; }; then
69007  glibcxx_cv_func_ldexpl_use=yes
69008else
69009  echo "$as_me: failed program was:" >&5
69010sed 's/^/| /' conftest.$ac_ext >&5
69011
69012glibcxx_cv_func_ldexpl_use=no
69013fi
69014rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69015      ac_ext=c
69016ac_cpp='$CPP $CPPFLAGS'
69017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69019ac_compiler_gnu=$ac_cv_c_compiler_gnu
69020
69021
69022fi
69023
69024  fi
69025  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
69026echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
69027
69028  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69029
69030for ac_func in ldexpl
69031do
69032as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69033echo "$as_me:$LINENO: checking for $ac_func" >&5
69034echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69035if eval "test \"\${$as_ac_var+set}\" = set"; then
69036  echo $ECHO_N "(cached) $ECHO_C" >&6
69037else
69038  if test x$gcc_no_link = xyes; then
69039  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69040echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69041   { (exit 1); exit 1; }; }
69042fi
69043cat >conftest.$ac_ext <<_ACEOF
69044/* confdefs.h.  */
69045_ACEOF
69046cat confdefs.h >>conftest.$ac_ext
69047cat >>conftest.$ac_ext <<_ACEOF
69048/* end confdefs.h.  */
69049/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69050   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69051#define $ac_func innocuous_$ac_func
69052
69053/* System header to define __stub macros and hopefully few prototypes,
69054    which can conflict with char $ac_func (); below.
69055    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69056    <limits.h> exists even on freestanding compilers.  */
69057
69058#ifdef __STDC__
69059# include <limits.h>
69060#else
69061# include <assert.h>
69062#endif
69063
69064#undef $ac_func
69065
69066/* Override any gcc2 internal prototype to avoid an error.  */
69067#ifdef __cplusplus
69068extern "C"
69069{
69070#endif
69071/* We use char because int might match the return type of a gcc2
69072   builtin and then its argument prototype would still apply.  */
69073char $ac_func ();
69074/* The GNU C library defines this for functions which it implements
69075    to always fail with ENOSYS.  Some functions are actually named
69076    something starting with __ and the normal name is an alias.  */
69077#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69078choke me
69079#else
69080char (*f) () = $ac_func;
69081#endif
69082#ifdef __cplusplus
69083}
69084#endif
69085
69086int
69087main ()
69088{
69089return f != $ac_func;
69090  ;
69091  return 0;
69092}
69093_ACEOF
69094rm -f conftest.$ac_objext conftest$ac_exeext
69095if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69096  (eval $ac_link) 2>conftest.er1
69097  ac_status=$?
69098  grep -v '^ *+' conftest.er1 >conftest.err
69099  rm -f conftest.er1
69100  cat conftest.err >&5
69101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69102  (exit $ac_status); } &&
69103	 { ac_try='test -z "$ac_c_werror_flag"
69104			 || test ! -s conftest.err'
69105  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69106  (eval $ac_try) 2>&5
69107  ac_status=$?
69108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69109  (exit $ac_status); }; } &&
69110	 { ac_try='test -s conftest$ac_exeext'
69111  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69112  (eval $ac_try) 2>&5
69113  ac_status=$?
69114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69115  (exit $ac_status); }; }; then
69116  eval "$as_ac_var=yes"
69117else
69118  echo "$as_me: failed program was:" >&5
69119sed 's/^/| /' conftest.$ac_ext >&5
69120
69121eval "$as_ac_var=no"
69122fi
69123rm -f conftest.err conftest.$ac_objext \
69124      conftest$ac_exeext conftest.$ac_ext
69125fi
69126echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69127echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69128if test `eval echo '${'$as_ac_var'}'` = yes; then
69129  cat >>confdefs.h <<_ACEOF
69130#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69131_ACEOF
69132
69133fi
69134done
69135
69136  else
69137
69138  echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
69139echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
69140  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69141    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
69142  echo $ECHO_N "(cached) $ECHO_C" >&6
69143else
69144
69145
69146
69147      ac_ext=cc
69148ac_cpp='$CXXCPP $CPPFLAGS'
69149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69152
69153      cat >conftest.$ac_ext <<_ACEOF
69154/* confdefs.h.  */
69155_ACEOF
69156cat confdefs.h >>conftest.$ac_ext
69157cat >>conftest.$ac_ext <<_ACEOF
69158/* end confdefs.h.  */
69159#include <math.h>
69160int
69161main ()
69162{
69163 _ldexpl(0, 0);
69164  ;
69165  return 0;
69166}
69167_ACEOF
69168rm -f conftest.$ac_objext
69169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69170  (eval $ac_compile) 2>conftest.er1
69171  ac_status=$?
69172  grep -v '^ *+' conftest.er1 >conftest.err
69173  rm -f conftest.er1
69174  cat conftest.err >&5
69175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69176  (exit $ac_status); } &&
69177	 { ac_try='test -z "$ac_cxx_werror_flag"
69178			 || test ! -s conftest.err'
69179  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69180  (eval $ac_try) 2>&5
69181  ac_status=$?
69182  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69183  (exit $ac_status); }; } &&
69184	 { ac_try='test -s conftest.$ac_objext'
69185  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69186  (eval $ac_try) 2>&5
69187  ac_status=$?
69188  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69189  (exit $ac_status); }; }; then
69190  glibcxx_cv_func__ldexpl_use=yes
69191else
69192  echo "$as_me: failed program was:" >&5
69193sed 's/^/| /' conftest.$ac_ext >&5
69194
69195glibcxx_cv_func__ldexpl_use=no
69196fi
69197rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69198      ac_ext=c
69199ac_cpp='$CPP $CPPFLAGS'
69200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202ac_compiler_gnu=$ac_cv_c_compiler_gnu
69203
69204
69205fi
69206
69207  fi
69208  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69209echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69210
69211    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69212
69213for ac_func in _ldexpl
69214do
69215as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69216echo "$as_me:$LINENO: checking for $ac_func" >&5
69217echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69218if eval "test \"\${$as_ac_var+set}\" = set"; then
69219  echo $ECHO_N "(cached) $ECHO_C" >&6
69220else
69221  if test x$gcc_no_link = xyes; then
69222  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69223echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69224   { (exit 1); exit 1; }; }
69225fi
69226cat >conftest.$ac_ext <<_ACEOF
69227/* confdefs.h.  */
69228_ACEOF
69229cat confdefs.h >>conftest.$ac_ext
69230cat >>conftest.$ac_ext <<_ACEOF
69231/* end confdefs.h.  */
69232/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69233   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69234#define $ac_func innocuous_$ac_func
69235
69236/* System header to define __stub macros and hopefully few prototypes,
69237    which can conflict with char $ac_func (); below.
69238    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69239    <limits.h> exists even on freestanding compilers.  */
69240
69241#ifdef __STDC__
69242# include <limits.h>
69243#else
69244# include <assert.h>
69245#endif
69246
69247#undef $ac_func
69248
69249/* Override any gcc2 internal prototype to avoid an error.  */
69250#ifdef __cplusplus
69251extern "C"
69252{
69253#endif
69254/* We use char because int might match the return type of a gcc2
69255   builtin and then its argument prototype would still apply.  */
69256char $ac_func ();
69257/* The GNU C library defines this for functions which it implements
69258    to always fail with ENOSYS.  Some functions are actually named
69259    something starting with __ and the normal name is an alias.  */
69260#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69261choke me
69262#else
69263char (*f) () = $ac_func;
69264#endif
69265#ifdef __cplusplus
69266}
69267#endif
69268
69269int
69270main ()
69271{
69272return f != $ac_func;
69273  ;
69274  return 0;
69275}
69276_ACEOF
69277rm -f conftest.$ac_objext conftest$ac_exeext
69278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69279  (eval $ac_link) 2>conftest.er1
69280  ac_status=$?
69281  grep -v '^ *+' conftest.er1 >conftest.err
69282  rm -f conftest.er1
69283  cat conftest.err >&5
69284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69285  (exit $ac_status); } &&
69286	 { ac_try='test -z "$ac_c_werror_flag"
69287			 || test ! -s conftest.err'
69288  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69289  (eval $ac_try) 2>&5
69290  ac_status=$?
69291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69292  (exit $ac_status); }; } &&
69293	 { ac_try='test -s conftest$ac_exeext'
69294  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69295  (eval $ac_try) 2>&5
69296  ac_status=$?
69297  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69298  (exit $ac_status); }; }; then
69299  eval "$as_ac_var=yes"
69300else
69301  echo "$as_me: failed program was:" >&5
69302sed 's/^/| /' conftest.$ac_ext >&5
69303
69304eval "$as_ac_var=no"
69305fi
69306rm -f conftest.err conftest.$ac_objext \
69307      conftest$ac_exeext conftest.$ac_ext
69308fi
69309echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69310echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69311if test `eval echo '${'$as_ac_var'}'` = yes; then
69312  cat >>confdefs.h <<_ACEOF
69313#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69314_ACEOF
69315
69316fi
69317done
69318
69319    fi
69320  fi
69321
69322
69323
69324
69325
69326
69327  echo "$as_me:$LINENO: checking for logl declaration" >&5
69328echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69329  if test x${glibcxx_cv_func_logl_use+set} != xset; then
69330    if test "${glibcxx_cv_func_logl_use+set}" = set; then
69331  echo $ECHO_N "(cached) $ECHO_C" >&6
69332else
69333
69334
69335
69336      ac_ext=cc
69337ac_cpp='$CXXCPP $CPPFLAGS'
69338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69341
69342      cat >conftest.$ac_ext <<_ACEOF
69343/* confdefs.h.  */
69344_ACEOF
69345cat confdefs.h >>conftest.$ac_ext
69346cat >>conftest.$ac_ext <<_ACEOF
69347/* end confdefs.h.  */
69348#include <math.h>
69349		      #ifdef HAVE_IEEEFP_H
69350		      #include <ieeefp.h>
69351		      #endif
69352
69353int
69354main ()
69355{
69356 logl(0);
69357  ;
69358  return 0;
69359}
69360_ACEOF
69361rm -f conftest.$ac_objext
69362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69363  (eval $ac_compile) 2>conftest.er1
69364  ac_status=$?
69365  grep -v '^ *+' conftest.er1 >conftest.err
69366  rm -f conftest.er1
69367  cat conftest.err >&5
69368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369  (exit $ac_status); } &&
69370	 { ac_try='test -z "$ac_cxx_werror_flag"
69371			 || test ! -s conftest.err'
69372  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373  (eval $ac_try) 2>&5
69374  ac_status=$?
69375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376  (exit $ac_status); }; } &&
69377	 { ac_try='test -s conftest.$ac_objext'
69378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379  (eval $ac_try) 2>&5
69380  ac_status=$?
69381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382  (exit $ac_status); }; }; then
69383  glibcxx_cv_func_logl_use=yes
69384else
69385  echo "$as_me: failed program was:" >&5
69386sed 's/^/| /' conftest.$ac_ext >&5
69387
69388glibcxx_cv_func_logl_use=no
69389fi
69390rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69391      ac_ext=c
69392ac_cpp='$CPP $CPPFLAGS'
69393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396
69397
69398fi
69399
69400  fi
69401  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69402echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69403
69404  if test x$glibcxx_cv_func_logl_use = x"yes"; then
69405
69406for ac_func in logl
69407do
69408as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69409echo "$as_me:$LINENO: checking for $ac_func" >&5
69410echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69411if eval "test \"\${$as_ac_var+set}\" = set"; then
69412  echo $ECHO_N "(cached) $ECHO_C" >&6
69413else
69414  if test x$gcc_no_link = xyes; then
69415  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69416echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69417   { (exit 1); exit 1; }; }
69418fi
69419cat >conftest.$ac_ext <<_ACEOF
69420/* confdefs.h.  */
69421_ACEOF
69422cat confdefs.h >>conftest.$ac_ext
69423cat >>conftest.$ac_ext <<_ACEOF
69424/* end confdefs.h.  */
69425/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69426   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69427#define $ac_func innocuous_$ac_func
69428
69429/* System header to define __stub macros and hopefully few prototypes,
69430    which can conflict with char $ac_func (); below.
69431    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69432    <limits.h> exists even on freestanding compilers.  */
69433
69434#ifdef __STDC__
69435# include <limits.h>
69436#else
69437# include <assert.h>
69438#endif
69439
69440#undef $ac_func
69441
69442/* Override any gcc2 internal prototype to avoid an error.  */
69443#ifdef __cplusplus
69444extern "C"
69445{
69446#endif
69447/* We use char because int might match the return type of a gcc2
69448   builtin and then its argument prototype would still apply.  */
69449char $ac_func ();
69450/* The GNU C library defines this for functions which it implements
69451    to always fail with ENOSYS.  Some functions are actually named
69452    something starting with __ and the normal name is an alias.  */
69453#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69454choke me
69455#else
69456char (*f) () = $ac_func;
69457#endif
69458#ifdef __cplusplus
69459}
69460#endif
69461
69462int
69463main ()
69464{
69465return f != $ac_func;
69466  ;
69467  return 0;
69468}
69469_ACEOF
69470rm -f conftest.$ac_objext conftest$ac_exeext
69471if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69472  (eval $ac_link) 2>conftest.er1
69473  ac_status=$?
69474  grep -v '^ *+' conftest.er1 >conftest.err
69475  rm -f conftest.er1
69476  cat conftest.err >&5
69477  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69478  (exit $ac_status); } &&
69479	 { ac_try='test -z "$ac_c_werror_flag"
69480			 || test ! -s conftest.err'
69481  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69482  (eval $ac_try) 2>&5
69483  ac_status=$?
69484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69485  (exit $ac_status); }; } &&
69486	 { ac_try='test -s conftest$ac_exeext'
69487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69488  (eval $ac_try) 2>&5
69489  ac_status=$?
69490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69491  (exit $ac_status); }; }; then
69492  eval "$as_ac_var=yes"
69493else
69494  echo "$as_me: failed program was:" >&5
69495sed 's/^/| /' conftest.$ac_ext >&5
69496
69497eval "$as_ac_var=no"
69498fi
69499rm -f conftest.err conftest.$ac_objext \
69500      conftest$ac_exeext conftest.$ac_ext
69501fi
69502echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69503echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69504if test `eval echo '${'$as_ac_var'}'` = yes; then
69505  cat >>confdefs.h <<_ACEOF
69506#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69507_ACEOF
69508
69509fi
69510done
69511
69512  else
69513
69514  echo "$as_me:$LINENO: checking for _logl declaration" >&5
69515echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69516  if test x${glibcxx_cv_func__logl_use+set} != xset; then
69517    if test "${glibcxx_cv_func__logl_use+set}" = set; then
69518  echo $ECHO_N "(cached) $ECHO_C" >&6
69519else
69520
69521
69522
69523      ac_ext=cc
69524ac_cpp='$CXXCPP $CPPFLAGS'
69525ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69526ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69527ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69528
69529      cat >conftest.$ac_ext <<_ACEOF
69530/* confdefs.h.  */
69531_ACEOF
69532cat confdefs.h >>conftest.$ac_ext
69533cat >>conftest.$ac_ext <<_ACEOF
69534/* end confdefs.h.  */
69535#include <math.h>
69536		      #ifdef HAVE_IEEEFP_H
69537		      #include <ieeefp.h>
69538		      #endif
69539
69540int
69541main ()
69542{
69543 _logl(0);
69544  ;
69545  return 0;
69546}
69547_ACEOF
69548rm -f conftest.$ac_objext
69549if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69550  (eval $ac_compile) 2>conftest.er1
69551  ac_status=$?
69552  grep -v '^ *+' conftest.er1 >conftest.err
69553  rm -f conftest.er1
69554  cat conftest.err >&5
69555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69556  (exit $ac_status); } &&
69557	 { ac_try='test -z "$ac_cxx_werror_flag"
69558			 || test ! -s conftest.err'
69559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69560  (eval $ac_try) 2>&5
69561  ac_status=$?
69562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69563  (exit $ac_status); }; } &&
69564	 { ac_try='test -s conftest.$ac_objext'
69565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69566  (eval $ac_try) 2>&5
69567  ac_status=$?
69568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69569  (exit $ac_status); }; }; then
69570  glibcxx_cv_func__logl_use=yes
69571else
69572  echo "$as_me: failed program was:" >&5
69573sed 's/^/| /' conftest.$ac_ext >&5
69574
69575glibcxx_cv_func__logl_use=no
69576fi
69577rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69578      ac_ext=c
69579ac_cpp='$CPP $CPPFLAGS'
69580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69582ac_compiler_gnu=$ac_cv_c_compiler_gnu
69583
69584
69585fi
69586
69587  fi
69588  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69589echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69590
69591    if test x$glibcxx_cv_func__logl_use = x"yes"; then
69592
69593for ac_func in _logl
69594do
69595as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69596echo "$as_me:$LINENO: checking for $ac_func" >&5
69597echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69598if eval "test \"\${$as_ac_var+set}\" = set"; then
69599  echo $ECHO_N "(cached) $ECHO_C" >&6
69600else
69601  if test x$gcc_no_link = xyes; then
69602  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69603echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69604   { (exit 1); exit 1; }; }
69605fi
69606cat >conftest.$ac_ext <<_ACEOF
69607/* confdefs.h.  */
69608_ACEOF
69609cat confdefs.h >>conftest.$ac_ext
69610cat >>conftest.$ac_ext <<_ACEOF
69611/* end confdefs.h.  */
69612/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69613   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69614#define $ac_func innocuous_$ac_func
69615
69616/* System header to define __stub macros and hopefully few prototypes,
69617    which can conflict with char $ac_func (); below.
69618    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69619    <limits.h> exists even on freestanding compilers.  */
69620
69621#ifdef __STDC__
69622# include <limits.h>
69623#else
69624# include <assert.h>
69625#endif
69626
69627#undef $ac_func
69628
69629/* Override any gcc2 internal prototype to avoid an error.  */
69630#ifdef __cplusplus
69631extern "C"
69632{
69633#endif
69634/* We use char because int might match the return type of a gcc2
69635   builtin and then its argument prototype would still apply.  */
69636char $ac_func ();
69637/* The GNU C library defines this for functions which it implements
69638    to always fail with ENOSYS.  Some functions are actually named
69639    something starting with __ and the normal name is an alias.  */
69640#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69641choke me
69642#else
69643char (*f) () = $ac_func;
69644#endif
69645#ifdef __cplusplus
69646}
69647#endif
69648
69649int
69650main ()
69651{
69652return f != $ac_func;
69653  ;
69654  return 0;
69655}
69656_ACEOF
69657rm -f conftest.$ac_objext conftest$ac_exeext
69658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69659  (eval $ac_link) 2>conftest.er1
69660  ac_status=$?
69661  grep -v '^ *+' conftest.er1 >conftest.err
69662  rm -f conftest.er1
69663  cat conftest.err >&5
69664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665  (exit $ac_status); } &&
69666	 { ac_try='test -z "$ac_c_werror_flag"
69667			 || test ! -s conftest.err'
69668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69669  (eval $ac_try) 2>&5
69670  ac_status=$?
69671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69672  (exit $ac_status); }; } &&
69673	 { ac_try='test -s conftest$ac_exeext'
69674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69675  (eval $ac_try) 2>&5
69676  ac_status=$?
69677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69678  (exit $ac_status); }; }; then
69679  eval "$as_ac_var=yes"
69680else
69681  echo "$as_me: failed program was:" >&5
69682sed 's/^/| /' conftest.$ac_ext >&5
69683
69684eval "$as_ac_var=no"
69685fi
69686rm -f conftest.err conftest.$ac_objext \
69687      conftest$ac_exeext conftest.$ac_ext
69688fi
69689echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69690echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69691if test `eval echo '${'$as_ac_var'}'` = yes; then
69692  cat >>confdefs.h <<_ACEOF
69693#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69694_ACEOF
69695
69696fi
69697done
69698
69699    fi
69700  fi
69701
69702
69703
69704
69705
69706
69707  echo "$as_me:$LINENO: checking for log10l declaration" >&5
69708echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69709  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69710    if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69711  echo $ECHO_N "(cached) $ECHO_C" >&6
69712else
69713
69714
69715
69716      ac_ext=cc
69717ac_cpp='$CXXCPP $CPPFLAGS'
69718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69721
69722      cat >conftest.$ac_ext <<_ACEOF
69723/* confdefs.h.  */
69724_ACEOF
69725cat confdefs.h >>conftest.$ac_ext
69726cat >>conftest.$ac_ext <<_ACEOF
69727/* end confdefs.h.  */
69728#include <math.h>
69729		      #ifdef HAVE_IEEEFP_H
69730		      #include <ieeefp.h>
69731		      #endif
69732
69733int
69734main ()
69735{
69736 log10l(0);
69737  ;
69738  return 0;
69739}
69740_ACEOF
69741rm -f conftest.$ac_objext
69742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69743  (eval $ac_compile) 2>conftest.er1
69744  ac_status=$?
69745  grep -v '^ *+' conftest.er1 >conftest.err
69746  rm -f conftest.er1
69747  cat conftest.err >&5
69748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69749  (exit $ac_status); } &&
69750	 { ac_try='test -z "$ac_cxx_werror_flag"
69751			 || test ! -s conftest.err'
69752  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753  (eval $ac_try) 2>&5
69754  ac_status=$?
69755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756  (exit $ac_status); }; } &&
69757	 { ac_try='test -s conftest.$ac_objext'
69758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759  (eval $ac_try) 2>&5
69760  ac_status=$?
69761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762  (exit $ac_status); }; }; then
69763  glibcxx_cv_func_log10l_use=yes
69764else
69765  echo "$as_me: failed program was:" >&5
69766sed 's/^/| /' conftest.$ac_ext >&5
69767
69768glibcxx_cv_func_log10l_use=no
69769fi
69770rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69771      ac_ext=c
69772ac_cpp='$CPP $CPPFLAGS'
69773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69775ac_compiler_gnu=$ac_cv_c_compiler_gnu
69776
69777
69778fi
69779
69780  fi
69781  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69782echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69783
69784  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69785
69786for ac_func in log10l
69787do
69788as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69789echo "$as_me:$LINENO: checking for $ac_func" >&5
69790echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69791if eval "test \"\${$as_ac_var+set}\" = set"; then
69792  echo $ECHO_N "(cached) $ECHO_C" >&6
69793else
69794  if test x$gcc_no_link = xyes; then
69795  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69796echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69797   { (exit 1); exit 1; }; }
69798fi
69799cat >conftest.$ac_ext <<_ACEOF
69800/* confdefs.h.  */
69801_ACEOF
69802cat confdefs.h >>conftest.$ac_ext
69803cat >>conftest.$ac_ext <<_ACEOF
69804/* end confdefs.h.  */
69805/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69806   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69807#define $ac_func innocuous_$ac_func
69808
69809/* System header to define __stub macros and hopefully few prototypes,
69810    which can conflict with char $ac_func (); below.
69811    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69812    <limits.h> exists even on freestanding compilers.  */
69813
69814#ifdef __STDC__
69815# include <limits.h>
69816#else
69817# include <assert.h>
69818#endif
69819
69820#undef $ac_func
69821
69822/* Override any gcc2 internal prototype to avoid an error.  */
69823#ifdef __cplusplus
69824extern "C"
69825{
69826#endif
69827/* We use char because int might match the return type of a gcc2
69828   builtin and then its argument prototype would still apply.  */
69829char $ac_func ();
69830/* The GNU C library defines this for functions which it implements
69831    to always fail with ENOSYS.  Some functions are actually named
69832    something starting with __ and the normal name is an alias.  */
69833#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69834choke me
69835#else
69836char (*f) () = $ac_func;
69837#endif
69838#ifdef __cplusplus
69839}
69840#endif
69841
69842int
69843main ()
69844{
69845return f != $ac_func;
69846  ;
69847  return 0;
69848}
69849_ACEOF
69850rm -f conftest.$ac_objext conftest$ac_exeext
69851if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69852  (eval $ac_link) 2>conftest.er1
69853  ac_status=$?
69854  grep -v '^ *+' conftest.er1 >conftest.err
69855  rm -f conftest.er1
69856  cat conftest.err >&5
69857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69858  (exit $ac_status); } &&
69859	 { ac_try='test -z "$ac_c_werror_flag"
69860			 || test ! -s conftest.err'
69861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69862  (eval $ac_try) 2>&5
69863  ac_status=$?
69864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69865  (exit $ac_status); }; } &&
69866	 { ac_try='test -s conftest$ac_exeext'
69867  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69868  (eval $ac_try) 2>&5
69869  ac_status=$?
69870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69871  (exit $ac_status); }; }; then
69872  eval "$as_ac_var=yes"
69873else
69874  echo "$as_me: failed program was:" >&5
69875sed 's/^/| /' conftest.$ac_ext >&5
69876
69877eval "$as_ac_var=no"
69878fi
69879rm -f conftest.err conftest.$ac_objext \
69880      conftest$ac_exeext conftest.$ac_ext
69881fi
69882echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69883echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69884if test `eval echo '${'$as_ac_var'}'` = yes; then
69885  cat >>confdefs.h <<_ACEOF
69886#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69887_ACEOF
69888
69889fi
69890done
69891
69892  else
69893
69894  echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69895echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69896  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69897    if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69898  echo $ECHO_N "(cached) $ECHO_C" >&6
69899else
69900
69901
69902
69903      ac_ext=cc
69904ac_cpp='$CXXCPP $CPPFLAGS'
69905ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69908
69909      cat >conftest.$ac_ext <<_ACEOF
69910/* confdefs.h.  */
69911_ACEOF
69912cat confdefs.h >>conftest.$ac_ext
69913cat >>conftest.$ac_ext <<_ACEOF
69914/* end confdefs.h.  */
69915#include <math.h>
69916		      #ifdef HAVE_IEEEFP_H
69917		      #include <ieeefp.h>
69918		      #endif
69919
69920int
69921main ()
69922{
69923 _log10l(0);
69924  ;
69925  return 0;
69926}
69927_ACEOF
69928rm -f conftest.$ac_objext
69929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69930  (eval $ac_compile) 2>conftest.er1
69931  ac_status=$?
69932  grep -v '^ *+' conftest.er1 >conftest.err
69933  rm -f conftest.er1
69934  cat conftest.err >&5
69935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936  (exit $ac_status); } &&
69937	 { ac_try='test -z "$ac_cxx_werror_flag"
69938			 || test ! -s conftest.err'
69939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69940  (eval $ac_try) 2>&5
69941  ac_status=$?
69942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69943  (exit $ac_status); }; } &&
69944	 { ac_try='test -s conftest.$ac_objext'
69945  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69946  (eval $ac_try) 2>&5
69947  ac_status=$?
69948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69949  (exit $ac_status); }; }; then
69950  glibcxx_cv_func__log10l_use=yes
69951else
69952  echo "$as_me: failed program was:" >&5
69953sed 's/^/| /' conftest.$ac_ext >&5
69954
69955glibcxx_cv_func__log10l_use=no
69956fi
69957rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69958      ac_ext=c
69959ac_cpp='$CPP $CPPFLAGS'
69960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69962ac_compiler_gnu=$ac_cv_c_compiler_gnu
69963
69964
69965fi
69966
69967  fi
69968  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69969echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69970
69971    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69972
69973for ac_func in _log10l
69974do
69975as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69976echo "$as_me:$LINENO: checking for $ac_func" >&5
69977echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69978if eval "test \"\${$as_ac_var+set}\" = set"; then
69979  echo $ECHO_N "(cached) $ECHO_C" >&6
69980else
69981  if test x$gcc_no_link = xyes; then
69982  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69983echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69984   { (exit 1); exit 1; }; }
69985fi
69986cat >conftest.$ac_ext <<_ACEOF
69987/* confdefs.h.  */
69988_ACEOF
69989cat confdefs.h >>conftest.$ac_ext
69990cat >>conftest.$ac_ext <<_ACEOF
69991/* end confdefs.h.  */
69992/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69993   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69994#define $ac_func innocuous_$ac_func
69995
69996/* System header to define __stub macros and hopefully few prototypes,
69997    which can conflict with char $ac_func (); below.
69998    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69999    <limits.h> exists even on freestanding compilers.  */
70000
70001#ifdef __STDC__
70002# include <limits.h>
70003#else
70004# include <assert.h>
70005#endif
70006
70007#undef $ac_func
70008
70009/* Override any gcc2 internal prototype to avoid an error.  */
70010#ifdef __cplusplus
70011extern "C"
70012{
70013#endif
70014/* We use char because int might match the return type of a gcc2
70015   builtin and then its argument prototype would still apply.  */
70016char $ac_func ();
70017/* The GNU C library defines this for functions which it implements
70018    to always fail with ENOSYS.  Some functions are actually named
70019    something starting with __ and the normal name is an alias.  */
70020#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70021choke me
70022#else
70023char (*f) () = $ac_func;
70024#endif
70025#ifdef __cplusplus
70026}
70027#endif
70028
70029int
70030main ()
70031{
70032return f != $ac_func;
70033  ;
70034  return 0;
70035}
70036_ACEOF
70037rm -f conftest.$ac_objext conftest$ac_exeext
70038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70039  (eval $ac_link) 2>conftest.er1
70040  ac_status=$?
70041  grep -v '^ *+' conftest.er1 >conftest.err
70042  rm -f conftest.er1
70043  cat conftest.err >&5
70044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70045  (exit $ac_status); } &&
70046	 { ac_try='test -z "$ac_c_werror_flag"
70047			 || test ! -s conftest.err'
70048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70049  (eval $ac_try) 2>&5
70050  ac_status=$?
70051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70052  (exit $ac_status); }; } &&
70053	 { ac_try='test -s conftest$ac_exeext'
70054  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70055  (eval $ac_try) 2>&5
70056  ac_status=$?
70057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70058  (exit $ac_status); }; }; then
70059  eval "$as_ac_var=yes"
70060else
70061  echo "$as_me: failed program was:" >&5
70062sed 's/^/| /' conftest.$ac_ext >&5
70063
70064eval "$as_ac_var=no"
70065fi
70066rm -f conftest.err conftest.$ac_objext \
70067      conftest$ac_exeext conftest.$ac_ext
70068fi
70069echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70070echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70071if test `eval echo '${'$as_ac_var'}'` = yes; then
70072  cat >>confdefs.h <<_ACEOF
70073#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70074_ACEOF
70075
70076fi
70077done
70078
70079    fi
70080  fi
70081
70082
70083
70084
70085
70086
70087  echo "$as_me:$LINENO: checking for modfl declaration" >&5
70088echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
70089  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70090    if test "${glibcxx_cv_func_modfl_use+set}" = set; then
70091  echo $ECHO_N "(cached) $ECHO_C" >&6
70092else
70093
70094
70095
70096      ac_ext=cc
70097ac_cpp='$CXXCPP $CPPFLAGS'
70098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70101
70102      cat >conftest.$ac_ext <<_ACEOF
70103/* confdefs.h.  */
70104_ACEOF
70105cat confdefs.h >>conftest.$ac_ext
70106cat >>conftest.$ac_ext <<_ACEOF
70107/* end confdefs.h.  */
70108#include <math.h>
70109int
70110main ()
70111{
70112 modfl(0, 0);
70113  ;
70114  return 0;
70115}
70116_ACEOF
70117rm -f conftest.$ac_objext
70118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70119  (eval $ac_compile) 2>conftest.er1
70120  ac_status=$?
70121  grep -v '^ *+' conftest.er1 >conftest.err
70122  rm -f conftest.er1
70123  cat conftest.err >&5
70124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70125  (exit $ac_status); } &&
70126	 { ac_try='test -z "$ac_cxx_werror_flag"
70127			 || test ! -s conftest.err'
70128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70129  (eval $ac_try) 2>&5
70130  ac_status=$?
70131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70132  (exit $ac_status); }; } &&
70133	 { ac_try='test -s conftest.$ac_objext'
70134  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135  (eval $ac_try) 2>&5
70136  ac_status=$?
70137  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138  (exit $ac_status); }; }; then
70139  glibcxx_cv_func_modfl_use=yes
70140else
70141  echo "$as_me: failed program was:" >&5
70142sed 's/^/| /' conftest.$ac_ext >&5
70143
70144glibcxx_cv_func_modfl_use=no
70145fi
70146rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70147      ac_ext=c
70148ac_cpp='$CPP $CPPFLAGS'
70149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70151ac_compiler_gnu=$ac_cv_c_compiler_gnu
70152
70153
70154fi
70155
70156  fi
70157  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
70158echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
70159
70160  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70161
70162for ac_func in modfl
70163do
70164as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70165echo "$as_me:$LINENO: checking for $ac_func" >&5
70166echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70167if eval "test \"\${$as_ac_var+set}\" = set"; then
70168  echo $ECHO_N "(cached) $ECHO_C" >&6
70169else
70170  if test x$gcc_no_link = xyes; then
70171  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70172echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70173   { (exit 1); exit 1; }; }
70174fi
70175cat >conftest.$ac_ext <<_ACEOF
70176/* confdefs.h.  */
70177_ACEOF
70178cat confdefs.h >>conftest.$ac_ext
70179cat >>conftest.$ac_ext <<_ACEOF
70180/* end confdefs.h.  */
70181/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70182   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70183#define $ac_func innocuous_$ac_func
70184
70185/* System header to define __stub macros and hopefully few prototypes,
70186    which can conflict with char $ac_func (); below.
70187    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70188    <limits.h> exists even on freestanding compilers.  */
70189
70190#ifdef __STDC__
70191# include <limits.h>
70192#else
70193# include <assert.h>
70194#endif
70195
70196#undef $ac_func
70197
70198/* Override any gcc2 internal prototype to avoid an error.  */
70199#ifdef __cplusplus
70200extern "C"
70201{
70202#endif
70203/* We use char because int might match the return type of a gcc2
70204   builtin and then its argument prototype would still apply.  */
70205char $ac_func ();
70206/* The GNU C library defines this for functions which it implements
70207    to always fail with ENOSYS.  Some functions are actually named
70208    something starting with __ and the normal name is an alias.  */
70209#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70210choke me
70211#else
70212char (*f) () = $ac_func;
70213#endif
70214#ifdef __cplusplus
70215}
70216#endif
70217
70218int
70219main ()
70220{
70221return f != $ac_func;
70222  ;
70223  return 0;
70224}
70225_ACEOF
70226rm -f conftest.$ac_objext conftest$ac_exeext
70227if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70228  (eval $ac_link) 2>conftest.er1
70229  ac_status=$?
70230  grep -v '^ *+' conftest.er1 >conftest.err
70231  rm -f conftest.er1
70232  cat conftest.err >&5
70233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70234  (exit $ac_status); } &&
70235	 { ac_try='test -z "$ac_c_werror_flag"
70236			 || test ! -s conftest.err'
70237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70238  (eval $ac_try) 2>&5
70239  ac_status=$?
70240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70241  (exit $ac_status); }; } &&
70242	 { ac_try='test -s conftest$ac_exeext'
70243  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70244  (eval $ac_try) 2>&5
70245  ac_status=$?
70246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70247  (exit $ac_status); }; }; then
70248  eval "$as_ac_var=yes"
70249else
70250  echo "$as_me: failed program was:" >&5
70251sed 's/^/| /' conftest.$ac_ext >&5
70252
70253eval "$as_ac_var=no"
70254fi
70255rm -f conftest.err conftest.$ac_objext \
70256      conftest$ac_exeext conftest.$ac_ext
70257fi
70258echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70259echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70260if test `eval echo '${'$as_ac_var'}'` = yes; then
70261  cat >>confdefs.h <<_ACEOF
70262#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70263_ACEOF
70264
70265fi
70266done
70267
70268  else
70269
70270  echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70271echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70272  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70273    if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70274  echo $ECHO_N "(cached) $ECHO_C" >&6
70275else
70276
70277
70278
70279      ac_ext=cc
70280ac_cpp='$CXXCPP $CPPFLAGS'
70281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70284
70285      cat >conftest.$ac_ext <<_ACEOF
70286/* confdefs.h.  */
70287_ACEOF
70288cat confdefs.h >>conftest.$ac_ext
70289cat >>conftest.$ac_ext <<_ACEOF
70290/* end confdefs.h.  */
70291#include <math.h>
70292int
70293main ()
70294{
70295 _modfl(0, 0);
70296  ;
70297  return 0;
70298}
70299_ACEOF
70300rm -f conftest.$ac_objext
70301if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70302  (eval $ac_compile) 2>conftest.er1
70303  ac_status=$?
70304  grep -v '^ *+' conftest.er1 >conftest.err
70305  rm -f conftest.er1
70306  cat conftest.err >&5
70307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70308  (exit $ac_status); } &&
70309	 { ac_try='test -z "$ac_cxx_werror_flag"
70310			 || test ! -s conftest.err'
70311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70312  (eval $ac_try) 2>&5
70313  ac_status=$?
70314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70315  (exit $ac_status); }; } &&
70316	 { ac_try='test -s conftest.$ac_objext'
70317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70318  (eval $ac_try) 2>&5
70319  ac_status=$?
70320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70321  (exit $ac_status); }; }; then
70322  glibcxx_cv_func__modfl_use=yes
70323else
70324  echo "$as_me: failed program was:" >&5
70325sed 's/^/| /' conftest.$ac_ext >&5
70326
70327glibcxx_cv_func__modfl_use=no
70328fi
70329rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70330      ac_ext=c
70331ac_cpp='$CPP $CPPFLAGS'
70332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70334ac_compiler_gnu=$ac_cv_c_compiler_gnu
70335
70336
70337fi
70338
70339  fi
70340  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70341echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70342
70343    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70344
70345for ac_func in _modfl
70346do
70347as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70348echo "$as_me:$LINENO: checking for $ac_func" >&5
70349echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70350if eval "test \"\${$as_ac_var+set}\" = set"; then
70351  echo $ECHO_N "(cached) $ECHO_C" >&6
70352else
70353  if test x$gcc_no_link = xyes; then
70354  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70355echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70356   { (exit 1); exit 1; }; }
70357fi
70358cat >conftest.$ac_ext <<_ACEOF
70359/* confdefs.h.  */
70360_ACEOF
70361cat confdefs.h >>conftest.$ac_ext
70362cat >>conftest.$ac_ext <<_ACEOF
70363/* end confdefs.h.  */
70364/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70365   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70366#define $ac_func innocuous_$ac_func
70367
70368/* System header to define __stub macros and hopefully few prototypes,
70369    which can conflict with char $ac_func (); below.
70370    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70371    <limits.h> exists even on freestanding compilers.  */
70372
70373#ifdef __STDC__
70374# include <limits.h>
70375#else
70376# include <assert.h>
70377#endif
70378
70379#undef $ac_func
70380
70381/* Override any gcc2 internal prototype to avoid an error.  */
70382#ifdef __cplusplus
70383extern "C"
70384{
70385#endif
70386/* We use char because int might match the return type of a gcc2
70387   builtin and then its argument prototype would still apply.  */
70388char $ac_func ();
70389/* The GNU C library defines this for functions which it implements
70390    to always fail with ENOSYS.  Some functions are actually named
70391    something starting with __ and the normal name is an alias.  */
70392#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70393choke me
70394#else
70395char (*f) () = $ac_func;
70396#endif
70397#ifdef __cplusplus
70398}
70399#endif
70400
70401int
70402main ()
70403{
70404return f != $ac_func;
70405  ;
70406  return 0;
70407}
70408_ACEOF
70409rm -f conftest.$ac_objext conftest$ac_exeext
70410if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70411  (eval $ac_link) 2>conftest.er1
70412  ac_status=$?
70413  grep -v '^ *+' conftest.er1 >conftest.err
70414  rm -f conftest.er1
70415  cat conftest.err >&5
70416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70417  (exit $ac_status); } &&
70418	 { ac_try='test -z "$ac_c_werror_flag"
70419			 || test ! -s conftest.err'
70420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70421  (eval $ac_try) 2>&5
70422  ac_status=$?
70423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70424  (exit $ac_status); }; } &&
70425	 { ac_try='test -s conftest$ac_exeext'
70426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70427  (eval $ac_try) 2>&5
70428  ac_status=$?
70429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70430  (exit $ac_status); }; }; then
70431  eval "$as_ac_var=yes"
70432else
70433  echo "$as_me: failed program was:" >&5
70434sed 's/^/| /' conftest.$ac_ext >&5
70435
70436eval "$as_ac_var=no"
70437fi
70438rm -f conftest.err conftest.$ac_objext \
70439      conftest$ac_exeext conftest.$ac_ext
70440fi
70441echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70442echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70443if test `eval echo '${'$as_ac_var'}'` = yes; then
70444  cat >>confdefs.h <<_ACEOF
70445#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70446_ACEOF
70447
70448fi
70449done
70450
70451    fi
70452  fi
70453
70454
70455
70456
70457
70458
70459  echo "$as_me:$LINENO: checking for powl declaration" >&5
70460echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70461  if test x${glibcxx_cv_func_powl_use+set} != xset; then
70462    if test "${glibcxx_cv_func_powl_use+set}" = set; then
70463  echo $ECHO_N "(cached) $ECHO_C" >&6
70464else
70465
70466
70467
70468      ac_ext=cc
70469ac_cpp='$CXXCPP $CPPFLAGS'
70470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70473
70474      cat >conftest.$ac_ext <<_ACEOF
70475/* confdefs.h.  */
70476_ACEOF
70477cat confdefs.h >>conftest.$ac_ext
70478cat >>conftest.$ac_ext <<_ACEOF
70479/* end confdefs.h.  */
70480#include <math.h>
70481int
70482main ()
70483{
70484 powl(0, 0);
70485  ;
70486  return 0;
70487}
70488_ACEOF
70489rm -f conftest.$ac_objext
70490if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70491  (eval $ac_compile) 2>conftest.er1
70492  ac_status=$?
70493  grep -v '^ *+' conftest.er1 >conftest.err
70494  rm -f conftest.er1
70495  cat conftest.err >&5
70496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497  (exit $ac_status); } &&
70498	 { ac_try='test -z "$ac_cxx_werror_flag"
70499			 || test ! -s conftest.err'
70500  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70501  (eval $ac_try) 2>&5
70502  ac_status=$?
70503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504  (exit $ac_status); }; } &&
70505	 { ac_try='test -s conftest.$ac_objext'
70506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70507  (eval $ac_try) 2>&5
70508  ac_status=$?
70509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510  (exit $ac_status); }; }; then
70511  glibcxx_cv_func_powl_use=yes
70512else
70513  echo "$as_me: failed program was:" >&5
70514sed 's/^/| /' conftest.$ac_ext >&5
70515
70516glibcxx_cv_func_powl_use=no
70517fi
70518rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70519      ac_ext=c
70520ac_cpp='$CPP $CPPFLAGS'
70521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70523ac_compiler_gnu=$ac_cv_c_compiler_gnu
70524
70525
70526fi
70527
70528  fi
70529  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70530echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70531
70532  if test x$glibcxx_cv_func_powl_use = x"yes"; then
70533
70534for ac_func in powl
70535do
70536as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70537echo "$as_me:$LINENO: checking for $ac_func" >&5
70538echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70539if eval "test \"\${$as_ac_var+set}\" = set"; then
70540  echo $ECHO_N "(cached) $ECHO_C" >&6
70541else
70542  if test x$gcc_no_link = xyes; then
70543  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70544echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70545   { (exit 1); exit 1; }; }
70546fi
70547cat >conftest.$ac_ext <<_ACEOF
70548/* confdefs.h.  */
70549_ACEOF
70550cat confdefs.h >>conftest.$ac_ext
70551cat >>conftest.$ac_ext <<_ACEOF
70552/* end confdefs.h.  */
70553/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70554   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70555#define $ac_func innocuous_$ac_func
70556
70557/* System header to define __stub macros and hopefully few prototypes,
70558    which can conflict with char $ac_func (); below.
70559    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70560    <limits.h> exists even on freestanding compilers.  */
70561
70562#ifdef __STDC__
70563# include <limits.h>
70564#else
70565# include <assert.h>
70566#endif
70567
70568#undef $ac_func
70569
70570/* Override any gcc2 internal prototype to avoid an error.  */
70571#ifdef __cplusplus
70572extern "C"
70573{
70574#endif
70575/* We use char because int might match the return type of a gcc2
70576   builtin and then its argument prototype would still apply.  */
70577char $ac_func ();
70578/* The GNU C library defines this for functions which it implements
70579    to always fail with ENOSYS.  Some functions are actually named
70580    something starting with __ and the normal name is an alias.  */
70581#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70582choke me
70583#else
70584char (*f) () = $ac_func;
70585#endif
70586#ifdef __cplusplus
70587}
70588#endif
70589
70590int
70591main ()
70592{
70593return f != $ac_func;
70594  ;
70595  return 0;
70596}
70597_ACEOF
70598rm -f conftest.$ac_objext conftest$ac_exeext
70599if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70600  (eval $ac_link) 2>conftest.er1
70601  ac_status=$?
70602  grep -v '^ *+' conftest.er1 >conftest.err
70603  rm -f conftest.er1
70604  cat conftest.err >&5
70605  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70606  (exit $ac_status); } &&
70607	 { ac_try='test -z "$ac_c_werror_flag"
70608			 || test ! -s conftest.err'
70609  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70610  (eval $ac_try) 2>&5
70611  ac_status=$?
70612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70613  (exit $ac_status); }; } &&
70614	 { ac_try='test -s conftest$ac_exeext'
70615  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70616  (eval $ac_try) 2>&5
70617  ac_status=$?
70618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70619  (exit $ac_status); }; }; then
70620  eval "$as_ac_var=yes"
70621else
70622  echo "$as_me: failed program was:" >&5
70623sed 's/^/| /' conftest.$ac_ext >&5
70624
70625eval "$as_ac_var=no"
70626fi
70627rm -f conftest.err conftest.$ac_objext \
70628      conftest$ac_exeext conftest.$ac_ext
70629fi
70630echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70631echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70632if test `eval echo '${'$as_ac_var'}'` = yes; then
70633  cat >>confdefs.h <<_ACEOF
70634#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70635_ACEOF
70636
70637fi
70638done
70639
70640  else
70641
70642  echo "$as_me:$LINENO: checking for _powl declaration" >&5
70643echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70644  if test x${glibcxx_cv_func__powl_use+set} != xset; then
70645    if test "${glibcxx_cv_func__powl_use+set}" = set; then
70646  echo $ECHO_N "(cached) $ECHO_C" >&6
70647else
70648
70649
70650
70651      ac_ext=cc
70652ac_cpp='$CXXCPP $CPPFLAGS'
70653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70656
70657      cat >conftest.$ac_ext <<_ACEOF
70658/* confdefs.h.  */
70659_ACEOF
70660cat confdefs.h >>conftest.$ac_ext
70661cat >>conftest.$ac_ext <<_ACEOF
70662/* end confdefs.h.  */
70663#include <math.h>
70664int
70665main ()
70666{
70667 _powl(0, 0);
70668  ;
70669  return 0;
70670}
70671_ACEOF
70672rm -f conftest.$ac_objext
70673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70674  (eval $ac_compile) 2>conftest.er1
70675  ac_status=$?
70676  grep -v '^ *+' conftest.er1 >conftest.err
70677  rm -f conftest.er1
70678  cat conftest.err >&5
70679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70680  (exit $ac_status); } &&
70681	 { ac_try='test -z "$ac_cxx_werror_flag"
70682			 || test ! -s conftest.err'
70683  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70684  (eval $ac_try) 2>&5
70685  ac_status=$?
70686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70687  (exit $ac_status); }; } &&
70688	 { ac_try='test -s conftest.$ac_objext'
70689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70690  (eval $ac_try) 2>&5
70691  ac_status=$?
70692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70693  (exit $ac_status); }; }; then
70694  glibcxx_cv_func__powl_use=yes
70695else
70696  echo "$as_me: failed program was:" >&5
70697sed 's/^/| /' conftest.$ac_ext >&5
70698
70699glibcxx_cv_func__powl_use=no
70700fi
70701rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70702      ac_ext=c
70703ac_cpp='$CPP $CPPFLAGS'
70704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706ac_compiler_gnu=$ac_cv_c_compiler_gnu
70707
70708
70709fi
70710
70711  fi
70712  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70713echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70714
70715    if test x$glibcxx_cv_func__powl_use = x"yes"; then
70716
70717for ac_func in _powl
70718do
70719as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70720echo "$as_me:$LINENO: checking for $ac_func" >&5
70721echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70722if eval "test \"\${$as_ac_var+set}\" = set"; then
70723  echo $ECHO_N "(cached) $ECHO_C" >&6
70724else
70725  if test x$gcc_no_link = xyes; then
70726  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70727echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70728   { (exit 1); exit 1; }; }
70729fi
70730cat >conftest.$ac_ext <<_ACEOF
70731/* confdefs.h.  */
70732_ACEOF
70733cat confdefs.h >>conftest.$ac_ext
70734cat >>conftest.$ac_ext <<_ACEOF
70735/* end confdefs.h.  */
70736/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70737   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70738#define $ac_func innocuous_$ac_func
70739
70740/* System header to define __stub macros and hopefully few prototypes,
70741    which can conflict with char $ac_func (); below.
70742    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70743    <limits.h> exists even on freestanding compilers.  */
70744
70745#ifdef __STDC__
70746# include <limits.h>
70747#else
70748# include <assert.h>
70749#endif
70750
70751#undef $ac_func
70752
70753/* Override any gcc2 internal prototype to avoid an error.  */
70754#ifdef __cplusplus
70755extern "C"
70756{
70757#endif
70758/* We use char because int might match the return type of a gcc2
70759   builtin and then its argument prototype would still apply.  */
70760char $ac_func ();
70761/* The GNU C library defines this for functions which it implements
70762    to always fail with ENOSYS.  Some functions are actually named
70763    something starting with __ and the normal name is an alias.  */
70764#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70765choke me
70766#else
70767char (*f) () = $ac_func;
70768#endif
70769#ifdef __cplusplus
70770}
70771#endif
70772
70773int
70774main ()
70775{
70776return f != $ac_func;
70777  ;
70778  return 0;
70779}
70780_ACEOF
70781rm -f conftest.$ac_objext conftest$ac_exeext
70782if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70783  (eval $ac_link) 2>conftest.er1
70784  ac_status=$?
70785  grep -v '^ *+' conftest.er1 >conftest.err
70786  rm -f conftest.er1
70787  cat conftest.err >&5
70788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70789  (exit $ac_status); } &&
70790	 { ac_try='test -z "$ac_c_werror_flag"
70791			 || test ! -s conftest.err'
70792  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70793  (eval $ac_try) 2>&5
70794  ac_status=$?
70795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70796  (exit $ac_status); }; } &&
70797	 { ac_try='test -s conftest$ac_exeext'
70798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70799  (eval $ac_try) 2>&5
70800  ac_status=$?
70801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70802  (exit $ac_status); }; }; then
70803  eval "$as_ac_var=yes"
70804else
70805  echo "$as_me: failed program was:" >&5
70806sed 's/^/| /' conftest.$ac_ext >&5
70807
70808eval "$as_ac_var=no"
70809fi
70810rm -f conftest.err conftest.$ac_objext \
70811      conftest$ac_exeext conftest.$ac_ext
70812fi
70813echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70814echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70815if test `eval echo '${'$as_ac_var'}'` = yes; then
70816  cat >>confdefs.h <<_ACEOF
70817#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70818_ACEOF
70819
70820fi
70821done
70822
70823    fi
70824  fi
70825
70826
70827
70828
70829
70830
70831  echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70832echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70833  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70834    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70835  echo $ECHO_N "(cached) $ECHO_C" >&6
70836else
70837
70838
70839
70840      ac_ext=cc
70841ac_cpp='$CXXCPP $CPPFLAGS'
70842ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70845
70846      cat >conftest.$ac_ext <<_ACEOF
70847/* confdefs.h.  */
70848_ACEOF
70849cat confdefs.h >>conftest.$ac_ext
70850cat >>conftest.$ac_ext <<_ACEOF
70851/* end confdefs.h.  */
70852#include <math.h>
70853		      #ifdef HAVE_IEEEFP_H
70854		      #include <ieeefp.h>
70855		      #endif
70856
70857int
70858main ()
70859{
70860 sqrtl(0);
70861  ;
70862  return 0;
70863}
70864_ACEOF
70865rm -f conftest.$ac_objext
70866if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70867  (eval $ac_compile) 2>conftest.er1
70868  ac_status=$?
70869  grep -v '^ *+' conftest.er1 >conftest.err
70870  rm -f conftest.er1
70871  cat conftest.err >&5
70872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70873  (exit $ac_status); } &&
70874	 { ac_try='test -z "$ac_cxx_werror_flag"
70875			 || test ! -s conftest.err'
70876  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877  (eval $ac_try) 2>&5
70878  ac_status=$?
70879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880  (exit $ac_status); }; } &&
70881	 { ac_try='test -s conftest.$ac_objext'
70882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70883  (eval $ac_try) 2>&5
70884  ac_status=$?
70885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70886  (exit $ac_status); }; }; then
70887  glibcxx_cv_func_sqrtl_use=yes
70888else
70889  echo "$as_me: failed program was:" >&5
70890sed 's/^/| /' conftest.$ac_ext >&5
70891
70892glibcxx_cv_func_sqrtl_use=no
70893fi
70894rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70895      ac_ext=c
70896ac_cpp='$CPP $CPPFLAGS'
70897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70899ac_compiler_gnu=$ac_cv_c_compiler_gnu
70900
70901
70902fi
70903
70904  fi
70905  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70906echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70907
70908  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70909
70910for ac_func in sqrtl
70911do
70912as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70913echo "$as_me:$LINENO: checking for $ac_func" >&5
70914echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70915if eval "test \"\${$as_ac_var+set}\" = set"; then
70916  echo $ECHO_N "(cached) $ECHO_C" >&6
70917else
70918  if test x$gcc_no_link = xyes; then
70919  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70920echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70921   { (exit 1); exit 1; }; }
70922fi
70923cat >conftest.$ac_ext <<_ACEOF
70924/* confdefs.h.  */
70925_ACEOF
70926cat confdefs.h >>conftest.$ac_ext
70927cat >>conftest.$ac_ext <<_ACEOF
70928/* end confdefs.h.  */
70929/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70930   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70931#define $ac_func innocuous_$ac_func
70932
70933/* System header to define __stub macros and hopefully few prototypes,
70934    which can conflict with char $ac_func (); below.
70935    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70936    <limits.h> exists even on freestanding compilers.  */
70937
70938#ifdef __STDC__
70939# include <limits.h>
70940#else
70941# include <assert.h>
70942#endif
70943
70944#undef $ac_func
70945
70946/* Override any gcc2 internal prototype to avoid an error.  */
70947#ifdef __cplusplus
70948extern "C"
70949{
70950#endif
70951/* We use char because int might match the return type of a gcc2
70952   builtin and then its argument prototype would still apply.  */
70953char $ac_func ();
70954/* The GNU C library defines this for functions which it implements
70955    to always fail with ENOSYS.  Some functions are actually named
70956    something starting with __ and the normal name is an alias.  */
70957#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70958choke me
70959#else
70960char (*f) () = $ac_func;
70961#endif
70962#ifdef __cplusplus
70963}
70964#endif
70965
70966int
70967main ()
70968{
70969return f != $ac_func;
70970  ;
70971  return 0;
70972}
70973_ACEOF
70974rm -f conftest.$ac_objext conftest$ac_exeext
70975if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70976  (eval $ac_link) 2>conftest.er1
70977  ac_status=$?
70978  grep -v '^ *+' conftest.er1 >conftest.err
70979  rm -f conftest.er1
70980  cat conftest.err >&5
70981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70982  (exit $ac_status); } &&
70983	 { ac_try='test -z "$ac_c_werror_flag"
70984			 || test ! -s conftest.err'
70985  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70986  (eval $ac_try) 2>&5
70987  ac_status=$?
70988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70989  (exit $ac_status); }; } &&
70990	 { ac_try='test -s conftest$ac_exeext'
70991  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70992  (eval $ac_try) 2>&5
70993  ac_status=$?
70994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70995  (exit $ac_status); }; }; then
70996  eval "$as_ac_var=yes"
70997else
70998  echo "$as_me: failed program was:" >&5
70999sed 's/^/| /' conftest.$ac_ext >&5
71000
71001eval "$as_ac_var=no"
71002fi
71003rm -f conftest.err conftest.$ac_objext \
71004      conftest$ac_exeext conftest.$ac_ext
71005fi
71006echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71007echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71008if test `eval echo '${'$as_ac_var'}'` = yes; then
71009  cat >>confdefs.h <<_ACEOF
71010#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71011_ACEOF
71012
71013fi
71014done
71015
71016  else
71017
71018  echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
71019echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
71020  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71021    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
71022  echo $ECHO_N "(cached) $ECHO_C" >&6
71023else
71024
71025
71026
71027      ac_ext=cc
71028ac_cpp='$CXXCPP $CPPFLAGS'
71029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71032
71033      cat >conftest.$ac_ext <<_ACEOF
71034/* confdefs.h.  */
71035_ACEOF
71036cat confdefs.h >>conftest.$ac_ext
71037cat >>conftest.$ac_ext <<_ACEOF
71038/* end confdefs.h.  */
71039#include <math.h>
71040		      #ifdef HAVE_IEEEFP_H
71041		      #include <ieeefp.h>
71042		      #endif
71043
71044int
71045main ()
71046{
71047 _sqrtl(0);
71048  ;
71049  return 0;
71050}
71051_ACEOF
71052rm -f conftest.$ac_objext
71053if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71054  (eval $ac_compile) 2>conftest.er1
71055  ac_status=$?
71056  grep -v '^ *+' conftest.er1 >conftest.err
71057  rm -f conftest.er1
71058  cat conftest.err >&5
71059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060  (exit $ac_status); } &&
71061	 { ac_try='test -z "$ac_cxx_werror_flag"
71062			 || test ! -s conftest.err'
71063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71064  (eval $ac_try) 2>&5
71065  ac_status=$?
71066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71067  (exit $ac_status); }; } &&
71068	 { ac_try='test -s conftest.$ac_objext'
71069  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71070  (eval $ac_try) 2>&5
71071  ac_status=$?
71072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71073  (exit $ac_status); }; }; then
71074  glibcxx_cv_func__sqrtl_use=yes
71075else
71076  echo "$as_me: failed program was:" >&5
71077sed 's/^/| /' conftest.$ac_ext >&5
71078
71079glibcxx_cv_func__sqrtl_use=no
71080fi
71081rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71082      ac_ext=c
71083ac_cpp='$CPP $CPPFLAGS'
71084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71086ac_compiler_gnu=$ac_cv_c_compiler_gnu
71087
71088
71089fi
71090
71091  fi
71092  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
71093echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
71094
71095    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71096
71097for ac_func in _sqrtl
71098do
71099as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71100echo "$as_me:$LINENO: checking for $ac_func" >&5
71101echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71102if eval "test \"\${$as_ac_var+set}\" = set"; then
71103  echo $ECHO_N "(cached) $ECHO_C" >&6
71104else
71105  if test x$gcc_no_link = xyes; then
71106  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71107echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71108   { (exit 1); exit 1; }; }
71109fi
71110cat >conftest.$ac_ext <<_ACEOF
71111/* confdefs.h.  */
71112_ACEOF
71113cat confdefs.h >>conftest.$ac_ext
71114cat >>conftest.$ac_ext <<_ACEOF
71115/* end confdefs.h.  */
71116/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71117   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71118#define $ac_func innocuous_$ac_func
71119
71120/* System header to define __stub macros and hopefully few prototypes,
71121    which can conflict with char $ac_func (); below.
71122    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71123    <limits.h> exists even on freestanding compilers.  */
71124
71125#ifdef __STDC__
71126# include <limits.h>
71127#else
71128# include <assert.h>
71129#endif
71130
71131#undef $ac_func
71132
71133/* Override any gcc2 internal prototype to avoid an error.  */
71134#ifdef __cplusplus
71135extern "C"
71136{
71137#endif
71138/* We use char because int might match the return type of a gcc2
71139   builtin and then its argument prototype would still apply.  */
71140char $ac_func ();
71141/* The GNU C library defines this for functions which it implements
71142    to always fail with ENOSYS.  Some functions are actually named
71143    something starting with __ and the normal name is an alias.  */
71144#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71145choke me
71146#else
71147char (*f) () = $ac_func;
71148#endif
71149#ifdef __cplusplus
71150}
71151#endif
71152
71153int
71154main ()
71155{
71156return f != $ac_func;
71157  ;
71158  return 0;
71159}
71160_ACEOF
71161rm -f conftest.$ac_objext conftest$ac_exeext
71162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71163  (eval $ac_link) 2>conftest.er1
71164  ac_status=$?
71165  grep -v '^ *+' conftest.er1 >conftest.err
71166  rm -f conftest.er1
71167  cat conftest.err >&5
71168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169  (exit $ac_status); } &&
71170	 { ac_try='test -z "$ac_c_werror_flag"
71171			 || test ! -s conftest.err'
71172  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71173  (eval $ac_try) 2>&5
71174  ac_status=$?
71175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71176  (exit $ac_status); }; } &&
71177	 { ac_try='test -s conftest$ac_exeext'
71178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71179  (eval $ac_try) 2>&5
71180  ac_status=$?
71181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71182  (exit $ac_status); }; }; then
71183  eval "$as_ac_var=yes"
71184else
71185  echo "$as_me: failed program was:" >&5
71186sed 's/^/| /' conftest.$ac_ext >&5
71187
71188eval "$as_ac_var=no"
71189fi
71190rm -f conftest.err conftest.$ac_objext \
71191      conftest$ac_exeext conftest.$ac_ext
71192fi
71193echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71194echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71195if test `eval echo '${'$as_ac_var'}'` = yes; then
71196  cat >>confdefs.h <<_ACEOF
71197#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71198_ACEOF
71199
71200fi
71201done
71202
71203    fi
71204  fi
71205
71206
71207
71208
71209
71210
71211  echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71212echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71213  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71214    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71215  echo $ECHO_N "(cached) $ECHO_C" >&6
71216else
71217
71218
71219
71220      ac_ext=cc
71221ac_cpp='$CXXCPP $CPPFLAGS'
71222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71225
71226      cat >conftest.$ac_ext <<_ACEOF
71227/* confdefs.h.  */
71228_ACEOF
71229cat confdefs.h >>conftest.$ac_ext
71230cat >>conftest.$ac_ext <<_ACEOF
71231/* end confdefs.h.  */
71232#include <math.h>
71233int
71234main ()
71235{
71236 sincosl(0, 0, 0);
71237  ;
71238  return 0;
71239}
71240_ACEOF
71241rm -f conftest.$ac_objext
71242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71243  (eval $ac_compile) 2>conftest.er1
71244  ac_status=$?
71245  grep -v '^ *+' conftest.er1 >conftest.err
71246  rm -f conftest.er1
71247  cat conftest.err >&5
71248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249  (exit $ac_status); } &&
71250	 { ac_try='test -z "$ac_cxx_werror_flag"
71251			 || test ! -s conftest.err'
71252  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71253  (eval $ac_try) 2>&5
71254  ac_status=$?
71255  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256  (exit $ac_status); }; } &&
71257	 { ac_try='test -s conftest.$ac_objext'
71258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71259  (eval $ac_try) 2>&5
71260  ac_status=$?
71261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71262  (exit $ac_status); }; }; then
71263  glibcxx_cv_func_sincosl_use=yes
71264else
71265  echo "$as_me: failed program was:" >&5
71266sed 's/^/| /' conftest.$ac_ext >&5
71267
71268glibcxx_cv_func_sincosl_use=no
71269fi
71270rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71271      ac_ext=c
71272ac_cpp='$CPP $CPPFLAGS'
71273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71275ac_compiler_gnu=$ac_cv_c_compiler_gnu
71276
71277
71278fi
71279
71280  fi
71281  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71282echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71283
71284  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71285
71286for ac_func in sincosl
71287do
71288as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71289echo "$as_me:$LINENO: checking for $ac_func" >&5
71290echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71291if eval "test \"\${$as_ac_var+set}\" = set"; then
71292  echo $ECHO_N "(cached) $ECHO_C" >&6
71293else
71294  if test x$gcc_no_link = xyes; then
71295  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71296echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71297   { (exit 1); exit 1; }; }
71298fi
71299cat >conftest.$ac_ext <<_ACEOF
71300/* confdefs.h.  */
71301_ACEOF
71302cat confdefs.h >>conftest.$ac_ext
71303cat >>conftest.$ac_ext <<_ACEOF
71304/* end confdefs.h.  */
71305/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71306   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71307#define $ac_func innocuous_$ac_func
71308
71309/* System header to define __stub macros and hopefully few prototypes,
71310    which can conflict with char $ac_func (); below.
71311    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71312    <limits.h> exists even on freestanding compilers.  */
71313
71314#ifdef __STDC__
71315# include <limits.h>
71316#else
71317# include <assert.h>
71318#endif
71319
71320#undef $ac_func
71321
71322/* Override any gcc2 internal prototype to avoid an error.  */
71323#ifdef __cplusplus
71324extern "C"
71325{
71326#endif
71327/* We use char because int might match the return type of a gcc2
71328   builtin and then its argument prototype would still apply.  */
71329char $ac_func ();
71330/* The GNU C library defines this for functions which it implements
71331    to always fail with ENOSYS.  Some functions are actually named
71332    something starting with __ and the normal name is an alias.  */
71333#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71334choke me
71335#else
71336char (*f) () = $ac_func;
71337#endif
71338#ifdef __cplusplus
71339}
71340#endif
71341
71342int
71343main ()
71344{
71345return f != $ac_func;
71346  ;
71347  return 0;
71348}
71349_ACEOF
71350rm -f conftest.$ac_objext conftest$ac_exeext
71351if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71352  (eval $ac_link) 2>conftest.er1
71353  ac_status=$?
71354  grep -v '^ *+' conftest.er1 >conftest.err
71355  rm -f conftest.er1
71356  cat conftest.err >&5
71357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71358  (exit $ac_status); } &&
71359	 { ac_try='test -z "$ac_c_werror_flag"
71360			 || test ! -s conftest.err'
71361  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71362  (eval $ac_try) 2>&5
71363  ac_status=$?
71364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71365  (exit $ac_status); }; } &&
71366	 { ac_try='test -s conftest$ac_exeext'
71367  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71368  (eval $ac_try) 2>&5
71369  ac_status=$?
71370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71371  (exit $ac_status); }; }; then
71372  eval "$as_ac_var=yes"
71373else
71374  echo "$as_me: failed program was:" >&5
71375sed 's/^/| /' conftest.$ac_ext >&5
71376
71377eval "$as_ac_var=no"
71378fi
71379rm -f conftest.err conftest.$ac_objext \
71380      conftest$ac_exeext conftest.$ac_ext
71381fi
71382echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71383echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71384if test `eval echo '${'$as_ac_var'}'` = yes; then
71385  cat >>confdefs.h <<_ACEOF
71386#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71387_ACEOF
71388
71389fi
71390done
71391
71392  else
71393
71394  echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71395echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71396  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71397    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71398  echo $ECHO_N "(cached) $ECHO_C" >&6
71399else
71400
71401
71402
71403      ac_ext=cc
71404ac_cpp='$CXXCPP $CPPFLAGS'
71405ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71406ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71407ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71408
71409      cat >conftest.$ac_ext <<_ACEOF
71410/* confdefs.h.  */
71411_ACEOF
71412cat confdefs.h >>conftest.$ac_ext
71413cat >>conftest.$ac_ext <<_ACEOF
71414/* end confdefs.h.  */
71415#include <math.h>
71416int
71417main ()
71418{
71419 _sincosl(0, 0, 0);
71420  ;
71421  return 0;
71422}
71423_ACEOF
71424rm -f conftest.$ac_objext
71425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71426  (eval $ac_compile) 2>conftest.er1
71427  ac_status=$?
71428  grep -v '^ *+' conftest.er1 >conftest.err
71429  rm -f conftest.er1
71430  cat conftest.err >&5
71431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71432  (exit $ac_status); } &&
71433	 { ac_try='test -z "$ac_cxx_werror_flag"
71434			 || test ! -s conftest.err'
71435  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71436  (eval $ac_try) 2>&5
71437  ac_status=$?
71438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71439  (exit $ac_status); }; } &&
71440	 { ac_try='test -s conftest.$ac_objext'
71441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71442  (eval $ac_try) 2>&5
71443  ac_status=$?
71444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71445  (exit $ac_status); }; }; then
71446  glibcxx_cv_func__sincosl_use=yes
71447else
71448  echo "$as_me: failed program was:" >&5
71449sed 's/^/| /' conftest.$ac_ext >&5
71450
71451glibcxx_cv_func__sincosl_use=no
71452fi
71453rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71454      ac_ext=c
71455ac_cpp='$CPP $CPPFLAGS'
71456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71458ac_compiler_gnu=$ac_cv_c_compiler_gnu
71459
71460
71461fi
71462
71463  fi
71464  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71465echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71466
71467    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71468
71469for ac_func in _sincosl
71470do
71471as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71472echo "$as_me:$LINENO: checking for $ac_func" >&5
71473echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71474if eval "test \"\${$as_ac_var+set}\" = set"; then
71475  echo $ECHO_N "(cached) $ECHO_C" >&6
71476else
71477  if test x$gcc_no_link = xyes; then
71478  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71479echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71480   { (exit 1); exit 1; }; }
71481fi
71482cat >conftest.$ac_ext <<_ACEOF
71483/* confdefs.h.  */
71484_ACEOF
71485cat confdefs.h >>conftest.$ac_ext
71486cat >>conftest.$ac_ext <<_ACEOF
71487/* end confdefs.h.  */
71488/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71489   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71490#define $ac_func innocuous_$ac_func
71491
71492/* System header to define __stub macros and hopefully few prototypes,
71493    which can conflict with char $ac_func (); below.
71494    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71495    <limits.h> exists even on freestanding compilers.  */
71496
71497#ifdef __STDC__
71498# include <limits.h>
71499#else
71500# include <assert.h>
71501#endif
71502
71503#undef $ac_func
71504
71505/* Override any gcc2 internal prototype to avoid an error.  */
71506#ifdef __cplusplus
71507extern "C"
71508{
71509#endif
71510/* We use char because int might match the return type of a gcc2
71511   builtin and then its argument prototype would still apply.  */
71512char $ac_func ();
71513/* The GNU C library defines this for functions which it implements
71514    to always fail with ENOSYS.  Some functions are actually named
71515    something starting with __ and the normal name is an alias.  */
71516#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71517choke me
71518#else
71519char (*f) () = $ac_func;
71520#endif
71521#ifdef __cplusplus
71522}
71523#endif
71524
71525int
71526main ()
71527{
71528return f != $ac_func;
71529  ;
71530  return 0;
71531}
71532_ACEOF
71533rm -f conftest.$ac_objext conftest$ac_exeext
71534if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71535  (eval $ac_link) 2>conftest.er1
71536  ac_status=$?
71537  grep -v '^ *+' conftest.er1 >conftest.err
71538  rm -f conftest.er1
71539  cat conftest.err >&5
71540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71541  (exit $ac_status); } &&
71542	 { ac_try='test -z "$ac_c_werror_flag"
71543			 || test ! -s conftest.err'
71544  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71545  (eval $ac_try) 2>&5
71546  ac_status=$?
71547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71548  (exit $ac_status); }; } &&
71549	 { ac_try='test -s conftest$ac_exeext'
71550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71551  (eval $ac_try) 2>&5
71552  ac_status=$?
71553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554  (exit $ac_status); }; }; then
71555  eval "$as_ac_var=yes"
71556else
71557  echo "$as_me: failed program was:" >&5
71558sed 's/^/| /' conftest.$ac_ext >&5
71559
71560eval "$as_ac_var=no"
71561fi
71562rm -f conftest.err conftest.$ac_objext \
71563      conftest$ac_exeext conftest.$ac_ext
71564fi
71565echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71566echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71567if test `eval echo '${'$as_ac_var'}'` = yes; then
71568  cat >>confdefs.h <<_ACEOF
71569#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71570_ACEOF
71571
71572fi
71573done
71574
71575    fi
71576  fi
71577
71578
71579
71580
71581
71582
71583  echo "$as_me:$LINENO: checking for finitel declaration" >&5
71584echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71585  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71586    if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71587  echo $ECHO_N "(cached) $ECHO_C" >&6
71588else
71589
71590
71591
71592      ac_ext=cc
71593ac_cpp='$CXXCPP $CPPFLAGS'
71594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71597
71598      cat >conftest.$ac_ext <<_ACEOF
71599/* confdefs.h.  */
71600_ACEOF
71601cat confdefs.h >>conftest.$ac_ext
71602cat >>conftest.$ac_ext <<_ACEOF
71603/* end confdefs.h.  */
71604#include <math.h>
71605		      #ifdef HAVE_IEEEFP_H
71606		      #include <ieeefp.h>
71607		      #endif
71608
71609int
71610main ()
71611{
71612 finitel(0);
71613  ;
71614  return 0;
71615}
71616_ACEOF
71617rm -f conftest.$ac_objext
71618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71619  (eval $ac_compile) 2>conftest.er1
71620  ac_status=$?
71621  grep -v '^ *+' conftest.er1 >conftest.err
71622  rm -f conftest.er1
71623  cat conftest.err >&5
71624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71625  (exit $ac_status); } &&
71626	 { ac_try='test -z "$ac_cxx_werror_flag"
71627			 || test ! -s conftest.err'
71628  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629  (eval $ac_try) 2>&5
71630  ac_status=$?
71631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632  (exit $ac_status); }; } &&
71633	 { ac_try='test -s conftest.$ac_objext'
71634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71635  (eval $ac_try) 2>&5
71636  ac_status=$?
71637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71638  (exit $ac_status); }; }; then
71639  glibcxx_cv_func_finitel_use=yes
71640else
71641  echo "$as_me: failed program was:" >&5
71642sed 's/^/| /' conftest.$ac_ext >&5
71643
71644glibcxx_cv_func_finitel_use=no
71645fi
71646rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71647      ac_ext=c
71648ac_cpp='$CPP $CPPFLAGS'
71649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71651ac_compiler_gnu=$ac_cv_c_compiler_gnu
71652
71653
71654fi
71655
71656  fi
71657  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71658echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71659
71660  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71661
71662for ac_func in finitel
71663do
71664as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71665echo "$as_me:$LINENO: checking for $ac_func" >&5
71666echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71667if eval "test \"\${$as_ac_var+set}\" = set"; then
71668  echo $ECHO_N "(cached) $ECHO_C" >&6
71669else
71670  if test x$gcc_no_link = xyes; then
71671  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71672echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71673   { (exit 1); exit 1; }; }
71674fi
71675cat >conftest.$ac_ext <<_ACEOF
71676/* confdefs.h.  */
71677_ACEOF
71678cat confdefs.h >>conftest.$ac_ext
71679cat >>conftest.$ac_ext <<_ACEOF
71680/* end confdefs.h.  */
71681/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71682   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71683#define $ac_func innocuous_$ac_func
71684
71685/* System header to define __stub macros and hopefully few prototypes,
71686    which can conflict with char $ac_func (); below.
71687    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71688    <limits.h> exists even on freestanding compilers.  */
71689
71690#ifdef __STDC__
71691# include <limits.h>
71692#else
71693# include <assert.h>
71694#endif
71695
71696#undef $ac_func
71697
71698/* Override any gcc2 internal prototype to avoid an error.  */
71699#ifdef __cplusplus
71700extern "C"
71701{
71702#endif
71703/* We use char because int might match the return type of a gcc2
71704   builtin and then its argument prototype would still apply.  */
71705char $ac_func ();
71706/* The GNU C library defines this for functions which it implements
71707    to always fail with ENOSYS.  Some functions are actually named
71708    something starting with __ and the normal name is an alias.  */
71709#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71710choke me
71711#else
71712char (*f) () = $ac_func;
71713#endif
71714#ifdef __cplusplus
71715}
71716#endif
71717
71718int
71719main ()
71720{
71721return f != $ac_func;
71722  ;
71723  return 0;
71724}
71725_ACEOF
71726rm -f conftest.$ac_objext conftest$ac_exeext
71727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71728  (eval $ac_link) 2>conftest.er1
71729  ac_status=$?
71730  grep -v '^ *+' conftest.er1 >conftest.err
71731  rm -f conftest.er1
71732  cat conftest.err >&5
71733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71734  (exit $ac_status); } &&
71735	 { ac_try='test -z "$ac_c_werror_flag"
71736			 || test ! -s conftest.err'
71737  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71738  (eval $ac_try) 2>&5
71739  ac_status=$?
71740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741  (exit $ac_status); }; } &&
71742	 { ac_try='test -s conftest$ac_exeext'
71743  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71744  (eval $ac_try) 2>&5
71745  ac_status=$?
71746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71747  (exit $ac_status); }; }; then
71748  eval "$as_ac_var=yes"
71749else
71750  echo "$as_me: failed program was:" >&5
71751sed 's/^/| /' conftest.$ac_ext >&5
71752
71753eval "$as_ac_var=no"
71754fi
71755rm -f conftest.err conftest.$ac_objext \
71756      conftest$ac_exeext conftest.$ac_ext
71757fi
71758echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71759echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71760if test `eval echo '${'$as_ac_var'}'` = yes; then
71761  cat >>confdefs.h <<_ACEOF
71762#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71763_ACEOF
71764
71765fi
71766done
71767
71768  else
71769
71770  echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71771echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71772  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71773    if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71774  echo $ECHO_N "(cached) $ECHO_C" >&6
71775else
71776
71777
71778
71779      ac_ext=cc
71780ac_cpp='$CXXCPP $CPPFLAGS'
71781ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71784
71785      cat >conftest.$ac_ext <<_ACEOF
71786/* confdefs.h.  */
71787_ACEOF
71788cat confdefs.h >>conftest.$ac_ext
71789cat >>conftest.$ac_ext <<_ACEOF
71790/* end confdefs.h.  */
71791#include <math.h>
71792		      #ifdef HAVE_IEEEFP_H
71793		      #include <ieeefp.h>
71794		      #endif
71795
71796int
71797main ()
71798{
71799 _finitel(0);
71800  ;
71801  return 0;
71802}
71803_ACEOF
71804rm -f conftest.$ac_objext
71805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71806  (eval $ac_compile) 2>conftest.er1
71807  ac_status=$?
71808  grep -v '^ *+' conftest.er1 >conftest.err
71809  rm -f conftest.er1
71810  cat conftest.err >&5
71811  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71812  (exit $ac_status); } &&
71813	 { ac_try='test -z "$ac_cxx_werror_flag"
71814			 || test ! -s conftest.err'
71815  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71816  (eval $ac_try) 2>&5
71817  ac_status=$?
71818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71819  (exit $ac_status); }; } &&
71820	 { ac_try='test -s conftest.$ac_objext'
71821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71822  (eval $ac_try) 2>&5
71823  ac_status=$?
71824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71825  (exit $ac_status); }; }; then
71826  glibcxx_cv_func__finitel_use=yes
71827else
71828  echo "$as_me: failed program was:" >&5
71829sed 's/^/| /' conftest.$ac_ext >&5
71830
71831glibcxx_cv_func__finitel_use=no
71832fi
71833rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71834      ac_ext=c
71835ac_cpp='$CPP $CPPFLAGS'
71836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838ac_compiler_gnu=$ac_cv_c_compiler_gnu
71839
71840
71841fi
71842
71843  fi
71844  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71845echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71846
71847    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71848
71849for ac_func in _finitel
71850do
71851as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71852echo "$as_me:$LINENO: checking for $ac_func" >&5
71853echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71854if eval "test \"\${$as_ac_var+set}\" = set"; then
71855  echo $ECHO_N "(cached) $ECHO_C" >&6
71856else
71857  if test x$gcc_no_link = xyes; then
71858  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71859echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71860   { (exit 1); exit 1; }; }
71861fi
71862cat >conftest.$ac_ext <<_ACEOF
71863/* confdefs.h.  */
71864_ACEOF
71865cat confdefs.h >>conftest.$ac_ext
71866cat >>conftest.$ac_ext <<_ACEOF
71867/* end confdefs.h.  */
71868/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71869   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71870#define $ac_func innocuous_$ac_func
71871
71872/* System header to define __stub macros and hopefully few prototypes,
71873    which can conflict with char $ac_func (); below.
71874    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71875    <limits.h> exists even on freestanding compilers.  */
71876
71877#ifdef __STDC__
71878# include <limits.h>
71879#else
71880# include <assert.h>
71881#endif
71882
71883#undef $ac_func
71884
71885/* Override any gcc2 internal prototype to avoid an error.  */
71886#ifdef __cplusplus
71887extern "C"
71888{
71889#endif
71890/* We use char because int might match the return type of a gcc2
71891   builtin and then its argument prototype would still apply.  */
71892char $ac_func ();
71893/* The GNU C library defines this for functions which it implements
71894    to always fail with ENOSYS.  Some functions are actually named
71895    something starting with __ and the normal name is an alias.  */
71896#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71897choke me
71898#else
71899char (*f) () = $ac_func;
71900#endif
71901#ifdef __cplusplus
71902}
71903#endif
71904
71905int
71906main ()
71907{
71908return f != $ac_func;
71909  ;
71910  return 0;
71911}
71912_ACEOF
71913rm -f conftest.$ac_objext conftest$ac_exeext
71914if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71915  (eval $ac_link) 2>conftest.er1
71916  ac_status=$?
71917  grep -v '^ *+' conftest.er1 >conftest.err
71918  rm -f conftest.er1
71919  cat conftest.err >&5
71920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71921  (exit $ac_status); } &&
71922	 { ac_try='test -z "$ac_c_werror_flag"
71923			 || test ! -s conftest.err'
71924  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71925  (eval $ac_try) 2>&5
71926  ac_status=$?
71927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71928  (exit $ac_status); }; } &&
71929	 { ac_try='test -s conftest$ac_exeext'
71930  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71931  (eval $ac_try) 2>&5
71932  ac_status=$?
71933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934  (exit $ac_status); }; }; then
71935  eval "$as_ac_var=yes"
71936else
71937  echo "$as_me: failed program was:" >&5
71938sed 's/^/| /' conftest.$ac_ext >&5
71939
71940eval "$as_ac_var=no"
71941fi
71942rm -f conftest.err conftest.$ac_objext \
71943      conftest$ac_exeext conftest.$ac_ext
71944fi
71945echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71946echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71947if test `eval echo '${'$as_ac_var'}'` = yes; then
71948  cat >>confdefs.h <<_ACEOF
71949#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71950_ACEOF
71951
71952fi
71953done
71954
71955    fi
71956  fi
71957
71958
71959
71960
71961
71962  LIBS="$ac_save_LIBS"
71963  CXXFLAGS="$ac_save_CXXFLAGS"
71964
71965
71966
71967  echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71968echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71969  if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71970    if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71971  echo $ECHO_N "(cached) $ECHO_C" >&6
71972else
71973
71974
71975
71976      ac_ext=cc
71977ac_cpp='$CXXCPP $CPPFLAGS'
71978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71981
71982      cat >conftest.$ac_ext <<_ACEOF
71983/* confdefs.h.  */
71984_ACEOF
71985cat confdefs.h >>conftest.$ac_ext
71986cat >>conftest.$ac_ext <<_ACEOF
71987/* end confdefs.h.  */
71988#include <math.h>
71989int
71990main ()
71991{
71992 __builtin_abs(0);
71993  ;
71994  return 0;
71995}
71996_ACEOF
71997rm -f conftest.$ac_objext
71998if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71999  (eval $ac_compile) 2>conftest.er1
72000  ac_status=$?
72001  grep -v '^ *+' conftest.er1 >conftest.err
72002  rm -f conftest.er1
72003  cat conftest.err >&5
72004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72005  (exit $ac_status); } &&
72006	 { ac_try='test -z "$ac_cxx_werror_flag"
72007			 || test ! -s conftest.err'
72008  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72009  (eval $ac_try) 2>&5
72010  ac_status=$?
72011  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72012  (exit $ac_status); }; } &&
72013	 { ac_try='test -s conftest.$ac_objext'
72014  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72015  (eval $ac_try) 2>&5
72016  ac_status=$?
72017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72018  (exit $ac_status); }; }; then
72019  glibcxx_cv_func___builtin_abs_use=yes
72020else
72021  echo "$as_me: failed program was:" >&5
72022sed 's/^/| /' conftest.$ac_ext >&5
72023
72024glibcxx_cv_func___builtin_abs_use=no
72025fi
72026rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72027      ac_ext=c
72028ac_cpp='$CPP $CPPFLAGS'
72029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72031ac_compiler_gnu=$ac_cv_c_compiler_gnu
72032
72033
72034fi
72035
72036  fi
72037  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
72038echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
72039  if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
72040    echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
72041echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
72042    if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
72043      if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
72044  echo $ECHO_N "(cached) $ECHO_C" >&6
72045else
72046
72047        if test x$gcc_no_link = xyes; then
72048  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72049echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72050   { (exit 1); exit 1; }; }
72051fi
72052cat >conftest.$ac_ext <<_ACEOF
72053/* confdefs.h.  */
72054_ACEOF
72055cat confdefs.h >>conftest.$ac_ext
72056cat >>conftest.$ac_ext <<_ACEOF
72057/* end confdefs.h.  */
72058#include <math.h>
72059int
72060main ()
72061{
72062 __builtin_abs(0);
72063  ;
72064  return 0;
72065}
72066_ACEOF
72067rm -f conftest.$ac_objext conftest$ac_exeext
72068if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72069  (eval $ac_link) 2>conftest.er1
72070  ac_status=$?
72071  grep -v '^ *+' conftest.er1 >conftest.err
72072  rm -f conftest.er1
72073  cat conftest.err >&5
72074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72075  (exit $ac_status); } &&
72076	 { ac_try='test -z "$ac_c_werror_flag"
72077			 || test ! -s conftest.err'
72078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72079  (eval $ac_try) 2>&5
72080  ac_status=$?
72081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72082  (exit $ac_status); }; } &&
72083	 { ac_try='test -s conftest$ac_exeext'
72084  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72085  (eval $ac_try) 2>&5
72086  ac_status=$?
72087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72088  (exit $ac_status); }; }; then
72089  glibcxx_cv_func___builtin_abs_link=yes
72090else
72091  echo "$as_me: failed program was:" >&5
72092sed 's/^/| /' conftest.$ac_ext >&5
72093
72094glibcxx_cv_func___builtin_abs_link=no
72095fi
72096rm -f conftest.err conftest.$ac_objext \
72097      conftest$ac_exeext conftest.$ac_ext
72098
72099fi
72100
72101    fi
72102    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
72103echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
72104
72105    if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
72106
72107cat >>confdefs.h <<\_ACEOF
72108#define HAVE___BUILTIN_ABS 1
72109_ACEOF
72110
72111    fi
72112
72113  fi
72114
72115
72116  echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
72117echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
72118  if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
72119    if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
72120  echo $ECHO_N "(cached) $ECHO_C" >&6
72121else
72122
72123
72124
72125      ac_ext=cc
72126ac_cpp='$CXXCPP $CPPFLAGS'
72127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72130
72131      cat >conftest.$ac_ext <<_ACEOF
72132/* confdefs.h.  */
72133_ACEOF
72134cat confdefs.h >>conftest.$ac_ext
72135cat >>conftest.$ac_ext <<_ACEOF
72136/* end confdefs.h.  */
72137#include <math.h>
72138int
72139main ()
72140{
72141 __builtin_fabsf(0);
72142  ;
72143  return 0;
72144}
72145_ACEOF
72146rm -f conftest.$ac_objext
72147if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72148  (eval $ac_compile) 2>conftest.er1
72149  ac_status=$?
72150  grep -v '^ *+' conftest.er1 >conftest.err
72151  rm -f conftest.er1
72152  cat conftest.err >&5
72153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72154  (exit $ac_status); } &&
72155	 { ac_try='test -z "$ac_cxx_werror_flag"
72156			 || test ! -s conftest.err'
72157  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72158  (eval $ac_try) 2>&5
72159  ac_status=$?
72160  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72161  (exit $ac_status); }; } &&
72162	 { ac_try='test -s conftest.$ac_objext'
72163  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72164  (eval $ac_try) 2>&5
72165  ac_status=$?
72166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72167  (exit $ac_status); }; }; then
72168  glibcxx_cv_func___builtin_fabsf_use=yes
72169else
72170  echo "$as_me: failed program was:" >&5
72171sed 's/^/| /' conftest.$ac_ext >&5
72172
72173glibcxx_cv_func___builtin_fabsf_use=no
72174fi
72175rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72176      ac_ext=c
72177ac_cpp='$CPP $CPPFLAGS'
72178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72180ac_compiler_gnu=$ac_cv_c_compiler_gnu
72181
72182
72183fi
72184
72185  fi
72186  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72187echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72188  if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72189    echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72190echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72191    if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72192      if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72193  echo $ECHO_N "(cached) $ECHO_C" >&6
72194else
72195
72196        if test x$gcc_no_link = xyes; then
72197  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72198echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72199   { (exit 1); exit 1; }; }
72200fi
72201cat >conftest.$ac_ext <<_ACEOF
72202/* confdefs.h.  */
72203_ACEOF
72204cat confdefs.h >>conftest.$ac_ext
72205cat >>conftest.$ac_ext <<_ACEOF
72206/* end confdefs.h.  */
72207#include <math.h>
72208int
72209main ()
72210{
72211 __builtin_fabsf(0);
72212  ;
72213  return 0;
72214}
72215_ACEOF
72216rm -f conftest.$ac_objext conftest$ac_exeext
72217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72218  (eval $ac_link) 2>conftest.er1
72219  ac_status=$?
72220  grep -v '^ *+' conftest.er1 >conftest.err
72221  rm -f conftest.er1
72222  cat conftest.err >&5
72223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72224  (exit $ac_status); } &&
72225	 { ac_try='test -z "$ac_c_werror_flag"
72226			 || test ! -s conftest.err'
72227  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72228  (eval $ac_try) 2>&5
72229  ac_status=$?
72230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72231  (exit $ac_status); }; } &&
72232	 { ac_try='test -s conftest$ac_exeext'
72233  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72234  (eval $ac_try) 2>&5
72235  ac_status=$?
72236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72237  (exit $ac_status); }; }; then
72238  glibcxx_cv_func___builtin_fabsf_link=yes
72239else
72240  echo "$as_me: failed program was:" >&5
72241sed 's/^/| /' conftest.$ac_ext >&5
72242
72243glibcxx_cv_func___builtin_fabsf_link=no
72244fi
72245rm -f conftest.err conftest.$ac_objext \
72246      conftest$ac_exeext conftest.$ac_ext
72247
72248fi
72249
72250    fi
72251    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72252echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72253
72254    if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72255
72256cat >>confdefs.h <<\_ACEOF
72257#define HAVE___BUILTIN_FABSF 1
72258_ACEOF
72259
72260    fi
72261
72262  fi
72263
72264
72265  echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72266echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72267  if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72268    if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72269  echo $ECHO_N "(cached) $ECHO_C" >&6
72270else
72271
72272
72273
72274      ac_ext=cc
72275ac_cpp='$CXXCPP $CPPFLAGS'
72276ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72277ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72278ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72279
72280      cat >conftest.$ac_ext <<_ACEOF
72281/* confdefs.h.  */
72282_ACEOF
72283cat confdefs.h >>conftest.$ac_ext
72284cat >>conftest.$ac_ext <<_ACEOF
72285/* end confdefs.h.  */
72286#include <math.h>
72287int
72288main ()
72289{
72290 __builtin_fabs(0);
72291  ;
72292  return 0;
72293}
72294_ACEOF
72295rm -f conftest.$ac_objext
72296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72297  (eval $ac_compile) 2>conftest.er1
72298  ac_status=$?
72299  grep -v '^ *+' conftest.er1 >conftest.err
72300  rm -f conftest.er1
72301  cat conftest.err >&5
72302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72303  (exit $ac_status); } &&
72304	 { ac_try='test -z "$ac_cxx_werror_flag"
72305			 || test ! -s conftest.err'
72306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72307  (eval $ac_try) 2>&5
72308  ac_status=$?
72309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310  (exit $ac_status); }; } &&
72311	 { ac_try='test -s conftest.$ac_objext'
72312  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72313  (eval $ac_try) 2>&5
72314  ac_status=$?
72315  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72316  (exit $ac_status); }; }; then
72317  glibcxx_cv_func___builtin_fabs_use=yes
72318else
72319  echo "$as_me: failed program was:" >&5
72320sed 's/^/| /' conftest.$ac_ext >&5
72321
72322glibcxx_cv_func___builtin_fabs_use=no
72323fi
72324rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72325      ac_ext=c
72326ac_cpp='$CPP $CPPFLAGS'
72327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72329ac_compiler_gnu=$ac_cv_c_compiler_gnu
72330
72331
72332fi
72333
72334  fi
72335  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72336echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72337  if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72338    echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72339echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72340    if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72341      if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72342  echo $ECHO_N "(cached) $ECHO_C" >&6
72343else
72344
72345        if test x$gcc_no_link = xyes; then
72346  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72347echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72348   { (exit 1); exit 1; }; }
72349fi
72350cat >conftest.$ac_ext <<_ACEOF
72351/* confdefs.h.  */
72352_ACEOF
72353cat confdefs.h >>conftest.$ac_ext
72354cat >>conftest.$ac_ext <<_ACEOF
72355/* end confdefs.h.  */
72356#include <math.h>
72357int
72358main ()
72359{
72360 __builtin_fabs(0);
72361  ;
72362  return 0;
72363}
72364_ACEOF
72365rm -f conftest.$ac_objext conftest$ac_exeext
72366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72367  (eval $ac_link) 2>conftest.er1
72368  ac_status=$?
72369  grep -v '^ *+' conftest.er1 >conftest.err
72370  rm -f conftest.er1
72371  cat conftest.err >&5
72372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373  (exit $ac_status); } &&
72374	 { ac_try='test -z "$ac_c_werror_flag"
72375			 || test ! -s conftest.err'
72376  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377  (eval $ac_try) 2>&5
72378  ac_status=$?
72379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380  (exit $ac_status); }; } &&
72381	 { ac_try='test -s conftest$ac_exeext'
72382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72383  (eval $ac_try) 2>&5
72384  ac_status=$?
72385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386  (exit $ac_status); }; }; then
72387  glibcxx_cv_func___builtin_fabs_link=yes
72388else
72389  echo "$as_me: failed program was:" >&5
72390sed 's/^/| /' conftest.$ac_ext >&5
72391
72392glibcxx_cv_func___builtin_fabs_link=no
72393fi
72394rm -f conftest.err conftest.$ac_objext \
72395      conftest$ac_exeext conftest.$ac_ext
72396
72397fi
72398
72399    fi
72400    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72401echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72402
72403    if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72404
72405cat >>confdefs.h <<\_ACEOF
72406#define HAVE___BUILTIN_FABS 1
72407_ACEOF
72408
72409    fi
72410
72411  fi
72412
72413
72414  echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72415echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72416  if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72417    if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72418  echo $ECHO_N "(cached) $ECHO_C" >&6
72419else
72420
72421
72422
72423      ac_ext=cc
72424ac_cpp='$CXXCPP $CPPFLAGS'
72425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72428
72429      cat >conftest.$ac_ext <<_ACEOF
72430/* confdefs.h.  */
72431_ACEOF
72432cat confdefs.h >>conftest.$ac_ext
72433cat >>conftest.$ac_ext <<_ACEOF
72434/* end confdefs.h.  */
72435#include <math.h>
72436int
72437main ()
72438{
72439 __builtin_fabsl(0);
72440  ;
72441  return 0;
72442}
72443_ACEOF
72444rm -f conftest.$ac_objext
72445if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72446  (eval $ac_compile) 2>conftest.er1
72447  ac_status=$?
72448  grep -v '^ *+' conftest.er1 >conftest.err
72449  rm -f conftest.er1
72450  cat conftest.err >&5
72451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452  (exit $ac_status); } &&
72453	 { ac_try='test -z "$ac_cxx_werror_flag"
72454			 || test ! -s conftest.err'
72455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72456  (eval $ac_try) 2>&5
72457  ac_status=$?
72458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72459  (exit $ac_status); }; } &&
72460	 { ac_try='test -s conftest.$ac_objext'
72461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72462  (eval $ac_try) 2>&5
72463  ac_status=$?
72464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72465  (exit $ac_status); }; }; then
72466  glibcxx_cv_func___builtin_fabsl_use=yes
72467else
72468  echo "$as_me: failed program was:" >&5
72469sed 's/^/| /' conftest.$ac_ext >&5
72470
72471glibcxx_cv_func___builtin_fabsl_use=no
72472fi
72473rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72474      ac_ext=c
72475ac_cpp='$CPP $CPPFLAGS'
72476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72478ac_compiler_gnu=$ac_cv_c_compiler_gnu
72479
72480
72481fi
72482
72483  fi
72484  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72485echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72486  if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72487    echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72488echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72489    if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72490      if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72491  echo $ECHO_N "(cached) $ECHO_C" >&6
72492else
72493
72494        if test x$gcc_no_link = xyes; then
72495  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72496echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72497   { (exit 1); exit 1; }; }
72498fi
72499cat >conftest.$ac_ext <<_ACEOF
72500/* confdefs.h.  */
72501_ACEOF
72502cat confdefs.h >>conftest.$ac_ext
72503cat >>conftest.$ac_ext <<_ACEOF
72504/* end confdefs.h.  */
72505#include <math.h>
72506int
72507main ()
72508{
72509 __builtin_fabsl(0);
72510  ;
72511  return 0;
72512}
72513_ACEOF
72514rm -f conftest.$ac_objext conftest$ac_exeext
72515if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72516  (eval $ac_link) 2>conftest.er1
72517  ac_status=$?
72518  grep -v '^ *+' conftest.er1 >conftest.err
72519  rm -f conftest.er1
72520  cat conftest.err >&5
72521  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72522  (exit $ac_status); } &&
72523	 { ac_try='test -z "$ac_c_werror_flag"
72524			 || test ! -s conftest.err'
72525  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72526  (eval $ac_try) 2>&5
72527  ac_status=$?
72528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72529  (exit $ac_status); }; } &&
72530	 { ac_try='test -s conftest$ac_exeext'
72531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72532  (eval $ac_try) 2>&5
72533  ac_status=$?
72534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72535  (exit $ac_status); }; }; then
72536  glibcxx_cv_func___builtin_fabsl_link=yes
72537else
72538  echo "$as_me: failed program was:" >&5
72539sed 's/^/| /' conftest.$ac_ext >&5
72540
72541glibcxx_cv_func___builtin_fabsl_link=no
72542fi
72543rm -f conftest.err conftest.$ac_objext \
72544      conftest$ac_exeext conftest.$ac_ext
72545
72546fi
72547
72548    fi
72549    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72550echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72551
72552    if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72553
72554cat >>confdefs.h <<\_ACEOF
72555#define HAVE___BUILTIN_FABSL 1
72556_ACEOF
72557
72558    fi
72559
72560  fi
72561
72562
72563  echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72564echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72565  if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72566    if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72567  echo $ECHO_N "(cached) $ECHO_C" >&6
72568else
72569
72570
72571
72572      ac_ext=cc
72573ac_cpp='$CXXCPP $CPPFLAGS'
72574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72577
72578      cat >conftest.$ac_ext <<_ACEOF
72579/* confdefs.h.  */
72580_ACEOF
72581cat confdefs.h >>conftest.$ac_ext
72582cat >>conftest.$ac_ext <<_ACEOF
72583/* end confdefs.h.  */
72584#include <math.h>
72585int
72586main ()
72587{
72588 __builtin_labs(0);
72589  ;
72590  return 0;
72591}
72592_ACEOF
72593rm -f conftest.$ac_objext
72594if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72595  (eval $ac_compile) 2>conftest.er1
72596  ac_status=$?
72597  grep -v '^ *+' conftest.er1 >conftest.err
72598  rm -f conftest.er1
72599  cat conftest.err >&5
72600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72601  (exit $ac_status); } &&
72602	 { ac_try='test -z "$ac_cxx_werror_flag"
72603			 || test ! -s conftest.err'
72604  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72605  (eval $ac_try) 2>&5
72606  ac_status=$?
72607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608  (exit $ac_status); }; } &&
72609	 { ac_try='test -s conftest.$ac_objext'
72610  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611  (eval $ac_try) 2>&5
72612  ac_status=$?
72613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614  (exit $ac_status); }; }; then
72615  glibcxx_cv_func___builtin_labs_use=yes
72616else
72617  echo "$as_me: failed program was:" >&5
72618sed 's/^/| /' conftest.$ac_ext >&5
72619
72620glibcxx_cv_func___builtin_labs_use=no
72621fi
72622rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72623      ac_ext=c
72624ac_cpp='$CPP $CPPFLAGS'
72625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72627ac_compiler_gnu=$ac_cv_c_compiler_gnu
72628
72629
72630fi
72631
72632  fi
72633  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72634echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72635  if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72636    echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72637echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72638    if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72639      if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72640  echo $ECHO_N "(cached) $ECHO_C" >&6
72641else
72642
72643        if test x$gcc_no_link = xyes; then
72644  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72645echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72646   { (exit 1); exit 1; }; }
72647fi
72648cat >conftest.$ac_ext <<_ACEOF
72649/* confdefs.h.  */
72650_ACEOF
72651cat confdefs.h >>conftest.$ac_ext
72652cat >>conftest.$ac_ext <<_ACEOF
72653/* end confdefs.h.  */
72654#include <math.h>
72655int
72656main ()
72657{
72658 __builtin_labs(0);
72659  ;
72660  return 0;
72661}
72662_ACEOF
72663rm -f conftest.$ac_objext conftest$ac_exeext
72664if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72665  (eval $ac_link) 2>conftest.er1
72666  ac_status=$?
72667  grep -v '^ *+' conftest.er1 >conftest.err
72668  rm -f conftest.er1
72669  cat conftest.err >&5
72670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72671  (exit $ac_status); } &&
72672	 { ac_try='test -z "$ac_c_werror_flag"
72673			 || test ! -s conftest.err'
72674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72675  (eval $ac_try) 2>&5
72676  ac_status=$?
72677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72678  (exit $ac_status); }; } &&
72679	 { ac_try='test -s conftest$ac_exeext'
72680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72681  (eval $ac_try) 2>&5
72682  ac_status=$?
72683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72684  (exit $ac_status); }; }; then
72685  glibcxx_cv_func___builtin_labs_link=yes
72686else
72687  echo "$as_me: failed program was:" >&5
72688sed 's/^/| /' conftest.$ac_ext >&5
72689
72690glibcxx_cv_func___builtin_labs_link=no
72691fi
72692rm -f conftest.err conftest.$ac_objext \
72693      conftest$ac_exeext conftest.$ac_ext
72694
72695fi
72696
72697    fi
72698    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72699echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72700
72701    if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72702
72703cat >>confdefs.h <<\_ACEOF
72704#define HAVE___BUILTIN_LABS 1
72705_ACEOF
72706
72707    fi
72708
72709  fi
72710
72711
72712
72713  echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72714echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72715  if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72716    if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72717  echo $ECHO_N "(cached) $ECHO_C" >&6
72718else
72719
72720
72721
72722      ac_ext=cc
72723ac_cpp='$CXXCPP $CPPFLAGS'
72724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72727
72728      cat >conftest.$ac_ext <<_ACEOF
72729/* confdefs.h.  */
72730_ACEOF
72731cat confdefs.h >>conftest.$ac_ext
72732cat >>conftest.$ac_ext <<_ACEOF
72733/* end confdefs.h.  */
72734#include <math.h>
72735int
72736main ()
72737{
72738 __builtin_sqrtf(0);
72739  ;
72740  return 0;
72741}
72742_ACEOF
72743rm -f conftest.$ac_objext
72744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72745  (eval $ac_compile) 2>conftest.er1
72746  ac_status=$?
72747  grep -v '^ *+' conftest.er1 >conftest.err
72748  rm -f conftest.er1
72749  cat conftest.err >&5
72750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72751  (exit $ac_status); } &&
72752	 { ac_try='test -z "$ac_cxx_werror_flag"
72753			 || test ! -s conftest.err'
72754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755  (eval $ac_try) 2>&5
72756  ac_status=$?
72757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758  (exit $ac_status); }; } &&
72759	 { ac_try='test -s conftest.$ac_objext'
72760  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72761  (eval $ac_try) 2>&5
72762  ac_status=$?
72763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72764  (exit $ac_status); }; }; then
72765  glibcxx_cv_func___builtin_sqrtf_use=yes
72766else
72767  echo "$as_me: failed program was:" >&5
72768sed 's/^/| /' conftest.$ac_ext >&5
72769
72770glibcxx_cv_func___builtin_sqrtf_use=no
72771fi
72772rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72773      ac_ext=c
72774ac_cpp='$CPP $CPPFLAGS'
72775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72777ac_compiler_gnu=$ac_cv_c_compiler_gnu
72778
72779
72780fi
72781
72782  fi
72783  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72784echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72785  if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72786    echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72787echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72788    if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72789      if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72790  echo $ECHO_N "(cached) $ECHO_C" >&6
72791else
72792
72793        if test x$gcc_no_link = xyes; then
72794  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72795echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72796   { (exit 1); exit 1; }; }
72797fi
72798cat >conftest.$ac_ext <<_ACEOF
72799/* confdefs.h.  */
72800_ACEOF
72801cat confdefs.h >>conftest.$ac_ext
72802cat >>conftest.$ac_ext <<_ACEOF
72803/* end confdefs.h.  */
72804#include <math.h>
72805int
72806main ()
72807{
72808 __builtin_sqrtf(0);
72809  ;
72810  return 0;
72811}
72812_ACEOF
72813rm -f conftest.$ac_objext conftest$ac_exeext
72814if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72815  (eval $ac_link) 2>conftest.er1
72816  ac_status=$?
72817  grep -v '^ *+' conftest.er1 >conftest.err
72818  rm -f conftest.er1
72819  cat conftest.err >&5
72820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72821  (exit $ac_status); } &&
72822	 { ac_try='test -z "$ac_c_werror_flag"
72823			 || test ! -s conftest.err'
72824  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72825  (eval $ac_try) 2>&5
72826  ac_status=$?
72827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72828  (exit $ac_status); }; } &&
72829	 { ac_try='test -s conftest$ac_exeext'
72830  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72831  (eval $ac_try) 2>&5
72832  ac_status=$?
72833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834  (exit $ac_status); }; }; then
72835  glibcxx_cv_func___builtin_sqrtf_link=yes
72836else
72837  echo "$as_me: failed program was:" >&5
72838sed 's/^/| /' conftest.$ac_ext >&5
72839
72840glibcxx_cv_func___builtin_sqrtf_link=no
72841fi
72842rm -f conftest.err conftest.$ac_objext \
72843      conftest$ac_exeext conftest.$ac_ext
72844
72845fi
72846
72847    fi
72848    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72849echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72850
72851    if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72852
72853cat >>confdefs.h <<\_ACEOF
72854#define HAVE___BUILTIN_SQRTF 1
72855_ACEOF
72856
72857    fi
72858
72859  fi
72860
72861
72862  echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72863echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72864  if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72865    if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72866  echo $ECHO_N "(cached) $ECHO_C" >&6
72867else
72868
72869
72870
72871      ac_ext=cc
72872ac_cpp='$CXXCPP $CPPFLAGS'
72873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72876
72877      cat >conftest.$ac_ext <<_ACEOF
72878/* confdefs.h.  */
72879_ACEOF
72880cat confdefs.h >>conftest.$ac_ext
72881cat >>conftest.$ac_ext <<_ACEOF
72882/* end confdefs.h.  */
72883#include <math.h>
72884int
72885main ()
72886{
72887 __builtin_sqrt(0);
72888  ;
72889  return 0;
72890}
72891_ACEOF
72892rm -f conftest.$ac_objext
72893if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72894  (eval $ac_compile) 2>conftest.er1
72895  ac_status=$?
72896  grep -v '^ *+' conftest.er1 >conftest.err
72897  rm -f conftest.er1
72898  cat conftest.err >&5
72899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72900  (exit $ac_status); } &&
72901	 { ac_try='test -z "$ac_cxx_werror_flag"
72902			 || test ! -s conftest.err'
72903  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72904  (eval $ac_try) 2>&5
72905  ac_status=$?
72906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72907  (exit $ac_status); }; } &&
72908	 { ac_try='test -s conftest.$ac_objext'
72909  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72910  (eval $ac_try) 2>&5
72911  ac_status=$?
72912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72913  (exit $ac_status); }; }; then
72914  glibcxx_cv_func___builtin_sqrt_use=yes
72915else
72916  echo "$as_me: failed program was:" >&5
72917sed 's/^/| /' conftest.$ac_ext >&5
72918
72919glibcxx_cv_func___builtin_sqrt_use=no
72920fi
72921rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72922      ac_ext=c
72923ac_cpp='$CPP $CPPFLAGS'
72924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72926ac_compiler_gnu=$ac_cv_c_compiler_gnu
72927
72928
72929fi
72930
72931  fi
72932  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72933echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72934  if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72935    echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72936echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72937    if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72938      if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72939  echo $ECHO_N "(cached) $ECHO_C" >&6
72940else
72941
72942        if test x$gcc_no_link = xyes; then
72943  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72944echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72945   { (exit 1); exit 1; }; }
72946fi
72947cat >conftest.$ac_ext <<_ACEOF
72948/* confdefs.h.  */
72949_ACEOF
72950cat confdefs.h >>conftest.$ac_ext
72951cat >>conftest.$ac_ext <<_ACEOF
72952/* end confdefs.h.  */
72953#include <math.h>
72954int
72955main ()
72956{
72957 __builtin_sqrt(0);
72958  ;
72959  return 0;
72960}
72961_ACEOF
72962rm -f conftest.$ac_objext conftest$ac_exeext
72963if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72964  (eval $ac_link) 2>conftest.er1
72965  ac_status=$?
72966  grep -v '^ *+' conftest.er1 >conftest.err
72967  rm -f conftest.er1
72968  cat conftest.err >&5
72969  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970  (exit $ac_status); } &&
72971	 { ac_try='test -z "$ac_c_werror_flag"
72972			 || test ! -s conftest.err'
72973  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72974  (eval $ac_try) 2>&5
72975  ac_status=$?
72976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72977  (exit $ac_status); }; } &&
72978	 { ac_try='test -s conftest$ac_exeext'
72979  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72980  (eval $ac_try) 2>&5
72981  ac_status=$?
72982  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72983  (exit $ac_status); }; }; then
72984  glibcxx_cv_func___builtin_sqrt_link=yes
72985else
72986  echo "$as_me: failed program was:" >&5
72987sed 's/^/| /' conftest.$ac_ext >&5
72988
72989glibcxx_cv_func___builtin_sqrt_link=no
72990fi
72991rm -f conftest.err conftest.$ac_objext \
72992      conftest$ac_exeext conftest.$ac_ext
72993
72994fi
72995
72996    fi
72997    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72998echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72999
73000    if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
73001
73002cat >>confdefs.h <<\_ACEOF
73003#define HAVE___BUILTIN_SQRT 1
73004_ACEOF
73005
73006    fi
73007
73008  fi
73009
73010
73011  echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
73012echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
73013  if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
73014    if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
73015  echo $ECHO_N "(cached) $ECHO_C" >&6
73016else
73017
73018
73019
73020      ac_ext=cc
73021ac_cpp='$CXXCPP $CPPFLAGS'
73022ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73023ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73024ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73025
73026      cat >conftest.$ac_ext <<_ACEOF
73027/* confdefs.h.  */
73028_ACEOF
73029cat confdefs.h >>conftest.$ac_ext
73030cat >>conftest.$ac_ext <<_ACEOF
73031/* end confdefs.h.  */
73032#include <math.h>
73033int
73034main ()
73035{
73036 __builtin_sqrtl(0);
73037  ;
73038  return 0;
73039}
73040_ACEOF
73041rm -f conftest.$ac_objext
73042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73043  (eval $ac_compile) 2>conftest.er1
73044  ac_status=$?
73045  grep -v '^ *+' conftest.er1 >conftest.err
73046  rm -f conftest.er1
73047  cat conftest.err >&5
73048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73049  (exit $ac_status); } &&
73050	 { ac_try='test -z "$ac_cxx_werror_flag"
73051			 || test ! -s conftest.err'
73052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73053  (eval $ac_try) 2>&5
73054  ac_status=$?
73055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056  (exit $ac_status); }; } &&
73057	 { ac_try='test -s conftest.$ac_objext'
73058  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73059  (eval $ac_try) 2>&5
73060  ac_status=$?
73061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73062  (exit $ac_status); }; }; then
73063  glibcxx_cv_func___builtin_sqrtl_use=yes
73064else
73065  echo "$as_me: failed program was:" >&5
73066sed 's/^/| /' conftest.$ac_ext >&5
73067
73068glibcxx_cv_func___builtin_sqrtl_use=no
73069fi
73070rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73071      ac_ext=c
73072ac_cpp='$CPP $CPPFLAGS'
73073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73075ac_compiler_gnu=$ac_cv_c_compiler_gnu
73076
73077
73078fi
73079
73080  fi
73081  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
73082echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
73083  if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
73084    echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
73085echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
73086    if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
73087      if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
73088  echo $ECHO_N "(cached) $ECHO_C" >&6
73089else
73090
73091        if test x$gcc_no_link = xyes; then
73092  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73093echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73094   { (exit 1); exit 1; }; }
73095fi
73096cat >conftest.$ac_ext <<_ACEOF
73097/* confdefs.h.  */
73098_ACEOF
73099cat confdefs.h >>conftest.$ac_ext
73100cat >>conftest.$ac_ext <<_ACEOF
73101/* end confdefs.h.  */
73102#include <math.h>
73103int
73104main ()
73105{
73106 __builtin_sqrtl(0);
73107  ;
73108  return 0;
73109}
73110_ACEOF
73111rm -f conftest.$ac_objext conftest$ac_exeext
73112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73113  (eval $ac_link) 2>conftest.er1
73114  ac_status=$?
73115  grep -v '^ *+' conftest.er1 >conftest.err
73116  rm -f conftest.er1
73117  cat conftest.err >&5
73118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73119  (exit $ac_status); } &&
73120	 { ac_try='test -z "$ac_c_werror_flag"
73121			 || test ! -s conftest.err'
73122  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73123  (eval $ac_try) 2>&5
73124  ac_status=$?
73125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73126  (exit $ac_status); }; } &&
73127	 { ac_try='test -s conftest$ac_exeext'
73128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73129  (eval $ac_try) 2>&5
73130  ac_status=$?
73131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73132  (exit $ac_status); }; }; then
73133  glibcxx_cv_func___builtin_sqrtl_link=yes
73134else
73135  echo "$as_me: failed program was:" >&5
73136sed 's/^/| /' conftest.$ac_ext >&5
73137
73138glibcxx_cv_func___builtin_sqrtl_link=no
73139fi
73140rm -f conftest.err conftest.$ac_objext \
73141      conftest$ac_exeext conftest.$ac_ext
73142
73143fi
73144
73145    fi
73146    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
73147echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
73148
73149    if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
73150
73151cat >>confdefs.h <<\_ACEOF
73152#define HAVE___BUILTIN_SQRTL 1
73153_ACEOF
73154
73155    fi
73156
73157  fi
73158
73159
73160
73161  echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
73162echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
73163  if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
73164    if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
73165  echo $ECHO_N "(cached) $ECHO_C" >&6
73166else
73167
73168
73169
73170      ac_ext=cc
73171ac_cpp='$CXXCPP $CPPFLAGS'
73172ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73175
73176      cat >conftest.$ac_ext <<_ACEOF
73177/* confdefs.h.  */
73178_ACEOF
73179cat confdefs.h >>conftest.$ac_ext
73180cat >>conftest.$ac_ext <<_ACEOF
73181/* end confdefs.h.  */
73182#include <math.h>
73183int
73184main ()
73185{
73186 __builtin_sinf(0);
73187  ;
73188  return 0;
73189}
73190_ACEOF
73191rm -f conftest.$ac_objext
73192if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73193  (eval $ac_compile) 2>conftest.er1
73194  ac_status=$?
73195  grep -v '^ *+' conftest.er1 >conftest.err
73196  rm -f conftest.er1
73197  cat conftest.err >&5
73198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73199  (exit $ac_status); } &&
73200	 { ac_try='test -z "$ac_cxx_werror_flag"
73201			 || test ! -s conftest.err'
73202  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73203  (eval $ac_try) 2>&5
73204  ac_status=$?
73205  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73206  (exit $ac_status); }; } &&
73207	 { ac_try='test -s conftest.$ac_objext'
73208  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73209  (eval $ac_try) 2>&5
73210  ac_status=$?
73211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73212  (exit $ac_status); }; }; then
73213  glibcxx_cv_func___builtin_sinf_use=yes
73214else
73215  echo "$as_me: failed program was:" >&5
73216sed 's/^/| /' conftest.$ac_ext >&5
73217
73218glibcxx_cv_func___builtin_sinf_use=no
73219fi
73220rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73221      ac_ext=c
73222ac_cpp='$CPP $CPPFLAGS'
73223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73225ac_compiler_gnu=$ac_cv_c_compiler_gnu
73226
73227
73228fi
73229
73230  fi
73231  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73232echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73233  if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73234    echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73235echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73236    if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73237      if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73238  echo $ECHO_N "(cached) $ECHO_C" >&6
73239else
73240
73241        if test x$gcc_no_link = xyes; then
73242  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73243echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73244   { (exit 1); exit 1; }; }
73245fi
73246cat >conftest.$ac_ext <<_ACEOF
73247/* confdefs.h.  */
73248_ACEOF
73249cat confdefs.h >>conftest.$ac_ext
73250cat >>conftest.$ac_ext <<_ACEOF
73251/* end confdefs.h.  */
73252#include <math.h>
73253int
73254main ()
73255{
73256 __builtin_sinf(0);
73257  ;
73258  return 0;
73259}
73260_ACEOF
73261rm -f conftest.$ac_objext conftest$ac_exeext
73262if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73263  (eval $ac_link) 2>conftest.er1
73264  ac_status=$?
73265  grep -v '^ *+' conftest.er1 >conftest.err
73266  rm -f conftest.er1
73267  cat conftest.err >&5
73268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73269  (exit $ac_status); } &&
73270	 { ac_try='test -z "$ac_c_werror_flag"
73271			 || test ! -s conftest.err'
73272  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73273  (eval $ac_try) 2>&5
73274  ac_status=$?
73275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73276  (exit $ac_status); }; } &&
73277	 { ac_try='test -s conftest$ac_exeext'
73278  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73279  (eval $ac_try) 2>&5
73280  ac_status=$?
73281  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73282  (exit $ac_status); }; }; then
73283  glibcxx_cv_func___builtin_sinf_link=yes
73284else
73285  echo "$as_me: failed program was:" >&5
73286sed 's/^/| /' conftest.$ac_ext >&5
73287
73288glibcxx_cv_func___builtin_sinf_link=no
73289fi
73290rm -f conftest.err conftest.$ac_objext \
73291      conftest$ac_exeext conftest.$ac_ext
73292
73293fi
73294
73295    fi
73296    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73297echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73298
73299    if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73300
73301cat >>confdefs.h <<\_ACEOF
73302#define HAVE___BUILTIN_SINF 1
73303_ACEOF
73304
73305    fi
73306
73307  fi
73308
73309
73310  echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73311echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73312  if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73313    if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73314  echo $ECHO_N "(cached) $ECHO_C" >&6
73315else
73316
73317
73318
73319      ac_ext=cc
73320ac_cpp='$CXXCPP $CPPFLAGS'
73321ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73324
73325      cat >conftest.$ac_ext <<_ACEOF
73326/* confdefs.h.  */
73327_ACEOF
73328cat confdefs.h >>conftest.$ac_ext
73329cat >>conftest.$ac_ext <<_ACEOF
73330/* end confdefs.h.  */
73331#include <math.h>
73332int
73333main ()
73334{
73335 __builtin_sin(0);
73336  ;
73337  return 0;
73338}
73339_ACEOF
73340rm -f conftest.$ac_objext
73341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73342  (eval $ac_compile) 2>conftest.er1
73343  ac_status=$?
73344  grep -v '^ *+' conftest.er1 >conftest.err
73345  rm -f conftest.er1
73346  cat conftest.err >&5
73347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73348  (exit $ac_status); } &&
73349	 { ac_try='test -z "$ac_cxx_werror_flag"
73350			 || test ! -s conftest.err'
73351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73352  (eval $ac_try) 2>&5
73353  ac_status=$?
73354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355  (exit $ac_status); }; } &&
73356	 { ac_try='test -s conftest.$ac_objext'
73357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73358  (eval $ac_try) 2>&5
73359  ac_status=$?
73360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73361  (exit $ac_status); }; }; then
73362  glibcxx_cv_func___builtin_sin_use=yes
73363else
73364  echo "$as_me: failed program was:" >&5
73365sed 's/^/| /' conftest.$ac_ext >&5
73366
73367glibcxx_cv_func___builtin_sin_use=no
73368fi
73369rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73370      ac_ext=c
73371ac_cpp='$CPP $CPPFLAGS'
73372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374ac_compiler_gnu=$ac_cv_c_compiler_gnu
73375
73376
73377fi
73378
73379  fi
73380  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73381echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73382  if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73383    echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73384echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73385    if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73386      if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73387  echo $ECHO_N "(cached) $ECHO_C" >&6
73388else
73389
73390        if test x$gcc_no_link = xyes; then
73391  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73392echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73393   { (exit 1); exit 1; }; }
73394fi
73395cat >conftest.$ac_ext <<_ACEOF
73396/* confdefs.h.  */
73397_ACEOF
73398cat confdefs.h >>conftest.$ac_ext
73399cat >>conftest.$ac_ext <<_ACEOF
73400/* end confdefs.h.  */
73401#include <math.h>
73402int
73403main ()
73404{
73405 __builtin_sin(0);
73406  ;
73407  return 0;
73408}
73409_ACEOF
73410rm -f conftest.$ac_objext conftest$ac_exeext
73411if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73412  (eval $ac_link) 2>conftest.er1
73413  ac_status=$?
73414  grep -v '^ *+' conftest.er1 >conftest.err
73415  rm -f conftest.er1
73416  cat conftest.err >&5
73417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73418  (exit $ac_status); } &&
73419	 { ac_try='test -z "$ac_c_werror_flag"
73420			 || test ! -s conftest.err'
73421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73422  (eval $ac_try) 2>&5
73423  ac_status=$?
73424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73425  (exit $ac_status); }; } &&
73426	 { ac_try='test -s conftest$ac_exeext'
73427  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73428  (eval $ac_try) 2>&5
73429  ac_status=$?
73430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73431  (exit $ac_status); }; }; then
73432  glibcxx_cv_func___builtin_sin_link=yes
73433else
73434  echo "$as_me: failed program was:" >&5
73435sed 's/^/| /' conftest.$ac_ext >&5
73436
73437glibcxx_cv_func___builtin_sin_link=no
73438fi
73439rm -f conftest.err conftest.$ac_objext \
73440      conftest$ac_exeext conftest.$ac_ext
73441
73442fi
73443
73444    fi
73445    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73446echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73447
73448    if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73449
73450cat >>confdefs.h <<\_ACEOF
73451#define HAVE___BUILTIN_SIN 1
73452_ACEOF
73453
73454    fi
73455
73456  fi
73457
73458
73459  echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73460echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73461  if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73462    if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73463  echo $ECHO_N "(cached) $ECHO_C" >&6
73464else
73465
73466
73467
73468      ac_ext=cc
73469ac_cpp='$CXXCPP $CPPFLAGS'
73470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73473
73474      cat >conftest.$ac_ext <<_ACEOF
73475/* confdefs.h.  */
73476_ACEOF
73477cat confdefs.h >>conftest.$ac_ext
73478cat >>conftest.$ac_ext <<_ACEOF
73479/* end confdefs.h.  */
73480#include <math.h>
73481int
73482main ()
73483{
73484 __builtin_sinl(0);
73485  ;
73486  return 0;
73487}
73488_ACEOF
73489rm -f conftest.$ac_objext
73490if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73491  (eval $ac_compile) 2>conftest.er1
73492  ac_status=$?
73493  grep -v '^ *+' conftest.er1 >conftest.err
73494  rm -f conftest.er1
73495  cat conftest.err >&5
73496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73497  (exit $ac_status); } &&
73498	 { ac_try='test -z "$ac_cxx_werror_flag"
73499			 || test ! -s conftest.err'
73500  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73501  (eval $ac_try) 2>&5
73502  ac_status=$?
73503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504  (exit $ac_status); }; } &&
73505	 { ac_try='test -s conftest.$ac_objext'
73506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73507  (eval $ac_try) 2>&5
73508  ac_status=$?
73509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510  (exit $ac_status); }; }; then
73511  glibcxx_cv_func___builtin_sinl_use=yes
73512else
73513  echo "$as_me: failed program was:" >&5
73514sed 's/^/| /' conftest.$ac_ext >&5
73515
73516glibcxx_cv_func___builtin_sinl_use=no
73517fi
73518rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73519      ac_ext=c
73520ac_cpp='$CPP $CPPFLAGS'
73521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73523ac_compiler_gnu=$ac_cv_c_compiler_gnu
73524
73525
73526fi
73527
73528  fi
73529  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73530echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73531  if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73532    echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73533echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73534    if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73535      if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73536  echo $ECHO_N "(cached) $ECHO_C" >&6
73537else
73538
73539        if test x$gcc_no_link = xyes; then
73540  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73541echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73542   { (exit 1); exit 1; }; }
73543fi
73544cat >conftest.$ac_ext <<_ACEOF
73545/* confdefs.h.  */
73546_ACEOF
73547cat confdefs.h >>conftest.$ac_ext
73548cat >>conftest.$ac_ext <<_ACEOF
73549/* end confdefs.h.  */
73550#include <math.h>
73551int
73552main ()
73553{
73554 __builtin_sinl(0);
73555  ;
73556  return 0;
73557}
73558_ACEOF
73559rm -f conftest.$ac_objext conftest$ac_exeext
73560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73561  (eval $ac_link) 2>conftest.er1
73562  ac_status=$?
73563  grep -v '^ *+' conftest.er1 >conftest.err
73564  rm -f conftest.er1
73565  cat conftest.err >&5
73566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73567  (exit $ac_status); } &&
73568	 { ac_try='test -z "$ac_c_werror_flag"
73569			 || test ! -s conftest.err'
73570  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73571  (eval $ac_try) 2>&5
73572  ac_status=$?
73573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73574  (exit $ac_status); }; } &&
73575	 { ac_try='test -s conftest$ac_exeext'
73576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73577  (eval $ac_try) 2>&5
73578  ac_status=$?
73579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73580  (exit $ac_status); }; }; then
73581  glibcxx_cv_func___builtin_sinl_link=yes
73582else
73583  echo "$as_me: failed program was:" >&5
73584sed 's/^/| /' conftest.$ac_ext >&5
73585
73586glibcxx_cv_func___builtin_sinl_link=no
73587fi
73588rm -f conftest.err conftest.$ac_objext \
73589      conftest$ac_exeext conftest.$ac_ext
73590
73591fi
73592
73593    fi
73594    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73595echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73596
73597    if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73598
73599cat >>confdefs.h <<\_ACEOF
73600#define HAVE___BUILTIN_SINL 1
73601_ACEOF
73602
73603    fi
73604
73605  fi
73606
73607
73608
73609  echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73610echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73611  if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73612    if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73613  echo $ECHO_N "(cached) $ECHO_C" >&6
73614else
73615
73616
73617
73618      ac_ext=cc
73619ac_cpp='$CXXCPP $CPPFLAGS'
73620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73623
73624      cat >conftest.$ac_ext <<_ACEOF
73625/* confdefs.h.  */
73626_ACEOF
73627cat confdefs.h >>conftest.$ac_ext
73628cat >>conftest.$ac_ext <<_ACEOF
73629/* end confdefs.h.  */
73630#include <math.h>
73631int
73632main ()
73633{
73634 __builtin_cosf(0);
73635  ;
73636  return 0;
73637}
73638_ACEOF
73639rm -f conftest.$ac_objext
73640if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73641  (eval $ac_compile) 2>conftest.er1
73642  ac_status=$?
73643  grep -v '^ *+' conftest.er1 >conftest.err
73644  rm -f conftest.er1
73645  cat conftest.err >&5
73646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73647  (exit $ac_status); } &&
73648	 { ac_try='test -z "$ac_cxx_werror_flag"
73649			 || test ! -s conftest.err'
73650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73651  (eval $ac_try) 2>&5
73652  ac_status=$?
73653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73654  (exit $ac_status); }; } &&
73655	 { ac_try='test -s conftest.$ac_objext'
73656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73657  (eval $ac_try) 2>&5
73658  ac_status=$?
73659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73660  (exit $ac_status); }; }; then
73661  glibcxx_cv_func___builtin_cosf_use=yes
73662else
73663  echo "$as_me: failed program was:" >&5
73664sed 's/^/| /' conftest.$ac_ext >&5
73665
73666glibcxx_cv_func___builtin_cosf_use=no
73667fi
73668rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73669      ac_ext=c
73670ac_cpp='$CPP $CPPFLAGS'
73671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73673ac_compiler_gnu=$ac_cv_c_compiler_gnu
73674
73675
73676fi
73677
73678  fi
73679  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73680echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73681  if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73682    echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73683echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73684    if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73685      if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73686  echo $ECHO_N "(cached) $ECHO_C" >&6
73687else
73688
73689        if test x$gcc_no_link = xyes; then
73690  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73691echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73692   { (exit 1); exit 1; }; }
73693fi
73694cat >conftest.$ac_ext <<_ACEOF
73695/* confdefs.h.  */
73696_ACEOF
73697cat confdefs.h >>conftest.$ac_ext
73698cat >>conftest.$ac_ext <<_ACEOF
73699/* end confdefs.h.  */
73700#include <math.h>
73701int
73702main ()
73703{
73704 __builtin_cosf(0);
73705  ;
73706  return 0;
73707}
73708_ACEOF
73709rm -f conftest.$ac_objext conftest$ac_exeext
73710if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73711  (eval $ac_link) 2>conftest.er1
73712  ac_status=$?
73713  grep -v '^ *+' conftest.er1 >conftest.err
73714  rm -f conftest.er1
73715  cat conftest.err >&5
73716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73717  (exit $ac_status); } &&
73718	 { ac_try='test -z "$ac_c_werror_flag"
73719			 || test ! -s conftest.err'
73720  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73721  (eval $ac_try) 2>&5
73722  ac_status=$?
73723  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73724  (exit $ac_status); }; } &&
73725	 { ac_try='test -s conftest$ac_exeext'
73726  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73727  (eval $ac_try) 2>&5
73728  ac_status=$?
73729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73730  (exit $ac_status); }; }; then
73731  glibcxx_cv_func___builtin_cosf_link=yes
73732else
73733  echo "$as_me: failed program was:" >&5
73734sed 's/^/| /' conftest.$ac_ext >&5
73735
73736glibcxx_cv_func___builtin_cosf_link=no
73737fi
73738rm -f conftest.err conftest.$ac_objext \
73739      conftest$ac_exeext conftest.$ac_ext
73740
73741fi
73742
73743    fi
73744    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73745echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73746
73747    if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73748
73749cat >>confdefs.h <<\_ACEOF
73750#define HAVE___BUILTIN_COSF 1
73751_ACEOF
73752
73753    fi
73754
73755  fi
73756
73757
73758  echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73759echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73760  if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73761    if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73762  echo $ECHO_N "(cached) $ECHO_C" >&6
73763else
73764
73765
73766
73767      ac_ext=cc
73768ac_cpp='$CXXCPP $CPPFLAGS'
73769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73772
73773      cat >conftest.$ac_ext <<_ACEOF
73774/* confdefs.h.  */
73775_ACEOF
73776cat confdefs.h >>conftest.$ac_ext
73777cat >>conftest.$ac_ext <<_ACEOF
73778/* end confdefs.h.  */
73779#include <math.h>
73780int
73781main ()
73782{
73783 __builtin_cos(0);
73784  ;
73785  return 0;
73786}
73787_ACEOF
73788rm -f conftest.$ac_objext
73789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73790  (eval $ac_compile) 2>conftest.er1
73791  ac_status=$?
73792  grep -v '^ *+' conftest.er1 >conftest.err
73793  rm -f conftest.er1
73794  cat conftest.err >&5
73795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73796  (exit $ac_status); } &&
73797	 { ac_try='test -z "$ac_cxx_werror_flag"
73798			 || test ! -s conftest.err'
73799  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73800  (eval $ac_try) 2>&5
73801  ac_status=$?
73802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73803  (exit $ac_status); }; } &&
73804	 { ac_try='test -s conftest.$ac_objext'
73805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73806  (eval $ac_try) 2>&5
73807  ac_status=$?
73808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73809  (exit $ac_status); }; }; then
73810  glibcxx_cv_func___builtin_cos_use=yes
73811else
73812  echo "$as_me: failed program was:" >&5
73813sed 's/^/| /' conftest.$ac_ext >&5
73814
73815glibcxx_cv_func___builtin_cos_use=no
73816fi
73817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73818      ac_ext=c
73819ac_cpp='$CPP $CPPFLAGS'
73820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73822ac_compiler_gnu=$ac_cv_c_compiler_gnu
73823
73824
73825fi
73826
73827  fi
73828  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73829echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73830  if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73831    echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73832echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73833    if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73834      if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73835  echo $ECHO_N "(cached) $ECHO_C" >&6
73836else
73837
73838        if test x$gcc_no_link = xyes; then
73839  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73840echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73841   { (exit 1); exit 1; }; }
73842fi
73843cat >conftest.$ac_ext <<_ACEOF
73844/* confdefs.h.  */
73845_ACEOF
73846cat confdefs.h >>conftest.$ac_ext
73847cat >>conftest.$ac_ext <<_ACEOF
73848/* end confdefs.h.  */
73849#include <math.h>
73850int
73851main ()
73852{
73853 __builtin_cos(0);
73854  ;
73855  return 0;
73856}
73857_ACEOF
73858rm -f conftest.$ac_objext conftest$ac_exeext
73859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73860  (eval $ac_link) 2>conftest.er1
73861  ac_status=$?
73862  grep -v '^ *+' conftest.er1 >conftest.err
73863  rm -f conftest.er1
73864  cat conftest.err >&5
73865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73866  (exit $ac_status); } &&
73867	 { ac_try='test -z "$ac_c_werror_flag"
73868			 || test ! -s conftest.err'
73869  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73870  (eval $ac_try) 2>&5
73871  ac_status=$?
73872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73873  (exit $ac_status); }; } &&
73874	 { ac_try='test -s conftest$ac_exeext'
73875  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73876  (eval $ac_try) 2>&5
73877  ac_status=$?
73878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73879  (exit $ac_status); }; }; then
73880  glibcxx_cv_func___builtin_cos_link=yes
73881else
73882  echo "$as_me: failed program was:" >&5
73883sed 's/^/| /' conftest.$ac_ext >&5
73884
73885glibcxx_cv_func___builtin_cos_link=no
73886fi
73887rm -f conftest.err conftest.$ac_objext \
73888      conftest$ac_exeext conftest.$ac_ext
73889
73890fi
73891
73892    fi
73893    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73894echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73895
73896    if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73897
73898cat >>confdefs.h <<\_ACEOF
73899#define HAVE___BUILTIN_COS 1
73900_ACEOF
73901
73902    fi
73903
73904  fi
73905
73906
73907  echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73908echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73909  if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73910    if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73911  echo $ECHO_N "(cached) $ECHO_C" >&6
73912else
73913
73914
73915
73916      ac_ext=cc
73917ac_cpp='$CXXCPP $CPPFLAGS'
73918ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73919ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73920ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73921
73922      cat >conftest.$ac_ext <<_ACEOF
73923/* confdefs.h.  */
73924_ACEOF
73925cat confdefs.h >>conftest.$ac_ext
73926cat >>conftest.$ac_ext <<_ACEOF
73927/* end confdefs.h.  */
73928#include <math.h>
73929int
73930main ()
73931{
73932 __builtin_cosl(0);
73933  ;
73934  return 0;
73935}
73936_ACEOF
73937rm -f conftest.$ac_objext
73938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73939  (eval $ac_compile) 2>conftest.er1
73940  ac_status=$?
73941  grep -v '^ *+' conftest.er1 >conftest.err
73942  rm -f conftest.er1
73943  cat conftest.err >&5
73944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73945  (exit $ac_status); } &&
73946	 { ac_try='test -z "$ac_cxx_werror_flag"
73947			 || test ! -s conftest.err'
73948  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73949  (eval $ac_try) 2>&5
73950  ac_status=$?
73951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73952  (exit $ac_status); }; } &&
73953	 { ac_try='test -s conftest.$ac_objext'
73954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73955  (eval $ac_try) 2>&5
73956  ac_status=$?
73957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
73958  (exit $ac_status); }; }; then
73959  glibcxx_cv_func___builtin_cosl_use=yes
73960else
73961  echo "$as_me: failed program was:" >&5
73962sed 's/^/| /' conftest.$ac_ext >&5
73963
73964glibcxx_cv_func___builtin_cosl_use=no
73965fi
73966rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73967      ac_ext=c
73968ac_cpp='$CPP $CPPFLAGS'
73969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73971ac_compiler_gnu=$ac_cv_c_compiler_gnu
73972
73973
73974fi
73975
73976  fi
73977  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73978echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73979  if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73980    echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73981echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73982    if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73983      if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73984  echo $ECHO_N "(cached) $ECHO_C" >&6
73985else
73986
73987        if test x$gcc_no_link = xyes; then
73988  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73989echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73990   { (exit 1); exit 1; }; }
73991fi
73992cat >conftest.$ac_ext <<_ACEOF
73993/* confdefs.h.  */
73994_ACEOF
73995cat confdefs.h >>conftest.$ac_ext
73996cat >>conftest.$ac_ext <<_ACEOF
73997/* end confdefs.h.  */
73998#include <math.h>
73999int
74000main ()
74001{
74002 __builtin_cosl(0);
74003  ;
74004  return 0;
74005}
74006_ACEOF
74007rm -f conftest.$ac_objext conftest$ac_exeext
74008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74009  (eval $ac_link) 2>conftest.er1
74010  ac_status=$?
74011  grep -v '^ *+' conftest.er1 >conftest.err
74012  rm -f conftest.er1
74013  cat conftest.err >&5
74014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74015  (exit $ac_status); } &&
74016	 { ac_try='test -z "$ac_c_werror_flag"
74017			 || test ! -s conftest.err'
74018  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74019  (eval $ac_try) 2>&5
74020  ac_status=$?
74021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74022  (exit $ac_status); }; } &&
74023	 { ac_try='test -s conftest$ac_exeext'
74024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74025  (eval $ac_try) 2>&5
74026  ac_status=$?
74027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74028  (exit $ac_status); }; }; then
74029  glibcxx_cv_func___builtin_cosl_link=yes
74030else
74031  echo "$as_me: failed program was:" >&5
74032sed 's/^/| /' conftest.$ac_ext >&5
74033
74034glibcxx_cv_func___builtin_cosl_link=no
74035fi
74036rm -f conftest.err conftest.$ac_objext \
74037      conftest$ac_exeext conftest.$ac_ext
74038
74039fi
74040
74041    fi
74042    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
74043echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
74044
74045    if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
74046
74047cat >>confdefs.h <<\_ACEOF
74048#define HAVE___BUILTIN_COSL 1
74049_ACEOF
74050
74051    fi
74052
74053  fi
74054
74055
74056
74057
74058echo "$as_me:$LINENO: checking for main in -lm" >&5
74059echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74060if test "${ac_cv_lib_m_main+set}" = set; then
74061  echo $ECHO_N "(cached) $ECHO_C" >&6
74062else
74063  ac_check_lib_save_LIBS=$LIBS
74064LIBS="-lm  $LIBS"
74065if test x$gcc_no_link = xyes; then
74066  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74067echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74068   { (exit 1); exit 1; }; }
74069fi
74070cat >conftest.$ac_ext <<_ACEOF
74071/* confdefs.h.  */
74072_ACEOF
74073cat confdefs.h >>conftest.$ac_ext
74074cat >>conftest.$ac_ext <<_ACEOF
74075/* end confdefs.h.  */
74076
74077
74078int
74079main ()
74080{
74081main ();
74082  ;
74083  return 0;
74084}
74085_ACEOF
74086rm -f conftest.$ac_objext conftest$ac_exeext
74087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74088  (eval $ac_link) 2>conftest.er1
74089  ac_status=$?
74090  grep -v '^ *+' conftest.er1 >conftest.err
74091  rm -f conftest.er1
74092  cat conftest.err >&5
74093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74094  (exit $ac_status); } &&
74095	 { ac_try='test -z "$ac_c_werror_flag"
74096			 || test ! -s conftest.err'
74097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74098  (eval $ac_try) 2>&5
74099  ac_status=$?
74100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74101  (exit $ac_status); }; } &&
74102	 { ac_try='test -s conftest$ac_exeext'
74103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74104  (eval $ac_try) 2>&5
74105  ac_status=$?
74106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74107  (exit $ac_status); }; }; then
74108  ac_cv_lib_m_main=yes
74109else
74110  echo "$as_me: failed program was:" >&5
74111sed 's/^/| /' conftest.$ac_ext >&5
74112
74113ac_cv_lib_m_main=no
74114fi
74115rm -f conftest.err conftest.$ac_objext \
74116      conftest$ac_exeext conftest.$ac_ext
74117LIBS=$ac_check_lib_save_LIBS
74118fi
74119echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74120echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74121if test $ac_cv_lib_m_main = yes; then
74122  cat >>confdefs.h <<_ACEOF
74123#define HAVE_LIBM 1
74124_ACEOF
74125
74126  LIBS="-lm $LIBS"
74127
74128fi
74129
74130
74131for ac_func in copysignf
74132do
74133as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74134echo "$as_me:$LINENO: checking for $ac_func" >&5
74135echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74136if eval "test \"\${$as_ac_var+set}\" = set"; then
74137  echo $ECHO_N "(cached) $ECHO_C" >&6
74138else
74139  if test x$gcc_no_link = xyes; then
74140  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74141echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74142   { (exit 1); exit 1; }; }
74143fi
74144cat >conftest.$ac_ext <<_ACEOF
74145/* confdefs.h.  */
74146_ACEOF
74147cat confdefs.h >>conftest.$ac_ext
74148cat >>conftest.$ac_ext <<_ACEOF
74149/* end confdefs.h.  */
74150/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74151   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74152#define $ac_func innocuous_$ac_func
74153
74154/* System header to define __stub macros and hopefully few prototypes,
74155    which can conflict with char $ac_func (); below.
74156    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74157    <limits.h> exists even on freestanding compilers.  */
74158
74159#ifdef __STDC__
74160# include <limits.h>
74161#else
74162# include <assert.h>
74163#endif
74164
74165#undef $ac_func
74166
74167/* Override any gcc2 internal prototype to avoid an error.  */
74168#ifdef __cplusplus
74169extern "C"
74170{
74171#endif
74172/* We use char because int might match the return type of a gcc2
74173   builtin and then its argument prototype would still apply.  */
74174char $ac_func ();
74175/* The GNU C library defines this for functions which it implements
74176    to always fail with ENOSYS.  Some functions are actually named
74177    something starting with __ and the normal name is an alias.  */
74178#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74179choke me
74180#else
74181char (*f) () = $ac_func;
74182#endif
74183#ifdef __cplusplus
74184}
74185#endif
74186
74187int
74188main ()
74189{
74190return f != $ac_func;
74191  ;
74192  return 0;
74193}
74194_ACEOF
74195rm -f conftest.$ac_objext conftest$ac_exeext
74196if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74197  (eval $ac_link) 2>conftest.er1
74198  ac_status=$?
74199  grep -v '^ *+' conftest.er1 >conftest.err
74200  rm -f conftest.er1
74201  cat conftest.err >&5
74202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74203  (exit $ac_status); } &&
74204	 { ac_try='test -z "$ac_c_werror_flag"
74205			 || test ! -s conftest.err'
74206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74207  (eval $ac_try) 2>&5
74208  ac_status=$?
74209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210  (exit $ac_status); }; } &&
74211	 { ac_try='test -s conftest$ac_exeext'
74212  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74213  (eval $ac_try) 2>&5
74214  ac_status=$?
74215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74216  (exit $ac_status); }; }; then
74217  eval "$as_ac_var=yes"
74218else
74219  echo "$as_me: failed program was:" >&5
74220sed 's/^/| /' conftest.$ac_ext >&5
74221
74222eval "$as_ac_var=no"
74223fi
74224rm -f conftest.err conftest.$ac_objext \
74225      conftest$ac_exeext conftest.$ac_ext
74226fi
74227echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74228echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74229if test `eval echo '${'$as_ac_var'}'` = yes; then
74230  cat >>confdefs.h <<_ACEOF
74231#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74232_ACEOF
74233
74234else
74235  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74236fi
74237done
74238
74239
74240
74241for ac_func in __signbit
74242do
74243as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74244echo "$as_me:$LINENO: checking for $ac_func" >&5
74245echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74246if eval "test \"\${$as_ac_var+set}\" = set"; then
74247  echo $ECHO_N "(cached) $ECHO_C" >&6
74248else
74249  if test x$gcc_no_link = xyes; then
74250  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74251echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74252   { (exit 1); exit 1; }; }
74253fi
74254cat >conftest.$ac_ext <<_ACEOF
74255/* confdefs.h.  */
74256_ACEOF
74257cat confdefs.h >>conftest.$ac_ext
74258cat >>conftest.$ac_ext <<_ACEOF
74259/* end confdefs.h.  */
74260/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74261   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74262#define $ac_func innocuous_$ac_func
74263
74264/* System header to define __stub macros and hopefully few prototypes,
74265    which can conflict with char $ac_func (); below.
74266    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74267    <limits.h> exists even on freestanding compilers.  */
74268
74269#ifdef __STDC__
74270# include <limits.h>
74271#else
74272# include <assert.h>
74273#endif
74274
74275#undef $ac_func
74276
74277/* Override any gcc2 internal prototype to avoid an error.  */
74278#ifdef __cplusplus
74279extern "C"
74280{
74281#endif
74282/* We use char because int might match the return type of a gcc2
74283   builtin and then its argument prototype would still apply.  */
74284char $ac_func ();
74285/* The GNU C library defines this for functions which it implements
74286    to always fail with ENOSYS.  Some functions are actually named
74287    something starting with __ and the normal name is an alias.  */
74288#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74289choke me
74290#else
74291char (*f) () = $ac_func;
74292#endif
74293#ifdef __cplusplus
74294}
74295#endif
74296
74297int
74298main ()
74299{
74300return f != $ac_func;
74301  ;
74302  return 0;
74303}
74304_ACEOF
74305rm -f conftest.$ac_objext conftest$ac_exeext
74306if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74307  (eval $ac_link) 2>conftest.er1
74308  ac_status=$?
74309  grep -v '^ *+' conftest.er1 >conftest.err
74310  rm -f conftest.er1
74311  cat conftest.err >&5
74312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74313  (exit $ac_status); } &&
74314	 { ac_try='test -z "$ac_c_werror_flag"
74315			 || test ! -s conftest.err'
74316  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74317  (eval $ac_try) 2>&5
74318  ac_status=$?
74319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74320  (exit $ac_status); }; } &&
74321	 { ac_try='test -s conftest$ac_exeext'
74322  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74323  (eval $ac_try) 2>&5
74324  ac_status=$?
74325  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74326  (exit $ac_status); }; }; then
74327  eval "$as_ac_var=yes"
74328else
74329  echo "$as_me: failed program was:" >&5
74330sed 's/^/| /' conftest.$ac_ext >&5
74331
74332eval "$as_ac_var=no"
74333fi
74334rm -f conftest.err conftest.$ac_objext \
74335      conftest$ac_exeext conftest.$ac_ext
74336fi
74337echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74338echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74339if test `eval echo '${'$as_ac_var'}'` = yes; then
74340  cat >>confdefs.h <<_ACEOF
74341#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74342_ACEOF
74343
74344else
74345  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74346fi
74347done
74348
74349
74350
74351for ac_func in __signbitf
74352do
74353as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74354echo "$as_me:$LINENO: checking for $ac_func" >&5
74355echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74356if eval "test \"\${$as_ac_var+set}\" = set"; then
74357  echo $ECHO_N "(cached) $ECHO_C" >&6
74358else
74359  if test x$gcc_no_link = xyes; then
74360  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74361echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74362   { (exit 1); exit 1; }; }
74363fi
74364cat >conftest.$ac_ext <<_ACEOF
74365/* confdefs.h.  */
74366_ACEOF
74367cat confdefs.h >>conftest.$ac_ext
74368cat >>conftest.$ac_ext <<_ACEOF
74369/* end confdefs.h.  */
74370/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74371   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74372#define $ac_func innocuous_$ac_func
74373
74374/* System header to define __stub macros and hopefully few prototypes,
74375    which can conflict with char $ac_func (); below.
74376    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74377    <limits.h> exists even on freestanding compilers.  */
74378
74379#ifdef __STDC__
74380# include <limits.h>
74381#else
74382# include <assert.h>
74383#endif
74384
74385#undef $ac_func
74386
74387/* Override any gcc2 internal prototype to avoid an error.  */
74388#ifdef __cplusplus
74389extern "C"
74390{
74391#endif
74392/* We use char because int might match the return type of a gcc2
74393   builtin and then its argument prototype would still apply.  */
74394char $ac_func ();
74395/* The GNU C library defines this for functions which it implements
74396    to always fail with ENOSYS.  Some functions are actually named
74397    something starting with __ and the normal name is an alias.  */
74398#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74399choke me
74400#else
74401char (*f) () = $ac_func;
74402#endif
74403#ifdef __cplusplus
74404}
74405#endif
74406
74407int
74408main ()
74409{
74410return f != $ac_func;
74411  ;
74412  return 0;
74413}
74414_ACEOF
74415rm -f conftest.$ac_objext conftest$ac_exeext
74416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74417  (eval $ac_link) 2>conftest.er1
74418  ac_status=$?
74419  grep -v '^ *+' conftest.er1 >conftest.err
74420  rm -f conftest.er1
74421  cat conftest.err >&5
74422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74423  (exit $ac_status); } &&
74424	 { ac_try='test -z "$ac_c_werror_flag"
74425			 || test ! -s conftest.err'
74426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74427  (eval $ac_try) 2>&5
74428  ac_status=$?
74429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74430  (exit $ac_status); }; } &&
74431	 { ac_try='test -s conftest$ac_exeext'
74432  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74433  (eval $ac_try) 2>&5
74434  ac_status=$?
74435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74436  (exit $ac_status); }; }; then
74437  eval "$as_ac_var=yes"
74438else
74439  echo "$as_me: failed program was:" >&5
74440sed 's/^/| /' conftest.$ac_ext >&5
74441
74442eval "$as_ac_var=no"
74443fi
74444rm -f conftest.err conftest.$ac_objext \
74445      conftest$ac_exeext conftest.$ac_ext
74446fi
74447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74448echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74449if test `eval echo '${'$as_ac_var'}'` = yes; then
74450  cat >>confdefs.h <<_ACEOF
74451#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74452_ACEOF
74453
74454else
74455  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74456fi
74457done
74458
74459
74460          if test x$ac_cv_func_copysignl = x"yes"; then
74461
74462for ac_func in __signbitl
74463do
74464as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74465echo "$as_me:$LINENO: checking for $ac_func" >&5
74466echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74467if eval "test \"\${$as_ac_var+set}\" = set"; then
74468  echo $ECHO_N "(cached) $ECHO_C" >&6
74469else
74470  if test x$gcc_no_link = xyes; then
74471  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74472echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74473   { (exit 1); exit 1; }; }
74474fi
74475cat >conftest.$ac_ext <<_ACEOF
74476/* confdefs.h.  */
74477_ACEOF
74478cat confdefs.h >>conftest.$ac_ext
74479cat >>conftest.$ac_ext <<_ACEOF
74480/* end confdefs.h.  */
74481/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74482   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74483#define $ac_func innocuous_$ac_func
74484
74485/* System header to define __stub macros and hopefully few prototypes,
74486    which can conflict with char $ac_func (); below.
74487    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74488    <limits.h> exists even on freestanding compilers.  */
74489
74490#ifdef __STDC__
74491# include <limits.h>
74492#else
74493# include <assert.h>
74494#endif
74495
74496#undef $ac_func
74497
74498/* Override any gcc2 internal prototype to avoid an error.  */
74499#ifdef __cplusplus
74500extern "C"
74501{
74502#endif
74503/* We use char because int might match the return type of a gcc2
74504   builtin and then its argument prototype would still apply.  */
74505char $ac_func ();
74506/* The GNU C library defines this for functions which it implements
74507    to always fail with ENOSYS.  Some functions are actually named
74508    something starting with __ and the normal name is an alias.  */
74509#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74510choke me
74511#else
74512char (*f) () = $ac_func;
74513#endif
74514#ifdef __cplusplus
74515}
74516#endif
74517
74518int
74519main ()
74520{
74521return f != $ac_func;
74522  ;
74523  return 0;
74524}
74525_ACEOF
74526rm -f conftest.$ac_objext conftest$ac_exeext
74527if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74528  (eval $ac_link) 2>conftest.er1
74529  ac_status=$?
74530  grep -v '^ *+' conftest.er1 >conftest.err
74531  rm -f conftest.er1
74532  cat conftest.err >&5
74533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74534  (exit $ac_status); } &&
74535	 { ac_try='test -z "$ac_c_werror_flag"
74536			 || test ! -s conftest.err'
74537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74538  (eval $ac_try) 2>&5
74539  ac_status=$?
74540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74541  (exit $ac_status); }; } &&
74542	 { ac_try='test -s conftest$ac_exeext'
74543  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74544  (eval $ac_try) 2>&5
74545  ac_status=$?
74546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547  (exit $ac_status); }; }; then
74548  eval "$as_ac_var=yes"
74549else
74550  echo "$as_me: failed program was:" >&5
74551sed 's/^/| /' conftest.$ac_ext >&5
74552
74553eval "$as_ac_var=no"
74554fi
74555rm -f conftest.err conftest.$ac_objext \
74556      conftest$ac_exeext conftest.$ac_ext
74557fi
74558echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74559echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74560if test `eval echo '${'$as_ac_var'}'` = yes; then
74561  cat >>confdefs.h <<_ACEOF
74562#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74563_ACEOF
74564
74565else
74566  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74567fi
74568done
74569
74570  fi
74571
74572  # Used in libmath/Makefile.am.
74573  if test -n "$LIBMATHOBJS"; then
74574    need_libmath=yes
74575  fi
74576
74577
74578
74579
74580  enable_iconv=no
74581  # Only continue checking if the ISO C99 headers exist and support is on.
74582  if test x"$enable_wchar_t" = xyes; then
74583
74584    # Use iconv for wchar_t to char conversions. As such, check for
74585    # X/Open Portability Guide, version 2 features (XPG2).
74586    if test "${ac_cv_header_iconv_h+set}" = set; then
74587  echo "$as_me:$LINENO: checking for iconv.h" >&5
74588echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74589if test "${ac_cv_header_iconv_h+set}" = set; then
74590  echo $ECHO_N "(cached) $ECHO_C" >&6
74591fi
74592echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74593echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74594else
74595  # Is the header compilable?
74596echo "$as_me:$LINENO: checking iconv.h usability" >&5
74597echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74598cat >conftest.$ac_ext <<_ACEOF
74599/* confdefs.h.  */
74600_ACEOF
74601cat confdefs.h >>conftest.$ac_ext
74602cat >>conftest.$ac_ext <<_ACEOF
74603/* end confdefs.h.  */
74604$ac_includes_default
74605#include <iconv.h>
74606_ACEOF
74607rm -f conftest.$ac_objext
74608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74609  (eval $ac_compile) 2>conftest.er1
74610  ac_status=$?
74611  grep -v '^ *+' conftest.er1 >conftest.err
74612  rm -f conftest.er1
74613  cat conftest.err >&5
74614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74615  (exit $ac_status); } &&
74616	 { ac_try='test -z "$ac_c_werror_flag"
74617			 || test ! -s conftest.err'
74618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74619  (eval $ac_try) 2>&5
74620  ac_status=$?
74621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74622  (exit $ac_status); }; } &&
74623	 { ac_try='test -s conftest.$ac_objext'
74624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74625  (eval $ac_try) 2>&5
74626  ac_status=$?
74627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74628  (exit $ac_status); }; }; then
74629  ac_header_compiler=yes
74630else
74631  echo "$as_me: failed program was:" >&5
74632sed 's/^/| /' conftest.$ac_ext >&5
74633
74634ac_header_compiler=no
74635fi
74636rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74637echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74638echo "${ECHO_T}$ac_header_compiler" >&6
74639
74640# Is the header present?
74641echo "$as_me:$LINENO: checking iconv.h presence" >&5
74642echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74643cat >conftest.$ac_ext <<_ACEOF
74644/* confdefs.h.  */
74645_ACEOF
74646cat confdefs.h >>conftest.$ac_ext
74647cat >>conftest.$ac_ext <<_ACEOF
74648/* end confdefs.h.  */
74649#include <iconv.h>
74650_ACEOF
74651if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74652  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74653  ac_status=$?
74654  grep -v '^ *+' conftest.er1 >conftest.err
74655  rm -f conftest.er1
74656  cat conftest.err >&5
74657  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74658  (exit $ac_status); } >/dev/null; then
74659  if test -s conftest.err; then
74660    ac_cpp_err=$ac_c_preproc_warn_flag
74661    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74662  else
74663    ac_cpp_err=
74664  fi
74665else
74666  ac_cpp_err=yes
74667fi
74668if test -z "$ac_cpp_err"; then
74669  ac_header_preproc=yes
74670else
74671  echo "$as_me: failed program was:" >&5
74672sed 's/^/| /' conftest.$ac_ext >&5
74673
74674  ac_header_preproc=no
74675fi
74676rm -f conftest.err conftest.$ac_ext
74677echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74678echo "${ECHO_T}$ac_header_preproc" >&6
74679
74680# So?  What about this header?
74681case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74682  yes:no: )
74683    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74684echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74685    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74686echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74687    ac_header_preproc=yes
74688    ;;
74689  no:yes:* )
74690    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74691echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74692    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74693echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74694    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74695echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74696    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74697echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74698    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74699echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74700    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74701echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74702    (
74703      cat <<\_ASBOX
74704## ----------------------------------------- ##
74705## Report this to the package-unused lists.  ##
74706## ----------------------------------------- ##
74707_ASBOX
74708    ) |
74709      sed "s/^/$as_me: WARNING:     /" >&2
74710    ;;
74711esac
74712echo "$as_me:$LINENO: checking for iconv.h" >&5
74713echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74714if test "${ac_cv_header_iconv_h+set}" = set; then
74715  echo $ECHO_N "(cached) $ECHO_C" >&6
74716else
74717  ac_cv_header_iconv_h=$ac_header_preproc
74718fi
74719echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74720echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74721
74722fi
74723if test $ac_cv_header_iconv_h = yes; then
74724  ac_has_iconv_h=yes
74725else
74726  ac_has_iconv_h=no
74727fi
74728
74729
74730    if test "${ac_cv_header_langinfo_h+set}" = set; then
74731  echo "$as_me:$LINENO: checking for langinfo.h" >&5
74732echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74733if test "${ac_cv_header_langinfo_h+set}" = set; then
74734  echo $ECHO_N "(cached) $ECHO_C" >&6
74735fi
74736echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74737echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74738else
74739  # Is the header compilable?
74740echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74741echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74742cat >conftest.$ac_ext <<_ACEOF
74743/* confdefs.h.  */
74744_ACEOF
74745cat confdefs.h >>conftest.$ac_ext
74746cat >>conftest.$ac_ext <<_ACEOF
74747/* end confdefs.h.  */
74748$ac_includes_default
74749#include <langinfo.h>
74750_ACEOF
74751rm -f conftest.$ac_objext
74752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74753  (eval $ac_compile) 2>conftest.er1
74754  ac_status=$?
74755  grep -v '^ *+' conftest.er1 >conftest.err
74756  rm -f conftest.er1
74757  cat conftest.err >&5
74758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74759  (exit $ac_status); } &&
74760	 { ac_try='test -z "$ac_c_werror_flag"
74761			 || test ! -s conftest.err'
74762  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74763  (eval $ac_try) 2>&5
74764  ac_status=$?
74765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766  (exit $ac_status); }; } &&
74767	 { ac_try='test -s conftest.$ac_objext'
74768  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74769  (eval $ac_try) 2>&5
74770  ac_status=$?
74771  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74772  (exit $ac_status); }; }; then
74773  ac_header_compiler=yes
74774else
74775  echo "$as_me: failed program was:" >&5
74776sed 's/^/| /' conftest.$ac_ext >&5
74777
74778ac_header_compiler=no
74779fi
74780rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74781echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74782echo "${ECHO_T}$ac_header_compiler" >&6
74783
74784# Is the header present?
74785echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74786echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74787cat >conftest.$ac_ext <<_ACEOF
74788/* confdefs.h.  */
74789_ACEOF
74790cat confdefs.h >>conftest.$ac_ext
74791cat >>conftest.$ac_ext <<_ACEOF
74792/* end confdefs.h.  */
74793#include <langinfo.h>
74794_ACEOF
74795if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74796  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74797  ac_status=$?
74798  grep -v '^ *+' conftest.er1 >conftest.err
74799  rm -f conftest.er1
74800  cat conftest.err >&5
74801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74802  (exit $ac_status); } >/dev/null; then
74803  if test -s conftest.err; then
74804    ac_cpp_err=$ac_c_preproc_warn_flag
74805    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74806  else
74807    ac_cpp_err=
74808  fi
74809else
74810  ac_cpp_err=yes
74811fi
74812if test -z "$ac_cpp_err"; then
74813  ac_header_preproc=yes
74814else
74815  echo "$as_me: failed program was:" >&5
74816sed 's/^/| /' conftest.$ac_ext >&5
74817
74818  ac_header_preproc=no
74819fi
74820rm -f conftest.err conftest.$ac_ext
74821echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74822echo "${ECHO_T}$ac_header_preproc" >&6
74823
74824# So?  What about this header?
74825case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74826  yes:no: )
74827    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74828echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74829    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74830echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74831    ac_header_preproc=yes
74832    ;;
74833  no:yes:* )
74834    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74835echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74836    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74837echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74838    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74839echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74840    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74841echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74842    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74843echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74844    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74845echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74846    (
74847      cat <<\_ASBOX
74848## ----------------------------------------- ##
74849## Report this to the package-unused lists.  ##
74850## ----------------------------------------- ##
74851_ASBOX
74852    ) |
74853      sed "s/^/$as_me: WARNING:     /" >&2
74854    ;;
74855esac
74856echo "$as_me:$LINENO: checking for langinfo.h" >&5
74857echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74858if test "${ac_cv_header_langinfo_h+set}" = set; then
74859  echo $ECHO_N "(cached) $ECHO_C" >&6
74860else
74861  ac_cv_header_langinfo_h=$ac_header_preproc
74862fi
74863echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74864echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74865
74866fi
74867if test $ac_cv_header_langinfo_h = yes; then
74868  ac_has_langinfo_h=yes
74869else
74870  ac_has_langinfo_h=no
74871fi
74872
74873
74874
74875    # Check for existence of libiconv.a providing XPG2 wchar_t support.
74876    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74877echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74878if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74879  echo $ECHO_N "(cached) $ECHO_C" >&6
74880else
74881  ac_check_lib_save_LIBS=$LIBS
74882LIBS="-liconv  $LIBS"
74883if test x$gcc_no_link = xyes; then
74884  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74885echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74886   { (exit 1); exit 1; }; }
74887fi
74888cat >conftest.$ac_ext <<_ACEOF
74889/* confdefs.h.  */
74890_ACEOF
74891cat confdefs.h >>conftest.$ac_ext
74892cat >>conftest.$ac_ext <<_ACEOF
74893/* end confdefs.h.  */
74894
74895/* Override any gcc2 internal prototype to avoid an error.  */
74896#ifdef __cplusplus
74897extern "C"
74898#endif
74899/* We use char because int might match the return type of a gcc2
74900   builtin and then its argument prototype would still apply.  */
74901char iconv ();
74902int
74903main ()
74904{
74905iconv ();
74906  ;
74907  return 0;
74908}
74909_ACEOF
74910rm -f conftest.$ac_objext conftest$ac_exeext
74911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74912  (eval $ac_link) 2>conftest.er1
74913  ac_status=$?
74914  grep -v '^ *+' conftest.er1 >conftest.err
74915  rm -f conftest.er1
74916  cat conftest.err >&5
74917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74918  (exit $ac_status); } &&
74919	 { ac_try='test -z "$ac_c_werror_flag"
74920			 || test ! -s conftest.err'
74921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74922  (eval $ac_try) 2>&5
74923  ac_status=$?
74924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925  (exit $ac_status); }; } &&
74926	 { ac_try='test -s conftest$ac_exeext'
74927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74928  (eval $ac_try) 2>&5
74929  ac_status=$?
74930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74931  (exit $ac_status); }; }; then
74932  ac_cv_lib_iconv_iconv=yes
74933else
74934  echo "$as_me: failed program was:" >&5
74935sed 's/^/| /' conftest.$ac_ext >&5
74936
74937ac_cv_lib_iconv_iconv=no
74938fi
74939rm -f conftest.err conftest.$ac_objext \
74940      conftest$ac_exeext conftest.$ac_ext
74941LIBS=$ac_check_lib_save_LIBS
74942fi
74943echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74944echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74945if test $ac_cv_lib_iconv_iconv = yes; then
74946  LIBICONV="-liconv"
74947fi
74948
74949    ac_save_LIBS="$LIBS"
74950    LIBS="$LIBS $LIBICONV"
74951
74952
74953
74954
74955
74956
74957for ac_func in iconv_open iconv_close iconv nl_langinfo
74958do
74959as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74960echo "$as_me:$LINENO: checking for $ac_func" >&5
74961echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74962if eval "test \"\${$as_ac_var+set}\" = set"; then
74963  echo $ECHO_N "(cached) $ECHO_C" >&6
74964else
74965  if test x$gcc_no_link = xyes; then
74966  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74967echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74968   { (exit 1); exit 1; }; }
74969fi
74970cat >conftest.$ac_ext <<_ACEOF
74971/* confdefs.h.  */
74972_ACEOF
74973cat confdefs.h >>conftest.$ac_ext
74974cat >>conftest.$ac_ext <<_ACEOF
74975/* end confdefs.h.  */
74976/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74977   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74978#define $ac_func innocuous_$ac_func
74979
74980/* System header to define __stub macros and hopefully few prototypes,
74981    which can conflict with char $ac_func (); below.
74982    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74983    <limits.h> exists even on freestanding compilers.  */
74984
74985#ifdef __STDC__
74986# include <limits.h>
74987#else
74988# include <assert.h>
74989#endif
74990
74991#undef $ac_func
74992
74993/* Override any gcc2 internal prototype to avoid an error.  */
74994#ifdef __cplusplus
74995extern "C"
74996{
74997#endif
74998/* We use char because int might match the return type of a gcc2
74999   builtin and then its argument prototype would still apply.  */
75000char $ac_func ();
75001/* The GNU C library defines this for functions which it implements
75002    to always fail with ENOSYS.  Some functions are actually named
75003    something starting with __ and the normal name is an alias.  */
75004#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75005choke me
75006#else
75007char (*f) () = $ac_func;
75008#endif
75009#ifdef __cplusplus
75010}
75011#endif
75012
75013int
75014main ()
75015{
75016return f != $ac_func;
75017  ;
75018  return 0;
75019}
75020_ACEOF
75021rm -f conftest.$ac_objext conftest$ac_exeext
75022if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75023  (eval $ac_link) 2>conftest.er1
75024  ac_status=$?
75025  grep -v '^ *+' conftest.er1 >conftest.err
75026  rm -f conftest.er1
75027  cat conftest.err >&5
75028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75029  (exit $ac_status); } &&
75030	 { ac_try='test -z "$ac_c_werror_flag"
75031			 || test ! -s conftest.err'
75032  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75033  (eval $ac_try) 2>&5
75034  ac_status=$?
75035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75036  (exit $ac_status); }; } &&
75037	 { ac_try='test -s conftest$ac_exeext'
75038  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75039  (eval $ac_try) 2>&5
75040  ac_status=$?
75041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75042  (exit $ac_status); }; }; then
75043  eval "$as_ac_var=yes"
75044else
75045  echo "$as_me: failed program was:" >&5
75046sed 's/^/| /' conftest.$ac_ext >&5
75047
75048eval "$as_ac_var=no"
75049fi
75050rm -f conftest.err conftest.$ac_objext \
75051      conftest$ac_exeext conftest.$ac_ext
75052fi
75053echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75054echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75055if test `eval echo '${'$as_ac_var'}'` = yes; then
75056  cat >>confdefs.h <<_ACEOF
75057#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75058_ACEOF
75059 ac_XPG2funcs=yes
75060else
75061  ac_XPG2funcs=no
75062fi
75063done
75064
75065
75066    LIBS="$ac_save_LIBS"
75067
75068    if test x"$ac_has_iconv_h" = xyes &&
75069       test x"$ac_has_langinfo_h" = xyes &&
75070       test x"$ac_XPG2funcs" = xyes;
75071    then
75072
75073cat >>confdefs.h <<\_ACEOF
75074#define _GLIBCXX_USE_ICONV 1
75075_ACEOF
75076
75077      enable_iconv=yes
75078    fi
75079  fi
75080  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75081echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75082  echo "$as_me:$LINENO: result: $enable_iconv" >&5
75083echo "${ECHO_T}$enable_iconv" >&6
75084
75085
75086  ac_test_CXXFLAGS="${CXXFLAGS+set}"
75087  ac_save_CXXFLAGS="$CXXFLAGS"
75088  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
75089
75090
75091  echo "$as_me:$LINENO: checking for strtold declaration" >&5
75092echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
75093  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
75094    if test "${glibcxx_cv_func_strtold_use+set}" = set; then
75095  echo $ECHO_N "(cached) $ECHO_C" >&6
75096else
75097
75098
75099
75100      ac_ext=cc
75101ac_cpp='$CXXCPP $CPPFLAGS'
75102ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75103ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75104ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75105
75106      cat >conftest.$ac_ext <<_ACEOF
75107/* confdefs.h.  */
75108_ACEOF
75109cat confdefs.h >>conftest.$ac_ext
75110cat >>conftest.$ac_ext <<_ACEOF
75111/* end confdefs.h.  */
75112#include <stdlib.h>
75113int
75114main ()
75115{
75116 strtold(0, 0);
75117  ;
75118  return 0;
75119}
75120_ACEOF
75121rm -f conftest.$ac_objext
75122if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75123  (eval $ac_compile) 2>conftest.er1
75124  ac_status=$?
75125  grep -v '^ *+' conftest.er1 >conftest.err
75126  rm -f conftest.er1
75127  cat conftest.err >&5
75128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75129  (exit $ac_status); } &&
75130	 { ac_try='test -z "$ac_cxx_werror_flag"
75131			 || test ! -s conftest.err'
75132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75133  (eval $ac_try) 2>&5
75134  ac_status=$?
75135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75136  (exit $ac_status); }; } &&
75137	 { ac_try='test -s conftest.$ac_objext'
75138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75139  (eval $ac_try) 2>&5
75140  ac_status=$?
75141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75142  (exit $ac_status); }; }; then
75143  glibcxx_cv_func_strtold_use=yes
75144else
75145  echo "$as_me: failed program was:" >&5
75146sed 's/^/| /' conftest.$ac_ext >&5
75147
75148glibcxx_cv_func_strtold_use=no
75149fi
75150rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75151      ac_ext=c
75152ac_cpp='$CPP $CPPFLAGS'
75153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75155ac_compiler_gnu=$ac_cv_c_compiler_gnu
75156
75157
75158fi
75159
75160  fi
75161  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
75162echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
75163  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
75164
75165for ac_func in strtold
75166do
75167as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75168echo "$as_me:$LINENO: checking for $ac_func" >&5
75169echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75170if eval "test \"\${$as_ac_var+set}\" = set"; then
75171  echo $ECHO_N "(cached) $ECHO_C" >&6
75172else
75173  if test x$gcc_no_link = xyes; then
75174  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75175echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75176   { (exit 1); exit 1; }; }
75177fi
75178cat >conftest.$ac_ext <<_ACEOF
75179/* confdefs.h.  */
75180_ACEOF
75181cat confdefs.h >>conftest.$ac_ext
75182cat >>conftest.$ac_ext <<_ACEOF
75183/* end confdefs.h.  */
75184/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75185   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75186#define $ac_func innocuous_$ac_func
75187
75188/* System header to define __stub macros and hopefully few prototypes,
75189    which can conflict with char $ac_func (); below.
75190    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75191    <limits.h> exists even on freestanding compilers.  */
75192
75193#ifdef __STDC__
75194# include <limits.h>
75195#else
75196# include <assert.h>
75197#endif
75198
75199#undef $ac_func
75200
75201/* Override any gcc2 internal prototype to avoid an error.  */
75202#ifdef __cplusplus
75203extern "C"
75204{
75205#endif
75206/* We use char because int might match the return type of a gcc2
75207   builtin and then its argument prototype would still apply.  */
75208char $ac_func ();
75209/* The GNU C library defines this for functions which it implements
75210    to always fail with ENOSYS.  Some functions are actually named
75211    something starting with __ and the normal name is an alias.  */
75212#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75213choke me
75214#else
75215char (*f) () = $ac_func;
75216#endif
75217#ifdef __cplusplus
75218}
75219#endif
75220
75221int
75222main ()
75223{
75224return f != $ac_func;
75225  ;
75226  return 0;
75227}
75228_ACEOF
75229rm -f conftest.$ac_objext conftest$ac_exeext
75230if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75231  (eval $ac_link) 2>conftest.er1
75232  ac_status=$?
75233  grep -v '^ *+' conftest.er1 >conftest.err
75234  rm -f conftest.er1
75235  cat conftest.err >&5
75236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75237  (exit $ac_status); } &&
75238	 { ac_try='test -z "$ac_c_werror_flag"
75239			 || test ! -s conftest.err'
75240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75241  (eval $ac_try) 2>&5
75242  ac_status=$?
75243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75244  (exit $ac_status); }; } &&
75245	 { ac_try='test -s conftest$ac_exeext'
75246  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75247  (eval $ac_try) 2>&5
75248  ac_status=$?
75249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75250  (exit $ac_status); }; }; then
75251  eval "$as_ac_var=yes"
75252else
75253  echo "$as_me: failed program was:" >&5
75254sed 's/^/| /' conftest.$ac_ext >&5
75255
75256eval "$as_ac_var=no"
75257fi
75258rm -f conftest.err conftest.$ac_objext \
75259      conftest$ac_exeext conftest.$ac_ext
75260fi
75261echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75262echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75263if test `eval echo '${'$as_ac_var'}'` = yes; then
75264  cat >>confdefs.h <<_ACEOF
75265#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75266_ACEOF
75267
75268fi
75269done
75270
75271  fi
75272
75273
75274
75275
75276
75277  echo "$as_me:$LINENO: checking for strtof declaration" >&5
75278echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75279  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75280    if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75281  echo $ECHO_N "(cached) $ECHO_C" >&6
75282else
75283
75284
75285
75286      ac_ext=cc
75287ac_cpp='$CXXCPP $CPPFLAGS'
75288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75291
75292      cat >conftest.$ac_ext <<_ACEOF
75293/* confdefs.h.  */
75294_ACEOF
75295cat confdefs.h >>conftest.$ac_ext
75296cat >>conftest.$ac_ext <<_ACEOF
75297/* end confdefs.h.  */
75298#include <stdlib.h>
75299int
75300main ()
75301{
75302 strtof(0, 0);
75303  ;
75304  return 0;
75305}
75306_ACEOF
75307rm -f conftest.$ac_objext
75308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75309  (eval $ac_compile) 2>conftest.er1
75310  ac_status=$?
75311  grep -v '^ *+' conftest.er1 >conftest.err
75312  rm -f conftest.er1
75313  cat conftest.err >&5
75314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75315  (exit $ac_status); } &&
75316	 { ac_try='test -z "$ac_cxx_werror_flag"
75317			 || test ! -s conftest.err'
75318  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75319  (eval $ac_try) 2>&5
75320  ac_status=$?
75321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75322  (exit $ac_status); }; } &&
75323	 { ac_try='test -s conftest.$ac_objext'
75324  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75325  (eval $ac_try) 2>&5
75326  ac_status=$?
75327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75328  (exit $ac_status); }; }; then
75329  glibcxx_cv_func_strtof_use=yes
75330else
75331  echo "$as_me: failed program was:" >&5
75332sed 's/^/| /' conftest.$ac_ext >&5
75333
75334glibcxx_cv_func_strtof_use=no
75335fi
75336rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75337      ac_ext=c
75338ac_cpp='$CPP $CPPFLAGS'
75339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341ac_compiler_gnu=$ac_cv_c_compiler_gnu
75342
75343
75344fi
75345
75346  fi
75347  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75348echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75349  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75350
75351for ac_func in strtof
75352do
75353as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75354echo "$as_me:$LINENO: checking for $ac_func" >&5
75355echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75356if eval "test \"\${$as_ac_var+set}\" = set"; then
75357  echo $ECHO_N "(cached) $ECHO_C" >&6
75358else
75359  if test x$gcc_no_link = xyes; then
75360  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75361echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75362   { (exit 1); exit 1; }; }
75363fi
75364cat >conftest.$ac_ext <<_ACEOF
75365/* confdefs.h.  */
75366_ACEOF
75367cat confdefs.h >>conftest.$ac_ext
75368cat >>conftest.$ac_ext <<_ACEOF
75369/* end confdefs.h.  */
75370/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75371   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75372#define $ac_func innocuous_$ac_func
75373
75374/* System header to define __stub macros and hopefully few prototypes,
75375    which can conflict with char $ac_func (); below.
75376    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75377    <limits.h> exists even on freestanding compilers.  */
75378
75379#ifdef __STDC__
75380# include <limits.h>
75381#else
75382# include <assert.h>
75383#endif
75384
75385#undef $ac_func
75386
75387/* Override any gcc2 internal prototype to avoid an error.  */
75388#ifdef __cplusplus
75389extern "C"
75390{
75391#endif
75392/* We use char because int might match the return type of a gcc2
75393   builtin and then its argument prototype would still apply.  */
75394char $ac_func ();
75395/* The GNU C library defines this for functions which it implements
75396    to always fail with ENOSYS.  Some functions are actually named
75397    something starting with __ and the normal name is an alias.  */
75398#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75399choke me
75400#else
75401char (*f) () = $ac_func;
75402#endif
75403#ifdef __cplusplus
75404}
75405#endif
75406
75407int
75408main ()
75409{
75410return f != $ac_func;
75411  ;
75412  return 0;
75413}
75414_ACEOF
75415rm -f conftest.$ac_objext conftest$ac_exeext
75416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75417  (eval $ac_link) 2>conftest.er1
75418  ac_status=$?
75419  grep -v '^ *+' conftest.er1 >conftest.err
75420  rm -f conftest.er1
75421  cat conftest.err >&5
75422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75423  (exit $ac_status); } &&
75424	 { ac_try='test -z "$ac_c_werror_flag"
75425			 || test ! -s conftest.err'
75426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75427  (eval $ac_try) 2>&5
75428  ac_status=$?
75429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75430  (exit $ac_status); }; } &&
75431	 { ac_try='test -s conftest$ac_exeext'
75432  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75433  (eval $ac_try) 2>&5
75434  ac_status=$?
75435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75436  (exit $ac_status); }; }; then
75437  eval "$as_ac_var=yes"
75438else
75439  echo "$as_me: failed program was:" >&5
75440sed 's/^/| /' conftest.$ac_ext >&5
75441
75442eval "$as_ac_var=no"
75443fi
75444rm -f conftest.err conftest.$ac_objext \
75445      conftest$ac_exeext conftest.$ac_ext
75446fi
75447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75448echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75449if test `eval echo '${'$as_ac_var'}'` = yes; then
75450  cat >>confdefs.h <<_ACEOF
75451#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75452_ACEOF
75453
75454fi
75455done
75456
75457  fi
75458
75459
75460
75461
75462
75463  CXXFLAGS="$ac_save_CXXFLAGS"
75464
75465
75466  echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75467echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75468  if test "${glibcxx_cv_S_ISREG+set}" = set; then
75469  echo $ECHO_N "(cached) $ECHO_C" >&6
75470else
75471
75472    if test x$gcc_no_link = xyes; then
75473  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75474echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75475   { (exit 1); exit 1; }; }
75476fi
75477cat >conftest.$ac_ext <<_ACEOF
75478/* confdefs.h.  */
75479_ACEOF
75480cat confdefs.h >>conftest.$ac_ext
75481cat >>conftest.$ac_ext <<_ACEOF
75482/* end confdefs.h.  */
75483#include <sys/stat.h>
75484int
75485main ()
75486{
75487struct stat buffer;
75488       fstat(0, &buffer);
75489       S_ISREG(buffer.st_mode);
75490  ;
75491  return 0;
75492}
75493_ACEOF
75494rm -f conftest.$ac_objext conftest$ac_exeext
75495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75496  (eval $ac_link) 2>conftest.er1
75497  ac_status=$?
75498  grep -v '^ *+' conftest.er1 >conftest.err
75499  rm -f conftest.er1
75500  cat conftest.err >&5
75501  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75502  (exit $ac_status); } &&
75503	 { ac_try='test -z "$ac_c_werror_flag"
75504			 || test ! -s conftest.err'
75505  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75506  (eval $ac_try) 2>&5
75507  ac_status=$?
75508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75509  (exit $ac_status); }; } &&
75510	 { ac_try='test -s conftest$ac_exeext'
75511  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75512  (eval $ac_try) 2>&5
75513  ac_status=$?
75514  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75515  (exit $ac_status); }; }; then
75516  glibcxx_cv_S_ISREG=yes
75517else
75518  echo "$as_me: failed program was:" >&5
75519sed 's/^/| /' conftest.$ac_ext >&5
75520
75521glibcxx_cv_S_ISREG=no
75522fi
75523rm -f conftest.err conftest.$ac_objext \
75524      conftest$ac_exeext conftest.$ac_ext
75525
75526fi
75527
75528  if test "${glibcxx_cv_S_IFREG+set}" = set; then
75529  echo $ECHO_N "(cached) $ECHO_C" >&6
75530else
75531
75532    if test x$gcc_no_link = xyes; then
75533  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75534echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75535   { (exit 1); exit 1; }; }
75536fi
75537cat >conftest.$ac_ext <<_ACEOF
75538/* confdefs.h.  */
75539_ACEOF
75540cat confdefs.h >>conftest.$ac_ext
75541cat >>conftest.$ac_ext <<_ACEOF
75542/* end confdefs.h.  */
75543#include <sys/stat.h>
75544int
75545main ()
75546{
75547struct stat buffer;
75548       fstat(0, &buffer);
75549       S_IFREG & buffer.st_mode;
75550  ;
75551  return 0;
75552}
75553_ACEOF
75554rm -f conftest.$ac_objext conftest$ac_exeext
75555if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75556  (eval $ac_link) 2>conftest.er1
75557  ac_status=$?
75558  grep -v '^ *+' conftest.er1 >conftest.err
75559  rm -f conftest.er1
75560  cat conftest.err >&5
75561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75562  (exit $ac_status); } &&
75563	 { ac_try='test -z "$ac_c_werror_flag"
75564			 || test ! -s conftest.err'
75565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75566  (eval $ac_try) 2>&5
75567  ac_status=$?
75568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75569  (exit $ac_status); }; } &&
75570	 { ac_try='test -s conftest$ac_exeext'
75571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75572  (eval $ac_try) 2>&5
75573  ac_status=$?
75574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75575  (exit $ac_status); }; }; then
75576  glibcxx_cv_S_IFREG=yes
75577else
75578  echo "$as_me: failed program was:" >&5
75579sed 's/^/| /' conftest.$ac_ext >&5
75580
75581glibcxx_cv_S_IFREG=no
75582fi
75583rm -f conftest.err conftest.$ac_objext \
75584      conftest$ac_exeext conftest.$ac_ext
75585
75586fi
75587
75588  res=no
75589  if test $glibcxx_cv_S_ISREG = yes; then
75590
75591cat >>confdefs.h <<\_ACEOF
75592#define HAVE_S_ISREG 1
75593_ACEOF
75594
75595    res=S_ISREG
75596  elif test $glibcxx_cv_S_IFREG = yes; then
75597
75598cat >>confdefs.h <<\_ACEOF
75599#define HAVE_S_IFREG 1
75600_ACEOF
75601
75602    res=S_IFREG
75603  fi
75604  echo "$as_me:$LINENO: result: $res" >&5
75605echo "${ECHO_T}$res" >&6
75606
75607    cat >>confdefs.h <<\_ACEOF
75608#define HAVE_WRITEV 1
75609_ACEOF
75610
75611    ;;
75612
75613  *-freebsd*)
75614
75615
75616
75617
75618
75619
75620
75621
75622
75623
75624
75625
75626
75627
75628
75629
75630for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75631      machine/endian.h machine/param.h sys/machine.h sys/types.h \
75632      fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75633      sys/time.h unistd.h
75634do
75635as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75636if eval "test \"\${$as_ac_Header+set}\" = set"; then
75637  echo "$as_me:$LINENO: checking for $ac_header" >&5
75638echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75639if eval "test \"\${$as_ac_Header+set}\" = set"; then
75640  echo $ECHO_N "(cached) $ECHO_C" >&6
75641fi
75642echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75643echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75644else
75645  # Is the header compilable?
75646echo "$as_me:$LINENO: checking $ac_header usability" >&5
75647echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75648cat >conftest.$ac_ext <<_ACEOF
75649/* confdefs.h.  */
75650_ACEOF
75651cat confdefs.h >>conftest.$ac_ext
75652cat >>conftest.$ac_ext <<_ACEOF
75653/* end confdefs.h.  */
75654$ac_includes_default
75655#include <$ac_header>
75656_ACEOF
75657rm -f conftest.$ac_objext
75658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75659  (eval $ac_compile) 2>conftest.er1
75660  ac_status=$?
75661  grep -v '^ *+' conftest.er1 >conftest.err
75662  rm -f conftest.er1
75663  cat conftest.err >&5
75664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75665  (exit $ac_status); } &&
75666	 { ac_try='test -z "$ac_c_werror_flag"
75667			 || test ! -s conftest.err'
75668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75669  (eval $ac_try) 2>&5
75670  ac_status=$?
75671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75672  (exit $ac_status); }; } &&
75673	 { ac_try='test -s conftest.$ac_objext'
75674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75675  (eval $ac_try) 2>&5
75676  ac_status=$?
75677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75678  (exit $ac_status); }; }; then
75679  ac_header_compiler=yes
75680else
75681  echo "$as_me: failed program was:" >&5
75682sed 's/^/| /' conftest.$ac_ext >&5
75683
75684ac_header_compiler=no
75685fi
75686rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75687echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75688echo "${ECHO_T}$ac_header_compiler" >&6
75689
75690# Is the header present?
75691echo "$as_me:$LINENO: checking $ac_header presence" >&5
75692echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75693cat >conftest.$ac_ext <<_ACEOF
75694/* confdefs.h.  */
75695_ACEOF
75696cat confdefs.h >>conftest.$ac_ext
75697cat >>conftest.$ac_ext <<_ACEOF
75698/* end confdefs.h.  */
75699#include <$ac_header>
75700_ACEOF
75701if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75702  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75703  ac_status=$?
75704  grep -v '^ *+' conftest.er1 >conftest.err
75705  rm -f conftest.er1
75706  cat conftest.err >&5
75707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75708  (exit $ac_status); } >/dev/null; then
75709  if test -s conftest.err; then
75710    ac_cpp_err=$ac_c_preproc_warn_flag
75711    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75712  else
75713    ac_cpp_err=
75714  fi
75715else
75716  ac_cpp_err=yes
75717fi
75718if test -z "$ac_cpp_err"; then
75719  ac_header_preproc=yes
75720else
75721  echo "$as_me: failed program was:" >&5
75722sed 's/^/| /' conftest.$ac_ext >&5
75723
75724  ac_header_preproc=no
75725fi
75726rm -f conftest.err conftest.$ac_ext
75727echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75728echo "${ECHO_T}$ac_header_preproc" >&6
75729
75730# So?  What about this header?
75731case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75732  yes:no: )
75733    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75734echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75735    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75736echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75737    ac_header_preproc=yes
75738    ;;
75739  no:yes:* )
75740    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75741echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75742    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75743echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75744    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75745echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75746    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75747echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75748    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75749echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75750    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75751echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75752    (
75753      cat <<\_ASBOX
75754## ----------------------------------------- ##
75755## Report this to the package-unused lists.  ##
75756## ----------------------------------------- ##
75757_ASBOX
75758    ) |
75759      sed "s/^/$as_me: WARNING:     /" >&2
75760    ;;
75761esac
75762echo "$as_me:$LINENO: checking for $ac_header" >&5
75763echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75764if eval "test \"\${$as_ac_Header+set}\" = set"; then
75765  echo $ECHO_N "(cached) $ECHO_C" >&6
75766else
75767  eval "$as_ac_Header=\$ac_header_preproc"
75768fi
75769echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75770echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75771
75772fi
75773if test `eval echo '${'$as_ac_Header'}'` = yes; then
75774  cat >>confdefs.h <<_ACEOF
75775#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75776_ACEOF
75777
75778fi
75779
75780done
75781
75782    SECTION_FLAGS='-ffunction-sections -fdata-sections'
75783
75784
75785  # If we're not using GNU ld, then there's no point in even trying these
75786  # tests.  Check for that first.  We should have already tested for gld
75787  # by now (in libtool), but require it now just to be safe...
75788  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75789  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75790
75791
75792
75793  # The name set by libtool depends on the version of libtool.  Shame on us
75794  # for depending on an impl detail, but c'est la vie.  Older versions used
75795  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75796  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75797  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75798  # set (hence we're using an older libtool), then set it.
75799  if test x${with_gnu_ld+set} != xset; then
75800    if test x${ac_cv_prog_gnu_ld+set} != xset; then
75801      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75802      with_gnu_ld=no
75803    else
75804      with_gnu_ld=$ac_cv_prog_gnu_ld
75805    fi
75806  fi
75807
75808  # Start by getting the version number.  I think the libtool test already
75809  # does some of this, but throws away the result.
75810  if test x"$with_gnu_ld" = x"yes"; then
75811    echo "$as_me:$LINENO: checking for ld version" >&5
75812echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75813
75814    ldver=`$LD --version 2>/dev/null | head -1 | \
75815           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
75816
75817    glibcxx_gnu_ld_version=`echo $ldver | \
75818           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75819    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75820echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75821  fi
75822
75823  # Set --gc-sections.
75824  glibcxx_gcsections_min_ld=21602
75825  if test x"$with_gnu_ld" = x"yes" &&
75826	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75827
75828    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
75829    # NB: This flag only works reliably after 2.16.1. Configure tests
75830    # for this are difficult, so hard wire a value that should work.
75831
75832    ac_test_CFLAGS="${CFLAGS+set}"
75833    ac_save_CFLAGS="$CFLAGS"
75834    CFLAGS='-Wl,--gc-sections'
75835
75836    # Check for -Wl,--gc-sections
75837    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75838echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75839    if test x$gcc_no_link = xyes; then
75840  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75841echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75842   { (exit 1); exit 1; }; }
75843fi
75844cat >conftest.$ac_ext <<_ACEOF
75845/* confdefs.h.  */
75846_ACEOF
75847cat confdefs.h >>conftest.$ac_ext
75848cat >>conftest.$ac_ext <<_ACEOF
75849/* end confdefs.h.  */
75850 int one(void) { return 1; }
75851     int two(void) { return 2; }
75852
75853int
75854main ()
75855{
75856 two();
75857  ;
75858  return 0;
75859}
75860_ACEOF
75861rm -f conftest.$ac_objext conftest$ac_exeext
75862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75863  (eval $ac_link) 2>conftest.er1
75864  ac_status=$?
75865  grep -v '^ *+' conftest.er1 >conftest.err
75866  rm -f conftest.er1
75867  cat conftest.err >&5
75868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75869  (exit $ac_status); } &&
75870	 { ac_try='test -z "$ac_c_werror_flag"
75871			 || test ! -s conftest.err'
75872  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873  (eval $ac_try) 2>&5
75874  ac_status=$?
75875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876  (exit $ac_status); }; } &&
75877	 { ac_try='test -s conftest$ac_exeext'
75878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75879  (eval $ac_try) 2>&5
75880  ac_status=$?
75881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75882  (exit $ac_status); }; }; then
75883  ac_gcsections=yes
75884else
75885  echo "$as_me: failed program was:" >&5
75886sed 's/^/| /' conftest.$ac_ext >&5
75887
75888ac_gcsections=no
75889fi
75890rm -f conftest.err conftest.$ac_objext \
75891      conftest$ac_exeext conftest.$ac_ext
75892    if test "$ac_gcsections" = "yes"; then
75893      rm -f conftest.c
75894      touch conftest.c
75895      if $CC -c conftest.c; then
75896	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75897	   grep "Warning: gc-sections option ignored" > /dev/null; then
75898	  ac_gcsections=no
75899	fi
75900      fi
75901      rm -f conftest.c conftest.o conftest
75902    fi
75903    if test "$ac_gcsections" = "yes"; then
75904      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75905    fi
75906    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75907echo "${ECHO_T}$ac_gcsections" >&6
75908
75909    if test "$ac_test_CFLAGS" = set; then
75910      CFLAGS="$ac_save_CFLAGS"
75911    else
75912      # this is the suspicious part
75913      CFLAGS=''
75914    fi
75915  fi
75916
75917  # Set -z,relro.
75918  # Note this is only for shared objects.
75919  ac_ld_relro=no
75920  if test x"$with_gnu_ld" = x"yes"; then
75921    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75922echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75923    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75924    if test -n "$cxx_z_relo"; then
75925      OPT_LDFLAGS="-Wl,-z,relro"
75926      ac_ld_relro=yes
75927    fi
75928    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75929echo "${ECHO_T}$ac_ld_relro" >&6
75930  fi
75931
75932  # Set linker optimization flags.
75933  if test x"$with_gnu_ld" = x"yes"; then
75934    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75935  fi
75936
75937
75938
75939
75940
75941
75942echo "$as_me:$LINENO: checking for main in -lm" >&5
75943echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75944if test "${ac_cv_lib_m_main+set}" = set; then
75945  echo $ECHO_N "(cached) $ECHO_C" >&6
75946else
75947  ac_check_lib_save_LIBS=$LIBS
75948LIBS="-lm  $LIBS"
75949if test x$gcc_no_link = xyes; then
75950  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75951echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75952   { (exit 1); exit 1; }; }
75953fi
75954cat >conftest.$ac_ext <<_ACEOF
75955/* confdefs.h.  */
75956_ACEOF
75957cat confdefs.h >>conftest.$ac_ext
75958cat >>conftest.$ac_ext <<_ACEOF
75959/* end confdefs.h.  */
75960
75961
75962int
75963main ()
75964{
75965main ();
75966  ;
75967  return 0;
75968}
75969_ACEOF
75970rm -f conftest.$ac_objext conftest$ac_exeext
75971if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75972  (eval $ac_link) 2>conftest.er1
75973  ac_status=$?
75974  grep -v '^ *+' conftest.er1 >conftest.err
75975  rm -f conftest.er1
75976  cat conftest.err >&5
75977  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75978  (exit $ac_status); } &&
75979	 { ac_try='test -z "$ac_c_werror_flag"
75980			 || test ! -s conftest.err'
75981  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75982  (eval $ac_try) 2>&5
75983  ac_status=$?
75984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75985  (exit $ac_status); }; } &&
75986	 { ac_try='test -s conftest$ac_exeext'
75987  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75988  (eval $ac_try) 2>&5
75989  ac_status=$?
75990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
75991  (exit $ac_status); }; }; then
75992  ac_cv_lib_m_main=yes
75993else
75994  echo "$as_me: failed program was:" >&5
75995sed 's/^/| /' conftest.$ac_ext >&5
75996
75997ac_cv_lib_m_main=no
75998fi
75999rm -f conftest.err conftest.$ac_objext \
76000      conftest$ac_exeext conftest.$ac_ext
76001LIBS=$ac_check_lib_save_LIBS
76002fi
76003echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76004echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76005if test $ac_cv_lib_m_main = yes; then
76006  cat >>confdefs.h <<_ACEOF
76007#define HAVE_LIBM 1
76008_ACEOF
76009
76010  LIBS="-lm $LIBS"
76011
76012fi
76013
76014
76015for ac_func in copysignf
76016do
76017as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76018echo "$as_me:$LINENO: checking for $ac_func" >&5
76019echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76020if eval "test \"\${$as_ac_var+set}\" = set"; then
76021  echo $ECHO_N "(cached) $ECHO_C" >&6
76022else
76023  if test x$gcc_no_link = xyes; then
76024  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76025echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76026   { (exit 1); exit 1; }; }
76027fi
76028cat >conftest.$ac_ext <<_ACEOF
76029/* confdefs.h.  */
76030_ACEOF
76031cat confdefs.h >>conftest.$ac_ext
76032cat >>conftest.$ac_ext <<_ACEOF
76033/* end confdefs.h.  */
76034/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76035   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76036#define $ac_func innocuous_$ac_func
76037
76038/* System header to define __stub macros and hopefully few prototypes,
76039    which can conflict with char $ac_func (); below.
76040    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76041    <limits.h> exists even on freestanding compilers.  */
76042
76043#ifdef __STDC__
76044# include <limits.h>
76045#else
76046# include <assert.h>
76047#endif
76048
76049#undef $ac_func
76050
76051/* Override any gcc2 internal prototype to avoid an error.  */
76052#ifdef __cplusplus
76053extern "C"
76054{
76055#endif
76056/* We use char because int might match the return type of a gcc2
76057   builtin and then its argument prototype would still apply.  */
76058char $ac_func ();
76059/* The GNU C library defines this for functions which it implements
76060    to always fail with ENOSYS.  Some functions are actually named
76061    something starting with __ and the normal name is an alias.  */
76062#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76063choke me
76064#else
76065char (*f) () = $ac_func;
76066#endif
76067#ifdef __cplusplus
76068}
76069#endif
76070
76071int
76072main ()
76073{
76074return f != $ac_func;
76075  ;
76076  return 0;
76077}
76078_ACEOF
76079rm -f conftest.$ac_objext conftest$ac_exeext
76080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76081  (eval $ac_link) 2>conftest.er1
76082  ac_status=$?
76083  grep -v '^ *+' conftest.er1 >conftest.err
76084  rm -f conftest.er1
76085  cat conftest.err >&5
76086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76087  (exit $ac_status); } &&
76088	 { ac_try='test -z "$ac_c_werror_flag"
76089			 || test ! -s conftest.err'
76090  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76091  (eval $ac_try) 2>&5
76092  ac_status=$?
76093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76094  (exit $ac_status); }; } &&
76095	 { ac_try='test -s conftest$ac_exeext'
76096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76097  (eval $ac_try) 2>&5
76098  ac_status=$?
76099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76100  (exit $ac_status); }; }; then
76101  eval "$as_ac_var=yes"
76102else
76103  echo "$as_me: failed program was:" >&5
76104sed 's/^/| /' conftest.$ac_ext >&5
76105
76106eval "$as_ac_var=no"
76107fi
76108rm -f conftest.err conftest.$ac_objext \
76109      conftest$ac_exeext conftest.$ac_ext
76110fi
76111echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76112echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76113if test `eval echo '${'$as_ac_var'}'` = yes; then
76114  cat >>confdefs.h <<_ACEOF
76115#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76116_ACEOF
76117
76118else
76119  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76120fi
76121done
76122
76123
76124
76125for ac_func in __signbit
76126do
76127as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76128echo "$as_me:$LINENO: checking for $ac_func" >&5
76129echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76130if eval "test \"\${$as_ac_var+set}\" = set"; then
76131  echo $ECHO_N "(cached) $ECHO_C" >&6
76132else
76133  if test x$gcc_no_link = xyes; then
76134  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76135echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76136   { (exit 1); exit 1; }; }
76137fi
76138cat >conftest.$ac_ext <<_ACEOF
76139/* confdefs.h.  */
76140_ACEOF
76141cat confdefs.h >>conftest.$ac_ext
76142cat >>conftest.$ac_ext <<_ACEOF
76143/* end confdefs.h.  */
76144/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76145   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76146#define $ac_func innocuous_$ac_func
76147
76148/* System header to define __stub macros and hopefully few prototypes,
76149    which can conflict with char $ac_func (); below.
76150    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76151    <limits.h> exists even on freestanding compilers.  */
76152
76153#ifdef __STDC__
76154# include <limits.h>
76155#else
76156# include <assert.h>
76157#endif
76158
76159#undef $ac_func
76160
76161/* Override any gcc2 internal prototype to avoid an error.  */
76162#ifdef __cplusplus
76163extern "C"
76164{
76165#endif
76166/* We use char because int might match the return type of a gcc2
76167   builtin and then its argument prototype would still apply.  */
76168char $ac_func ();
76169/* The GNU C library defines this for functions which it implements
76170    to always fail with ENOSYS.  Some functions are actually named
76171    something starting with __ and the normal name is an alias.  */
76172#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76173choke me
76174#else
76175char (*f) () = $ac_func;
76176#endif
76177#ifdef __cplusplus
76178}
76179#endif
76180
76181int
76182main ()
76183{
76184return f != $ac_func;
76185  ;
76186  return 0;
76187}
76188_ACEOF
76189rm -f conftest.$ac_objext conftest$ac_exeext
76190if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76191  (eval $ac_link) 2>conftest.er1
76192  ac_status=$?
76193  grep -v '^ *+' conftest.er1 >conftest.err
76194  rm -f conftest.er1
76195  cat conftest.err >&5
76196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76197  (exit $ac_status); } &&
76198	 { ac_try='test -z "$ac_c_werror_flag"
76199			 || test ! -s conftest.err'
76200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76201  (eval $ac_try) 2>&5
76202  ac_status=$?
76203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76204  (exit $ac_status); }; } &&
76205	 { ac_try='test -s conftest$ac_exeext'
76206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76207  (eval $ac_try) 2>&5
76208  ac_status=$?
76209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76210  (exit $ac_status); }; }; then
76211  eval "$as_ac_var=yes"
76212else
76213  echo "$as_me: failed program was:" >&5
76214sed 's/^/| /' conftest.$ac_ext >&5
76215
76216eval "$as_ac_var=no"
76217fi
76218rm -f conftest.err conftest.$ac_objext \
76219      conftest$ac_exeext conftest.$ac_ext
76220fi
76221echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76222echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76223if test `eval echo '${'$as_ac_var'}'` = yes; then
76224  cat >>confdefs.h <<_ACEOF
76225#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76226_ACEOF
76227
76228else
76229  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76230fi
76231done
76232
76233
76234
76235for ac_func in __signbitf
76236do
76237as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76238echo "$as_me:$LINENO: checking for $ac_func" >&5
76239echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76240if eval "test \"\${$as_ac_var+set}\" = set"; then
76241  echo $ECHO_N "(cached) $ECHO_C" >&6
76242else
76243  if test x$gcc_no_link = xyes; then
76244  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76245echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76246   { (exit 1); exit 1; }; }
76247fi
76248cat >conftest.$ac_ext <<_ACEOF
76249/* confdefs.h.  */
76250_ACEOF
76251cat confdefs.h >>conftest.$ac_ext
76252cat >>conftest.$ac_ext <<_ACEOF
76253/* end confdefs.h.  */
76254/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76255   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76256#define $ac_func innocuous_$ac_func
76257
76258/* System header to define __stub macros and hopefully few prototypes,
76259    which can conflict with char $ac_func (); below.
76260    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76261    <limits.h> exists even on freestanding compilers.  */
76262
76263#ifdef __STDC__
76264# include <limits.h>
76265#else
76266# include <assert.h>
76267#endif
76268
76269#undef $ac_func
76270
76271/* Override any gcc2 internal prototype to avoid an error.  */
76272#ifdef __cplusplus
76273extern "C"
76274{
76275#endif
76276/* We use char because int might match the return type of a gcc2
76277   builtin and then its argument prototype would still apply.  */
76278char $ac_func ();
76279/* The GNU C library defines this for functions which it implements
76280    to always fail with ENOSYS.  Some functions are actually named
76281    something starting with __ and the normal name is an alias.  */
76282#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76283choke me
76284#else
76285char (*f) () = $ac_func;
76286#endif
76287#ifdef __cplusplus
76288}
76289#endif
76290
76291int
76292main ()
76293{
76294return f != $ac_func;
76295  ;
76296  return 0;
76297}
76298_ACEOF
76299rm -f conftest.$ac_objext conftest$ac_exeext
76300if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76301  (eval $ac_link) 2>conftest.er1
76302  ac_status=$?
76303  grep -v '^ *+' conftest.er1 >conftest.err
76304  rm -f conftest.er1
76305  cat conftest.err >&5
76306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76307  (exit $ac_status); } &&
76308	 { ac_try='test -z "$ac_c_werror_flag"
76309			 || test ! -s conftest.err'
76310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76311  (eval $ac_try) 2>&5
76312  ac_status=$?
76313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76314  (exit $ac_status); }; } &&
76315	 { ac_try='test -s conftest$ac_exeext'
76316  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76317  (eval $ac_try) 2>&5
76318  ac_status=$?
76319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76320  (exit $ac_status); }; }; then
76321  eval "$as_ac_var=yes"
76322else
76323  echo "$as_me: failed program was:" >&5
76324sed 's/^/| /' conftest.$ac_ext >&5
76325
76326eval "$as_ac_var=no"
76327fi
76328rm -f conftest.err conftest.$ac_objext \
76329      conftest$ac_exeext conftest.$ac_ext
76330fi
76331echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76332echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76333if test `eval echo '${'$as_ac_var'}'` = yes; then
76334  cat >>confdefs.h <<_ACEOF
76335#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76336_ACEOF
76337
76338else
76339  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76340fi
76341done
76342
76343
76344          if test x$ac_cv_func_copysignl = x"yes"; then
76345
76346for ac_func in __signbitl
76347do
76348as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76349echo "$as_me:$LINENO: checking for $ac_func" >&5
76350echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76351if eval "test \"\${$as_ac_var+set}\" = set"; then
76352  echo $ECHO_N "(cached) $ECHO_C" >&6
76353else
76354  if test x$gcc_no_link = xyes; then
76355  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76356echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76357   { (exit 1); exit 1; }; }
76358fi
76359cat >conftest.$ac_ext <<_ACEOF
76360/* confdefs.h.  */
76361_ACEOF
76362cat confdefs.h >>conftest.$ac_ext
76363cat >>conftest.$ac_ext <<_ACEOF
76364/* end confdefs.h.  */
76365/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76366   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76367#define $ac_func innocuous_$ac_func
76368
76369/* System header to define __stub macros and hopefully few prototypes,
76370    which can conflict with char $ac_func (); below.
76371    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76372    <limits.h> exists even on freestanding compilers.  */
76373
76374#ifdef __STDC__
76375# include <limits.h>
76376#else
76377# include <assert.h>
76378#endif
76379
76380#undef $ac_func
76381
76382/* Override any gcc2 internal prototype to avoid an error.  */
76383#ifdef __cplusplus
76384extern "C"
76385{
76386#endif
76387/* We use char because int might match the return type of a gcc2
76388   builtin and then its argument prototype would still apply.  */
76389char $ac_func ();
76390/* The GNU C library defines this for functions which it implements
76391    to always fail with ENOSYS.  Some functions are actually named
76392    something starting with __ and the normal name is an alias.  */
76393#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76394choke me
76395#else
76396char (*f) () = $ac_func;
76397#endif
76398#ifdef __cplusplus
76399}
76400#endif
76401
76402int
76403main ()
76404{
76405return f != $ac_func;
76406  ;
76407  return 0;
76408}
76409_ACEOF
76410rm -f conftest.$ac_objext conftest$ac_exeext
76411if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76412  (eval $ac_link) 2>conftest.er1
76413  ac_status=$?
76414  grep -v '^ *+' conftest.er1 >conftest.err
76415  rm -f conftest.er1
76416  cat conftest.err >&5
76417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76418  (exit $ac_status); } &&
76419	 { ac_try='test -z "$ac_c_werror_flag"
76420			 || test ! -s conftest.err'
76421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76422  (eval $ac_try) 2>&5
76423  ac_status=$?
76424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76425  (exit $ac_status); }; } &&
76426	 { ac_try='test -s conftest$ac_exeext'
76427  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76428  (eval $ac_try) 2>&5
76429  ac_status=$?
76430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76431  (exit $ac_status); }; }; then
76432  eval "$as_ac_var=yes"
76433else
76434  echo "$as_me: failed program was:" >&5
76435sed 's/^/| /' conftest.$ac_ext >&5
76436
76437eval "$as_ac_var=no"
76438fi
76439rm -f conftest.err conftest.$ac_objext \
76440      conftest$ac_exeext conftest.$ac_ext
76441fi
76442echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76443echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76444if test `eval echo '${'$as_ac_var'}'` = yes; then
76445  cat >>confdefs.h <<_ACEOF
76446#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76447_ACEOF
76448
76449else
76450  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76451fi
76452done
76453
76454  fi
76455
76456  # Used in libmath/Makefile.am.
76457  if test -n "$LIBMATHOBJS"; then
76458    need_libmath=yes
76459  fi
76460
76461
76462
76463
76464  enable_iconv=no
76465  # Only continue checking if the ISO C99 headers exist and support is on.
76466  if test x"$enable_wchar_t" = xyes; then
76467
76468    # Use iconv for wchar_t to char conversions. As such, check for
76469    # X/Open Portability Guide, version 2 features (XPG2).
76470    if test "${ac_cv_header_iconv_h+set}" = set; then
76471  echo "$as_me:$LINENO: checking for iconv.h" >&5
76472echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76473if test "${ac_cv_header_iconv_h+set}" = set; then
76474  echo $ECHO_N "(cached) $ECHO_C" >&6
76475fi
76476echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76477echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76478else
76479  # Is the header compilable?
76480echo "$as_me:$LINENO: checking iconv.h usability" >&5
76481echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76482cat >conftest.$ac_ext <<_ACEOF
76483/* confdefs.h.  */
76484_ACEOF
76485cat confdefs.h >>conftest.$ac_ext
76486cat >>conftest.$ac_ext <<_ACEOF
76487/* end confdefs.h.  */
76488$ac_includes_default
76489#include <iconv.h>
76490_ACEOF
76491rm -f conftest.$ac_objext
76492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76493  (eval $ac_compile) 2>conftest.er1
76494  ac_status=$?
76495  grep -v '^ *+' conftest.er1 >conftest.err
76496  rm -f conftest.er1
76497  cat conftest.err >&5
76498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76499  (exit $ac_status); } &&
76500	 { ac_try='test -z "$ac_c_werror_flag"
76501			 || test ! -s conftest.err'
76502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76503  (eval $ac_try) 2>&5
76504  ac_status=$?
76505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76506  (exit $ac_status); }; } &&
76507	 { ac_try='test -s conftest.$ac_objext'
76508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76509  (eval $ac_try) 2>&5
76510  ac_status=$?
76511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76512  (exit $ac_status); }; }; then
76513  ac_header_compiler=yes
76514else
76515  echo "$as_me: failed program was:" >&5
76516sed 's/^/| /' conftest.$ac_ext >&5
76517
76518ac_header_compiler=no
76519fi
76520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76521echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76522echo "${ECHO_T}$ac_header_compiler" >&6
76523
76524# Is the header present?
76525echo "$as_me:$LINENO: checking iconv.h presence" >&5
76526echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76527cat >conftest.$ac_ext <<_ACEOF
76528/* confdefs.h.  */
76529_ACEOF
76530cat confdefs.h >>conftest.$ac_ext
76531cat >>conftest.$ac_ext <<_ACEOF
76532/* end confdefs.h.  */
76533#include <iconv.h>
76534_ACEOF
76535if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76536  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76537  ac_status=$?
76538  grep -v '^ *+' conftest.er1 >conftest.err
76539  rm -f conftest.er1
76540  cat conftest.err >&5
76541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76542  (exit $ac_status); } >/dev/null; then
76543  if test -s conftest.err; then
76544    ac_cpp_err=$ac_c_preproc_warn_flag
76545    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76546  else
76547    ac_cpp_err=
76548  fi
76549else
76550  ac_cpp_err=yes
76551fi
76552if test -z "$ac_cpp_err"; then
76553  ac_header_preproc=yes
76554else
76555  echo "$as_me: failed program was:" >&5
76556sed 's/^/| /' conftest.$ac_ext >&5
76557
76558  ac_header_preproc=no
76559fi
76560rm -f conftest.err conftest.$ac_ext
76561echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76562echo "${ECHO_T}$ac_header_preproc" >&6
76563
76564# So?  What about this header?
76565case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76566  yes:no: )
76567    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76568echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76569    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76570echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76571    ac_header_preproc=yes
76572    ;;
76573  no:yes:* )
76574    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76575echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76576    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76577echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76578    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76579echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76580    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76581echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76582    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76583echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76584    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76585echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76586    (
76587      cat <<\_ASBOX
76588## ----------------------------------------- ##
76589## Report this to the package-unused lists.  ##
76590## ----------------------------------------- ##
76591_ASBOX
76592    ) |
76593      sed "s/^/$as_me: WARNING:     /" >&2
76594    ;;
76595esac
76596echo "$as_me:$LINENO: checking for iconv.h" >&5
76597echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76598if test "${ac_cv_header_iconv_h+set}" = set; then
76599  echo $ECHO_N "(cached) $ECHO_C" >&6
76600else
76601  ac_cv_header_iconv_h=$ac_header_preproc
76602fi
76603echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76604echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76605
76606fi
76607if test $ac_cv_header_iconv_h = yes; then
76608  ac_has_iconv_h=yes
76609else
76610  ac_has_iconv_h=no
76611fi
76612
76613
76614    if test "${ac_cv_header_langinfo_h+set}" = set; then
76615  echo "$as_me:$LINENO: checking for langinfo.h" >&5
76616echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76617if test "${ac_cv_header_langinfo_h+set}" = set; then
76618  echo $ECHO_N "(cached) $ECHO_C" >&6
76619fi
76620echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76621echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76622else
76623  # Is the header compilable?
76624echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76625echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76626cat >conftest.$ac_ext <<_ACEOF
76627/* confdefs.h.  */
76628_ACEOF
76629cat confdefs.h >>conftest.$ac_ext
76630cat >>conftest.$ac_ext <<_ACEOF
76631/* end confdefs.h.  */
76632$ac_includes_default
76633#include <langinfo.h>
76634_ACEOF
76635rm -f conftest.$ac_objext
76636if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76637  (eval $ac_compile) 2>conftest.er1
76638  ac_status=$?
76639  grep -v '^ *+' conftest.er1 >conftest.err
76640  rm -f conftest.er1
76641  cat conftest.err >&5
76642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76643  (exit $ac_status); } &&
76644	 { ac_try='test -z "$ac_c_werror_flag"
76645			 || test ! -s conftest.err'
76646  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76647  (eval $ac_try) 2>&5
76648  ac_status=$?
76649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76650  (exit $ac_status); }; } &&
76651	 { ac_try='test -s conftest.$ac_objext'
76652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76653  (eval $ac_try) 2>&5
76654  ac_status=$?
76655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76656  (exit $ac_status); }; }; then
76657  ac_header_compiler=yes
76658else
76659  echo "$as_me: failed program was:" >&5
76660sed 's/^/| /' conftest.$ac_ext >&5
76661
76662ac_header_compiler=no
76663fi
76664rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76665echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76666echo "${ECHO_T}$ac_header_compiler" >&6
76667
76668# Is the header present?
76669echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76670echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76671cat >conftest.$ac_ext <<_ACEOF
76672/* confdefs.h.  */
76673_ACEOF
76674cat confdefs.h >>conftest.$ac_ext
76675cat >>conftest.$ac_ext <<_ACEOF
76676/* end confdefs.h.  */
76677#include <langinfo.h>
76678_ACEOF
76679if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76680  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76681  ac_status=$?
76682  grep -v '^ *+' conftest.er1 >conftest.err
76683  rm -f conftest.er1
76684  cat conftest.err >&5
76685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76686  (exit $ac_status); } >/dev/null; then
76687  if test -s conftest.err; then
76688    ac_cpp_err=$ac_c_preproc_warn_flag
76689    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76690  else
76691    ac_cpp_err=
76692  fi
76693else
76694  ac_cpp_err=yes
76695fi
76696if test -z "$ac_cpp_err"; then
76697  ac_header_preproc=yes
76698else
76699  echo "$as_me: failed program was:" >&5
76700sed 's/^/| /' conftest.$ac_ext >&5
76701
76702  ac_header_preproc=no
76703fi
76704rm -f conftest.err conftest.$ac_ext
76705echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76706echo "${ECHO_T}$ac_header_preproc" >&6
76707
76708# So?  What about this header?
76709case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76710  yes:no: )
76711    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76712echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76713    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76714echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76715    ac_header_preproc=yes
76716    ;;
76717  no:yes:* )
76718    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76719echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76720    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76721echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76722    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76723echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76724    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76725echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76726    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76727echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76728    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76729echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76730    (
76731      cat <<\_ASBOX
76732## ----------------------------------------- ##
76733## Report this to the package-unused lists.  ##
76734## ----------------------------------------- ##
76735_ASBOX
76736    ) |
76737      sed "s/^/$as_me: WARNING:     /" >&2
76738    ;;
76739esac
76740echo "$as_me:$LINENO: checking for langinfo.h" >&5
76741echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76742if test "${ac_cv_header_langinfo_h+set}" = set; then
76743  echo $ECHO_N "(cached) $ECHO_C" >&6
76744else
76745  ac_cv_header_langinfo_h=$ac_header_preproc
76746fi
76747echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76748echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76749
76750fi
76751if test $ac_cv_header_langinfo_h = yes; then
76752  ac_has_langinfo_h=yes
76753else
76754  ac_has_langinfo_h=no
76755fi
76756
76757
76758
76759    # Check for existence of libiconv.a providing XPG2 wchar_t support.
76760    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76761echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76762if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76763  echo $ECHO_N "(cached) $ECHO_C" >&6
76764else
76765  ac_check_lib_save_LIBS=$LIBS
76766LIBS="-liconv  $LIBS"
76767if test x$gcc_no_link = xyes; then
76768  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76769echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76770   { (exit 1); exit 1; }; }
76771fi
76772cat >conftest.$ac_ext <<_ACEOF
76773/* confdefs.h.  */
76774_ACEOF
76775cat confdefs.h >>conftest.$ac_ext
76776cat >>conftest.$ac_ext <<_ACEOF
76777/* end confdefs.h.  */
76778
76779/* Override any gcc2 internal prototype to avoid an error.  */
76780#ifdef __cplusplus
76781extern "C"
76782#endif
76783/* We use char because int might match the return type of a gcc2
76784   builtin and then its argument prototype would still apply.  */
76785char iconv ();
76786int
76787main ()
76788{
76789iconv ();
76790  ;
76791  return 0;
76792}
76793_ACEOF
76794rm -f conftest.$ac_objext conftest$ac_exeext
76795if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76796  (eval $ac_link) 2>conftest.er1
76797  ac_status=$?
76798  grep -v '^ *+' conftest.er1 >conftest.err
76799  rm -f conftest.er1
76800  cat conftest.err >&5
76801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76802  (exit $ac_status); } &&
76803	 { ac_try='test -z "$ac_c_werror_flag"
76804			 || test ! -s conftest.err'
76805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76806  (eval $ac_try) 2>&5
76807  ac_status=$?
76808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76809  (exit $ac_status); }; } &&
76810	 { ac_try='test -s conftest$ac_exeext'
76811  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76812  (eval $ac_try) 2>&5
76813  ac_status=$?
76814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815  (exit $ac_status); }; }; then
76816  ac_cv_lib_iconv_iconv=yes
76817else
76818  echo "$as_me: failed program was:" >&5
76819sed 's/^/| /' conftest.$ac_ext >&5
76820
76821ac_cv_lib_iconv_iconv=no
76822fi
76823rm -f conftest.err conftest.$ac_objext \
76824      conftest$ac_exeext conftest.$ac_ext
76825LIBS=$ac_check_lib_save_LIBS
76826fi
76827echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76828echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76829if test $ac_cv_lib_iconv_iconv = yes; then
76830  LIBICONV="-liconv"
76831fi
76832
76833    ac_save_LIBS="$LIBS"
76834    LIBS="$LIBS $LIBICONV"
76835
76836
76837
76838
76839
76840
76841for ac_func in iconv_open iconv_close iconv nl_langinfo
76842do
76843as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76844echo "$as_me:$LINENO: checking for $ac_func" >&5
76845echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76846if eval "test \"\${$as_ac_var+set}\" = set"; then
76847  echo $ECHO_N "(cached) $ECHO_C" >&6
76848else
76849  if test x$gcc_no_link = xyes; then
76850  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76851echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76852   { (exit 1); exit 1; }; }
76853fi
76854cat >conftest.$ac_ext <<_ACEOF
76855/* confdefs.h.  */
76856_ACEOF
76857cat confdefs.h >>conftest.$ac_ext
76858cat >>conftest.$ac_ext <<_ACEOF
76859/* end confdefs.h.  */
76860/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76861   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76862#define $ac_func innocuous_$ac_func
76863
76864/* System header to define __stub macros and hopefully few prototypes,
76865    which can conflict with char $ac_func (); below.
76866    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76867    <limits.h> exists even on freestanding compilers.  */
76868
76869#ifdef __STDC__
76870# include <limits.h>
76871#else
76872# include <assert.h>
76873#endif
76874
76875#undef $ac_func
76876
76877/* Override any gcc2 internal prototype to avoid an error.  */
76878#ifdef __cplusplus
76879extern "C"
76880{
76881#endif
76882/* We use char because int might match the return type of a gcc2
76883   builtin and then its argument prototype would still apply.  */
76884char $ac_func ();
76885/* The GNU C library defines this for functions which it implements
76886    to always fail with ENOSYS.  Some functions are actually named
76887    something starting with __ and the normal name is an alias.  */
76888#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76889choke me
76890#else
76891char (*f) () = $ac_func;
76892#endif
76893#ifdef __cplusplus
76894}
76895#endif
76896
76897int
76898main ()
76899{
76900return f != $ac_func;
76901  ;
76902  return 0;
76903}
76904_ACEOF
76905rm -f conftest.$ac_objext conftest$ac_exeext
76906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76907  (eval $ac_link) 2>conftest.er1
76908  ac_status=$?
76909  grep -v '^ *+' conftest.er1 >conftest.err
76910  rm -f conftest.er1
76911  cat conftest.err >&5
76912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76913  (exit $ac_status); } &&
76914	 { ac_try='test -z "$ac_c_werror_flag"
76915			 || test ! -s conftest.err'
76916  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76917  (eval $ac_try) 2>&5
76918  ac_status=$?
76919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76920  (exit $ac_status); }; } &&
76921	 { ac_try='test -s conftest$ac_exeext'
76922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76923  (eval $ac_try) 2>&5
76924  ac_status=$?
76925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76926  (exit $ac_status); }; }; then
76927  eval "$as_ac_var=yes"
76928else
76929  echo "$as_me: failed program was:" >&5
76930sed 's/^/| /' conftest.$ac_ext >&5
76931
76932eval "$as_ac_var=no"
76933fi
76934rm -f conftest.err conftest.$ac_objext \
76935      conftest$ac_exeext conftest.$ac_ext
76936fi
76937echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76938echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76939if test `eval echo '${'$as_ac_var'}'` = yes; then
76940  cat >>confdefs.h <<_ACEOF
76941#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76942_ACEOF
76943 ac_XPG2funcs=yes
76944else
76945  ac_XPG2funcs=no
76946fi
76947done
76948
76949
76950    LIBS="$ac_save_LIBS"
76951
76952    if test x"$ac_has_iconv_h" = xyes &&
76953       test x"$ac_has_langinfo_h" = xyes &&
76954       test x"$ac_XPG2funcs" = xyes;
76955    then
76956
76957cat >>confdefs.h <<\_ACEOF
76958#define _GLIBCXX_USE_ICONV 1
76959_ACEOF
76960
76961      enable_iconv=yes
76962    fi
76963  fi
76964  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76965echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76966  echo "$as_me:$LINENO: result: $enable_iconv" >&5
76967echo "${ECHO_T}$enable_iconv" >&6
76968
76969    cat >>confdefs.h <<\_ACEOF
76970#define HAVE_LC_MESSAGES 1
76971_ACEOF
76972
76973    cat >>confdefs.h <<\_ACEOF
76974#define HAVE_GETPAGESIZE 1
76975_ACEOF
76976
76977    cat >>confdefs.h <<\_ACEOF
76978#define HAVE_SETENV 1
76979_ACEOF
76980
76981    cat >>confdefs.h <<\_ACEOF
76982#define HAVE_SIGSETJMP 1
76983_ACEOF
76984
76985    cat >>confdefs.h <<\_ACEOF
76986#define HAVE_COPYSIGN 1
76987_ACEOF
76988
76989    cat >>confdefs.h <<\_ACEOF
76990#define HAVE_COPYSIGNF 1
76991_ACEOF
76992
76993    cat >>confdefs.h <<\_ACEOF
76994#define HAVE_FINITEF 1
76995_ACEOF
76996
76997    cat >>confdefs.h <<\_ACEOF
76998#define HAVE_FINITE 1
76999_ACEOF
77000
77001    cat >>confdefs.h <<\_ACEOF
77002#define HAVE_FREXPF 1
77003_ACEOF
77004
77005    cat >>confdefs.h <<\_ACEOF
77006#define HAVE_HYPOT 1
77007_ACEOF
77008
77009    cat >>confdefs.h <<\_ACEOF
77010#define HAVE_HYPOTF 1
77011_ACEOF
77012
77013    cat >>confdefs.h <<\_ACEOF
77014#define HAVE_ISINF 1
77015_ACEOF
77016
77017    cat >>confdefs.h <<\_ACEOF
77018#define HAVE_ISNAN 1
77019_ACEOF
77020
77021    cat >>confdefs.h <<\_ACEOF
77022#define HAVE_ISNANF 1
77023_ACEOF
77024
77025
77026    cat >>confdefs.h <<\_ACEOF
77027#define HAVE_MMAP 1
77028_ACEOF
77029
77030    cat >>confdefs.h <<\_ACEOF
77031#define HAVE_ACOSF 1
77032_ACEOF
77033
77034    cat >>confdefs.h <<\_ACEOF
77035#define HAVE_ASINF 1
77036_ACEOF
77037
77038    cat >>confdefs.h <<\_ACEOF
77039#define HAVE_ATAN2F 1
77040_ACEOF
77041
77042    cat >>confdefs.h <<\_ACEOF
77043#define HAVE_ATANF 1
77044_ACEOF
77045
77046    cat >>confdefs.h <<\_ACEOF
77047#define HAVE_CEILF 1
77048_ACEOF
77049
77050    cat >>confdefs.h <<\_ACEOF
77051#define HAVE_COPYSIGN 1
77052_ACEOF
77053
77054    cat >>confdefs.h <<\_ACEOF
77055#define HAVE_COPYSIGNF 1
77056_ACEOF
77057
77058    cat >>confdefs.h <<\_ACEOF
77059#define HAVE_COSF 1
77060_ACEOF
77061
77062    cat >>confdefs.h <<\_ACEOF
77063#define HAVE_COSHF 1
77064_ACEOF
77065
77066    cat >>confdefs.h <<\_ACEOF
77067#define HAVE_EXPF 1
77068_ACEOF
77069
77070    cat >>confdefs.h <<\_ACEOF
77071#define HAVE_FABSF 1
77072_ACEOF
77073
77074    cat >>confdefs.h <<\_ACEOF
77075#define HAVE_FLOORF 1
77076_ACEOF
77077
77078    cat >>confdefs.h <<\_ACEOF
77079#define HAVE_FMODF 1
77080_ACEOF
77081
77082    cat >>confdefs.h <<\_ACEOF
77083#define HAVE_FREXPF 1
77084_ACEOF
77085
77086    cat >>confdefs.h <<\_ACEOF
77087#define HAVE_LDEXPF 1
77088_ACEOF
77089
77090    cat >>confdefs.h <<\_ACEOF
77091#define HAVE_LOG10F 1
77092_ACEOF
77093
77094    cat >>confdefs.h <<\_ACEOF
77095#define HAVE_LOGF 1
77096_ACEOF
77097
77098    cat >>confdefs.h <<\_ACEOF
77099#define HAVE_MODFF 1
77100_ACEOF
77101
77102    cat >>confdefs.h <<\_ACEOF
77103#define HAVE_POWF 1
77104_ACEOF
77105
77106    cat >>confdefs.h <<\_ACEOF
77107#define HAVE_SINF 1
77108_ACEOF
77109
77110    cat >>confdefs.h <<\_ACEOF
77111#define HAVE_SINHF 1
77112_ACEOF
77113
77114    cat >>confdefs.h <<\_ACEOF
77115#define HAVE_SQRTF 1
77116_ACEOF
77117
77118    cat >>confdefs.h <<\_ACEOF
77119#define HAVE_TANF 1
77120_ACEOF
77121
77122    cat >>confdefs.h <<\_ACEOF
77123#define HAVE_TANHF 1
77124_ACEOF
77125
77126    if test x"long_double_math_on_this_cpu" = x"yes"; then
77127      cat >>confdefs.h <<\_ACEOF
77128#define HAVE_FINITEL 1
77129_ACEOF
77130
77131      cat >>confdefs.h <<\_ACEOF
77132#define HAVE_ISINFL 1
77133_ACEOF
77134
77135      cat >>confdefs.h <<\_ACEOF
77136#define HAVE_ISNANL 1
77137_ACEOF
77138
77139    fi
77140    ;;
77141  *-hpux*)
77142
77143
77144
77145
77146
77147
77148
77149
77150
77151
77152
77153
77154for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77155      machine/endian.h machine/param.h sys/machine.h sys/types.h \
77156      fp.h locale.h float.h inttypes.h
77157do
77158as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77159if eval "test \"\${$as_ac_Header+set}\" = set"; then
77160  echo "$as_me:$LINENO: checking for $ac_header" >&5
77161echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77162if eval "test \"\${$as_ac_Header+set}\" = set"; then
77163  echo $ECHO_N "(cached) $ECHO_C" >&6
77164fi
77165echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77166echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77167else
77168  # Is the header compilable?
77169echo "$as_me:$LINENO: checking $ac_header usability" >&5
77170echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77171cat >conftest.$ac_ext <<_ACEOF
77172/* confdefs.h.  */
77173_ACEOF
77174cat confdefs.h >>conftest.$ac_ext
77175cat >>conftest.$ac_ext <<_ACEOF
77176/* end confdefs.h.  */
77177$ac_includes_default
77178#include <$ac_header>
77179_ACEOF
77180rm -f conftest.$ac_objext
77181if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77182  (eval $ac_compile) 2>conftest.er1
77183  ac_status=$?
77184  grep -v '^ *+' conftest.er1 >conftest.err
77185  rm -f conftest.er1
77186  cat conftest.err >&5
77187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77188  (exit $ac_status); } &&
77189	 { ac_try='test -z "$ac_c_werror_flag"
77190			 || test ! -s conftest.err'
77191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77192  (eval $ac_try) 2>&5
77193  ac_status=$?
77194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77195  (exit $ac_status); }; } &&
77196	 { ac_try='test -s conftest.$ac_objext'
77197  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77198  (eval $ac_try) 2>&5
77199  ac_status=$?
77200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77201  (exit $ac_status); }; }; then
77202  ac_header_compiler=yes
77203else
77204  echo "$as_me: failed program was:" >&5
77205sed 's/^/| /' conftest.$ac_ext >&5
77206
77207ac_header_compiler=no
77208fi
77209rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77210echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77211echo "${ECHO_T}$ac_header_compiler" >&6
77212
77213# Is the header present?
77214echo "$as_me:$LINENO: checking $ac_header presence" >&5
77215echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77216cat >conftest.$ac_ext <<_ACEOF
77217/* confdefs.h.  */
77218_ACEOF
77219cat confdefs.h >>conftest.$ac_ext
77220cat >>conftest.$ac_ext <<_ACEOF
77221/* end confdefs.h.  */
77222#include <$ac_header>
77223_ACEOF
77224if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77225  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77226  ac_status=$?
77227  grep -v '^ *+' conftest.er1 >conftest.err
77228  rm -f conftest.er1
77229  cat conftest.err >&5
77230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231  (exit $ac_status); } >/dev/null; then
77232  if test -s conftest.err; then
77233    ac_cpp_err=$ac_c_preproc_warn_flag
77234    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77235  else
77236    ac_cpp_err=
77237  fi
77238else
77239  ac_cpp_err=yes
77240fi
77241if test -z "$ac_cpp_err"; then
77242  ac_header_preproc=yes
77243else
77244  echo "$as_me: failed program was:" >&5
77245sed 's/^/| /' conftest.$ac_ext >&5
77246
77247  ac_header_preproc=no
77248fi
77249rm -f conftest.err conftest.$ac_ext
77250echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77251echo "${ECHO_T}$ac_header_preproc" >&6
77252
77253# So?  What about this header?
77254case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77255  yes:no: )
77256    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77257echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77258    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77259echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77260    ac_header_preproc=yes
77261    ;;
77262  no:yes:* )
77263    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77264echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77265    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77266echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77267    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77268echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77269    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77270echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77271    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77272echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77273    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77274echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77275    (
77276      cat <<\_ASBOX
77277## ----------------------------------------- ##
77278## Report this to the package-unused lists.  ##
77279## ----------------------------------------- ##
77280_ASBOX
77281    ) |
77282      sed "s/^/$as_me: WARNING:     /" >&2
77283    ;;
77284esac
77285echo "$as_me:$LINENO: checking for $ac_header" >&5
77286echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77287if eval "test \"\${$as_ac_Header+set}\" = set"; then
77288  echo $ECHO_N "(cached) $ECHO_C" >&6
77289else
77290  eval "$as_ac_Header=\$ac_header_preproc"
77291fi
77292echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77293echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77294
77295fi
77296if test `eval echo '${'$as_ac_Header'}'` = yes; then
77297  cat >>confdefs.h <<_ACEOF
77298#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77299_ACEOF
77300
77301fi
77302
77303done
77304
77305    SECTION_FLAGS='-ffunction-sections -fdata-sections'
77306
77307
77308  # If we're not using GNU ld, then there's no point in even trying these
77309  # tests.  Check for that first.  We should have already tested for gld
77310  # by now (in libtool), but require it now just to be safe...
77311  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77312  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77313
77314
77315
77316  # The name set by libtool depends on the version of libtool.  Shame on us
77317  # for depending on an impl detail, but c'est la vie.  Older versions used
77318  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77319  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77320  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77321  # set (hence we're using an older libtool), then set it.
77322  if test x${with_gnu_ld+set} != xset; then
77323    if test x${ac_cv_prog_gnu_ld+set} != xset; then
77324      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77325      with_gnu_ld=no
77326    else
77327      with_gnu_ld=$ac_cv_prog_gnu_ld
77328    fi
77329  fi
77330
77331  # Start by getting the version number.  I think the libtool test already
77332  # does some of this, but throws away the result.
77333  if test x"$with_gnu_ld" = x"yes"; then
77334    echo "$as_me:$LINENO: checking for ld version" >&5
77335echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77336
77337    ldver=`$LD --version 2>/dev/null | head -1 | \
77338           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
77339
77340    glibcxx_gnu_ld_version=`echo $ldver | \
77341           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77342    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77343echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77344  fi
77345
77346  # Set --gc-sections.
77347  glibcxx_gcsections_min_ld=21602
77348  if test x"$with_gnu_ld" = x"yes" &&
77349	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77350
77351    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
77352    # NB: This flag only works reliably after 2.16.1. Configure tests
77353    # for this are difficult, so hard wire a value that should work.
77354
77355    ac_test_CFLAGS="${CFLAGS+set}"
77356    ac_save_CFLAGS="$CFLAGS"
77357    CFLAGS='-Wl,--gc-sections'
77358
77359    # Check for -Wl,--gc-sections
77360    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77361echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77362    if test x$gcc_no_link = xyes; then
77363  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77364echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77365   { (exit 1); exit 1; }; }
77366fi
77367cat >conftest.$ac_ext <<_ACEOF
77368/* confdefs.h.  */
77369_ACEOF
77370cat confdefs.h >>conftest.$ac_ext
77371cat >>conftest.$ac_ext <<_ACEOF
77372/* end confdefs.h.  */
77373 int one(void) { return 1; }
77374     int two(void) { return 2; }
77375
77376int
77377main ()
77378{
77379 two();
77380  ;
77381  return 0;
77382}
77383_ACEOF
77384rm -f conftest.$ac_objext conftest$ac_exeext
77385if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77386  (eval $ac_link) 2>conftest.er1
77387  ac_status=$?
77388  grep -v '^ *+' conftest.er1 >conftest.err
77389  rm -f conftest.er1
77390  cat conftest.err >&5
77391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77392  (exit $ac_status); } &&
77393	 { ac_try='test -z "$ac_c_werror_flag"
77394			 || test ! -s conftest.err'
77395  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77396  (eval $ac_try) 2>&5
77397  ac_status=$?
77398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77399  (exit $ac_status); }; } &&
77400	 { ac_try='test -s conftest$ac_exeext'
77401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77402  (eval $ac_try) 2>&5
77403  ac_status=$?
77404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77405  (exit $ac_status); }; }; then
77406  ac_gcsections=yes
77407else
77408  echo "$as_me: failed program was:" >&5
77409sed 's/^/| /' conftest.$ac_ext >&5
77410
77411ac_gcsections=no
77412fi
77413rm -f conftest.err conftest.$ac_objext \
77414      conftest$ac_exeext conftest.$ac_ext
77415    if test "$ac_gcsections" = "yes"; then
77416      rm -f conftest.c
77417      touch conftest.c
77418      if $CC -c conftest.c; then
77419	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77420	   grep "Warning: gc-sections option ignored" > /dev/null; then
77421	  ac_gcsections=no
77422	fi
77423      fi
77424      rm -f conftest.c conftest.o conftest
77425    fi
77426    if test "$ac_gcsections" = "yes"; then
77427      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77428    fi
77429    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77430echo "${ECHO_T}$ac_gcsections" >&6
77431
77432    if test "$ac_test_CFLAGS" = set; then
77433      CFLAGS="$ac_save_CFLAGS"
77434    else
77435      # this is the suspicious part
77436      CFLAGS=''
77437    fi
77438  fi
77439
77440  # Set -z,relro.
77441  # Note this is only for shared objects.
77442  ac_ld_relro=no
77443  if test x"$with_gnu_ld" = x"yes"; then
77444    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77445echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77446    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77447    if test -n "$cxx_z_relo"; then
77448      OPT_LDFLAGS="-Wl,-z,relro"
77449      ac_ld_relro=yes
77450    fi
77451    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77452echo "${ECHO_T}$ac_ld_relro" >&6
77453  fi
77454
77455  # Set linker optimization flags.
77456  if test x"$with_gnu_ld" = x"yes"; then
77457    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77458  fi
77459
77460
77461
77462
77463
77464
77465echo "$as_me:$LINENO: checking for main in -lm" >&5
77466echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77467if test "${ac_cv_lib_m_main+set}" = set; then
77468  echo $ECHO_N "(cached) $ECHO_C" >&6
77469else
77470  ac_check_lib_save_LIBS=$LIBS
77471LIBS="-lm  $LIBS"
77472if test x$gcc_no_link = xyes; then
77473  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77474echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77475   { (exit 1); exit 1; }; }
77476fi
77477cat >conftest.$ac_ext <<_ACEOF
77478/* confdefs.h.  */
77479_ACEOF
77480cat confdefs.h >>conftest.$ac_ext
77481cat >>conftest.$ac_ext <<_ACEOF
77482/* end confdefs.h.  */
77483
77484
77485int
77486main ()
77487{
77488main ();
77489  ;
77490  return 0;
77491}
77492_ACEOF
77493rm -f conftest.$ac_objext conftest$ac_exeext
77494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77495  (eval $ac_link) 2>conftest.er1
77496  ac_status=$?
77497  grep -v '^ *+' conftest.er1 >conftest.err
77498  rm -f conftest.er1
77499  cat conftest.err >&5
77500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77501  (exit $ac_status); } &&
77502	 { ac_try='test -z "$ac_c_werror_flag"
77503			 || test ! -s conftest.err'
77504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77505  (eval $ac_try) 2>&5
77506  ac_status=$?
77507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77508  (exit $ac_status); }; } &&
77509	 { ac_try='test -s conftest$ac_exeext'
77510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77511  (eval $ac_try) 2>&5
77512  ac_status=$?
77513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77514  (exit $ac_status); }; }; then
77515  ac_cv_lib_m_main=yes
77516else
77517  echo "$as_me: failed program was:" >&5
77518sed 's/^/| /' conftest.$ac_ext >&5
77519
77520ac_cv_lib_m_main=no
77521fi
77522rm -f conftest.err conftest.$ac_objext \
77523      conftest$ac_exeext conftest.$ac_ext
77524LIBS=$ac_check_lib_save_LIBS
77525fi
77526echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77527echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77528if test $ac_cv_lib_m_main = yes; then
77529  cat >>confdefs.h <<_ACEOF
77530#define HAVE_LIBM 1
77531_ACEOF
77532
77533  LIBS="-lm $LIBS"
77534
77535fi
77536
77537
77538for ac_func in copysignf
77539do
77540as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77541echo "$as_me:$LINENO: checking for $ac_func" >&5
77542echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77543if eval "test \"\${$as_ac_var+set}\" = set"; then
77544  echo $ECHO_N "(cached) $ECHO_C" >&6
77545else
77546  if test x$gcc_no_link = xyes; then
77547  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77548echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77549   { (exit 1); exit 1; }; }
77550fi
77551cat >conftest.$ac_ext <<_ACEOF
77552/* confdefs.h.  */
77553_ACEOF
77554cat confdefs.h >>conftest.$ac_ext
77555cat >>conftest.$ac_ext <<_ACEOF
77556/* end confdefs.h.  */
77557/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77558   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77559#define $ac_func innocuous_$ac_func
77560
77561/* System header to define __stub macros and hopefully few prototypes,
77562    which can conflict with char $ac_func (); below.
77563    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77564    <limits.h> exists even on freestanding compilers.  */
77565
77566#ifdef __STDC__
77567# include <limits.h>
77568#else
77569# include <assert.h>
77570#endif
77571
77572#undef $ac_func
77573
77574/* Override any gcc2 internal prototype to avoid an error.  */
77575#ifdef __cplusplus
77576extern "C"
77577{
77578#endif
77579/* We use char because int might match the return type of a gcc2
77580   builtin and then its argument prototype would still apply.  */
77581char $ac_func ();
77582/* The GNU C library defines this for functions which it implements
77583    to always fail with ENOSYS.  Some functions are actually named
77584    something starting with __ and the normal name is an alias.  */
77585#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77586choke me
77587#else
77588char (*f) () = $ac_func;
77589#endif
77590#ifdef __cplusplus
77591}
77592#endif
77593
77594int
77595main ()
77596{
77597return f != $ac_func;
77598  ;
77599  return 0;
77600}
77601_ACEOF
77602rm -f conftest.$ac_objext conftest$ac_exeext
77603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77604  (eval $ac_link) 2>conftest.er1
77605  ac_status=$?
77606  grep -v '^ *+' conftest.er1 >conftest.err
77607  rm -f conftest.er1
77608  cat conftest.err >&5
77609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77610  (exit $ac_status); } &&
77611	 { ac_try='test -z "$ac_c_werror_flag"
77612			 || test ! -s conftest.err'
77613  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77614  (eval $ac_try) 2>&5
77615  ac_status=$?
77616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77617  (exit $ac_status); }; } &&
77618	 { ac_try='test -s conftest$ac_exeext'
77619  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77620  (eval $ac_try) 2>&5
77621  ac_status=$?
77622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77623  (exit $ac_status); }; }; then
77624  eval "$as_ac_var=yes"
77625else
77626  echo "$as_me: failed program was:" >&5
77627sed 's/^/| /' conftest.$ac_ext >&5
77628
77629eval "$as_ac_var=no"
77630fi
77631rm -f conftest.err conftest.$ac_objext \
77632      conftest$ac_exeext conftest.$ac_ext
77633fi
77634echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77635echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77636if test `eval echo '${'$as_ac_var'}'` = yes; then
77637  cat >>confdefs.h <<_ACEOF
77638#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77639_ACEOF
77640
77641else
77642  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77643fi
77644done
77645
77646
77647
77648for ac_func in __signbit
77649do
77650as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77651echo "$as_me:$LINENO: checking for $ac_func" >&5
77652echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77653if eval "test \"\${$as_ac_var+set}\" = set"; then
77654  echo $ECHO_N "(cached) $ECHO_C" >&6
77655else
77656  if test x$gcc_no_link = xyes; then
77657  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77658echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77659   { (exit 1); exit 1; }; }
77660fi
77661cat >conftest.$ac_ext <<_ACEOF
77662/* confdefs.h.  */
77663_ACEOF
77664cat confdefs.h >>conftest.$ac_ext
77665cat >>conftest.$ac_ext <<_ACEOF
77666/* end confdefs.h.  */
77667/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77668   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77669#define $ac_func innocuous_$ac_func
77670
77671/* System header to define __stub macros and hopefully few prototypes,
77672    which can conflict with char $ac_func (); below.
77673    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77674    <limits.h> exists even on freestanding compilers.  */
77675
77676#ifdef __STDC__
77677# include <limits.h>
77678#else
77679# include <assert.h>
77680#endif
77681
77682#undef $ac_func
77683
77684/* Override any gcc2 internal prototype to avoid an error.  */
77685#ifdef __cplusplus
77686extern "C"
77687{
77688#endif
77689/* We use char because int might match the return type of a gcc2
77690   builtin and then its argument prototype would still apply.  */
77691char $ac_func ();
77692/* The GNU C library defines this for functions which it implements
77693    to always fail with ENOSYS.  Some functions are actually named
77694    something starting with __ and the normal name is an alias.  */
77695#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77696choke me
77697#else
77698char (*f) () = $ac_func;
77699#endif
77700#ifdef __cplusplus
77701}
77702#endif
77703
77704int
77705main ()
77706{
77707return f != $ac_func;
77708  ;
77709  return 0;
77710}
77711_ACEOF
77712rm -f conftest.$ac_objext conftest$ac_exeext
77713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77714  (eval $ac_link) 2>conftest.er1
77715  ac_status=$?
77716  grep -v '^ *+' conftest.er1 >conftest.err
77717  rm -f conftest.er1
77718  cat conftest.err >&5
77719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77720  (exit $ac_status); } &&
77721	 { ac_try='test -z "$ac_c_werror_flag"
77722			 || test ! -s conftest.err'
77723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77724  (eval $ac_try) 2>&5
77725  ac_status=$?
77726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77727  (exit $ac_status); }; } &&
77728	 { ac_try='test -s conftest$ac_exeext'
77729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77730  (eval $ac_try) 2>&5
77731  ac_status=$?
77732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77733  (exit $ac_status); }; }; then
77734  eval "$as_ac_var=yes"
77735else
77736  echo "$as_me: failed program was:" >&5
77737sed 's/^/| /' conftest.$ac_ext >&5
77738
77739eval "$as_ac_var=no"
77740fi
77741rm -f conftest.err conftest.$ac_objext \
77742      conftest$ac_exeext conftest.$ac_ext
77743fi
77744echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77745echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77746if test `eval echo '${'$as_ac_var'}'` = yes; then
77747  cat >>confdefs.h <<_ACEOF
77748#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77749_ACEOF
77750
77751else
77752  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77753fi
77754done
77755
77756
77757
77758for ac_func in __signbitf
77759do
77760as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77761echo "$as_me:$LINENO: checking for $ac_func" >&5
77762echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77763if eval "test \"\${$as_ac_var+set}\" = set"; then
77764  echo $ECHO_N "(cached) $ECHO_C" >&6
77765else
77766  if test x$gcc_no_link = xyes; then
77767  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77768echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77769   { (exit 1); exit 1; }; }
77770fi
77771cat >conftest.$ac_ext <<_ACEOF
77772/* confdefs.h.  */
77773_ACEOF
77774cat confdefs.h >>conftest.$ac_ext
77775cat >>conftest.$ac_ext <<_ACEOF
77776/* end confdefs.h.  */
77777/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77778   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77779#define $ac_func innocuous_$ac_func
77780
77781/* System header to define __stub macros and hopefully few prototypes,
77782    which can conflict with char $ac_func (); below.
77783    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77784    <limits.h> exists even on freestanding compilers.  */
77785
77786#ifdef __STDC__
77787# include <limits.h>
77788#else
77789# include <assert.h>
77790#endif
77791
77792#undef $ac_func
77793
77794/* Override any gcc2 internal prototype to avoid an error.  */
77795#ifdef __cplusplus
77796extern "C"
77797{
77798#endif
77799/* We use char because int might match the return type of a gcc2
77800   builtin and then its argument prototype would still apply.  */
77801char $ac_func ();
77802/* The GNU C library defines this for functions which it implements
77803    to always fail with ENOSYS.  Some functions are actually named
77804    something starting with __ and the normal name is an alias.  */
77805#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77806choke me
77807#else
77808char (*f) () = $ac_func;
77809#endif
77810#ifdef __cplusplus
77811}
77812#endif
77813
77814int
77815main ()
77816{
77817return f != $ac_func;
77818  ;
77819  return 0;
77820}
77821_ACEOF
77822rm -f conftest.$ac_objext conftest$ac_exeext
77823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77824  (eval $ac_link) 2>conftest.er1
77825  ac_status=$?
77826  grep -v '^ *+' conftest.er1 >conftest.err
77827  rm -f conftest.er1
77828  cat conftest.err >&5
77829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830  (exit $ac_status); } &&
77831	 { ac_try='test -z "$ac_c_werror_flag"
77832			 || test ! -s conftest.err'
77833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77834  (eval $ac_try) 2>&5
77835  ac_status=$?
77836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77837  (exit $ac_status); }; } &&
77838	 { ac_try='test -s conftest$ac_exeext'
77839  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77840  (eval $ac_try) 2>&5
77841  ac_status=$?
77842  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77843  (exit $ac_status); }; }; then
77844  eval "$as_ac_var=yes"
77845else
77846  echo "$as_me: failed program was:" >&5
77847sed 's/^/| /' conftest.$ac_ext >&5
77848
77849eval "$as_ac_var=no"
77850fi
77851rm -f conftest.err conftest.$ac_objext \
77852      conftest$ac_exeext conftest.$ac_ext
77853fi
77854echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77855echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77856if test `eval echo '${'$as_ac_var'}'` = yes; then
77857  cat >>confdefs.h <<_ACEOF
77858#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77859_ACEOF
77860
77861else
77862  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77863fi
77864done
77865
77866
77867          if test x$ac_cv_func_copysignl = x"yes"; then
77868
77869for ac_func in __signbitl
77870do
77871as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77872echo "$as_me:$LINENO: checking for $ac_func" >&5
77873echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77874if eval "test \"\${$as_ac_var+set}\" = set"; then
77875  echo $ECHO_N "(cached) $ECHO_C" >&6
77876else
77877  if test x$gcc_no_link = xyes; then
77878  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77879echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77880   { (exit 1); exit 1; }; }
77881fi
77882cat >conftest.$ac_ext <<_ACEOF
77883/* confdefs.h.  */
77884_ACEOF
77885cat confdefs.h >>conftest.$ac_ext
77886cat >>conftest.$ac_ext <<_ACEOF
77887/* end confdefs.h.  */
77888/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77889   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77890#define $ac_func innocuous_$ac_func
77891
77892/* System header to define __stub macros and hopefully few prototypes,
77893    which can conflict with char $ac_func (); below.
77894    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77895    <limits.h> exists even on freestanding compilers.  */
77896
77897#ifdef __STDC__
77898# include <limits.h>
77899#else
77900# include <assert.h>
77901#endif
77902
77903#undef $ac_func
77904
77905/* Override any gcc2 internal prototype to avoid an error.  */
77906#ifdef __cplusplus
77907extern "C"
77908{
77909#endif
77910/* We use char because int might match the return type of a gcc2
77911   builtin and then its argument prototype would still apply.  */
77912char $ac_func ();
77913/* The GNU C library defines this for functions which it implements
77914    to always fail with ENOSYS.  Some functions are actually named
77915    something starting with __ and the normal name is an alias.  */
77916#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77917choke me
77918#else
77919char (*f) () = $ac_func;
77920#endif
77921#ifdef __cplusplus
77922}
77923#endif
77924
77925int
77926main ()
77927{
77928return f != $ac_func;
77929  ;
77930  return 0;
77931}
77932_ACEOF
77933rm -f conftest.$ac_objext conftest$ac_exeext
77934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77935  (eval $ac_link) 2>conftest.er1
77936  ac_status=$?
77937  grep -v '^ *+' conftest.er1 >conftest.err
77938  rm -f conftest.er1
77939  cat conftest.err >&5
77940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77941  (exit $ac_status); } &&
77942	 { ac_try='test -z "$ac_c_werror_flag"
77943			 || test ! -s conftest.err'
77944  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77945  (eval $ac_try) 2>&5
77946  ac_status=$?
77947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948  (exit $ac_status); }; } &&
77949	 { ac_try='test -s conftest$ac_exeext'
77950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77951  (eval $ac_try) 2>&5
77952  ac_status=$?
77953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77954  (exit $ac_status); }; }; then
77955  eval "$as_ac_var=yes"
77956else
77957  echo "$as_me: failed program was:" >&5
77958sed 's/^/| /' conftest.$ac_ext >&5
77959
77960eval "$as_ac_var=no"
77961fi
77962rm -f conftest.err conftest.$ac_objext \
77963      conftest$ac_exeext conftest.$ac_ext
77964fi
77965echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77966echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77967if test `eval echo '${'$as_ac_var'}'` = yes; then
77968  cat >>confdefs.h <<_ACEOF
77969#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77970_ACEOF
77971
77972else
77973  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77974fi
77975done
77976
77977  fi
77978
77979  # Used in libmath/Makefile.am.
77980  if test -n "$LIBMATHOBJS"; then
77981    need_libmath=yes
77982  fi
77983
77984
77985
77986
77987  enable_iconv=no
77988  # Only continue checking if the ISO C99 headers exist and support is on.
77989  if test x"$enable_wchar_t" = xyes; then
77990
77991    # Use iconv for wchar_t to char conversions. As such, check for
77992    # X/Open Portability Guide, version 2 features (XPG2).
77993    if test "${ac_cv_header_iconv_h+set}" = set; then
77994  echo "$as_me:$LINENO: checking for iconv.h" >&5
77995echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77996if test "${ac_cv_header_iconv_h+set}" = set; then
77997  echo $ECHO_N "(cached) $ECHO_C" >&6
77998fi
77999echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78000echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78001else
78002  # Is the header compilable?
78003echo "$as_me:$LINENO: checking iconv.h usability" >&5
78004echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78005cat >conftest.$ac_ext <<_ACEOF
78006/* confdefs.h.  */
78007_ACEOF
78008cat confdefs.h >>conftest.$ac_ext
78009cat >>conftest.$ac_ext <<_ACEOF
78010/* end confdefs.h.  */
78011$ac_includes_default
78012#include <iconv.h>
78013_ACEOF
78014rm -f conftest.$ac_objext
78015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78016  (eval $ac_compile) 2>conftest.er1
78017  ac_status=$?
78018  grep -v '^ *+' conftest.er1 >conftest.err
78019  rm -f conftest.er1
78020  cat conftest.err >&5
78021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78022  (exit $ac_status); } &&
78023	 { ac_try='test -z "$ac_c_werror_flag"
78024			 || test ! -s conftest.err'
78025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78026  (eval $ac_try) 2>&5
78027  ac_status=$?
78028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78029  (exit $ac_status); }; } &&
78030	 { ac_try='test -s conftest.$ac_objext'
78031  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78032  (eval $ac_try) 2>&5
78033  ac_status=$?
78034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78035  (exit $ac_status); }; }; then
78036  ac_header_compiler=yes
78037else
78038  echo "$as_me: failed program was:" >&5
78039sed 's/^/| /' conftest.$ac_ext >&5
78040
78041ac_header_compiler=no
78042fi
78043rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78044echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78045echo "${ECHO_T}$ac_header_compiler" >&6
78046
78047# Is the header present?
78048echo "$as_me:$LINENO: checking iconv.h presence" >&5
78049echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78050cat >conftest.$ac_ext <<_ACEOF
78051/* confdefs.h.  */
78052_ACEOF
78053cat confdefs.h >>conftest.$ac_ext
78054cat >>conftest.$ac_ext <<_ACEOF
78055/* end confdefs.h.  */
78056#include <iconv.h>
78057_ACEOF
78058if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78059  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78060  ac_status=$?
78061  grep -v '^ *+' conftest.er1 >conftest.err
78062  rm -f conftest.er1
78063  cat conftest.err >&5
78064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78065  (exit $ac_status); } >/dev/null; then
78066  if test -s conftest.err; then
78067    ac_cpp_err=$ac_c_preproc_warn_flag
78068    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78069  else
78070    ac_cpp_err=
78071  fi
78072else
78073  ac_cpp_err=yes
78074fi
78075if test -z "$ac_cpp_err"; then
78076  ac_header_preproc=yes
78077else
78078  echo "$as_me: failed program was:" >&5
78079sed 's/^/| /' conftest.$ac_ext >&5
78080
78081  ac_header_preproc=no
78082fi
78083rm -f conftest.err conftest.$ac_ext
78084echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78085echo "${ECHO_T}$ac_header_preproc" >&6
78086
78087# So?  What about this header?
78088case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78089  yes:no: )
78090    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78091echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78092    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78093echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78094    ac_header_preproc=yes
78095    ;;
78096  no:yes:* )
78097    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78098echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78099    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
78100echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
78101    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78102echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78103    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
78104echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78105    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78106echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78107    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78108echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78109    (
78110      cat <<\_ASBOX
78111## ----------------------------------------- ##
78112## Report this to the package-unused lists.  ##
78113## ----------------------------------------- ##
78114_ASBOX
78115    ) |
78116      sed "s/^/$as_me: WARNING:     /" >&2
78117    ;;
78118esac
78119echo "$as_me:$LINENO: checking for iconv.h" >&5
78120echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78121if test "${ac_cv_header_iconv_h+set}" = set; then
78122  echo $ECHO_N "(cached) $ECHO_C" >&6
78123else
78124  ac_cv_header_iconv_h=$ac_header_preproc
78125fi
78126echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78127echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78128
78129fi
78130if test $ac_cv_header_iconv_h = yes; then
78131  ac_has_iconv_h=yes
78132else
78133  ac_has_iconv_h=no
78134fi
78135
78136
78137    if test "${ac_cv_header_langinfo_h+set}" = set; then
78138  echo "$as_me:$LINENO: checking for langinfo.h" >&5
78139echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78140if test "${ac_cv_header_langinfo_h+set}" = set; then
78141  echo $ECHO_N "(cached) $ECHO_C" >&6
78142fi
78143echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78144echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78145else
78146  # Is the header compilable?
78147echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78148echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78149cat >conftest.$ac_ext <<_ACEOF
78150/* confdefs.h.  */
78151_ACEOF
78152cat confdefs.h >>conftest.$ac_ext
78153cat >>conftest.$ac_ext <<_ACEOF
78154/* end confdefs.h.  */
78155$ac_includes_default
78156#include <langinfo.h>
78157_ACEOF
78158rm -f conftest.$ac_objext
78159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78160  (eval $ac_compile) 2>conftest.er1
78161  ac_status=$?
78162  grep -v '^ *+' conftest.er1 >conftest.err
78163  rm -f conftest.er1
78164  cat conftest.err >&5
78165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78166  (exit $ac_status); } &&
78167	 { ac_try='test -z "$ac_c_werror_flag"
78168			 || test ! -s conftest.err'
78169  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78170  (eval $ac_try) 2>&5
78171  ac_status=$?
78172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78173  (exit $ac_status); }; } &&
78174	 { ac_try='test -s conftest.$ac_objext'
78175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78176  (eval $ac_try) 2>&5
78177  ac_status=$?
78178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78179  (exit $ac_status); }; }; then
78180  ac_header_compiler=yes
78181else
78182  echo "$as_me: failed program was:" >&5
78183sed 's/^/| /' conftest.$ac_ext >&5
78184
78185ac_header_compiler=no
78186fi
78187rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78188echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78189echo "${ECHO_T}$ac_header_compiler" >&6
78190
78191# Is the header present?
78192echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78193echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78194cat >conftest.$ac_ext <<_ACEOF
78195/* confdefs.h.  */
78196_ACEOF
78197cat confdefs.h >>conftest.$ac_ext
78198cat >>conftest.$ac_ext <<_ACEOF
78199/* end confdefs.h.  */
78200#include <langinfo.h>
78201_ACEOF
78202if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78203  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78204  ac_status=$?
78205  grep -v '^ *+' conftest.er1 >conftest.err
78206  rm -f conftest.er1
78207  cat conftest.err >&5
78208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78209  (exit $ac_status); } >/dev/null; then
78210  if test -s conftest.err; then
78211    ac_cpp_err=$ac_c_preproc_warn_flag
78212    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78213  else
78214    ac_cpp_err=
78215  fi
78216else
78217  ac_cpp_err=yes
78218fi
78219if test -z "$ac_cpp_err"; then
78220  ac_header_preproc=yes
78221else
78222  echo "$as_me: failed program was:" >&5
78223sed 's/^/| /' conftest.$ac_ext >&5
78224
78225  ac_header_preproc=no
78226fi
78227rm -f conftest.err conftest.$ac_ext
78228echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78229echo "${ECHO_T}$ac_header_preproc" >&6
78230
78231# So?  What about this header?
78232case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78233  yes:no: )
78234    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78235echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78236    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78237echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78238    ac_header_preproc=yes
78239    ;;
78240  no:yes:* )
78241    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78242echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78243    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
78244echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
78245    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78246echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78247    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
78248echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78249    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78250echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78251    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78252echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78253    (
78254      cat <<\_ASBOX
78255## ----------------------------------------- ##
78256## Report this to the package-unused lists.  ##
78257## ----------------------------------------- ##
78258_ASBOX
78259    ) |
78260      sed "s/^/$as_me: WARNING:     /" >&2
78261    ;;
78262esac
78263echo "$as_me:$LINENO: checking for langinfo.h" >&5
78264echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78265if test "${ac_cv_header_langinfo_h+set}" = set; then
78266  echo $ECHO_N "(cached) $ECHO_C" >&6
78267else
78268  ac_cv_header_langinfo_h=$ac_header_preproc
78269fi
78270echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78271echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78272
78273fi
78274if test $ac_cv_header_langinfo_h = yes; then
78275  ac_has_langinfo_h=yes
78276else
78277  ac_has_langinfo_h=no
78278fi
78279
78280
78281
78282    # Check for existence of libiconv.a providing XPG2 wchar_t support.
78283    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78284echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78285if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78286  echo $ECHO_N "(cached) $ECHO_C" >&6
78287else
78288  ac_check_lib_save_LIBS=$LIBS
78289LIBS="-liconv  $LIBS"
78290if test x$gcc_no_link = xyes; then
78291  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78292echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78293   { (exit 1); exit 1; }; }
78294fi
78295cat >conftest.$ac_ext <<_ACEOF
78296/* confdefs.h.  */
78297_ACEOF
78298cat confdefs.h >>conftest.$ac_ext
78299cat >>conftest.$ac_ext <<_ACEOF
78300/* end confdefs.h.  */
78301
78302/* Override any gcc2 internal prototype to avoid an error.  */
78303#ifdef __cplusplus
78304extern "C"
78305#endif
78306/* We use char because int might match the return type of a gcc2
78307   builtin and then its argument prototype would still apply.  */
78308char iconv ();
78309int
78310main ()
78311{
78312iconv ();
78313  ;
78314  return 0;
78315}
78316_ACEOF
78317rm -f conftest.$ac_objext conftest$ac_exeext
78318if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78319  (eval $ac_link) 2>conftest.er1
78320  ac_status=$?
78321  grep -v '^ *+' conftest.er1 >conftest.err
78322  rm -f conftest.er1
78323  cat conftest.err >&5
78324  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78325  (exit $ac_status); } &&
78326	 { ac_try='test -z "$ac_c_werror_flag"
78327			 || test ! -s conftest.err'
78328  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78329  (eval $ac_try) 2>&5
78330  ac_status=$?
78331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78332  (exit $ac_status); }; } &&
78333	 { ac_try='test -s conftest$ac_exeext'
78334  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78335  (eval $ac_try) 2>&5
78336  ac_status=$?
78337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78338  (exit $ac_status); }; }; then
78339  ac_cv_lib_iconv_iconv=yes
78340else
78341  echo "$as_me: failed program was:" >&5
78342sed 's/^/| /' conftest.$ac_ext >&5
78343
78344ac_cv_lib_iconv_iconv=no
78345fi
78346rm -f conftest.err conftest.$ac_objext \
78347      conftest$ac_exeext conftest.$ac_ext
78348LIBS=$ac_check_lib_save_LIBS
78349fi
78350echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78351echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78352if test $ac_cv_lib_iconv_iconv = yes; then
78353  LIBICONV="-liconv"
78354fi
78355
78356    ac_save_LIBS="$LIBS"
78357    LIBS="$LIBS $LIBICONV"
78358
78359
78360
78361
78362
78363
78364for ac_func in iconv_open iconv_close iconv nl_langinfo
78365do
78366as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78367echo "$as_me:$LINENO: checking for $ac_func" >&5
78368echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78369if eval "test \"\${$as_ac_var+set}\" = set"; then
78370  echo $ECHO_N "(cached) $ECHO_C" >&6
78371else
78372  if test x$gcc_no_link = xyes; then
78373  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78374echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78375   { (exit 1); exit 1; }; }
78376fi
78377cat >conftest.$ac_ext <<_ACEOF
78378/* confdefs.h.  */
78379_ACEOF
78380cat confdefs.h >>conftest.$ac_ext
78381cat >>conftest.$ac_ext <<_ACEOF
78382/* end confdefs.h.  */
78383/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78384   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78385#define $ac_func innocuous_$ac_func
78386
78387/* System header to define __stub macros and hopefully few prototypes,
78388    which can conflict with char $ac_func (); below.
78389    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78390    <limits.h> exists even on freestanding compilers.  */
78391
78392#ifdef __STDC__
78393# include <limits.h>
78394#else
78395# include <assert.h>
78396#endif
78397
78398#undef $ac_func
78399
78400/* Override any gcc2 internal prototype to avoid an error.  */
78401#ifdef __cplusplus
78402extern "C"
78403{
78404#endif
78405/* We use char because int might match the return type of a gcc2
78406   builtin and then its argument prototype would still apply.  */
78407char $ac_func ();
78408/* The GNU C library defines this for functions which it implements
78409    to always fail with ENOSYS.  Some functions are actually named
78410    something starting with __ and the normal name is an alias.  */
78411#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78412choke me
78413#else
78414char (*f) () = $ac_func;
78415#endif
78416#ifdef __cplusplus
78417}
78418#endif
78419
78420int
78421main ()
78422{
78423return f != $ac_func;
78424  ;
78425  return 0;
78426}
78427_ACEOF
78428rm -f conftest.$ac_objext conftest$ac_exeext
78429if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78430  (eval $ac_link) 2>conftest.er1
78431  ac_status=$?
78432  grep -v '^ *+' conftest.er1 >conftest.err
78433  rm -f conftest.er1
78434  cat conftest.err >&5
78435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78436  (exit $ac_status); } &&
78437	 { ac_try='test -z "$ac_c_werror_flag"
78438			 || test ! -s conftest.err'
78439  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78440  (eval $ac_try) 2>&5
78441  ac_status=$?
78442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78443  (exit $ac_status); }; } &&
78444	 { ac_try='test -s conftest$ac_exeext'
78445  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78446  (eval $ac_try) 2>&5
78447  ac_status=$?
78448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449  (exit $ac_status); }; }; then
78450  eval "$as_ac_var=yes"
78451else
78452  echo "$as_me: failed program was:" >&5
78453sed 's/^/| /' conftest.$ac_ext >&5
78454
78455eval "$as_ac_var=no"
78456fi
78457rm -f conftest.err conftest.$ac_objext \
78458      conftest$ac_exeext conftest.$ac_ext
78459fi
78460echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78461echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78462if test `eval echo '${'$as_ac_var'}'` = yes; then
78463  cat >>confdefs.h <<_ACEOF
78464#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78465_ACEOF
78466 ac_XPG2funcs=yes
78467else
78468  ac_XPG2funcs=no
78469fi
78470done
78471
78472
78473    LIBS="$ac_save_LIBS"
78474
78475    if test x"$ac_has_iconv_h" = xyes &&
78476       test x"$ac_has_langinfo_h" = xyes &&
78477       test x"$ac_XPG2funcs" = xyes;
78478    then
78479
78480cat >>confdefs.h <<\_ACEOF
78481#define _GLIBCXX_USE_ICONV 1
78482_ACEOF
78483
78484      enable_iconv=yes
78485    fi
78486  fi
78487  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78488echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78489  echo "$as_me:$LINENO: result: $enable_iconv" >&5
78490echo "${ECHO_T}$enable_iconv" >&6
78491
78492    cat >>confdefs.h <<\_ACEOF
78493#define HAVE_COPYSIGN 1
78494_ACEOF
78495
78496    cat >>confdefs.h <<\_ACEOF
78497#define HAVE_COPYSIGNF 1
78498_ACEOF
78499
78500    cat >>confdefs.h <<\_ACEOF
78501#define HAVE_FREXPF 1
78502_ACEOF
78503
78504    cat >>confdefs.h <<\_ACEOF
78505#define HAVE_HYPOT 1
78506_ACEOF
78507
78508    case "$target" in
78509      *-hpux10*)
78510	cat >>confdefs.h <<\_ACEOF
78511#define HAVE_FINITE 1
78512_ACEOF
78513
78514	cat >>confdefs.h <<\_ACEOF
78515#define HAVE_FINITEF 1
78516_ACEOF
78517
78518	cat >>confdefs.h <<\_ACEOF
78519#define HAVE_ISINF 1
78520_ACEOF
78521
78522	cat >>confdefs.h <<\_ACEOF
78523#define HAVE_ISINFF 1
78524_ACEOF
78525
78526	cat >>confdefs.h <<\_ACEOF
78527#define HAVE_ISNAN 1
78528_ACEOF
78529
78530	cat >>confdefs.h <<\_ACEOF
78531#define HAVE_ISNANF 1
78532_ACEOF
78533
78534	;;
78535    esac
78536    ;;
78537  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78538
78539
78540
78541
78542
78543
78544
78545
78546
78547
78548
78549
78550
78551
78552
78553for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78554      machine/endian.h machine/param.h sys/machine.h sys/types.h \
78555      fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78556do
78557as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78558if eval "test \"\${$as_ac_Header+set}\" = set"; then
78559  echo "$as_me:$LINENO: checking for $ac_header" >&5
78560echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78561if eval "test \"\${$as_ac_Header+set}\" = set"; then
78562  echo $ECHO_N "(cached) $ECHO_C" >&6
78563fi
78564echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78565echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78566else
78567  # Is the header compilable?
78568echo "$as_me:$LINENO: checking $ac_header usability" >&5
78569echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78570cat >conftest.$ac_ext <<_ACEOF
78571/* confdefs.h.  */
78572_ACEOF
78573cat confdefs.h >>conftest.$ac_ext
78574cat >>conftest.$ac_ext <<_ACEOF
78575/* end confdefs.h.  */
78576$ac_includes_default
78577#include <$ac_header>
78578_ACEOF
78579rm -f conftest.$ac_objext
78580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78581  (eval $ac_compile) 2>conftest.er1
78582  ac_status=$?
78583  grep -v '^ *+' conftest.er1 >conftest.err
78584  rm -f conftest.er1
78585  cat conftest.err >&5
78586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78587  (exit $ac_status); } &&
78588	 { ac_try='test -z "$ac_c_werror_flag"
78589			 || test ! -s conftest.err'
78590  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78591  (eval $ac_try) 2>&5
78592  ac_status=$?
78593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78594  (exit $ac_status); }; } &&
78595	 { ac_try='test -s conftest.$ac_objext'
78596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78597  (eval $ac_try) 2>&5
78598  ac_status=$?
78599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78600  (exit $ac_status); }; }; then
78601  ac_header_compiler=yes
78602else
78603  echo "$as_me: failed program was:" >&5
78604sed 's/^/| /' conftest.$ac_ext >&5
78605
78606ac_header_compiler=no
78607fi
78608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78609echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78610echo "${ECHO_T}$ac_header_compiler" >&6
78611
78612# Is the header present?
78613echo "$as_me:$LINENO: checking $ac_header presence" >&5
78614echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78615cat >conftest.$ac_ext <<_ACEOF
78616/* confdefs.h.  */
78617_ACEOF
78618cat confdefs.h >>conftest.$ac_ext
78619cat >>conftest.$ac_ext <<_ACEOF
78620/* end confdefs.h.  */
78621#include <$ac_header>
78622_ACEOF
78623if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78624  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78625  ac_status=$?
78626  grep -v '^ *+' conftest.er1 >conftest.err
78627  rm -f conftest.er1
78628  cat conftest.err >&5
78629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78630  (exit $ac_status); } >/dev/null; then
78631  if test -s conftest.err; then
78632    ac_cpp_err=$ac_c_preproc_warn_flag
78633    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78634  else
78635    ac_cpp_err=
78636  fi
78637else
78638  ac_cpp_err=yes
78639fi
78640if test -z "$ac_cpp_err"; then
78641  ac_header_preproc=yes
78642else
78643  echo "$as_me: failed program was:" >&5
78644sed 's/^/| /' conftest.$ac_ext >&5
78645
78646  ac_header_preproc=no
78647fi
78648rm -f conftest.err conftest.$ac_ext
78649echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78650echo "${ECHO_T}$ac_header_preproc" >&6
78651
78652# So?  What about this header?
78653case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78654  yes:no: )
78655    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78656echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78657    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78658echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78659    ac_header_preproc=yes
78660    ;;
78661  no:yes:* )
78662    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78663echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78664    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78665echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78666    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78667echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78668    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78669echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78670    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78671echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78672    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78673echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78674    (
78675      cat <<\_ASBOX
78676## ----------------------------------------- ##
78677## Report this to the package-unused lists.  ##
78678## ----------------------------------------- ##
78679_ASBOX
78680    ) |
78681      sed "s/^/$as_me: WARNING:     /" >&2
78682    ;;
78683esac
78684echo "$as_me:$LINENO: checking for $ac_header" >&5
78685echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78686if eval "test \"\${$as_ac_Header+set}\" = set"; then
78687  echo $ECHO_N "(cached) $ECHO_C" >&6
78688else
78689  eval "$as_ac_Header=\$ac_header_preproc"
78690fi
78691echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78692echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78693
78694fi
78695if test `eval echo '${'$as_ac_Header'}'` = yes; then
78696  cat >>confdefs.h <<_ACEOF
78697#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78698_ACEOF
78699
78700fi
78701
78702done
78703
78704    SECTION_FLAGS='-ffunction-sections -fdata-sections'
78705
78706
78707  # All these tests are for C++; save the language and the compiler flags.
78708  # The CXXFLAGS thing is suspicious, but based on similar bits previously
78709  # found in GLIBCXX_CONFIGURE.
78710
78711
78712  ac_ext=cc
78713ac_cpp='$CXXCPP $CPPFLAGS'
78714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78717
78718  ac_test_CXXFLAGS="${CXXFLAGS+set}"
78719  ac_save_CXXFLAGS="$CXXFLAGS"
78720
78721  # Check for maintainer-mode bits.
78722  if test x"$USE_MAINTAINER_MODE" = xno; then
78723    WERROR=''
78724  else
78725    WERROR='-Werror'
78726  fi
78727
78728  # Check for -ffunction-sections -fdata-sections
78729  echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78730echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78731  CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78732  cat >conftest.$ac_ext <<_ACEOF
78733/* confdefs.h.  */
78734_ACEOF
78735cat confdefs.h >>conftest.$ac_ext
78736cat >>conftest.$ac_ext <<_ACEOF
78737/* end confdefs.h.  */
78738
78739int
78740main ()
78741{
78742int foo;
78743  ;
78744  return 0;
78745}
78746_ACEOF
78747rm -f conftest.$ac_objext
78748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78749  (eval $ac_compile) 2>conftest.er1
78750  ac_status=$?
78751  grep -v '^ *+' conftest.er1 >conftest.err
78752  rm -f conftest.er1
78753  cat conftest.err >&5
78754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78755  (exit $ac_status); } &&
78756	 { ac_try='test -z "$ac_cxx_werror_flag"
78757			 || test ! -s conftest.err'
78758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78759  (eval $ac_try) 2>&5
78760  ac_status=$?
78761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762  (exit $ac_status); }; } &&
78763	 { ac_try='test -s conftest.$ac_objext'
78764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78765  (eval $ac_try) 2>&5
78766  ac_status=$?
78767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768  (exit $ac_status); }; }; then
78769  ac_fdsections=yes
78770else
78771  echo "$as_me: failed program was:" >&5
78772sed 's/^/| /' conftest.$ac_ext >&5
78773
78774ac_fdsections=no
78775fi
78776rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78777  if test "$ac_test_CXXFLAGS" = set; then
78778    CXXFLAGS="$ac_save_CXXFLAGS"
78779  else
78780    # this is the suspicious part
78781    CXXFLAGS=''
78782  fi
78783  if test x"$ac_fdsections" = x"yes"; then
78784    SECTION_FLAGS='-ffunction-sections -fdata-sections'
78785  fi
78786  echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78787echo "${ECHO_T}$ac_fdsections" >&6
78788
78789  ac_ext=c
78790ac_cpp='$CPP $CPPFLAGS'
78791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78793ac_compiler_gnu=$ac_cv_c_compiler_gnu
78794
78795
78796
78797
78798
78799  # If we're not using GNU ld, then there's no point in even trying these
78800  # tests.  Check for that first.  We should have already tested for gld
78801  # by now (in libtool), but require it now just to be safe...
78802  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78803  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78804
78805
78806
78807  # The name set by libtool depends on the version of libtool.  Shame on us
78808  # for depending on an impl detail, but c'est la vie.  Older versions used
78809  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78810  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78811  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
78812  # set (hence we're using an older libtool), then set it.
78813  if test x${with_gnu_ld+set} != xset; then
78814    if test x${ac_cv_prog_gnu_ld+set} != xset; then
78815      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
78816      with_gnu_ld=no
78817    else
78818      with_gnu_ld=$ac_cv_prog_gnu_ld
78819    fi
78820  fi
78821
78822  # Start by getting the version number.  I think the libtool test already
78823  # does some of this, but throws away the result.
78824  if test x"$with_gnu_ld" = x"yes"; then
78825    echo "$as_me:$LINENO: checking for ld version" >&5
78826echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78827
78828    ldver=`$LD --version 2>/dev/null | head -1 | \
78829           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78830
78831    glibcxx_gnu_ld_version=`echo $ldver | \
78832           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78833    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78834echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78835  fi
78836
78837  # Set --gc-sections.
78838  glibcxx_gcsections_min_ld=21602
78839  if test x"$with_gnu_ld" = x"yes" &&
78840	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78841
78842    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
78843    # NB: This flag only works reliably after 2.16.1. Configure tests
78844    # for this are difficult, so hard wire a value that should work.
78845
78846    ac_test_CFLAGS="${CFLAGS+set}"
78847    ac_save_CFLAGS="$CFLAGS"
78848    CFLAGS='-Wl,--gc-sections'
78849
78850    # Check for -Wl,--gc-sections
78851    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78852echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78853    if test x$gcc_no_link = xyes; then
78854  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78855echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78856   { (exit 1); exit 1; }; }
78857fi
78858cat >conftest.$ac_ext <<_ACEOF
78859/* confdefs.h.  */
78860_ACEOF
78861cat confdefs.h >>conftest.$ac_ext
78862cat >>conftest.$ac_ext <<_ACEOF
78863/* end confdefs.h.  */
78864 int one(void) { return 1; }
78865     int two(void) { return 2; }
78866
78867int
78868main ()
78869{
78870 two();
78871  ;
78872  return 0;
78873}
78874_ACEOF
78875rm -f conftest.$ac_objext conftest$ac_exeext
78876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78877  (eval $ac_link) 2>conftest.er1
78878  ac_status=$?
78879  grep -v '^ *+' conftest.er1 >conftest.err
78880  rm -f conftest.er1
78881  cat conftest.err >&5
78882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78883  (exit $ac_status); } &&
78884	 { ac_try='test -z "$ac_c_werror_flag"
78885			 || test ! -s conftest.err'
78886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887  (eval $ac_try) 2>&5
78888  ac_status=$?
78889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890  (exit $ac_status); }; } &&
78891	 { ac_try='test -s conftest$ac_exeext'
78892  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78893  (eval $ac_try) 2>&5
78894  ac_status=$?
78895  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78896  (exit $ac_status); }; }; then
78897  ac_gcsections=yes
78898else
78899  echo "$as_me: failed program was:" >&5
78900sed 's/^/| /' conftest.$ac_ext >&5
78901
78902ac_gcsections=no
78903fi
78904rm -f conftest.err conftest.$ac_objext \
78905      conftest$ac_exeext conftest.$ac_ext
78906    if test "$ac_gcsections" = "yes"; then
78907      rm -f conftest.c
78908      touch conftest.c
78909      if $CC -c conftest.c; then
78910	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78911	   grep "Warning: gc-sections option ignored" > /dev/null; then
78912	  ac_gcsections=no
78913	fi
78914      fi
78915      rm -f conftest.c conftest.o conftest
78916    fi
78917    if test "$ac_gcsections" = "yes"; then
78918      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78919    fi
78920    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78921echo "${ECHO_T}$ac_gcsections" >&6
78922
78923    if test "$ac_test_CFLAGS" = set; then
78924      CFLAGS="$ac_save_CFLAGS"
78925    else
78926      # this is the suspicious part
78927      CFLAGS=''
78928    fi
78929  fi
78930
78931  # Set -z,relro.
78932  # Note this is only for shared objects.
78933  ac_ld_relro=no
78934  if test x"$with_gnu_ld" = x"yes"; then
78935    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78936echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78937    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78938    if test -n "$cxx_z_relo"; then
78939      OPT_LDFLAGS="-Wl,-z,relro"
78940      ac_ld_relro=yes
78941    fi
78942    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78943echo "${ECHO_T}$ac_ld_relro" >&6
78944  fi
78945
78946  # Set linker optimization flags.
78947  if test x"$with_gnu_ld" = x"yes"; then
78948    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78949  fi
78950
78951
78952
78953
78954
78955  ac_test_CXXFLAGS="${CXXFLAGS+set}"
78956  ac_save_CXXFLAGS="$CXXFLAGS"
78957  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78958
78959    echo "$as_me:$LINENO: checking for sin in -lm" >&5
78960echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78961if test "${ac_cv_lib_m_sin+set}" = set; then
78962  echo $ECHO_N "(cached) $ECHO_C" >&6
78963else
78964  ac_check_lib_save_LIBS=$LIBS
78965LIBS="-lm  $LIBS"
78966if test x$gcc_no_link = xyes; then
78967  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78968echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78969   { (exit 1); exit 1; }; }
78970fi
78971cat >conftest.$ac_ext <<_ACEOF
78972/* confdefs.h.  */
78973_ACEOF
78974cat confdefs.h >>conftest.$ac_ext
78975cat >>conftest.$ac_ext <<_ACEOF
78976/* end confdefs.h.  */
78977
78978/* Override any gcc2 internal prototype to avoid an error.  */
78979#ifdef __cplusplus
78980extern "C"
78981#endif
78982/* We use char because int might match the return type of a gcc2
78983   builtin and then its argument prototype would still apply.  */
78984char sin ();
78985int
78986main ()
78987{
78988sin ();
78989  ;
78990  return 0;
78991}
78992_ACEOF
78993rm -f conftest.$ac_objext conftest$ac_exeext
78994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78995  (eval $ac_link) 2>conftest.er1
78996  ac_status=$?
78997  grep -v '^ *+' conftest.er1 >conftest.err
78998  rm -f conftest.er1
78999  cat conftest.err >&5
79000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79001  (exit $ac_status); } &&
79002	 { ac_try='test -z "$ac_c_werror_flag"
79003			 || test ! -s conftest.err'
79004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79005  (eval $ac_try) 2>&5
79006  ac_status=$?
79007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79008  (exit $ac_status); }; } &&
79009	 { ac_try='test -s conftest$ac_exeext'
79010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79011  (eval $ac_try) 2>&5
79012  ac_status=$?
79013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79014  (exit $ac_status); }; }; then
79015  ac_cv_lib_m_sin=yes
79016else
79017  echo "$as_me: failed program was:" >&5
79018sed 's/^/| /' conftest.$ac_ext >&5
79019
79020ac_cv_lib_m_sin=no
79021fi
79022rm -f conftest.err conftest.$ac_objext \
79023      conftest$ac_exeext conftest.$ac_ext
79024LIBS=$ac_check_lib_save_LIBS
79025fi
79026echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
79027echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
79028if test $ac_cv_lib_m_sin = yes; then
79029  libm="-lm"
79030fi
79031
79032  ac_save_LIBS="$LIBS"
79033  LIBS="$LIBS $libm"
79034
79035
79036
79037  echo "$as_me:$LINENO: checking for isinf declaration" >&5
79038echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
79039  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
79040    if test "${glibcxx_cv_func_isinf_use+set}" = set; then
79041  echo $ECHO_N "(cached) $ECHO_C" >&6
79042else
79043
79044
79045
79046      ac_ext=cc
79047ac_cpp='$CXXCPP $CPPFLAGS'
79048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79051
79052      cat >conftest.$ac_ext <<_ACEOF
79053/* confdefs.h.  */
79054_ACEOF
79055cat confdefs.h >>conftest.$ac_ext
79056cat >>conftest.$ac_ext <<_ACEOF
79057/* end confdefs.h.  */
79058#include <math.h>
79059		      #ifdef HAVE_IEEEFP_H
79060		      #include <ieeefp.h>
79061		      #endif
79062
79063int
79064main ()
79065{
79066 isinf(0);
79067  ;
79068  return 0;
79069}
79070_ACEOF
79071rm -f conftest.$ac_objext
79072if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79073  (eval $ac_compile) 2>conftest.er1
79074  ac_status=$?
79075  grep -v '^ *+' conftest.er1 >conftest.err
79076  rm -f conftest.er1
79077  cat conftest.err >&5
79078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79079  (exit $ac_status); } &&
79080	 { ac_try='test -z "$ac_cxx_werror_flag"
79081			 || test ! -s conftest.err'
79082  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79083  (eval $ac_try) 2>&5
79084  ac_status=$?
79085  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79086  (exit $ac_status); }; } &&
79087	 { ac_try='test -s conftest.$ac_objext'
79088  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79089  (eval $ac_try) 2>&5
79090  ac_status=$?
79091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092  (exit $ac_status); }; }; then
79093  glibcxx_cv_func_isinf_use=yes
79094else
79095  echo "$as_me: failed program was:" >&5
79096sed 's/^/| /' conftest.$ac_ext >&5
79097
79098glibcxx_cv_func_isinf_use=no
79099fi
79100rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79101      ac_ext=c
79102ac_cpp='$CPP $CPPFLAGS'
79103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79105ac_compiler_gnu=$ac_cv_c_compiler_gnu
79106
79107
79108fi
79109
79110  fi
79111  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
79112echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
79113
79114  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
79115
79116for ac_func in isinf
79117do
79118as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79119echo "$as_me:$LINENO: checking for $ac_func" >&5
79120echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79121if eval "test \"\${$as_ac_var+set}\" = set"; then
79122  echo $ECHO_N "(cached) $ECHO_C" >&6
79123else
79124  if test x$gcc_no_link = xyes; then
79125  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79126echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79127   { (exit 1); exit 1; }; }
79128fi
79129cat >conftest.$ac_ext <<_ACEOF
79130/* confdefs.h.  */
79131_ACEOF
79132cat confdefs.h >>conftest.$ac_ext
79133cat >>conftest.$ac_ext <<_ACEOF
79134/* end confdefs.h.  */
79135/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79136   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79137#define $ac_func innocuous_$ac_func
79138
79139/* System header to define __stub macros and hopefully few prototypes,
79140    which can conflict with char $ac_func (); below.
79141    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79142    <limits.h> exists even on freestanding compilers.  */
79143
79144#ifdef __STDC__
79145# include <limits.h>
79146#else
79147# include <assert.h>
79148#endif
79149
79150#undef $ac_func
79151
79152/* Override any gcc2 internal prototype to avoid an error.  */
79153#ifdef __cplusplus
79154extern "C"
79155{
79156#endif
79157/* We use char because int might match the return type of a gcc2
79158   builtin and then its argument prototype would still apply.  */
79159char $ac_func ();
79160/* The GNU C library defines this for functions which it implements
79161    to always fail with ENOSYS.  Some functions are actually named
79162    something starting with __ and the normal name is an alias.  */
79163#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79164choke me
79165#else
79166char (*f) () = $ac_func;
79167#endif
79168#ifdef __cplusplus
79169}
79170#endif
79171
79172int
79173main ()
79174{
79175return f != $ac_func;
79176  ;
79177  return 0;
79178}
79179_ACEOF
79180rm -f conftest.$ac_objext conftest$ac_exeext
79181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79182  (eval $ac_link) 2>conftest.er1
79183  ac_status=$?
79184  grep -v '^ *+' conftest.er1 >conftest.err
79185  rm -f conftest.er1
79186  cat conftest.err >&5
79187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79188  (exit $ac_status); } &&
79189	 { ac_try='test -z "$ac_c_werror_flag"
79190			 || test ! -s conftest.err'
79191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79192  (eval $ac_try) 2>&5
79193  ac_status=$?
79194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79195  (exit $ac_status); }; } &&
79196	 { ac_try='test -s conftest$ac_exeext'
79197  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79198  (eval $ac_try) 2>&5
79199  ac_status=$?
79200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79201  (exit $ac_status); }; }; then
79202  eval "$as_ac_var=yes"
79203else
79204  echo "$as_me: failed program was:" >&5
79205sed 's/^/| /' conftest.$ac_ext >&5
79206
79207eval "$as_ac_var=no"
79208fi
79209rm -f conftest.err conftest.$ac_objext \
79210      conftest$ac_exeext conftest.$ac_ext
79211fi
79212echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79213echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79214if test `eval echo '${'$as_ac_var'}'` = yes; then
79215  cat >>confdefs.h <<_ACEOF
79216#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79217_ACEOF
79218
79219fi
79220done
79221
79222  else
79223
79224  echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79225echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79226  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79227    if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79228  echo $ECHO_N "(cached) $ECHO_C" >&6
79229else
79230
79231
79232
79233      ac_ext=cc
79234ac_cpp='$CXXCPP $CPPFLAGS'
79235ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79236ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79237ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79238
79239      cat >conftest.$ac_ext <<_ACEOF
79240/* confdefs.h.  */
79241_ACEOF
79242cat confdefs.h >>conftest.$ac_ext
79243cat >>conftest.$ac_ext <<_ACEOF
79244/* end confdefs.h.  */
79245#include <math.h>
79246		      #ifdef HAVE_IEEEFP_H
79247		      #include <ieeefp.h>
79248		      #endif
79249
79250int
79251main ()
79252{
79253 _isinf(0);
79254  ;
79255  return 0;
79256}
79257_ACEOF
79258rm -f conftest.$ac_objext
79259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79260  (eval $ac_compile) 2>conftest.er1
79261  ac_status=$?
79262  grep -v '^ *+' conftest.er1 >conftest.err
79263  rm -f conftest.er1
79264  cat conftest.err >&5
79265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79266  (exit $ac_status); } &&
79267	 { ac_try='test -z "$ac_cxx_werror_flag"
79268			 || test ! -s conftest.err'
79269  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79270  (eval $ac_try) 2>&5
79271  ac_status=$?
79272  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79273  (exit $ac_status); }; } &&
79274	 { ac_try='test -s conftest.$ac_objext'
79275  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79276  (eval $ac_try) 2>&5
79277  ac_status=$?
79278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79279  (exit $ac_status); }; }; then
79280  glibcxx_cv_func__isinf_use=yes
79281else
79282  echo "$as_me: failed program was:" >&5
79283sed 's/^/| /' conftest.$ac_ext >&5
79284
79285glibcxx_cv_func__isinf_use=no
79286fi
79287rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79288      ac_ext=c
79289ac_cpp='$CPP $CPPFLAGS'
79290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79292ac_compiler_gnu=$ac_cv_c_compiler_gnu
79293
79294
79295fi
79296
79297  fi
79298  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79299echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79300
79301    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79302
79303for ac_func in _isinf
79304do
79305as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79306echo "$as_me:$LINENO: checking for $ac_func" >&5
79307echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79308if eval "test \"\${$as_ac_var+set}\" = set"; then
79309  echo $ECHO_N "(cached) $ECHO_C" >&6
79310else
79311  if test x$gcc_no_link = xyes; then
79312  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79313echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79314   { (exit 1); exit 1; }; }
79315fi
79316cat >conftest.$ac_ext <<_ACEOF
79317/* confdefs.h.  */
79318_ACEOF
79319cat confdefs.h >>conftest.$ac_ext
79320cat >>conftest.$ac_ext <<_ACEOF
79321/* end confdefs.h.  */
79322/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79323   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79324#define $ac_func innocuous_$ac_func
79325
79326/* System header to define __stub macros and hopefully few prototypes,
79327    which can conflict with char $ac_func (); below.
79328    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79329    <limits.h> exists even on freestanding compilers.  */
79330
79331#ifdef __STDC__
79332# include <limits.h>
79333#else
79334# include <assert.h>
79335#endif
79336
79337#undef $ac_func
79338
79339/* Override any gcc2 internal prototype to avoid an error.  */
79340#ifdef __cplusplus
79341extern "C"
79342{
79343#endif
79344/* We use char because int might match the return type of a gcc2
79345   builtin and then its argument prototype would still apply.  */
79346char $ac_func ();
79347/* The GNU C library defines this for functions which it implements
79348    to always fail with ENOSYS.  Some functions are actually named
79349    something starting with __ and the normal name is an alias.  */
79350#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79351choke me
79352#else
79353char (*f) () = $ac_func;
79354#endif
79355#ifdef __cplusplus
79356}
79357#endif
79358
79359int
79360main ()
79361{
79362return f != $ac_func;
79363  ;
79364  return 0;
79365}
79366_ACEOF
79367rm -f conftest.$ac_objext conftest$ac_exeext
79368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79369  (eval $ac_link) 2>conftest.er1
79370  ac_status=$?
79371  grep -v '^ *+' conftest.er1 >conftest.err
79372  rm -f conftest.er1
79373  cat conftest.err >&5
79374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79375  (exit $ac_status); } &&
79376	 { ac_try='test -z "$ac_c_werror_flag"
79377			 || test ! -s conftest.err'
79378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79379  (eval $ac_try) 2>&5
79380  ac_status=$?
79381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79382  (exit $ac_status); }; } &&
79383	 { ac_try='test -s conftest$ac_exeext'
79384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79385  (eval $ac_try) 2>&5
79386  ac_status=$?
79387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79388  (exit $ac_status); }; }; then
79389  eval "$as_ac_var=yes"
79390else
79391  echo "$as_me: failed program was:" >&5
79392sed 's/^/| /' conftest.$ac_ext >&5
79393
79394eval "$as_ac_var=no"
79395fi
79396rm -f conftest.err conftest.$ac_objext \
79397      conftest$ac_exeext conftest.$ac_ext
79398fi
79399echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79400echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79401if test `eval echo '${'$as_ac_var'}'` = yes; then
79402  cat >>confdefs.h <<_ACEOF
79403#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79404_ACEOF
79405
79406fi
79407done
79408
79409    fi
79410  fi
79411
79412
79413
79414
79415
79416
79417  echo "$as_me:$LINENO: checking for isnan declaration" >&5
79418echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79419  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79420    if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79421  echo $ECHO_N "(cached) $ECHO_C" >&6
79422else
79423
79424
79425
79426      ac_ext=cc
79427ac_cpp='$CXXCPP $CPPFLAGS'
79428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79431
79432      cat >conftest.$ac_ext <<_ACEOF
79433/* confdefs.h.  */
79434_ACEOF
79435cat confdefs.h >>conftest.$ac_ext
79436cat >>conftest.$ac_ext <<_ACEOF
79437/* end confdefs.h.  */
79438#include <math.h>
79439		      #ifdef HAVE_IEEEFP_H
79440		      #include <ieeefp.h>
79441		      #endif
79442
79443int
79444main ()
79445{
79446 isnan(0);
79447  ;
79448  return 0;
79449}
79450_ACEOF
79451rm -f conftest.$ac_objext
79452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79453  (eval $ac_compile) 2>conftest.er1
79454  ac_status=$?
79455  grep -v '^ *+' conftest.er1 >conftest.err
79456  rm -f conftest.er1
79457  cat conftest.err >&5
79458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79459  (exit $ac_status); } &&
79460	 { ac_try='test -z "$ac_cxx_werror_flag"
79461			 || test ! -s conftest.err'
79462  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79463  (eval $ac_try) 2>&5
79464  ac_status=$?
79465  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466  (exit $ac_status); }; } &&
79467	 { ac_try='test -s conftest.$ac_objext'
79468  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79469  (eval $ac_try) 2>&5
79470  ac_status=$?
79471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79472  (exit $ac_status); }; }; then
79473  glibcxx_cv_func_isnan_use=yes
79474else
79475  echo "$as_me: failed program was:" >&5
79476sed 's/^/| /' conftest.$ac_ext >&5
79477
79478glibcxx_cv_func_isnan_use=no
79479fi
79480rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79481      ac_ext=c
79482ac_cpp='$CPP $CPPFLAGS'
79483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79485ac_compiler_gnu=$ac_cv_c_compiler_gnu
79486
79487
79488fi
79489
79490  fi
79491  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79492echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79493
79494  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79495
79496for ac_func in isnan
79497do
79498as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79499echo "$as_me:$LINENO: checking for $ac_func" >&5
79500echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79501if eval "test \"\${$as_ac_var+set}\" = set"; then
79502  echo $ECHO_N "(cached) $ECHO_C" >&6
79503else
79504  if test x$gcc_no_link = xyes; then
79505  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79506echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79507   { (exit 1); exit 1; }; }
79508fi
79509cat >conftest.$ac_ext <<_ACEOF
79510/* confdefs.h.  */
79511_ACEOF
79512cat confdefs.h >>conftest.$ac_ext
79513cat >>conftest.$ac_ext <<_ACEOF
79514/* end confdefs.h.  */
79515/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79516   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79517#define $ac_func innocuous_$ac_func
79518
79519/* System header to define __stub macros and hopefully few prototypes,
79520    which can conflict with char $ac_func (); below.
79521    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79522    <limits.h> exists even on freestanding compilers.  */
79523
79524#ifdef __STDC__
79525# include <limits.h>
79526#else
79527# include <assert.h>
79528#endif
79529
79530#undef $ac_func
79531
79532/* Override any gcc2 internal prototype to avoid an error.  */
79533#ifdef __cplusplus
79534extern "C"
79535{
79536#endif
79537/* We use char because int might match the return type of a gcc2
79538   builtin and then its argument prototype would still apply.  */
79539char $ac_func ();
79540/* The GNU C library defines this for functions which it implements
79541    to always fail with ENOSYS.  Some functions are actually named
79542    something starting with __ and the normal name is an alias.  */
79543#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79544choke me
79545#else
79546char (*f) () = $ac_func;
79547#endif
79548#ifdef __cplusplus
79549}
79550#endif
79551
79552int
79553main ()
79554{
79555return f != $ac_func;
79556  ;
79557  return 0;
79558}
79559_ACEOF
79560rm -f conftest.$ac_objext conftest$ac_exeext
79561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79562  (eval $ac_link) 2>conftest.er1
79563  ac_status=$?
79564  grep -v '^ *+' conftest.er1 >conftest.err
79565  rm -f conftest.er1
79566  cat conftest.err >&5
79567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79568  (exit $ac_status); } &&
79569	 { ac_try='test -z "$ac_c_werror_flag"
79570			 || test ! -s conftest.err'
79571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79572  (eval $ac_try) 2>&5
79573  ac_status=$?
79574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79575  (exit $ac_status); }; } &&
79576	 { ac_try='test -s conftest$ac_exeext'
79577  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79578  (eval $ac_try) 2>&5
79579  ac_status=$?
79580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79581  (exit $ac_status); }; }; then
79582  eval "$as_ac_var=yes"
79583else
79584  echo "$as_me: failed program was:" >&5
79585sed 's/^/| /' conftest.$ac_ext >&5
79586
79587eval "$as_ac_var=no"
79588fi
79589rm -f conftest.err conftest.$ac_objext \
79590      conftest$ac_exeext conftest.$ac_ext
79591fi
79592echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79593echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79594if test `eval echo '${'$as_ac_var'}'` = yes; then
79595  cat >>confdefs.h <<_ACEOF
79596#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79597_ACEOF
79598
79599fi
79600done
79601
79602  else
79603
79604  echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79605echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79606  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79607    if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79608  echo $ECHO_N "(cached) $ECHO_C" >&6
79609else
79610
79611
79612
79613      ac_ext=cc
79614ac_cpp='$CXXCPP $CPPFLAGS'
79615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79618
79619      cat >conftest.$ac_ext <<_ACEOF
79620/* confdefs.h.  */
79621_ACEOF
79622cat confdefs.h >>conftest.$ac_ext
79623cat >>conftest.$ac_ext <<_ACEOF
79624/* end confdefs.h.  */
79625#include <math.h>
79626		      #ifdef HAVE_IEEEFP_H
79627		      #include <ieeefp.h>
79628		      #endif
79629
79630int
79631main ()
79632{
79633 _isnan(0);
79634  ;
79635  return 0;
79636}
79637_ACEOF
79638rm -f conftest.$ac_objext
79639if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79640  (eval $ac_compile) 2>conftest.er1
79641  ac_status=$?
79642  grep -v '^ *+' conftest.er1 >conftest.err
79643  rm -f conftest.er1
79644  cat conftest.err >&5
79645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79646  (exit $ac_status); } &&
79647	 { ac_try='test -z "$ac_cxx_werror_flag"
79648			 || test ! -s conftest.err'
79649  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79650  (eval $ac_try) 2>&5
79651  ac_status=$?
79652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653  (exit $ac_status); }; } &&
79654	 { ac_try='test -s conftest.$ac_objext'
79655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656  (eval $ac_try) 2>&5
79657  ac_status=$?
79658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659  (exit $ac_status); }; }; then
79660  glibcxx_cv_func__isnan_use=yes
79661else
79662  echo "$as_me: failed program was:" >&5
79663sed 's/^/| /' conftest.$ac_ext >&5
79664
79665glibcxx_cv_func__isnan_use=no
79666fi
79667rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79668      ac_ext=c
79669ac_cpp='$CPP $CPPFLAGS'
79670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79672ac_compiler_gnu=$ac_cv_c_compiler_gnu
79673
79674
79675fi
79676
79677  fi
79678  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79679echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79680
79681    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79682
79683for ac_func in _isnan
79684do
79685as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79686echo "$as_me:$LINENO: checking for $ac_func" >&5
79687echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79688if eval "test \"\${$as_ac_var+set}\" = set"; then
79689  echo $ECHO_N "(cached) $ECHO_C" >&6
79690else
79691  if test x$gcc_no_link = xyes; then
79692  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79693echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79694   { (exit 1); exit 1; }; }
79695fi
79696cat >conftest.$ac_ext <<_ACEOF
79697/* confdefs.h.  */
79698_ACEOF
79699cat confdefs.h >>conftest.$ac_ext
79700cat >>conftest.$ac_ext <<_ACEOF
79701/* end confdefs.h.  */
79702/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79703   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79704#define $ac_func innocuous_$ac_func
79705
79706/* System header to define __stub macros and hopefully few prototypes,
79707    which can conflict with char $ac_func (); below.
79708    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79709    <limits.h> exists even on freestanding compilers.  */
79710
79711#ifdef __STDC__
79712# include <limits.h>
79713#else
79714# include <assert.h>
79715#endif
79716
79717#undef $ac_func
79718
79719/* Override any gcc2 internal prototype to avoid an error.  */
79720#ifdef __cplusplus
79721extern "C"
79722{
79723#endif
79724/* We use char because int might match the return type of a gcc2
79725   builtin and then its argument prototype would still apply.  */
79726char $ac_func ();
79727/* The GNU C library defines this for functions which it implements
79728    to always fail with ENOSYS.  Some functions are actually named
79729    something starting with __ and the normal name is an alias.  */
79730#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79731choke me
79732#else
79733char (*f) () = $ac_func;
79734#endif
79735#ifdef __cplusplus
79736}
79737#endif
79738
79739int
79740main ()
79741{
79742return f != $ac_func;
79743  ;
79744  return 0;
79745}
79746_ACEOF
79747rm -f conftest.$ac_objext conftest$ac_exeext
79748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79749  (eval $ac_link) 2>conftest.er1
79750  ac_status=$?
79751  grep -v '^ *+' conftest.er1 >conftest.err
79752  rm -f conftest.er1
79753  cat conftest.err >&5
79754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79755  (exit $ac_status); } &&
79756	 { ac_try='test -z "$ac_c_werror_flag"
79757			 || test ! -s conftest.err'
79758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79759  (eval $ac_try) 2>&5
79760  ac_status=$?
79761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79762  (exit $ac_status); }; } &&
79763	 { ac_try='test -s conftest$ac_exeext'
79764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79765  (eval $ac_try) 2>&5
79766  ac_status=$?
79767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79768  (exit $ac_status); }; }; then
79769  eval "$as_ac_var=yes"
79770else
79771  echo "$as_me: failed program was:" >&5
79772sed 's/^/| /' conftest.$ac_ext >&5
79773
79774eval "$as_ac_var=no"
79775fi
79776rm -f conftest.err conftest.$ac_objext \
79777      conftest$ac_exeext conftest.$ac_ext
79778fi
79779echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79780echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79781if test `eval echo '${'$as_ac_var'}'` = yes; then
79782  cat >>confdefs.h <<_ACEOF
79783#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79784_ACEOF
79785
79786fi
79787done
79788
79789    fi
79790  fi
79791
79792
79793
79794
79795
79796
79797  echo "$as_me:$LINENO: checking for finite declaration" >&5
79798echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79799  if test x${glibcxx_cv_func_finite_use+set} != xset; then
79800    if test "${glibcxx_cv_func_finite_use+set}" = set; then
79801  echo $ECHO_N "(cached) $ECHO_C" >&6
79802else
79803
79804
79805
79806      ac_ext=cc
79807ac_cpp='$CXXCPP $CPPFLAGS'
79808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79811
79812      cat >conftest.$ac_ext <<_ACEOF
79813/* confdefs.h.  */
79814_ACEOF
79815cat confdefs.h >>conftest.$ac_ext
79816cat >>conftest.$ac_ext <<_ACEOF
79817/* end confdefs.h.  */
79818#include <math.h>
79819		      #ifdef HAVE_IEEEFP_H
79820		      #include <ieeefp.h>
79821		      #endif
79822
79823int
79824main ()
79825{
79826 finite(0);
79827  ;
79828  return 0;
79829}
79830_ACEOF
79831rm -f conftest.$ac_objext
79832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79833  (eval $ac_compile) 2>conftest.er1
79834  ac_status=$?
79835  grep -v '^ *+' conftest.er1 >conftest.err
79836  rm -f conftest.er1
79837  cat conftest.err >&5
79838  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79839  (exit $ac_status); } &&
79840	 { ac_try='test -z "$ac_cxx_werror_flag"
79841			 || test ! -s conftest.err'
79842  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79843  (eval $ac_try) 2>&5
79844  ac_status=$?
79845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79846  (exit $ac_status); }; } &&
79847	 { ac_try='test -s conftest.$ac_objext'
79848  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79849  (eval $ac_try) 2>&5
79850  ac_status=$?
79851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79852  (exit $ac_status); }; }; then
79853  glibcxx_cv_func_finite_use=yes
79854else
79855  echo "$as_me: failed program was:" >&5
79856sed 's/^/| /' conftest.$ac_ext >&5
79857
79858glibcxx_cv_func_finite_use=no
79859fi
79860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79861      ac_ext=c
79862ac_cpp='$CPP $CPPFLAGS'
79863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79865ac_compiler_gnu=$ac_cv_c_compiler_gnu
79866
79867
79868fi
79869
79870  fi
79871  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79872echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79873
79874  if test x$glibcxx_cv_func_finite_use = x"yes"; then
79875
79876for ac_func in finite
79877do
79878as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79879echo "$as_me:$LINENO: checking for $ac_func" >&5
79880echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79881if eval "test \"\${$as_ac_var+set}\" = set"; then
79882  echo $ECHO_N "(cached) $ECHO_C" >&6
79883else
79884  if test x$gcc_no_link = xyes; then
79885  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79886echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79887   { (exit 1); exit 1; }; }
79888fi
79889cat >conftest.$ac_ext <<_ACEOF
79890/* confdefs.h.  */
79891_ACEOF
79892cat confdefs.h >>conftest.$ac_ext
79893cat >>conftest.$ac_ext <<_ACEOF
79894/* end confdefs.h.  */
79895/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79896   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79897#define $ac_func innocuous_$ac_func
79898
79899/* System header to define __stub macros and hopefully few prototypes,
79900    which can conflict with char $ac_func (); below.
79901    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79902    <limits.h> exists even on freestanding compilers.  */
79903
79904#ifdef __STDC__
79905# include <limits.h>
79906#else
79907# include <assert.h>
79908#endif
79909
79910#undef $ac_func
79911
79912/* Override any gcc2 internal prototype to avoid an error.  */
79913#ifdef __cplusplus
79914extern "C"
79915{
79916#endif
79917/* We use char because int might match the return type of a gcc2
79918   builtin and then its argument prototype would still apply.  */
79919char $ac_func ();
79920/* The GNU C library defines this for functions which it implements
79921    to always fail with ENOSYS.  Some functions are actually named
79922    something starting with __ and the normal name is an alias.  */
79923#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79924choke me
79925#else
79926char (*f) () = $ac_func;
79927#endif
79928#ifdef __cplusplus
79929}
79930#endif
79931
79932int
79933main ()
79934{
79935return f != $ac_func;
79936  ;
79937  return 0;
79938}
79939_ACEOF
79940rm -f conftest.$ac_objext conftest$ac_exeext
79941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79942  (eval $ac_link) 2>conftest.er1
79943  ac_status=$?
79944  grep -v '^ *+' conftest.er1 >conftest.err
79945  rm -f conftest.er1
79946  cat conftest.err >&5
79947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79948  (exit $ac_status); } &&
79949	 { ac_try='test -z "$ac_c_werror_flag"
79950			 || test ! -s conftest.err'
79951  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79952  (eval $ac_try) 2>&5
79953  ac_status=$?
79954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79955  (exit $ac_status); }; } &&
79956	 { ac_try='test -s conftest$ac_exeext'
79957  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79958  (eval $ac_try) 2>&5
79959  ac_status=$?
79960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79961  (exit $ac_status); }; }; then
79962  eval "$as_ac_var=yes"
79963else
79964  echo "$as_me: failed program was:" >&5
79965sed 's/^/| /' conftest.$ac_ext >&5
79966
79967eval "$as_ac_var=no"
79968fi
79969rm -f conftest.err conftest.$ac_objext \
79970      conftest$ac_exeext conftest.$ac_ext
79971fi
79972echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79973echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79974if test `eval echo '${'$as_ac_var'}'` = yes; then
79975  cat >>confdefs.h <<_ACEOF
79976#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79977_ACEOF
79978
79979fi
79980done
79981
79982  else
79983
79984  echo "$as_me:$LINENO: checking for _finite declaration" >&5
79985echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79986  if test x${glibcxx_cv_func__finite_use+set} != xset; then
79987    if test "${glibcxx_cv_func__finite_use+set}" = set; then
79988  echo $ECHO_N "(cached) $ECHO_C" >&6
79989else
79990
79991
79992
79993      ac_ext=cc
79994ac_cpp='$CXXCPP $CPPFLAGS'
79995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79998
79999      cat >conftest.$ac_ext <<_ACEOF
80000/* confdefs.h.  */
80001_ACEOF
80002cat confdefs.h >>conftest.$ac_ext
80003cat >>conftest.$ac_ext <<_ACEOF
80004/* end confdefs.h.  */
80005#include <math.h>
80006		      #ifdef HAVE_IEEEFP_H
80007		      #include <ieeefp.h>
80008		      #endif
80009
80010int
80011main ()
80012{
80013 _finite(0);
80014  ;
80015  return 0;
80016}
80017_ACEOF
80018rm -f conftest.$ac_objext
80019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80020  (eval $ac_compile) 2>conftest.er1
80021  ac_status=$?
80022  grep -v '^ *+' conftest.er1 >conftest.err
80023  rm -f conftest.er1
80024  cat conftest.err >&5
80025  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026  (exit $ac_status); } &&
80027	 { ac_try='test -z "$ac_cxx_werror_flag"
80028			 || test ! -s conftest.err'
80029  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80030  (eval $ac_try) 2>&5
80031  ac_status=$?
80032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80033  (exit $ac_status); }; } &&
80034	 { ac_try='test -s conftest.$ac_objext'
80035  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80036  (eval $ac_try) 2>&5
80037  ac_status=$?
80038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80039  (exit $ac_status); }; }; then
80040  glibcxx_cv_func__finite_use=yes
80041else
80042  echo "$as_me: failed program was:" >&5
80043sed 's/^/| /' conftest.$ac_ext >&5
80044
80045glibcxx_cv_func__finite_use=no
80046fi
80047rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80048      ac_ext=c
80049ac_cpp='$CPP $CPPFLAGS'
80050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80052ac_compiler_gnu=$ac_cv_c_compiler_gnu
80053
80054
80055fi
80056
80057  fi
80058  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
80059echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
80060
80061    if test x$glibcxx_cv_func__finite_use = x"yes"; then
80062
80063for ac_func in _finite
80064do
80065as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80066echo "$as_me:$LINENO: checking for $ac_func" >&5
80067echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80068if eval "test \"\${$as_ac_var+set}\" = set"; then
80069  echo $ECHO_N "(cached) $ECHO_C" >&6
80070else
80071  if test x$gcc_no_link = xyes; then
80072  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80073echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80074   { (exit 1); exit 1; }; }
80075fi
80076cat >conftest.$ac_ext <<_ACEOF
80077/* confdefs.h.  */
80078_ACEOF
80079cat confdefs.h >>conftest.$ac_ext
80080cat >>conftest.$ac_ext <<_ACEOF
80081/* end confdefs.h.  */
80082/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80083   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80084#define $ac_func innocuous_$ac_func
80085
80086/* System header to define __stub macros and hopefully few prototypes,
80087    which can conflict with char $ac_func (); below.
80088    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80089    <limits.h> exists even on freestanding compilers.  */
80090
80091#ifdef __STDC__
80092# include <limits.h>
80093#else
80094# include <assert.h>
80095#endif
80096
80097#undef $ac_func
80098
80099/* Override any gcc2 internal prototype to avoid an error.  */
80100#ifdef __cplusplus
80101extern "C"
80102{
80103#endif
80104/* We use char because int might match the return type of a gcc2
80105   builtin and then its argument prototype would still apply.  */
80106char $ac_func ();
80107/* The GNU C library defines this for functions which it implements
80108    to always fail with ENOSYS.  Some functions are actually named
80109    something starting with __ and the normal name is an alias.  */
80110#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80111choke me
80112#else
80113char (*f) () = $ac_func;
80114#endif
80115#ifdef __cplusplus
80116}
80117#endif
80118
80119int
80120main ()
80121{
80122return f != $ac_func;
80123  ;
80124  return 0;
80125}
80126_ACEOF
80127rm -f conftest.$ac_objext conftest$ac_exeext
80128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80129  (eval $ac_link) 2>conftest.er1
80130  ac_status=$?
80131  grep -v '^ *+' conftest.er1 >conftest.err
80132  rm -f conftest.er1
80133  cat conftest.err >&5
80134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80135  (exit $ac_status); } &&
80136	 { ac_try='test -z "$ac_c_werror_flag"
80137			 || test ! -s conftest.err'
80138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80139  (eval $ac_try) 2>&5
80140  ac_status=$?
80141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80142  (exit $ac_status); }; } &&
80143	 { ac_try='test -s conftest$ac_exeext'
80144  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145  (eval $ac_try) 2>&5
80146  ac_status=$?
80147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148  (exit $ac_status); }; }; then
80149  eval "$as_ac_var=yes"
80150else
80151  echo "$as_me: failed program was:" >&5
80152sed 's/^/| /' conftest.$ac_ext >&5
80153
80154eval "$as_ac_var=no"
80155fi
80156rm -f conftest.err conftest.$ac_objext \
80157      conftest$ac_exeext conftest.$ac_ext
80158fi
80159echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80160echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80161if test `eval echo '${'$as_ac_var'}'` = yes; then
80162  cat >>confdefs.h <<_ACEOF
80163#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80164_ACEOF
80165
80166fi
80167done
80168
80169    fi
80170  fi
80171
80172
80173
80174
80175
80176
80177  echo "$as_me:$LINENO: checking for copysign declaration" >&5
80178echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
80179  if test x${glibcxx_cv_func_copysign_use+set} != xset; then
80180    if test "${glibcxx_cv_func_copysign_use+set}" = set; then
80181  echo $ECHO_N "(cached) $ECHO_C" >&6
80182else
80183
80184
80185
80186      ac_ext=cc
80187ac_cpp='$CXXCPP $CPPFLAGS'
80188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80191
80192      cat >conftest.$ac_ext <<_ACEOF
80193/* confdefs.h.  */
80194_ACEOF
80195cat confdefs.h >>conftest.$ac_ext
80196cat >>conftest.$ac_ext <<_ACEOF
80197/* end confdefs.h.  */
80198#include <math.h>
80199int
80200main ()
80201{
80202 copysign(0, 0);
80203  ;
80204  return 0;
80205}
80206_ACEOF
80207rm -f conftest.$ac_objext
80208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80209  (eval $ac_compile) 2>conftest.er1
80210  ac_status=$?
80211  grep -v '^ *+' conftest.er1 >conftest.err
80212  rm -f conftest.er1
80213  cat conftest.err >&5
80214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80215  (exit $ac_status); } &&
80216	 { ac_try='test -z "$ac_cxx_werror_flag"
80217			 || test ! -s conftest.err'
80218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80219  (eval $ac_try) 2>&5
80220  ac_status=$?
80221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80222  (exit $ac_status); }; } &&
80223	 { ac_try='test -s conftest.$ac_objext'
80224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80225  (eval $ac_try) 2>&5
80226  ac_status=$?
80227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80228  (exit $ac_status); }; }; then
80229  glibcxx_cv_func_copysign_use=yes
80230else
80231  echo "$as_me: failed program was:" >&5
80232sed 's/^/| /' conftest.$ac_ext >&5
80233
80234glibcxx_cv_func_copysign_use=no
80235fi
80236rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80237      ac_ext=c
80238ac_cpp='$CPP $CPPFLAGS'
80239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80241ac_compiler_gnu=$ac_cv_c_compiler_gnu
80242
80243
80244fi
80245
80246  fi
80247  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80248echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80249
80250  if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80251
80252for ac_func in copysign
80253do
80254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80255echo "$as_me:$LINENO: checking for $ac_func" >&5
80256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80257if eval "test \"\${$as_ac_var+set}\" = set"; then
80258  echo $ECHO_N "(cached) $ECHO_C" >&6
80259else
80260  if test x$gcc_no_link = xyes; then
80261  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80262echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80263   { (exit 1); exit 1; }; }
80264fi
80265cat >conftest.$ac_ext <<_ACEOF
80266/* confdefs.h.  */
80267_ACEOF
80268cat confdefs.h >>conftest.$ac_ext
80269cat >>conftest.$ac_ext <<_ACEOF
80270/* end confdefs.h.  */
80271/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80272   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80273#define $ac_func innocuous_$ac_func
80274
80275/* System header to define __stub macros and hopefully few prototypes,
80276    which can conflict with char $ac_func (); below.
80277    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80278    <limits.h> exists even on freestanding compilers.  */
80279
80280#ifdef __STDC__
80281# include <limits.h>
80282#else
80283# include <assert.h>
80284#endif
80285
80286#undef $ac_func
80287
80288/* Override any gcc2 internal prototype to avoid an error.  */
80289#ifdef __cplusplus
80290extern "C"
80291{
80292#endif
80293/* We use char because int might match the return type of a gcc2
80294   builtin and then its argument prototype would still apply.  */
80295char $ac_func ();
80296/* The GNU C library defines this for functions which it implements
80297    to always fail with ENOSYS.  Some functions are actually named
80298    something starting with __ and the normal name is an alias.  */
80299#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80300choke me
80301#else
80302char (*f) () = $ac_func;
80303#endif
80304#ifdef __cplusplus
80305}
80306#endif
80307
80308int
80309main ()
80310{
80311return f != $ac_func;
80312  ;
80313  return 0;
80314}
80315_ACEOF
80316rm -f conftest.$ac_objext conftest$ac_exeext
80317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80318  (eval $ac_link) 2>conftest.er1
80319  ac_status=$?
80320  grep -v '^ *+' conftest.er1 >conftest.err
80321  rm -f conftest.er1
80322  cat conftest.err >&5
80323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80324  (exit $ac_status); } &&
80325	 { ac_try='test -z "$ac_c_werror_flag"
80326			 || test ! -s conftest.err'
80327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80328  (eval $ac_try) 2>&5
80329  ac_status=$?
80330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80331  (exit $ac_status); }; } &&
80332	 { ac_try='test -s conftest$ac_exeext'
80333  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80334  (eval $ac_try) 2>&5
80335  ac_status=$?
80336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80337  (exit $ac_status); }; }; then
80338  eval "$as_ac_var=yes"
80339else
80340  echo "$as_me: failed program was:" >&5
80341sed 's/^/| /' conftest.$ac_ext >&5
80342
80343eval "$as_ac_var=no"
80344fi
80345rm -f conftest.err conftest.$ac_objext \
80346      conftest$ac_exeext conftest.$ac_ext
80347fi
80348echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80349echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80350if test `eval echo '${'$as_ac_var'}'` = yes; then
80351  cat >>confdefs.h <<_ACEOF
80352#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80353_ACEOF
80354
80355fi
80356done
80357
80358  else
80359
80360  echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80361echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80362  if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80363    if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80364  echo $ECHO_N "(cached) $ECHO_C" >&6
80365else
80366
80367
80368
80369      ac_ext=cc
80370ac_cpp='$CXXCPP $CPPFLAGS'
80371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80374
80375      cat >conftest.$ac_ext <<_ACEOF
80376/* confdefs.h.  */
80377_ACEOF
80378cat confdefs.h >>conftest.$ac_ext
80379cat >>conftest.$ac_ext <<_ACEOF
80380/* end confdefs.h.  */
80381#include <math.h>
80382int
80383main ()
80384{
80385 _copysign(0, 0);
80386  ;
80387  return 0;
80388}
80389_ACEOF
80390rm -f conftest.$ac_objext
80391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80392  (eval $ac_compile) 2>conftest.er1
80393  ac_status=$?
80394  grep -v '^ *+' conftest.er1 >conftest.err
80395  rm -f conftest.er1
80396  cat conftest.err >&5
80397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80398  (exit $ac_status); } &&
80399	 { ac_try='test -z "$ac_cxx_werror_flag"
80400			 || test ! -s conftest.err'
80401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80402  (eval $ac_try) 2>&5
80403  ac_status=$?
80404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80405  (exit $ac_status); }; } &&
80406	 { ac_try='test -s conftest.$ac_objext'
80407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80408  (eval $ac_try) 2>&5
80409  ac_status=$?
80410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80411  (exit $ac_status); }; }; then
80412  glibcxx_cv_func__copysign_use=yes
80413else
80414  echo "$as_me: failed program was:" >&5
80415sed 's/^/| /' conftest.$ac_ext >&5
80416
80417glibcxx_cv_func__copysign_use=no
80418fi
80419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80420      ac_ext=c
80421ac_cpp='$CPP $CPPFLAGS'
80422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80424ac_compiler_gnu=$ac_cv_c_compiler_gnu
80425
80426
80427fi
80428
80429  fi
80430  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80431echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80432
80433    if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80434
80435for ac_func in _copysign
80436do
80437as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80438echo "$as_me:$LINENO: checking for $ac_func" >&5
80439echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80440if eval "test \"\${$as_ac_var+set}\" = set"; then
80441  echo $ECHO_N "(cached) $ECHO_C" >&6
80442else
80443  if test x$gcc_no_link = xyes; then
80444  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80445echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80446   { (exit 1); exit 1; }; }
80447fi
80448cat >conftest.$ac_ext <<_ACEOF
80449/* confdefs.h.  */
80450_ACEOF
80451cat confdefs.h >>conftest.$ac_ext
80452cat >>conftest.$ac_ext <<_ACEOF
80453/* end confdefs.h.  */
80454/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80455   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80456#define $ac_func innocuous_$ac_func
80457
80458/* System header to define __stub macros and hopefully few prototypes,
80459    which can conflict with char $ac_func (); below.
80460    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80461    <limits.h> exists even on freestanding compilers.  */
80462
80463#ifdef __STDC__
80464# include <limits.h>
80465#else
80466# include <assert.h>
80467#endif
80468
80469#undef $ac_func
80470
80471/* Override any gcc2 internal prototype to avoid an error.  */
80472#ifdef __cplusplus
80473extern "C"
80474{
80475#endif
80476/* We use char because int might match the return type of a gcc2
80477   builtin and then its argument prototype would still apply.  */
80478char $ac_func ();
80479/* The GNU C library defines this for functions which it implements
80480    to always fail with ENOSYS.  Some functions are actually named
80481    something starting with __ and the normal name is an alias.  */
80482#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80483choke me
80484#else
80485char (*f) () = $ac_func;
80486#endif
80487#ifdef __cplusplus
80488}
80489#endif
80490
80491int
80492main ()
80493{
80494return f != $ac_func;
80495  ;
80496  return 0;
80497}
80498_ACEOF
80499rm -f conftest.$ac_objext conftest$ac_exeext
80500if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80501  (eval $ac_link) 2>conftest.er1
80502  ac_status=$?
80503  grep -v '^ *+' conftest.er1 >conftest.err
80504  rm -f conftest.er1
80505  cat conftest.err >&5
80506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80507  (exit $ac_status); } &&
80508	 { ac_try='test -z "$ac_c_werror_flag"
80509			 || test ! -s conftest.err'
80510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80511  (eval $ac_try) 2>&5
80512  ac_status=$?
80513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80514  (exit $ac_status); }; } &&
80515	 { ac_try='test -s conftest$ac_exeext'
80516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80517  (eval $ac_try) 2>&5
80518  ac_status=$?
80519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80520  (exit $ac_status); }; }; then
80521  eval "$as_ac_var=yes"
80522else
80523  echo "$as_me: failed program was:" >&5
80524sed 's/^/| /' conftest.$ac_ext >&5
80525
80526eval "$as_ac_var=no"
80527fi
80528rm -f conftest.err conftest.$ac_objext \
80529      conftest$ac_exeext conftest.$ac_ext
80530fi
80531echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80532echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80533if test `eval echo '${'$as_ac_var'}'` = yes; then
80534  cat >>confdefs.h <<_ACEOF
80535#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80536_ACEOF
80537
80538fi
80539done
80540
80541    fi
80542  fi
80543
80544
80545
80546
80547
80548
80549  echo "$as_me:$LINENO: checking for sincos declaration" >&5
80550echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80551  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80552    if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80553  echo $ECHO_N "(cached) $ECHO_C" >&6
80554else
80555
80556
80557
80558      ac_ext=cc
80559ac_cpp='$CXXCPP $CPPFLAGS'
80560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80563
80564      cat >conftest.$ac_ext <<_ACEOF
80565/* confdefs.h.  */
80566_ACEOF
80567cat confdefs.h >>conftest.$ac_ext
80568cat >>conftest.$ac_ext <<_ACEOF
80569/* end confdefs.h.  */
80570#include <math.h>
80571int
80572main ()
80573{
80574 sincos(0, 0, 0);
80575  ;
80576  return 0;
80577}
80578_ACEOF
80579rm -f conftest.$ac_objext
80580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80581  (eval $ac_compile) 2>conftest.er1
80582  ac_status=$?
80583  grep -v '^ *+' conftest.er1 >conftest.err
80584  rm -f conftest.er1
80585  cat conftest.err >&5
80586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80587  (exit $ac_status); } &&
80588	 { ac_try='test -z "$ac_cxx_werror_flag"
80589			 || test ! -s conftest.err'
80590  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80591  (eval $ac_try) 2>&5
80592  ac_status=$?
80593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80594  (exit $ac_status); }; } &&
80595	 { ac_try='test -s conftest.$ac_objext'
80596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80597  (eval $ac_try) 2>&5
80598  ac_status=$?
80599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80600  (exit $ac_status); }; }; then
80601  glibcxx_cv_func_sincos_use=yes
80602else
80603  echo "$as_me: failed program was:" >&5
80604sed 's/^/| /' conftest.$ac_ext >&5
80605
80606glibcxx_cv_func_sincos_use=no
80607fi
80608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80609      ac_ext=c
80610ac_cpp='$CPP $CPPFLAGS'
80611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80613ac_compiler_gnu=$ac_cv_c_compiler_gnu
80614
80615
80616fi
80617
80618  fi
80619  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80620echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80621
80622  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80623
80624for ac_func in sincos
80625do
80626as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80627echo "$as_me:$LINENO: checking for $ac_func" >&5
80628echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80629if eval "test \"\${$as_ac_var+set}\" = set"; then
80630  echo $ECHO_N "(cached) $ECHO_C" >&6
80631else
80632  if test x$gcc_no_link = xyes; then
80633  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80634echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80635   { (exit 1); exit 1; }; }
80636fi
80637cat >conftest.$ac_ext <<_ACEOF
80638/* confdefs.h.  */
80639_ACEOF
80640cat confdefs.h >>conftest.$ac_ext
80641cat >>conftest.$ac_ext <<_ACEOF
80642/* end confdefs.h.  */
80643/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80644   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80645#define $ac_func innocuous_$ac_func
80646
80647/* System header to define __stub macros and hopefully few prototypes,
80648    which can conflict with char $ac_func (); below.
80649    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80650    <limits.h> exists even on freestanding compilers.  */
80651
80652#ifdef __STDC__
80653# include <limits.h>
80654#else
80655# include <assert.h>
80656#endif
80657
80658#undef $ac_func
80659
80660/* Override any gcc2 internal prototype to avoid an error.  */
80661#ifdef __cplusplus
80662extern "C"
80663{
80664#endif
80665/* We use char because int might match the return type of a gcc2
80666   builtin and then its argument prototype would still apply.  */
80667char $ac_func ();
80668/* The GNU C library defines this for functions which it implements
80669    to always fail with ENOSYS.  Some functions are actually named
80670    something starting with __ and the normal name is an alias.  */
80671#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80672choke me
80673#else
80674char (*f) () = $ac_func;
80675#endif
80676#ifdef __cplusplus
80677}
80678#endif
80679
80680int
80681main ()
80682{
80683return f != $ac_func;
80684  ;
80685  return 0;
80686}
80687_ACEOF
80688rm -f conftest.$ac_objext conftest$ac_exeext
80689if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80690  (eval $ac_link) 2>conftest.er1
80691  ac_status=$?
80692  grep -v '^ *+' conftest.er1 >conftest.err
80693  rm -f conftest.er1
80694  cat conftest.err >&5
80695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80696  (exit $ac_status); } &&
80697	 { ac_try='test -z "$ac_c_werror_flag"
80698			 || test ! -s conftest.err'
80699  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80700  (eval $ac_try) 2>&5
80701  ac_status=$?
80702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80703  (exit $ac_status); }; } &&
80704	 { ac_try='test -s conftest$ac_exeext'
80705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80706  (eval $ac_try) 2>&5
80707  ac_status=$?
80708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80709  (exit $ac_status); }; }; then
80710  eval "$as_ac_var=yes"
80711else
80712  echo "$as_me: failed program was:" >&5
80713sed 's/^/| /' conftest.$ac_ext >&5
80714
80715eval "$as_ac_var=no"
80716fi
80717rm -f conftest.err conftest.$ac_objext \
80718      conftest$ac_exeext conftest.$ac_ext
80719fi
80720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80721echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80722if test `eval echo '${'$as_ac_var'}'` = yes; then
80723  cat >>confdefs.h <<_ACEOF
80724#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80725_ACEOF
80726
80727fi
80728done
80729
80730  else
80731
80732  echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80733echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80734  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80735    if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80736  echo $ECHO_N "(cached) $ECHO_C" >&6
80737else
80738
80739
80740
80741      ac_ext=cc
80742ac_cpp='$CXXCPP $CPPFLAGS'
80743ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80744ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80745ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80746
80747      cat >conftest.$ac_ext <<_ACEOF
80748/* confdefs.h.  */
80749_ACEOF
80750cat confdefs.h >>conftest.$ac_ext
80751cat >>conftest.$ac_ext <<_ACEOF
80752/* end confdefs.h.  */
80753#include <math.h>
80754int
80755main ()
80756{
80757 _sincos(0, 0, 0);
80758  ;
80759  return 0;
80760}
80761_ACEOF
80762rm -f conftest.$ac_objext
80763if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80764  (eval $ac_compile) 2>conftest.er1
80765  ac_status=$?
80766  grep -v '^ *+' conftest.er1 >conftest.err
80767  rm -f conftest.er1
80768  cat conftest.err >&5
80769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80770  (exit $ac_status); } &&
80771	 { ac_try='test -z "$ac_cxx_werror_flag"
80772			 || test ! -s conftest.err'
80773  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80774  (eval $ac_try) 2>&5
80775  ac_status=$?
80776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80777  (exit $ac_status); }; } &&
80778	 { ac_try='test -s conftest.$ac_objext'
80779  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80780  (eval $ac_try) 2>&5
80781  ac_status=$?
80782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80783  (exit $ac_status); }; }; then
80784  glibcxx_cv_func__sincos_use=yes
80785else
80786  echo "$as_me: failed program was:" >&5
80787sed 's/^/| /' conftest.$ac_ext >&5
80788
80789glibcxx_cv_func__sincos_use=no
80790fi
80791rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80792      ac_ext=c
80793ac_cpp='$CPP $CPPFLAGS'
80794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80796ac_compiler_gnu=$ac_cv_c_compiler_gnu
80797
80798
80799fi
80800
80801  fi
80802  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80803echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80804
80805    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80806
80807for ac_func in _sincos
80808do
80809as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80810echo "$as_me:$LINENO: checking for $ac_func" >&5
80811echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80812if eval "test \"\${$as_ac_var+set}\" = set"; then
80813  echo $ECHO_N "(cached) $ECHO_C" >&6
80814else
80815  if test x$gcc_no_link = xyes; then
80816  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80817echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80818   { (exit 1); exit 1; }; }
80819fi
80820cat >conftest.$ac_ext <<_ACEOF
80821/* confdefs.h.  */
80822_ACEOF
80823cat confdefs.h >>conftest.$ac_ext
80824cat >>conftest.$ac_ext <<_ACEOF
80825/* end confdefs.h.  */
80826/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80827   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80828#define $ac_func innocuous_$ac_func
80829
80830/* System header to define __stub macros and hopefully few prototypes,
80831    which can conflict with char $ac_func (); below.
80832    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80833    <limits.h> exists even on freestanding compilers.  */
80834
80835#ifdef __STDC__
80836# include <limits.h>
80837#else
80838# include <assert.h>
80839#endif
80840
80841#undef $ac_func
80842
80843/* Override any gcc2 internal prototype to avoid an error.  */
80844#ifdef __cplusplus
80845extern "C"
80846{
80847#endif
80848/* We use char because int might match the return type of a gcc2
80849   builtin and then its argument prototype would still apply.  */
80850char $ac_func ();
80851/* The GNU C library defines this for functions which it implements
80852    to always fail with ENOSYS.  Some functions are actually named
80853    something starting with __ and the normal name is an alias.  */
80854#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80855choke me
80856#else
80857char (*f) () = $ac_func;
80858#endif
80859#ifdef __cplusplus
80860}
80861#endif
80862
80863int
80864main ()
80865{
80866return f != $ac_func;
80867  ;
80868  return 0;
80869}
80870_ACEOF
80871rm -f conftest.$ac_objext conftest$ac_exeext
80872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80873  (eval $ac_link) 2>conftest.er1
80874  ac_status=$?
80875  grep -v '^ *+' conftest.er1 >conftest.err
80876  rm -f conftest.er1
80877  cat conftest.err >&5
80878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879  (exit $ac_status); } &&
80880	 { ac_try='test -z "$ac_c_werror_flag"
80881			 || test ! -s conftest.err'
80882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80883  (eval $ac_try) 2>&5
80884  ac_status=$?
80885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80886  (exit $ac_status); }; } &&
80887	 { ac_try='test -s conftest$ac_exeext'
80888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80889  (eval $ac_try) 2>&5
80890  ac_status=$?
80891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80892  (exit $ac_status); }; }; then
80893  eval "$as_ac_var=yes"
80894else
80895  echo "$as_me: failed program was:" >&5
80896sed 's/^/| /' conftest.$ac_ext >&5
80897
80898eval "$as_ac_var=no"
80899fi
80900rm -f conftest.err conftest.$ac_objext \
80901      conftest$ac_exeext conftest.$ac_ext
80902fi
80903echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80904echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80905if test `eval echo '${'$as_ac_var'}'` = yes; then
80906  cat >>confdefs.h <<_ACEOF
80907#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80908_ACEOF
80909
80910fi
80911done
80912
80913    fi
80914  fi
80915
80916
80917
80918
80919
80920
80921  echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80922echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80923  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80924    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80925  echo $ECHO_N "(cached) $ECHO_C" >&6
80926else
80927
80928
80929
80930      ac_ext=cc
80931ac_cpp='$CXXCPP $CPPFLAGS'
80932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80935
80936      cat >conftest.$ac_ext <<_ACEOF
80937/* confdefs.h.  */
80938_ACEOF
80939cat confdefs.h >>conftest.$ac_ext
80940cat >>conftest.$ac_ext <<_ACEOF
80941/* end confdefs.h.  */
80942#include <math.h>
80943		      #ifdef HAVE_IEEEFP_H
80944		      #include <ieeefp.h>
80945		      #endif
80946
80947int
80948main ()
80949{
80950 fpclass(0);
80951  ;
80952  return 0;
80953}
80954_ACEOF
80955rm -f conftest.$ac_objext
80956if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80957  (eval $ac_compile) 2>conftest.er1
80958  ac_status=$?
80959  grep -v '^ *+' conftest.er1 >conftest.err
80960  rm -f conftest.er1
80961  cat conftest.err >&5
80962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80963  (exit $ac_status); } &&
80964	 { ac_try='test -z "$ac_cxx_werror_flag"
80965			 || test ! -s conftest.err'
80966  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80967  (eval $ac_try) 2>&5
80968  ac_status=$?
80969  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80970  (exit $ac_status); }; } &&
80971	 { ac_try='test -s conftest.$ac_objext'
80972  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80973  (eval $ac_try) 2>&5
80974  ac_status=$?
80975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80976  (exit $ac_status); }; }; then
80977  glibcxx_cv_func_fpclass_use=yes
80978else
80979  echo "$as_me: failed program was:" >&5
80980sed 's/^/| /' conftest.$ac_ext >&5
80981
80982glibcxx_cv_func_fpclass_use=no
80983fi
80984rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80985      ac_ext=c
80986ac_cpp='$CPP $CPPFLAGS'
80987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80989ac_compiler_gnu=$ac_cv_c_compiler_gnu
80990
80991
80992fi
80993
80994  fi
80995  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80996echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80997
80998  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80999
81000for ac_func in fpclass
81001do
81002as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81003echo "$as_me:$LINENO: checking for $ac_func" >&5
81004echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81005if eval "test \"\${$as_ac_var+set}\" = set"; then
81006  echo $ECHO_N "(cached) $ECHO_C" >&6
81007else
81008  if test x$gcc_no_link = xyes; then
81009  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81010echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81011   { (exit 1); exit 1; }; }
81012fi
81013cat >conftest.$ac_ext <<_ACEOF
81014/* confdefs.h.  */
81015_ACEOF
81016cat confdefs.h >>conftest.$ac_ext
81017cat >>conftest.$ac_ext <<_ACEOF
81018/* end confdefs.h.  */
81019/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81020   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81021#define $ac_func innocuous_$ac_func
81022
81023/* System header to define __stub macros and hopefully few prototypes,
81024    which can conflict with char $ac_func (); below.
81025    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81026    <limits.h> exists even on freestanding compilers.  */
81027
81028#ifdef __STDC__
81029# include <limits.h>
81030#else
81031# include <assert.h>
81032#endif
81033
81034#undef $ac_func
81035
81036/* Override any gcc2 internal prototype to avoid an error.  */
81037#ifdef __cplusplus
81038extern "C"
81039{
81040#endif
81041/* We use char because int might match the return type of a gcc2
81042   builtin and then its argument prototype would still apply.  */
81043char $ac_func ();
81044/* The GNU C library defines this for functions which it implements
81045    to always fail with ENOSYS.  Some functions are actually named
81046    something starting with __ and the normal name is an alias.  */
81047#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81048choke me
81049#else
81050char (*f) () = $ac_func;
81051#endif
81052#ifdef __cplusplus
81053}
81054#endif
81055
81056int
81057main ()
81058{
81059return f != $ac_func;
81060  ;
81061  return 0;
81062}
81063_ACEOF
81064rm -f conftest.$ac_objext conftest$ac_exeext
81065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81066  (eval $ac_link) 2>conftest.er1
81067  ac_status=$?
81068  grep -v '^ *+' conftest.er1 >conftest.err
81069  rm -f conftest.er1
81070  cat conftest.err >&5
81071  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81072  (exit $ac_status); } &&
81073	 { ac_try='test -z "$ac_c_werror_flag"
81074			 || test ! -s conftest.err'
81075  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81076  (eval $ac_try) 2>&5
81077  ac_status=$?
81078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81079  (exit $ac_status); }; } &&
81080	 { ac_try='test -s conftest$ac_exeext'
81081  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81082  (eval $ac_try) 2>&5
81083  ac_status=$?
81084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81085  (exit $ac_status); }; }; then
81086  eval "$as_ac_var=yes"
81087else
81088  echo "$as_me: failed program was:" >&5
81089sed 's/^/| /' conftest.$ac_ext >&5
81090
81091eval "$as_ac_var=no"
81092fi
81093rm -f conftest.err conftest.$ac_objext \
81094      conftest$ac_exeext conftest.$ac_ext
81095fi
81096echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81097echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81098if test `eval echo '${'$as_ac_var'}'` = yes; then
81099  cat >>confdefs.h <<_ACEOF
81100#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81101_ACEOF
81102
81103fi
81104done
81105
81106  else
81107
81108  echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
81109echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
81110  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
81111    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
81112  echo $ECHO_N "(cached) $ECHO_C" >&6
81113else
81114
81115
81116
81117      ac_ext=cc
81118ac_cpp='$CXXCPP $CPPFLAGS'
81119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81122
81123      cat >conftest.$ac_ext <<_ACEOF
81124/* confdefs.h.  */
81125_ACEOF
81126cat confdefs.h >>conftest.$ac_ext
81127cat >>conftest.$ac_ext <<_ACEOF
81128/* end confdefs.h.  */
81129#include <math.h>
81130		      #ifdef HAVE_IEEEFP_H
81131		      #include <ieeefp.h>
81132		      #endif
81133
81134int
81135main ()
81136{
81137 _fpclass(0);
81138  ;
81139  return 0;
81140}
81141_ACEOF
81142rm -f conftest.$ac_objext
81143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81144  (eval $ac_compile) 2>conftest.er1
81145  ac_status=$?
81146  grep -v '^ *+' conftest.er1 >conftest.err
81147  rm -f conftest.er1
81148  cat conftest.err >&5
81149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81150  (exit $ac_status); } &&
81151	 { ac_try='test -z "$ac_cxx_werror_flag"
81152			 || test ! -s conftest.err'
81153  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81154  (eval $ac_try) 2>&5
81155  ac_status=$?
81156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81157  (exit $ac_status); }; } &&
81158	 { ac_try='test -s conftest.$ac_objext'
81159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81160  (eval $ac_try) 2>&5
81161  ac_status=$?
81162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81163  (exit $ac_status); }; }; then
81164  glibcxx_cv_func__fpclass_use=yes
81165else
81166  echo "$as_me: failed program was:" >&5
81167sed 's/^/| /' conftest.$ac_ext >&5
81168
81169glibcxx_cv_func__fpclass_use=no
81170fi
81171rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81172      ac_ext=c
81173ac_cpp='$CPP $CPPFLAGS'
81174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81176ac_compiler_gnu=$ac_cv_c_compiler_gnu
81177
81178
81179fi
81180
81181  fi
81182  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
81183echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
81184
81185    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
81186
81187for ac_func in _fpclass
81188do
81189as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81190echo "$as_me:$LINENO: checking for $ac_func" >&5
81191echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81192if eval "test \"\${$as_ac_var+set}\" = set"; then
81193  echo $ECHO_N "(cached) $ECHO_C" >&6
81194else
81195  if test x$gcc_no_link = xyes; then
81196  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81197echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81198   { (exit 1); exit 1; }; }
81199fi
81200cat >conftest.$ac_ext <<_ACEOF
81201/* confdefs.h.  */
81202_ACEOF
81203cat confdefs.h >>conftest.$ac_ext
81204cat >>conftest.$ac_ext <<_ACEOF
81205/* end confdefs.h.  */
81206/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81207   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81208#define $ac_func innocuous_$ac_func
81209
81210/* System header to define __stub macros and hopefully few prototypes,
81211    which can conflict with char $ac_func (); below.
81212    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81213    <limits.h> exists even on freestanding compilers.  */
81214
81215#ifdef __STDC__
81216# include <limits.h>
81217#else
81218# include <assert.h>
81219#endif
81220
81221#undef $ac_func
81222
81223/* Override any gcc2 internal prototype to avoid an error.  */
81224#ifdef __cplusplus
81225extern "C"
81226{
81227#endif
81228/* We use char because int might match the return type of a gcc2
81229   builtin and then its argument prototype would still apply.  */
81230char $ac_func ();
81231/* The GNU C library defines this for functions which it implements
81232    to always fail with ENOSYS.  Some functions are actually named
81233    something starting with __ and the normal name is an alias.  */
81234#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81235choke me
81236#else
81237char (*f) () = $ac_func;
81238#endif
81239#ifdef __cplusplus
81240}
81241#endif
81242
81243int
81244main ()
81245{
81246return f != $ac_func;
81247  ;
81248  return 0;
81249}
81250_ACEOF
81251rm -f conftest.$ac_objext conftest$ac_exeext
81252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81253  (eval $ac_link) 2>conftest.er1
81254  ac_status=$?
81255  grep -v '^ *+' conftest.er1 >conftest.err
81256  rm -f conftest.er1
81257  cat conftest.err >&5
81258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81259  (exit $ac_status); } &&
81260	 { ac_try='test -z "$ac_c_werror_flag"
81261			 || test ! -s conftest.err'
81262  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81263  (eval $ac_try) 2>&5
81264  ac_status=$?
81265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81266  (exit $ac_status); }; } &&
81267	 { ac_try='test -s conftest$ac_exeext'
81268  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81269  (eval $ac_try) 2>&5
81270  ac_status=$?
81271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81272  (exit $ac_status); }; }; then
81273  eval "$as_ac_var=yes"
81274else
81275  echo "$as_me: failed program was:" >&5
81276sed 's/^/| /' conftest.$ac_ext >&5
81277
81278eval "$as_ac_var=no"
81279fi
81280rm -f conftest.err conftest.$ac_objext \
81281      conftest$ac_exeext conftest.$ac_ext
81282fi
81283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81284echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81285if test `eval echo '${'$as_ac_var'}'` = yes; then
81286  cat >>confdefs.h <<_ACEOF
81287#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81288_ACEOF
81289
81290fi
81291done
81292
81293    fi
81294  fi
81295
81296
81297
81298
81299
81300
81301  echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81302echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81303  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81304    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81305  echo $ECHO_N "(cached) $ECHO_C" >&6
81306else
81307
81308
81309
81310      ac_ext=cc
81311ac_cpp='$CXXCPP $CPPFLAGS'
81312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81315
81316      cat >conftest.$ac_ext <<_ACEOF
81317/* confdefs.h.  */
81318_ACEOF
81319cat confdefs.h >>conftest.$ac_ext
81320cat >>conftest.$ac_ext <<_ACEOF
81321/* end confdefs.h.  */
81322#include <math.h>
81323		      #ifdef HAVE_IEEEFP_H
81324		      #include <ieeefp.h>
81325		      #endif
81326
81327int
81328main ()
81329{
81330 qfpclass(0);
81331  ;
81332  return 0;
81333}
81334_ACEOF
81335rm -f conftest.$ac_objext
81336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81337  (eval $ac_compile) 2>conftest.er1
81338  ac_status=$?
81339  grep -v '^ *+' conftest.er1 >conftest.err
81340  rm -f conftest.er1
81341  cat conftest.err >&5
81342  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81343  (exit $ac_status); } &&
81344	 { ac_try='test -z "$ac_cxx_werror_flag"
81345			 || test ! -s conftest.err'
81346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81347  (eval $ac_try) 2>&5
81348  ac_status=$?
81349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81350  (exit $ac_status); }; } &&
81351	 { ac_try='test -s conftest.$ac_objext'
81352  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81353  (eval $ac_try) 2>&5
81354  ac_status=$?
81355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81356  (exit $ac_status); }; }; then
81357  glibcxx_cv_func_qfpclass_use=yes
81358else
81359  echo "$as_me: failed program was:" >&5
81360sed 's/^/| /' conftest.$ac_ext >&5
81361
81362glibcxx_cv_func_qfpclass_use=no
81363fi
81364rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81365      ac_ext=c
81366ac_cpp='$CPP $CPPFLAGS'
81367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81369ac_compiler_gnu=$ac_cv_c_compiler_gnu
81370
81371
81372fi
81373
81374  fi
81375  echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81376echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81377
81378  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81379
81380for ac_func in qfpclass
81381do
81382as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81383echo "$as_me:$LINENO: checking for $ac_func" >&5
81384echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81385if eval "test \"\${$as_ac_var+set}\" = set"; then
81386  echo $ECHO_N "(cached) $ECHO_C" >&6
81387else
81388  if test x$gcc_no_link = xyes; then
81389  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81390echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81391   { (exit 1); exit 1; }; }
81392fi
81393cat >conftest.$ac_ext <<_ACEOF
81394/* confdefs.h.  */
81395_ACEOF
81396cat confdefs.h >>conftest.$ac_ext
81397cat >>conftest.$ac_ext <<_ACEOF
81398/* end confdefs.h.  */
81399/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81400   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81401#define $ac_func innocuous_$ac_func
81402
81403/* System header to define __stub macros and hopefully few prototypes,
81404    which can conflict with char $ac_func (); below.
81405    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81406    <limits.h> exists even on freestanding compilers.  */
81407
81408#ifdef __STDC__
81409# include <limits.h>
81410#else
81411# include <assert.h>
81412#endif
81413
81414#undef $ac_func
81415
81416/* Override any gcc2 internal prototype to avoid an error.  */
81417#ifdef __cplusplus
81418extern "C"
81419{
81420#endif
81421/* We use char because int might match the return type of a gcc2
81422   builtin and then its argument prototype would still apply.  */
81423char $ac_func ();
81424/* The GNU C library defines this for functions which it implements
81425    to always fail with ENOSYS.  Some functions are actually named
81426    something starting with __ and the normal name is an alias.  */
81427#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81428choke me
81429#else
81430char (*f) () = $ac_func;
81431#endif
81432#ifdef __cplusplus
81433}
81434#endif
81435
81436int
81437main ()
81438{
81439return f != $ac_func;
81440  ;
81441  return 0;
81442}
81443_ACEOF
81444rm -f conftest.$ac_objext conftest$ac_exeext
81445if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81446  (eval $ac_link) 2>conftest.er1
81447  ac_status=$?
81448  grep -v '^ *+' conftest.er1 >conftest.err
81449  rm -f conftest.er1
81450  cat conftest.err >&5
81451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81452  (exit $ac_status); } &&
81453	 { ac_try='test -z "$ac_c_werror_flag"
81454			 || test ! -s conftest.err'
81455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81456  (eval $ac_try) 2>&5
81457  ac_status=$?
81458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81459  (exit $ac_status); }; } &&
81460	 { ac_try='test -s conftest$ac_exeext'
81461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81462  (eval $ac_try) 2>&5
81463  ac_status=$?
81464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81465  (exit $ac_status); }; }; then
81466  eval "$as_ac_var=yes"
81467else
81468  echo "$as_me: failed program was:" >&5
81469sed 's/^/| /' conftest.$ac_ext >&5
81470
81471eval "$as_ac_var=no"
81472fi
81473rm -f conftest.err conftest.$ac_objext \
81474      conftest$ac_exeext conftest.$ac_ext
81475fi
81476echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81477echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81478if test `eval echo '${'$as_ac_var'}'` = yes; then
81479  cat >>confdefs.h <<_ACEOF
81480#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81481_ACEOF
81482
81483fi
81484done
81485
81486  else
81487
81488  echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81489echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81490  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81491    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81492  echo $ECHO_N "(cached) $ECHO_C" >&6
81493else
81494
81495
81496
81497      ac_ext=cc
81498ac_cpp='$CXXCPP $CPPFLAGS'
81499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81502
81503      cat >conftest.$ac_ext <<_ACEOF
81504/* confdefs.h.  */
81505_ACEOF
81506cat confdefs.h >>conftest.$ac_ext
81507cat >>conftest.$ac_ext <<_ACEOF
81508/* end confdefs.h.  */
81509#include <math.h>
81510		      #ifdef HAVE_IEEEFP_H
81511		      #include <ieeefp.h>
81512		      #endif
81513
81514int
81515main ()
81516{
81517 _qfpclass(0);
81518  ;
81519  return 0;
81520}
81521_ACEOF
81522rm -f conftest.$ac_objext
81523if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81524  (eval $ac_compile) 2>conftest.er1
81525  ac_status=$?
81526  grep -v '^ *+' conftest.er1 >conftest.err
81527  rm -f conftest.er1
81528  cat conftest.err >&5
81529  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530  (exit $ac_status); } &&
81531	 { ac_try='test -z "$ac_cxx_werror_flag"
81532			 || test ! -s conftest.err'
81533  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81534  (eval $ac_try) 2>&5
81535  ac_status=$?
81536  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537  (exit $ac_status); }; } &&
81538	 { ac_try='test -s conftest.$ac_objext'
81539  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81540  (eval $ac_try) 2>&5
81541  ac_status=$?
81542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81543  (exit $ac_status); }; }; then
81544  glibcxx_cv_func__qfpclass_use=yes
81545else
81546  echo "$as_me: failed program was:" >&5
81547sed 's/^/| /' conftest.$ac_ext >&5
81548
81549glibcxx_cv_func__qfpclass_use=no
81550fi
81551rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81552      ac_ext=c
81553ac_cpp='$CPP $CPPFLAGS'
81554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81556ac_compiler_gnu=$ac_cv_c_compiler_gnu
81557
81558
81559fi
81560
81561  fi
81562  echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81563echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81564
81565    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81566
81567for ac_func in _qfpclass
81568do
81569as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81570echo "$as_me:$LINENO: checking for $ac_func" >&5
81571echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81572if eval "test \"\${$as_ac_var+set}\" = set"; then
81573  echo $ECHO_N "(cached) $ECHO_C" >&6
81574else
81575  if test x$gcc_no_link = xyes; then
81576  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81577echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81578   { (exit 1); exit 1; }; }
81579fi
81580cat >conftest.$ac_ext <<_ACEOF
81581/* confdefs.h.  */
81582_ACEOF
81583cat confdefs.h >>conftest.$ac_ext
81584cat >>conftest.$ac_ext <<_ACEOF
81585/* end confdefs.h.  */
81586/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81587   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81588#define $ac_func innocuous_$ac_func
81589
81590/* System header to define __stub macros and hopefully few prototypes,
81591    which can conflict with char $ac_func (); below.
81592    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81593    <limits.h> exists even on freestanding compilers.  */
81594
81595#ifdef __STDC__
81596# include <limits.h>
81597#else
81598# include <assert.h>
81599#endif
81600
81601#undef $ac_func
81602
81603/* Override any gcc2 internal prototype to avoid an error.  */
81604#ifdef __cplusplus
81605extern "C"
81606{
81607#endif
81608/* We use char because int might match the return type of a gcc2
81609   builtin and then its argument prototype would still apply.  */
81610char $ac_func ();
81611/* The GNU C library defines this for functions which it implements
81612    to always fail with ENOSYS.  Some functions are actually named
81613    something starting with __ and the normal name is an alias.  */
81614#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81615choke me
81616#else
81617char (*f) () = $ac_func;
81618#endif
81619#ifdef __cplusplus
81620}
81621#endif
81622
81623int
81624main ()
81625{
81626return f != $ac_func;
81627  ;
81628  return 0;
81629}
81630_ACEOF
81631rm -f conftest.$ac_objext conftest$ac_exeext
81632if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81633  (eval $ac_link) 2>conftest.er1
81634  ac_status=$?
81635  grep -v '^ *+' conftest.er1 >conftest.err
81636  rm -f conftest.er1
81637  cat conftest.err >&5
81638  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81639  (exit $ac_status); } &&
81640	 { ac_try='test -z "$ac_c_werror_flag"
81641			 || test ! -s conftest.err'
81642  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81643  (eval $ac_try) 2>&5
81644  ac_status=$?
81645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81646  (exit $ac_status); }; } &&
81647	 { ac_try='test -s conftest$ac_exeext'
81648  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81649  (eval $ac_try) 2>&5
81650  ac_status=$?
81651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81652  (exit $ac_status); }; }; then
81653  eval "$as_ac_var=yes"
81654else
81655  echo "$as_me: failed program was:" >&5
81656sed 's/^/| /' conftest.$ac_ext >&5
81657
81658eval "$as_ac_var=no"
81659fi
81660rm -f conftest.err conftest.$ac_objext \
81661      conftest$ac_exeext conftest.$ac_ext
81662fi
81663echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81664echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81665if test `eval echo '${'$as_ac_var'}'` = yes; then
81666  cat >>confdefs.h <<_ACEOF
81667#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81668_ACEOF
81669
81670fi
81671done
81672
81673    fi
81674  fi
81675
81676
81677
81678
81679
81680
81681  echo "$as_me:$LINENO: checking for hypot declaration" >&5
81682echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81683  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81684    if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81685  echo $ECHO_N "(cached) $ECHO_C" >&6
81686else
81687
81688
81689
81690      ac_ext=cc
81691ac_cpp='$CXXCPP $CPPFLAGS'
81692ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81693ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81694ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81695
81696      cat >conftest.$ac_ext <<_ACEOF
81697/* confdefs.h.  */
81698_ACEOF
81699cat confdefs.h >>conftest.$ac_ext
81700cat >>conftest.$ac_ext <<_ACEOF
81701/* end confdefs.h.  */
81702#include <math.h>
81703int
81704main ()
81705{
81706 hypot(0, 0);
81707  ;
81708  return 0;
81709}
81710_ACEOF
81711rm -f conftest.$ac_objext
81712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81713  (eval $ac_compile) 2>conftest.er1
81714  ac_status=$?
81715  grep -v '^ *+' conftest.er1 >conftest.err
81716  rm -f conftest.er1
81717  cat conftest.err >&5
81718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81719  (exit $ac_status); } &&
81720	 { ac_try='test -z "$ac_cxx_werror_flag"
81721			 || test ! -s conftest.err'
81722  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81723  (eval $ac_try) 2>&5
81724  ac_status=$?
81725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81726  (exit $ac_status); }; } &&
81727	 { ac_try='test -s conftest.$ac_objext'
81728  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81729  (eval $ac_try) 2>&5
81730  ac_status=$?
81731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81732  (exit $ac_status); }; }; then
81733  glibcxx_cv_func_hypot_use=yes
81734else
81735  echo "$as_me: failed program was:" >&5
81736sed 's/^/| /' conftest.$ac_ext >&5
81737
81738glibcxx_cv_func_hypot_use=no
81739fi
81740rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81741      ac_ext=c
81742ac_cpp='$CPP $CPPFLAGS'
81743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81745ac_compiler_gnu=$ac_cv_c_compiler_gnu
81746
81747
81748fi
81749
81750  fi
81751  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81752echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81753
81754  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81755
81756for ac_func in hypot
81757do
81758as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81759echo "$as_me:$LINENO: checking for $ac_func" >&5
81760echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81761if eval "test \"\${$as_ac_var+set}\" = set"; then
81762  echo $ECHO_N "(cached) $ECHO_C" >&6
81763else
81764  if test x$gcc_no_link = xyes; then
81765  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81766echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81767   { (exit 1); exit 1; }; }
81768fi
81769cat >conftest.$ac_ext <<_ACEOF
81770/* confdefs.h.  */
81771_ACEOF
81772cat confdefs.h >>conftest.$ac_ext
81773cat >>conftest.$ac_ext <<_ACEOF
81774/* end confdefs.h.  */
81775/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81776   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81777#define $ac_func innocuous_$ac_func
81778
81779/* System header to define __stub macros and hopefully few prototypes,
81780    which can conflict with char $ac_func (); below.
81781    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81782    <limits.h> exists even on freestanding compilers.  */
81783
81784#ifdef __STDC__
81785# include <limits.h>
81786#else
81787# include <assert.h>
81788#endif
81789
81790#undef $ac_func
81791
81792/* Override any gcc2 internal prototype to avoid an error.  */
81793#ifdef __cplusplus
81794extern "C"
81795{
81796#endif
81797/* We use char because int might match the return type of a gcc2
81798   builtin and then its argument prototype would still apply.  */
81799char $ac_func ();
81800/* The GNU C library defines this for functions which it implements
81801    to always fail with ENOSYS.  Some functions are actually named
81802    something starting with __ and the normal name is an alias.  */
81803#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81804choke me
81805#else
81806char (*f) () = $ac_func;
81807#endif
81808#ifdef __cplusplus
81809}
81810#endif
81811
81812int
81813main ()
81814{
81815return f != $ac_func;
81816  ;
81817  return 0;
81818}
81819_ACEOF
81820rm -f conftest.$ac_objext conftest$ac_exeext
81821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81822  (eval $ac_link) 2>conftest.er1
81823  ac_status=$?
81824  grep -v '^ *+' conftest.er1 >conftest.err
81825  rm -f conftest.er1
81826  cat conftest.err >&5
81827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81828  (exit $ac_status); } &&
81829	 { ac_try='test -z "$ac_c_werror_flag"
81830			 || test ! -s conftest.err'
81831  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81832  (eval $ac_try) 2>&5
81833  ac_status=$?
81834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81835  (exit $ac_status); }; } &&
81836	 { ac_try='test -s conftest$ac_exeext'
81837  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81838  (eval $ac_try) 2>&5
81839  ac_status=$?
81840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81841  (exit $ac_status); }; }; then
81842  eval "$as_ac_var=yes"
81843else
81844  echo "$as_me: failed program was:" >&5
81845sed 's/^/| /' conftest.$ac_ext >&5
81846
81847eval "$as_ac_var=no"
81848fi
81849rm -f conftest.err conftest.$ac_objext \
81850      conftest$ac_exeext conftest.$ac_ext
81851fi
81852echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81853echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81854if test `eval echo '${'$as_ac_var'}'` = yes; then
81855  cat >>confdefs.h <<_ACEOF
81856#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81857_ACEOF
81858
81859fi
81860done
81861
81862  else
81863
81864  echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81865echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81866  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81867    if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81868  echo $ECHO_N "(cached) $ECHO_C" >&6
81869else
81870
81871
81872
81873      ac_ext=cc
81874ac_cpp='$CXXCPP $CPPFLAGS'
81875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81878
81879      cat >conftest.$ac_ext <<_ACEOF
81880/* confdefs.h.  */
81881_ACEOF
81882cat confdefs.h >>conftest.$ac_ext
81883cat >>conftest.$ac_ext <<_ACEOF
81884/* end confdefs.h.  */
81885#include <math.h>
81886int
81887main ()
81888{
81889 _hypot(0, 0);
81890  ;
81891  return 0;
81892}
81893_ACEOF
81894rm -f conftest.$ac_objext
81895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81896  (eval $ac_compile) 2>conftest.er1
81897  ac_status=$?
81898  grep -v '^ *+' conftest.er1 >conftest.err
81899  rm -f conftest.er1
81900  cat conftest.err >&5
81901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81902  (exit $ac_status); } &&
81903	 { ac_try='test -z "$ac_cxx_werror_flag"
81904			 || test ! -s conftest.err'
81905  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81906  (eval $ac_try) 2>&5
81907  ac_status=$?
81908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81909  (exit $ac_status); }; } &&
81910	 { ac_try='test -s conftest.$ac_objext'
81911  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81912  (eval $ac_try) 2>&5
81913  ac_status=$?
81914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81915  (exit $ac_status); }; }; then
81916  glibcxx_cv_func__hypot_use=yes
81917else
81918  echo "$as_me: failed program was:" >&5
81919sed 's/^/| /' conftest.$ac_ext >&5
81920
81921glibcxx_cv_func__hypot_use=no
81922fi
81923rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81924      ac_ext=c
81925ac_cpp='$CPP $CPPFLAGS'
81926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81928ac_compiler_gnu=$ac_cv_c_compiler_gnu
81929
81930
81931fi
81932
81933  fi
81934  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81935echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81936
81937    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81938
81939for ac_func in _hypot
81940do
81941as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81942echo "$as_me:$LINENO: checking for $ac_func" >&5
81943echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81944if eval "test \"\${$as_ac_var+set}\" = set"; then
81945  echo $ECHO_N "(cached) $ECHO_C" >&6
81946else
81947  if test x$gcc_no_link = xyes; then
81948  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81949echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81950   { (exit 1); exit 1; }; }
81951fi
81952cat >conftest.$ac_ext <<_ACEOF
81953/* confdefs.h.  */
81954_ACEOF
81955cat confdefs.h >>conftest.$ac_ext
81956cat >>conftest.$ac_ext <<_ACEOF
81957/* end confdefs.h.  */
81958/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81959   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81960#define $ac_func innocuous_$ac_func
81961
81962/* System header to define __stub macros and hopefully few prototypes,
81963    which can conflict with char $ac_func (); below.
81964    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81965    <limits.h> exists even on freestanding compilers.  */
81966
81967#ifdef __STDC__
81968# include <limits.h>
81969#else
81970# include <assert.h>
81971#endif
81972
81973#undef $ac_func
81974
81975/* Override any gcc2 internal prototype to avoid an error.  */
81976#ifdef __cplusplus
81977extern "C"
81978{
81979#endif
81980/* We use char because int might match the return type of a gcc2
81981   builtin and then its argument prototype would still apply.  */
81982char $ac_func ();
81983/* The GNU C library defines this for functions which it implements
81984    to always fail with ENOSYS.  Some functions are actually named
81985    something starting with __ and the normal name is an alias.  */
81986#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81987choke me
81988#else
81989char (*f) () = $ac_func;
81990#endif
81991#ifdef __cplusplus
81992}
81993#endif
81994
81995int
81996main ()
81997{
81998return f != $ac_func;
81999  ;
82000  return 0;
82001}
82002_ACEOF
82003rm -f conftest.$ac_objext conftest$ac_exeext
82004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82005  (eval $ac_link) 2>conftest.er1
82006  ac_status=$?
82007  grep -v '^ *+' conftest.er1 >conftest.err
82008  rm -f conftest.er1
82009  cat conftest.err >&5
82010  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82011  (exit $ac_status); } &&
82012	 { ac_try='test -z "$ac_c_werror_flag"
82013			 || test ! -s conftest.err'
82014  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82015  (eval $ac_try) 2>&5
82016  ac_status=$?
82017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82018  (exit $ac_status); }; } &&
82019	 { ac_try='test -s conftest$ac_exeext'
82020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82021  (eval $ac_try) 2>&5
82022  ac_status=$?
82023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82024  (exit $ac_status); }; }; then
82025  eval "$as_ac_var=yes"
82026else
82027  echo "$as_me: failed program was:" >&5
82028sed 's/^/| /' conftest.$ac_ext >&5
82029
82030eval "$as_ac_var=no"
82031fi
82032rm -f conftest.err conftest.$ac_objext \
82033      conftest$ac_exeext conftest.$ac_ext
82034fi
82035echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82036echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82037if test `eval echo '${'$as_ac_var'}'` = yes; then
82038  cat >>confdefs.h <<_ACEOF
82039#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82040_ACEOF
82041
82042fi
82043done
82044
82045    fi
82046  fi
82047
82048
82049
82050
82051
82052
82053    echo "$as_me:$LINENO: checking for float trig functions" >&5
82054echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
82055  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
82056  echo $ECHO_N "(cached) $ECHO_C" >&6
82057else
82058
82059
82060
82061    ac_ext=cc
82062ac_cpp='$CXXCPP $CPPFLAGS'
82063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82066
82067    cat >conftest.$ac_ext <<_ACEOF
82068/* confdefs.h.  */
82069_ACEOF
82070cat confdefs.h >>conftest.$ac_ext
82071cat >>conftest.$ac_ext <<_ACEOF
82072/* end confdefs.h.  */
82073#include <math.h>
82074int
82075main ()
82076{
82077acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
82078  ;
82079  return 0;
82080}
82081_ACEOF
82082rm -f conftest.$ac_objext
82083if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82084  (eval $ac_compile) 2>conftest.er1
82085  ac_status=$?
82086  grep -v '^ *+' conftest.er1 >conftest.err
82087  rm -f conftest.er1
82088  cat conftest.err >&5
82089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82090  (exit $ac_status); } &&
82091	 { ac_try='test -z "$ac_cxx_werror_flag"
82092			 || test ! -s conftest.err'
82093  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82094  (eval $ac_try) 2>&5
82095  ac_status=$?
82096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82097  (exit $ac_status); }; } &&
82098	 { ac_try='test -s conftest.$ac_objext'
82099  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82100  (eval $ac_try) 2>&5
82101  ac_status=$?
82102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82103  (exit $ac_status); }; }; then
82104  glibcxx_cv_func_float_trig_use=yes
82105else
82106  echo "$as_me: failed program was:" >&5
82107sed 's/^/| /' conftest.$ac_ext >&5
82108
82109glibcxx_cv_func_float_trig_use=no
82110fi
82111rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82112    ac_ext=c
82113ac_cpp='$CPP $CPPFLAGS'
82114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82116ac_compiler_gnu=$ac_cv_c_compiler_gnu
82117
82118fi
82119
82120  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
82121echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
82122  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
82123
82124
82125
82126
82127
82128
82129
82130
82131
82132for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
82133do
82134as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82135echo "$as_me:$LINENO: checking for $ac_func" >&5
82136echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82137if eval "test \"\${$as_ac_var+set}\" = set"; then
82138  echo $ECHO_N "(cached) $ECHO_C" >&6
82139else
82140  if test x$gcc_no_link = xyes; then
82141  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82142echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82143   { (exit 1); exit 1; }; }
82144fi
82145cat >conftest.$ac_ext <<_ACEOF
82146/* confdefs.h.  */
82147_ACEOF
82148cat confdefs.h >>conftest.$ac_ext
82149cat >>conftest.$ac_ext <<_ACEOF
82150/* end confdefs.h.  */
82151/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82152   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82153#define $ac_func innocuous_$ac_func
82154
82155/* System header to define __stub macros and hopefully few prototypes,
82156    which can conflict with char $ac_func (); below.
82157    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82158    <limits.h> exists even on freestanding compilers.  */
82159
82160#ifdef __STDC__
82161# include <limits.h>
82162#else
82163# include <assert.h>
82164#endif
82165
82166#undef $ac_func
82167
82168/* Override any gcc2 internal prototype to avoid an error.  */
82169#ifdef __cplusplus
82170extern "C"
82171{
82172#endif
82173/* We use char because int might match the return type of a gcc2
82174   builtin and then its argument prototype would still apply.  */
82175char $ac_func ();
82176/* The GNU C library defines this for functions which it implements
82177    to always fail with ENOSYS.  Some functions are actually named
82178    something starting with __ and the normal name is an alias.  */
82179#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82180choke me
82181#else
82182char (*f) () = $ac_func;
82183#endif
82184#ifdef __cplusplus
82185}
82186#endif
82187
82188int
82189main ()
82190{
82191return f != $ac_func;
82192  ;
82193  return 0;
82194}
82195_ACEOF
82196rm -f conftest.$ac_objext conftest$ac_exeext
82197if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82198  (eval $ac_link) 2>conftest.er1
82199  ac_status=$?
82200  grep -v '^ *+' conftest.er1 >conftest.err
82201  rm -f conftest.er1
82202  cat conftest.err >&5
82203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82204  (exit $ac_status); } &&
82205	 { ac_try='test -z "$ac_c_werror_flag"
82206			 || test ! -s conftest.err'
82207  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82208  (eval $ac_try) 2>&5
82209  ac_status=$?
82210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82211  (exit $ac_status); }; } &&
82212	 { ac_try='test -s conftest$ac_exeext'
82213  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82214  (eval $ac_try) 2>&5
82215  ac_status=$?
82216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82217  (exit $ac_status); }; }; then
82218  eval "$as_ac_var=yes"
82219else
82220  echo "$as_me: failed program was:" >&5
82221sed 's/^/| /' conftest.$ac_ext >&5
82222
82223eval "$as_ac_var=no"
82224fi
82225rm -f conftest.err conftest.$ac_objext \
82226      conftest$ac_exeext conftest.$ac_ext
82227fi
82228echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82229echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82230if test `eval echo '${'$as_ac_var'}'` = yes; then
82231  cat >>confdefs.h <<_ACEOF
82232#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82233_ACEOF
82234
82235fi
82236done
82237
82238  else
82239    echo "$as_me:$LINENO: checking for _float trig functions" >&5
82240echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82241    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82242  echo $ECHO_N "(cached) $ECHO_C" >&6
82243else
82244
82245
82246
82247      ac_ext=cc
82248ac_cpp='$CXXCPP $CPPFLAGS'
82249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82252
82253      cat >conftest.$ac_ext <<_ACEOF
82254/* confdefs.h.  */
82255_ACEOF
82256cat confdefs.h >>conftest.$ac_ext
82257cat >>conftest.$ac_ext <<_ACEOF
82258/* end confdefs.h.  */
82259#include <math.h>
82260int
82261main ()
82262{
82263_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82264  ;
82265  return 0;
82266}
82267_ACEOF
82268rm -f conftest.$ac_objext
82269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82270  (eval $ac_compile) 2>conftest.er1
82271  ac_status=$?
82272  grep -v '^ *+' conftest.er1 >conftest.err
82273  rm -f conftest.er1
82274  cat conftest.err >&5
82275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82276  (exit $ac_status); } &&
82277	 { ac_try='test -z "$ac_cxx_werror_flag"
82278			 || test ! -s conftest.err'
82279  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82280  (eval $ac_try) 2>&5
82281  ac_status=$?
82282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82283  (exit $ac_status); }; } &&
82284	 { ac_try='test -s conftest.$ac_objext'
82285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82286  (eval $ac_try) 2>&5
82287  ac_status=$?
82288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82289  (exit $ac_status); }; }; then
82290  glibcxx_cv_func__float_trig_use=yes
82291else
82292  echo "$as_me: failed program was:" >&5
82293sed 's/^/| /' conftest.$ac_ext >&5
82294
82295glibcxx_cv_func__float_trig_use=no
82296fi
82297rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82298      ac_ext=c
82299ac_cpp='$CPP $CPPFLAGS'
82300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82302ac_compiler_gnu=$ac_cv_c_compiler_gnu
82303
82304fi
82305
82306    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82307echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82308    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82309
82310
82311
82312
82313
82314
82315
82316
82317
82318for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82319do
82320as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82321echo "$as_me:$LINENO: checking for $ac_func" >&5
82322echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82323if eval "test \"\${$as_ac_var+set}\" = set"; then
82324  echo $ECHO_N "(cached) $ECHO_C" >&6
82325else
82326  if test x$gcc_no_link = xyes; then
82327  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82328echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82329   { (exit 1); exit 1; }; }
82330fi
82331cat >conftest.$ac_ext <<_ACEOF
82332/* confdefs.h.  */
82333_ACEOF
82334cat confdefs.h >>conftest.$ac_ext
82335cat >>conftest.$ac_ext <<_ACEOF
82336/* end confdefs.h.  */
82337/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82338   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82339#define $ac_func innocuous_$ac_func
82340
82341/* System header to define __stub macros and hopefully few prototypes,
82342    which can conflict with char $ac_func (); below.
82343    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82344    <limits.h> exists even on freestanding compilers.  */
82345
82346#ifdef __STDC__
82347# include <limits.h>
82348#else
82349# include <assert.h>
82350#endif
82351
82352#undef $ac_func
82353
82354/* Override any gcc2 internal prototype to avoid an error.  */
82355#ifdef __cplusplus
82356extern "C"
82357{
82358#endif
82359/* We use char because int might match the return type of a gcc2
82360   builtin and then its argument prototype would still apply.  */
82361char $ac_func ();
82362/* The GNU C library defines this for functions which it implements
82363    to always fail with ENOSYS.  Some functions are actually named
82364    something starting with __ and the normal name is an alias.  */
82365#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82366choke me
82367#else
82368char (*f) () = $ac_func;
82369#endif
82370#ifdef __cplusplus
82371}
82372#endif
82373
82374int
82375main ()
82376{
82377return f != $ac_func;
82378  ;
82379  return 0;
82380}
82381_ACEOF
82382rm -f conftest.$ac_objext conftest$ac_exeext
82383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82384  (eval $ac_link) 2>conftest.er1
82385  ac_status=$?
82386  grep -v '^ *+' conftest.er1 >conftest.err
82387  rm -f conftest.er1
82388  cat conftest.err >&5
82389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82390  (exit $ac_status); } &&
82391	 { ac_try='test -z "$ac_c_werror_flag"
82392			 || test ! -s conftest.err'
82393  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82394  (eval $ac_try) 2>&5
82395  ac_status=$?
82396  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82397  (exit $ac_status); }; } &&
82398	 { ac_try='test -s conftest$ac_exeext'
82399  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82400  (eval $ac_try) 2>&5
82401  ac_status=$?
82402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82403  (exit $ac_status); }; }; then
82404  eval "$as_ac_var=yes"
82405else
82406  echo "$as_me: failed program was:" >&5
82407sed 's/^/| /' conftest.$ac_ext >&5
82408
82409eval "$as_ac_var=no"
82410fi
82411rm -f conftest.err conftest.$ac_objext \
82412      conftest$ac_exeext conftest.$ac_ext
82413fi
82414echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82415echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82416if test `eval echo '${'$as_ac_var'}'` = yes; then
82417  cat >>confdefs.h <<_ACEOF
82418#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82419_ACEOF
82420
82421fi
82422done
82423
82424    fi
82425  fi
82426
82427
82428
82429
82430
82431
82432
82433
82434
82435
82436
82437
82438
82439
82440    echo "$as_me:$LINENO: checking for float round functions" >&5
82441echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82442  if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82443  echo $ECHO_N "(cached) $ECHO_C" >&6
82444else
82445
82446
82447
82448    ac_ext=cc
82449ac_cpp='$CXXCPP $CPPFLAGS'
82450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82453
82454    cat >conftest.$ac_ext <<_ACEOF
82455/* confdefs.h.  */
82456_ACEOF
82457cat confdefs.h >>conftest.$ac_ext
82458cat >>conftest.$ac_ext <<_ACEOF
82459/* end confdefs.h.  */
82460#include <math.h>
82461int
82462main ()
82463{
82464ceilf (0); floorf (0);
82465  ;
82466  return 0;
82467}
82468_ACEOF
82469rm -f conftest.$ac_objext
82470if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82471  (eval $ac_compile) 2>conftest.er1
82472  ac_status=$?
82473  grep -v '^ *+' conftest.er1 >conftest.err
82474  rm -f conftest.er1
82475  cat conftest.err >&5
82476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82477  (exit $ac_status); } &&
82478	 { ac_try='test -z "$ac_cxx_werror_flag"
82479			 || test ! -s conftest.err'
82480  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82481  (eval $ac_try) 2>&5
82482  ac_status=$?
82483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484  (exit $ac_status); }; } &&
82485	 { ac_try='test -s conftest.$ac_objext'
82486  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82487  (eval $ac_try) 2>&5
82488  ac_status=$?
82489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490  (exit $ac_status); }; }; then
82491  glibcxx_cv_func_float_round_use=yes
82492else
82493  echo "$as_me: failed program was:" >&5
82494sed 's/^/| /' conftest.$ac_ext >&5
82495
82496glibcxx_cv_func_float_round_use=no
82497fi
82498rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82499    ac_ext=c
82500ac_cpp='$CPP $CPPFLAGS'
82501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82503ac_compiler_gnu=$ac_cv_c_compiler_gnu
82504
82505fi
82506
82507  echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82508echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82509  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82510
82511
82512for ac_func in ceilf floorf
82513do
82514as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82515echo "$as_me:$LINENO: checking for $ac_func" >&5
82516echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82517if eval "test \"\${$as_ac_var+set}\" = set"; then
82518  echo $ECHO_N "(cached) $ECHO_C" >&6
82519else
82520  if test x$gcc_no_link = xyes; then
82521  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82522echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82523   { (exit 1); exit 1; }; }
82524fi
82525cat >conftest.$ac_ext <<_ACEOF
82526/* confdefs.h.  */
82527_ACEOF
82528cat confdefs.h >>conftest.$ac_ext
82529cat >>conftest.$ac_ext <<_ACEOF
82530/* end confdefs.h.  */
82531/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82532   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82533#define $ac_func innocuous_$ac_func
82534
82535/* System header to define __stub macros and hopefully few prototypes,
82536    which can conflict with char $ac_func (); below.
82537    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82538    <limits.h> exists even on freestanding compilers.  */
82539
82540#ifdef __STDC__
82541# include <limits.h>
82542#else
82543# include <assert.h>
82544#endif
82545
82546#undef $ac_func
82547
82548/* Override any gcc2 internal prototype to avoid an error.  */
82549#ifdef __cplusplus
82550extern "C"
82551{
82552#endif
82553/* We use char because int might match the return type of a gcc2
82554   builtin and then its argument prototype would still apply.  */
82555char $ac_func ();
82556/* The GNU C library defines this for functions which it implements
82557    to always fail with ENOSYS.  Some functions are actually named
82558    something starting with __ and the normal name is an alias.  */
82559#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82560choke me
82561#else
82562char (*f) () = $ac_func;
82563#endif
82564#ifdef __cplusplus
82565}
82566#endif
82567
82568int
82569main ()
82570{
82571return f != $ac_func;
82572  ;
82573  return 0;
82574}
82575_ACEOF
82576rm -f conftest.$ac_objext conftest$ac_exeext
82577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82578  (eval $ac_link) 2>conftest.er1
82579  ac_status=$?
82580  grep -v '^ *+' conftest.er1 >conftest.err
82581  rm -f conftest.er1
82582  cat conftest.err >&5
82583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82584  (exit $ac_status); } &&
82585	 { ac_try='test -z "$ac_c_werror_flag"
82586			 || test ! -s conftest.err'
82587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82588  (eval $ac_try) 2>&5
82589  ac_status=$?
82590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82591  (exit $ac_status); }; } &&
82592	 { ac_try='test -s conftest$ac_exeext'
82593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82594  (eval $ac_try) 2>&5
82595  ac_status=$?
82596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82597  (exit $ac_status); }; }; then
82598  eval "$as_ac_var=yes"
82599else
82600  echo "$as_me: failed program was:" >&5
82601sed 's/^/| /' conftest.$ac_ext >&5
82602
82603eval "$as_ac_var=no"
82604fi
82605rm -f conftest.err conftest.$ac_objext \
82606      conftest$ac_exeext conftest.$ac_ext
82607fi
82608echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82609echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82610if test `eval echo '${'$as_ac_var'}'` = yes; then
82611  cat >>confdefs.h <<_ACEOF
82612#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82613_ACEOF
82614
82615fi
82616done
82617
82618  else
82619    echo "$as_me:$LINENO: checking for _float round functions" >&5
82620echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82621    if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82622  echo $ECHO_N "(cached) $ECHO_C" >&6
82623else
82624
82625
82626
82627      ac_ext=cc
82628ac_cpp='$CXXCPP $CPPFLAGS'
82629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82632
82633      cat >conftest.$ac_ext <<_ACEOF
82634/* confdefs.h.  */
82635_ACEOF
82636cat confdefs.h >>conftest.$ac_ext
82637cat >>conftest.$ac_ext <<_ACEOF
82638/* end confdefs.h.  */
82639#include <math.h>
82640int
82641main ()
82642{
82643_ceilf (0); _floorf (0);
82644  ;
82645  return 0;
82646}
82647_ACEOF
82648rm -f conftest.$ac_objext
82649if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82650  (eval $ac_compile) 2>conftest.er1
82651  ac_status=$?
82652  grep -v '^ *+' conftest.er1 >conftest.err
82653  rm -f conftest.er1
82654  cat conftest.err >&5
82655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82656  (exit $ac_status); } &&
82657	 { ac_try='test -z "$ac_cxx_werror_flag"
82658			 || test ! -s conftest.err'
82659  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82660  (eval $ac_try) 2>&5
82661  ac_status=$?
82662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82663  (exit $ac_status); }; } &&
82664	 { ac_try='test -s conftest.$ac_objext'
82665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82666  (eval $ac_try) 2>&5
82667  ac_status=$?
82668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82669  (exit $ac_status); }; }; then
82670  glibcxx_cv_func__float_round_use=yes
82671else
82672  echo "$as_me: failed program was:" >&5
82673sed 's/^/| /' conftest.$ac_ext >&5
82674
82675glibcxx_cv_func__float_round_use=no
82676fi
82677rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82678      ac_ext=c
82679ac_cpp='$CPP $CPPFLAGS'
82680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82682ac_compiler_gnu=$ac_cv_c_compiler_gnu
82683
82684fi
82685
82686    echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82687echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82688    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82689
82690
82691for ac_func in _ceilf _floorf
82692do
82693as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82694echo "$as_me:$LINENO: checking for $ac_func" >&5
82695echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82696if eval "test \"\${$as_ac_var+set}\" = set"; then
82697  echo $ECHO_N "(cached) $ECHO_C" >&6
82698else
82699  if test x$gcc_no_link = xyes; then
82700  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82701echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82702   { (exit 1); exit 1; }; }
82703fi
82704cat >conftest.$ac_ext <<_ACEOF
82705/* confdefs.h.  */
82706_ACEOF
82707cat confdefs.h >>conftest.$ac_ext
82708cat >>conftest.$ac_ext <<_ACEOF
82709/* end confdefs.h.  */
82710/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82711   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82712#define $ac_func innocuous_$ac_func
82713
82714/* System header to define __stub macros and hopefully few prototypes,
82715    which can conflict with char $ac_func (); below.
82716    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82717    <limits.h> exists even on freestanding compilers.  */
82718
82719#ifdef __STDC__
82720# include <limits.h>
82721#else
82722# include <assert.h>
82723#endif
82724
82725#undef $ac_func
82726
82727/* Override any gcc2 internal prototype to avoid an error.  */
82728#ifdef __cplusplus
82729extern "C"
82730{
82731#endif
82732/* We use char because int might match the return type of a gcc2
82733   builtin and then its argument prototype would still apply.  */
82734char $ac_func ();
82735/* The GNU C library defines this for functions which it implements
82736    to always fail with ENOSYS.  Some functions are actually named
82737    something starting with __ and the normal name is an alias.  */
82738#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82739choke me
82740#else
82741char (*f) () = $ac_func;
82742#endif
82743#ifdef __cplusplus
82744}
82745#endif
82746
82747int
82748main ()
82749{
82750return f != $ac_func;
82751  ;
82752  return 0;
82753}
82754_ACEOF
82755rm -f conftest.$ac_objext conftest$ac_exeext
82756if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82757  (eval $ac_link) 2>conftest.er1
82758  ac_status=$?
82759  grep -v '^ *+' conftest.er1 >conftest.err
82760  rm -f conftest.er1
82761  cat conftest.err >&5
82762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763  (exit $ac_status); } &&
82764	 { ac_try='test -z "$ac_c_werror_flag"
82765			 || test ! -s conftest.err'
82766  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82767  (eval $ac_try) 2>&5
82768  ac_status=$?
82769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82770  (exit $ac_status); }; } &&
82771	 { ac_try='test -s conftest$ac_exeext'
82772  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82773  (eval $ac_try) 2>&5
82774  ac_status=$?
82775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82776  (exit $ac_status); }; }; then
82777  eval "$as_ac_var=yes"
82778else
82779  echo "$as_me: failed program was:" >&5
82780sed 's/^/| /' conftest.$ac_ext >&5
82781
82782eval "$as_ac_var=no"
82783fi
82784rm -f conftest.err conftest.$ac_objext \
82785      conftest$ac_exeext conftest.$ac_ext
82786fi
82787echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82788echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82789if test `eval echo '${'$as_ac_var'}'` = yes; then
82790  cat >>confdefs.h <<_ACEOF
82791#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82792_ACEOF
82793
82794fi
82795done
82796
82797    fi
82798  fi
82799
82800
82801
82802
82803
82804
82805
82806
82807  echo "$as_me:$LINENO: checking for expf declaration" >&5
82808echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82809  if test x${glibcxx_cv_func_expf_use+set} != xset; then
82810    if test "${glibcxx_cv_func_expf_use+set}" = set; then
82811  echo $ECHO_N "(cached) $ECHO_C" >&6
82812else
82813
82814
82815
82816      ac_ext=cc
82817ac_cpp='$CXXCPP $CPPFLAGS'
82818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82821
82822      cat >conftest.$ac_ext <<_ACEOF
82823/* confdefs.h.  */
82824_ACEOF
82825cat confdefs.h >>conftest.$ac_ext
82826cat >>conftest.$ac_ext <<_ACEOF
82827/* end confdefs.h.  */
82828#include <math.h>
82829		      #ifdef HAVE_IEEEFP_H
82830		      #include <ieeefp.h>
82831		      #endif
82832
82833int
82834main ()
82835{
82836 expf(0);
82837  ;
82838  return 0;
82839}
82840_ACEOF
82841rm -f conftest.$ac_objext
82842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82843  (eval $ac_compile) 2>conftest.er1
82844  ac_status=$?
82845  grep -v '^ *+' conftest.er1 >conftest.err
82846  rm -f conftest.er1
82847  cat conftest.err >&5
82848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82849  (exit $ac_status); } &&
82850	 { ac_try='test -z "$ac_cxx_werror_flag"
82851			 || test ! -s conftest.err'
82852  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82853  (eval $ac_try) 2>&5
82854  ac_status=$?
82855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82856  (exit $ac_status); }; } &&
82857	 { ac_try='test -s conftest.$ac_objext'
82858  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82859  (eval $ac_try) 2>&5
82860  ac_status=$?
82861  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82862  (exit $ac_status); }; }; then
82863  glibcxx_cv_func_expf_use=yes
82864else
82865  echo "$as_me: failed program was:" >&5
82866sed 's/^/| /' conftest.$ac_ext >&5
82867
82868glibcxx_cv_func_expf_use=no
82869fi
82870rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82871      ac_ext=c
82872ac_cpp='$CPP $CPPFLAGS'
82873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82875ac_compiler_gnu=$ac_cv_c_compiler_gnu
82876
82877
82878fi
82879
82880  fi
82881  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82882echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82883
82884  if test x$glibcxx_cv_func_expf_use = x"yes"; then
82885
82886for ac_func in expf
82887do
82888as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82889echo "$as_me:$LINENO: checking for $ac_func" >&5
82890echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82891if eval "test \"\${$as_ac_var+set}\" = set"; then
82892  echo $ECHO_N "(cached) $ECHO_C" >&6
82893else
82894  if test x$gcc_no_link = xyes; then
82895  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82896echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82897   { (exit 1); exit 1; }; }
82898fi
82899cat >conftest.$ac_ext <<_ACEOF
82900/* confdefs.h.  */
82901_ACEOF
82902cat confdefs.h >>conftest.$ac_ext
82903cat >>conftest.$ac_ext <<_ACEOF
82904/* end confdefs.h.  */
82905/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82906   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82907#define $ac_func innocuous_$ac_func
82908
82909/* System header to define __stub macros and hopefully few prototypes,
82910    which can conflict with char $ac_func (); below.
82911    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82912    <limits.h> exists even on freestanding compilers.  */
82913
82914#ifdef __STDC__
82915# include <limits.h>
82916#else
82917# include <assert.h>
82918#endif
82919
82920#undef $ac_func
82921
82922/* Override any gcc2 internal prototype to avoid an error.  */
82923#ifdef __cplusplus
82924extern "C"
82925{
82926#endif
82927/* We use char because int might match the return type of a gcc2
82928   builtin and then its argument prototype would still apply.  */
82929char $ac_func ();
82930/* The GNU C library defines this for functions which it implements
82931    to always fail with ENOSYS.  Some functions are actually named
82932    something starting with __ and the normal name is an alias.  */
82933#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82934choke me
82935#else
82936char (*f) () = $ac_func;
82937#endif
82938#ifdef __cplusplus
82939}
82940#endif
82941
82942int
82943main ()
82944{
82945return f != $ac_func;
82946  ;
82947  return 0;
82948}
82949_ACEOF
82950rm -f conftest.$ac_objext conftest$ac_exeext
82951if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82952  (eval $ac_link) 2>conftest.er1
82953  ac_status=$?
82954  grep -v '^ *+' conftest.er1 >conftest.err
82955  rm -f conftest.er1
82956  cat conftest.err >&5
82957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82958  (exit $ac_status); } &&
82959	 { ac_try='test -z "$ac_c_werror_flag"
82960			 || test ! -s conftest.err'
82961  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82962  (eval $ac_try) 2>&5
82963  ac_status=$?
82964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82965  (exit $ac_status); }; } &&
82966	 { ac_try='test -s conftest$ac_exeext'
82967  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82968  (eval $ac_try) 2>&5
82969  ac_status=$?
82970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82971  (exit $ac_status); }; }; then
82972  eval "$as_ac_var=yes"
82973else
82974  echo "$as_me: failed program was:" >&5
82975sed 's/^/| /' conftest.$ac_ext >&5
82976
82977eval "$as_ac_var=no"
82978fi
82979rm -f conftest.err conftest.$ac_objext \
82980      conftest$ac_exeext conftest.$ac_ext
82981fi
82982echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82983echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82984if test `eval echo '${'$as_ac_var'}'` = yes; then
82985  cat >>confdefs.h <<_ACEOF
82986#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82987_ACEOF
82988
82989fi
82990done
82991
82992  else
82993
82994  echo "$as_me:$LINENO: checking for _expf declaration" >&5
82995echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82996  if test x${glibcxx_cv_func__expf_use+set} != xset; then
82997    if test "${glibcxx_cv_func__expf_use+set}" = set; then
82998  echo $ECHO_N "(cached) $ECHO_C" >&6
82999else
83000
83001
83002
83003      ac_ext=cc
83004ac_cpp='$CXXCPP $CPPFLAGS'
83005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83008
83009      cat >conftest.$ac_ext <<_ACEOF
83010/* confdefs.h.  */
83011_ACEOF
83012cat confdefs.h >>conftest.$ac_ext
83013cat >>conftest.$ac_ext <<_ACEOF
83014/* end confdefs.h.  */
83015#include <math.h>
83016		      #ifdef HAVE_IEEEFP_H
83017		      #include <ieeefp.h>
83018		      #endif
83019
83020int
83021main ()
83022{
83023 _expf(0);
83024  ;
83025  return 0;
83026}
83027_ACEOF
83028rm -f conftest.$ac_objext
83029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83030  (eval $ac_compile) 2>conftest.er1
83031  ac_status=$?
83032  grep -v '^ *+' conftest.er1 >conftest.err
83033  rm -f conftest.er1
83034  cat conftest.err >&5
83035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83036  (exit $ac_status); } &&
83037	 { ac_try='test -z "$ac_cxx_werror_flag"
83038			 || test ! -s conftest.err'
83039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83040  (eval $ac_try) 2>&5
83041  ac_status=$?
83042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83043  (exit $ac_status); }; } &&
83044	 { ac_try='test -s conftest.$ac_objext'
83045  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83046  (eval $ac_try) 2>&5
83047  ac_status=$?
83048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83049  (exit $ac_status); }; }; then
83050  glibcxx_cv_func__expf_use=yes
83051else
83052  echo "$as_me: failed program was:" >&5
83053sed 's/^/| /' conftest.$ac_ext >&5
83054
83055glibcxx_cv_func__expf_use=no
83056fi
83057rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83058      ac_ext=c
83059ac_cpp='$CPP $CPPFLAGS'
83060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83062ac_compiler_gnu=$ac_cv_c_compiler_gnu
83063
83064
83065fi
83066
83067  fi
83068  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
83069echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
83070
83071    if test x$glibcxx_cv_func__expf_use = x"yes"; then
83072
83073for ac_func in _expf
83074do
83075as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83076echo "$as_me:$LINENO: checking for $ac_func" >&5
83077echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83078if eval "test \"\${$as_ac_var+set}\" = set"; then
83079  echo $ECHO_N "(cached) $ECHO_C" >&6
83080else
83081  if test x$gcc_no_link = xyes; then
83082  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83083echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83084   { (exit 1); exit 1; }; }
83085fi
83086cat >conftest.$ac_ext <<_ACEOF
83087/* confdefs.h.  */
83088_ACEOF
83089cat confdefs.h >>conftest.$ac_ext
83090cat >>conftest.$ac_ext <<_ACEOF
83091/* end confdefs.h.  */
83092/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83093   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83094#define $ac_func innocuous_$ac_func
83095
83096/* System header to define __stub macros and hopefully few prototypes,
83097    which can conflict with char $ac_func (); below.
83098    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83099    <limits.h> exists even on freestanding compilers.  */
83100
83101#ifdef __STDC__
83102# include <limits.h>
83103#else
83104# include <assert.h>
83105#endif
83106
83107#undef $ac_func
83108
83109/* Override any gcc2 internal prototype to avoid an error.  */
83110#ifdef __cplusplus
83111extern "C"
83112{
83113#endif
83114/* We use char because int might match the return type of a gcc2
83115   builtin and then its argument prototype would still apply.  */
83116char $ac_func ();
83117/* The GNU C library defines this for functions which it implements
83118    to always fail with ENOSYS.  Some functions are actually named
83119    something starting with __ and the normal name is an alias.  */
83120#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83121choke me
83122#else
83123char (*f) () = $ac_func;
83124#endif
83125#ifdef __cplusplus
83126}
83127#endif
83128
83129int
83130main ()
83131{
83132return f != $ac_func;
83133  ;
83134  return 0;
83135}
83136_ACEOF
83137rm -f conftest.$ac_objext conftest$ac_exeext
83138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83139  (eval $ac_link) 2>conftest.er1
83140  ac_status=$?
83141  grep -v '^ *+' conftest.er1 >conftest.err
83142  rm -f conftest.er1
83143  cat conftest.err >&5
83144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83145  (exit $ac_status); } &&
83146	 { ac_try='test -z "$ac_c_werror_flag"
83147			 || test ! -s conftest.err'
83148  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83149  (eval $ac_try) 2>&5
83150  ac_status=$?
83151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83152  (exit $ac_status); }; } &&
83153	 { ac_try='test -s conftest$ac_exeext'
83154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83155  (eval $ac_try) 2>&5
83156  ac_status=$?
83157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158  (exit $ac_status); }; }; then
83159  eval "$as_ac_var=yes"
83160else
83161  echo "$as_me: failed program was:" >&5
83162sed 's/^/| /' conftest.$ac_ext >&5
83163
83164eval "$as_ac_var=no"
83165fi
83166rm -f conftest.err conftest.$ac_objext \
83167      conftest$ac_exeext conftest.$ac_ext
83168fi
83169echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83170echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83171if test `eval echo '${'$as_ac_var'}'` = yes; then
83172  cat >>confdefs.h <<_ACEOF
83173#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83174_ACEOF
83175
83176fi
83177done
83178
83179    fi
83180  fi
83181
83182
83183
83184
83185
83186
83187  echo "$as_me:$LINENO: checking for isnanf declaration" >&5
83188echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
83189  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
83190    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
83191  echo $ECHO_N "(cached) $ECHO_C" >&6
83192else
83193
83194
83195
83196      ac_ext=cc
83197ac_cpp='$CXXCPP $CPPFLAGS'
83198ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83199ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83200ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83201
83202      cat >conftest.$ac_ext <<_ACEOF
83203/* confdefs.h.  */
83204_ACEOF
83205cat confdefs.h >>conftest.$ac_ext
83206cat >>conftest.$ac_ext <<_ACEOF
83207/* end confdefs.h.  */
83208#include <math.h>
83209		      #ifdef HAVE_IEEEFP_H
83210		      #include <ieeefp.h>
83211		      #endif
83212
83213int
83214main ()
83215{
83216 isnanf(0);
83217  ;
83218  return 0;
83219}
83220_ACEOF
83221rm -f conftest.$ac_objext
83222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83223  (eval $ac_compile) 2>conftest.er1
83224  ac_status=$?
83225  grep -v '^ *+' conftest.er1 >conftest.err
83226  rm -f conftest.er1
83227  cat conftest.err >&5
83228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83229  (exit $ac_status); } &&
83230	 { ac_try='test -z "$ac_cxx_werror_flag"
83231			 || test ! -s conftest.err'
83232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83233  (eval $ac_try) 2>&5
83234  ac_status=$?
83235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83236  (exit $ac_status); }; } &&
83237	 { ac_try='test -s conftest.$ac_objext'
83238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83239  (eval $ac_try) 2>&5
83240  ac_status=$?
83241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83242  (exit $ac_status); }; }; then
83243  glibcxx_cv_func_isnanf_use=yes
83244else
83245  echo "$as_me: failed program was:" >&5
83246sed 's/^/| /' conftest.$ac_ext >&5
83247
83248glibcxx_cv_func_isnanf_use=no
83249fi
83250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83251      ac_ext=c
83252ac_cpp='$CPP $CPPFLAGS'
83253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83255ac_compiler_gnu=$ac_cv_c_compiler_gnu
83256
83257
83258fi
83259
83260  fi
83261  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83262echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83263
83264  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83265
83266for ac_func in isnanf
83267do
83268as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83269echo "$as_me:$LINENO: checking for $ac_func" >&5
83270echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83271if eval "test \"\${$as_ac_var+set}\" = set"; then
83272  echo $ECHO_N "(cached) $ECHO_C" >&6
83273else
83274  if test x$gcc_no_link = xyes; then
83275  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83276echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83277   { (exit 1); exit 1; }; }
83278fi
83279cat >conftest.$ac_ext <<_ACEOF
83280/* confdefs.h.  */
83281_ACEOF
83282cat confdefs.h >>conftest.$ac_ext
83283cat >>conftest.$ac_ext <<_ACEOF
83284/* end confdefs.h.  */
83285/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83286   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83287#define $ac_func innocuous_$ac_func
83288
83289/* System header to define __stub macros and hopefully few prototypes,
83290    which can conflict with char $ac_func (); below.
83291    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83292    <limits.h> exists even on freestanding compilers.  */
83293
83294#ifdef __STDC__
83295# include <limits.h>
83296#else
83297# include <assert.h>
83298#endif
83299
83300#undef $ac_func
83301
83302/* Override any gcc2 internal prototype to avoid an error.  */
83303#ifdef __cplusplus
83304extern "C"
83305{
83306#endif
83307/* We use char because int might match the return type of a gcc2
83308   builtin and then its argument prototype would still apply.  */
83309char $ac_func ();
83310/* The GNU C library defines this for functions which it implements
83311    to always fail with ENOSYS.  Some functions are actually named
83312    something starting with __ and the normal name is an alias.  */
83313#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83314choke me
83315#else
83316char (*f) () = $ac_func;
83317#endif
83318#ifdef __cplusplus
83319}
83320#endif
83321
83322int
83323main ()
83324{
83325return f != $ac_func;
83326  ;
83327  return 0;
83328}
83329_ACEOF
83330rm -f conftest.$ac_objext conftest$ac_exeext
83331if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83332  (eval $ac_link) 2>conftest.er1
83333  ac_status=$?
83334  grep -v '^ *+' conftest.er1 >conftest.err
83335  rm -f conftest.er1
83336  cat conftest.err >&5
83337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338  (exit $ac_status); } &&
83339	 { ac_try='test -z "$ac_c_werror_flag"
83340			 || test ! -s conftest.err'
83341  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83342  (eval $ac_try) 2>&5
83343  ac_status=$?
83344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83345  (exit $ac_status); }; } &&
83346	 { ac_try='test -s conftest$ac_exeext'
83347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83348  (eval $ac_try) 2>&5
83349  ac_status=$?
83350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83351  (exit $ac_status); }; }; then
83352  eval "$as_ac_var=yes"
83353else
83354  echo "$as_me: failed program was:" >&5
83355sed 's/^/| /' conftest.$ac_ext >&5
83356
83357eval "$as_ac_var=no"
83358fi
83359rm -f conftest.err conftest.$ac_objext \
83360      conftest$ac_exeext conftest.$ac_ext
83361fi
83362echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83363echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83364if test `eval echo '${'$as_ac_var'}'` = yes; then
83365  cat >>confdefs.h <<_ACEOF
83366#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83367_ACEOF
83368
83369fi
83370done
83371
83372  else
83373
83374  echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83375echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83376  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83377    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83378  echo $ECHO_N "(cached) $ECHO_C" >&6
83379else
83380
83381
83382
83383      ac_ext=cc
83384ac_cpp='$CXXCPP $CPPFLAGS'
83385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83388
83389      cat >conftest.$ac_ext <<_ACEOF
83390/* confdefs.h.  */
83391_ACEOF
83392cat confdefs.h >>conftest.$ac_ext
83393cat >>conftest.$ac_ext <<_ACEOF
83394/* end confdefs.h.  */
83395#include <math.h>
83396		      #ifdef HAVE_IEEEFP_H
83397		      #include <ieeefp.h>
83398		      #endif
83399
83400int
83401main ()
83402{
83403 _isnanf(0);
83404  ;
83405  return 0;
83406}
83407_ACEOF
83408rm -f conftest.$ac_objext
83409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83410  (eval $ac_compile) 2>conftest.er1
83411  ac_status=$?
83412  grep -v '^ *+' conftest.er1 >conftest.err
83413  rm -f conftest.er1
83414  cat conftest.err >&5
83415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83416  (exit $ac_status); } &&
83417	 { ac_try='test -z "$ac_cxx_werror_flag"
83418			 || test ! -s conftest.err'
83419  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83420  (eval $ac_try) 2>&5
83421  ac_status=$?
83422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83423  (exit $ac_status); }; } &&
83424	 { ac_try='test -s conftest.$ac_objext'
83425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83426  (eval $ac_try) 2>&5
83427  ac_status=$?
83428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83429  (exit $ac_status); }; }; then
83430  glibcxx_cv_func__isnanf_use=yes
83431else
83432  echo "$as_me: failed program was:" >&5
83433sed 's/^/| /' conftest.$ac_ext >&5
83434
83435glibcxx_cv_func__isnanf_use=no
83436fi
83437rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83438      ac_ext=c
83439ac_cpp='$CPP $CPPFLAGS'
83440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83442ac_compiler_gnu=$ac_cv_c_compiler_gnu
83443
83444
83445fi
83446
83447  fi
83448  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83449echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83450
83451    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83452
83453for ac_func in _isnanf
83454do
83455as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83456echo "$as_me:$LINENO: checking for $ac_func" >&5
83457echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83458if eval "test \"\${$as_ac_var+set}\" = set"; then
83459  echo $ECHO_N "(cached) $ECHO_C" >&6
83460else
83461  if test x$gcc_no_link = xyes; then
83462  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83463echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83464   { (exit 1); exit 1; }; }
83465fi
83466cat >conftest.$ac_ext <<_ACEOF
83467/* confdefs.h.  */
83468_ACEOF
83469cat confdefs.h >>conftest.$ac_ext
83470cat >>conftest.$ac_ext <<_ACEOF
83471/* end confdefs.h.  */
83472/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83473   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83474#define $ac_func innocuous_$ac_func
83475
83476/* System header to define __stub macros and hopefully few prototypes,
83477    which can conflict with char $ac_func (); below.
83478    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83479    <limits.h> exists even on freestanding compilers.  */
83480
83481#ifdef __STDC__
83482# include <limits.h>
83483#else
83484# include <assert.h>
83485#endif
83486
83487#undef $ac_func
83488
83489/* Override any gcc2 internal prototype to avoid an error.  */
83490#ifdef __cplusplus
83491extern "C"
83492{
83493#endif
83494/* We use char because int might match the return type of a gcc2
83495   builtin and then its argument prototype would still apply.  */
83496char $ac_func ();
83497/* The GNU C library defines this for functions which it implements
83498    to always fail with ENOSYS.  Some functions are actually named
83499    something starting with __ and the normal name is an alias.  */
83500#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83501choke me
83502#else
83503char (*f) () = $ac_func;
83504#endif
83505#ifdef __cplusplus
83506}
83507#endif
83508
83509int
83510main ()
83511{
83512return f != $ac_func;
83513  ;
83514  return 0;
83515}
83516_ACEOF
83517rm -f conftest.$ac_objext conftest$ac_exeext
83518if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83519  (eval $ac_link) 2>conftest.er1
83520  ac_status=$?
83521  grep -v '^ *+' conftest.er1 >conftest.err
83522  rm -f conftest.er1
83523  cat conftest.err >&5
83524  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83525  (exit $ac_status); } &&
83526	 { ac_try='test -z "$ac_c_werror_flag"
83527			 || test ! -s conftest.err'
83528  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83529  (eval $ac_try) 2>&5
83530  ac_status=$?
83531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83532  (exit $ac_status); }; } &&
83533	 { ac_try='test -s conftest$ac_exeext'
83534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83535  (eval $ac_try) 2>&5
83536  ac_status=$?
83537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83538  (exit $ac_status); }; }; then
83539  eval "$as_ac_var=yes"
83540else
83541  echo "$as_me: failed program was:" >&5
83542sed 's/^/| /' conftest.$ac_ext >&5
83543
83544eval "$as_ac_var=no"
83545fi
83546rm -f conftest.err conftest.$ac_objext \
83547      conftest$ac_exeext conftest.$ac_ext
83548fi
83549echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83550echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83551if test `eval echo '${'$as_ac_var'}'` = yes; then
83552  cat >>confdefs.h <<_ACEOF
83553#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83554_ACEOF
83555
83556fi
83557done
83558
83559    fi
83560  fi
83561
83562
83563
83564
83565
83566
83567  echo "$as_me:$LINENO: checking for isinff declaration" >&5
83568echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83569  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83570    if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83571  echo $ECHO_N "(cached) $ECHO_C" >&6
83572else
83573
83574
83575
83576      ac_ext=cc
83577ac_cpp='$CXXCPP $CPPFLAGS'
83578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83581
83582      cat >conftest.$ac_ext <<_ACEOF
83583/* confdefs.h.  */
83584_ACEOF
83585cat confdefs.h >>conftest.$ac_ext
83586cat >>conftest.$ac_ext <<_ACEOF
83587/* end confdefs.h.  */
83588#include <math.h>
83589		      #ifdef HAVE_IEEEFP_H
83590		      #include <ieeefp.h>
83591		      #endif
83592
83593int
83594main ()
83595{
83596 isinff(0);
83597  ;
83598  return 0;
83599}
83600_ACEOF
83601rm -f conftest.$ac_objext
83602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83603  (eval $ac_compile) 2>conftest.er1
83604  ac_status=$?
83605  grep -v '^ *+' conftest.er1 >conftest.err
83606  rm -f conftest.er1
83607  cat conftest.err >&5
83608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83609  (exit $ac_status); } &&
83610	 { ac_try='test -z "$ac_cxx_werror_flag"
83611			 || test ! -s conftest.err'
83612  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83613  (eval $ac_try) 2>&5
83614  ac_status=$?
83615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83616  (exit $ac_status); }; } &&
83617	 { ac_try='test -s conftest.$ac_objext'
83618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83619  (eval $ac_try) 2>&5
83620  ac_status=$?
83621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83622  (exit $ac_status); }; }; then
83623  glibcxx_cv_func_isinff_use=yes
83624else
83625  echo "$as_me: failed program was:" >&5
83626sed 's/^/| /' conftest.$ac_ext >&5
83627
83628glibcxx_cv_func_isinff_use=no
83629fi
83630rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83631      ac_ext=c
83632ac_cpp='$CPP $CPPFLAGS'
83633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83635ac_compiler_gnu=$ac_cv_c_compiler_gnu
83636
83637
83638fi
83639
83640  fi
83641  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83642echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83643
83644  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83645
83646for ac_func in isinff
83647do
83648as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83649echo "$as_me:$LINENO: checking for $ac_func" >&5
83650echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83651if eval "test \"\${$as_ac_var+set}\" = set"; then
83652  echo $ECHO_N "(cached) $ECHO_C" >&6
83653else
83654  if test x$gcc_no_link = xyes; then
83655  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83656echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83657   { (exit 1); exit 1; }; }
83658fi
83659cat >conftest.$ac_ext <<_ACEOF
83660/* confdefs.h.  */
83661_ACEOF
83662cat confdefs.h >>conftest.$ac_ext
83663cat >>conftest.$ac_ext <<_ACEOF
83664/* end confdefs.h.  */
83665/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83666   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83667#define $ac_func innocuous_$ac_func
83668
83669/* System header to define __stub macros and hopefully few prototypes,
83670    which can conflict with char $ac_func (); below.
83671    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83672    <limits.h> exists even on freestanding compilers.  */
83673
83674#ifdef __STDC__
83675# include <limits.h>
83676#else
83677# include <assert.h>
83678#endif
83679
83680#undef $ac_func
83681
83682/* Override any gcc2 internal prototype to avoid an error.  */
83683#ifdef __cplusplus
83684extern "C"
83685{
83686#endif
83687/* We use char because int might match the return type of a gcc2
83688   builtin and then its argument prototype would still apply.  */
83689char $ac_func ();
83690/* The GNU C library defines this for functions which it implements
83691    to always fail with ENOSYS.  Some functions are actually named
83692    something starting with __ and the normal name is an alias.  */
83693#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83694choke me
83695#else
83696char (*f) () = $ac_func;
83697#endif
83698#ifdef __cplusplus
83699}
83700#endif
83701
83702int
83703main ()
83704{
83705return f != $ac_func;
83706  ;
83707  return 0;
83708}
83709_ACEOF
83710rm -f conftest.$ac_objext conftest$ac_exeext
83711if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83712  (eval $ac_link) 2>conftest.er1
83713  ac_status=$?
83714  grep -v '^ *+' conftest.er1 >conftest.err
83715  rm -f conftest.er1
83716  cat conftest.err >&5
83717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83718  (exit $ac_status); } &&
83719	 { ac_try='test -z "$ac_c_werror_flag"
83720			 || test ! -s conftest.err'
83721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83722  (eval $ac_try) 2>&5
83723  ac_status=$?
83724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83725  (exit $ac_status); }; } &&
83726	 { ac_try='test -s conftest$ac_exeext'
83727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83728  (eval $ac_try) 2>&5
83729  ac_status=$?
83730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83731  (exit $ac_status); }; }; then
83732  eval "$as_ac_var=yes"
83733else
83734  echo "$as_me: failed program was:" >&5
83735sed 's/^/| /' conftest.$ac_ext >&5
83736
83737eval "$as_ac_var=no"
83738fi
83739rm -f conftest.err conftest.$ac_objext \
83740      conftest$ac_exeext conftest.$ac_ext
83741fi
83742echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83743echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83744if test `eval echo '${'$as_ac_var'}'` = yes; then
83745  cat >>confdefs.h <<_ACEOF
83746#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83747_ACEOF
83748
83749fi
83750done
83751
83752  else
83753
83754  echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83755echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83756  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83757    if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83758  echo $ECHO_N "(cached) $ECHO_C" >&6
83759else
83760
83761
83762
83763      ac_ext=cc
83764ac_cpp='$CXXCPP $CPPFLAGS'
83765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83768
83769      cat >conftest.$ac_ext <<_ACEOF
83770/* confdefs.h.  */
83771_ACEOF
83772cat confdefs.h >>conftest.$ac_ext
83773cat >>conftest.$ac_ext <<_ACEOF
83774/* end confdefs.h.  */
83775#include <math.h>
83776		      #ifdef HAVE_IEEEFP_H
83777		      #include <ieeefp.h>
83778		      #endif
83779
83780int
83781main ()
83782{
83783 _isinff(0);
83784  ;
83785  return 0;
83786}
83787_ACEOF
83788rm -f conftest.$ac_objext
83789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83790  (eval $ac_compile) 2>conftest.er1
83791  ac_status=$?
83792  grep -v '^ *+' conftest.er1 >conftest.err
83793  rm -f conftest.er1
83794  cat conftest.err >&5
83795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796  (exit $ac_status); } &&
83797	 { ac_try='test -z "$ac_cxx_werror_flag"
83798			 || test ! -s conftest.err'
83799  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83800  (eval $ac_try) 2>&5
83801  ac_status=$?
83802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83803  (exit $ac_status); }; } &&
83804	 { ac_try='test -s conftest.$ac_objext'
83805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83806  (eval $ac_try) 2>&5
83807  ac_status=$?
83808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83809  (exit $ac_status); }; }; then
83810  glibcxx_cv_func__isinff_use=yes
83811else
83812  echo "$as_me: failed program was:" >&5
83813sed 's/^/| /' conftest.$ac_ext >&5
83814
83815glibcxx_cv_func__isinff_use=no
83816fi
83817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83818      ac_ext=c
83819ac_cpp='$CPP $CPPFLAGS'
83820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83822ac_compiler_gnu=$ac_cv_c_compiler_gnu
83823
83824
83825fi
83826
83827  fi
83828  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83829echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83830
83831    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83832
83833for ac_func in _isinff
83834do
83835as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83836echo "$as_me:$LINENO: checking for $ac_func" >&5
83837echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83838if eval "test \"\${$as_ac_var+set}\" = set"; then
83839  echo $ECHO_N "(cached) $ECHO_C" >&6
83840else
83841  if test x$gcc_no_link = xyes; then
83842  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83843echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83844   { (exit 1); exit 1; }; }
83845fi
83846cat >conftest.$ac_ext <<_ACEOF
83847/* confdefs.h.  */
83848_ACEOF
83849cat confdefs.h >>conftest.$ac_ext
83850cat >>conftest.$ac_ext <<_ACEOF
83851/* end confdefs.h.  */
83852/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83853   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83854#define $ac_func innocuous_$ac_func
83855
83856/* System header to define __stub macros and hopefully few prototypes,
83857    which can conflict with char $ac_func (); below.
83858    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83859    <limits.h> exists even on freestanding compilers.  */
83860
83861#ifdef __STDC__
83862# include <limits.h>
83863#else
83864# include <assert.h>
83865#endif
83866
83867#undef $ac_func
83868
83869/* Override any gcc2 internal prototype to avoid an error.  */
83870#ifdef __cplusplus
83871extern "C"
83872{
83873#endif
83874/* We use char because int might match the return type of a gcc2
83875   builtin and then its argument prototype would still apply.  */
83876char $ac_func ();
83877/* The GNU C library defines this for functions which it implements
83878    to always fail with ENOSYS.  Some functions are actually named
83879    something starting with __ and the normal name is an alias.  */
83880#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83881choke me
83882#else
83883char (*f) () = $ac_func;
83884#endif
83885#ifdef __cplusplus
83886}
83887#endif
83888
83889int
83890main ()
83891{
83892return f != $ac_func;
83893  ;
83894  return 0;
83895}
83896_ACEOF
83897rm -f conftest.$ac_objext conftest$ac_exeext
83898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83899  (eval $ac_link) 2>conftest.er1
83900  ac_status=$?
83901  grep -v '^ *+' conftest.er1 >conftest.err
83902  rm -f conftest.er1
83903  cat conftest.err >&5
83904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905  (exit $ac_status); } &&
83906	 { ac_try='test -z "$ac_c_werror_flag"
83907			 || test ! -s conftest.err'
83908  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83909  (eval $ac_try) 2>&5
83910  ac_status=$?
83911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83912  (exit $ac_status); }; } &&
83913	 { ac_try='test -s conftest$ac_exeext'
83914  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83915  (eval $ac_try) 2>&5
83916  ac_status=$?
83917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83918  (exit $ac_status); }; }; then
83919  eval "$as_ac_var=yes"
83920else
83921  echo "$as_me: failed program was:" >&5
83922sed 's/^/| /' conftest.$ac_ext >&5
83923
83924eval "$as_ac_var=no"
83925fi
83926rm -f conftest.err conftest.$ac_objext \
83927      conftest$ac_exeext conftest.$ac_ext
83928fi
83929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83930echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83931if test `eval echo '${'$as_ac_var'}'` = yes; then
83932  cat >>confdefs.h <<_ACEOF
83933#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83934_ACEOF
83935
83936fi
83937done
83938
83939    fi
83940  fi
83941
83942
83943
83944
83945
83946
83947  echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83948echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83949  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83950    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83951  echo $ECHO_N "(cached) $ECHO_C" >&6
83952else
83953
83954
83955
83956      ac_ext=cc
83957ac_cpp='$CXXCPP $CPPFLAGS'
83958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83961
83962      cat >conftest.$ac_ext <<_ACEOF
83963/* confdefs.h.  */
83964_ACEOF
83965cat confdefs.h >>conftest.$ac_ext
83966cat >>conftest.$ac_ext <<_ACEOF
83967/* end confdefs.h.  */
83968#include <math.h>
83969int
83970main ()
83971{
83972 atan2f(0, 0);
83973  ;
83974  return 0;
83975}
83976_ACEOF
83977rm -f conftest.$ac_objext
83978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83979  (eval $ac_compile) 2>conftest.er1
83980  ac_status=$?
83981  grep -v '^ *+' conftest.er1 >conftest.err
83982  rm -f conftest.er1
83983  cat conftest.err >&5
83984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83985  (exit $ac_status); } &&
83986	 { ac_try='test -z "$ac_cxx_werror_flag"
83987			 || test ! -s conftest.err'
83988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83989  (eval $ac_try) 2>&5
83990  ac_status=$?
83991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83992  (exit $ac_status); }; } &&
83993	 { ac_try='test -s conftest.$ac_objext'
83994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83995  (eval $ac_try) 2>&5
83996  ac_status=$?
83997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83998  (exit $ac_status); }; }; then
83999  glibcxx_cv_func_atan2f_use=yes
84000else
84001  echo "$as_me: failed program was:" >&5
84002sed 's/^/| /' conftest.$ac_ext >&5
84003
84004glibcxx_cv_func_atan2f_use=no
84005fi
84006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84007      ac_ext=c
84008ac_cpp='$CPP $CPPFLAGS'
84009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84011ac_compiler_gnu=$ac_cv_c_compiler_gnu
84012
84013
84014fi
84015
84016  fi
84017  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
84018echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
84019
84020  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
84021
84022for ac_func in atan2f
84023do
84024as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84025echo "$as_me:$LINENO: checking for $ac_func" >&5
84026echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84027if eval "test \"\${$as_ac_var+set}\" = set"; then
84028  echo $ECHO_N "(cached) $ECHO_C" >&6
84029else
84030  if test x$gcc_no_link = xyes; then
84031  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84032echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84033   { (exit 1); exit 1; }; }
84034fi
84035cat >conftest.$ac_ext <<_ACEOF
84036/* confdefs.h.  */
84037_ACEOF
84038cat confdefs.h >>conftest.$ac_ext
84039cat >>conftest.$ac_ext <<_ACEOF
84040/* end confdefs.h.  */
84041/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84042   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84043#define $ac_func innocuous_$ac_func
84044
84045/* System header to define __stub macros and hopefully few prototypes,
84046    which can conflict with char $ac_func (); below.
84047    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84048    <limits.h> exists even on freestanding compilers.  */
84049
84050#ifdef __STDC__
84051# include <limits.h>
84052#else
84053# include <assert.h>
84054#endif
84055
84056#undef $ac_func
84057
84058/* Override any gcc2 internal prototype to avoid an error.  */
84059#ifdef __cplusplus
84060extern "C"
84061{
84062#endif
84063/* We use char because int might match the return type of a gcc2
84064   builtin and then its argument prototype would still apply.  */
84065char $ac_func ();
84066/* The GNU C library defines this for functions which it implements
84067    to always fail with ENOSYS.  Some functions are actually named
84068    something starting with __ and the normal name is an alias.  */
84069#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84070choke me
84071#else
84072char (*f) () = $ac_func;
84073#endif
84074#ifdef __cplusplus
84075}
84076#endif
84077
84078int
84079main ()
84080{
84081return f != $ac_func;
84082  ;
84083  return 0;
84084}
84085_ACEOF
84086rm -f conftest.$ac_objext conftest$ac_exeext
84087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84088  (eval $ac_link) 2>conftest.er1
84089  ac_status=$?
84090  grep -v '^ *+' conftest.er1 >conftest.err
84091  rm -f conftest.er1
84092  cat conftest.err >&5
84093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84094  (exit $ac_status); } &&
84095	 { ac_try='test -z "$ac_c_werror_flag"
84096			 || test ! -s conftest.err'
84097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84098  (eval $ac_try) 2>&5
84099  ac_status=$?
84100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84101  (exit $ac_status); }; } &&
84102	 { ac_try='test -s conftest$ac_exeext'
84103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84104  (eval $ac_try) 2>&5
84105  ac_status=$?
84106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84107  (exit $ac_status); }; }; then
84108  eval "$as_ac_var=yes"
84109else
84110  echo "$as_me: failed program was:" >&5
84111sed 's/^/| /' conftest.$ac_ext >&5
84112
84113eval "$as_ac_var=no"
84114fi
84115rm -f conftest.err conftest.$ac_objext \
84116      conftest$ac_exeext conftest.$ac_ext
84117fi
84118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84119echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84120if test `eval echo '${'$as_ac_var'}'` = yes; then
84121  cat >>confdefs.h <<_ACEOF
84122#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84123_ACEOF
84124
84125fi
84126done
84127
84128  else
84129
84130  echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
84131echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
84132  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
84133    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
84134  echo $ECHO_N "(cached) $ECHO_C" >&6
84135else
84136
84137
84138
84139      ac_ext=cc
84140ac_cpp='$CXXCPP $CPPFLAGS'
84141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84144
84145      cat >conftest.$ac_ext <<_ACEOF
84146/* confdefs.h.  */
84147_ACEOF
84148cat confdefs.h >>conftest.$ac_ext
84149cat >>conftest.$ac_ext <<_ACEOF
84150/* end confdefs.h.  */
84151#include <math.h>
84152int
84153main ()
84154{
84155 _atan2f(0, 0);
84156  ;
84157  return 0;
84158}
84159_ACEOF
84160rm -f conftest.$ac_objext
84161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84162  (eval $ac_compile) 2>conftest.er1
84163  ac_status=$?
84164  grep -v '^ *+' conftest.er1 >conftest.err
84165  rm -f conftest.er1
84166  cat conftest.err >&5
84167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84168  (exit $ac_status); } &&
84169	 { ac_try='test -z "$ac_cxx_werror_flag"
84170			 || test ! -s conftest.err'
84171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84172  (eval $ac_try) 2>&5
84173  ac_status=$?
84174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84175  (exit $ac_status); }; } &&
84176	 { ac_try='test -s conftest.$ac_objext'
84177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84178  (eval $ac_try) 2>&5
84179  ac_status=$?
84180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181  (exit $ac_status); }; }; then
84182  glibcxx_cv_func__atan2f_use=yes
84183else
84184  echo "$as_me: failed program was:" >&5
84185sed 's/^/| /' conftest.$ac_ext >&5
84186
84187glibcxx_cv_func__atan2f_use=no
84188fi
84189rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84190      ac_ext=c
84191ac_cpp='$CPP $CPPFLAGS'
84192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84194ac_compiler_gnu=$ac_cv_c_compiler_gnu
84195
84196
84197fi
84198
84199  fi
84200  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
84201echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84202
84203    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84204
84205for ac_func in _atan2f
84206do
84207as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84208echo "$as_me:$LINENO: checking for $ac_func" >&5
84209echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84210if eval "test \"\${$as_ac_var+set}\" = set"; then
84211  echo $ECHO_N "(cached) $ECHO_C" >&6
84212else
84213  if test x$gcc_no_link = xyes; then
84214  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84215echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84216   { (exit 1); exit 1; }; }
84217fi
84218cat >conftest.$ac_ext <<_ACEOF
84219/* confdefs.h.  */
84220_ACEOF
84221cat confdefs.h >>conftest.$ac_ext
84222cat >>conftest.$ac_ext <<_ACEOF
84223/* end confdefs.h.  */
84224/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84225   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84226#define $ac_func innocuous_$ac_func
84227
84228/* System header to define __stub macros and hopefully few prototypes,
84229    which can conflict with char $ac_func (); below.
84230    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84231    <limits.h> exists even on freestanding compilers.  */
84232
84233#ifdef __STDC__
84234# include <limits.h>
84235#else
84236# include <assert.h>
84237#endif
84238
84239#undef $ac_func
84240
84241/* Override any gcc2 internal prototype to avoid an error.  */
84242#ifdef __cplusplus
84243extern "C"
84244{
84245#endif
84246/* We use char because int might match the return type of a gcc2
84247   builtin and then its argument prototype would still apply.  */
84248char $ac_func ();
84249/* The GNU C library defines this for functions which it implements
84250    to always fail with ENOSYS.  Some functions are actually named
84251    something starting with __ and the normal name is an alias.  */
84252#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84253choke me
84254#else
84255char (*f) () = $ac_func;
84256#endif
84257#ifdef __cplusplus
84258}
84259#endif
84260
84261int
84262main ()
84263{
84264return f != $ac_func;
84265  ;
84266  return 0;
84267}
84268_ACEOF
84269rm -f conftest.$ac_objext conftest$ac_exeext
84270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84271  (eval $ac_link) 2>conftest.er1
84272  ac_status=$?
84273  grep -v '^ *+' conftest.er1 >conftest.err
84274  rm -f conftest.er1
84275  cat conftest.err >&5
84276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84277  (exit $ac_status); } &&
84278	 { ac_try='test -z "$ac_c_werror_flag"
84279			 || test ! -s conftest.err'
84280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84281  (eval $ac_try) 2>&5
84282  ac_status=$?
84283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84284  (exit $ac_status); }; } &&
84285	 { ac_try='test -s conftest$ac_exeext'
84286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84287  (eval $ac_try) 2>&5
84288  ac_status=$?
84289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290  (exit $ac_status); }; }; then
84291  eval "$as_ac_var=yes"
84292else
84293  echo "$as_me: failed program was:" >&5
84294sed 's/^/| /' conftest.$ac_ext >&5
84295
84296eval "$as_ac_var=no"
84297fi
84298rm -f conftest.err conftest.$ac_objext \
84299      conftest$ac_exeext conftest.$ac_ext
84300fi
84301echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84302echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84303if test `eval echo '${'$as_ac_var'}'` = yes; then
84304  cat >>confdefs.h <<_ACEOF
84305#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84306_ACEOF
84307
84308fi
84309done
84310
84311    fi
84312  fi
84313
84314
84315
84316
84317
84318
84319  echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84320echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84321  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84322    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84323  echo $ECHO_N "(cached) $ECHO_C" >&6
84324else
84325
84326
84327
84328      ac_ext=cc
84329ac_cpp='$CXXCPP $CPPFLAGS'
84330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84333
84334      cat >conftest.$ac_ext <<_ACEOF
84335/* confdefs.h.  */
84336_ACEOF
84337cat confdefs.h >>conftest.$ac_ext
84338cat >>conftest.$ac_ext <<_ACEOF
84339/* end confdefs.h.  */
84340#include <math.h>
84341		      #ifdef HAVE_IEEEFP_H
84342		      #include <ieeefp.h>
84343		      #endif
84344
84345int
84346main ()
84347{
84348 fabsf(0);
84349  ;
84350  return 0;
84351}
84352_ACEOF
84353rm -f conftest.$ac_objext
84354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84355  (eval $ac_compile) 2>conftest.er1
84356  ac_status=$?
84357  grep -v '^ *+' conftest.er1 >conftest.err
84358  rm -f conftest.er1
84359  cat conftest.err >&5
84360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84361  (exit $ac_status); } &&
84362	 { ac_try='test -z "$ac_cxx_werror_flag"
84363			 || test ! -s conftest.err'
84364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84365  (eval $ac_try) 2>&5
84366  ac_status=$?
84367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84368  (exit $ac_status); }; } &&
84369	 { ac_try='test -s conftest.$ac_objext'
84370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84371  (eval $ac_try) 2>&5
84372  ac_status=$?
84373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84374  (exit $ac_status); }; }; then
84375  glibcxx_cv_func_fabsf_use=yes
84376else
84377  echo "$as_me: failed program was:" >&5
84378sed 's/^/| /' conftest.$ac_ext >&5
84379
84380glibcxx_cv_func_fabsf_use=no
84381fi
84382rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84383      ac_ext=c
84384ac_cpp='$CPP $CPPFLAGS'
84385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84387ac_compiler_gnu=$ac_cv_c_compiler_gnu
84388
84389
84390fi
84391
84392  fi
84393  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84394echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84395
84396  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84397
84398for ac_func in fabsf
84399do
84400as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84401echo "$as_me:$LINENO: checking for $ac_func" >&5
84402echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84403if eval "test \"\${$as_ac_var+set}\" = set"; then
84404  echo $ECHO_N "(cached) $ECHO_C" >&6
84405else
84406  if test x$gcc_no_link = xyes; then
84407  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84408echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84409   { (exit 1); exit 1; }; }
84410fi
84411cat >conftest.$ac_ext <<_ACEOF
84412/* confdefs.h.  */
84413_ACEOF
84414cat confdefs.h >>conftest.$ac_ext
84415cat >>conftest.$ac_ext <<_ACEOF
84416/* end confdefs.h.  */
84417/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84418   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84419#define $ac_func innocuous_$ac_func
84420
84421/* System header to define __stub macros and hopefully few prototypes,
84422    which can conflict with char $ac_func (); below.
84423    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84424    <limits.h> exists even on freestanding compilers.  */
84425
84426#ifdef __STDC__
84427# include <limits.h>
84428#else
84429# include <assert.h>
84430#endif
84431
84432#undef $ac_func
84433
84434/* Override any gcc2 internal prototype to avoid an error.  */
84435#ifdef __cplusplus
84436extern "C"
84437{
84438#endif
84439/* We use char because int might match the return type of a gcc2
84440   builtin and then its argument prototype would still apply.  */
84441char $ac_func ();
84442/* The GNU C library defines this for functions which it implements
84443    to always fail with ENOSYS.  Some functions are actually named
84444    something starting with __ and the normal name is an alias.  */
84445#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84446choke me
84447#else
84448char (*f) () = $ac_func;
84449#endif
84450#ifdef __cplusplus
84451}
84452#endif
84453
84454int
84455main ()
84456{
84457return f != $ac_func;
84458  ;
84459  return 0;
84460}
84461_ACEOF
84462rm -f conftest.$ac_objext conftest$ac_exeext
84463if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84464  (eval $ac_link) 2>conftest.er1
84465  ac_status=$?
84466  grep -v '^ *+' conftest.er1 >conftest.err
84467  rm -f conftest.er1
84468  cat conftest.err >&5
84469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84470  (exit $ac_status); } &&
84471	 { ac_try='test -z "$ac_c_werror_flag"
84472			 || test ! -s conftest.err'
84473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84474  (eval $ac_try) 2>&5
84475  ac_status=$?
84476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84477  (exit $ac_status); }; } &&
84478	 { ac_try='test -s conftest$ac_exeext'
84479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84480  (eval $ac_try) 2>&5
84481  ac_status=$?
84482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84483  (exit $ac_status); }; }; then
84484  eval "$as_ac_var=yes"
84485else
84486  echo "$as_me: failed program was:" >&5
84487sed 's/^/| /' conftest.$ac_ext >&5
84488
84489eval "$as_ac_var=no"
84490fi
84491rm -f conftest.err conftest.$ac_objext \
84492      conftest$ac_exeext conftest.$ac_ext
84493fi
84494echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84495echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84496if test `eval echo '${'$as_ac_var'}'` = yes; then
84497  cat >>confdefs.h <<_ACEOF
84498#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84499_ACEOF
84500
84501fi
84502done
84503
84504  else
84505
84506  echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84507echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84508  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84509    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84510  echo $ECHO_N "(cached) $ECHO_C" >&6
84511else
84512
84513
84514
84515      ac_ext=cc
84516ac_cpp='$CXXCPP $CPPFLAGS'
84517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84520
84521      cat >conftest.$ac_ext <<_ACEOF
84522/* confdefs.h.  */
84523_ACEOF
84524cat confdefs.h >>conftest.$ac_ext
84525cat >>conftest.$ac_ext <<_ACEOF
84526/* end confdefs.h.  */
84527#include <math.h>
84528		      #ifdef HAVE_IEEEFP_H
84529		      #include <ieeefp.h>
84530		      #endif
84531
84532int
84533main ()
84534{
84535 _fabsf(0);
84536  ;
84537  return 0;
84538}
84539_ACEOF
84540rm -f conftest.$ac_objext
84541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84542  (eval $ac_compile) 2>conftest.er1
84543  ac_status=$?
84544  grep -v '^ *+' conftest.er1 >conftest.err
84545  rm -f conftest.er1
84546  cat conftest.err >&5
84547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84548  (exit $ac_status); } &&
84549	 { ac_try='test -z "$ac_cxx_werror_flag"
84550			 || test ! -s conftest.err'
84551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84552  (eval $ac_try) 2>&5
84553  ac_status=$?
84554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84555  (exit $ac_status); }; } &&
84556	 { ac_try='test -s conftest.$ac_objext'
84557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84558  (eval $ac_try) 2>&5
84559  ac_status=$?
84560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84561  (exit $ac_status); }; }; then
84562  glibcxx_cv_func__fabsf_use=yes
84563else
84564  echo "$as_me: failed program was:" >&5
84565sed 's/^/| /' conftest.$ac_ext >&5
84566
84567glibcxx_cv_func__fabsf_use=no
84568fi
84569rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84570      ac_ext=c
84571ac_cpp='$CPP $CPPFLAGS'
84572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84574ac_compiler_gnu=$ac_cv_c_compiler_gnu
84575
84576
84577fi
84578
84579  fi
84580  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84581echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84582
84583    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84584
84585for ac_func in _fabsf
84586do
84587as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84588echo "$as_me:$LINENO: checking for $ac_func" >&5
84589echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84590if eval "test \"\${$as_ac_var+set}\" = set"; then
84591  echo $ECHO_N "(cached) $ECHO_C" >&6
84592else
84593  if test x$gcc_no_link = xyes; then
84594  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84595echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84596   { (exit 1); exit 1; }; }
84597fi
84598cat >conftest.$ac_ext <<_ACEOF
84599/* confdefs.h.  */
84600_ACEOF
84601cat confdefs.h >>conftest.$ac_ext
84602cat >>conftest.$ac_ext <<_ACEOF
84603/* end confdefs.h.  */
84604/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84605   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84606#define $ac_func innocuous_$ac_func
84607
84608/* System header to define __stub macros and hopefully few prototypes,
84609    which can conflict with char $ac_func (); below.
84610    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84611    <limits.h> exists even on freestanding compilers.  */
84612
84613#ifdef __STDC__
84614# include <limits.h>
84615#else
84616# include <assert.h>
84617#endif
84618
84619#undef $ac_func
84620
84621/* Override any gcc2 internal prototype to avoid an error.  */
84622#ifdef __cplusplus
84623extern "C"
84624{
84625#endif
84626/* We use char because int might match the return type of a gcc2
84627   builtin and then its argument prototype would still apply.  */
84628char $ac_func ();
84629/* The GNU C library defines this for functions which it implements
84630    to always fail with ENOSYS.  Some functions are actually named
84631    something starting with __ and the normal name is an alias.  */
84632#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84633choke me
84634#else
84635char (*f) () = $ac_func;
84636#endif
84637#ifdef __cplusplus
84638}
84639#endif
84640
84641int
84642main ()
84643{
84644return f != $ac_func;
84645  ;
84646  return 0;
84647}
84648_ACEOF
84649rm -f conftest.$ac_objext conftest$ac_exeext
84650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84651  (eval $ac_link) 2>conftest.er1
84652  ac_status=$?
84653  grep -v '^ *+' conftest.er1 >conftest.err
84654  rm -f conftest.er1
84655  cat conftest.err >&5
84656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657  (exit $ac_status); } &&
84658	 { ac_try='test -z "$ac_c_werror_flag"
84659			 || test ! -s conftest.err'
84660  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84661  (eval $ac_try) 2>&5
84662  ac_status=$?
84663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84664  (exit $ac_status); }; } &&
84665	 { ac_try='test -s conftest$ac_exeext'
84666  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84667  (eval $ac_try) 2>&5
84668  ac_status=$?
84669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670  (exit $ac_status); }; }; then
84671  eval "$as_ac_var=yes"
84672else
84673  echo "$as_me: failed program was:" >&5
84674sed 's/^/| /' conftest.$ac_ext >&5
84675
84676eval "$as_ac_var=no"
84677fi
84678rm -f conftest.err conftest.$ac_objext \
84679      conftest$ac_exeext conftest.$ac_ext
84680fi
84681echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84682echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84683if test `eval echo '${'$as_ac_var'}'` = yes; then
84684  cat >>confdefs.h <<_ACEOF
84685#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84686_ACEOF
84687
84688fi
84689done
84690
84691    fi
84692  fi
84693
84694
84695
84696
84697
84698
84699  echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84700echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84701  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84702    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84703  echo $ECHO_N "(cached) $ECHO_C" >&6
84704else
84705
84706
84707
84708      ac_ext=cc
84709ac_cpp='$CXXCPP $CPPFLAGS'
84710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84713
84714      cat >conftest.$ac_ext <<_ACEOF
84715/* confdefs.h.  */
84716_ACEOF
84717cat confdefs.h >>conftest.$ac_ext
84718cat >>conftest.$ac_ext <<_ACEOF
84719/* end confdefs.h.  */
84720#include <math.h>
84721int
84722main ()
84723{
84724 fmodf(0, 0);
84725  ;
84726  return 0;
84727}
84728_ACEOF
84729rm -f conftest.$ac_objext
84730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84731  (eval $ac_compile) 2>conftest.er1
84732  ac_status=$?
84733  grep -v '^ *+' conftest.er1 >conftest.err
84734  rm -f conftest.er1
84735  cat conftest.err >&5
84736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84737  (exit $ac_status); } &&
84738	 { ac_try='test -z "$ac_cxx_werror_flag"
84739			 || test ! -s conftest.err'
84740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84741  (eval $ac_try) 2>&5
84742  ac_status=$?
84743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84744  (exit $ac_status); }; } &&
84745	 { ac_try='test -s conftest.$ac_objext'
84746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84747  (eval $ac_try) 2>&5
84748  ac_status=$?
84749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84750  (exit $ac_status); }; }; then
84751  glibcxx_cv_func_fmodf_use=yes
84752else
84753  echo "$as_me: failed program was:" >&5
84754sed 's/^/| /' conftest.$ac_ext >&5
84755
84756glibcxx_cv_func_fmodf_use=no
84757fi
84758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84759      ac_ext=c
84760ac_cpp='$CPP $CPPFLAGS'
84761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84763ac_compiler_gnu=$ac_cv_c_compiler_gnu
84764
84765
84766fi
84767
84768  fi
84769  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84770echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84771
84772  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84773
84774for ac_func in fmodf
84775do
84776as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84777echo "$as_me:$LINENO: checking for $ac_func" >&5
84778echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84779if eval "test \"\${$as_ac_var+set}\" = set"; then
84780  echo $ECHO_N "(cached) $ECHO_C" >&6
84781else
84782  if test x$gcc_no_link = xyes; then
84783  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84784echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84785   { (exit 1); exit 1; }; }
84786fi
84787cat >conftest.$ac_ext <<_ACEOF
84788/* confdefs.h.  */
84789_ACEOF
84790cat confdefs.h >>conftest.$ac_ext
84791cat >>conftest.$ac_ext <<_ACEOF
84792/* end confdefs.h.  */
84793/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84794   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84795#define $ac_func innocuous_$ac_func
84796
84797/* System header to define __stub macros and hopefully few prototypes,
84798    which can conflict with char $ac_func (); below.
84799    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84800    <limits.h> exists even on freestanding compilers.  */
84801
84802#ifdef __STDC__
84803# include <limits.h>
84804#else
84805# include <assert.h>
84806#endif
84807
84808#undef $ac_func
84809
84810/* Override any gcc2 internal prototype to avoid an error.  */
84811#ifdef __cplusplus
84812extern "C"
84813{
84814#endif
84815/* We use char because int might match the return type of a gcc2
84816   builtin and then its argument prototype would still apply.  */
84817char $ac_func ();
84818/* The GNU C library defines this for functions which it implements
84819    to always fail with ENOSYS.  Some functions are actually named
84820    something starting with __ and the normal name is an alias.  */
84821#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84822choke me
84823#else
84824char (*f) () = $ac_func;
84825#endif
84826#ifdef __cplusplus
84827}
84828#endif
84829
84830int
84831main ()
84832{
84833return f != $ac_func;
84834  ;
84835  return 0;
84836}
84837_ACEOF
84838rm -f conftest.$ac_objext conftest$ac_exeext
84839if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84840  (eval $ac_link) 2>conftest.er1
84841  ac_status=$?
84842  grep -v '^ *+' conftest.er1 >conftest.err
84843  rm -f conftest.er1
84844  cat conftest.err >&5
84845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84846  (exit $ac_status); } &&
84847	 { ac_try='test -z "$ac_c_werror_flag"
84848			 || test ! -s conftest.err'
84849  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84850  (eval $ac_try) 2>&5
84851  ac_status=$?
84852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84853  (exit $ac_status); }; } &&
84854	 { ac_try='test -s conftest$ac_exeext'
84855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84856  (eval $ac_try) 2>&5
84857  ac_status=$?
84858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84859  (exit $ac_status); }; }; then
84860  eval "$as_ac_var=yes"
84861else
84862  echo "$as_me: failed program was:" >&5
84863sed 's/^/| /' conftest.$ac_ext >&5
84864
84865eval "$as_ac_var=no"
84866fi
84867rm -f conftest.err conftest.$ac_objext \
84868      conftest$ac_exeext conftest.$ac_ext
84869fi
84870echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84871echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84872if test `eval echo '${'$as_ac_var'}'` = yes; then
84873  cat >>confdefs.h <<_ACEOF
84874#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84875_ACEOF
84876
84877fi
84878done
84879
84880  else
84881
84882  echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84883echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84884  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84885    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84886  echo $ECHO_N "(cached) $ECHO_C" >&6
84887else
84888
84889
84890
84891      ac_ext=cc
84892ac_cpp='$CXXCPP $CPPFLAGS'
84893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84896
84897      cat >conftest.$ac_ext <<_ACEOF
84898/* confdefs.h.  */
84899_ACEOF
84900cat confdefs.h >>conftest.$ac_ext
84901cat >>conftest.$ac_ext <<_ACEOF
84902/* end confdefs.h.  */
84903#include <math.h>
84904int
84905main ()
84906{
84907 _fmodf(0, 0);
84908  ;
84909  return 0;
84910}
84911_ACEOF
84912rm -f conftest.$ac_objext
84913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84914  (eval $ac_compile) 2>conftest.er1
84915  ac_status=$?
84916  grep -v '^ *+' conftest.er1 >conftest.err
84917  rm -f conftest.er1
84918  cat conftest.err >&5
84919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84920  (exit $ac_status); } &&
84921	 { ac_try='test -z "$ac_cxx_werror_flag"
84922			 || test ! -s conftest.err'
84923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84924  (eval $ac_try) 2>&5
84925  ac_status=$?
84926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84927  (exit $ac_status); }; } &&
84928	 { ac_try='test -s conftest.$ac_objext'
84929  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84930  (eval $ac_try) 2>&5
84931  ac_status=$?
84932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84933  (exit $ac_status); }; }; then
84934  glibcxx_cv_func__fmodf_use=yes
84935else
84936  echo "$as_me: failed program was:" >&5
84937sed 's/^/| /' conftest.$ac_ext >&5
84938
84939glibcxx_cv_func__fmodf_use=no
84940fi
84941rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84942      ac_ext=c
84943ac_cpp='$CPP $CPPFLAGS'
84944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84946ac_compiler_gnu=$ac_cv_c_compiler_gnu
84947
84948
84949fi
84950
84951  fi
84952  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84953echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84954
84955    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84956
84957for ac_func in _fmodf
84958do
84959as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84960echo "$as_me:$LINENO: checking for $ac_func" >&5
84961echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84962if eval "test \"\${$as_ac_var+set}\" = set"; then
84963  echo $ECHO_N "(cached) $ECHO_C" >&6
84964else
84965  if test x$gcc_no_link = xyes; then
84966  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84967echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84968   { (exit 1); exit 1; }; }
84969fi
84970cat >conftest.$ac_ext <<_ACEOF
84971/* confdefs.h.  */
84972_ACEOF
84973cat confdefs.h >>conftest.$ac_ext
84974cat >>conftest.$ac_ext <<_ACEOF
84975/* end confdefs.h.  */
84976/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84977   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84978#define $ac_func innocuous_$ac_func
84979
84980/* System header to define __stub macros and hopefully few prototypes,
84981    which can conflict with char $ac_func (); below.
84982    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84983    <limits.h> exists even on freestanding compilers.  */
84984
84985#ifdef __STDC__
84986# include <limits.h>
84987#else
84988# include <assert.h>
84989#endif
84990
84991#undef $ac_func
84992
84993/* Override any gcc2 internal prototype to avoid an error.  */
84994#ifdef __cplusplus
84995extern "C"
84996{
84997#endif
84998/* We use char because int might match the return type of a gcc2
84999   builtin and then its argument prototype would still apply.  */
85000char $ac_func ();
85001/* The GNU C library defines this for functions which it implements
85002    to always fail with ENOSYS.  Some functions are actually named
85003    something starting with __ and the normal name is an alias.  */
85004#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85005choke me
85006#else
85007char (*f) () = $ac_func;
85008#endif
85009#ifdef __cplusplus
85010}
85011#endif
85012
85013int
85014main ()
85015{
85016return f != $ac_func;
85017  ;
85018  return 0;
85019}
85020_ACEOF
85021rm -f conftest.$ac_objext conftest$ac_exeext
85022if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85023  (eval $ac_link) 2>conftest.er1
85024  ac_status=$?
85025  grep -v '^ *+' conftest.er1 >conftest.err
85026  rm -f conftest.er1
85027  cat conftest.err >&5
85028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85029  (exit $ac_status); } &&
85030	 { ac_try='test -z "$ac_c_werror_flag"
85031			 || test ! -s conftest.err'
85032  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85033  (eval $ac_try) 2>&5
85034  ac_status=$?
85035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85036  (exit $ac_status); }; } &&
85037	 { ac_try='test -s conftest$ac_exeext'
85038  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85039  (eval $ac_try) 2>&5
85040  ac_status=$?
85041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85042  (exit $ac_status); }; }; then
85043  eval "$as_ac_var=yes"
85044else
85045  echo "$as_me: failed program was:" >&5
85046sed 's/^/| /' conftest.$ac_ext >&5
85047
85048eval "$as_ac_var=no"
85049fi
85050rm -f conftest.err conftest.$ac_objext \
85051      conftest$ac_exeext conftest.$ac_ext
85052fi
85053echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85054echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85055if test `eval echo '${'$as_ac_var'}'` = yes; then
85056  cat >>confdefs.h <<_ACEOF
85057#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85058_ACEOF
85059
85060fi
85061done
85062
85063    fi
85064  fi
85065
85066
85067
85068
85069
85070
85071  echo "$as_me:$LINENO: checking for frexpf declaration" >&5
85072echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
85073  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
85074    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
85075  echo $ECHO_N "(cached) $ECHO_C" >&6
85076else
85077
85078
85079
85080      ac_ext=cc
85081ac_cpp='$CXXCPP $CPPFLAGS'
85082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85085
85086      cat >conftest.$ac_ext <<_ACEOF
85087/* confdefs.h.  */
85088_ACEOF
85089cat confdefs.h >>conftest.$ac_ext
85090cat >>conftest.$ac_ext <<_ACEOF
85091/* end confdefs.h.  */
85092#include <math.h>
85093int
85094main ()
85095{
85096 frexpf(0, 0);
85097  ;
85098  return 0;
85099}
85100_ACEOF
85101rm -f conftest.$ac_objext
85102if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85103  (eval $ac_compile) 2>conftest.er1
85104  ac_status=$?
85105  grep -v '^ *+' conftest.er1 >conftest.err
85106  rm -f conftest.er1
85107  cat conftest.err >&5
85108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85109  (exit $ac_status); } &&
85110	 { ac_try='test -z "$ac_cxx_werror_flag"
85111			 || test ! -s conftest.err'
85112  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85113  (eval $ac_try) 2>&5
85114  ac_status=$?
85115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85116  (exit $ac_status); }; } &&
85117	 { ac_try='test -s conftest.$ac_objext'
85118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85119  (eval $ac_try) 2>&5
85120  ac_status=$?
85121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122  (exit $ac_status); }; }; then
85123  glibcxx_cv_func_frexpf_use=yes
85124else
85125  echo "$as_me: failed program was:" >&5
85126sed 's/^/| /' conftest.$ac_ext >&5
85127
85128glibcxx_cv_func_frexpf_use=no
85129fi
85130rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85131      ac_ext=c
85132ac_cpp='$CPP $CPPFLAGS'
85133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85135ac_compiler_gnu=$ac_cv_c_compiler_gnu
85136
85137
85138fi
85139
85140  fi
85141  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
85142echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
85143
85144  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
85145
85146for ac_func in frexpf
85147do
85148as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85149echo "$as_me:$LINENO: checking for $ac_func" >&5
85150echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85151if eval "test \"\${$as_ac_var+set}\" = set"; then
85152  echo $ECHO_N "(cached) $ECHO_C" >&6
85153else
85154  if test x$gcc_no_link = xyes; then
85155  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85156echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85157   { (exit 1); exit 1; }; }
85158fi
85159cat >conftest.$ac_ext <<_ACEOF
85160/* confdefs.h.  */
85161_ACEOF
85162cat confdefs.h >>conftest.$ac_ext
85163cat >>conftest.$ac_ext <<_ACEOF
85164/* end confdefs.h.  */
85165/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85166   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85167#define $ac_func innocuous_$ac_func
85168
85169/* System header to define __stub macros and hopefully few prototypes,
85170    which can conflict with char $ac_func (); below.
85171    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85172    <limits.h> exists even on freestanding compilers.  */
85173
85174#ifdef __STDC__
85175# include <limits.h>
85176#else
85177# include <assert.h>
85178#endif
85179
85180#undef $ac_func
85181
85182/* Override any gcc2 internal prototype to avoid an error.  */
85183#ifdef __cplusplus
85184extern "C"
85185{
85186#endif
85187/* We use char because int might match the return type of a gcc2
85188   builtin and then its argument prototype would still apply.  */
85189char $ac_func ();
85190/* The GNU C library defines this for functions which it implements
85191    to always fail with ENOSYS.  Some functions are actually named
85192    something starting with __ and the normal name is an alias.  */
85193#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85194choke me
85195#else
85196char (*f) () = $ac_func;
85197#endif
85198#ifdef __cplusplus
85199}
85200#endif
85201
85202int
85203main ()
85204{
85205return f != $ac_func;
85206  ;
85207  return 0;
85208}
85209_ACEOF
85210rm -f conftest.$ac_objext conftest$ac_exeext
85211if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85212  (eval $ac_link) 2>conftest.er1
85213  ac_status=$?
85214  grep -v '^ *+' conftest.er1 >conftest.err
85215  rm -f conftest.er1
85216  cat conftest.err >&5
85217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85218  (exit $ac_status); } &&
85219	 { ac_try='test -z "$ac_c_werror_flag"
85220			 || test ! -s conftest.err'
85221  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85222  (eval $ac_try) 2>&5
85223  ac_status=$?
85224  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85225  (exit $ac_status); }; } &&
85226	 { ac_try='test -s conftest$ac_exeext'
85227  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85228  (eval $ac_try) 2>&5
85229  ac_status=$?
85230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85231  (exit $ac_status); }; }; then
85232  eval "$as_ac_var=yes"
85233else
85234  echo "$as_me: failed program was:" >&5
85235sed 's/^/| /' conftest.$ac_ext >&5
85236
85237eval "$as_ac_var=no"
85238fi
85239rm -f conftest.err conftest.$ac_objext \
85240      conftest$ac_exeext conftest.$ac_ext
85241fi
85242echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85243echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85244if test `eval echo '${'$as_ac_var'}'` = yes; then
85245  cat >>confdefs.h <<_ACEOF
85246#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85247_ACEOF
85248
85249fi
85250done
85251
85252  else
85253
85254  echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85255echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85256  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85257    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85258  echo $ECHO_N "(cached) $ECHO_C" >&6
85259else
85260
85261
85262
85263      ac_ext=cc
85264ac_cpp='$CXXCPP $CPPFLAGS'
85265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85268
85269      cat >conftest.$ac_ext <<_ACEOF
85270/* confdefs.h.  */
85271_ACEOF
85272cat confdefs.h >>conftest.$ac_ext
85273cat >>conftest.$ac_ext <<_ACEOF
85274/* end confdefs.h.  */
85275#include <math.h>
85276int
85277main ()
85278{
85279 _frexpf(0, 0);
85280  ;
85281  return 0;
85282}
85283_ACEOF
85284rm -f conftest.$ac_objext
85285if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85286  (eval $ac_compile) 2>conftest.er1
85287  ac_status=$?
85288  grep -v '^ *+' conftest.er1 >conftest.err
85289  rm -f conftest.er1
85290  cat conftest.err >&5
85291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85292  (exit $ac_status); } &&
85293	 { ac_try='test -z "$ac_cxx_werror_flag"
85294			 || test ! -s conftest.err'
85295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85296  (eval $ac_try) 2>&5
85297  ac_status=$?
85298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85299  (exit $ac_status); }; } &&
85300	 { ac_try='test -s conftest.$ac_objext'
85301  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85302  (eval $ac_try) 2>&5
85303  ac_status=$?
85304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85305  (exit $ac_status); }; }; then
85306  glibcxx_cv_func__frexpf_use=yes
85307else
85308  echo "$as_me: failed program was:" >&5
85309sed 's/^/| /' conftest.$ac_ext >&5
85310
85311glibcxx_cv_func__frexpf_use=no
85312fi
85313rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85314      ac_ext=c
85315ac_cpp='$CPP $CPPFLAGS'
85316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85318ac_compiler_gnu=$ac_cv_c_compiler_gnu
85319
85320
85321fi
85322
85323  fi
85324  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85325echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85326
85327    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85328
85329for ac_func in _frexpf
85330do
85331as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85332echo "$as_me:$LINENO: checking for $ac_func" >&5
85333echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85334if eval "test \"\${$as_ac_var+set}\" = set"; then
85335  echo $ECHO_N "(cached) $ECHO_C" >&6
85336else
85337  if test x$gcc_no_link = xyes; then
85338  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85339echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85340   { (exit 1); exit 1; }; }
85341fi
85342cat >conftest.$ac_ext <<_ACEOF
85343/* confdefs.h.  */
85344_ACEOF
85345cat confdefs.h >>conftest.$ac_ext
85346cat >>conftest.$ac_ext <<_ACEOF
85347/* end confdefs.h.  */
85348/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85349   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85350#define $ac_func innocuous_$ac_func
85351
85352/* System header to define __stub macros and hopefully few prototypes,
85353    which can conflict with char $ac_func (); below.
85354    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85355    <limits.h> exists even on freestanding compilers.  */
85356
85357#ifdef __STDC__
85358# include <limits.h>
85359#else
85360# include <assert.h>
85361#endif
85362
85363#undef $ac_func
85364
85365/* Override any gcc2 internal prototype to avoid an error.  */
85366#ifdef __cplusplus
85367extern "C"
85368{
85369#endif
85370/* We use char because int might match the return type of a gcc2
85371   builtin and then its argument prototype would still apply.  */
85372char $ac_func ();
85373/* The GNU C library defines this for functions which it implements
85374    to always fail with ENOSYS.  Some functions are actually named
85375    something starting with __ and the normal name is an alias.  */
85376#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85377choke me
85378#else
85379char (*f) () = $ac_func;
85380#endif
85381#ifdef __cplusplus
85382}
85383#endif
85384
85385int
85386main ()
85387{
85388return f != $ac_func;
85389  ;
85390  return 0;
85391}
85392_ACEOF
85393rm -f conftest.$ac_objext conftest$ac_exeext
85394if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85395  (eval $ac_link) 2>conftest.er1
85396  ac_status=$?
85397  grep -v '^ *+' conftest.er1 >conftest.err
85398  rm -f conftest.er1
85399  cat conftest.err >&5
85400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85401  (exit $ac_status); } &&
85402	 { ac_try='test -z "$ac_c_werror_flag"
85403			 || test ! -s conftest.err'
85404  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85405  (eval $ac_try) 2>&5
85406  ac_status=$?
85407  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85408  (exit $ac_status); }; } &&
85409	 { ac_try='test -s conftest$ac_exeext'
85410  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85411  (eval $ac_try) 2>&5
85412  ac_status=$?
85413  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85414  (exit $ac_status); }; }; then
85415  eval "$as_ac_var=yes"
85416else
85417  echo "$as_me: failed program was:" >&5
85418sed 's/^/| /' conftest.$ac_ext >&5
85419
85420eval "$as_ac_var=no"
85421fi
85422rm -f conftest.err conftest.$ac_objext \
85423      conftest$ac_exeext conftest.$ac_ext
85424fi
85425echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85426echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85427if test `eval echo '${'$as_ac_var'}'` = yes; then
85428  cat >>confdefs.h <<_ACEOF
85429#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85430_ACEOF
85431
85432fi
85433done
85434
85435    fi
85436  fi
85437
85438
85439
85440
85441
85442
85443  echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85444echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85445  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85446    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85447  echo $ECHO_N "(cached) $ECHO_C" >&6
85448else
85449
85450
85451
85452      ac_ext=cc
85453ac_cpp='$CXXCPP $CPPFLAGS'
85454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85457
85458      cat >conftest.$ac_ext <<_ACEOF
85459/* confdefs.h.  */
85460_ACEOF
85461cat confdefs.h >>conftest.$ac_ext
85462cat >>conftest.$ac_ext <<_ACEOF
85463/* end confdefs.h.  */
85464#include <math.h>
85465int
85466main ()
85467{
85468 hypotf(0, 0);
85469  ;
85470  return 0;
85471}
85472_ACEOF
85473rm -f conftest.$ac_objext
85474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85475  (eval $ac_compile) 2>conftest.er1
85476  ac_status=$?
85477  grep -v '^ *+' conftest.er1 >conftest.err
85478  rm -f conftest.er1
85479  cat conftest.err >&5
85480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85481  (exit $ac_status); } &&
85482	 { ac_try='test -z "$ac_cxx_werror_flag"
85483			 || test ! -s conftest.err'
85484  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85485  (eval $ac_try) 2>&5
85486  ac_status=$?
85487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85488  (exit $ac_status); }; } &&
85489	 { ac_try='test -s conftest.$ac_objext'
85490  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85491  (eval $ac_try) 2>&5
85492  ac_status=$?
85493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85494  (exit $ac_status); }; }; then
85495  glibcxx_cv_func_hypotf_use=yes
85496else
85497  echo "$as_me: failed program was:" >&5
85498sed 's/^/| /' conftest.$ac_ext >&5
85499
85500glibcxx_cv_func_hypotf_use=no
85501fi
85502rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85503      ac_ext=c
85504ac_cpp='$CPP $CPPFLAGS'
85505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85507ac_compiler_gnu=$ac_cv_c_compiler_gnu
85508
85509
85510fi
85511
85512  fi
85513  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85514echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85515
85516  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85517
85518for ac_func in hypotf
85519do
85520as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85521echo "$as_me:$LINENO: checking for $ac_func" >&5
85522echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85523if eval "test \"\${$as_ac_var+set}\" = set"; then
85524  echo $ECHO_N "(cached) $ECHO_C" >&6
85525else
85526  if test x$gcc_no_link = xyes; then
85527  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85528echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85529   { (exit 1); exit 1; }; }
85530fi
85531cat >conftest.$ac_ext <<_ACEOF
85532/* confdefs.h.  */
85533_ACEOF
85534cat confdefs.h >>conftest.$ac_ext
85535cat >>conftest.$ac_ext <<_ACEOF
85536/* end confdefs.h.  */
85537/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85538   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85539#define $ac_func innocuous_$ac_func
85540
85541/* System header to define __stub macros and hopefully few prototypes,
85542    which can conflict with char $ac_func (); below.
85543    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85544    <limits.h> exists even on freestanding compilers.  */
85545
85546#ifdef __STDC__
85547# include <limits.h>
85548#else
85549# include <assert.h>
85550#endif
85551
85552#undef $ac_func
85553
85554/* Override any gcc2 internal prototype to avoid an error.  */
85555#ifdef __cplusplus
85556extern "C"
85557{
85558#endif
85559/* We use char because int might match the return type of a gcc2
85560   builtin and then its argument prototype would still apply.  */
85561char $ac_func ();
85562/* The GNU C library defines this for functions which it implements
85563    to always fail with ENOSYS.  Some functions are actually named
85564    something starting with __ and the normal name is an alias.  */
85565#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85566choke me
85567#else
85568char (*f) () = $ac_func;
85569#endif
85570#ifdef __cplusplus
85571}
85572#endif
85573
85574int
85575main ()
85576{
85577return f != $ac_func;
85578  ;
85579  return 0;
85580}
85581_ACEOF
85582rm -f conftest.$ac_objext conftest$ac_exeext
85583if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85584  (eval $ac_link) 2>conftest.er1
85585  ac_status=$?
85586  grep -v '^ *+' conftest.er1 >conftest.err
85587  rm -f conftest.er1
85588  cat conftest.err >&5
85589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85590  (exit $ac_status); } &&
85591	 { ac_try='test -z "$ac_c_werror_flag"
85592			 || test ! -s conftest.err'
85593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85594  (eval $ac_try) 2>&5
85595  ac_status=$?
85596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85597  (exit $ac_status); }; } &&
85598	 { ac_try='test -s conftest$ac_exeext'
85599  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85600  (eval $ac_try) 2>&5
85601  ac_status=$?
85602  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85603  (exit $ac_status); }; }; then
85604  eval "$as_ac_var=yes"
85605else
85606  echo "$as_me: failed program was:" >&5
85607sed 's/^/| /' conftest.$ac_ext >&5
85608
85609eval "$as_ac_var=no"
85610fi
85611rm -f conftest.err conftest.$ac_objext \
85612      conftest$ac_exeext conftest.$ac_ext
85613fi
85614echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85615echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85616if test `eval echo '${'$as_ac_var'}'` = yes; then
85617  cat >>confdefs.h <<_ACEOF
85618#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85619_ACEOF
85620
85621fi
85622done
85623
85624  else
85625
85626  echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85627echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85628  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85629    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85630  echo $ECHO_N "(cached) $ECHO_C" >&6
85631else
85632
85633
85634
85635      ac_ext=cc
85636ac_cpp='$CXXCPP $CPPFLAGS'
85637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85640
85641      cat >conftest.$ac_ext <<_ACEOF
85642/* confdefs.h.  */
85643_ACEOF
85644cat confdefs.h >>conftest.$ac_ext
85645cat >>conftest.$ac_ext <<_ACEOF
85646/* end confdefs.h.  */
85647#include <math.h>
85648int
85649main ()
85650{
85651 _hypotf(0, 0);
85652  ;
85653  return 0;
85654}
85655_ACEOF
85656rm -f conftest.$ac_objext
85657if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85658  (eval $ac_compile) 2>conftest.er1
85659  ac_status=$?
85660  grep -v '^ *+' conftest.er1 >conftest.err
85661  rm -f conftest.er1
85662  cat conftest.err >&5
85663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85664  (exit $ac_status); } &&
85665	 { ac_try='test -z "$ac_cxx_werror_flag"
85666			 || test ! -s conftest.err'
85667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85668  (eval $ac_try) 2>&5
85669  ac_status=$?
85670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85671  (exit $ac_status); }; } &&
85672	 { ac_try='test -s conftest.$ac_objext'
85673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85674  (eval $ac_try) 2>&5
85675  ac_status=$?
85676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85677  (exit $ac_status); }; }; then
85678  glibcxx_cv_func__hypotf_use=yes
85679else
85680  echo "$as_me: failed program was:" >&5
85681sed 's/^/| /' conftest.$ac_ext >&5
85682
85683glibcxx_cv_func__hypotf_use=no
85684fi
85685rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85686      ac_ext=c
85687ac_cpp='$CPP $CPPFLAGS'
85688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85690ac_compiler_gnu=$ac_cv_c_compiler_gnu
85691
85692
85693fi
85694
85695  fi
85696  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85697echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85698
85699    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85700
85701for ac_func in _hypotf
85702do
85703as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85704echo "$as_me:$LINENO: checking for $ac_func" >&5
85705echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85706if eval "test \"\${$as_ac_var+set}\" = set"; then
85707  echo $ECHO_N "(cached) $ECHO_C" >&6
85708else
85709  if test x$gcc_no_link = xyes; then
85710  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85711echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85712   { (exit 1); exit 1; }; }
85713fi
85714cat >conftest.$ac_ext <<_ACEOF
85715/* confdefs.h.  */
85716_ACEOF
85717cat confdefs.h >>conftest.$ac_ext
85718cat >>conftest.$ac_ext <<_ACEOF
85719/* end confdefs.h.  */
85720/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85721   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85722#define $ac_func innocuous_$ac_func
85723
85724/* System header to define __stub macros and hopefully few prototypes,
85725    which can conflict with char $ac_func (); below.
85726    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85727    <limits.h> exists even on freestanding compilers.  */
85728
85729#ifdef __STDC__
85730# include <limits.h>
85731#else
85732# include <assert.h>
85733#endif
85734
85735#undef $ac_func
85736
85737/* Override any gcc2 internal prototype to avoid an error.  */
85738#ifdef __cplusplus
85739extern "C"
85740{
85741#endif
85742/* We use char because int might match the return type of a gcc2
85743   builtin and then its argument prototype would still apply.  */
85744char $ac_func ();
85745/* The GNU C library defines this for functions which it implements
85746    to always fail with ENOSYS.  Some functions are actually named
85747    something starting with __ and the normal name is an alias.  */
85748#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85749choke me
85750#else
85751char (*f) () = $ac_func;
85752#endif
85753#ifdef __cplusplus
85754}
85755#endif
85756
85757int
85758main ()
85759{
85760return f != $ac_func;
85761  ;
85762  return 0;
85763}
85764_ACEOF
85765rm -f conftest.$ac_objext conftest$ac_exeext
85766if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85767  (eval $ac_link) 2>conftest.er1
85768  ac_status=$?
85769  grep -v '^ *+' conftest.er1 >conftest.err
85770  rm -f conftest.er1
85771  cat conftest.err >&5
85772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773  (exit $ac_status); } &&
85774	 { ac_try='test -z "$ac_c_werror_flag"
85775			 || test ! -s conftest.err'
85776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85777  (eval $ac_try) 2>&5
85778  ac_status=$?
85779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85780  (exit $ac_status); }; } &&
85781	 { ac_try='test -s conftest$ac_exeext'
85782  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85783  (eval $ac_try) 2>&5
85784  ac_status=$?
85785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85786  (exit $ac_status); }; }; then
85787  eval "$as_ac_var=yes"
85788else
85789  echo "$as_me: failed program was:" >&5
85790sed 's/^/| /' conftest.$ac_ext >&5
85791
85792eval "$as_ac_var=no"
85793fi
85794rm -f conftest.err conftest.$ac_objext \
85795      conftest$ac_exeext conftest.$ac_ext
85796fi
85797echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85798echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85799if test `eval echo '${'$as_ac_var'}'` = yes; then
85800  cat >>confdefs.h <<_ACEOF
85801#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85802_ACEOF
85803
85804fi
85805done
85806
85807    fi
85808  fi
85809
85810
85811
85812
85813
85814
85815  echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85816echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85817  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85818    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85819  echo $ECHO_N "(cached) $ECHO_C" >&6
85820else
85821
85822
85823
85824      ac_ext=cc
85825ac_cpp='$CXXCPP $CPPFLAGS'
85826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85829
85830      cat >conftest.$ac_ext <<_ACEOF
85831/* confdefs.h.  */
85832_ACEOF
85833cat confdefs.h >>conftest.$ac_ext
85834cat >>conftest.$ac_ext <<_ACEOF
85835/* end confdefs.h.  */
85836#include <math.h>
85837int
85838main ()
85839{
85840 ldexpf(0, 0);
85841  ;
85842  return 0;
85843}
85844_ACEOF
85845rm -f conftest.$ac_objext
85846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85847  (eval $ac_compile) 2>conftest.er1
85848  ac_status=$?
85849  grep -v '^ *+' conftest.er1 >conftest.err
85850  rm -f conftest.er1
85851  cat conftest.err >&5
85852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85853  (exit $ac_status); } &&
85854	 { ac_try='test -z "$ac_cxx_werror_flag"
85855			 || test ! -s conftest.err'
85856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85857  (eval $ac_try) 2>&5
85858  ac_status=$?
85859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85860  (exit $ac_status); }; } &&
85861	 { ac_try='test -s conftest.$ac_objext'
85862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85863  (eval $ac_try) 2>&5
85864  ac_status=$?
85865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85866  (exit $ac_status); }; }; then
85867  glibcxx_cv_func_ldexpf_use=yes
85868else
85869  echo "$as_me: failed program was:" >&5
85870sed 's/^/| /' conftest.$ac_ext >&5
85871
85872glibcxx_cv_func_ldexpf_use=no
85873fi
85874rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85875      ac_ext=c
85876ac_cpp='$CPP $CPPFLAGS'
85877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85879ac_compiler_gnu=$ac_cv_c_compiler_gnu
85880
85881
85882fi
85883
85884  fi
85885  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85886echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85887
85888  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85889
85890for ac_func in ldexpf
85891do
85892as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85893echo "$as_me:$LINENO: checking for $ac_func" >&5
85894echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85895if eval "test \"\${$as_ac_var+set}\" = set"; then
85896  echo $ECHO_N "(cached) $ECHO_C" >&6
85897else
85898  if test x$gcc_no_link = xyes; then
85899  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85900echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85901   { (exit 1); exit 1; }; }
85902fi
85903cat >conftest.$ac_ext <<_ACEOF
85904/* confdefs.h.  */
85905_ACEOF
85906cat confdefs.h >>conftest.$ac_ext
85907cat >>conftest.$ac_ext <<_ACEOF
85908/* end confdefs.h.  */
85909/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85910   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85911#define $ac_func innocuous_$ac_func
85912
85913/* System header to define __stub macros and hopefully few prototypes,
85914    which can conflict with char $ac_func (); below.
85915    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85916    <limits.h> exists even on freestanding compilers.  */
85917
85918#ifdef __STDC__
85919# include <limits.h>
85920#else
85921# include <assert.h>
85922#endif
85923
85924#undef $ac_func
85925
85926/* Override any gcc2 internal prototype to avoid an error.  */
85927#ifdef __cplusplus
85928extern "C"
85929{
85930#endif
85931/* We use char because int might match the return type of a gcc2
85932   builtin and then its argument prototype would still apply.  */
85933char $ac_func ();
85934/* The GNU C library defines this for functions which it implements
85935    to always fail with ENOSYS.  Some functions are actually named
85936    something starting with __ and the normal name is an alias.  */
85937#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85938choke me
85939#else
85940char (*f) () = $ac_func;
85941#endif
85942#ifdef __cplusplus
85943}
85944#endif
85945
85946int
85947main ()
85948{
85949return f != $ac_func;
85950  ;
85951  return 0;
85952}
85953_ACEOF
85954rm -f conftest.$ac_objext conftest$ac_exeext
85955if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85956  (eval $ac_link) 2>conftest.er1
85957  ac_status=$?
85958  grep -v '^ *+' conftest.er1 >conftest.err
85959  rm -f conftest.er1
85960  cat conftest.err >&5
85961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85962  (exit $ac_status); } &&
85963	 { ac_try='test -z "$ac_c_werror_flag"
85964			 || test ! -s conftest.err'
85965  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85966  (eval $ac_try) 2>&5
85967  ac_status=$?
85968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85969  (exit $ac_status); }; } &&
85970	 { ac_try='test -s conftest$ac_exeext'
85971  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85972  (eval $ac_try) 2>&5
85973  ac_status=$?
85974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975  (exit $ac_status); }; }; then
85976  eval "$as_ac_var=yes"
85977else
85978  echo "$as_me: failed program was:" >&5
85979sed 's/^/| /' conftest.$ac_ext >&5
85980
85981eval "$as_ac_var=no"
85982fi
85983rm -f conftest.err conftest.$ac_objext \
85984      conftest$ac_exeext conftest.$ac_ext
85985fi
85986echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85987echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85988if test `eval echo '${'$as_ac_var'}'` = yes; then
85989  cat >>confdefs.h <<_ACEOF
85990#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85991_ACEOF
85992
85993fi
85994done
85995
85996  else
85997
85998  echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85999echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
86000  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
86001    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
86002  echo $ECHO_N "(cached) $ECHO_C" >&6
86003else
86004
86005
86006
86007      ac_ext=cc
86008ac_cpp='$CXXCPP $CPPFLAGS'
86009ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86010ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86011ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86012
86013      cat >conftest.$ac_ext <<_ACEOF
86014/* confdefs.h.  */
86015_ACEOF
86016cat confdefs.h >>conftest.$ac_ext
86017cat >>conftest.$ac_ext <<_ACEOF
86018/* end confdefs.h.  */
86019#include <math.h>
86020int
86021main ()
86022{
86023 _ldexpf(0, 0);
86024  ;
86025  return 0;
86026}
86027_ACEOF
86028rm -f conftest.$ac_objext
86029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86030  (eval $ac_compile) 2>conftest.er1
86031  ac_status=$?
86032  grep -v '^ *+' conftest.er1 >conftest.err
86033  rm -f conftest.er1
86034  cat conftest.err >&5
86035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86036  (exit $ac_status); } &&
86037	 { ac_try='test -z "$ac_cxx_werror_flag"
86038			 || test ! -s conftest.err'
86039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86040  (eval $ac_try) 2>&5
86041  ac_status=$?
86042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86043  (exit $ac_status); }; } &&
86044	 { ac_try='test -s conftest.$ac_objext'
86045  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86046  (eval $ac_try) 2>&5
86047  ac_status=$?
86048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86049  (exit $ac_status); }; }; then
86050  glibcxx_cv_func__ldexpf_use=yes
86051else
86052  echo "$as_me: failed program was:" >&5
86053sed 's/^/| /' conftest.$ac_ext >&5
86054
86055glibcxx_cv_func__ldexpf_use=no
86056fi
86057rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86058      ac_ext=c
86059ac_cpp='$CPP $CPPFLAGS'
86060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86062ac_compiler_gnu=$ac_cv_c_compiler_gnu
86063
86064
86065fi
86066
86067  fi
86068  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
86069echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
86070
86071    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
86072
86073for ac_func in _ldexpf
86074do
86075as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86076echo "$as_me:$LINENO: checking for $ac_func" >&5
86077echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86078if eval "test \"\${$as_ac_var+set}\" = set"; then
86079  echo $ECHO_N "(cached) $ECHO_C" >&6
86080else
86081  if test x$gcc_no_link = xyes; then
86082  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86083echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86084   { (exit 1); exit 1; }; }
86085fi
86086cat >conftest.$ac_ext <<_ACEOF
86087/* confdefs.h.  */
86088_ACEOF
86089cat confdefs.h >>conftest.$ac_ext
86090cat >>conftest.$ac_ext <<_ACEOF
86091/* end confdefs.h.  */
86092/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86093   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86094#define $ac_func innocuous_$ac_func
86095
86096/* System header to define __stub macros and hopefully few prototypes,
86097    which can conflict with char $ac_func (); below.
86098    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86099    <limits.h> exists even on freestanding compilers.  */
86100
86101#ifdef __STDC__
86102# include <limits.h>
86103#else
86104# include <assert.h>
86105#endif
86106
86107#undef $ac_func
86108
86109/* Override any gcc2 internal prototype to avoid an error.  */
86110#ifdef __cplusplus
86111extern "C"
86112{
86113#endif
86114/* We use char because int might match the return type of a gcc2
86115   builtin and then its argument prototype would still apply.  */
86116char $ac_func ();
86117/* The GNU C library defines this for functions which it implements
86118    to always fail with ENOSYS.  Some functions are actually named
86119    something starting with __ and the normal name is an alias.  */
86120#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86121choke me
86122#else
86123char (*f) () = $ac_func;
86124#endif
86125#ifdef __cplusplus
86126}
86127#endif
86128
86129int
86130main ()
86131{
86132return f != $ac_func;
86133  ;
86134  return 0;
86135}
86136_ACEOF
86137rm -f conftest.$ac_objext conftest$ac_exeext
86138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86139  (eval $ac_link) 2>conftest.er1
86140  ac_status=$?
86141  grep -v '^ *+' conftest.er1 >conftest.err
86142  rm -f conftest.er1
86143  cat conftest.err >&5
86144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86145  (exit $ac_status); } &&
86146	 { ac_try='test -z "$ac_c_werror_flag"
86147			 || test ! -s conftest.err'
86148  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86149  (eval $ac_try) 2>&5
86150  ac_status=$?
86151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86152  (exit $ac_status); }; } &&
86153	 { ac_try='test -s conftest$ac_exeext'
86154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86155  (eval $ac_try) 2>&5
86156  ac_status=$?
86157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86158  (exit $ac_status); }; }; then
86159  eval "$as_ac_var=yes"
86160else
86161  echo "$as_me: failed program was:" >&5
86162sed 's/^/| /' conftest.$ac_ext >&5
86163
86164eval "$as_ac_var=no"
86165fi
86166rm -f conftest.err conftest.$ac_objext \
86167      conftest$ac_exeext conftest.$ac_ext
86168fi
86169echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86170echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86171if test `eval echo '${'$as_ac_var'}'` = yes; then
86172  cat >>confdefs.h <<_ACEOF
86173#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86174_ACEOF
86175
86176fi
86177done
86178
86179    fi
86180  fi
86181
86182
86183
86184
86185
86186
86187  echo "$as_me:$LINENO: checking for logf declaration" >&5
86188echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
86189  if test x${glibcxx_cv_func_logf_use+set} != xset; then
86190    if test "${glibcxx_cv_func_logf_use+set}" = set; then
86191  echo $ECHO_N "(cached) $ECHO_C" >&6
86192else
86193
86194
86195
86196      ac_ext=cc
86197ac_cpp='$CXXCPP $CPPFLAGS'
86198ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86199ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86200ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86201
86202      cat >conftest.$ac_ext <<_ACEOF
86203/* confdefs.h.  */
86204_ACEOF
86205cat confdefs.h >>conftest.$ac_ext
86206cat >>conftest.$ac_ext <<_ACEOF
86207/* end confdefs.h.  */
86208#include <math.h>
86209		      #ifdef HAVE_IEEEFP_H
86210		      #include <ieeefp.h>
86211		      #endif
86212
86213int
86214main ()
86215{
86216 logf(0);
86217  ;
86218  return 0;
86219}
86220_ACEOF
86221rm -f conftest.$ac_objext
86222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86223  (eval $ac_compile) 2>conftest.er1
86224  ac_status=$?
86225  grep -v '^ *+' conftest.er1 >conftest.err
86226  rm -f conftest.er1
86227  cat conftest.err >&5
86228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86229  (exit $ac_status); } &&
86230	 { ac_try='test -z "$ac_cxx_werror_flag"
86231			 || test ! -s conftest.err'
86232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86233  (eval $ac_try) 2>&5
86234  ac_status=$?
86235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86236  (exit $ac_status); }; } &&
86237	 { ac_try='test -s conftest.$ac_objext'
86238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86239  (eval $ac_try) 2>&5
86240  ac_status=$?
86241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86242  (exit $ac_status); }; }; then
86243  glibcxx_cv_func_logf_use=yes
86244else
86245  echo "$as_me: failed program was:" >&5
86246sed 's/^/| /' conftest.$ac_ext >&5
86247
86248glibcxx_cv_func_logf_use=no
86249fi
86250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86251      ac_ext=c
86252ac_cpp='$CPP $CPPFLAGS'
86253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86255ac_compiler_gnu=$ac_cv_c_compiler_gnu
86256
86257
86258fi
86259
86260  fi
86261  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86262echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86263
86264  if test x$glibcxx_cv_func_logf_use = x"yes"; then
86265
86266for ac_func in logf
86267do
86268as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86269echo "$as_me:$LINENO: checking for $ac_func" >&5
86270echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86271if eval "test \"\${$as_ac_var+set}\" = set"; then
86272  echo $ECHO_N "(cached) $ECHO_C" >&6
86273else
86274  if test x$gcc_no_link = xyes; then
86275  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86276echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86277   { (exit 1); exit 1; }; }
86278fi
86279cat >conftest.$ac_ext <<_ACEOF
86280/* confdefs.h.  */
86281_ACEOF
86282cat confdefs.h >>conftest.$ac_ext
86283cat >>conftest.$ac_ext <<_ACEOF
86284/* end confdefs.h.  */
86285/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86286   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86287#define $ac_func innocuous_$ac_func
86288
86289/* System header to define __stub macros and hopefully few prototypes,
86290    which can conflict with char $ac_func (); below.
86291    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86292    <limits.h> exists even on freestanding compilers.  */
86293
86294#ifdef __STDC__
86295# include <limits.h>
86296#else
86297# include <assert.h>
86298#endif
86299
86300#undef $ac_func
86301
86302/* Override any gcc2 internal prototype to avoid an error.  */
86303#ifdef __cplusplus
86304extern "C"
86305{
86306#endif
86307/* We use char because int might match the return type of a gcc2
86308   builtin and then its argument prototype would still apply.  */
86309char $ac_func ();
86310/* The GNU C library defines this for functions which it implements
86311    to always fail with ENOSYS.  Some functions are actually named
86312    something starting with __ and the normal name is an alias.  */
86313#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86314choke me
86315#else
86316char (*f) () = $ac_func;
86317#endif
86318#ifdef __cplusplus
86319}
86320#endif
86321
86322int
86323main ()
86324{
86325return f != $ac_func;
86326  ;
86327  return 0;
86328}
86329_ACEOF
86330rm -f conftest.$ac_objext conftest$ac_exeext
86331if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86332  (eval $ac_link) 2>conftest.er1
86333  ac_status=$?
86334  grep -v '^ *+' conftest.er1 >conftest.err
86335  rm -f conftest.er1
86336  cat conftest.err >&5
86337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86338  (exit $ac_status); } &&
86339	 { ac_try='test -z "$ac_c_werror_flag"
86340			 || test ! -s conftest.err'
86341  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86342  (eval $ac_try) 2>&5
86343  ac_status=$?
86344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86345  (exit $ac_status); }; } &&
86346	 { ac_try='test -s conftest$ac_exeext'
86347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86348  (eval $ac_try) 2>&5
86349  ac_status=$?
86350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86351  (exit $ac_status); }; }; then
86352  eval "$as_ac_var=yes"
86353else
86354  echo "$as_me: failed program was:" >&5
86355sed 's/^/| /' conftest.$ac_ext >&5
86356
86357eval "$as_ac_var=no"
86358fi
86359rm -f conftest.err conftest.$ac_objext \
86360      conftest$ac_exeext conftest.$ac_ext
86361fi
86362echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86363echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86364if test `eval echo '${'$as_ac_var'}'` = yes; then
86365  cat >>confdefs.h <<_ACEOF
86366#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86367_ACEOF
86368
86369fi
86370done
86371
86372  else
86373
86374  echo "$as_me:$LINENO: checking for _logf declaration" >&5
86375echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86376  if test x${glibcxx_cv_func__logf_use+set} != xset; then
86377    if test "${glibcxx_cv_func__logf_use+set}" = set; then
86378  echo $ECHO_N "(cached) $ECHO_C" >&6
86379else
86380
86381
86382
86383      ac_ext=cc
86384ac_cpp='$CXXCPP $CPPFLAGS'
86385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86388
86389      cat >conftest.$ac_ext <<_ACEOF
86390/* confdefs.h.  */
86391_ACEOF
86392cat confdefs.h >>conftest.$ac_ext
86393cat >>conftest.$ac_ext <<_ACEOF
86394/* end confdefs.h.  */
86395#include <math.h>
86396		      #ifdef HAVE_IEEEFP_H
86397		      #include <ieeefp.h>
86398		      #endif
86399
86400int
86401main ()
86402{
86403 _logf(0);
86404  ;
86405  return 0;
86406}
86407_ACEOF
86408rm -f conftest.$ac_objext
86409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86410  (eval $ac_compile) 2>conftest.er1
86411  ac_status=$?
86412  grep -v '^ *+' conftest.er1 >conftest.err
86413  rm -f conftest.er1
86414  cat conftest.err >&5
86415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86416  (exit $ac_status); } &&
86417	 { ac_try='test -z "$ac_cxx_werror_flag"
86418			 || test ! -s conftest.err'
86419  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86420  (eval $ac_try) 2>&5
86421  ac_status=$?
86422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86423  (exit $ac_status); }; } &&
86424	 { ac_try='test -s conftest.$ac_objext'
86425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86426  (eval $ac_try) 2>&5
86427  ac_status=$?
86428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86429  (exit $ac_status); }; }; then
86430  glibcxx_cv_func__logf_use=yes
86431else
86432  echo "$as_me: failed program was:" >&5
86433sed 's/^/| /' conftest.$ac_ext >&5
86434
86435glibcxx_cv_func__logf_use=no
86436fi
86437rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86438      ac_ext=c
86439ac_cpp='$CPP $CPPFLAGS'
86440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86442ac_compiler_gnu=$ac_cv_c_compiler_gnu
86443
86444
86445fi
86446
86447  fi
86448  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86449echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86450
86451    if test x$glibcxx_cv_func__logf_use = x"yes"; then
86452
86453for ac_func in _logf
86454do
86455as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86456echo "$as_me:$LINENO: checking for $ac_func" >&5
86457echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86458if eval "test \"\${$as_ac_var+set}\" = set"; then
86459  echo $ECHO_N "(cached) $ECHO_C" >&6
86460else
86461  if test x$gcc_no_link = xyes; then
86462  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86463echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86464   { (exit 1); exit 1; }; }
86465fi
86466cat >conftest.$ac_ext <<_ACEOF
86467/* confdefs.h.  */
86468_ACEOF
86469cat confdefs.h >>conftest.$ac_ext
86470cat >>conftest.$ac_ext <<_ACEOF
86471/* end confdefs.h.  */
86472/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86473   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86474#define $ac_func innocuous_$ac_func
86475
86476/* System header to define __stub macros and hopefully few prototypes,
86477    which can conflict with char $ac_func (); below.
86478    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86479    <limits.h> exists even on freestanding compilers.  */
86480
86481#ifdef __STDC__
86482# include <limits.h>
86483#else
86484# include <assert.h>
86485#endif
86486
86487#undef $ac_func
86488
86489/* Override any gcc2 internal prototype to avoid an error.  */
86490#ifdef __cplusplus
86491extern "C"
86492{
86493#endif
86494/* We use char because int might match the return type of a gcc2
86495   builtin and then its argument prototype would still apply.  */
86496char $ac_func ();
86497/* The GNU C library defines this for functions which it implements
86498    to always fail with ENOSYS.  Some functions are actually named
86499    something starting with __ and the normal name is an alias.  */
86500#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86501choke me
86502#else
86503char (*f) () = $ac_func;
86504#endif
86505#ifdef __cplusplus
86506}
86507#endif
86508
86509int
86510main ()
86511{
86512return f != $ac_func;
86513  ;
86514  return 0;
86515}
86516_ACEOF
86517rm -f conftest.$ac_objext conftest$ac_exeext
86518if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86519  (eval $ac_link) 2>conftest.er1
86520  ac_status=$?
86521  grep -v '^ *+' conftest.er1 >conftest.err
86522  rm -f conftest.er1
86523  cat conftest.err >&5
86524  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86525  (exit $ac_status); } &&
86526	 { ac_try='test -z "$ac_c_werror_flag"
86527			 || test ! -s conftest.err'
86528  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86529  (eval $ac_try) 2>&5
86530  ac_status=$?
86531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86532  (exit $ac_status); }; } &&
86533	 { ac_try='test -s conftest$ac_exeext'
86534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86535  (eval $ac_try) 2>&5
86536  ac_status=$?
86537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86538  (exit $ac_status); }; }; then
86539  eval "$as_ac_var=yes"
86540else
86541  echo "$as_me: failed program was:" >&5
86542sed 's/^/| /' conftest.$ac_ext >&5
86543
86544eval "$as_ac_var=no"
86545fi
86546rm -f conftest.err conftest.$ac_objext \
86547      conftest$ac_exeext conftest.$ac_ext
86548fi
86549echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86550echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86551if test `eval echo '${'$as_ac_var'}'` = yes; then
86552  cat >>confdefs.h <<_ACEOF
86553#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86554_ACEOF
86555
86556fi
86557done
86558
86559    fi
86560  fi
86561
86562
86563
86564
86565
86566
86567  echo "$as_me:$LINENO: checking for log10f declaration" >&5
86568echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86569  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86570    if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86571  echo $ECHO_N "(cached) $ECHO_C" >&6
86572else
86573
86574
86575
86576      ac_ext=cc
86577ac_cpp='$CXXCPP $CPPFLAGS'
86578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86581
86582      cat >conftest.$ac_ext <<_ACEOF
86583/* confdefs.h.  */
86584_ACEOF
86585cat confdefs.h >>conftest.$ac_ext
86586cat >>conftest.$ac_ext <<_ACEOF
86587/* end confdefs.h.  */
86588#include <math.h>
86589		      #ifdef HAVE_IEEEFP_H
86590		      #include <ieeefp.h>
86591		      #endif
86592
86593int
86594main ()
86595{
86596 log10f(0);
86597  ;
86598  return 0;
86599}
86600_ACEOF
86601rm -f conftest.$ac_objext
86602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86603  (eval $ac_compile) 2>conftest.er1
86604  ac_status=$?
86605  grep -v '^ *+' conftest.er1 >conftest.err
86606  rm -f conftest.er1
86607  cat conftest.err >&5
86608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86609  (exit $ac_status); } &&
86610	 { ac_try='test -z "$ac_cxx_werror_flag"
86611			 || test ! -s conftest.err'
86612  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86613  (eval $ac_try) 2>&5
86614  ac_status=$?
86615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86616  (exit $ac_status); }; } &&
86617	 { ac_try='test -s conftest.$ac_objext'
86618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86619  (eval $ac_try) 2>&5
86620  ac_status=$?
86621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86622  (exit $ac_status); }; }; then
86623  glibcxx_cv_func_log10f_use=yes
86624else
86625  echo "$as_me: failed program was:" >&5
86626sed 's/^/| /' conftest.$ac_ext >&5
86627
86628glibcxx_cv_func_log10f_use=no
86629fi
86630rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86631      ac_ext=c
86632ac_cpp='$CPP $CPPFLAGS'
86633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86635ac_compiler_gnu=$ac_cv_c_compiler_gnu
86636
86637
86638fi
86639
86640  fi
86641  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86642echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86643
86644  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86645
86646for ac_func in log10f
86647do
86648as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86649echo "$as_me:$LINENO: checking for $ac_func" >&5
86650echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86651if eval "test \"\${$as_ac_var+set}\" = set"; then
86652  echo $ECHO_N "(cached) $ECHO_C" >&6
86653else
86654  if test x$gcc_no_link = xyes; then
86655  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86656echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86657   { (exit 1); exit 1; }; }
86658fi
86659cat >conftest.$ac_ext <<_ACEOF
86660/* confdefs.h.  */
86661_ACEOF
86662cat confdefs.h >>conftest.$ac_ext
86663cat >>conftest.$ac_ext <<_ACEOF
86664/* end confdefs.h.  */
86665/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86666   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86667#define $ac_func innocuous_$ac_func
86668
86669/* System header to define __stub macros and hopefully few prototypes,
86670    which can conflict with char $ac_func (); below.
86671    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86672    <limits.h> exists even on freestanding compilers.  */
86673
86674#ifdef __STDC__
86675# include <limits.h>
86676#else
86677# include <assert.h>
86678#endif
86679
86680#undef $ac_func
86681
86682/* Override any gcc2 internal prototype to avoid an error.  */
86683#ifdef __cplusplus
86684extern "C"
86685{
86686#endif
86687/* We use char because int might match the return type of a gcc2
86688   builtin and then its argument prototype would still apply.  */
86689char $ac_func ();
86690/* The GNU C library defines this for functions which it implements
86691    to always fail with ENOSYS.  Some functions are actually named
86692    something starting with __ and the normal name is an alias.  */
86693#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86694choke me
86695#else
86696char (*f) () = $ac_func;
86697#endif
86698#ifdef __cplusplus
86699}
86700#endif
86701
86702int
86703main ()
86704{
86705return f != $ac_func;
86706  ;
86707  return 0;
86708}
86709_ACEOF
86710rm -f conftest.$ac_objext conftest$ac_exeext
86711if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86712  (eval $ac_link) 2>conftest.er1
86713  ac_status=$?
86714  grep -v '^ *+' conftest.er1 >conftest.err
86715  rm -f conftest.er1
86716  cat conftest.err >&5
86717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86718  (exit $ac_status); } &&
86719	 { ac_try='test -z "$ac_c_werror_flag"
86720			 || test ! -s conftest.err'
86721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86722  (eval $ac_try) 2>&5
86723  ac_status=$?
86724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86725  (exit $ac_status); }; } &&
86726	 { ac_try='test -s conftest$ac_exeext'
86727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86728  (eval $ac_try) 2>&5
86729  ac_status=$?
86730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86731  (exit $ac_status); }; }; then
86732  eval "$as_ac_var=yes"
86733else
86734  echo "$as_me: failed program was:" >&5
86735sed 's/^/| /' conftest.$ac_ext >&5
86736
86737eval "$as_ac_var=no"
86738fi
86739rm -f conftest.err conftest.$ac_objext \
86740      conftest$ac_exeext conftest.$ac_ext
86741fi
86742echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86743echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86744if test `eval echo '${'$as_ac_var'}'` = yes; then
86745  cat >>confdefs.h <<_ACEOF
86746#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86747_ACEOF
86748
86749fi
86750done
86751
86752  else
86753
86754  echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86755echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86756  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86757    if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86758  echo $ECHO_N "(cached) $ECHO_C" >&6
86759else
86760
86761
86762
86763      ac_ext=cc
86764ac_cpp='$CXXCPP $CPPFLAGS'
86765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86768
86769      cat >conftest.$ac_ext <<_ACEOF
86770/* confdefs.h.  */
86771_ACEOF
86772cat confdefs.h >>conftest.$ac_ext
86773cat >>conftest.$ac_ext <<_ACEOF
86774/* end confdefs.h.  */
86775#include <math.h>
86776		      #ifdef HAVE_IEEEFP_H
86777		      #include <ieeefp.h>
86778		      #endif
86779
86780int
86781main ()
86782{
86783 _log10f(0);
86784  ;
86785  return 0;
86786}
86787_ACEOF
86788rm -f conftest.$ac_objext
86789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86790  (eval $ac_compile) 2>conftest.er1
86791  ac_status=$?
86792  grep -v '^ *+' conftest.er1 >conftest.err
86793  rm -f conftest.er1
86794  cat conftest.err >&5
86795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86796  (exit $ac_status); } &&
86797	 { ac_try='test -z "$ac_cxx_werror_flag"
86798			 || test ! -s conftest.err'
86799  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86800  (eval $ac_try) 2>&5
86801  ac_status=$?
86802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86803  (exit $ac_status); }; } &&
86804	 { ac_try='test -s conftest.$ac_objext'
86805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86806  (eval $ac_try) 2>&5
86807  ac_status=$?
86808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86809  (exit $ac_status); }; }; then
86810  glibcxx_cv_func__log10f_use=yes
86811else
86812  echo "$as_me: failed program was:" >&5
86813sed 's/^/| /' conftest.$ac_ext >&5
86814
86815glibcxx_cv_func__log10f_use=no
86816fi
86817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86818      ac_ext=c
86819ac_cpp='$CPP $CPPFLAGS'
86820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86822ac_compiler_gnu=$ac_cv_c_compiler_gnu
86823
86824
86825fi
86826
86827  fi
86828  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86829echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86830
86831    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86832
86833for ac_func in _log10f
86834do
86835as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86836echo "$as_me:$LINENO: checking for $ac_func" >&5
86837echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86838if eval "test \"\${$as_ac_var+set}\" = set"; then
86839  echo $ECHO_N "(cached) $ECHO_C" >&6
86840else
86841  if test x$gcc_no_link = xyes; then
86842  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86843echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86844   { (exit 1); exit 1; }; }
86845fi
86846cat >conftest.$ac_ext <<_ACEOF
86847/* confdefs.h.  */
86848_ACEOF
86849cat confdefs.h >>conftest.$ac_ext
86850cat >>conftest.$ac_ext <<_ACEOF
86851/* end confdefs.h.  */
86852/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86853   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86854#define $ac_func innocuous_$ac_func
86855
86856/* System header to define __stub macros and hopefully few prototypes,
86857    which can conflict with char $ac_func (); below.
86858    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86859    <limits.h> exists even on freestanding compilers.  */
86860
86861#ifdef __STDC__
86862# include <limits.h>
86863#else
86864# include <assert.h>
86865#endif
86866
86867#undef $ac_func
86868
86869/* Override any gcc2 internal prototype to avoid an error.  */
86870#ifdef __cplusplus
86871extern "C"
86872{
86873#endif
86874/* We use char because int might match the return type of a gcc2
86875   builtin and then its argument prototype would still apply.  */
86876char $ac_func ();
86877/* The GNU C library defines this for functions which it implements
86878    to always fail with ENOSYS.  Some functions are actually named
86879    something starting with __ and the normal name is an alias.  */
86880#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86881choke me
86882#else
86883char (*f) () = $ac_func;
86884#endif
86885#ifdef __cplusplus
86886}
86887#endif
86888
86889int
86890main ()
86891{
86892return f != $ac_func;
86893  ;
86894  return 0;
86895}
86896_ACEOF
86897rm -f conftest.$ac_objext conftest$ac_exeext
86898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86899  (eval $ac_link) 2>conftest.er1
86900  ac_status=$?
86901  grep -v '^ *+' conftest.er1 >conftest.err
86902  rm -f conftest.er1
86903  cat conftest.err >&5
86904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86905  (exit $ac_status); } &&
86906	 { ac_try='test -z "$ac_c_werror_flag"
86907			 || test ! -s conftest.err'
86908  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86909  (eval $ac_try) 2>&5
86910  ac_status=$?
86911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86912  (exit $ac_status); }; } &&
86913	 { ac_try='test -s conftest$ac_exeext'
86914  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86915  (eval $ac_try) 2>&5
86916  ac_status=$?
86917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86918  (exit $ac_status); }; }; then
86919  eval "$as_ac_var=yes"
86920else
86921  echo "$as_me: failed program was:" >&5
86922sed 's/^/| /' conftest.$ac_ext >&5
86923
86924eval "$as_ac_var=no"
86925fi
86926rm -f conftest.err conftest.$ac_objext \
86927      conftest$ac_exeext conftest.$ac_ext
86928fi
86929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86930echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86931if test `eval echo '${'$as_ac_var'}'` = yes; then
86932  cat >>confdefs.h <<_ACEOF
86933#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86934_ACEOF
86935
86936fi
86937done
86938
86939    fi
86940  fi
86941
86942
86943
86944
86945
86946
86947  echo "$as_me:$LINENO: checking for modff declaration" >&5
86948echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86949  if test x${glibcxx_cv_func_modff_use+set} != xset; then
86950    if test "${glibcxx_cv_func_modff_use+set}" = set; then
86951  echo $ECHO_N "(cached) $ECHO_C" >&6
86952else
86953
86954
86955
86956      ac_ext=cc
86957ac_cpp='$CXXCPP $CPPFLAGS'
86958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86961
86962      cat >conftest.$ac_ext <<_ACEOF
86963/* confdefs.h.  */
86964_ACEOF
86965cat confdefs.h >>conftest.$ac_ext
86966cat >>conftest.$ac_ext <<_ACEOF
86967/* end confdefs.h.  */
86968#include <math.h>
86969int
86970main ()
86971{
86972 modff(0, 0);
86973  ;
86974  return 0;
86975}
86976_ACEOF
86977rm -f conftest.$ac_objext
86978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86979  (eval $ac_compile) 2>conftest.er1
86980  ac_status=$?
86981  grep -v '^ *+' conftest.er1 >conftest.err
86982  rm -f conftest.er1
86983  cat conftest.err >&5
86984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86985  (exit $ac_status); } &&
86986	 { ac_try='test -z "$ac_cxx_werror_flag"
86987			 || test ! -s conftest.err'
86988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86989  (eval $ac_try) 2>&5
86990  ac_status=$?
86991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86992  (exit $ac_status); }; } &&
86993	 { ac_try='test -s conftest.$ac_objext'
86994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86995  (eval $ac_try) 2>&5
86996  ac_status=$?
86997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86998  (exit $ac_status); }; }; then
86999  glibcxx_cv_func_modff_use=yes
87000else
87001  echo "$as_me: failed program was:" >&5
87002sed 's/^/| /' conftest.$ac_ext >&5
87003
87004glibcxx_cv_func_modff_use=no
87005fi
87006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87007      ac_ext=c
87008ac_cpp='$CPP $CPPFLAGS'
87009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87011ac_compiler_gnu=$ac_cv_c_compiler_gnu
87012
87013
87014fi
87015
87016  fi
87017  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
87018echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
87019
87020  if test x$glibcxx_cv_func_modff_use = x"yes"; then
87021
87022for ac_func in modff
87023do
87024as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87025echo "$as_me:$LINENO: checking for $ac_func" >&5
87026echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87027if eval "test \"\${$as_ac_var+set}\" = set"; then
87028  echo $ECHO_N "(cached) $ECHO_C" >&6
87029else
87030  if test x$gcc_no_link = xyes; then
87031  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87032echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87033   { (exit 1); exit 1; }; }
87034fi
87035cat >conftest.$ac_ext <<_ACEOF
87036/* confdefs.h.  */
87037_ACEOF
87038cat confdefs.h >>conftest.$ac_ext
87039cat >>conftest.$ac_ext <<_ACEOF
87040/* end confdefs.h.  */
87041/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87042   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87043#define $ac_func innocuous_$ac_func
87044
87045/* System header to define __stub macros and hopefully few prototypes,
87046    which can conflict with char $ac_func (); below.
87047    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87048    <limits.h> exists even on freestanding compilers.  */
87049
87050#ifdef __STDC__
87051# include <limits.h>
87052#else
87053# include <assert.h>
87054#endif
87055
87056#undef $ac_func
87057
87058/* Override any gcc2 internal prototype to avoid an error.  */
87059#ifdef __cplusplus
87060extern "C"
87061{
87062#endif
87063/* We use char because int might match the return type of a gcc2
87064   builtin and then its argument prototype would still apply.  */
87065char $ac_func ();
87066/* The GNU C library defines this for functions which it implements
87067    to always fail with ENOSYS.  Some functions are actually named
87068    something starting with __ and the normal name is an alias.  */
87069#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87070choke me
87071#else
87072char (*f) () = $ac_func;
87073#endif
87074#ifdef __cplusplus
87075}
87076#endif
87077
87078int
87079main ()
87080{
87081return f != $ac_func;
87082  ;
87083  return 0;
87084}
87085_ACEOF
87086rm -f conftest.$ac_objext conftest$ac_exeext
87087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87088  (eval $ac_link) 2>conftest.er1
87089  ac_status=$?
87090  grep -v '^ *+' conftest.er1 >conftest.err
87091  rm -f conftest.er1
87092  cat conftest.err >&5
87093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87094  (exit $ac_status); } &&
87095	 { ac_try='test -z "$ac_c_werror_flag"
87096			 || test ! -s conftest.err'
87097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87098  (eval $ac_try) 2>&5
87099  ac_status=$?
87100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87101  (exit $ac_status); }; } &&
87102	 { ac_try='test -s conftest$ac_exeext'
87103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87104  (eval $ac_try) 2>&5
87105  ac_status=$?
87106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87107  (exit $ac_status); }; }; then
87108  eval "$as_ac_var=yes"
87109else
87110  echo "$as_me: failed program was:" >&5
87111sed 's/^/| /' conftest.$ac_ext >&5
87112
87113eval "$as_ac_var=no"
87114fi
87115rm -f conftest.err conftest.$ac_objext \
87116      conftest$ac_exeext conftest.$ac_ext
87117fi
87118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87119echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87120if test `eval echo '${'$as_ac_var'}'` = yes; then
87121  cat >>confdefs.h <<_ACEOF
87122#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87123_ACEOF
87124
87125fi
87126done
87127
87128  else
87129
87130  echo "$as_me:$LINENO: checking for _modff declaration" >&5
87131echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
87132  if test x${glibcxx_cv_func__modff_use+set} != xset; then
87133    if test "${glibcxx_cv_func__modff_use+set}" = set; then
87134  echo $ECHO_N "(cached) $ECHO_C" >&6
87135else
87136
87137
87138
87139      ac_ext=cc
87140ac_cpp='$CXXCPP $CPPFLAGS'
87141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87144
87145      cat >conftest.$ac_ext <<_ACEOF
87146/* confdefs.h.  */
87147_ACEOF
87148cat confdefs.h >>conftest.$ac_ext
87149cat >>conftest.$ac_ext <<_ACEOF
87150/* end confdefs.h.  */
87151#include <math.h>
87152int
87153main ()
87154{
87155 _modff(0, 0);
87156  ;
87157  return 0;
87158}
87159_ACEOF
87160rm -f conftest.$ac_objext
87161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87162  (eval $ac_compile) 2>conftest.er1
87163  ac_status=$?
87164  grep -v '^ *+' conftest.er1 >conftest.err
87165  rm -f conftest.er1
87166  cat conftest.err >&5
87167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168  (exit $ac_status); } &&
87169	 { ac_try='test -z "$ac_cxx_werror_flag"
87170			 || test ! -s conftest.err'
87171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87172  (eval $ac_try) 2>&5
87173  ac_status=$?
87174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87175  (exit $ac_status); }; } &&
87176	 { ac_try='test -s conftest.$ac_objext'
87177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87178  (eval $ac_try) 2>&5
87179  ac_status=$?
87180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87181  (exit $ac_status); }; }; then
87182  glibcxx_cv_func__modff_use=yes
87183else
87184  echo "$as_me: failed program was:" >&5
87185sed 's/^/| /' conftest.$ac_ext >&5
87186
87187glibcxx_cv_func__modff_use=no
87188fi
87189rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87190      ac_ext=c
87191ac_cpp='$CPP $CPPFLAGS'
87192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87194ac_compiler_gnu=$ac_cv_c_compiler_gnu
87195
87196
87197fi
87198
87199  fi
87200  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
87201echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87202
87203    if test x$glibcxx_cv_func__modff_use = x"yes"; then
87204
87205for ac_func in _modff
87206do
87207as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87208echo "$as_me:$LINENO: checking for $ac_func" >&5
87209echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87210if eval "test \"\${$as_ac_var+set}\" = set"; then
87211  echo $ECHO_N "(cached) $ECHO_C" >&6
87212else
87213  if test x$gcc_no_link = xyes; then
87214  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87215echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87216   { (exit 1); exit 1; }; }
87217fi
87218cat >conftest.$ac_ext <<_ACEOF
87219/* confdefs.h.  */
87220_ACEOF
87221cat confdefs.h >>conftest.$ac_ext
87222cat >>conftest.$ac_ext <<_ACEOF
87223/* end confdefs.h.  */
87224/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87225   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87226#define $ac_func innocuous_$ac_func
87227
87228/* System header to define __stub macros and hopefully few prototypes,
87229    which can conflict with char $ac_func (); below.
87230    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87231    <limits.h> exists even on freestanding compilers.  */
87232
87233#ifdef __STDC__
87234# include <limits.h>
87235#else
87236# include <assert.h>
87237#endif
87238
87239#undef $ac_func
87240
87241/* Override any gcc2 internal prototype to avoid an error.  */
87242#ifdef __cplusplus
87243extern "C"
87244{
87245#endif
87246/* We use char because int might match the return type of a gcc2
87247   builtin and then its argument prototype would still apply.  */
87248char $ac_func ();
87249/* The GNU C library defines this for functions which it implements
87250    to always fail with ENOSYS.  Some functions are actually named
87251    something starting with __ and the normal name is an alias.  */
87252#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87253choke me
87254#else
87255char (*f) () = $ac_func;
87256#endif
87257#ifdef __cplusplus
87258}
87259#endif
87260
87261int
87262main ()
87263{
87264return f != $ac_func;
87265  ;
87266  return 0;
87267}
87268_ACEOF
87269rm -f conftest.$ac_objext conftest$ac_exeext
87270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87271  (eval $ac_link) 2>conftest.er1
87272  ac_status=$?
87273  grep -v '^ *+' conftest.er1 >conftest.err
87274  rm -f conftest.er1
87275  cat conftest.err >&5
87276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277  (exit $ac_status); } &&
87278	 { ac_try='test -z "$ac_c_werror_flag"
87279			 || test ! -s conftest.err'
87280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87281  (eval $ac_try) 2>&5
87282  ac_status=$?
87283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87284  (exit $ac_status); }; } &&
87285	 { ac_try='test -s conftest$ac_exeext'
87286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87287  (eval $ac_try) 2>&5
87288  ac_status=$?
87289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87290  (exit $ac_status); }; }; then
87291  eval "$as_ac_var=yes"
87292else
87293  echo "$as_me: failed program was:" >&5
87294sed 's/^/| /' conftest.$ac_ext >&5
87295
87296eval "$as_ac_var=no"
87297fi
87298rm -f conftest.err conftest.$ac_objext \
87299      conftest$ac_exeext conftest.$ac_ext
87300fi
87301echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87302echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87303if test `eval echo '${'$as_ac_var'}'` = yes; then
87304  cat >>confdefs.h <<_ACEOF
87305#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87306_ACEOF
87307
87308fi
87309done
87310
87311    fi
87312  fi
87313
87314
87315
87316
87317
87318
87319  echo "$as_me:$LINENO: checking for modf declaration" >&5
87320echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87321  if test x${glibcxx_cv_func_modf_use+set} != xset; then
87322    if test "${glibcxx_cv_func_modf_use+set}" = set; then
87323  echo $ECHO_N "(cached) $ECHO_C" >&6
87324else
87325
87326
87327
87328      ac_ext=cc
87329ac_cpp='$CXXCPP $CPPFLAGS'
87330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87333
87334      cat >conftest.$ac_ext <<_ACEOF
87335/* confdefs.h.  */
87336_ACEOF
87337cat confdefs.h >>conftest.$ac_ext
87338cat >>conftest.$ac_ext <<_ACEOF
87339/* end confdefs.h.  */
87340#include <math.h>
87341int
87342main ()
87343{
87344 modf(0, 0);
87345  ;
87346  return 0;
87347}
87348_ACEOF
87349rm -f conftest.$ac_objext
87350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87351  (eval $ac_compile) 2>conftest.er1
87352  ac_status=$?
87353  grep -v '^ *+' conftest.er1 >conftest.err
87354  rm -f conftest.er1
87355  cat conftest.err >&5
87356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87357  (exit $ac_status); } &&
87358	 { ac_try='test -z "$ac_cxx_werror_flag"
87359			 || test ! -s conftest.err'
87360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87361  (eval $ac_try) 2>&5
87362  ac_status=$?
87363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87364  (exit $ac_status); }; } &&
87365	 { ac_try='test -s conftest.$ac_objext'
87366  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87367  (eval $ac_try) 2>&5
87368  ac_status=$?
87369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87370  (exit $ac_status); }; }; then
87371  glibcxx_cv_func_modf_use=yes
87372else
87373  echo "$as_me: failed program was:" >&5
87374sed 's/^/| /' conftest.$ac_ext >&5
87375
87376glibcxx_cv_func_modf_use=no
87377fi
87378rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87379      ac_ext=c
87380ac_cpp='$CPP $CPPFLAGS'
87381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87383ac_compiler_gnu=$ac_cv_c_compiler_gnu
87384
87385
87386fi
87387
87388  fi
87389  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87390echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87391
87392  if test x$glibcxx_cv_func_modf_use = x"yes"; then
87393
87394for ac_func in modf
87395do
87396as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87397echo "$as_me:$LINENO: checking for $ac_func" >&5
87398echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87399if eval "test \"\${$as_ac_var+set}\" = set"; then
87400  echo $ECHO_N "(cached) $ECHO_C" >&6
87401else
87402  if test x$gcc_no_link = xyes; then
87403  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87404echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87405   { (exit 1); exit 1; }; }
87406fi
87407cat >conftest.$ac_ext <<_ACEOF
87408/* confdefs.h.  */
87409_ACEOF
87410cat confdefs.h >>conftest.$ac_ext
87411cat >>conftest.$ac_ext <<_ACEOF
87412/* end confdefs.h.  */
87413/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87414   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87415#define $ac_func innocuous_$ac_func
87416
87417/* System header to define __stub macros and hopefully few prototypes,
87418    which can conflict with char $ac_func (); below.
87419    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87420    <limits.h> exists even on freestanding compilers.  */
87421
87422#ifdef __STDC__
87423# include <limits.h>
87424#else
87425# include <assert.h>
87426#endif
87427
87428#undef $ac_func
87429
87430/* Override any gcc2 internal prototype to avoid an error.  */
87431#ifdef __cplusplus
87432extern "C"
87433{
87434#endif
87435/* We use char because int might match the return type of a gcc2
87436   builtin and then its argument prototype would still apply.  */
87437char $ac_func ();
87438/* The GNU C library defines this for functions which it implements
87439    to always fail with ENOSYS.  Some functions are actually named
87440    something starting with __ and the normal name is an alias.  */
87441#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87442choke me
87443#else
87444char (*f) () = $ac_func;
87445#endif
87446#ifdef __cplusplus
87447}
87448#endif
87449
87450int
87451main ()
87452{
87453return f != $ac_func;
87454  ;
87455  return 0;
87456}
87457_ACEOF
87458rm -f conftest.$ac_objext conftest$ac_exeext
87459if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87460  (eval $ac_link) 2>conftest.er1
87461  ac_status=$?
87462  grep -v '^ *+' conftest.er1 >conftest.err
87463  rm -f conftest.er1
87464  cat conftest.err >&5
87465  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87466  (exit $ac_status); } &&
87467	 { ac_try='test -z "$ac_c_werror_flag"
87468			 || test ! -s conftest.err'
87469  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87470  (eval $ac_try) 2>&5
87471  ac_status=$?
87472  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87473  (exit $ac_status); }; } &&
87474	 { ac_try='test -s conftest$ac_exeext'
87475  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87476  (eval $ac_try) 2>&5
87477  ac_status=$?
87478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87479  (exit $ac_status); }; }; then
87480  eval "$as_ac_var=yes"
87481else
87482  echo "$as_me: failed program was:" >&5
87483sed 's/^/| /' conftest.$ac_ext >&5
87484
87485eval "$as_ac_var=no"
87486fi
87487rm -f conftest.err conftest.$ac_objext \
87488      conftest$ac_exeext conftest.$ac_ext
87489fi
87490echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87491echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87492if test `eval echo '${'$as_ac_var'}'` = yes; then
87493  cat >>confdefs.h <<_ACEOF
87494#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87495_ACEOF
87496
87497fi
87498done
87499
87500  else
87501
87502  echo "$as_me:$LINENO: checking for _modf declaration" >&5
87503echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87504  if test x${glibcxx_cv_func__modf_use+set} != xset; then
87505    if test "${glibcxx_cv_func__modf_use+set}" = set; then
87506  echo $ECHO_N "(cached) $ECHO_C" >&6
87507else
87508
87509
87510
87511      ac_ext=cc
87512ac_cpp='$CXXCPP $CPPFLAGS'
87513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87516
87517      cat >conftest.$ac_ext <<_ACEOF
87518/* confdefs.h.  */
87519_ACEOF
87520cat confdefs.h >>conftest.$ac_ext
87521cat >>conftest.$ac_ext <<_ACEOF
87522/* end confdefs.h.  */
87523#include <math.h>
87524int
87525main ()
87526{
87527 _modf(0, 0);
87528  ;
87529  return 0;
87530}
87531_ACEOF
87532rm -f conftest.$ac_objext
87533if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87534  (eval $ac_compile) 2>conftest.er1
87535  ac_status=$?
87536  grep -v '^ *+' conftest.er1 >conftest.err
87537  rm -f conftest.er1
87538  cat conftest.err >&5
87539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540  (exit $ac_status); } &&
87541	 { ac_try='test -z "$ac_cxx_werror_flag"
87542			 || test ! -s conftest.err'
87543  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87544  (eval $ac_try) 2>&5
87545  ac_status=$?
87546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547  (exit $ac_status); }; } &&
87548	 { ac_try='test -s conftest.$ac_objext'
87549  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87550  (eval $ac_try) 2>&5
87551  ac_status=$?
87552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87553  (exit $ac_status); }; }; then
87554  glibcxx_cv_func__modf_use=yes
87555else
87556  echo "$as_me: failed program was:" >&5
87557sed 's/^/| /' conftest.$ac_ext >&5
87558
87559glibcxx_cv_func__modf_use=no
87560fi
87561rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87562      ac_ext=c
87563ac_cpp='$CPP $CPPFLAGS'
87564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87566ac_compiler_gnu=$ac_cv_c_compiler_gnu
87567
87568
87569fi
87570
87571  fi
87572  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87573echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87574
87575    if test x$glibcxx_cv_func__modf_use = x"yes"; then
87576
87577for ac_func in _modf
87578do
87579as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87580echo "$as_me:$LINENO: checking for $ac_func" >&5
87581echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87582if eval "test \"\${$as_ac_var+set}\" = set"; then
87583  echo $ECHO_N "(cached) $ECHO_C" >&6
87584else
87585  if test x$gcc_no_link = xyes; then
87586  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87587echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87588   { (exit 1); exit 1; }; }
87589fi
87590cat >conftest.$ac_ext <<_ACEOF
87591/* confdefs.h.  */
87592_ACEOF
87593cat confdefs.h >>conftest.$ac_ext
87594cat >>conftest.$ac_ext <<_ACEOF
87595/* end confdefs.h.  */
87596/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87597   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87598#define $ac_func innocuous_$ac_func
87599
87600/* System header to define __stub macros and hopefully few prototypes,
87601    which can conflict with char $ac_func (); below.
87602    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87603    <limits.h> exists even on freestanding compilers.  */
87604
87605#ifdef __STDC__
87606# include <limits.h>
87607#else
87608# include <assert.h>
87609#endif
87610
87611#undef $ac_func
87612
87613/* Override any gcc2 internal prototype to avoid an error.  */
87614#ifdef __cplusplus
87615extern "C"
87616{
87617#endif
87618/* We use char because int might match the return type of a gcc2
87619   builtin and then its argument prototype would still apply.  */
87620char $ac_func ();
87621/* The GNU C library defines this for functions which it implements
87622    to always fail with ENOSYS.  Some functions are actually named
87623    something starting with __ and the normal name is an alias.  */
87624#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87625choke me
87626#else
87627char (*f) () = $ac_func;
87628#endif
87629#ifdef __cplusplus
87630}
87631#endif
87632
87633int
87634main ()
87635{
87636return f != $ac_func;
87637  ;
87638  return 0;
87639}
87640_ACEOF
87641rm -f conftest.$ac_objext conftest$ac_exeext
87642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87643  (eval $ac_link) 2>conftest.er1
87644  ac_status=$?
87645  grep -v '^ *+' conftest.er1 >conftest.err
87646  rm -f conftest.er1
87647  cat conftest.err >&5
87648  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87649  (exit $ac_status); } &&
87650	 { ac_try='test -z "$ac_c_werror_flag"
87651			 || test ! -s conftest.err'
87652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87653  (eval $ac_try) 2>&5
87654  ac_status=$?
87655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87656  (exit $ac_status); }; } &&
87657	 { ac_try='test -s conftest$ac_exeext'
87658  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87659  (eval $ac_try) 2>&5
87660  ac_status=$?
87661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87662  (exit $ac_status); }; }; then
87663  eval "$as_ac_var=yes"
87664else
87665  echo "$as_me: failed program was:" >&5
87666sed 's/^/| /' conftest.$ac_ext >&5
87667
87668eval "$as_ac_var=no"
87669fi
87670rm -f conftest.err conftest.$ac_objext \
87671      conftest$ac_exeext conftest.$ac_ext
87672fi
87673echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87674echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87675if test `eval echo '${'$as_ac_var'}'` = yes; then
87676  cat >>confdefs.h <<_ACEOF
87677#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87678_ACEOF
87679
87680fi
87681done
87682
87683    fi
87684  fi
87685
87686
87687
87688
87689
87690
87691  echo "$as_me:$LINENO: checking for powf declaration" >&5
87692echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87693  if test x${glibcxx_cv_func_powf_use+set} != xset; then
87694    if test "${glibcxx_cv_func_powf_use+set}" = set; then
87695  echo $ECHO_N "(cached) $ECHO_C" >&6
87696else
87697
87698
87699
87700      ac_ext=cc
87701ac_cpp='$CXXCPP $CPPFLAGS'
87702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87705
87706      cat >conftest.$ac_ext <<_ACEOF
87707/* confdefs.h.  */
87708_ACEOF
87709cat confdefs.h >>conftest.$ac_ext
87710cat >>conftest.$ac_ext <<_ACEOF
87711/* end confdefs.h.  */
87712#include <math.h>
87713int
87714main ()
87715{
87716 powf(0, 0);
87717  ;
87718  return 0;
87719}
87720_ACEOF
87721rm -f conftest.$ac_objext
87722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87723  (eval $ac_compile) 2>conftest.er1
87724  ac_status=$?
87725  grep -v '^ *+' conftest.er1 >conftest.err
87726  rm -f conftest.er1
87727  cat conftest.err >&5
87728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87729  (exit $ac_status); } &&
87730	 { ac_try='test -z "$ac_cxx_werror_flag"
87731			 || test ! -s conftest.err'
87732  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87733  (eval $ac_try) 2>&5
87734  ac_status=$?
87735  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87736  (exit $ac_status); }; } &&
87737	 { ac_try='test -s conftest.$ac_objext'
87738  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87739  (eval $ac_try) 2>&5
87740  ac_status=$?
87741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87742  (exit $ac_status); }; }; then
87743  glibcxx_cv_func_powf_use=yes
87744else
87745  echo "$as_me: failed program was:" >&5
87746sed 's/^/| /' conftest.$ac_ext >&5
87747
87748glibcxx_cv_func_powf_use=no
87749fi
87750rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87751      ac_ext=c
87752ac_cpp='$CPP $CPPFLAGS'
87753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87755ac_compiler_gnu=$ac_cv_c_compiler_gnu
87756
87757
87758fi
87759
87760  fi
87761  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87762echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87763
87764  if test x$glibcxx_cv_func_powf_use = x"yes"; then
87765
87766for ac_func in powf
87767do
87768as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87769echo "$as_me:$LINENO: checking for $ac_func" >&5
87770echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87771if eval "test \"\${$as_ac_var+set}\" = set"; then
87772  echo $ECHO_N "(cached) $ECHO_C" >&6
87773else
87774  if test x$gcc_no_link = xyes; then
87775  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87776echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87777   { (exit 1); exit 1; }; }
87778fi
87779cat >conftest.$ac_ext <<_ACEOF
87780/* confdefs.h.  */
87781_ACEOF
87782cat confdefs.h >>conftest.$ac_ext
87783cat >>conftest.$ac_ext <<_ACEOF
87784/* end confdefs.h.  */
87785/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87786   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87787#define $ac_func innocuous_$ac_func
87788
87789/* System header to define __stub macros and hopefully few prototypes,
87790    which can conflict with char $ac_func (); below.
87791    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87792    <limits.h> exists even on freestanding compilers.  */
87793
87794#ifdef __STDC__
87795# include <limits.h>
87796#else
87797# include <assert.h>
87798#endif
87799
87800#undef $ac_func
87801
87802/* Override any gcc2 internal prototype to avoid an error.  */
87803#ifdef __cplusplus
87804extern "C"
87805{
87806#endif
87807/* We use char because int might match the return type of a gcc2
87808   builtin and then its argument prototype would still apply.  */
87809char $ac_func ();
87810/* The GNU C library defines this for functions which it implements
87811    to always fail with ENOSYS.  Some functions are actually named
87812    something starting with __ and the normal name is an alias.  */
87813#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87814choke me
87815#else
87816char (*f) () = $ac_func;
87817#endif
87818#ifdef __cplusplus
87819}
87820#endif
87821
87822int
87823main ()
87824{
87825return f != $ac_func;
87826  ;
87827  return 0;
87828}
87829_ACEOF
87830rm -f conftest.$ac_objext conftest$ac_exeext
87831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87832  (eval $ac_link) 2>conftest.er1
87833  ac_status=$?
87834  grep -v '^ *+' conftest.er1 >conftest.err
87835  rm -f conftest.er1
87836  cat conftest.err >&5
87837  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87838  (exit $ac_status); } &&
87839	 { ac_try='test -z "$ac_c_werror_flag"
87840			 || test ! -s conftest.err'
87841  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87842  (eval $ac_try) 2>&5
87843  ac_status=$?
87844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87845  (exit $ac_status); }; } &&
87846	 { ac_try='test -s conftest$ac_exeext'
87847  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87848  (eval $ac_try) 2>&5
87849  ac_status=$?
87850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87851  (exit $ac_status); }; }; then
87852  eval "$as_ac_var=yes"
87853else
87854  echo "$as_me: failed program was:" >&5
87855sed 's/^/| /' conftest.$ac_ext >&5
87856
87857eval "$as_ac_var=no"
87858fi
87859rm -f conftest.err conftest.$ac_objext \
87860      conftest$ac_exeext conftest.$ac_ext
87861fi
87862echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87863echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87864if test `eval echo '${'$as_ac_var'}'` = yes; then
87865  cat >>confdefs.h <<_ACEOF
87866#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87867_ACEOF
87868
87869fi
87870done
87871
87872  else
87873
87874  echo "$as_me:$LINENO: checking for _powf declaration" >&5
87875echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87876  if test x${glibcxx_cv_func__powf_use+set} != xset; then
87877    if test "${glibcxx_cv_func__powf_use+set}" = set; then
87878  echo $ECHO_N "(cached) $ECHO_C" >&6
87879else
87880
87881
87882
87883      ac_ext=cc
87884ac_cpp='$CXXCPP $CPPFLAGS'
87885ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87886ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87887ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87888
87889      cat >conftest.$ac_ext <<_ACEOF
87890/* confdefs.h.  */
87891_ACEOF
87892cat confdefs.h >>conftest.$ac_ext
87893cat >>conftest.$ac_ext <<_ACEOF
87894/* end confdefs.h.  */
87895#include <math.h>
87896int
87897main ()
87898{
87899 _powf(0, 0);
87900  ;
87901  return 0;
87902}
87903_ACEOF
87904rm -f conftest.$ac_objext
87905if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87906  (eval $ac_compile) 2>conftest.er1
87907  ac_status=$?
87908  grep -v '^ *+' conftest.er1 >conftest.err
87909  rm -f conftest.er1
87910  cat conftest.err >&5
87911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87912  (exit $ac_status); } &&
87913	 { ac_try='test -z "$ac_cxx_werror_flag"
87914			 || test ! -s conftest.err'
87915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87916  (eval $ac_try) 2>&5
87917  ac_status=$?
87918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87919  (exit $ac_status); }; } &&
87920	 { ac_try='test -s conftest.$ac_objext'
87921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87922  (eval $ac_try) 2>&5
87923  ac_status=$?
87924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87925  (exit $ac_status); }; }; then
87926  glibcxx_cv_func__powf_use=yes
87927else
87928  echo "$as_me: failed program was:" >&5
87929sed 's/^/| /' conftest.$ac_ext >&5
87930
87931glibcxx_cv_func__powf_use=no
87932fi
87933rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87934      ac_ext=c
87935ac_cpp='$CPP $CPPFLAGS'
87936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87938ac_compiler_gnu=$ac_cv_c_compiler_gnu
87939
87940
87941fi
87942
87943  fi
87944  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87945echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87946
87947    if test x$glibcxx_cv_func__powf_use = x"yes"; then
87948
87949for ac_func in _powf
87950do
87951as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87952echo "$as_me:$LINENO: checking for $ac_func" >&5
87953echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87954if eval "test \"\${$as_ac_var+set}\" = set"; then
87955  echo $ECHO_N "(cached) $ECHO_C" >&6
87956else
87957  if test x$gcc_no_link = xyes; then
87958  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87959echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87960   { (exit 1); exit 1; }; }
87961fi
87962cat >conftest.$ac_ext <<_ACEOF
87963/* confdefs.h.  */
87964_ACEOF
87965cat confdefs.h >>conftest.$ac_ext
87966cat >>conftest.$ac_ext <<_ACEOF
87967/* end confdefs.h.  */
87968/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87969   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87970#define $ac_func innocuous_$ac_func
87971
87972/* System header to define __stub macros and hopefully few prototypes,
87973    which can conflict with char $ac_func (); below.
87974    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87975    <limits.h> exists even on freestanding compilers.  */
87976
87977#ifdef __STDC__
87978# include <limits.h>
87979#else
87980# include <assert.h>
87981#endif
87982
87983#undef $ac_func
87984
87985/* Override any gcc2 internal prototype to avoid an error.  */
87986#ifdef __cplusplus
87987extern "C"
87988{
87989#endif
87990/* We use char because int might match the return type of a gcc2
87991   builtin and then its argument prototype would still apply.  */
87992char $ac_func ();
87993/* The GNU C library defines this for functions which it implements
87994    to always fail with ENOSYS.  Some functions are actually named
87995    something starting with __ and the normal name is an alias.  */
87996#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87997choke me
87998#else
87999char (*f) () = $ac_func;
88000#endif
88001#ifdef __cplusplus
88002}
88003#endif
88004
88005int
88006main ()
88007{
88008return f != $ac_func;
88009  ;
88010  return 0;
88011}
88012_ACEOF
88013rm -f conftest.$ac_objext conftest$ac_exeext
88014if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88015  (eval $ac_link) 2>conftest.er1
88016  ac_status=$?
88017  grep -v '^ *+' conftest.er1 >conftest.err
88018  rm -f conftest.er1
88019  cat conftest.err >&5
88020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88021  (exit $ac_status); } &&
88022	 { ac_try='test -z "$ac_c_werror_flag"
88023			 || test ! -s conftest.err'
88024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88025  (eval $ac_try) 2>&5
88026  ac_status=$?
88027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88028  (exit $ac_status); }; } &&
88029	 { ac_try='test -s conftest$ac_exeext'
88030  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88031  (eval $ac_try) 2>&5
88032  ac_status=$?
88033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88034  (exit $ac_status); }; }; then
88035  eval "$as_ac_var=yes"
88036else
88037  echo "$as_me: failed program was:" >&5
88038sed 's/^/| /' conftest.$ac_ext >&5
88039
88040eval "$as_ac_var=no"
88041fi
88042rm -f conftest.err conftest.$ac_objext \
88043      conftest$ac_exeext conftest.$ac_ext
88044fi
88045echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88046echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88047if test `eval echo '${'$as_ac_var'}'` = yes; then
88048  cat >>confdefs.h <<_ACEOF
88049#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88050_ACEOF
88051
88052fi
88053done
88054
88055    fi
88056  fi
88057
88058
88059
88060
88061
88062
88063  echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
88064echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
88065  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
88066    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
88067  echo $ECHO_N "(cached) $ECHO_C" >&6
88068else
88069
88070
88071
88072      ac_ext=cc
88073ac_cpp='$CXXCPP $CPPFLAGS'
88074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88077
88078      cat >conftest.$ac_ext <<_ACEOF
88079/* confdefs.h.  */
88080_ACEOF
88081cat confdefs.h >>conftest.$ac_ext
88082cat >>conftest.$ac_ext <<_ACEOF
88083/* end confdefs.h.  */
88084#include <math.h>
88085		      #ifdef HAVE_IEEEFP_H
88086		      #include <ieeefp.h>
88087		      #endif
88088
88089int
88090main ()
88091{
88092 sqrtf(0);
88093  ;
88094  return 0;
88095}
88096_ACEOF
88097rm -f conftest.$ac_objext
88098if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88099  (eval $ac_compile) 2>conftest.er1
88100  ac_status=$?
88101  grep -v '^ *+' conftest.er1 >conftest.err
88102  rm -f conftest.er1
88103  cat conftest.err >&5
88104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88105  (exit $ac_status); } &&
88106	 { ac_try='test -z "$ac_cxx_werror_flag"
88107			 || test ! -s conftest.err'
88108  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88109  (eval $ac_try) 2>&5
88110  ac_status=$?
88111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88112  (exit $ac_status); }; } &&
88113	 { ac_try='test -s conftest.$ac_objext'
88114  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88115  (eval $ac_try) 2>&5
88116  ac_status=$?
88117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88118  (exit $ac_status); }; }; then
88119  glibcxx_cv_func_sqrtf_use=yes
88120else
88121  echo "$as_me: failed program was:" >&5
88122sed 's/^/| /' conftest.$ac_ext >&5
88123
88124glibcxx_cv_func_sqrtf_use=no
88125fi
88126rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88127      ac_ext=c
88128ac_cpp='$CPP $CPPFLAGS'
88129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88131ac_compiler_gnu=$ac_cv_c_compiler_gnu
88132
88133
88134fi
88135
88136  fi
88137  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
88138echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
88139
88140  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
88141
88142for ac_func in sqrtf
88143do
88144as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88145echo "$as_me:$LINENO: checking for $ac_func" >&5
88146echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88147if eval "test \"\${$as_ac_var+set}\" = set"; then
88148  echo $ECHO_N "(cached) $ECHO_C" >&6
88149else
88150  if test x$gcc_no_link = xyes; then
88151  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88152echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88153   { (exit 1); exit 1; }; }
88154fi
88155cat >conftest.$ac_ext <<_ACEOF
88156/* confdefs.h.  */
88157_ACEOF
88158cat confdefs.h >>conftest.$ac_ext
88159cat >>conftest.$ac_ext <<_ACEOF
88160/* end confdefs.h.  */
88161/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88162   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88163#define $ac_func innocuous_$ac_func
88164
88165/* System header to define __stub macros and hopefully few prototypes,
88166    which can conflict with char $ac_func (); below.
88167    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88168    <limits.h> exists even on freestanding compilers.  */
88169
88170#ifdef __STDC__
88171# include <limits.h>
88172#else
88173# include <assert.h>
88174#endif
88175
88176#undef $ac_func
88177
88178/* Override any gcc2 internal prototype to avoid an error.  */
88179#ifdef __cplusplus
88180extern "C"
88181{
88182#endif
88183/* We use char because int might match the return type of a gcc2
88184   builtin and then its argument prototype would still apply.  */
88185char $ac_func ();
88186/* The GNU C library defines this for functions which it implements
88187    to always fail with ENOSYS.  Some functions are actually named
88188    something starting with __ and the normal name is an alias.  */
88189#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88190choke me
88191#else
88192char (*f) () = $ac_func;
88193#endif
88194#ifdef __cplusplus
88195}
88196#endif
88197
88198int
88199main ()
88200{
88201return f != $ac_func;
88202  ;
88203  return 0;
88204}
88205_ACEOF
88206rm -f conftest.$ac_objext conftest$ac_exeext
88207if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88208  (eval $ac_link) 2>conftest.er1
88209  ac_status=$?
88210  grep -v '^ *+' conftest.er1 >conftest.err
88211  rm -f conftest.er1
88212  cat conftest.err >&5
88213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88214  (exit $ac_status); } &&
88215	 { ac_try='test -z "$ac_c_werror_flag"
88216			 || test ! -s conftest.err'
88217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88218  (eval $ac_try) 2>&5
88219  ac_status=$?
88220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88221  (exit $ac_status); }; } &&
88222	 { ac_try='test -s conftest$ac_exeext'
88223  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88224  (eval $ac_try) 2>&5
88225  ac_status=$?
88226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88227  (exit $ac_status); }; }; then
88228  eval "$as_ac_var=yes"
88229else
88230  echo "$as_me: failed program was:" >&5
88231sed 's/^/| /' conftest.$ac_ext >&5
88232
88233eval "$as_ac_var=no"
88234fi
88235rm -f conftest.err conftest.$ac_objext \
88236      conftest$ac_exeext conftest.$ac_ext
88237fi
88238echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88239echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88240if test `eval echo '${'$as_ac_var'}'` = yes; then
88241  cat >>confdefs.h <<_ACEOF
88242#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88243_ACEOF
88244
88245fi
88246done
88247
88248  else
88249
88250  echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88251echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88252  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88253    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88254  echo $ECHO_N "(cached) $ECHO_C" >&6
88255else
88256
88257
88258
88259      ac_ext=cc
88260ac_cpp='$CXXCPP $CPPFLAGS'
88261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88264
88265      cat >conftest.$ac_ext <<_ACEOF
88266/* confdefs.h.  */
88267_ACEOF
88268cat confdefs.h >>conftest.$ac_ext
88269cat >>conftest.$ac_ext <<_ACEOF
88270/* end confdefs.h.  */
88271#include <math.h>
88272		      #ifdef HAVE_IEEEFP_H
88273		      #include <ieeefp.h>
88274		      #endif
88275
88276int
88277main ()
88278{
88279 _sqrtf(0);
88280  ;
88281  return 0;
88282}
88283_ACEOF
88284rm -f conftest.$ac_objext
88285if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88286  (eval $ac_compile) 2>conftest.er1
88287  ac_status=$?
88288  grep -v '^ *+' conftest.er1 >conftest.err
88289  rm -f conftest.er1
88290  cat conftest.err >&5
88291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292  (exit $ac_status); } &&
88293	 { ac_try='test -z "$ac_cxx_werror_flag"
88294			 || test ! -s conftest.err'
88295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88296  (eval $ac_try) 2>&5
88297  ac_status=$?
88298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88299  (exit $ac_status); }; } &&
88300	 { ac_try='test -s conftest.$ac_objext'
88301  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88302  (eval $ac_try) 2>&5
88303  ac_status=$?
88304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88305  (exit $ac_status); }; }; then
88306  glibcxx_cv_func__sqrtf_use=yes
88307else
88308  echo "$as_me: failed program was:" >&5
88309sed 's/^/| /' conftest.$ac_ext >&5
88310
88311glibcxx_cv_func__sqrtf_use=no
88312fi
88313rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88314      ac_ext=c
88315ac_cpp='$CPP $CPPFLAGS'
88316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88318ac_compiler_gnu=$ac_cv_c_compiler_gnu
88319
88320
88321fi
88322
88323  fi
88324  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88325echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88326
88327    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88328
88329for ac_func in _sqrtf
88330do
88331as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88332echo "$as_me:$LINENO: checking for $ac_func" >&5
88333echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88334if eval "test \"\${$as_ac_var+set}\" = set"; then
88335  echo $ECHO_N "(cached) $ECHO_C" >&6
88336else
88337  if test x$gcc_no_link = xyes; then
88338  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88339echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88340   { (exit 1); exit 1; }; }
88341fi
88342cat >conftest.$ac_ext <<_ACEOF
88343/* confdefs.h.  */
88344_ACEOF
88345cat confdefs.h >>conftest.$ac_ext
88346cat >>conftest.$ac_ext <<_ACEOF
88347/* end confdefs.h.  */
88348/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88349   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88350#define $ac_func innocuous_$ac_func
88351
88352/* System header to define __stub macros and hopefully few prototypes,
88353    which can conflict with char $ac_func (); below.
88354    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88355    <limits.h> exists even on freestanding compilers.  */
88356
88357#ifdef __STDC__
88358# include <limits.h>
88359#else
88360# include <assert.h>
88361#endif
88362
88363#undef $ac_func
88364
88365/* Override any gcc2 internal prototype to avoid an error.  */
88366#ifdef __cplusplus
88367extern "C"
88368{
88369#endif
88370/* We use char because int might match the return type of a gcc2
88371   builtin and then its argument prototype would still apply.  */
88372char $ac_func ();
88373/* The GNU C library defines this for functions which it implements
88374    to always fail with ENOSYS.  Some functions are actually named
88375    something starting with __ and the normal name is an alias.  */
88376#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88377choke me
88378#else
88379char (*f) () = $ac_func;
88380#endif
88381#ifdef __cplusplus
88382}
88383#endif
88384
88385int
88386main ()
88387{
88388return f != $ac_func;
88389  ;
88390  return 0;
88391}
88392_ACEOF
88393rm -f conftest.$ac_objext conftest$ac_exeext
88394if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88395  (eval $ac_link) 2>conftest.er1
88396  ac_status=$?
88397  grep -v '^ *+' conftest.er1 >conftest.err
88398  rm -f conftest.er1
88399  cat conftest.err >&5
88400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88401  (exit $ac_status); } &&
88402	 { ac_try='test -z "$ac_c_werror_flag"
88403			 || test ! -s conftest.err'
88404  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88405  (eval $ac_try) 2>&5
88406  ac_status=$?
88407  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88408  (exit $ac_status); }; } &&
88409	 { ac_try='test -s conftest$ac_exeext'
88410  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88411  (eval $ac_try) 2>&5
88412  ac_status=$?
88413  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88414  (exit $ac_status); }; }; then
88415  eval "$as_ac_var=yes"
88416else
88417  echo "$as_me: failed program was:" >&5
88418sed 's/^/| /' conftest.$ac_ext >&5
88419
88420eval "$as_ac_var=no"
88421fi
88422rm -f conftest.err conftest.$ac_objext \
88423      conftest$ac_exeext conftest.$ac_ext
88424fi
88425echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88426echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88427if test `eval echo '${'$as_ac_var'}'` = yes; then
88428  cat >>confdefs.h <<_ACEOF
88429#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88430_ACEOF
88431
88432fi
88433done
88434
88435    fi
88436  fi
88437
88438
88439
88440
88441
88442
88443  echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88444echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88445  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88446    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88447  echo $ECHO_N "(cached) $ECHO_C" >&6
88448else
88449
88450
88451
88452      ac_ext=cc
88453ac_cpp='$CXXCPP $CPPFLAGS'
88454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88457
88458      cat >conftest.$ac_ext <<_ACEOF
88459/* confdefs.h.  */
88460_ACEOF
88461cat confdefs.h >>conftest.$ac_ext
88462cat >>conftest.$ac_ext <<_ACEOF
88463/* end confdefs.h.  */
88464#include <math.h>
88465int
88466main ()
88467{
88468 sincosf(0, 0, 0);
88469  ;
88470  return 0;
88471}
88472_ACEOF
88473rm -f conftest.$ac_objext
88474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88475  (eval $ac_compile) 2>conftest.er1
88476  ac_status=$?
88477  grep -v '^ *+' conftest.er1 >conftest.err
88478  rm -f conftest.er1
88479  cat conftest.err >&5
88480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88481  (exit $ac_status); } &&
88482	 { ac_try='test -z "$ac_cxx_werror_flag"
88483			 || test ! -s conftest.err'
88484  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88485  (eval $ac_try) 2>&5
88486  ac_status=$?
88487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88488  (exit $ac_status); }; } &&
88489	 { ac_try='test -s conftest.$ac_objext'
88490  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88491  (eval $ac_try) 2>&5
88492  ac_status=$?
88493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88494  (exit $ac_status); }; }; then
88495  glibcxx_cv_func_sincosf_use=yes
88496else
88497  echo "$as_me: failed program was:" >&5
88498sed 's/^/| /' conftest.$ac_ext >&5
88499
88500glibcxx_cv_func_sincosf_use=no
88501fi
88502rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88503      ac_ext=c
88504ac_cpp='$CPP $CPPFLAGS'
88505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88507ac_compiler_gnu=$ac_cv_c_compiler_gnu
88508
88509
88510fi
88511
88512  fi
88513  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88514echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88515
88516  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88517
88518for ac_func in sincosf
88519do
88520as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88521echo "$as_me:$LINENO: checking for $ac_func" >&5
88522echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88523if eval "test \"\${$as_ac_var+set}\" = set"; then
88524  echo $ECHO_N "(cached) $ECHO_C" >&6
88525else
88526  if test x$gcc_no_link = xyes; then
88527  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88528echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88529   { (exit 1); exit 1; }; }
88530fi
88531cat >conftest.$ac_ext <<_ACEOF
88532/* confdefs.h.  */
88533_ACEOF
88534cat confdefs.h >>conftest.$ac_ext
88535cat >>conftest.$ac_ext <<_ACEOF
88536/* end confdefs.h.  */
88537/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88538   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88539#define $ac_func innocuous_$ac_func
88540
88541/* System header to define __stub macros and hopefully few prototypes,
88542    which can conflict with char $ac_func (); below.
88543    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88544    <limits.h> exists even on freestanding compilers.  */
88545
88546#ifdef __STDC__
88547# include <limits.h>
88548#else
88549# include <assert.h>
88550#endif
88551
88552#undef $ac_func
88553
88554/* Override any gcc2 internal prototype to avoid an error.  */
88555#ifdef __cplusplus
88556extern "C"
88557{
88558#endif
88559/* We use char because int might match the return type of a gcc2
88560   builtin and then its argument prototype would still apply.  */
88561char $ac_func ();
88562/* The GNU C library defines this for functions which it implements
88563    to always fail with ENOSYS.  Some functions are actually named
88564    something starting with __ and the normal name is an alias.  */
88565#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88566choke me
88567#else
88568char (*f) () = $ac_func;
88569#endif
88570#ifdef __cplusplus
88571}
88572#endif
88573
88574int
88575main ()
88576{
88577return f != $ac_func;
88578  ;
88579  return 0;
88580}
88581_ACEOF
88582rm -f conftest.$ac_objext conftest$ac_exeext
88583if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88584  (eval $ac_link) 2>conftest.er1
88585  ac_status=$?
88586  grep -v '^ *+' conftest.er1 >conftest.err
88587  rm -f conftest.er1
88588  cat conftest.err >&5
88589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88590  (exit $ac_status); } &&
88591	 { ac_try='test -z "$ac_c_werror_flag"
88592			 || test ! -s conftest.err'
88593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88594  (eval $ac_try) 2>&5
88595  ac_status=$?
88596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88597  (exit $ac_status); }; } &&
88598	 { ac_try='test -s conftest$ac_exeext'
88599  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88600  (eval $ac_try) 2>&5
88601  ac_status=$?
88602  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88603  (exit $ac_status); }; }; then
88604  eval "$as_ac_var=yes"
88605else
88606  echo "$as_me: failed program was:" >&5
88607sed 's/^/| /' conftest.$ac_ext >&5
88608
88609eval "$as_ac_var=no"
88610fi
88611rm -f conftest.err conftest.$ac_objext \
88612      conftest$ac_exeext conftest.$ac_ext
88613fi
88614echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88615echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88616if test `eval echo '${'$as_ac_var'}'` = yes; then
88617  cat >>confdefs.h <<_ACEOF
88618#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88619_ACEOF
88620
88621fi
88622done
88623
88624  else
88625
88626  echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88627echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88628  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88629    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88630  echo $ECHO_N "(cached) $ECHO_C" >&6
88631else
88632
88633
88634
88635      ac_ext=cc
88636ac_cpp='$CXXCPP $CPPFLAGS'
88637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88640
88641      cat >conftest.$ac_ext <<_ACEOF
88642/* confdefs.h.  */
88643_ACEOF
88644cat confdefs.h >>conftest.$ac_ext
88645cat >>conftest.$ac_ext <<_ACEOF
88646/* end confdefs.h.  */
88647#include <math.h>
88648int
88649main ()
88650{
88651 _sincosf(0, 0, 0);
88652  ;
88653  return 0;
88654}
88655_ACEOF
88656rm -f conftest.$ac_objext
88657if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88658  (eval $ac_compile) 2>conftest.er1
88659  ac_status=$?
88660  grep -v '^ *+' conftest.er1 >conftest.err
88661  rm -f conftest.er1
88662  cat conftest.err >&5
88663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88664  (exit $ac_status); } &&
88665	 { ac_try='test -z "$ac_cxx_werror_flag"
88666			 || test ! -s conftest.err'
88667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88668  (eval $ac_try) 2>&5
88669  ac_status=$?
88670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88671  (exit $ac_status); }; } &&
88672	 { ac_try='test -s conftest.$ac_objext'
88673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88674  (eval $ac_try) 2>&5
88675  ac_status=$?
88676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88677  (exit $ac_status); }; }; then
88678  glibcxx_cv_func__sincosf_use=yes
88679else
88680  echo "$as_me: failed program was:" >&5
88681sed 's/^/| /' conftest.$ac_ext >&5
88682
88683glibcxx_cv_func__sincosf_use=no
88684fi
88685rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88686      ac_ext=c
88687ac_cpp='$CPP $CPPFLAGS'
88688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88690ac_compiler_gnu=$ac_cv_c_compiler_gnu
88691
88692
88693fi
88694
88695  fi
88696  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88697echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88698
88699    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88700
88701for ac_func in _sincosf
88702do
88703as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88704echo "$as_me:$LINENO: checking for $ac_func" >&5
88705echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88706if eval "test \"\${$as_ac_var+set}\" = set"; then
88707  echo $ECHO_N "(cached) $ECHO_C" >&6
88708else
88709  if test x$gcc_no_link = xyes; then
88710  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88711echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88712   { (exit 1); exit 1; }; }
88713fi
88714cat >conftest.$ac_ext <<_ACEOF
88715/* confdefs.h.  */
88716_ACEOF
88717cat confdefs.h >>conftest.$ac_ext
88718cat >>conftest.$ac_ext <<_ACEOF
88719/* end confdefs.h.  */
88720/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88721   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88722#define $ac_func innocuous_$ac_func
88723
88724/* System header to define __stub macros and hopefully few prototypes,
88725    which can conflict with char $ac_func (); below.
88726    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88727    <limits.h> exists even on freestanding compilers.  */
88728
88729#ifdef __STDC__
88730# include <limits.h>
88731#else
88732# include <assert.h>
88733#endif
88734
88735#undef $ac_func
88736
88737/* Override any gcc2 internal prototype to avoid an error.  */
88738#ifdef __cplusplus
88739extern "C"
88740{
88741#endif
88742/* We use char because int might match the return type of a gcc2
88743   builtin and then its argument prototype would still apply.  */
88744char $ac_func ();
88745/* The GNU C library defines this for functions which it implements
88746    to always fail with ENOSYS.  Some functions are actually named
88747    something starting with __ and the normal name is an alias.  */
88748#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88749choke me
88750#else
88751char (*f) () = $ac_func;
88752#endif
88753#ifdef __cplusplus
88754}
88755#endif
88756
88757int
88758main ()
88759{
88760return f != $ac_func;
88761  ;
88762  return 0;
88763}
88764_ACEOF
88765rm -f conftest.$ac_objext conftest$ac_exeext
88766if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88767  (eval $ac_link) 2>conftest.er1
88768  ac_status=$?
88769  grep -v '^ *+' conftest.er1 >conftest.err
88770  rm -f conftest.er1
88771  cat conftest.err >&5
88772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88773  (exit $ac_status); } &&
88774	 { ac_try='test -z "$ac_c_werror_flag"
88775			 || test ! -s conftest.err'
88776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88777  (eval $ac_try) 2>&5
88778  ac_status=$?
88779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88780  (exit $ac_status); }; } &&
88781	 { ac_try='test -s conftest$ac_exeext'
88782  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88783  (eval $ac_try) 2>&5
88784  ac_status=$?
88785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88786  (exit $ac_status); }; }; then
88787  eval "$as_ac_var=yes"
88788else
88789  echo "$as_me: failed program was:" >&5
88790sed 's/^/| /' conftest.$ac_ext >&5
88791
88792eval "$as_ac_var=no"
88793fi
88794rm -f conftest.err conftest.$ac_objext \
88795      conftest$ac_exeext conftest.$ac_ext
88796fi
88797echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88798echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88799if test `eval echo '${'$as_ac_var'}'` = yes; then
88800  cat >>confdefs.h <<_ACEOF
88801#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88802_ACEOF
88803
88804fi
88805done
88806
88807    fi
88808  fi
88809
88810
88811
88812
88813
88814
88815  echo "$as_me:$LINENO: checking for finitef declaration" >&5
88816echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88817  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88818    if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88819  echo $ECHO_N "(cached) $ECHO_C" >&6
88820else
88821
88822
88823
88824      ac_ext=cc
88825ac_cpp='$CXXCPP $CPPFLAGS'
88826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88829
88830      cat >conftest.$ac_ext <<_ACEOF
88831/* confdefs.h.  */
88832_ACEOF
88833cat confdefs.h >>conftest.$ac_ext
88834cat >>conftest.$ac_ext <<_ACEOF
88835/* end confdefs.h.  */
88836#include <math.h>
88837		      #ifdef HAVE_IEEEFP_H
88838		      #include <ieeefp.h>
88839		      #endif
88840
88841int
88842main ()
88843{
88844 finitef(0);
88845  ;
88846  return 0;
88847}
88848_ACEOF
88849rm -f conftest.$ac_objext
88850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88851  (eval $ac_compile) 2>conftest.er1
88852  ac_status=$?
88853  grep -v '^ *+' conftest.er1 >conftest.err
88854  rm -f conftest.er1
88855  cat conftest.err >&5
88856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88857  (exit $ac_status); } &&
88858	 { ac_try='test -z "$ac_cxx_werror_flag"
88859			 || test ! -s conftest.err'
88860  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88861  (eval $ac_try) 2>&5
88862  ac_status=$?
88863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88864  (exit $ac_status); }; } &&
88865	 { ac_try='test -s conftest.$ac_objext'
88866  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88867  (eval $ac_try) 2>&5
88868  ac_status=$?
88869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88870  (exit $ac_status); }; }; then
88871  glibcxx_cv_func_finitef_use=yes
88872else
88873  echo "$as_me: failed program was:" >&5
88874sed 's/^/| /' conftest.$ac_ext >&5
88875
88876glibcxx_cv_func_finitef_use=no
88877fi
88878rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88879      ac_ext=c
88880ac_cpp='$CPP $CPPFLAGS'
88881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88883ac_compiler_gnu=$ac_cv_c_compiler_gnu
88884
88885
88886fi
88887
88888  fi
88889  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88890echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88891
88892  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88893
88894for ac_func in finitef
88895do
88896as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88897echo "$as_me:$LINENO: checking for $ac_func" >&5
88898echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88899if eval "test \"\${$as_ac_var+set}\" = set"; then
88900  echo $ECHO_N "(cached) $ECHO_C" >&6
88901else
88902  if test x$gcc_no_link = xyes; then
88903  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88904echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88905   { (exit 1); exit 1; }; }
88906fi
88907cat >conftest.$ac_ext <<_ACEOF
88908/* confdefs.h.  */
88909_ACEOF
88910cat confdefs.h >>conftest.$ac_ext
88911cat >>conftest.$ac_ext <<_ACEOF
88912/* end confdefs.h.  */
88913/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88914   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88915#define $ac_func innocuous_$ac_func
88916
88917/* System header to define __stub macros and hopefully few prototypes,
88918    which can conflict with char $ac_func (); below.
88919    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88920    <limits.h> exists even on freestanding compilers.  */
88921
88922#ifdef __STDC__
88923# include <limits.h>
88924#else
88925# include <assert.h>
88926#endif
88927
88928#undef $ac_func
88929
88930/* Override any gcc2 internal prototype to avoid an error.  */
88931#ifdef __cplusplus
88932extern "C"
88933{
88934#endif
88935/* We use char because int might match the return type of a gcc2
88936   builtin and then its argument prototype would still apply.  */
88937char $ac_func ();
88938/* The GNU C library defines this for functions which it implements
88939    to always fail with ENOSYS.  Some functions are actually named
88940    something starting with __ and the normal name is an alias.  */
88941#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88942choke me
88943#else
88944char (*f) () = $ac_func;
88945#endif
88946#ifdef __cplusplus
88947}
88948#endif
88949
88950int
88951main ()
88952{
88953return f != $ac_func;
88954  ;
88955  return 0;
88956}
88957_ACEOF
88958rm -f conftest.$ac_objext conftest$ac_exeext
88959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88960  (eval $ac_link) 2>conftest.er1
88961  ac_status=$?
88962  grep -v '^ *+' conftest.er1 >conftest.err
88963  rm -f conftest.er1
88964  cat conftest.err >&5
88965  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88966  (exit $ac_status); } &&
88967	 { ac_try='test -z "$ac_c_werror_flag"
88968			 || test ! -s conftest.err'
88969  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88970  (eval $ac_try) 2>&5
88971  ac_status=$?
88972  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88973  (exit $ac_status); }; } &&
88974	 { ac_try='test -s conftest$ac_exeext'
88975  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88976  (eval $ac_try) 2>&5
88977  ac_status=$?
88978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88979  (exit $ac_status); }; }; then
88980  eval "$as_ac_var=yes"
88981else
88982  echo "$as_me: failed program was:" >&5
88983sed 's/^/| /' conftest.$ac_ext >&5
88984
88985eval "$as_ac_var=no"
88986fi
88987rm -f conftest.err conftest.$ac_objext \
88988      conftest$ac_exeext conftest.$ac_ext
88989fi
88990echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88991echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88992if test `eval echo '${'$as_ac_var'}'` = yes; then
88993  cat >>confdefs.h <<_ACEOF
88994#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88995_ACEOF
88996
88997fi
88998done
88999
89000  else
89001
89002  echo "$as_me:$LINENO: checking for _finitef declaration" >&5
89003echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
89004  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
89005    if test "${glibcxx_cv_func__finitef_use+set}" = set; then
89006  echo $ECHO_N "(cached) $ECHO_C" >&6
89007else
89008
89009
89010
89011      ac_ext=cc
89012ac_cpp='$CXXCPP $CPPFLAGS'
89013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89016
89017      cat >conftest.$ac_ext <<_ACEOF
89018/* confdefs.h.  */
89019_ACEOF
89020cat confdefs.h >>conftest.$ac_ext
89021cat >>conftest.$ac_ext <<_ACEOF
89022/* end confdefs.h.  */
89023#include <math.h>
89024		      #ifdef HAVE_IEEEFP_H
89025		      #include <ieeefp.h>
89026		      #endif
89027
89028int
89029main ()
89030{
89031 _finitef(0);
89032  ;
89033  return 0;
89034}
89035_ACEOF
89036rm -f conftest.$ac_objext
89037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89038  (eval $ac_compile) 2>conftest.er1
89039  ac_status=$?
89040  grep -v '^ *+' conftest.er1 >conftest.err
89041  rm -f conftest.er1
89042  cat conftest.err >&5
89043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89044  (exit $ac_status); } &&
89045	 { ac_try='test -z "$ac_cxx_werror_flag"
89046			 || test ! -s conftest.err'
89047  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048  (eval $ac_try) 2>&5
89049  ac_status=$?
89050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051  (exit $ac_status); }; } &&
89052	 { ac_try='test -s conftest.$ac_objext'
89053  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89054  (eval $ac_try) 2>&5
89055  ac_status=$?
89056  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89057  (exit $ac_status); }; }; then
89058  glibcxx_cv_func__finitef_use=yes
89059else
89060  echo "$as_me: failed program was:" >&5
89061sed 's/^/| /' conftest.$ac_ext >&5
89062
89063glibcxx_cv_func__finitef_use=no
89064fi
89065rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89066      ac_ext=c
89067ac_cpp='$CPP $CPPFLAGS'
89068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89070ac_compiler_gnu=$ac_cv_c_compiler_gnu
89071
89072
89073fi
89074
89075  fi
89076  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
89077echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
89078
89079    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
89080
89081for ac_func in _finitef
89082do
89083as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89084echo "$as_me:$LINENO: checking for $ac_func" >&5
89085echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89086if eval "test \"\${$as_ac_var+set}\" = set"; then
89087  echo $ECHO_N "(cached) $ECHO_C" >&6
89088else
89089  if test x$gcc_no_link = xyes; then
89090  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89091echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89092   { (exit 1); exit 1; }; }
89093fi
89094cat >conftest.$ac_ext <<_ACEOF
89095/* confdefs.h.  */
89096_ACEOF
89097cat confdefs.h >>conftest.$ac_ext
89098cat >>conftest.$ac_ext <<_ACEOF
89099/* end confdefs.h.  */
89100/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89101   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89102#define $ac_func innocuous_$ac_func
89103
89104/* System header to define __stub macros and hopefully few prototypes,
89105    which can conflict with char $ac_func (); below.
89106    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89107    <limits.h> exists even on freestanding compilers.  */
89108
89109#ifdef __STDC__
89110# include <limits.h>
89111#else
89112# include <assert.h>
89113#endif
89114
89115#undef $ac_func
89116
89117/* Override any gcc2 internal prototype to avoid an error.  */
89118#ifdef __cplusplus
89119extern "C"
89120{
89121#endif
89122/* We use char because int might match the return type of a gcc2
89123   builtin and then its argument prototype would still apply.  */
89124char $ac_func ();
89125/* The GNU C library defines this for functions which it implements
89126    to always fail with ENOSYS.  Some functions are actually named
89127    something starting with __ and the normal name is an alias.  */
89128#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89129choke me
89130#else
89131char (*f) () = $ac_func;
89132#endif
89133#ifdef __cplusplus
89134}
89135#endif
89136
89137int
89138main ()
89139{
89140return f != $ac_func;
89141  ;
89142  return 0;
89143}
89144_ACEOF
89145rm -f conftest.$ac_objext conftest$ac_exeext
89146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89147  (eval $ac_link) 2>conftest.er1
89148  ac_status=$?
89149  grep -v '^ *+' conftest.er1 >conftest.err
89150  rm -f conftest.er1
89151  cat conftest.err >&5
89152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89153  (exit $ac_status); } &&
89154	 { ac_try='test -z "$ac_c_werror_flag"
89155			 || test ! -s conftest.err'
89156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89157  (eval $ac_try) 2>&5
89158  ac_status=$?
89159  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89160  (exit $ac_status); }; } &&
89161	 { ac_try='test -s conftest$ac_exeext'
89162  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89163  (eval $ac_try) 2>&5
89164  ac_status=$?
89165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89166  (exit $ac_status); }; }; then
89167  eval "$as_ac_var=yes"
89168else
89169  echo "$as_me: failed program was:" >&5
89170sed 's/^/| /' conftest.$ac_ext >&5
89171
89172eval "$as_ac_var=no"
89173fi
89174rm -f conftest.err conftest.$ac_objext \
89175      conftest$ac_exeext conftest.$ac_ext
89176fi
89177echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89178echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89179if test `eval echo '${'$as_ac_var'}'` = yes; then
89180  cat >>confdefs.h <<_ACEOF
89181#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89182_ACEOF
89183
89184fi
89185done
89186
89187    fi
89188  fi
89189
89190
89191
89192
89193
89194
89195    echo "$as_me:$LINENO: checking for long double trig functions" >&5
89196echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
89197  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
89198  echo $ECHO_N "(cached) $ECHO_C" >&6
89199else
89200
89201
89202
89203    ac_ext=cc
89204ac_cpp='$CXXCPP $CPPFLAGS'
89205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89208
89209    cat >conftest.$ac_ext <<_ACEOF
89210/* confdefs.h.  */
89211_ACEOF
89212cat confdefs.h >>conftest.$ac_ext
89213cat >>conftest.$ac_ext <<_ACEOF
89214/* end confdefs.h.  */
89215#include <math.h>
89216int
89217main ()
89218{
89219acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89220  ;
89221  return 0;
89222}
89223_ACEOF
89224rm -f conftest.$ac_objext
89225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89226  (eval $ac_compile) 2>conftest.er1
89227  ac_status=$?
89228  grep -v '^ *+' conftest.er1 >conftest.err
89229  rm -f conftest.er1
89230  cat conftest.err >&5
89231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89232  (exit $ac_status); } &&
89233	 { ac_try='test -z "$ac_cxx_werror_flag"
89234			 || test ! -s conftest.err'
89235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89236  (eval $ac_try) 2>&5
89237  ac_status=$?
89238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89239  (exit $ac_status); }; } &&
89240	 { ac_try='test -s conftest.$ac_objext'
89241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89242  (eval $ac_try) 2>&5
89243  ac_status=$?
89244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89245  (exit $ac_status); }; }; then
89246  glibcxx_cv_func_long_double_trig_use=yes
89247else
89248  echo "$as_me: failed program was:" >&5
89249sed 's/^/| /' conftest.$ac_ext >&5
89250
89251glibcxx_cv_func_long_double_trig_use=no
89252fi
89253rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89254    ac_ext=c
89255ac_cpp='$CPP $CPPFLAGS'
89256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89258ac_compiler_gnu=$ac_cv_c_compiler_gnu
89259
89260fi
89261
89262  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89263echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89264  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89265
89266
89267
89268
89269
89270
89271
89272
89273
89274for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89275do
89276as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89277echo "$as_me:$LINENO: checking for $ac_func" >&5
89278echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89279if eval "test \"\${$as_ac_var+set}\" = set"; then
89280  echo $ECHO_N "(cached) $ECHO_C" >&6
89281else
89282  if test x$gcc_no_link = xyes; then
89283  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89284echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89285   { (exit 1); exit 1; }; }
89286fi
89287cat >conftest.$ac_ext <<_ACEOF
89288/* confdefs.h.  */
89289_ACEOF
89290cat confdefs.h >>conftest.$ac_ext
89291cat >>conftest.$ac_ext <<_ACEOF
89292/* end confdefs.h.  */
89293/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89294   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89295#define $ac_func innocuous_$ac_func
89296
89297/* System header to define __stub macros and hopefully few prototypes,
89298    which can conflict with char $ac_func (); below.
89299    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89300    <limits.h> exists even on freestanding compilers.  */
89301
89302#ifdef __STDC__
89303# include <limits.h>
89304#else
89305# include <assert.h>
89306#endif
89307
89308#undef $ac_func
89309
89310/* Override any gcc2 internal prototype to avoid an error.  */
89311#ifdef __cplusplus
89312extern "C"
89313{
89314#endif
89315/* We use char because int might match the return type of a gcc2
89316   builtin and then its argument prototype would still apply.  */
89317char $ac_func ();
89318/* The GNU C library defines this for functions which it implements
89319    to always fail with ENOSYS.  Some functions are actually named
89320    something starting with __ and the normal name is an alias.  */
89321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89322choke me
89323#else
89324char (*f) () = $ac_func;
89325#endif
89326#ifdef __cplusplus
89327}
89328#endif
89329
89330int
89331main ()
89332{
89333return f != $ac_func;
89334  ;
89335  return 0;
89336}
89337_ACEOF
89338rm -f conftest.$ac_objext conftest$ac_exeext
89339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89340  (eval $ac_link) 2>conftest.er1
89341  ac_status=$?
89342  grep -v '^ *+' conftest.er1 >conftest.err
89343  rm -f conftest.er1
89344  cat conftest.err >&5
89345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89346  (exit $ac_status); } &&
89347	 { ac_try='test -z "$ac_c_werror_flag"
89348			 || test ! -s conftest.err'
89349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89350  (eval $ac_try) 2>&5
89351  ac_status=$?
89352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89353  (exit $ac_status); }; } &&
89354	 { ac_try='test -s conftest$ac_exeext'
89355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89356  (eval $ac_try) 2>&5
89357  ac_status=$?
89358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89359  (exit $ac_status); }; }; then
89360  eval "$as_ac_var=yes"
89361else
89362  echo "$as_me: failed program was:" >&5
89363sed 's/^/| /' conftest.$ac_ext >&5
89364
89365eval "$as_ac_var=no"
89366fi
89367rm -f conftest.err conftest.$ac_objext \
89368      conftest$ac_exeext conftest.$ac_ext
89369fi
89370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89371echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89372if test `eval echo '${'$as_ac_var'}'` = yes; then
89373  cat >>confdefs.h <<_ACEOF
89374#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89375_ACEOF
89376
89377fi
89378done
89379
89380  else
89381    echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89382echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89383    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89384  echo $ECHO_N "(cached) $ECHO_C" >&6
89385else
89386
89387
89388
89389      ac_ext=cc
89390ac_cpp='$CXXCPP $CPPFLAGS'
89391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89394
89395      cat >conftest.$ac_ext <<_ACEOF
89396/* confdefs.h.  */
89397_ACEOF
89398cat confdefs.h >>conftest.$ac_ext
89399cat >>conftest.$ac_ext <<_ACEOF
89400/* end confdefs.h.  */
89401#include <math.h>
89402int
89403main ()
89404{
89405_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89406  ;
89407  return 0;
89408}
89409_ACEOF
89410rm -f conftest.$ac_objext
89411if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89412  (eval $ac_compile) 2>conftest.er1
89413  ac_status=$?
89414  grep -v '^ *+' conftest.er1 >conftest.err
89415  rm -f conftest.er1
89416  cat conftest.err >&5
89417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89418  (exit $ac_status); } &&
89419	 { ac_try='test -z "$ac_cxx_werror_flag"
89420			 || test ! -s conftest.err'
89421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89422  (eval $ac_try) 2>&5
89423  ac_status=$?
89424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89425  (exit $ac_status); }; } &&
89426	 { ac_try='test -s conftest.$ac_objext'
89427  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89428  (eval $ac_try) 2>&5
89429  ac_status=$?
89430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89431  (exit $ac_status); }; }; then
89432  glibcxx_cv_func__long_double_trig_use=yes
89433else
89434  echo "$as_me: failed program was:" >&5
89435sed 's/^/| /' conftest.$ac_ext >&5
89436
89437glibcxx_cv_func__long_double_trig_use=no
89438fi
89439rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89440      ac_ext=c
89441ac_cpp='$CPP $CPPFLAGS'
89442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89444ac_compiler_gnu=$ac_cv_c_compiler_gnu
89445
89446fi
89447
89448    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89449echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89450    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89451
89452
89453
89454
89455
89456
89457
89458
89459
89460for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89461do
89462as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89463echo "$as_me:$LINENO: checking for $ac_func" >&5
89464echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89465if eval "test \"\${$as_ac_var+set}\" = set"; then
89466  echo $ECHO_N "(cached) $ECHO_C" >&6
89467else
89468  if test x$gcc_no_link = xyes; then
89469  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89470echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89471   { (exit 1); exit 1; }; }
89472fi
89473cat >conftest.$ac_ext <<_ACEOF
89474/* confdefs.h.  */
89475_ACEOF
89476cat confdefs.h >>conftest.$ac_ext
89477cat >>conftest.$ac_ext <<_ACEOF
89478/* end confdefs.h.  */
89479/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89480   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89481#define $ac_func innocuous_$ac_func
89482
89483/* System header to define __stub macros and hopefully few prototypes,
89484    which can conflict with char $ac_func (); below.
89485    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89486    <limits.h> exists even on freestanding compilers.  */
89487
89488#ifdef __STDC__
89489# include <limits.h>
89490#else
89491# include <assert.h>
89492#endif
89493
89494#undef $ac_func
89495
89496/* Override any gcc2 internal prototype to avoid an error.  */
89497#ifdef __cplusplus
89498extern "C"
89499{
89500#endif
89501/* We use char because int might match the return type of a gcc2
89502   builtin and then its argument prototype would still apply.  */
89503char $ac_func ();
89504/* The GNU C library defines this for functions which it implements
89505    to always fail with ENOSYS.  Some functions are actually named
89506    something starting with __ and the normal name is an alias.  */
89507#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89508choke me
89509#else
89510char (*f) () = $ac_func;
89511#endif
89512#ifdef __cplusplus
89513}
89514#endif
89515
89516int
89517main ()
89518{
89519return f != $ac_func;
89520  ;
89521  return 0;
89522}
89523_ACEOF
89524rm -f conftest.$ac_objext conftest$ac_exeext
89525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89526  (eval $ac_link) 2>conftest.er1
89527  ac_status=$?
89528  grep -v '^ *+' conftest.er1 >conftest.err
89529  rm -f conftest.er1
89530  cat conftest.err >&5
89531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89532  (exit $ac_status); } &&
89533	 { ac_try='test -z "$ac_c_werror_flag"
89534			 || test ! -s conftest.err'
89535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89536  (eval $ac_try) 2>&5
89537  ac_status=$?
89538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89539  (exit $ac_status); }; } &&
89540	 { ac_try='test -s conftest$ac_exeext'
89541  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89542  (eval $ac_try) 2>&5
89543  ac_status=$?
89544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89545  (exit $ac_status); }; }; then
89546  eval "$as_ac_var=yes"
89547else
89548  echo "$as_me: failed program was:" >&5
89549sed 's/^/| /' conftest.$ac_ext >&5
89550
89551eval "$as_ac_var=no"
89552fi
89553rm -f conftest.err conftest.$ac_objext \
89554      conftest$ac_exeext conftest.$ac_ext
89555fi
89556echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89557echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89558if test `eval echo '${'$as_ac_var'}'` = yes; then
89559  cat >>confdefs.h <<_ACEOF
89560#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89561_ACEOF
89562
89563fi
89564done
89565
89566    fi
89567  fi
89568
89569
89570
89571
89572
89573
89574
89575
89576
89577
89578
89579
89580
89581
89582    echo "$as_me:$LINENO: checking for long double round functions" >&5
89583echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89584  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89585  echo $ECHO_N "(cached) $ECHO_C" >&6
89586else
89587
89588
89589
89590    ac_ext=cc
89591ac_cpp='$CXXCPP $CPPFLAGS'
89592ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89593ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89594ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89595
89596    cat >conftest.$ac_ext <<_ACEOF
89597/* confdefs.h.  */
89598_ACEOF
89599cat confdefs.h >>conftest.$ac_ext
89600cat >>conftest.$ac_ext <<_ACEOF
89601/* end confdefs.h.  */
89602#include <math.h>
89603int
89604main ()
89605{
89606ceill (0); floorl (0);
89607  ;
89608  return 0;
89609}
89610_ACEOF
89611rm -f conftest.$ac_objext
89612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89613  (eval $ac_compile) 2>conftest.er1
89614  ac_status=$?
89615  grep -v '^ *+' conftest.er1 >conftest.err
89616  rm -f conftest.er1
89617  cat conftest.err >&5
89618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89619  (exit $ac_status); } &&
89620	 { ac_try='test -z "$ac_cxx_werror_flag"
89621			 || test ! -s conftest.err'
89622  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89623  (eval $ac_try) 2>&5
89624  ac_status=$?
89625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89626  (exit $ac_status); }; } &&
89627	 { ac_try='test -s conftest.$ac_objext'
89628  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89629  (eval $ac_try) 2>&5
89630  ac_status=$?
89631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89632  (exit $ac_status); }; }; then
89633  glibcxx_cv_func_long_double_round_use=yes
89634else
89635  echo "$as_me: failed program was:" >&5
89636sed 's/^/| /' conftest.$ac_ext >&5
89637
89638glibcxx_cv_func_long_double_round_use=no
89639fi
89640rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89641    ac_ext=c
89642ac_cpp='$CPP $CPPFLAGS'
89643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89645ac_compiler_gnu=$ac_cv_c_compiler_gnu
89646
89647fi
89648
89649  echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89650echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89651  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89652
89653
89654for ac_func in ceill floorl
89655do
89656as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89657echo "$as_me:$LINENO: checking for $ac_func" >&5
89658echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89659if eval "test \"\${$as_ac_var+set}\" = set"; then
89660  echo $ECHO_N "(cached) $ECHO_C" >&6
89661else
89662  if test x$gcc_no_link = xyes; then
89663  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89664echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89665   { (exit 1); exit 1; }; }
89666fi
89667cat >conftest.$ac_ext <<_ACEOF
89668/* confdefs.h.  */
89669_ACEOF
89670cat confdefs.h >>conftest.$ac_ext
89671cat >>conftest.$ac_ext <<_ACEOF
89672/* end confdefs.h.  */
89673/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89674   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89675#define $ac_func innocuous_$ac_func
89676
89677/* System header to define __stub macros and hopefully few prototypes,
89678    which can conflict with char $ac_func (); below.
89679    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89680    <limits.h> exists even on freestanding compilers.  */
89681
89682#ifdef __STDC__
89683# include <limits.h>
89684#else
89685# include <assert.h>
89686#endif
89687
89688#undef $ac_func
89689
89690/* Override any gcc2 internal prototype to avoid an error.  */
89691#ifdef __cplusplus
89692extern "C"
89693{
89694#endif
89695/* We use char because int might match the return type of a gcc2
89696   builtin and then its argument prototype would still apply.  */
89697char $ac_func ();
89698/* The GNU C library defines this for functions which it implements
89699    to always fail with ENOSYS.  Some functions are actually named
89700    something starting with __ and the normal name is an alias.  */
89701#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89702choke me
89703#else
89704char (*f) () = $ac_func;
89705#endif
89706#ifdef __cplusplus
89707}
89708#endif
89709
89710int
89711main ()
89712{
89713return f != $ac_func;
89714  ;
89715  return 0;
89716}
89717_ACEOF
89718rm -f conftest.$ac_objext conftest$ac_exeext
89719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89720  (eval $ac_link) 2>conftest.er1
89721  ac_status=$?
89722  grep -v '^ *+' conftest.er1 >conftest.err
89723  rm -f conftest.er1
89724  cat conftest.err >&5
89725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89726  (exit $ac_status); } &&
89727	 { ac_try='test -z "$ac_c_werror_flag"
89728			 || test ! -s conftest.err'
89729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89730  (eval $ac_try) 2>&5
89731  ac_status=$?
89732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89733  (exit $ac_status); }; } &&
89734	 { ac_try='test -s conftest$ac_exeext'
89735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89736  (eval $ac_try) 2>&5
89737  ac_status=$?
89738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89739  (exit $ac_status); }; }; then
89740  eval "$as_ac_var=yes"
89741else
89742  echo "$as_me: failed program was:" >&5
89743sed 's/^/| /' conftest.$ac_ext >&5
89744
89745eval "$as_ac_var=no"
89746fi
89747rm -f conftest.err conftest.$ac_objext \
89748      conftest$ac_exeext conftest.$ac_ext
89749fi
89750echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89751echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89752if test `eval echo '${'$as_ac_var'}'` = yes; then
89753  cat >>confdefs.h <<_ACEOF
89754#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89755_ACEOF
89756
89757fi
89758done
89759
89760  else
89761    echo "$as_me:$LINENO: checking for _long double round functions" >&5
89762echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89763    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89764  echo $ECHO_N "(cached) $ECHO_C" >&6
89765else
89766
89767
89768
89769      ac_ext=cc
89770ac_cpp='$CXXCPP $CPPFLAGS'
89771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89774
89775      cat >conftest.$ac_ext <<_ACEOF
89776/* confdefs.h.  */
89777_ACEOF
89778cat confdefs.h >>conftest.$ac_ext
89779cat >>conftest.$ac_ext <<_ACEOF
89780/* end confdefs.h.  */
89781#include <math.h>
89782int
89783main ()
89784{
89785_ceill (0); _floorl (0);
89786  ;
89787  return 0;
89788}
89789_ACEOF
89790rm -f conftest.$ac_objext
89791if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89792  (eval $ac_compile) 2>conftest.er1
89793  ac_status=$?
89794  grep -v '^ *+' conftest.er1 >conftest.err
89795  rm -f conftest.er1
89796  cat conftest.err >&5
89797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798  (exit $ac_status); } &&
89799	 { ac_try='test -z "$ac_cxx_werror_flag"
89800			 || test ! -s conftest.err'
89801  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89802  (eval $ac_try) 2>&5
89803  ac_status=$?
89804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89805  (exit $ac_status); }; } &&
89806	 { ac_try='test -s conftest.$ac_objext'
89807  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89808  (eval $ac_try) 2>&5
89809  ac_status=$?
89810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89811  (exit $ac_status); }; }; then
89812  glibcxx_cv_func__long_double_round_use=yes
89813else
89814  echo "$as_me: failed program was:" >&5
89815sed 's/^/| /' conftest.$ac_ext >&5
89816
89817glibcxx_cv_func__long_double_round_use=no
89818fi
89819rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89820      ac_ext=c
89821ac_cpp='$CPP $CPPFLAGS'
89822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89824ac_compiler_gnu=$ac_cv_c_compiler_gnu
89825
89826fi
89827
89828    echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89829echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89830    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89831
89832
89833for ac_func in _ceill _floorl
89834do
89835as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89836echo "$as_me:$LINENO: checking for $ac_func" >&5
89837echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89838if eval "test \"\${$as_ac_var+set}\" = set"; then
89839  echo $ECHO_N "(cached) $ECHO_C" >&6
89840else
89841  if test x$gcc_no_link = xyes; then
89842  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89843echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89844   { (exit 1); exit 1; }; }
89845fi
89846cat >conftest.$ac_ext <<_ACEOF
89847/* confdefs.h.  */
89848_ACEOF
89849cat confdefs.h >>conftest.$ac_ext
89850cat >>conftest.$ac_ext <<_ACEOF
89851/* end confdefs.h.  */
89852/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89853   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89854#define $ac_func innocuous_$ac_func
89855
89856/* System header to define __stub macros and hopefully few prototypes,
89857    which can conflict with char $ac_func (); below.
89858    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89859    <limits.h> exists even on freestanding compilers.  */
89860
89861#ifdef __STDC__
89862# include <limits.h>
89863#else
89864# include <assert.h>
89865#endif
89866
89867#undef $ac_func
89868
89869/* Override any gcc2 internal prototype to avoid an error.  */
89870#ifdef __cplusplus
89871extern "C"
89872{
89873#endif
89874/* We use char because int might match the return type of a gcc2
89875   builtin and then its argument prototype would still apply.  */
89876char $ac_func ();
89877/* The GNU C library defines this for functions which it implements
89878    to always fail with ENOSYS.  Some functions are actually named
89879    something starting with __ and the normal name is an alias.  */
89880#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89881choke me
89882#else
89883char (*f) () = $ac_func;
89884#endif
89885#ifdef __cplusplus
89886}
89887#endif
89888
89889int
89890main ()
89891{
89892return f != $ac_func;
89893  ;
89894  return 0;
89895}
89896_ACEOF
89897rm -f conftest.$ac_objext conftest$ac_exeext
89898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89899  (eval $ac_link) 2>conftest.er1
89900  ac_status=$?
89901  grep -v '^ *+' conftest.er1 >conftest.err
89902  rm -f conftest.er1
89903  cat conftest.err >&5
89904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89905  (exit $ac_status); } &&
89906	 { ac_try='test -z "$ac_c_werror_flag"
89907			 || test ! -s conftest.err'
89908  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89909  (eval $ac_try) 2>&5
89910  ac_status=$?
89911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89912  (exit $ac_status); }; } &&
89913	 { ac_try='test -s conftest$ac_exeext'
89914  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89915  (eval $ac_try) 2>&5
89916  ac_status=$?
89917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89918  (exit $ac_status); }; }; then
89919  eval "$as_ac_var=yes"
89920else
89921  echo "$as_me: failed program was:" >&5
89922sed 's/^/| /' conftest.$ac_ext >&5
89923
89924eval "$as_ac_var=no"
89925fi
89926rm -f conftest.err conftest.$ac_objext \
89927      conftest$ac_exeext conftest.$ac_ext
89928fi
89929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89930echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89931if test `eval echo '${'$as_ac_var'}'` = yes; then
89932  cat >>confdefs.h <<_ACEOF
89933#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89934_ACEOF
89935
89936fi
89937done
89938
89939    fi
89940  fi
89941
89942
89943
89944
89945
89946
89947
89948
89949  echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89950echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89951  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89952    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89953  echo $ECHO_N "(cached) $ECHO_C" >&6
89954else
89955
89956
89957
89958      ac_ext=cc
89959ac_cpp='$CXXCPP $CPPFLAGS'
89960ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89961ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89962ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89963
89964      cat >conftest.$ac_ext <<_ACEOF
89965/* confdefs.h.  */
89966_ACEOF
89967cat confdefs.h >>conftest.$ac_ext
89968cat >>conftest.$ac_ext <<_ACEOF
89969/* end confdefs.h.  */
89970#include <math.h>
89971		      #ifdef HAVE_IEEEFP_H
89972		      #include <ieeefp.h>
89973		      #endif
89974
89975int
89976main ()
89977{
89978 isnanl(0);
89979  ;
89980  return 0;
89981}
89982_ACEOF
89983rm -f conftest.$ac_objext
89984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89985  (eval $ac_compile) 2>conftest.er1
89986  ac_status=$?
89987  grep -v '^ *+' conftest.er1 >conftest.err
89988  rm -f conftest.er1
89989  cat conftest.err >&5
89990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89991  (exit $ac_status); } &&
89992	 { ac_try='test -z "$ac_cxx_werror_flag"
89993			 || test ! -s conftest.err'
89994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89995  (eval $ac_try) 2>&5
89996  ac_status=$?
89997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89998  (exit $ac_status); }; } &&
89999	 { ac_try='test -s conftest.$ac_objext'
90000  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90001  (eval $ac_try) 2>&5
90002  ac_status=$?
90003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90004  (exit $ac_status); }; }; then
90005  glibcxx_cv_func_isnanl_use=yes
90006else
90007  echo "$as_me: failed program was:" >&5
90008sed 's/^/| /' conftest.$ac_ext >&5
90009
90010glibcxx_cv_func_isnanl_use=no
90011fi
90012rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90013      ac_ext=c
90014ac_cpp='$CPP $CPPFLAGS'
90015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90017ac_compiler_gnu=$ac_cv_c_compiler_gnu
90018
90019
90020fi
90021
90022  fi
90023  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
90024echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
90025
90026  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
90027
90028for ac_func in isnanl
90029do
90030as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90031echo "$as_me:$LINENO: checking for $ac_func" >&5
90032echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90033if eval "test \"\${$as_ac_var+set}\" = set"; then
90034  echo $ECHO_N "(cached) $ECHO_C" >&6
90035else
90036  if test x$gcc_no_link = xyes; then
90037  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90038echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90039   { (exit 1); exit 1; }; }
90040fi
90041cat >conftest.$ac_ext <<_ACEOF
90042/* confdefs.h.  */
90043_ACEOF
90044cat confdefs.h >>conftest.$ac_ext
90045cat >>conftest.$ac_ext <<_ACEOF
90046/* end confdefs.h.  */
90047/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90048   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90049#define $ac_func innocuous_$ac_func
90050
90051/* System header to define __stub macros and hopefully few prototypes,
90052    which can conflict with char $ac_func (); below.
90053    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90054    <limits.h> exists even on freestanding compilers.  */
90055
90056#ifdef __STDC__
90057# include <limits.h>
90058#else
90059# include <assert.h>
90060#endif
90061
90062#undef $ac_func
90063
90064/* Override any gcc2 internal prototype to avoid an error.  */
90065#ifdef __cplusplus
90066extern "C"
90067{
90068#endif
90069/* We use char because int might match the return type of a gcc2
90070   builtin and then its argument prototype would still apply.  */
90071char $ac_func ();
90072/* The GNU C library defines this for functions which it implements
90073    to always fail with ENOSYS.  Some functions are actually named
90074    something starting with __ and the normal name is an alias.  */
90075#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90076choke me
90077#else
90078char (*f) () = $ac_func;
90079#endif
90080#ifdef __cplusplus
90081}
90082#endif
90083
90084int
90085main ()
90086{
90087return f != $ac_func;
90088  ;
90089  return 0;
90090}
90091_ACEOF
90092rm -f conftest.$ac_objext conftest$ac_exeext
90093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90094  (eval $ac_link) 2>conftest.er1
90095  ac_status=$?
90096  grep -v '^ *+' conftest.er1 >conftest.err
90097  rm -f conftest.er1
90098  cat conftest.err >&5
90099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90100  (exit $ac_status); } &&
90101	 { ac_try='test -z "$ac_c_werror_flag"
90102			 || test ! -s conftest.err'
90103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90104  (eval $ac_try) 2>&5
90105  ac_status=$?
90106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90107  (exit $ac_status); }; } &&
90108	 { ac_try='test -s conftest$ac_exeext'
90109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90110  (eval $ac_try) 2>&5
90111  ac_status=$?
90112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90113  (exit $ac_status); }; }; then
90114  eval "$as_ac_var=yes"
90115else
90116  echo "$as_me: failed program was:" >&5
90117sed 's/^/| /' conftest.$ac_ext >&5
90118
90119eval "$as_ac_var=no"
90120fi
90121rm -f conftest.err conftest.$ac_objext \
90122      conftest$ac_exeext conftest.$ac_ext
90123fi
90124echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90125echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90126if test `eval echo '${'$as_ac_var'}'` = yes; then
90127  cat >>confdefs.h <<_ACEOF
90128#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90129_ACEOF
90130
90131fi
90132done
90133
90134  else
90135
90136  echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
90137echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
90138  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
90139    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
90140  echo $ECHO_N "(cached) $ECHO_C" >&6
90141else
90142
90143
90144
90145      ac_ext=cc
90146ac_cpp='$CXXCPP $CPPFLAGS'
90147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90150
90151      cat >conftest.$ac_ext <<_ACEOF
90152/* confdefs.h.  */
90153_ACEOF
90154cat confdefs.h >>conftest.$ac_ext
90155cat >>conftest.$ac_ext <<_ACEOF
90156/* end confdefs.h.  */
90157#include <math.h>
90158		      #ifdef HAVE_IEEEFP_H
90159		      #include <ieeefp.h>
90160		      #endif
90161
90162int
90163main ()
90164{
90165 _isnanl(0);
90166  ;
90167  return 0;
90168}
90169_ACEOF
90170rm -f conftest.$ac_objext
90171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90172  (eval $ac_compile) 2>conftest.er1
90173  ac_status=$?
90174  grep -v '^ *+' conftest.er1 >conftest.err
90175  rm -f conftest.er1
90176  cat conftest.err >&5
90177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90178  (exit $ac_status); } &&
90179	 { ac_try='test -z "$ac_cxx_werror_flag"
90180			 || test ! -s conftest.err'
90181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90182  (eval $ac_try) 2>&5
90183  ac_status=$?
90184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90185  (exit $ac_status); }; } &&
90186	 { ac_try='test -s conftest.$ac_objext'
90187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90188  (eval $ac_try) 2>&5
90189  ac_status=$?
90190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90191  (exit $ac_status); }; }; then
90192  glibcxx_cv_func__isnanl_use=yes
90193else
90194  echo "$as_me: failed program was:" >&5
90195sed 's/^/| /' conftest.$ac_ext >&5
90196
90197glibcxx_cv_func__isnanl_use=no
90198fi
90199rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90200      ac_ext=c
90201ac_cpp='$CPP $CPPFLAGS'
90202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90204ac_compiler_gnu=$ac_cv_c_compiler_gnu
90205
90206
90207fi
90208
90209  fi
90210  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90211echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90212
90213    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90214
90215for ac_func in _isnanl
90216do
90217as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90218echo "$as_me:$LINENO: checking for $ac_func" >&5
90219echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90220if eval "test \"\${$as_ac_var+set}\" = set"; then
90221  echo $ECHO_N "(cached) $ECHO_C" >&6
90222else
90223  if test x$gcc_no_link = xyes; then
90224  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90225echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90226   { (exit 1); exit 1; }; }
90227fi
90228cat >conftest.$ac_ext <<_ACEOF
90229/* confdefs.h.  */
90230_ACEOF
90231cat confdefs.h >>conftest.$ac_ext
90232cat >>conftest.$ac_ext <<_ACEOF
90233/* end confdefs.h.  */
90234/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90235   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90236#define $ac_func innocuous_$ac_func
90237
90238/* System header to define __stub macros and hopefully few prototypes,
90239    which can conflict with char $ac_func (); below.
90240    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90241    <limits.h> exists even on freestanding compilers.  */
90242
90243#ifdef __STDC__
90244# include <limits.h>
90245#else
90246# include <assert.h>
90247#endif
90248
90249#undef $ac_func
90250
90251/* Override any gcc2 internal prototype to avoid an error.  */
90252#ifdef __cplusplus
90253extern "C"
90254{
90255#endif
90256/* We use char because int might match the return type of a gcc2
90257   builtin and then its argument prototype would still apply.  */
90258char $ac_func ();
90259/* The GNU C library defines this for functions which it implements
90260    to always fail with ENOSYS.  Some functions are actually named
90261    something starting with __ and the normal name is an alias.  */
90262#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90263choke me
90264#else
90265char (*f) () = $ac_func;
90266#endif
90267#ifdef __cplusplus
90268}
90269#endif
90270
90271int
90272main ()
90273{
90274return f != $ac_func;
90275  ;
90276  return 0;
90277}
90278_ACEOF
90279rm -f conftest.$ac_objext conftest$ac_exeext
90280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90281  (eval $ac_link) 2>conftest.er1
90282  ac_status=$?
90283  grep -v '^ *+' conftest.er1 >conftest.err
90284  rm -f conftest.er1
90285  cat conftest.err >&5
90286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90287  (exit $ac_status); } &&
90288	 { ac_try='test -z "$ac_c_werror_flag"
90289			 || test ! -s conftest.err'
90290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90291  (eval $ac_try) 2>&5
90292  ac_status=$?
90293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90294  (exit $ac_status); }; } &&
90295	 { ac_try='test -s conftest$ac_exeext'
90296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90297  (eval $ac_try) 2>&5
90298  ac_status=$?
90299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90300  (exit $ac_status); }; }; then
90301  eval "$as_ac_var=yes"
90302else
90303  echo "$as_me: failed program was:" >&5
90304sed 's/^/| /' conftest.$ac_ext >&5
90305
90306eval "$as_ac_var=no"
90307fi
90308rm -f conftest.err conftest.$ac_objext \
90309      conftest$ac_exeext conftest.$ac_ext
90310fi
90311echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90312echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90313if test `eval echo '${'$as_ac_var'}'` = yes; then
90314  cat >>confdefs.h <<_ACEOF
90315#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90316_ACEOF
90317
90318fi
90319done
90320
90321    fi
90322  fi
90323
90324
90325
90326
90327
90328
90329  echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90330echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90331  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90332    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90333  echo $ECHO_N "(cached) $ECHO_C" >&6
90334else
90335
90336
90337
90338      ac_ext=cc
90339ac_cpp='$CXXCPP $CPPFLAGS'
90340ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90341ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90342ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90343
90344      cat >conftest.$ac_ext <<_ACEOF
90345/* confdefs.h.  */
90346_ACEOF
90347cat confdefs.h >>conftest.$ac_ext
90348cat >>conftest.$ac_ext <<_ACEOF
90349/* end confdefs.h.  */
90350#include <math.h>
90351		      #ifdef HAVE_IEEEFP_H
90352		      #include <ieeefp.h>
90353		      #endif
90354
90355int
90356main ()
90357{
90358 isinfl(0);
90359  ;
90360  return 0;
90361}
90362_ACEOF
90363rm -f conftest.$ac_objext
90364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90365  (eval $ac_compile) 2>conftest.er1
90366  ac_status=$?
90367  grep -v '^ *+' conftest.er1 >conftest.err
90368  rm -f conftest.er1
90369  cat conftest.err >&5
90370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90371  (exit $ac_status); } &&
90372	 { ac_try='test -z "$ac_cxx_werror_flag"
90373			 || test ! -s conftest.err'
90374  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90375  (eval $ac_try) 2>&5
90376  ac_status=$?
90377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378  (exit $ac_status); }; } &&
90379	 { ac_try='test -s conftest.$ac_objext'
90380  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90381  (eval $ac_try) 2>&5
90382  ac_status=$?
90383  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384  (exit $ac_status); }; }; then
90385  glibcxx_cv_func_isinfl_use=yes
90386else
90387  echo "$as_me: failed program was:" >&5
90388sed 's/^/| /' conftest.$ac_ext >&5
90389
90390glibcxx_cv_func_isinfl_use=no
90391fi
90392rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90393      ac_ext=c
90394ac_cpp='$CPP $CPPFLAGS'
90395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90397ac_compiler_gnu=$ac_cv_c_compiler_gnu
90398
90399
90400fi
90401
90402  fi
90403  echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90404echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90405
90406  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90407
90408for ac_func in isinfl
90409do
90410as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90411echo "$as_me:$LINENO: checking for $ac_func" >&5
90412echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90413if eval "test \"\${$as_ac_var+set}\" = set"; then
90414  echo $ECHO_N "(cached) $ECHO_C" >&6
90415else
90416  if test x$gcc_no_link = xyes; then
90417  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90418echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90419   { (exit 1); exit 1; }; }
90420fi
90421cat >conftest.$ac_ext <<_ACEOF
90422/* confdefs.h.  */
90423_ACEOF
90424cat confdefs.h >>conftest.$ac_ext
90425cat >>conftest.$ac_ext <<_ACEOF
90426/* end confdefs.h.  */
90427/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90428   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90429#define $ac_func innocuous_$ac_func
90430
90431/* System header to define __stub macros and hopefully few prototypes,
90432    which can conflict with char $ac_func (); below.
90433    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90434    <limits.h> exists even on freestanding compilers.  */
90435
90436#ifdef __STDC__
90437# include <limits.h>
90438#else
90439# include <assert.h>
90440#endif
90441
90442#undef $ac_func
90443
90444/* Override any gcc2 internal prototype to avoid an error.  */
90445#ifdef __cplusplus
90446extern "C"
90447{
90448#endif
90449/* We use char because int might match the return type of a gcc2
90450   builtin and then its argument prototype would still apply.  */
90451char $ac_func ();
90452/* The GNU C library defines this for functions which it implements
90453    to always fail with ENOSYS.  Some functions are actually named
90454    something starting with __ and the normal name is an alias.  */
90455#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90456choke me
90457#else
90458char (*f) () = $ac_func;
90459#endif
90460#ifdef __cplusplus
90461}
90462#endif
90463
90464int
90465main ()
90466{
90467return f != $ac_func;
90468  ;
90469  return 0;
90470}
90471_ACEOF
90472rm -f conftest.$ac_objext conftest$ac_exeext
90473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90474  (eval $ac_link) 2>conftest.er1
90475  ac_status=$?
90476  grep -v '^ *+' conftest.er1 >conftest.err
90477  rm -f conftest.er1
90478  cat conftest.err >&5
90479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90480  (exit $ac_status); } &&
90481	 { ac_try='test -z "$ac_c_werror_flag"
90482			 || test ! -s conftest.err'
90483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90484  (eval $ac_try) 2>&5
90485  ac_status=$?
90486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90487  (exit $ac_status); }; } &&
90488	 { ac_try='test -s conftest$ac_exeext'
90489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90490  (eval $ac_try) 2>&5
90491  ac_status=$?
90492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90493  (exit $ac_status); }; }; then
90494  eval "$as_ac_var=yes"
90495else
90496  echo "$as_me: failed program was:" >&5
90497sed 's/^/| /' conftest.$ac_ext >&5
90498
90499eval "$as_ac_var=no"
90500fi
90501rm -f conftest.err conftest.$ac_objext \
90502      conftest$ac_exeext conftest.$ac_ext
90503fi
90504echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90505echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90506if test `eval echo '${'$as_ac_var'}'` = yes; then
90507  cat >>confdefs.h <<_ACEOF
90508#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90509_ACEOF
90510
90511fi
90512done
90513
90514  else
90515
90516  echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90517echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90518  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90519    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90520  echo $ECHO_N "(cached) $ECHO_C" >&6
90521else
90522
90523
90524
90525      ac_ext=cc
90526ac_cpp='$CXXCPP $CPPFLAGS'
90527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90530
90531      cat >conftest.$ac_ext <<_ACEOF
90532/* confdefs.h.  */
90533_ACEOF
90534cat confdefs.h >>conftest.$ac_ext
90535cat >>conftest.$ac_ext <<_ACEOF
90536/* end confdefs.h.  */
90537#include <math.h>
90538		      #ifdef HAVE_IEEEFP_H
90539		      #include <ieeefp.h>
90540		      #endif
90541
90542int
90543main ()
90544{
90545 _isinfl(0);
90546  ;
90547  return 0;
90548}
90549_ACEOF
90550rm -f conftest.$ac_objext
90551if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90552  (eval $ac_compile) 2>conftest.er1
90553  ac_status=$?
90554  grep -v '^ *+' conftest.er1 >conftest.err
90555  rm -f conftest.er1
90556  cat conftest.err >&5
90557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558  (exit $ac_status); } &&
90559	 { ac_try='test -z "$ac_cxx_werror_flag"
90560			 || test ! -s conftest.err'
90561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90562  (eval $ac_try) 2>&5
90563  ac_status=$?
90564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90565  (exit $ac_status); }; } &&
90566	 { ac_try='test -s conftest.$ac_objext'
90567  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568  (eval $ac_try) 2>&5
90569  ac_status=$?
90570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571  (exit $ac_status); }; }; then
90572  glibcxx_cv_func__isinfl_use=yes
90573else
90574  echo "$as_me: failed program was:" >&5
90575sed 's/^/| /' conftest.$ac_ext >&5
90576
90577glibcxx_cv_func__isinfl_use=no
90578fi
90579rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90580      ac_ext=c
90581ac_cpp='$CPP $CPPFLAGS'
90582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90584ac_compiler_gnu=$ac_cv_c_compiler_gnu
90585
90586
90587fi
90588
90589  fi
90590  echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90591echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90592
90593    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90594
90595for ac_func in _isinfl
90596do
90597as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90598echo "$as_me:$LINENO: checking for $ac_func" >&5
90599echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90600if eval "test \"\${$as_ac_var+set}\" = set"; then
90601  echo $ECHO_N "(cached) $ECHO_C" >&6
90602else
90603  if test x$gcc_no_link = xyes; then
90604  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90605echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90606   { (exit 1); exit 1; }; }
90607fi
90608cat >conftest.$ac_ext <<_ACEOF
90609/* confdefs.h.  */
90610_ACEOF
90611cat confdefs.h >>conftest.$ac_ext
90612cat >>conftest.$ac_ext <<_ACEOF
90613/* end confdefs.h.  */
90614/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90615   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90616#define $ac_func innocuous_$ac_func
90617
90618/* System header to define __stub macros and hopefully few prototypes,
90619    which can conflict with char $ac_func (); below.
90620    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90621    <limits.h> exists even on freestanding compilers.  */
90622
90623#ifdef __STDC__
90624# include <limits.h>
90625#else
90626# include <assert.h>
90627#endif
90628
90629#undef $ac_func
90630
90631/* Override any gcc2 internal prototype to avoid an error.  */
90632#ifdef __cplusplus
90633extern "C"
90634{
90635#endif
90636/* We use char because int might match the return type of a gcc2
90637   builtin and then its argument prototype would still apply.  */
90638char $ac_func ();
90639/* The GNU C library defines this for functions which it implements
90640    to always fail with ENOSYS.  Some functions are actually named
90641    something starting with __ and the normal name is an alias.  */
90642#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90643choke me
90644#else
90645char (*f) () = $ac_func;
90646#endif
90647#ifdef __cplusplus
90648}
90649#endif
90650
90651int
90652main ()
90653{
90654return f != $ac_func;
90655  ;
90656  return 0;
90657}
90658_ACEOF
90659rm -f conftest.$ac_objext conftest$ac_exeext
90660if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90661  (eval $ac_link) 2>conftest.er1
90662  ac_status=$?
90663  grep -v '^ *+' conftest.er1 >conftest.err
90664  rm -f conftest.er1
90665  cat conftest.err >&5
90666  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90667  (exit $ac_status); } &&
90668	 { ac_try='test -z "$ac_c_werror_flag"
90669			 || test ! -s conftest.err'
90670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90671  (eval $ac_try) 2>&5
90672  ac_status=$?
90673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90674  (exit $ac_status); }; } &&
90675	 { ac_try='test -s conftest$ac_exeext'
90676  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90677  (eval $ac_try) 2>&5
90678  ac_status=$?
90679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90680  (exit $ac_status); }; }; then
90681  eval "$as_ac_var=yes"
90682else
90683  echo "$as_me: failed program was:" >&5
90684sed 's/^/| /' conftest.$ac_ext >&5
90685
90686eval "$as_ac_var=no"
90687fi
90688rm -f conftest.err conftest.$ac_objext \
90689      conftest$ac_exeext conftest.$ac_ext
90690fi
90691echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90692echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90693if test `eval echo '${'$as_ac_var'}'` = yes; then
90694  cat >>confdefs.h <<_ACEOF
90695#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90696_ACEOF
90697
90698fi
90699done
90700
90701    fi
90702  fi
90703
90704
90705
90706
90707
90708
90709  echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90710echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90711  if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90712    if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90713  echo $ECHO_N "(cached) $ECHO_C" >&6
90714else
90715
90716
90717
90718      ac_ext=cc
90719ac_cpp='$CXXCPP $CPPFLAGS'
90720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90723
90724      cat >conftest.$ac_ext <<_ACEOF
90725/* confdefs.h.  */
90726_ACEOF
90727cat confdefs.h >>conftest.$ac_ext
90728cat >>conftest.$ac_ext <<_ACEOF
90729/* end confdefs.h.  */
90730#include <math.h>
90731int
90732main ()
90733{
90734 copysignl(0, 0);
90735  ;
90736  return 0;
90737}
90738_ACEOF
90739rm -f conftest.$ac_objext
90740if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90741  (eval $ac_compile) 2>conftest.er1
90742  ac_status=$?
90743  grep -v '^ *+' conftest.er1 >conftest.err
90744  rm -f conftest.er1
90745  cat conftest.err >&5
90746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90747  (exit $ac_status); } &&
90748	 { ac_try='test -z "$ac_cxx_werror_flag"
90749			 || test ! -s conftest.err'
90750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90751  (eval $ac_try) 2>&5
90752  ac_status=$?
90753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90754  (exit $ac_status); }; } &&
90755	 { ac_try='test -s conftest.$ac_objext'
90756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90757  (eval $ac_try) 2>&5
90758  ac_status=$?
90759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90760  (exit $ac_status); }; }; then
90761  glibcxx_cv_func_copysignl_use=yes
90762else
90763  echo "$as_me: failed program was:" >&5
90764sed 's/^/| /' conftest.$ac_ext >&5
90765
90766glibcxx_cv_func_copysignl_use=no
90767fi
90768rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90769      ac_ext=c
90770ac_cpp='$CPP $CPPFLAGS'
90771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90773ac_compiler_gnu=$ac_cv_c_compiler_gnu
90774
90775
90776fi
90777
90778  fi
90779  echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90780echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90781
90782  if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90783
90784for ac_func in copysignl
90785do
90786as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90787echo "$as_me:$LINENO: checking for $ac_func" >&5
90788echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90789if eval "test \"\${$as_ac_var+set}\" = set"; then
90790  echo $ECHO_N "(cached) $ECHO_C" >&6
90791else
90792  if test x$gcc_no_link = xyes; then
90793  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90794echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90795   { (exit 1); exit 1; }; }
90796fi
90797cat >conftest.$ac_ext <<_ACEOF
90798/* confdefs.h.  */
90799_ACEOF
90800cat confdefs.h >>conftest.$ac_ext
90801cat >>conftest.$ac_ext <<_ACEOF
90802/* end confdefs.h.  */
90803/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90804   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90805#define $ac_func innocuous_$ac_func
90806
90807/* System header to define __stub macros and hopefully few prototypes,
90808    which can conflict with char $ac_func (); below.
90809    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90810    <limits.h> exists even on freestanding compilers.  */
90811
90812#ifdef __STDC__
90813# include <limits.h>
90814#else
90815# include <assert.h>
90816#endif
90817
90818#undef $ac_func
90819
90820/* Override any gcc2 internal prototype to avoid an error.  */
90821#ifdef __cplusplus
90822extern "C"
90823{
90824#endif
90825/* We use char because int might match the return type of a gcc2
90826   builtin and then its argument prototype would still apply.  */
90827char $ac_func ();
90828/* The GNU C library defines this for functions which it implements
90829    to always fail with ENOSYS.  Some functions are actually named
90830    something starting with __ and the normal name is an alias.  */
90831#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90832choke me
90833#else
90834char (*f) () = $ac_func;
90835#endif
90836#ifdef __cplusplus
90837}
90838#endif
90839
90840int
90841main ()
90842{
90843return f != $ac_func;
90844  ;
90845  return 0;
90846}
90847_ACEOF
90848rm -f conftest.$ac_objext conftest$ac_exeext
90849if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90850  (eval $ac_link) 2>conftest.er1
90851  ac_status=$?
90852  grep -v '^ *+' conftest.er1 >conftest.err
90853  rm -f conftest.er1
90854  cat conftest.err >&5
90855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90856  (exit $ac_status); } &&
90857	 { ac_try='test -z "$ac_c_werror_flag"
90858			 || test ! -s conftest.err'
90859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90860  (eval $ac_try) 2>&5
90861  ac_status=$?
90862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90863  (exit $ac_status); }; } &&
90864	 { ac_try='test -s conftest$ac_exeext'
90865  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90866  (eval $ac_try) 2>&5
90867  ac_status=$?
90868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90869  (exit $ac_status); }; }; then
90870  eval "$as_ac_var=yes"
90871else
90872  echo "$as_me: failed program was:" >&5
90873sed 's/^/| /' conftest.$ac_ext >&5
90874
90875eval "$as_ac_var=no"
90876fi
90877rm -f conftest.err conftest.$ac_objext \
90878      conftest$ac_exeext conftest.$ac_ext
90879fi
90880echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90881echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90882if test `eval echo '${'$as_ac_var'}'` = yes; then
90883  cat >>confdefs.h <<_ACEOF
90884#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90885_ACEOF
90886
90887fi
90888done
90889
90890  else
90891
90892  echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90893echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90894  if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90895    if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90896  echo $ECHO_N "(cached) $ECHO_C" >&6
90897else
90898
90899
90900
90901      ac_ext=cc
90902ac_cpp='$CXXCPP $CPPFLAGS'
90903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90906
90907      cat >conftest.$ac_ext <<_ACEOF
90908/* confdefs.h.  */
90909_ACEOF
90910cat confdefs.h >>conftest.$ac_ext
90911cat >>conftest.$ac_ext <<_ACEOF
90912/* end confdefs.h.  */
90913#include <math.h>
90914int
90915main ()
90916{
90917 _copysignl(0, 0);
90918  ;
90919  return 0;
90920}
90921_ACEOF
90922rm -f conftest.$ac_objext
90923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90924  (eval $ac_compile) 2>conftest.er1
90925  ac_status=$?
90926  grep -v '^ *+' conftest.er1 >conftest.err
90927  rm -f conftest.er1
90928  cat conftest.err >&5
90929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930  (exit $ac_status); } &&
90931	 { ac_try='test -z "$ac_cxx_werror_flag"
90932			 || test ! -s conftest.err'
90933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90934  (eval $ac_try) 2>&5
90935  ac_status=$?
90936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90937  (exit $ac_status); }; } &&
90938	 { ac_try='test -s conftest.$ac_objext'
90939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90940  (eval $ac_try) 2>&5
90941  ac_status=$?
90942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943  (exit $ac_status); }; }; then
90944  glibcxx_cv_func__copysignl_use=yes
90945else
90946  echo "$as_me: failed program was:" >&5
90947sed 's/^/| /' conftest.$ac_ext >&5
90948
90949glibcxx_cv_func__copysignl_use=no
90950fi
90951rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90952      ac_ext=c
90953ac_cpp='$CPP $CPPFLAGS'
90954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90956ac_compiler_gnu=$ac_cv_c_compiler_gnu
90957
90958
90959fi
90960
90961  fi
90962  echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90963echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90964
90965    if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90966
90967for ac_func in _copysignl
90968do
90969as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90970echo "$as_me:$LINENO: checking for $ac_func" >&5
90971echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90972if eval "test \"\${$as_ac_var+set}\" = set"; then
90973  echo $ECHO_N "(cached) $ECHO_C" >&6
90974else
90975  if test x$gcc_no_link = xyes; then
90976  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90977echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90978   { (exit 1); exit 1; }; }
90979fi
90980cat >conftest.$ac_ext <<_ACEOF
90981/* confdefs.h.  */
90982_ACEOF
90983cat confdefs.h >>conftest.$ac_ext
90984cat >>conftest.$ac_ext <<_ACEOF
90985/* end confdefs.h.  */
90986/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90987   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90988#define $ac_func innocuous_$ac_func
90989
90990/* System header to define __stub macros and hopefully few prototypes,
90991    which can conflict with char $ac_func (); below.
90992    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90993    <limits.h> exists even on freestanding compilers.  */
90994
90995#ifdef __STDC__
90996# include <limits.h>
90997#else
90998# include <assert.h>
90999#endif
91000
91001#undef $ac_func
91002
91003/* Override any gcc2 internal prototype to avoid an error.  */
91004#ifdef __cplusplus
91005extern "C"
91006{
91007#endif
91008/* We use char because int might match the return type of a gcc2
91009   builtin and then its argument prototype would still apply.  */
91010char $ac_func ();
91011/* The GNU C library defines this for functions which it implements
91012    to always fail with ENOSYS.  Some functions are actually named
91013    something starting with __ and the normal name is an alias.  */
91014#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91015choke me
91016#else
91017char (*f) () = $ac_func;
91018#endif
91019#ifdef __cplusplus
91020}
91021#endif
91022
91023int
91024main ()
91025{
91026return f != $ac_func;
91027  ;
91028  return 0;
91029}
91030_ACEOF
91031rm -f conftest.$ac_objext conftest$ac_exeext
91032if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91033  (eval $ac_link) 2>conftest.er1
91034  ac_status=$?
91035  grep -v '^ *+' conftest.er1 >conftest.err
91036  rm -f conftest.er1
91037  cat conftest.err >&5
91038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91039  (exit $ac_status); } &&
91040	 { ac_try='test -z "$ac_c_werror_flag"
91041			 || test ! -s conftest.err'
91042  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91043  (eval $ac_try) 2>&5
91044  ac_status=$?
91045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91046  (exit $ac_status); }; } &&
91047	 { ac_try='test -s conftest$ac_exeext'
91048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91049  (eval $ac_try) 2>&5
91050  ac_status=$?
91051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91052  (exit $ac_status); }; }; then
91053  eval "$as_ac_var=yes"
91054else
91055  echo "$as_me: failed program was:" >&5
91056sed 's/^/| /' conftest.$ac_ext >&5
91057
91058eval "$as_ac_var=no"
91059fi
91060rm -f conftest.err conftest.$ac_objext \
91061      conftest$ac_exeext conftest.$ac_ext
91062fi
91063echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91064echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91065if test `eval echo '${'$as_ac_var'}'` = yes; then
91066  cat >>confdefs.h <<_ACEOF
91067#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91068_ACEOF
91069
91070fi
91071done
91072
91073    fi
91074  fi
91075
91076
91077
91078
91079
91080
91081  echo "$as_me:$LINENO: checking for atan2l declaration" >&5
91082echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
91083  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
91084    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
91085  echo $ECHO_N "(cached) $ECHO_C" >&6
91086else
91087
91088
91089
91090      ac_ext=cc
91091ac_cpp='$CXXCPP $CPPFLAGS'
91092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91095
91096      cat >conftest.$ac_ext <<_ACEOF
91097/* confdefs.h.  */
91098_ACEOF
91099cat confdefs.h >>conftest.$ac_ext
91100cat >>conftest.$ac_ext <<_ACEOF
91101/* end confdefs.h.  */
91102#include <math.h>
91103int
91104main ()
91105{
91106 atan2l(0, 0);
91107  ;
91108  return 0;
91109}
91110_ACEOF
91111rm -f conftest.$ac_objext
91112if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91113  (eval $ac_compile) 2>conftest.er1
91114  ac_status=$?
91115  grep -v '^ *+' conftest.er1 >conftest.err
91116  rm -f conftest.er1
91117  cat conftest.err >&5
91118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91119  (exit $ac_status); } &&
91120	 { ac_try='test -z "$ac_cxx_werror_flag"
91121			 || test ! -s conftest.err'
91122  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91123  (eval $ac_try) 2>&5
91124  ac_status=$?
91125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91126  (exit $ac_status); }; } &&
91127	 { ac_try='test -s conftest.$ac_objext'
91128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91129  (eval $ac_try) 2>&5
91130  ac_status=$?
91131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91132  (exit $ac_status); }; }; then
91133  glibcxx_cv_func_atan2l_use=yes
91134else
91135  echo "$as_me: failed program was:" >&5
91136sed 's/^/| /' conftest.$ac_ext >&5
91137
91138glibcxx_cv_func_atan2l_use=no
91139fi
91140rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91141      ac_ext=c
91142ac_cpp='$CPP $CPPFLAGS'
91143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91145ac_compiler_gnu=$ac_cv_c_compiler_gnu
91146
91147
91148fi
91149
91150  fi
91151  echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
91152echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
91153
91154  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
91155
91156for ac_func in atan2l
91157do
91158as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91159echo "$as_me:$LINENO: checking for $ac_func" >&5
91160echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91161if eval "test \"\${$as_ac_var+set}\" = set"; then
91162  echo $ECHO_N "(cached) $ECHO_C" >&6
91163else
91164  if test x$gcc_no_link = xyes; then
91165  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91166echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91167   { (exit 1); exit 1; }; }
91168fi
91169cat >conftest.$ac_ext <<_ACEOF
91170/* confdefs.h.  */
91171_ACEOF
91172cat confdefs.h >>conftest.$ac_ext
91173cat >>conftest.$ac_ext <<_ACEOF
91174/* end confdefs.h.  */
91175/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91176   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91177#define $ac_func innocuous_$ac_func
91178
91179/* System header to define __stub macros and hopefully few prototypes,
91180    which can conflict with char $ac_func (); below.
91181    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91182    <limits.h> exists even on freestanding compilers.  */
91183
91184#ifdef __STDC__
91185# include <limits.h>
91186#else
91187# include <assert.h>
91188#endif
91189
91190#undef $ac_func
91191
91192/* Override any gcc2 internal prototype to avoid an error.  */
91193#ifdef __cplusplus
91194extern "C"
91195{
91196#endif
91197/* We use char because int might match the return type of a gcc2
91198   builtin and then its argument prototype would still apply.  */
91199char $ac_func ();
91200/* The GNU C library defines this for functions which it implements
91201    to always fail with ENOSYS.  Some functions are actually named
91202    something starting with __ and the normal name is an alias.  */
91203#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91204choke me
91205#else
91206char (*f) () = $ac_func;
91207#endif
91208#ifdef __cplusplus
91209}
91210#endif
91211
91212int
91213main ()
91214{
91215return f != $ac_func;
91216  ;
91217  return 0;
91218}
91219_ACEOF
91220rm -f conftest.$ac_objext conftest$ac_exeext
91221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91222  (eval $ac_link) 2>conftest.er1
91223  ac_status=$?
91224  grep -v '^ *+' conftest.er1 >conftest.err
91225  rm -f conftest.er1
91226  cat conftest.err >&5
91227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91228  (exit $ac_status); } &&
91229	 { ac_try='test -z "$ac_c_werror_flag"
91230			 || test ! -s conftest.err'
91231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91232  (eval $ac_try) 2>&5
91233  ac_status=$?
91234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91235  (exit $ac_status); }; } &&
91236	 { ac_try='test -s conftest$ac_exeext'
91237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91238  (eval $ac_try) 2>&5
91239  ac_status=$?
91240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91241  (exit $ac_status); }; }; then
91242  eval "$as_ac_var=yes"
91243else
91244  echo "$as_me: failed program was:" >&5
91245sed 's/^/| /' conftest.$ac_ext >&5
91246
91247eval "$as_ac_var=no"
91248fi
91249rm -f conftest.err conftest.$ac_objext \
91250      conftest$ac_exeext conftest.$ac_ext
91251fi
91252echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91253echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91254if test `eval echo '${'$as_ac_var'}'` = yes; then
91255  cat >>confdefs.h <<_ACEOF
91256#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91257_ACEOF
91258
91259fi
91260done
91261
91262  else
91263
91264  echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91265echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91266  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91267    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91268  echo $ECHO_N "(cached) $ECHO_C" >&6
91269else
91270
91271
91272
91273      ac_ext=cc
91274ac_cpp='$CXXCPP $CPPFLAGS'
91275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91278
91279      cat >conftest.$ac_ext <<_ACEOF
91280/* confdefs.h.  */
91281_ACEOF
91282cat confdefs.h >>conftest.$ac_ext
91283cat >>conftest.$ac_ext <<_ACEOF
91284/* end confdefs.h.  */
91285#include <math.h>
91286int
91287main ()
91288{
91289 _atan2l(0, 0);
91290  ;
91291  return 0;
91292}
91293_ACEOF
91294rm -f conftest.$ac_objext
91295if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91296  (eval $ac_compile) 2>conftest.er1
91297  ac_status=$?
91298  grep -v '^ *+' conftest.er1 >conftest.err
91299  rm -f conftest.er1
91300  cat conftest.err >&5
91301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91302  (exit $ac_status); } &&
91303	 { ac_try='test -z "$ac_cxx_werror_flag"
91304			 || test ! -s conftest.err'
91305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91306  (eval $ac_try) 2>&5
91307  ac_status=$?
91308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91309  (exit $ac_status); }; } &&
91310	 { ac_try='test -s conftest.$ac_objext'
91311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91312  (eval $ac_try) 2>&5
91313  ac_status=$?
91314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91315  (exit $ac_status); }; }; then
91316  glibcxx_cv_func__atan2l_use=yes
91317else
91318  echo "$as_me: failed program was:" >&5
91319sed 's/^/| /' conftest.$ac_ext >&5
91320
91321glibcxx_cv_func__atan2l_use=no
91322fi
91323rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91324      ac_ext=c
91325ac_cpp='$CPP $CPPFLAGS'
91326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91328ac_compiler_gnu=$ac_cv_c_compiler_gnu
91329
91330
91331fi
91332
91333  fi
91334  echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91335echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91336
91337    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91338
91339for ac_func in _atan2l
91340do
91341as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91342echo "$as_me:$LINENO: checking for $ac_func" >&5
91343echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91344if eval "test \"\${$as_ac_var+set}\" = set"; then
91345  echo $ECHO_N "(cached) $ECHO_C" >&6
91346else
91347  if test x$gcc_no_link = xyes; then
91348  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91349echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91350   { (exit 1); exit 1; }; }
91351fi
91352cat >conftest.$ac_ext <<_ACEOF
91353/* confdefs.h.  */
91354_ACEOF
91355cat confdefs.h >>conftest.$ac_ext
91356cat >>conftest.$ac_ext <<_ACEOF
91357/* end confdefs.h.  */
91358/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91359   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91360#define $ac_func innocuous_$ac_func
91361
91362/* System header to define __stub macros and hopefully few prototypes,
91363    which can conflict with char $ac_func (); below.
91364    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91365    <limits.h> exists even on freestanding compilers.  */
91366
91367#ifdef __STDC__
91368# include <limits.h>
91369#else
91370# include <assert.h>
91371#endif
91372
91373#undef $ac_func
91374
91375/* Override any gcc2 internal prototype to avoid an error.  */
91376#ifdef __cplusplus
91377extern "C"
91378{
91379#endif
91380/* We use char because int might match the return type of a gcc2
91381   builtin and then its argument prototype would still apply.  */
91382char $ac_func ();
91383/* The GNU C library defines this for functions which it implements
91384    to always fail with ENOSYS.  Some functions are actually named
91385    something starting with __ and the normal name is an alias.  */
91386#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91387choke me
91388#else
91389char (*f) () = $ac_func;
91390#endif
91391#ifdef __cplusplus
91392}
91393#endif
91394
91395int
91396main ()
91397{
91398return f != $ac_func;
91399  ;
91400  return 0;
91401}
91402_ACEOF
91403rm -f conftest.$ac_objext conftest$ac_exeext
91404if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91405  (eval $ac_link) 2>conftest.er1
91406  ac_status=$?
91407  grep -v '^ *+' conftest.er1 >conftest.err
91408  rm -f conftest.er1
91409  cat conftest.err >&5
91410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91411  (exit $ac_status); } &&
91412	 { ac_try='test -z "$ac_c_werror_flag"
91413			 || test ! -s conftest.err'
91414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91415  (eval $ac_try) 2>&5
91416  ac_status=$?
91417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91418  (exit $ac_status); }; } &&
91419	 { ac_try='test -s conftest$ac_exeext'
91420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91421  (eval $ac_try) 2>&5
91422  ac_status=$?
91423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91424  (exit $ac_status); }; }; then
91425  eval "$as_ac_var=yes"
91426else
91427  echo "$as_me: failed program was:" >&5
91428sed 's/^/| /' conftest.$ac_ext >&5
91429
91430eval "$as_ac_var=no"
91431fi
91432rm -f conftest.err conftest.$ac_objext \
91433      conftest$ac_exeext conftest.$ac_ext
91434fi
91435echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91436echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91437if test `eval echo '${'$as_ac_var'}'` = yes; then
91438  cat >>confdefs.h <<_ACEOF
91439#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91440_ACEOF
91441
91442fi
91443done
91444
91445    fi
91446  fi
91447
91448
91449
91450
91451
91452
91453  echo "$as_me:$LINENO: checking for expl declaration" >&5
91454echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91455  if test x${glibcxx_cv_func_expl_use+set} != xset; then
91456    if test "${glibcxx_cv_func_expl_use+set}" = set; then
91457  echo $ECHO_N "(cached) $ECHO_C" >&6
91458else
91459
91460
91461
91462      ac_ext=cc
91463ac_cpp='$CXXCPP $CPPFLAGS'
91464ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91465ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91466ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91467
91468      cat >conftest.$ac_ext <<_ACEOF
91469/* confdefs.h.  */
91470_ACEOF
91471cat confdefs.h >>conftest.$ac_ext
91472cat >>conftest.$ac_ext <<_ACEOF
91473/* end confdefs.h.  */
91474#include <math.h>
91475		      #ifdef HAVE_IEEEFP_H
91476		      #include <ieeefp.h>
91477		      #endif
91478
91479int
91480main ()
91481{
91482 expl(0);
91483  ;
91484  return 0;
91485}
91486_ACEOF
91487rm -f conftest.$ac_objext
91488if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91489  (eval $ac_compile) 2>conftest.er1
91490  ac_status=$?
91491  grep -v '^ *+' conftest.er1 >conftest.err
91492  rm -f conftest.er1
91493  cat conftest.err >&5
91494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495  (exit $ac_status); } &&
91496	 { ac_try='test -z "$ac_cxx_werror_flag"
91497			 || test ! -s conftest.err'
91498  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91499  (eval $ac_try) 2>&5
91500  ac_status=$?
91501  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91502  (exit $ac_status); }; } &&
91503	 { ac_try='test -s conftest.$ac_objext'
91504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91505  (eval $ac_try) 2>&5
91506  ac_status=$?
91507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91508  (exit $ac_status); }; }; then
91509  glibcxx_cv_func_expl_use=yes
91510else
91511  echo "$as_me: failed program was:" >&5
91512sed 's/^/| /' conftest.$ac_ext >&5
91513
91514glibcxx_cv_func_expl_use=no
91515fi
91516rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91517      ac_ext=c
91518ac_cpp='$CPP $CPPFLAGS'
91519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91521ac_compiler_gnu=$ac_cv_c_compiler_gnu
91522
91523
91524fi
91525
91526  fi
91527  echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91528echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91529
91530  if test x$glibcxx_cv_func_expl_use = x"yes"; then
91531
91532for ac_func in expl
91533do
91534as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91535echo "$as_me:$LINENO: checking for $ac_func" >&5
91536echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91537if eval "test \"\${$as_ac_var+set}\" = set"; then
91538  echo $ECHO_N "(cached) $ECHO_C" >&6
91539else
91540  if test x$gcc_no_link = xyes; then
91541  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91542echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91543   { (exit 1); exit 1; }; }
91544fi
91545cat >conftest.$ac_ext <<_ACEOF
91546/* confdefs.h.  */
91547_ACEOF
91548cat confdefs.h >>conftest.$ac_ext
91549cat >>conftest.$ac_ext <<_ACEOF
91550/* end confdefs.h.  */
91551/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91552   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91553#define $ac_func innocuous_$ac_func
91554
91555/* System header to define __stub macros and hopefully few prototypes,
91556    which can conflict with char $ac_func (); below.
91557    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91558    <limits.h> exists even on freestanding compilers.  */
91559
91560#ifdef __STDC__
91561# include <limits.h>
91562#else
91563# include <assert.h>
91564#endif
91565
91566#undef $ac_func
91567
91568/* Override any gcc2 internal prototype to avoid an error.  */
91569#ifdef __cplusplus
91570extern "C"
91571{
91572#endif
91573/* We use char because int might match the return type of a gcc2
91574   builtin and then its argument prototype would still apply.  */
91575char $ac_func ();
91576/* The GNU C library defines this for functions which it implements
91577    to always fail with ENOSYS.  Some functions are actually named
91578    something starting with __ and the normal name is an alias.  */
91579#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91580choke me
91581#else
91582char (*f) () = $ac_func;
91583#endif
91584#ifdef __cplusplus
91585}
91586#endif
91587
91588int
91589main ()
91590{
91591return f != $ac_func;
91592  ;
91593  return 0;
91594}
91595_ACEOF
91596rm -f conftest.$ac_objext conftest$ac_exeext
91597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91598  (eval $ac_link) 2>conftest.er1
91599  ac_status=$?
91600  grep -v '^ *+' conftest.er1 >conftest.err
91601  rm -f conftest.er1
91602  cat conftest.err >&5
91603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91604  (exit $ac_status); } &&
91605	 { ac_try='test -z "$ac_c_werror_flag"
91606			 || test ! -s conftest.err'
91607  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91608  (eval $ac_try) 2>&5
91609  ac_status=$?
91610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91611  (exit $ac_status); }; } &&
91612	 { ac_try='test -s conftest$ac_exeext'
91613  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91614  (eval $ac_try) 2>&5
91615  ac_status=$?
91616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91617  (exit $ac_status); }; }; then
91618  eval "$as_ac_var=yes"
91619else
91620  echo "$as_me: failed program was:" >&5
91621sed 's/^/| /' conftest.$ac_ext >&5
91622
91623eval "$as_ac_var=no"
91624fi
91625rm -f conftest.err conftest.$ac_objext \
91626      conftest$ac_exeext conftest.$ac_ext
91627fi
91628echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91629echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91630if test `eval echo '${'$as_ac_var'}'` = yes; then
91631  cat >>confdefs.h <<_ACEOF
91632#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91633_ACEOF
91634
91635fi
91636done
91637
91638  else
91639
91640  echo "$as_me:$LINENO: checking for _expl declaration" >&5
91641echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91642  if test x${glibcxx_cv_func__expl_use+set} != xset; then
91643    if test "${glibcxx_cv_func__expl_use+set}" = set; then
91644  echo $ECHO_N "(cached) $ECHO_C" >&6
91645else
91646
91647
91648
91649      ac_ext=cc
91650ac_cpp='$CXXCPP $CPPFLAGS'
91651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91654
91655      cat >conftest.$ac_ext <<_ACEOF
91656/* confdefs.h.  */
91657_ACEOF
91658cat confdefs.h >>conftest.$ac_ext
91659cat >>conftest.$ac_ext <<_ACEOF
91660/* end confdefs.h.  */
91661#include <math.h>
91662		      #ifdef HAVE_IEEEFP_H
91663		      #include <ieeefp.h>
91664		      #endif
91665
91666int
91667main ()
91668{
91669 _expl(0);
91670  ;
91671  return 0;
91672}
91673_ACEOF
91674rm -f conftest.$ac_objext
91675if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91676  (eval $ac_compile) 2>conftest.er1
91677  ac_status=$?
91678  grep -v '^ *+' conftest.er1 >conftest.err
91679  rm -f conftest.er1
91680  cat conftest.err >&5
91681  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91682  (exit $ac_status); } &&
91683	 { ac_try='test -z "$ac_cxx_werror_flag"
91684			 || test ! -s conftest.err'
91685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91686  (eval $ac_try) 2>&5
91687  ac_status=$?
91688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91689  (exit $ac_status); }; } &&
91690	 { ac_try='test -s conftest.$ac_objext'
91691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91692  (eval $ac_try) 2>&5
91693  ac_status=$?
91694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91695  (exit $ac_status); }; }; then
91696  glibcxx_cv_func__expl_use=yes
91697else
91698  echo "$as_me: failed program was:" >&5
91699sed 's/^/| /' conftest.$ac_ext >&5
91700
91701glibcxx_cv_func__expl_use=no
91702fi
91703rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91704      ac_ext=c
91705ac_cpp='$CPP $CPPFLAGS'
91706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91708ac_compiler_gnu=$ac_cv_c_compiler_gnu
91709
91710
91711fi
91712
91713  fi
91714  echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91715echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91716
91717    if test x$glibcxx_cv_func__expl_use = x"yes"; then
91718
91719for ac_func in _expl
91720do
91721as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91722echo "$as_me:$LINENO: checking for $ac_func" >&5
91723echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91724if eval "test \"\${$as_ac_var+set}\" = set"; then
91725  echo $ECHO_N "(cached) $ECHO_C" >&6
91726else
91727  if test x$gcc_no_link = xyes; then
91728  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91729echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91730   { (exit 1); exit 1; }; }
91731fi
91732cat >conftest.$ac_ext <<_ACEOF
91733/* confdefs.h.  */
91734_ACEOF
91735cat confdefs.h >>conftest.$ac_ext
91736cat >>conftest.$ac_ext <<_ACEOF
91737/* end confdefs.h.  */
91738/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91739   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91740#define $ac_func innocuous_$ac_func
91741
91742/* System header to define __stub macros and hopefully few prototypes,
91743    which can conflict with char $ac_func (); below.
91744    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91745    <limits.h> exists even on freestanding compilers.  */
91746
91747#ifdef __STDC__
91748# include <limits.h>
91749#else
91750# include <assert.h>
91751#endif
91752
91753#undef $ac_func
91754
91755/* Override any gcc2 internal prototype to avoid an error.  */
91756#ifdef __cplusplus
91757extern "C"
91758{
91759#endif
91760/* We use char because int might match the return type of a gcc2
91761   builtin and then its argument prototype would still apply.  */
91762char $ac_func ();
91763/* The GNU C library defines this for functions which it implements
91764    to always fail with ENOSYS.  Some functions are actually named
91765    something starting with __ and the normal name is an alias.  */
91766#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91767choke me
91768#else
91769char (*f) () = $ac_func;
91770#endif
91771#ifdef __cplusplus
91772}
91773#endif
91774
91775int
91776main ()
91777{
91778return f != $ac_func;
91779  ;
91780  return 0;
91781}
91782_ACEOF
91783rm -f conftest.$ac_objext conftest$ac_exeext
91784if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91785  (eval $ac_link) 2>conftest.er1
91786  ac_status=$?
91787  grep -v '^ *+' conftest.er1 >conftest.err
91788  rm -f conftest.er1
91789  cat conftest.err >&5
91790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91791  (exit $ac_status); } &&
91792	 { ac_try='test -z "$ac_c_werror_flag"
91793			 || test ! -s conftest.err'
91794  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91795  (eval $ac_try) 2>&5
91796  ac_status=$?
91797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91798  (exit $ac_status); }; } &&
91799	 { ac_try='test -s conftest$ac_exeext'
91800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91801  (eval $ac_try) 2>&5
91802  ac_status=$?
91803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91804  (exit $ac_status); }; }; then
91805  eval "$as_ac_var=yes"
91806else
91807  echo "$as_me: failed program was:" >&5
91808sed 's/^/| /' conftest.$ac_ext >&5
91809
91810eval "$as_ac_var=no"
91811fi
91812rm -f conftest.err conftest.$ac_objext \
91813      conftest$ac_exeext conftest.$ac_ext
91814fi
91815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91816echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91817if test `eval echo '${'$as_ac_var'}'` = yes; then
91818  cat >>confdefs.h <<_ACEOF
91819#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91820_ACEOF
91821
91822fi
91823done
91824
91825    fi
91826  fi
91827
91828
91829
91830
91831
91832
91833  echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91834echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91835  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91836    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91837  echo $ECHO_N "(cached) $ECHO_C" >&6
91838else
91839
91840
91841
91842      ac_ext=cc
91843ac_cpp='$CXXCPP $CPPFLAGS'
91844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91847
91848      cat >conftest.$ac_ext <<_ACEOF
91849/* confdefs.h.  */
91850_ACEOF
91851cat confdefs.h >>conftest.$ac_ext
91852cat >>conftest.$ac_ext <<_ACEOF
91853/* end confdefs.h.  */
91854#include <math.h>
91855		      #ifdef HAVE_IEEEFP_H
91856		      #include <ieeefp.h>
91857		      #endif
91858
91859int
91860main ()
91861{
91862 fabsl(0);
91863  ;
91864  return 0;
91865}
91866_ACEOF
91867rm -f conftest.$ac_objext
91868if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91869  (eval $ac_compile) 2>conftest.er1
91870  ac_status=$?
91871  grep -v '^ *+' conftest.er1 >conftest.err
91872  rm -f conftest.er1
91873  cat conftest.err >&5
91874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91875  (exit $ac_status); } &&
91876	 { ac_try='test -z "$ac_cxx_werror_flag"
91877			 || test ! -s conftest.err'
91878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91879  (eval $ac_try) 2>&5
91880  ac_status=$?
91881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882  (exit $ac_status); }; } &&
91883	 { ac_try='test -s conftest.$ac_objext'
91884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91885  (eval $ac_try) 2>&5
91886  ac_status=$?
91887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91888  (exit $ac_status); }; }; then
91889  glibcxx_cv_func_fabsl_use=yes
91890else
91891  echo "$as_me: failed program was:" >&5
91892sed 's/^/| /' conftest.$ac_ext >&5
91893
91894glibcxx_cv_func_fabsl_use=no
91895fi
91896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91897      ac_ext=c
91898ac_cpp='$CPP $CPPFLAGS'
91899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91901ac_compiler_gnu=$ac_cv_c_compiler_gnu
91902
91903
91904fi
91905
91906  fi
91907  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91908echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91909
91910  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91911
91912for ac_func in fabsl
91913do
91914as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91915echo "$as_me:$LINENO: checking for $ac_func" >&5
91916echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91917if eval "test \"\${$as_ac_var+set}\" = set"; then
91918  echo $ECHO_N "(cached) $ECHO_C" >&6
91919else
91920  if test x$gcc_no_link = xyes; then
91921  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91922echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91923   { (exit 1); exit 1; }; }
91924fi
91925cat >conftest.$ac_ext <<_ACEOF
91926/* confdefs.h.  */
91927_ACEOF
91928cat confdefs.h >>conftest.$ac_ext
91929cat >>conftest.$ac_ext <<_ACEOF
91930/* end confdefs.h.  */
91931/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91932   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91933#define $ac_func innocuous_$ac_func
91934
91935/* System header to define __stub macros and hopefully few prototypes,
91936    which can conflict with char $ac_func (); below.
91937    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91938    <limits.h> exists even on freestanding compilers.  */
91939
91940#ifdef __STDC__
91941# include <limits.h>
91942#else
91943# include <assert.h>
91944#endif
91945
91946#undef $ac_func
91947
91948/* Override any gcc2 internal prototype to avoid an error.  */
91949#ifdef __cplusplus
91950extern "C"
91951{
91952#endif
91953/* We use char because int might match the return type of a gcc2
91954   builtin and then its argument prototype would still apply.  */
91955char $ac_func ();
91956/* The GNU C library defines this for functions which it implements
91957    to always fail with ENOSYS.  Some functions are actually named
91958    something starting with __ and the normal name is an alias.  */
91959#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91960choke me
91961#else
91962char (*f) () = $ac_func;
91963#endif
91964#ifdef __cplusplus
91965}
91966#endif
91967
91968int
91969main ()
91970{
91971return f != $ac_func;
91972  ;
91973  return 0;
91974}
91975_ACEOF
91976rm -f conftest.$ac_objext conftest$ac_exeext
91977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91978  (eval $ac_link) 2>conftest.er1
91979  ac_status=$?
91980  grep -v '^ *+' conftest.er1 >conftest.err
91981  rm -f conftest.er1
91982  cat conftest.err >&5
91983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91984  (exit $ac_status); } &&
91985	 { ac_try='test -z "$ac_c_werror_flag"
91986			 || test ! -s conftest.err'
91987  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91988  (eval $ac_try) 2>&5
91989  ac_status=$?
91990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91991  (exit $ac_status); }; } &&
91992	 { ac_try='test -s conftest$ac_exeext'
91993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91994  (eval $ac_try) 2>&5
91995  ac_status=$?
91996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91997  (exit $ac_status); }; }; then
91998  eval "$as_ac_var=yes"
91999else
92000  echo "$as_me: failed program was:" >&5
92001sed 's/^/| /' conftest.$ac_ext >&5
92002
92003eval "$as_ac_var=no"
92004fi
92005rm -f conftest.err conftest.$ac_objext \
92006      conftest$ac_exeext conftest.$ac_ext
92007fi
92008echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92009echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92010if test `eval echo '${'$as_ac_var'}'` = yes; then
92011  cat >>confdefs.h <<_ACEOF
92012#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92013_ACEOF
92014
92015fi
92016done
92017
92018  else
92019
92020  echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
92021echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
92022  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
92023    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
92024  echo $ECHO_N "(cached) $ECHO_C" >&6
92025else
92026
92027
92028
92029      ac_ext=cc
92030ac_cpp='$CXXCPP $CPPFLAGS'
92031ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92032ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92033ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92034
92035      cat >conftest.$ac_ext <<_ACEOF
92036/* confdefs.h.  */
92037_ACEOF
92038cat confdefs.h >>conftest.$ac_ext
92039cat >>conftest.$ac_ext <<_ACEOF
92040/* end confdefs.h.  */
92041#include <math.h>
92042		      #ifdef HAVE_IEEEFP_H
92043		      #include <ieeefp.h>
92044		      #endif
92045
92046int
92047main ()
92048{
92049 _fabsl(0);
92050  ;
92051  return 0;
92052}
92053_ACEOF
92054rm -f conftest.$ac_objext
92055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92056  (eval $ac_compile) 2>conftest.er1
92057  ac_status=$?
92058  grep -v '^ *+' conftest.er1 >conftest.err
92059  rm -f conftest.er1
92060  cat conftest.err >&5
92061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062  (exit $ac_status); } &&
92063	 { ac_try='test -z "$ac_cxx_werror_flag"
92064			 || test ! -s conftest.err'
92065  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066  (eval $ac_try) 2>&5
92067  ac_status=$?
92068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069  (exit $ac_status); }; } &&
92070	 { ac_try='test -s conftest.$ac_objext'
92071  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92072  (eval $ac_try) 2>&5
92073  ac_status=$?
92074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92075  (exit $ac_status); }; }; then
92076  glibcxx_cv_func__fabsl_use=yes
92077else
92078  echo "$as_me: failed program was:" >&5
92079sed 's/^/| /' conftest.$ac_ext >&5
92080
92081glibcxx_cv_func__fabsl_use=no
92082fi
92083rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92084      ac_ext=c
92085ac_cpp='$CPP $CPPFLAGS'
92086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92088ac_compiler_gnu=$ac_cv_c_compiler_gnu
92089
92090
92091fi
92092
92093  fi
92094  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
92095echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
92096
92097    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
92098
92099for ac_func in _fabsl
92100do
92101as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92102echo "$as_me:$LINENO: checking for $ac_func" >&5
92103echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92104if eval "test \"\${$as_ac_var+set}\" = set"; then
92105  echo $ECHO_N "(cached) $ECHO_C" >&6
92106else
92107  if test x$gcc_no_link = xyes; then
92108  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92109echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92110   { (exit 1); exit 1; }; }
92111fi
92112cat >conftest.$ac_ext <<_ACEOF
92113/* confdefs.h.  */
92114_ACEOF
92115cat confdefs.h >>conftest.$ac_ext
92116cat >>conftest.$ac_ext <<_ACEOF
92117/* end confdefs.h.  */
92118/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92119   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92120#define $ac_func innocuous_$ac_func
92121
92122/* System header to define __stub macros and hopefully few prototypes,
92123    which can conflict with char $ac_func (); below.
92124    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92125    <limits.h> exists even on freestanding compilers.  */
92126
92127#ifdef __STDC__
92128# include <limits.h>
92129#else
92130# include <assert.h>
92131#endif
92132
92133#undef $ac_func
92134
92135/* Override any gcc2 internal prototype to avoid an error.  */
92136#ifdef __cplusplus
92137extern "C"
92138{
92139#endif
92140/* We use char because int might match the return type of a gcc2
92141   builtin and then its argument prototype would still apply.  */
92142char $ac_func ();
92143/* The GNU C library defines this for functions which it implements
92144    to always fail with ENOSYS.  Some functions are actually named
92145    something starting with __ and the normal name is an alias.  */
92146#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92147choke me
92148#else
92149char (*f) () = $ac_func;
92150#endif
92151#ifdef __cplusplus
92152}
92153#endif
92154
92155int
92156main ()
92157{
92158return f != $ac_func;
92159  ;
92160  return 0;
92161}
92162_ACEOF
92163rm -f conftest.$ac_objext conftest$ac_exeext
92164if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92165  (eval $ac_link) 2>conftest.er1
92166  ac_status=$?
92167  grep -v '^ *+' conftest.er1 >conftest.err
92168  rm -f conftest.er1
92169  cat conftest.err >&5
92170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92171  (exit $ac_status); } &&
92172	 { ac_try='test -z "$ac_c_werror_flag"
92173			 || test ! -s conftest.err'
92174  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92175  (eval $ac_try) 2>&5
92176  ac_status=$?
92177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92178  (exit $ac_status); }; } &&
92179	 { ac_try='test -s conftest$ac_exeext'
92180  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92181  (eval $ac_try) 2>&5
92182  ac_status=$?
92183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92184  (exit $ac_status); }; }; then
92185  eval "$as_ac_var=yes"
92186else
92187  echo "$as_me: failed program was:" >&5
92188sed 's/^/| /' conftest.$ac_ext >&5
92189
92190eval "$as_ac_var=no"
92191fi
92192rm -f conftest.err conftest.$ac_objext \
92193      conftest$ac_exeext conftest.$ac_ext
92194fi
92195echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92196echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92197if test `eval echo '${'$as_ac_var'}'` = yes; then
92198  cat >>confdefs.h <<_ACEOF
92199#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92200_ACEOF
92201
92202fi
92203done
92204
92205    fi
92206  fi
92207
92208
92209
92210
92211
92212
92213  echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92214echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92215  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92216    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92217  echo $ECHO_N "(cached) $ECHO_C" >&6
92218else
92219
92220
92221
92222      ac_ext=cc
92223ac_cpp='$CXXCPP $CPPFLAGS'
92224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92227
92228      cat >conftest.$ac_ext <<_ACEOF
92229/* confdefs.h.  */
92230_ACEOF
92231cat confdefs.h >>conftest.$ac_ext
92232cat >>conftest.$ac_ext <<_ACEOF
92233/* end confdefs.h.  */
92234#include <math.h>
92235int
92236main ()
92237{
92238 fmodl(0, 0);
92239  ;
92240  return 0;
92241}
92242_ACEOF
92243rm -f conftest.$ac_objext
92244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92245  (eval $ac_compile) 2>conftest.er1
92246  ac_status=$?
92247  grep -v '^ *+' conftest.er1 >conftest.err
92248  rm -f conftest.er1
92249  cat conftest.err >&5
92250  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251  (exit $ac_status); } &&
92252	 { ac_try='test -z "$ac_cxx_werror_flag"
92253			 || test ! -s conftest.err'
92254  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92255  (eval $ac_try) 2>&5
92256  ac_status=$?
92257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92258  (exit $ac_status); }; } &&
92259	 { ac_try='test -s conftest.$ac_objext'
92260  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92261  (eval $ac_try) 2>&5
92262  ac_status=$?
92263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92264  (exit $ac_status); }; }; then
92265  glibcxx_cv_func_fmodl_use=yes
92266else
92267  echo "$as_me: failed program was:" >&5
92268sed 's/^/| /' conftest.$ac_ext >&5
92269
92270glibcxx_cv_func_fmodl_use=no
92271fi
92272rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92273      ac_ext=c
92274ac_cpp='$CPP $CPPFLAGS'
92275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92277ac_compiler_gnu=$ac_cv_c_compiler_gnu
92278
92279
92280fi
92281
92282  fi
92283  echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92284echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92285
92286  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92287
92288for ac_func in fmodl
92289do
92290as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92291echo "$as_me:$LINENO: checking for $ac_func" >&5
92292echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92293if eval "test \"\${$as_ac_var+set}\" = set"; then
92294  echo $ECHO_N "(cached) $ECHO_C" >&6
92295else
92296  if test x$gcc_no_link = xyes; then
92297  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92298echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92299   { (exit 1); exit 1; }; }
92300fi
92301cat >conftest.$ac_ext <<_ACEOF
92302/* confdefs.h.  */
92303_ACEOF
92304cat confdefs.h >>conftest.$ac_ext
92305cat >>conftest.$ac_ext <<_ACEOF
92306/* end confdefs.h.  */
92307/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92308   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92309#define $ac_func innocuous_$ac_func
92310
92311/* System header to define __stub macros and hopefully few prototypes,
92312    which can conflict with char $ac_func (); below.
92313    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92314    <limits.h> exists even on freestanding compilers.  */
92315
92316#ifdef __STDC__
92317# include <limits.h>
92318#else
92319# include <assert.h>
92320#endif
92321
92322#undef $ac_func
92323
92324/* Override any gcc2 internal prototype to avoid an error.  */
92325#ifdef __cplusplus
92326extern "C"
92327{
92328#endif
92329/* We use char because int might match the return type of a gcc2
92330   builtin and then its argument prototype would still apply.  */
92331char $ac_func ();
92332/* The GNU C library defines this for functions which it implements
92333    to always fail with ENOSYS.  Some functions are actually named
92334    something starting with __ and the normal name is an alias.  */
92335#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92336choke me
92337#else
92338char (*f) () = $ac_func;
92339#endif
92340#ifdef __cplusplus
92341}
92342#endif
92343
92344int
92345main ()
92346{
92347return f != $ac_func;
92348  ;
92349  return 0;
92350}
92351_ACEOF
92352rm -f conftest.$ac_objext conftest$ac_exeext
92353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92354  (eval $ac_link) 2>conftest.er1
92355  ac_status=$?
92356  grep -v '^ *+' conftest.er1 >conftest.err
92357  rm -f conftest.er1
92358  cat conftest.err >&5
92359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92360  (exit $ac_status); } &&
92361	 { ac_try='test -z "$ac_c_werror_flag"
92362			 || test ! -s conftest.err'
92363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92364  (eval $ac_try) 2>&5
92365  ac_status=$?
92366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92367  (exit $ac_status); }; } &&
92368	 { ac_try='test -s conftest$ac_exeext'
92369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92370  (eval $ac_try) 2>&5
92371  ac_status=$?
92372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92373  (exit $ac_status); }; }; then
92374  eval "$as_ac_var=yes"
92375else
92376  echo "$as_me: failed program was:" >&5
92377sed 's/^/| /' conftest.$ac_ext >&5
92378
92379eval "$as_ac_var=no"
92380fi
92381rm -f conftest.err conftest.$ac_objext \
92382      conftest$ac_exeext conftest.$ac_ext
92383fi
92384echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92385echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92386if test `eval echo '${'$as_ac_var'}'` = yes; then
92387  cat >>confdefs.h <<_ACEOF
92388#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92389_ACEOF
92390
92391fi
92392done
92393
92394  else
92395
92396  echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92397echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92398  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92399    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92400  echo $ECHO_N "(cached) $ECHO_C" >&6
92401else
92402
92403
92404
92405      ac_ext=cc
92406ac_cpp='$CXXCPP $CPPFLAGS'
92407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92410
92411      cat >conftest.$ac_ext <<_ACEOF
92412/* confdefs.h.  */
92413_ACEOF
92414cat confdefs.h >>conftest.$ac_ext
92415cat >>conftest.$ac_ext <<_ACEOF
92416/* end confdefs.h.  */
92417#include <math.h>
92418int
92419main ()
92420{
92421 _fmodl(0, 0);
92422  ;
92423  return 0;
92424}
92425_ACEOF
92426rm -f conftest.$ac_objext
92427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92428  (eval $ac_compile) 2>conftest.er1
92429  ac_status=$?
92430  grep -v '^ *+' conftest.er1 >conftest.err
92431  rm -f conftest.er1
92432  cat conftest.err >&5
92433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92434  (exit $ac_status); } &&
92435	 { ac_try='test -z "$ac_cxx_werror_flag"
92436			 || test ! -s conftest.err'
92437  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92438  (eval $ac_try) 2>&5
92439  ac_status=$?
92440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92441  (exit $ac_status); }; } &&
92442	 { ac_try='test -s conftest.$ac_objext'
92443  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92444  (eval $ac_try) 2>&5
92445  ac_status=$?
92446  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92447  (exit $ac_status); }; }; then
92448  glibcxx_cv_func__fmodl_use=yes
92449else
92450  echo "$as_me: failed program was:" >&5
92451sed 's/^/| /' conftest.$ac_ext >&5
92452
92453glibcxx_cv_func__fmodl_use=no
92454fi
92455rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92456      ac_ext=c
92457ac_cpp='$CPP $CPPFLAGS'
92458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92460ac_compiler_gnu=$ac_cv_c_compiler_gnu
92461
92462
92463fi
92464
92465  fi
92466  echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92467echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92468
92469    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92470
92471for ac_func in _fmodl
92472do
92473as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92474echo "$as_me:$LINENO: checking for $ac_func" >&5
92475echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92476if eval "test \"\${$as_ac_var+set}\" = set"; then
92477  echo $ECHO_N "(cached) $ECHO_C" >&6
92478else
92479  if test x$gcc_no_link = xyes; then
92480  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92481echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92482   { (exit 1); exit 1; }; }
92483fi
92484cat >conftest.$ac_ext <<_ACEOF
92485/* confdefs.h.  */
92486_ACEOF
92487cat confdefs.h >>conftest.$ac_ext
92488cat >>conftest.$ac_ext <<_ACEOF
92489/* end confdefs.h.  */
92490/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92491   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92492#define $ac_func innocuous_$ac_func
92493
92494/* System header to define __stub macros and hopefully few prototypes,
92495    which can conflict with char $ac_func (); below.
92496    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92497    <limits.h> exists even on freestanding compilers.  */
92498
92499#ifdef __STDC__
92500# include <limits.h>
92501#else
92502# include <assert.h>
92503#endif
92504
92505#undef $ac_func
92506
92507/* Override any gcc2 internal prototype to avoid an error.  */
92508#ifdef __cplusplus
92509extern "C"
92510{
92511#endif
92512/* We use char because int might match the return type of a gcc2
92513   builtin and then its argument prototype would still apply.  */
92514char $ac_func ();
92515/* The GNU C library defines this for functions which it implements
92516    to always fail with ENOSYS.  Some functions are actually named
92517    something starting with __ and the normal name is an alias.  */
92518#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92519choke me
92520#else
92521char (*f) () = $ac_func;
92522#endif
92523#ifdef __cplusplus
92524}
92525#endif
92526
92527int
92528main ()
92529{
92530return f != $ac_func;
92531  ;
92532  return 0;
92533}
92534_ACEOF
92535rm -f conftest.$ac_objext conftest$ac_exeext
92536if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92537  (eval $ac_link) 2>conftest.er1
92538  ac_status=$?
92539  grep -v '^ *+' conftest.er1 >conftest.err
92540  rm -f conftest.er1
92541  cat conftest.err >&5
92542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543  (exit $ac_status); } &&
92544	 { ac_try='test -z "$ac_c_werror_flag"
92545			 || test ! -s conftest.err'
92546  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92547  (eval $ac_try) 2>&5
92548  ac_status=$?
92549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92550  (exit $ac_status); }; } &&
92551	 { ac_try='test -s conftest$ac_exeext'
92552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92553  (eval $ac_try) 2>&5
92554  ac_status=$?
92555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92556  (exit $ac_status); }; }; then
92557  eval "$as_ac_var=yes"
92558else
92559  echo "$as_me: failed program was:" >&5
92560sed 's/^/| /' conftest.$ac_ext >&5
92561
92562eval "$as_ac_var=no"
92563fi
92564rm -f conftest.err conftest.$ac_objext \
92565      conftest$ac_exeext conftest.$ac_ext
92566fi
92567echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92568echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92569if test `eval echo '${'$as_ac_var'}'` = yes; then
92570  cat >>confdefs.h <<_ACEOF
92571#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92572_ACEOF
92573
92574fi
92575done
92576
92577    fi
92578  fi
92579
92580
92581
92582
92583
92584
92585  echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92586echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92587  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92588    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92589  echo $ECHO_N "(cached) $ECHO_C" >&6
92590else
92591
92592
92593
92594      ac_ext=cc
92595ac_cpp='$CXXCPP $CPPFLAGS'
92596ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92597ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92598ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92599
92600      cat >conftest.$ac_ext <<_ACEOF
92601/* confdefs.h.  */
92602_ACEOF
92603cat confdefs.h >>conftest.$ac_ext
92604cat >>conftest.$ac_ext <<_ACEOF
92605/* end confdefs.h.  */
92606#include <math.h>
92607int
92608main ()
92609{
92610 frexpl(0, 0);
92611  ;
92612  return 0;
92613}
92614_ACEOF
92615rm -f conftest.$ac_objext
92616if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92617  (eval $ac_compile) 2>conftest.er1
92618  ac_status=$?
92619  grep -v '^ *+' conftest.er1 >conftest.err
92620  rm -f conftest.er1
92621  cat conftest.err >&5
92622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92623  (exit $ac_status); } &&
92624	 { ac_try='test -z "$ac_cxx_werror_flag"
92625			 || test ! -s conftest.err'
92626  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92627  (eval $ac_try) 2>&5
92628  ac_status=$?
92629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92630  (exit $ac_status); }; } &&
92631	 { ac_try='test -s conftest.$ac_objext'
92632  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92633  (eval $ac_try) 2>&5
92634  ac_status=$?
92635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92636  (exit $ac_status); }; }; then
92637  glibcxx_cv_func_frexpl_use=yes
92638else
92639  echo "$as_me: failed program was:" >&5
92640sed 's/^/| /' conftest.$ac_ext >&5
92641
92642glibcxx_cv_func_frexpl_use=no
92643fi
92644rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92645      ac_ext=c
92646ac_cpp='$CPP $CPPFLAGS'
92647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92649ac_compiler_gnu=$ac_cv_c_compiler_gnu
92650
92651
92652fi
92653
92654  fi
92655  echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92656echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92657
92658  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92659
92660for ac_func in frexpl
92661do
92662as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92663echo "$as_me:$LINENO: checking for $ac_func" >&5
92664echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92665if eval "test \"\${$as_ac_var+set}\" = set"; then
92666  echo $ECHO_N "(cached) $ECHO_C" >&6
92667else
92668  if test x$gcc_no_link = xyes; then
92669  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92670echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92671   { (exit 1); exit 1; }; }
92672fi
92673cat >conftest.$ac_ext <<_ACEOF
92674/* confdefs.h.  */
92675_ACEOF
92676cat confdefs.h >>conftest.$ac_ext
92677cat >>conftest.$ac_ext <<_ACEOF
92678/* end confdefs.h.  */
92679/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92680   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92681#define $ac_func innocuous_$ac_func
92682
92683/* System header to define __stub macros and hopefully few prototypes,
92684    which can conflict with char $ac_func (); below.
92685    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92686    <limits.h> exists even on freestanding compilers.  */
92687
92688#ifdef __STDC__
92689# include <limits.h>
92690#else
92691# include <assert.h>
92692#endif
92693
92694#undef $ac_func
92695
92696/* Override any gcc2 internal prototype to avoid an error.  */
92697#ifdef __cplusplus
92698extern "C"
92699{
92700#endif
92701/* We use char because int might match the return type of a gcc2
92702   builtin and then its argument prototype would still apply.  */
92703char $ac_func ();
92704/* The GNU C library defines this for functions which it implements
92705    to always fail with ENOSYS.  Some functions are actually named
92706    something starting with __ and the normal name is an alias.  */
92707#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92708choke me
92709#else
92710char (*f) () = $ac_func;
92711#endif
92712#ifdef __cplusplus
92713}
92714#endif
92715
92716int
92717main ()
92718{
92719return f != $ac_func;
92720  ;
92721  return 0;
92722}
92723_ACEOF
92724rm -f conftest.$ac_objext conftest$ac_exeext
92725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92726  (eval $ac_link) 2>conftest.er1
92727  ac_status=$?
92728  grep -v '^ *+' conftest.er1 >conftest.err
92729  rm -f conftest.er1
92730  cat conftest.err >&5
92731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92732  (exit $ac_status); } &&
92733	 { ac_try='test -z "$ac_c_werror_flag"
92734			 || test ! -s conftest.err'
92735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92736  (eval $ac_try) 2>&5
92737  ac_status=$?
92738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92739  (exit $ac_status); }; } &&
92740	 { ac_try='test -s conftest$ac_exeext'
92741  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92742  (eval $ac_try) 2>&5
92743  ac_status=$?
92744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92745  (exit $ac_status); }; }; then
92746  eval "$as_ac_var=yes"
92747else
92748  echo "$as_me: failed program was:" >&5
92749sed 's/^/| /' conftest.$ac_ext >&5
92750
92751eval "$as_ac_var=no"
92752fi
92753rm -f conftest.err conftest.$ac_objext \
92754      conftest$ac_exeext conftest.$ac_ext
92755fi
92756echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92757echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92758if test `eval echo '${'$as_ac_var'}'` = yes; then
92759  cat >>confdefs.h <<_ACEOF
92760#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92761_ACEOF
92762
92763fi
92764done
92765
92766  else
92767
92768  echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92769echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92770  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92771    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92772  echo $ECHO_N "(cached) $ECHO_C" >&6
92773else
92774
92775
92776
92777      ac_ext=cc
92778ac_cpp='$CXXCPP $CPPFLAGS'
92779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92782
92783      cat >conftest.$ac_ext <<_ACEOF
92784/* confdefs.h.  */
92785_ACEOF
92786cat confdefs.h >>conftest.$ac_ext
92787cat >>conftest.$ac_ext <<_ACEOF
92788/* end confdefs.h.  */
92789#include <math.h>
92790int
92791main ()
92792{
92793 _frexpl(0, 0);
92794  ;
92795  return 0;
92796}
92797_ACEOF
92798rm -f conftest.$ac_objext
92799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92800  (eval $ac_compile) 2>conftest.er1
92801  ac_status=$?
92802  grep -v '^ *+' conftest.er1 >conftest.err
92803  rm -f conftest.er1
92804  cat conftest.err >&5
92805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92806  (exit $ac_status); } &&
92807	 { ac_try='test -z "$ac_cxx_werror_flag"
92808			 || test ! -s conftest.err'
92809  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92810  (eval $ac_try) 2>&5
92811  ac_status=$?
92812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92813  (exit $ac_status); }; } &&
92814	 { ac_try='test -s conftest.$ac_objext'
92815  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92816  (eval $ac_try) 2>&5
92817  ac_status=$?
92818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92819  (exit $ac_status); }; }; then
92820  glibcxx_cv_func__frexpl_use=yes
92821else
92822  echo "$as_me: failed program was:" >&5
92823sed 's/^/| /' conftest.$ac_ext >&5
92824
92825glibcxx_cv_func__frexpl_use=no
92826fi
92827rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92828      ac_ext=c
92829ac_cpp='$CPP $CPPFLAGS'
92830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92832ac_compiler_gnu=$ac_cv_c_compiler_gnu
92833
92834
92835fi
92836
92837  fi
92838  echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92839echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92840
92841    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92842
92843for ac_func in _frexpl
92844do
92845as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92846echo "$as_me:$LINENO: checking for $ac_func" >&5
92847echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92848if eval "test \"\${$as_ac_var+set}\" = set"; then
92849  echo $ECHO_N "(cached) $ECHO_C" >&6
92850else
92851  if test x$gcc_no_link = xyes; then
92852  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92853echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92854   { (exit 1); exit 1; }; }
92855fi
92856cat >conftest.$ac_ext <<_ACEOF
92857/* confdefs.h.  */
92858_ACEOF
92859cat confdefs.h >>conftest.$ac_ext
92860cat >>conftest.$ac_ext <<_ACEOF
92861/* end confdefs.h.  */
92862/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92863   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92864#define $ac_func innocuous_$ac_func
92865
92866/* System header to define __stub macros and hopefully few prototypes,
92867    which can conflict with char $ac_func (); below.
92868    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92869    <limits.h> exists even on freestanding compilers.  */
92870
92871#ifdef __STDC__
92872# include <limits.h>
92873#else
92874# include <assert.h>
92875#endif
92876
92877#undef $ac_func
92878
92879/* Override any gcc2 internal prototype to avoid an error.  */
92880#ifdef __cplusplus
92881extern "C"
92882{
92883#endif
92884/* We use char because int might match the return type of a gcc2
92885   builtin and then its argument prototype would still apply.  */
92886char $ac_func ();
92887/* The GNU C library defines this for functions which it implements
92888    to always fail with ENOSYS.  Some functions are actually named
92889    something starting with __ and the normal name is an alias.  */
92890#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92891choke me
92892#else
92893char (*f) () = $ac_func;
92894#endif
92895#ifdef __cplusplus
92896}
92897#endif
92898
92899int
92900main ()
92901{
92902return f != $ac_func;
92903  ;
92904  return 0;
92905}
92906_ACEOF
92907rm -f conftest.$ac_objext conftest$ac_exeext
92908if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92909  (eval $ac_link) 2>conftest.er1
92910  ac_status=$?
92911  grep -v '^ *+' conftest.er1 >conftest.err
92912  rm -f conftest.er1
92913  cat conftest.err >&5
92914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915  (exit $ac_status); } &&
92916	 { ac_try='test -z "$ac_c_werror_flag"
92917			 || test ! -s conftest.err'
92918  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92919  (eval $ac_try) 2>&5
92920  ac_status=$?
92921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92922  (exit $ac_status); }; } &&
92923	 { ac_try='test -s conftest$ac_exeext'
92924  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92925  (eval $ac_try) 2>&5
92926  ac_status=$?
92927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92928  (exit $ac_status); }; }; then
92929  eval "$as_ac_var=yes"
92930else
92931  echo "$as_me: failed program was:" >&5
92932sed 's/^/| /' conftest.$ac_ext >&5
92933
92934eval "$as_ac_var=no"
92935fi
92936rm -f conftest.err conftest.$ac_objext \
92937      conftest$ac_exeext conftest.$ac_ext
92938fi
92939echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92940echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92941if test `eval echo '${'$as_ac_var'}'` = yes; then
92942  cat >>confdefs.h <<_ACEOF
92943#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92944_ACEOF
92945
92946fi
92947done
92948
92949    fi
92950  fi
92951
92952
92953
92954
92955
92956
92957  echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92958echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92959  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92960    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92961  echo $ECHO_N "(cached) $ECHO_C" >&6
92962else
92963
92964
92965
92966      ac_ext=cc
92967ac_cpp='$CXXCPP $CPPFLAGS'
92968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92971
92972      cat >conftest.$ac_ext <<_ACEOF
92973/* confdefs.h.  */
92974_ACEOF
92975cat confdefs.h >>conftest.$ac_ext
92976cat >>conftest.$ac_ext <<_ACEOF
92977/* end confdefs.h.  */
92978#include <math.h>
92979int
92980main ()
92981{
92982 hypotl(0, 0);
92983  ;
92984  return 0;
92985}
92986_ACEOF
92987rm -f conftest.$ac_objext
92988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92989  (eval $ac_compile) 2>conftest.er1
92990  ac_status=$?
92991  grep -v '^ *+' conftest.er1 >conftest.err
92992  rm -f conftest.er1
92993  cat conftest.err >&5
92994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
92995  (exit $ac_status); } &&
92996	 { ac_try='test -z "$ac_cxx_werror_flag"
92997			 || test ! -s conftest.err'
92998  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92999  (eval $ac_try) 2>&5
93000  ac_status=$?
93001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93002  (exit $ac_status); }; } &&
93003	 { ac_try='test -s conftest.$ac_objext'
93004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93005  (eval $ac_try) 2>&5
93006  ac_status=$?
93007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93008  (exit $ac_status); }; }; then
93009  glibcxx_cv_func_hypotl_use=yes
93010else
93011  echo "$as_me: failed program was:" >&5
93012sed 's/^/| /' conftest.$ac_ext >&5
93013
93014glibcxx_cv_func_hypotl_use=no
93015fi
93016rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93017      ac_ext=c
93018ac_cpp='$CPP $CPPFLAGS'
93019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93021ac_compiler_gnu=$ac_cv_c_compiler_gnu
93022
93023
93024fi
93025
93026  fi
93027  echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
93028echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
93029
93030  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
93031
93032for ac_func in hypotl
93033do
93034as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93035echo "$as_me:$LINENO: checking for $ac_func" >&5
93036echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93037if eval "test \"\${$as_ac_var+set}\" = set"; then
93038  echo $ECHO_N "(cached) $ECHO_C" >&6
93039else
93040  if test x$gcc_no_link = xyes; then
93041  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93042echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93043   { (exit 1); exit 1; }; }
93044fi
93045cat >conftest.$ac_ext <<_ACEOF
93046/* confdefs.h.  */
93047_ACEOF
93048cat confdefs.h >>conftest.$ac_ext
93049cat >>conftest.$ac_ext <<_ACEOF
93050/* end confdefs.h.  */
93051/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93052   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93053#define $ac_func innocuous_$ac_func
93054
93055/* System header to define __stub macros and hopefully few prototypes,
93056    which can conflict with char $ac_func (); below.
93057    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93058    <limits.h> exists even on freestanding compilers.  */
93059
93060#ifdef __STDC__
93061# include <limits.h>
93062#else
93063# include <assert.h>
93064#endif
93065
93066#undef $ac_func
93067
93068/* Override any gcc2 internal prototype to avoid an error.  */
93069#ifdef __cplusplus
93070extern "C"
93071{
93072#endif
93073/* We use char because int might match the return type of a gcc2
93074   builtin and then its argument prototype would still apply.  */
93075char $ac_func ();
93076/* The GNU C library defines this for functions which it implements
93077    to always fail with ENOSYS.  Some functions are actually named
93078    something starting with __ and the normal name is an alias.  */
93079#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93080choke me
93081#else
93082char (*f) () = $ac_func;
93083#endif
93084#ifdef __cplusplus
93085}
93086#endif
93087
93088int
93089main ()
93090{
93091return f != $ac_func;
93092  ;
93093  return 0;
93094}
93095_ACEOF
93096rm -f conftest.$ac_objext conftest$ac_exeext
93097if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93098  (eval $ac_link) 2>conftest.er1
93099  ac_status=$?
93100  grep -v '^ *+' conftest.er1 >conftest.err
93101  rm -f conftest.er1
93102  cat conftest.err >&5
93103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93104  (exit $ac_status); } &&
93105	 { ac_try='test -z "$ac_c_werror_flag"
93106			 || test ! -s conftest.err'
93107  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93108  (eval $ac_try) 2>&5
93109  ac_status=$?
93110  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93111  (exit $ac_status); }; } &&
93112	 { ac_try='test -s conftest$ac_exeext'
93113  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93114  (eval $ac_try) 2>&5
93115  ac_status=$?
93116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93117  (exit $ac_status); }; }; then
93118  eval "$as_ac_var=yes"
93119else
93120  echo "$as_me: failed program was:" >&5
93121sed 's/^/| /' conftest.$ac_ext >&5
93122
93123eval "$as_ac_var=no"
93124fi
93125rm -f conftest.err conftest.$ac_objext \
93126      conftest$ac_exeext conftest.$ac_ext
93127fi
93128echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93129echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93130if test `eval echo '${'$as_ac_var'}'` = yes; then
93131  cat >>confdefs.h <<_ACEOF
93132#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93133_ACEOF
93134
93135fi
93136done
93137
93138  else
93139
93140  echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
93141echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
93142  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
93143    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
93144  echo $ECHO_N "(cached) $ECHO_C" >&6
93145else
93146
93147
93148
93149      ac_ext=cc
93150ac_cpp='$CXXCPP $CPPFLAGS'
93151ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93152ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93153ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93154
93155      cat >conftest.$ac_ext <<_ACEOF
93156/* confdefs.h.  */
93157_ACEOF
93158cat confdefs.h >>conftest.$ac_ext
93159cat >>conftest.$ac_ext <<_ACEOF
93160/* end confdefs.h.  */
93161#include <math.h>
93162int
93163main ()
93164{
93165 _hypotl(0, 0);
93166  ;
93167  return 0;
93168}
93169_ACEOF
93170rm -f conftest.$ac_objext
93171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93172  (eval $ac_compile) 2>conftest.er1
93173  ac_status=$?
93174  grep -v '^ *+' conftest.er1 >conftest.err
93175  rm -f conftest.er1
93176  cat conftest.err >&5
93177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93178  (exit $ac_status); } &&
93179	 { ac_try='test -z "$ac_cxx_werror_flag"
93180			 || test ! -s conftest.err'
93181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93182  (eval $ac_try) 2>&5
93183  ac_status=$?
93184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93185  (exit $ac_status); }; } &&
93186	 { ac_try='test -s conftest.$ac_objext'
93187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93188  (eval $ac_try) 2>&5
93189  ac_status=$?
93190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93191  (exit $ac_status); }; }; then
93192  glibcxx_cv_func__hypotl_use=yes
93193else
93194  echo "$as_me: failed program was:" >&5
93195sed 's/^/| /' conftest.$ac_ext >&5
93196
93197glibcxx_cv_func__hypotl_use=no
93198fi
93199rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93200      ac_ext=c
93201ac_cpp='$CPP $CPPFLAGS'
93202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93204ac_compiler_gnu=$ac_cv_c_compiler_gnu
93205
93206
93207fi
93208
93209  fi
93210  echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93211echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93212
93213    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93214
93215for ac_func in _hypotl
93216do
93217as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93218echo "$as_me:$LINENO: checking for $ac_func" >&5
93219echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93220if eval "test \"\${$as_ac_var+set}\" = set"; then
93221  echo $ECHO_N "(cached) $ECHO_C" >&6
93222else
93223  if test x$gcc_no_link = xyes; then
93224  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93225echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93226   { (exit 1); exit 1; }; }
93227fi
93228cat >conftest.$ac_ext <<_ACEOF
93229/* confdefs.h.  */
93230_ACEOF
93231cat confdefs.h >>conftest.$ac_ext
93232cat >>conftest.$ac_ext <<_ACEOF
93233/* end confdefs.h.  */
93234/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93235   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93236#define $ac_func innocuous_$ac_func
93237
93238/* System header to define __stub macros and hopefully few prototypes,
93239    which can conflict with char $ac_func (); below.
93240    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93241    <limits.h> exists even on freestanding compilers.  */
93242
93243#ifdef __STDC__
93244# include <limits.h>
93245#else
93246# include <assert.h>
93247#endif
93248
93249#undef $ac_func
93250
93251/* Override any gcc2 internal prototype to avoid an error.  */
93252#ifdef __cplusplus
93253extern "C"
93254{
93255#endif
93256/* We use char because int might match the return type of a gcc2
93257   builtin and then its argument prototype would still apply.  */
93258char $ac_func ();
93259/* The GNU C library defines this for functions which it implements
93260    to always fail with ENOSYS.  Some functions are actually named
93261    something starting with __ and the normal name is an alias.  */
93262#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93263choke me
93264#else
93265char (*f) () = $ac_func;
93266#endif
93267#ifdef __cplusplus
93268}
93269#endif
93270
93271int
93272main ()
93273{
93274return f != $ac_func;
93275  ;
93276  return 0;
93277}
93278_ACEOF
93279rm -f conftest.$ac_objext conftest$ac_exeext
93280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93281  (eval $ac_link) 2>conftest.er1
93282  ac_status=$?
93283  grep -v '^ *+' conftest.er1 >conftest.err
93284  rm -f conftest.er1
93285  cat conftest.err >&5
93286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93287  (exit $ac_status); } &&
93288	 { ac_try='test -z "$ac_c_werror_flag"
93289			 || test ! -s conftest.err'
93290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93291  (eval $ac_try) 2>&5
93292  ac_status=$?
93293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93294  (exit $ac_status); }; } &&
93295	 { ac_try='test -s conftest$ac_exeext'
93296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93297  (eval $ac_try) 2>&5
93298  ac_status=$?
93299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93300  (exit $ac_status); }; }; then
93301  eval "$as_ac_var=yes"
93302else
93303  echo "$as_me: failed program was:" >&5
93304sed 's/^/| /' conftest.$ac_ext >&5
93305
93306eval "$as_ac_var=no"
93307fi
93308rm -f conftest.err conftest.$ac_objext \
93309      conftest$ac_exeext conftest.$ac_ext
93310fi
93311echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93312echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93313if test `eval echo '${'$as_ac_var'}'` = yes; then
93314  cat >>confdefs.h <<_ACEOF
93315#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93316_ACEOF
93317
93318fi
93319done
93320
93321    fi
93322  fi
93323
93324
93325
93326
93327
93328
93329  echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93330echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93331  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93332    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93333  echo $ECHO_N "(cached) $ECHO_C" >&6
93334else
93335
93336
93337
93338      ac_ext=cc
93339ac_cpp='$CXXCPP $CPPFLAGS'
93340ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93341ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93342ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93343
93344      cat >conftest.$ac_ext <<_ACEOF
93345/* confdefs.h.  */
93346_ACEOF
93347cat confdefs.h >>conftest.$ac_ext
93348cat >>conftest.$ac_ext <<_ACEOF
93349/* end confdefs.h.  */
93350#include <math.h>
93351int
93352main ()
93353{
93354 ldexpl(0, 0);
93355  ;
93356  return 0;
93357}
93358_ACEOF
93359rm -f conftest.$ac_objext
93360if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93361  (eval $ac_compile) 2>conftest.er1
93362  ac_status=$?
93363  grep -v '^ *+' conftest.er1 >conftest.err
93364  rm -f conftest.er1
93365  cat conftest.err >&5
93366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93367  (exit $ac_status); } &&
93368	 { ac_try='test -z "$ac_cxx_werror_flag"
93369			 || test ! -s conftest.err'
93370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93371  (eval $ac_try) 2>&5
93372  ac_status=$?
93373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93374  (exit $ac_status); }; } &&
93375	 { ac_try='test -s conftest.$ac_objext'
93376  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93377  (eval $ac_try) 2>&5
93378  ac_status=$?
93379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93380  (exit $ac_status); }; }; then
93381  glibcxx_cv_func_ldexpl_use=yes
93382else
93383  echo "$as_me: failed program was:" >&5
93384sed 's/^/| /' conftest.$ac_ext >&5
93385
93386glibcxx_cv_func_ldexpl_use=no
93387fi
93388rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93389      ac_ext=c
93390ac_cpp='$CPP $CPPFLAGS'
93391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93393ac_compiler_gnu=$ac_cv_c_compiler_gnu
93394
93395
93396fi
93397
93398  fi
93399  echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93400echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93401
93402  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93403
93404for ac_func in ldexpl
93405do
93406as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93407echo "$as_me:$LINENO: checking for $ac_func" >&5
93408echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93409if eval "test \"\${$as_ac_var+set}\" = set"; then
93410  echo $ECHO_N "(cached) $ECHO_C" >&6
93411else
93412  if test x$gcc_no_link = xyes; then
93413  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93414echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93415   { (exit 1); exit 1; }; }
93416fi
93417cat >conftest.$ac_ext <<_ACEOF
93418/* confdefs.h.  */
93419_ACEOF
93420cat confdefs.h >>conftest.$ac_ext
93421cat >>conftest.$ac_ext <<_ACEOF
93422/* end confdefs.h.  */
93423/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93424   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93425#define $ac_func innocuous_$ac_func
93426
93427/* System header to define __stub macros and hopefully few prototypes,
93428    which can conflict with char $ac_func (); below.
93429    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93430    <limits.h> exists even on freestanding compilers.  */
93431
93432#ifdef __STDC__
93433# include <limits.h>
93434#else
93435# include <assert.h>
93436#endif
93437
93438#undef $ac_func
93439
93440/* Override any gcc2 internal prototype to avoid an error.  */
93441#ifdef __cplusplus
93442extern "C"
93443{
93444#endif
93445/* We use char because int might match the return type of a gcc2
93446   builtin and then its argument prototype would still apply.  */
93447char $ac_func ();
93448/* The GNU C library defines this for functions which it implements
93449    to always fail with ENOSYS.  Some functions are actually named
93450    something starting with __ and the normal name is an alias.  */
93451#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93452choke me
93453#else
93454char (*f) () = $ac_func;
93455#endif
93456#ifdef __cplusplus
93457}
93458#endif
93459
93460int
93461main ()
93462{
93463return f != $ac_func;
93464  ;
93465  return 0;
93466}
93467_ACEOF
93468rm -f conftest.$ac_objext conftest$ac_exeext
93469if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93470  (eval $ac_link) 2>conftest.er1
93471  ac_status=$?
93472  grep -v '^ *+' conftest.er1 >conftest.err
93473  rm -f conftest.er1
93474  cat conftest.err >&5
93475  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93476  (exit $ac_status); } &&
93477	 { ac_try='test -z "$ac_c_werror_flag"
93478			 || test ! -s conftest.err'
93479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93480  (eval $ac_try) 2>&5
93481  ac_status=$?
93482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93483  (exit $ac_status); }; } &&
93484	 { ac_try='test -s conftest$ac_exeext'
93485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93486  (eval $ac_try) 2>&5
93487  ac_status=$?
93488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93489  (exit $ac_status); }; }; then
93490  eval "$as_ac_var=yes"
93491else
93492  echo "$as_me: failed program was:" >&5
93493sed 's/^/| /' conftest.$ac_ext >&5
93494
93495eval "$as_ac_var=no"
93496fi
93497rm -f conftest.err conftest.$ac_objext \
93498      conftest$ac_exeext conftest.$ac_ext
93499fi
93500echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93501echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93502if test `eval echo '${'$as_ac_var'}'` = yes; then
93503  cat >>confdefs.h <<_ACEOF
93504#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93505_ACEOF
93506
93507fi
93508done
93509
93510  else
93511
93512  echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93513echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93514  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93515    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93516  echo $ECHO_N "(cached) $ECHO_C" >&6
93517else
93518
93519
93520
93521      ac_ext=cc
93522ac_cpp='$CXXCPP $CPPFLAGS'
93523ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93524ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93525ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93526
93527      cat >conftest.$ac_ext <<_ACEOF
93528/* confdefs.h.  */
93529_ACEOF
93530cat confdefs.h >>conftest.$ac_ext
93531cat >>conftest.$ac_ext <<_ACEOF
93532/* end confdefs.h.  */
93533#include <math.h>
93534int
93535main ()
93536{
93537 _ldexpl(0, 0);
93538  ;
93539  return 0;
93540}
93541_ACEOF
93542rm -f conftest.$ac_objext
93543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93544  (eval $ac_compile) 2>conftest.er1
93545  ac_status=$?
93546  grep -v '^ *+' conftest.er1 >conftest.err
93547  rm -f conftest.er1
93548  cat conftest.err >&5
93549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93550  (exit $ac_status); } &&
93551	 { ac_try='test -z "$ac_cxx_werror_flag"
93552			 || test ! -s conftest.err'
93553  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93554  (eval $ac_try) 2>&5
93555  ac_status=$?
93556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93557  (exit $ac_status); }; } &&
93558	 { ac_try='test -s conftest.$ac_objext'
93559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93560  (eval $ac_try) 2>&5
93561  ac_status=$?
93562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93563  (exit $ac_status); }; }; then
93564  glibcxx_cv_func__ldexpl_use=yes
93565else
93566  echo "$as_me: failed program was:" >&5
93567sed 's/^/| /' conftest.$ac_ext >&5
93568
93569glibcxx_cv_func__ldexpl_use=no
93570fi
93571rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93572      ac_ext=c
93573ac_cpp='$CPP $CPPFLAGS'
93574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93576ac_compiler_gnu=$ac_cv_c_compiler_gnu
93577
93578
93579fi
93580
93581  fi
93582  echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93583echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93584
93585    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93586
93587for ac_func in _ldexpl
93588do
93589as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93590echo "$as_me:$LINENO: checking for $ac_func" >&5
93591echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93592if eval "test \"\${$as_ac_var+set}\" = set"; then
93593  echo $ECHO_N "(cached) $ECHO_C" >&6
93594else
93595  if test x$gcc_no_link = xyes; then
93596  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93597echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93598   { (exit 1); exit 1; }; }
93599fi
93600cat >conftest.$ac_ext <<_ACEOF
93601/* confdefs.h.  */
93602_ACEOF
93603cat confdefs.h >>conftest.$ac_ext
93604cat >>conftest.$ac_ext <<_ACEOF
93605/* end confdefs.h.  */
93606/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93607   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93608#define $ac_func innocuous_$ac_func
93609
93610/* System header to define __stub macros and hopefully few prototypes,
93611    which can conflict with char $ac_func (); below.
93612    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93613    <limits.h> exists even on freestanding compilers.  */
93614
93615#ifdef __STDC__
93616# include <limits.h>
93617#else
93618# include <assert.h>
93619#endif
93620
93621#undef $ac_func
93622
93623/* Override any gcc2 internal prototype to avoid an error.  */
93624#ifdef __cplusplus
93625extern "C"
93626{
93627#endif
93628/* We use char because int might match the return type of a gcc2
93629   builtin and then its argument prototype would still apply.  */
93630char $ac_func ();
93631/* The GNU C library defines this for functions which it implements
93632    to always fail with ENOSYS.  Some functions are actually named
93633    something starting with __ and the normal name is an alias.  */
93634#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93635choke me
93636#else
93637char (*f) () = $ac_func;
93638#endif
93639#ifdef __cplusplus
93640}
93641#endif
93642
93643int
93644main ()
93645{
93646return f != $ac_func;
93647  ;
93648  return 0;
93649}
93650_ACEOF
93651rm -f conftest.$ac_objext conftest$ac_exeext
93652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93653  (eval $ac_link) 2>conftest.er1
93654  ac_status=$?
93655  grep -v '^ *+' conftest.er1 >conftest.err
93656  rm -f conftest.er1
93657  cat conftest.err >&5
93658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659  (exit $ac_status); } &&
93660	 { ac_try='test -z "$ac_c_werror_flag"
93661			 || test ! -s conftest.err'
93662  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93663  (eval $ac_try) 2>&5
93664  ac_status=$?
93665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666  (exit $ac_status); }; } &&
93667	 { ac_try='test -s conftest$ac_exeext'
93668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669  (eval $ac_try) 2>&5
93670  ac_status=$?
93671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672  (exit $ac_status); }; }; then
93673  eval "$as_ac_var=yes"
93674else
93675  echo "$as_me: failed program was:" >&5
93676sed 's/^/| /' conftest.$ac_ext >&5
93677
93678eval "$as_ac_var=no"
93679fi
93680rm -f conftest.err conftest.$ac_objext \
93681      conftest$ac_exeext conftest.$ac_ext
93682fi
93683echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93684echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93685if test `eval echo '${'$as_ac_var'}'` = yes; then
93686  cat >>confdefs.h <<_ACEOF
93687#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93688_ACEOF
93689
93690fi
93691done
93692
93693    fi
93694  fi
93695
93696
93697
93698
93699
93700
93701  echo "$as_me:$LINENO: checking for logl declaration" >&5
93702echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93703  if test x${glibcxx_cv_func_logl_use+set} != xset; then
93704    if test "${glibcxx_cv_func_logl_use+set}" = set; then
93705  echo $ECHO_N "(cached) $ECHO_C" >&6
93706else
93707
93708
93709
93710      ac_ext=cc
93711ac_cpp='$CXXCPP $CPPFLAGS'
93712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93715
93716      cat >conftest.$ac_ext <<_ACEOF
93717/* confdefs.h.  */
93718_ACEOF
93719cat confdefs.h >>conftest.$ac_ext
93720cat >>conftest.$ac_ext <<_ACEOF
93721/* end confdefs.h.  */
93722#include <math.h>
93723		      #ifdef HAVE_IEEEFP_H
93724		      #include <ieeefp.h>
93725		      #endif
93726
93727int
93728main ()
93729{
93730 logl(0);
93731  ;
93732  return 0;
93733}
93734_ACEOF
93735rm -f conftest.$ac_objext
93736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93737  (eval $ac_compile) 2>conftest.er1
93738  ac_status=$?
93739  grep -v '^ *+' conftest.er1 >conftest.err
93740  rm -f conftest.er1
93741  cat conftest.err >&5
93742  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93743  (exit $ac_status); } &&
93744	 { ac_try='test -z "$ac_cxx_werror_flag"
93745			 || test ! -s conftest.err'
93746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93747  (eval $ac_try) 2>&5
93748  ac_status=$?
93749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93750  (exit $ac_status); }; } &&
93751	 { ac_try='test -s conftest.$ac_objext'
93752  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93753  (eval $ac_try) 2>&5
93754  ac_status=$?
93755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93756  (exit $ac_status); }; }; then
93757  glibcxx_cv_func_logl_use=yes
93758else
93759  echo "$as_me: failed program was:" >&5
93760sed 's/^/| /' conftest.$ac_ext >&5
93761
93762glibcxx_cv_func_logl_use=no
93763fi
93764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93765      ac_ext=c
93766ac_cpp='$CPP $CPPFLAGS'
93767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93769ac_compiler_gnu=$ac_cv_c_compiler_gnu
93770
93771
93772fi
93773
93774  fi
93775  echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93776echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93777
93778  if test x$glibcxx_cv_func_logl_use = x"yes"; then
93779
93780for ac_func in logl
93781do
93782as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93783echo "$as_me:$LINENO: checking for $ac_func" >&5
93784echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93785if eval "test \"\${$as_ac_var+set}\" = set"; then
93786  echo $ECHO_N "(cached) $ECHO_C" >&6
93787else
93788  if test x$gcc_no_link = xyes; then
93789  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93790echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93791   { (exit 1); exit 1; }; }
93792fi
93793cat >conftest.$ac_ext <<_ACEOF
93794/* confdefs.h.  */
93795_ACEOF
93796cat confdefs.h >>conftest.$ac_ext
93797cat >>conftest.$ac_ext <<_ACEOF
93798/* end confdefs.h.  */
93799/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93800   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93801#define $ac_func innocuous_$ac_func
93802
93803/* System header to define __stub macros and hopefully few prototypes,
93804    which can conflict with char $ac_func (); below.
93805    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93806    <limits.h> exists even on freestanding compilers.  */
93807
93808#ifdef __STDC__
93809# include <limits.h>
93810#else
93811# include <assert.h>
93812#endif
93813
93814#undef $ac_func
93815
93816/* Override any gcc2 internal prototype to avoid an error.  */
93817#ifdef __cplusplus
93818extern "C"
93819{
93820#endif
93821/* We use char because int might match the return type of a gcc2
93822   builtin and then its argument prototype would still apply.  */
93823char $ac_func ();
93824/* The GNU C library defines this for functions which it implements
93825    to always fail with ENOSYS.  Some functions are actually named
93826    something starting with __ and the normal name is an alias.  */
93827#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93828choke me
93829#else
93830char (*f) () = $ac_func;
93831#endif
93832#ifdef __cplusplus
93833}
93834#endif
93835
93836int
93837main ()
93838{
93839return f != $ac_func;
93840  ;
93841  return 0;
93842}
93843_ACEOF
93844rm -f conftest.$ac_objext conftest$ac_exeext
93845if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93846  (eval $ac_link) 2>conftest.er1
93847  ac_status=$?
93848  grep -v '^ *+' conftest.er1 >conftest.err
93849  rm -f conftest.er1
93850  cat conftest.err >&5
93851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93852  (exit $ac_status); } &&
93853	 { ac_try='test -z "$ac_c_werror_flag"
93854			 || test ! -s conftest.err'
93855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93856  (eval $ac_try) 2>&5
93857  ac_status=$?
93858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93859  (exit $ac_status); }; } &&
93860	 { ac_try='test -s conftest$ac_exeext'
93861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93862  (eval $ac_try) 2>&5
93863  ac_status=$?
93864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93865  (exit $ac_status); }; }; then
93866  eval "$as_ac_var=yes"
93867else
93868  echo "$as_me: failed program was:" >&5
93869sed 's/^/| /' conftest.$ac_ext >&5
93870
93871eval "$as_ac_var=no"
93872fi
93873rm -f conftest.err conftest.$ac_objext \
93874      conftest$ac_exeext conftest.$ac_ext
93875fi
93876echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93877echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93878if test `eval echo '${'$as_ac_var'}'` = yes; then
93879  cat >>confdefs.h <<_ACEOF
93880#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93881_ACEOF
93882
93883fi
93884done
93885
93886  else
93887
93888  echo "$as_me:$LINENO: checking for _logl declaration" >&5
93889echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93890  if test x${glibcxx_cv_func__logl_use+set} != xset; then
93891    if test "${glibcxx_cv_func__logl_use+set}" = set; then
93892  echo $ECHO_N "(cached) $ECHO_C" >&6
93893else
93894
93895
93896
93897      ac_ext=cc
93898ac_cpp='$CXXCPP $CPPFLAGS'
93899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93902
93903      cat >conftest.$ac_ext <<_ACEOF
93904/* confdefs.h.  */
93905_ACEOF
93906cat confdefs.h >>conftest.$ac_ext
93907cat >>conftest.$ac_ext <<_ACEOF
93908/* end confdefs.h.  */
93909#include <math.h>
93910		      #ifdef HAVE_IEEEFP_H
93911		      #include <ieeefp.h>
93912		      #endif
93913
93914int
93915main ()
93916{
93917 _logl(0);
93918  ;
93919  return 0;
93920}
93921_ACEOF
93922rm -f conftest.$ac_objext
93923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93924  (eval $ac_compile) 2>conftest.er1
93925  ac_status=$?
93926  grep -v '^ *+' conftest.er1 >conftest.err
93927  rm -f conftest.er1
93928  cat conftest.err >&5
93929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93930  (exit $ac_status); } &&
93931	 { ac_try='test -z "$ac_cxx_werror_flag"
93932			 || test ! -s conftest.err'
93933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93934  (eval $ac_try) 2>&5
93935  ac_status=$?
93936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93937  (exit $ac_status); }; } &&
93938	 { ac_try='test -s conftest.$ac_objext'
93939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93940  (eval $ac_try) 2>&5
93941  ac_status=$?
93942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
93943  (exit $ac_status); }; }; then
93944  glibcxx_cv_func__logl_use=yes
93945else
93946  echo "$as_me: failed program was:" >&5
93947sed 's/^/| /' conftest.$ac_ext >&5
93948
93949glibcxx_cv_func__logl_use=no
93950fi
93951rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93952      ac_ext=c
93953ac_cpp='$CPP $CPPFLAGS'
93954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93956ac_compiler_gnu=$ac_cv_c_compiler_gnu
93957
93958
93959fi
93960
93961  fi
93962  echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93963echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93964
93965    if test x$glibcxx_cv_func__logl_use = x"yes"; then
93966
93967for ac_func in _logl
93968do
93969as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93970echo "$as_me:$LINENO: checking for $ac_func" >&5
93971echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93972if eval "test \"\${$as_ac_var+set}\" = set"; then
93973  echo $ECHO_N "(cached) $ECHO_C" >&6
93974else
93975  if test x$gcc_no_link = xyes; then
93976  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93977echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93978   { (exit 1); exit 1; }; }
93979fi
93980cat >conftest.$ac_ext <<_ACEOF
93981/* confdefs.h.  */
93982_ACEOF
93983cat confdefs.h >>conftest.$ac_ext
93984cat >>conftest.$ac_ext <<_ACEOF
93985/* end confdefs.h.  */
93986/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93987   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93988#define $ac_func innocuous_$ac_func
93989
93990/* System header to define __stub macros and hopefully few prototypes,
93991    which can conflict with char $ac_func (); below.
93992    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93993    <limits.h> exists even on freestanding compilers.  */
93994
93995#ifdef __STDC__
93996# include <limits.h>
93997#else
93998# include <assert.h>
93999#endif
94000
94001#undef $ac_func
94002
94003/* Override any gcc2 internal prototype to avoid an error.  */
94004#ifdef __cplusplus
94005extern "C"
94006{
94007#endif
94008/* We use char because int might match the return type of a gcc2
94009   builtin and then its argument prototype would still apply.  */
94010char $ac_func ();
94011/* The GNU C library defines this for functions which it implements
94012    to always fail with ENOSYS.  Some functions are actually named
94013    something starting with __ and the normal name is an alias.  */
94014#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94015choke me
94016#else
94017char (*f) () = $ac_func;
94018#endif
94019#ifdef __cplusplus
94020}
94021#endif
94022
94023int
94024main ()
94025{
94026return f != $ac_func;
94027  ;
94028  return 0;
94029}
94030_ACEOF
94031rm -f conftest.$ac_objext conftest$ac_exeext
94032if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94033  (eval $ac_link) 2>conftest.er1
94034  ac_status=$?
94035  grep -v '^ *+' conftest.er1 >conftest.err
94036  rm -f conftest.er1
94037  cat conftest.err >&5
94038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94039  (exit $ac_status); } &&
94040	 { ac_try='test -z "$ac_c_werror_flag"
94041			 || test ! -s conftest.err'
94042  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94043  (eval $ac_try) 2>&5
94044  ac_status=$?
94045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94046  (exit $ac_status); }; } &&
94047	 { ac_try='test -s conftest$ac_exeext'
94048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94049  (eval $ac_try) 2>&5
94050  ac_status=$?
94051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94052  (exit $ac_status); }; }; then
94053  eval "$as_ac_var=yes"
94054else
94055  echo "$as_me: failed program was:" >&5
94056sed 's/^/| /' conftest.$ac_ext >&5
94057
94058eval "$as_ac_var=no"
94059fi
94060rm -f conftest.err conftest.$ac_objext \
94061      conftest$ac_exeext conftest.$ac_ext
94062fi
94063echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94064echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94065if test `eval echo '${'$as_ac_var'}'` = yes; then
94066  cat >>confdefs.h <<_ACEOF
94067#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94068_ACEOF
94069
94070fi
94071done
94072
94073    fi
94074  fi
94075
94076
94077
94078
94079
94080
94081  echo "$as_me:$LINENO: checking for log10l declaration" >&5
94082echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
94083  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
94084    if test "${glibcxx_cv_func_log10l_use+set}" = set; then
94085  echo $ECHO_N "(cached) $ECHO_C" >&6
94086else
94087
94088
94089
94090      ac_ext=cc
94091ac_cpp='$CXXCPP $CPPFLAGS'
94092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94095
94096      cat >conftest.$ac_ext <<_ACEOF
94097/* confdefs.h.  */
94098_ACEOF
94099cat confdefs.h >>conftest.$ac_ext
94100cat >>conftest.$ac_ext <<_ACEOF
94101/* end confdefs.h.  */
94102#include <math.h>
94103		      #ifdef HAVE_IEEEFP_H
94104		      #include <ieeefp.h>
94105		      #endif
94106
94107int
94108main ()
94109{
94110 log10l(0);
94111  ;
94112  return 0;
94113}
94114_ACEOF
94115rm -f conftest.$ac_objext
94116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94117  (eval $ac_compile) 2>conftest.er1
94118  ac_status=$?
94119  grep -v '^ *+' conftest.er1 >conftest.err
94120  rm -f conftest.er1
94121  cat conftest.err >&5
94122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94123  (exit $ac_status); } &&
94124	 { ac_try='test -z "$ac_cxx_werror_flag"
94125			 || test ! -s conftest.err'
94126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94127  (eval $ac_try) 2>&5
94128  ac_status=$?
94129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94130  (exit $ac_status); }; } &&
94131	 { ac_try='test -s conftest.$ac_objext'
94132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94133  (eval $ac_try) 2>&5
94134  ac_status=$?
94135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94136  (exit $ac_status); }; }; then
94137  glibcxx_cv_func_log10l_use=yes
94138else
94139  echo "$as_me: failed program was:" >&5
94140sed 's/^/| /' conftest.$ac_ext >&5
94141
94142glibcxx_cv_func_log10l_use=no
94143fi
94144rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94145      ac_ext=c
94146ac_cpp='$CPP $CPPFLAGS'
94147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94149ac_compiler_gnu=$ac_cv_c_compiler_gnu
94150
94151
94152fi
94153
94154  fi
94155  echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
94156echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
94157
94158  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
94159
94160for ac_func in log10l
94161do
94162as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94163echo "$as_me:$LINENO: checking for $ac_func" >&5
94164echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94165if eval "test \"\${$as_ac_var+set}\" = set"; then
94166  echo $ECHO_N "(cached) $ECHO_C" >&6
94167else
94168  if test x$gcc_no_link = xyes; then
94169  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94170echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94171   { (exit 1); exit 1; }; }
94172fi
94173cat >conftest.$ac_ext <<_ACEOF
94174/* confdefs.h.  */
94175_ACEOF
94176cat confdefs.h >>conftest.$ac_ext
94177cat >>conftest.$ac_ext <<_ACEOF
94178/* end confdefs.h.  */
94179/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94180   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94181#define $ac_func innocuous_$ac_func
94182
94183/* System header to define __stub macros and hopefully few prototypes,
94184    which can conflict with char $ac_func (); below.
94185    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94186    <limits.h> exists even on freestanding compilers.  */
94187
94188#ifdef __STDC__
94189# include <limits.h>
94190#else
94191# include <assert.h>
94192#endif
94193
94194#undef $ac_func
94195
94196/* Override any gcc2 internal prototype to avoid an error.  */
94197#ifdef __cplusplus
94198extern "C"
94199{
94200#endif
94201/* We use char because int might match the return type of a gcc2
94202   builtin and then its argument prototype would still apply.  */
94203char $ac_func ();
94204/* The GNU C library defines this for functions which it implements
94205    to always fail with ENOSYS.  Some functions are actually named
94206    something starting with __ and the normal name is an alias.  */
94207#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94208choke me
94209#else
94210char (*f) () = $ac_func;
94211#endif
94212#ifdef __cplusplus
94213}
94214#endif
94215
94216int
94217main ()
94218{
94219return f != $ac_func;
94220  ;
94221  return 0;
94222}
94223_ACEOF
94224rm -f conftest.$ac_objext conftest$ac_exeext
94225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94226  (eval $ac_link) 2>conftest.er1
94227  ac_status=$?
94228  grep -v '^ *+' conftest.er1 >conftest.err
94229  rm -f conftest.er1
94230  cat conftest.err >&5
94231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94232  (exit $ac_status); } &&
94233	 { ac_try='test -z "$ac_c_werror_flag"
94234			 || test ! -s conftest.err'
94235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94236  (eval $ac_try) 2>&5
94237  ac_status=$?
94238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94239  (exit $ac_status); }; } &&
94240	 { ac_try='test -s conftest$ac_exeext'
94241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94242  (eval $ac_try) 2>&5
94243  ac_status=$?
94244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94245  (exit $ac_status); }; }; then
94246  eval "$as_ac_var=yes"
94247else
94248  echo "$as_me: failed program was:" >&5
94249sed 's/^/| /' conftest.$ac_ext >&5
94250
94251eval "$as_ac_var=no"
94252fi
94253rm -f conftest.err conftest.$ac_objext \
94254      conftest$ac_exeext conftest.$ac_ext
94255fi
94256echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94257echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94258if test `eval echo '${'$as_ac_var'}'` = yes; then
94259  cat >>confdefs.h <<_ACEOF
94260#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94261_ACEOF
94262
94263fi
94264done
94265
94266  else
94267
94268  echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94269echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94270  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94271    if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94272  echo $ECHO_N "(cached) $ECHO_C" >&6
94273else
94274
94275
94276
94277      ac_ext=cc
94278ac_cpp='$CXXCPP $CPPFLAGS'
94279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94282
94283      cat >conftest.$ac_ext <<_ACEOF
94284/* confdefs.h.  */
94285_ACEOF
94286cat confdefs.h >>conftest.$ac_ext
94287cat >>conftest.$ac_ext <<_ACEOF
94288/* end confdefs.h.  */
94289#include <math.h>
94290		      #ifdef HAVE_IEEEFP_H
94291		      #include <ieeefp.h>
94292		      #endif
94293
94294int
94295main ()
94296{
94297 _log10l(0);
94298  ;
94299  return 0;
94300}
94301_ACEOF
94302rm -f conftest.$ac_objext
94303if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94304  (eval $ac_compile) 2>conftest.er1
94305  ac_status=$?
94306  grep -v '^ *+' conftest.er1 >conftest.err
94307  rm -f conftest.er1
94308  cat conftest.err >&5
94309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310  (exit $ac_status); } &&
94311	 { ac_try='test -z "$ac_cxx_werror_flag"
94312			 || test ! -s conftest.err'
94313  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314  (eval $ac_try) 2>&5
94315  ac_status=$?
94316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317  (exit $ac_status); }; } &&
94318	 { ac_try='test -s conftest.$ac_objext'
94319  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94320  (eval $ac_try) 2>&5
94321  ac_status=$?
94322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323  (exit $ac_status); }; }; then
94324  glibcxx_cv_func__log10l_use=yes
94325else
94326  echo "$as_me: failed program was:" >&5
94327sed 's/^/| /' conftest.$ac_ext >&5
94328
94329glibcxx_cv_func__log10l_use=no
94330fi
94331rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94332      ac_ext=c
94333ac_cpp='$CPP $CPPFLAGS'
94334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94336ac_compiler_gnu=$ac_cv_c_compiler_gnu
94337
94338
94339fi
94340
94341  fi
94342  echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94343echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94344
94345    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94346
94347for ac_func in _log10l
94348do
94349as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94350echo "$as_me:$LINENO: checking for $ac_func" >&5
94351echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94352if eval "test \"\${$as_ac_var+set}\" = set"; then
94353  echo $ECHO_N "(cached) $ECHO_C" >&6
94354else
94355  if test x$gcc_no_link = xyes; then
94356  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94357echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94358   { (exit 1); exit 1; }; }
94359fi
94360cat >conftest.$ac_ext <<_ACEOF
94361/* confdefs.h.  */
94362_ACEOF
94363cat confdefs.h >>conftest.$ac_ext
94364cat >>conftest.$ac_ext <<_ACEOF
94365/* end confdefs.h.  */
94366/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94367   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94368#define $ac_func innocuous_$ac_func
94369
94370/* System header to define __stub macros and hopefully few prototypes,
94371    which can conflict with char $ac_func (); below.
94372    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94373    <limits.h> exists even on freestanding compilers.  */
94374
94375#ifdef __STDC__
94376# include <limits.h>
94377#else
94378# include <assert.h>
94379#endif
94380
94381#undef $ac_func
94382
94383/* Override any gcc2 internal prototype to avoid an error.  */
94384#ifdef __cplusplus
94385extern "C"
94386{
94387#endif
94388/* We use char because int might match the return type of a gcc2
94389   builtin and then its argument prototype would still apply.  */
94390char $ac_func ();
94391/* The GNU C library defines this for functions which it implements
94392    to always fail with ENOSYS.  Some functions are actually named
94393    something starting with __ and the normal name is an alias.  */
94394#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94395choke me
94396#else
94397char (*f) () = $ac_func;
94398#endif
94399#ifdef __cplusplus
94400}
94401#endif
94402
94403int
94404main ()
94405{
94406return f != $ac_func;
94407  ;
94408  return 0;
94409}
94410_ACEOF
94411rm -f conftest.$ac_objext conftest$ac_exeext
94412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94413  (eval $ac_link) 2>conftest.er1
94414  ac_status=$?
94415  grep -v '^ *+' conftest.er1 >conftest.err
94416  rm -f conftest.er1
94417  cat conftest.err >&5
94418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419  (exit $ac_status); } &&
94420	 { ac_try='test -z "$ac_c_werror_flag"
94421			 || test ! -s conftest.err'
94422  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94423  (eval $ac_try) 2>&5
94424  ac_status=$?
94425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94426  (exit $ac_status); }; } &&
94427	 { ac_try='test -s conftest$ac_exeext'
94428  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94429  (eval $ac_try) 2>&5
94430  ac_status=$?
94431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94432  (exit $ac_status); }; }; then
94433  eval "$as_ac_var=yes"
94434else
94435  echo "$as_me: failed program was:" >&5
94436sed 's/^/| /' conftest.$ac_ext >&5
94437
94438eval "$as_ac_var=no"
94439fi
94440rm -f conftest.err conftest.$ac_objext \
94441      conftest$ac_exeext conftest.$ac_ext
94442fi
94443echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94444echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94445if test `eval echo '${'$as_ac_var'}'` = yes; then
94446  cat >>confdefs.h <<_ACEOF
94447#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94448_ACEOF
94449
94450fi
94451done
94452
94453    fi
94454  fi
94455
94456
94457
94458
94459
94460
94461  echo "$as_me:$LINENO: checking for modfl declaration" >&5
94462echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94463  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94464    if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94465  echo $ECHO_N "(cached) $ECHO_C" >&6
94466else
94467
94468
94469
94470      ac_ext=cc
94471ac_cpp='$CXXCPP $CPPFLAGS'
94472ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94473ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94474ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94475
94476      cat >conftest.$ac_ext <<_ACEOF
94477/* confdefs.h.  */
94478_ACEOF
94479cat confdefs.h >>conftest.$ac_ext
94480cat >>conftest.$ac_ext <<_ACEOF
94481/* end confdefs.h.  */
94482#include <math.h>
94483int
94484main ()
94485{
94486 modfl(0, 0);
94487  ;
94488  return 0;
94489}
94490_ACEOF
94491rm -f conftest.$ac_objext
94492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94493  (eval $ac_compile) 2>conftest.er1
94494  ac_status=$?
94495  grep -v '^ *+' conftest.er1 >conftest.err
94496  rm -f conftest.er1
94497  cat conftest.err >&5
94498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94499  (exit $ac_status); } &&
94500	 { ac_try='test -z "$ac_cxx_werror_flag"
94501			 || test ! -s conftest.err'
94502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94503  (eval $ac_try) 2>&5
94504  ac_status=$?
94505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94506  (exit $ac_status); }; } &&
94507	 { ac_try='test -s conftest.$ac_objext'
94508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94509  (eval $ac_try) 2>&5
94510  ac_status=$?
94511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94512  (exit $ac_status); }; }; then
94513  glibcxx_cv_func_modfl_use=yes
94514else
94515  echo "$as_me: failed program was:" >&5
94516sed 's/^/| /' conftest.$ac_ext >&5
94517
94518glibcxx_cv_func_modfl_use=no
94519fi
94520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94521      ac_ext=c
94522ac_cpp='$CPP $CPPFLAGS'
94523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94525ac_compiler_gnu=$ac_cv_c_compiler_gnu
94526
94527
94528fi
94529
94530  fi
94531  echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94532echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94533
94534  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94535
94536for ac_func in modfl
94537do
94538as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94539echo "$as_me:$LINENO: checking for $ac_func" >&5
94540echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94541if eval "test \"\${$as_ac_var+set}\" = set"; then
94542  echo $ECHO_N "(cached) $ECHO_C" >&6
94543else
94544  if test x$gcc_no_link = xyes; then
94545  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94546echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94547   { (exit 1); exit 1; }; }
94548fi
94549cat >conftest.$ac_ext <<_ACEOF
94550/* confdefs.h.  */
94551_ACEOF
94552cat confdefs.h >>conftest.$ac_ext
94553cat >>conftest.$ac_ext <<_ACEOF
94554/* end confdefs.h.  */
94555/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94556   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94557#define $ac_func innocuous_$ac_func
94558
94559/* System header to define __stub macros and hopefully few prototypes,
94560    which can conflict with char $ac_func (); below.
94561    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94562    <limits.h> exists even on freestanding compilers.  */
94563
94564#ifdef __STDC__
94565# include <limits.h>
94566#else
94567# include <assert.h>
94568#endif
94569
94570#undef $ac_func
94571
94572/* Override any gcc2 internal prototype to avoid an error.  */
94573#ifdef __cplusplus
94574extern "C"
94575{
94576#endif
94577/* We use char because int might match the return type of a gcc2
94578   builtin and then its argument prototype would still apply.  */
94579char $ac_func ();
94580/* The GNU C library defines this for functions which it implements
94581    to always fail with ENOSYS.  Some functions are actually named
94582    something starting with __ and the normal name is an alias.  */
94583#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94584choke me
94585#else
94586char (*f) () = $ac_func;
94587#endif
94588#ifdef __cplusplus
94589}
94590#endif
94591
94592int
94593main ()
94594{
94595return f != $ac_func;
94596  ;
94597  return 0;
94598}
94599_ACEOF
94600rm -f conftest.$ac_objext conftest$ac_exeext
94601if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94602  (eval $ac_link) 2>conftest.er1
94603  ac_status=$?
94604  grep -v '^ *+' conftest.er1 >conftest.err
94605  rm -f conftest.er1
94606  cat conftest.err >&5
94607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608  (exit $ac_status); } &&
94609	 { ac_try='test -z "$ac_c_werror_flag"
94610			 || test ! -s conftest.err'
94611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94612  (eval $ac_try) 2>&5
94613  ac_status=$?
94614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94615  (exit $ac_status); }; } &&
94616	 { ac_try='test -s conftest$ac_exeext'
94617  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94618  (eval $ac_try) 2>&5
94619  ac_status=$?
94620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94621  (exit $ac_status); }; }; then
94622  eval "$as_ac_var=yes"
94623else
94624  echo "$as_me: failed program was:" >&5
94625sed 's/^/| /' conftest.$ac_ext >&5
94626
94627eval "$as_ac_var=no"
94628fi
94629rm -f conftest.err conftest.$ac_objext \
94630      conftest$ac_exeext conftest.$ac_ext
94631fi
94632echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94633echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94634if test `eval echo '${'$as_ac_var'}'` = yes; then
94635  cat >>confdefs.h <<_ACEOF
94636#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94637_ACEOF
94638
94639fi
94640done
94641
94642  else
94643
94644  echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94645echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94646  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94647    if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94648  echo $ECHO_N "(cached) $ECHO_C" >&6
94649else
94650
94651
94652
94653      ac_ext=cc
94654ac_cpp='$CXXCPP $CPPFLAGS'
94655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94658
94659      cat >conftest.$ac_ext <<_ACEOF
94660/* confdefs.h.  */
94661_ACEOF
94662cat confdefs.h >>conftest.$ac_ext
94663cat >>conftest.$ac_ext <<_ACEOF
94664/* end confdefs.h.  */
94665#include <math.h>
94666int
94667main ()
94668{
94669 _modfl(0, 0);
94670  ;
94671  return 0;
94672}
94673_ACEOF
94674rm -f conftest.$ac_objext
94675if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94676  (eval $ac_compile) 2>conftest.er1
94677  ac_status=$?
94678  grep -v '^ *+' conftest.er1 >conftest.err
94679  rm -f conftest.er1
94680  cat conftest.err >&5
94681  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94682  (exit $ac_status); } &&
94683	 { ac_try='test -z "$ac_cxx_werror_flag"
94684			 || test ! -s conftest.err'
94685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94686  (eval $ac_try) 2>&5
94687  ac_status=$?
94688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94689  (exit $ac_status); }; } &&
94690	 { ac_try='test -s conftest.$ac_objext'
94691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94692  (eval $ac_try) 2>&5
94693  ac_status=$?
94694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94695  (exit $ac_status); }; }; then
94696  glibcxx_cv_func__modfl_use=yes
94697else
94698  echo "$as_me: failed program was:" >&5
94699sed 's/^/| /' conftest.$ac_ext >&5
94700
94701glibcxx_cv_func__modfl_use=no
94702fi
94703rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94704      ac_ext=c
94705ac_cpp='$CPP $CPPFLAGS'
94706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94708ac_compiler_gnu=$ac_cv_c_compiler_gnu
94709
94710
94711fi
94712
94713  fi
94714  echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94715echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94716
94717    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94718
94719for ac_func in _modfl
94720do
94721as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94722echo "$as_me:$LINENO: checking for $ac_func" >&5
94723echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94724if eval "test \"\${$as_ac_var+set}\" = set"; then
94725  echo $ECHO_N "(cached) $ECHO_C" >&6
94726else
94727  if test x$gcc_no_link = xyes; then
94728  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94729echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94730   { (exit 1); exit 1; }; }
94731fi
94732cat >conftest.$ac_ext <<_ACEOF
94733/* confdefs.h.  */
94734_ACEOF
94735cat confdefs.h >>conftest.$ac_ext
94736cat >>conftest.$ac_ext <<_ACEOF
94737/* end confdefs.h.  */
94738/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94739   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94740#define $ac_func innocuous_$ac_func
94741
94742/* System header to define __stub macros and hopefully few prototypes,
94743    which can conflict with char $ac_func (); below.
94744    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94745    <limits.h> exists even on freestanding compilers.  */
94746
94747#ifdef __STDC__
94748# include <limits.h>
94749#else
94750# include <assert.h>
94751#endif
94752
94753#undef $ac_func
94754
94755/* Override any gcc2 internal prototype to avoid an error.  */
94756#ifdef __cplusplus
94757extern "C"
94758{
94759#endif
94760/* We use char because int might match the return type of a gcc2
94761   builtin and then its argument prototype would still apply.  */
94762char $ac_func ();
94763/* The GNU C library defines this for functions which it implements
94764    to always fail with ENOSYS.  Some functions are actually named
94765    something starting with __ and the normal name is an alias.  */
94766#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94767choke me
94768#else
94769char (*f) () = $ac_func;
94770#endif
94771#ifdef __cplusplus
94772}
94773#endif
94774
94775int
94776main ()
94777{
94778return f != $ac_func;
94779  ;
94780  return 0;
94781}
94782_ACEOF
94783rm -f conftest.$ac_objext conftest$ac_exeext
94784if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94785  (eval $ac_link) 2>conftest.er1
94786  ac_status=$?
94787  grep -v '^ *+' conftest.er1 >conftest.err
94788  rm -f conftest.er1
94789  cat conftest.err >&5
94790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791  (exit $ac_status); } &&
94792	 { ac_try='test -z "$ac_c_werror_flag"
94793			 || test ! -s conftest.err'
94794  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94795  (eval $ac_try) 2>&5
94796  ac_status=$?
94797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94798  (exit $ac_status); }; } &&
94799	 { ac_try='test -s conftest$ac_exeext'
94800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94801  (eval $ac_try) 2>&5
94802  ac_status=$?
94803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94804  (exit $ac_status); }; }; then
94805  eval "$as_ac_var=yes"
94806else
94807  echo "$as_me: failed program was:" >&5
94808sed 's/^/| /' conftest.$ac_ext >&5
94809
94810eval "$as_ac_var=no"
94811fi
94812rm -f conftest.err conftest.$ac_objext \
94813      conftest$ac_exeext conftest.$ac_ext
94814fi
94815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94816echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94817if test `eval echo '${'$as_ac_var'}'` = yes; then
94818  cat >>confdefs.h <<_ACEOF
94819#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94820_ACEOF
94821
94822fi
94823done
94824
94825    fi
94826  fi
94827
94828
94829
94830
94831
94832
94833  echo "$as_me:$LINENO: checking for powl declaration" >&5
94834echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94835  if test x${glibcxx_cv_func_powl_use+set} != xset; then
94836    if test "${glibcxx_cv_func_powl_use+set}" = set; then
94837  echo $ECHO_N "(cached) $ECHO_C" >&6
94838else
94839
94840
94841
94842      ac_ext=cc
94843ac_cpp='$CXXCPP $CPPFLAGS'
94844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94847
94848      cat >conftest.$ac_ext <<_ACEOF
94849/* confdefs.h.  */
94850_ACEOF
94851cat confdefs.h >>conftest.$ac_ext
94852cat >>conftest.$ac_ext <<_ACEOF
94853/* end confdefs.h.  */
94854#include <math.h>
94855int
94856main ()
94857{
94858 powl(0, 0);
94859  ;
94860  return 0;
94861}
94862_ACEOF
94863rm -f conftest.$ac_objext
94864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94865  (eval $ac_compile) 2>conftest.er1
94866  ac_status=$?
94867  grep -v '^ *+' conftest.er1 >conftest.err
94868  rm -f conftest.er1
94869  cat conftest.err >&5
94870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94871  (exit $ac_status); } &&
94872	 { ac_try='test -z "$ac_cxx_werror_flag"
94873			 || test ! -s conftest.err'
94874  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94875  (eval $ac_try) 2>&5
94876  ac_status=$?
94877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94878  (exit $ac_status); }; } &&
94879	 { ac_try='test -s conftest.$ac_objext'
94880  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94881  (eval $ac_try) 2>&5
94882  ac_status=$?
94883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94884  (exit $ac_status); }; }; then
94885  glibcxx_cv_func_powl_use=yes
94886else
94887  echo "$as_me: failed program was:" >&5
94888sed 's/^/| /' conftest.$ac_ext >&5
94889
94890glibcxx_cv_func_powl_use=no
94891fi
94892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94893      ac_ext=c
94894ac_cpp='$CPP $CPPFLAGS'
94895ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94896ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94897ac_compiler_gnu=$ac_cv_c_compiler_gnu
94898
94899
94900fi
94901
94902  fi
94903  echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94904echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94905
94906  if test x$glibcxx_cv_func_powl_use = x"yes"; then
94907
94908for ac_func in powl
94909do
94910as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94911echo "$as_me:$LINENO: checking for $ac_func" >&5
94912echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94913if eval "test \"\${$as_ac_var+set}\" = set"; then
94914  echo $ECHO_N "(cached) $ECHO_C" >&6
94915else
94916  if test x$gcc_no_link = xyes; then
94917  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94918echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94919   { (exit 1); exit 1; }; }
94920fi
94921cat >conftest.$ac_ext <<_ACEOF
94922/* confdefs.h.  */
94923_ACEOF
94924cat confdefs.h >>conftest.$ac_ext
94925cat >>conftest.$ac_ext <<_ACEOF
94926/* end confdefs.h.  */
94927/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94928   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94929#define $ac_func innocuous_$ac_func
94930
94931/* System header to define __stub macros and hopefully few prototypes,
94932    which can conflict with char $ac_func (); below.
94933    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94934    <limits.h> exists even on freestanding compilers.  */
94935
94936#ifdef __STDC__
94937# include <limits.h>
94938#else
94939# include <assert.h>
94940#endif
94941
94942#undef $ac_func
94943
94944/* Override any gcc2 internal prototype to avoid an error.  */
94945#ifdef __cplusplus
94946extern "C"
94947{
94948#endif
94949/* We use char because int might match the return type of a gcc2
94950   builtin and then its argument prototype would still apply.  */
94951char $ac_func ();
94952/* The GNU C library defines this for functions which it implements
94953    to always fail with ENOSYS.  Some functions are actually named
94954    something starting with __ and the normal name is an alias.  */
94955#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94956choke me
94957#else
94958char (*f) () = $ac_func;
94959#endif
94960#ifdef __cplusplus
94961}
94962#endif
94963
94964int
94965main ()
94966{
94967return f != $ac_func;
94968  ;
94969  return 0;
94970}
94971_ACEOF
94972rm -f conftest.$ac_objext conftest$ac_exeext
94973if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94974  (eval $ac_link) 2>conftest.er1
94975  ac_status=$?
94976  grep -v '^ *+' conftest.er1 >conftest.err
94977  rm -f conftest.er1
94978  cat conftest.err >&5
94979  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980  (exit $ac_status); } &&
94981	 { ac_try='test -z "$ac_c_werror_flag"
94982			 || test ! -s conftest.err'
94983  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94984  (eval $ac_try) 2>&5
94985  ac_status=$?
94986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94987  (exit $ac_status); }; } &&
94988	 { ac_try='test -s conftest$ac_exeext'
94989  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94990  (eval $ac_try) 2>&5
94991  ac_status=$?
94992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
94993  (exit $ac_status); }; }; then
94994  eval "$as_ac_var=yes"
94995else
94996  echo "$as_me: failed program was:" >&5
94997sed 's/^/| /' conftest.$ac_ext >&5
94998
94999eval "$as_ac_var=no"
95000fi
95001rm -f conftest.err conftest.$ac_objext \
95002      conftest$ac_exeext conftest.$ac_ext
95003fi
95004echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95005echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95006if test `eval echo '${'$as_ac_var'}'` = yes; then
95007  cat >>confdefs.h <<_ACEOF
95008#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95009_ACEOF
95010
95011fi
95012done
95013
95014  else
95015
95016  echo "$as_me:$LINENO: checking for _powl declaration" >&5
95017echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
95018  if test x${glibcxx_cv_func__powl_use+set} != xset; then
95019    if test "${glibcxx_cv_func__powl_use+set}" = set; then
95020  echo $ECHO_N "(cached) $ECHO_C" >&6
95021else
95022
95023
95024
95025      ac_ext=cc
95026ac_cpp='$CXXCPP $CPPFLAGS'
95027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95030
95031      cat >conftest.$ac_ext <<_ACEOF
95032/* confdefs.h.  */
95033_ACEOF
95034cat confdefs.h >>conftest.$ac_ext
95035cat >>conftest.$ac_ext <<_ACEOF
95036/* end confdefs.h.  */
95037#include <math.h>
95038int
95039main ()
95040{
95041 _powl(0, 0);
95042  ;
95043  return 0;
95044}
95045_ACEOF
95046rm -f conftest.$ac_objext
95047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95048  (eval $ac_compile) 2>conftest.er1
95049  ac_status=$?
95050  grep -v '^ *+' conftest.er1 >conftest.err
95051  rm -f conftest.er1
95052  cat conftest.err >&5
95053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95054  (exit $ac_status); } &&
95055	 { ac_try='test -z "$ac_cxx_werror_flag"
95056			 || test ! -s conftest.err'
95057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95058  (eval $ac_try) 2>&5
95059  ac_status=$?
95060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95061  (exit $ac_status); }; } &&
95062	 { ac_try='test -s conftest.$ac_objext'
95063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95064  (eval $ac_try) 2>&5
95065  ac_status=$?
95066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95067  (exit $ac_status); }; }; then
95068  glibcxx_cv_func__powl_use=yes
95069else
95070  echo "$as_me: failed program was:" >&5
95071sed 's/^/| /' conftest.$ac_ext >&5
95072
95073glibcxx_cv_func__powl_use=no
95074fi
95075rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95076      ac_ext=c
95077ac_cpp='$CPP $CPPFLAGS'
95078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95080ac_compiler_gnu=$ac_cv_c_compiler_gnu
95081
95082
95083fi
95084
95085  fi
95086  echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
95087echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
95088
95089    if test x$glibcxx_cv_func__powl_use = x"yes"; then
95090
95091for ac_func in _powl
95092do
95093as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95094echo "$as_me:$LINENO: checking for $ac_func" >&5
95095echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95096if eval "test \"\${$as_ac_var+set}\" = set"; then
95097  echo $ECHO_N "(cached) $ECHO_C" >&6
95098else
95099  if test x$gcc_no_link = xyes; then
95100  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95101echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95102   { (exit 1); exit 1; }; }
95103fi
95104cat >conftest.$ac_ext <<_ACEOF
95105/* confdefs.h.  */
95106_ACEOF
95107cat confdefs.h >>conftest.$ac_ext
95108cat >>conftest.$ac_ext <<_ACEOF
95109/* end confdefs.h.  */
95110/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95111   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95112#define $ac_func innocuous_$ac_func
95113
95114/* System header to define __stub macros and hopefully few prototypes,
95115    which can conflict with char $ac_func (); below.
95116    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95117    <limits.h> exists even on freestanding compilers.  */
95118
95119#ifdef __STDC__
95120# include <limits.h>
95121#else
95122# include <assert.h>
95123#endif
95124
95125#undef $ac_func
95126
95127/* Override any gcc2 internal prototype to avoid an error.  */
95128#ifdef __cplusplus
95129extern "C"
95130{
95131#endif
95132/* We use char because int might match the return type of a gcc2
95133   builtin and then its argument prototype would still apply.  */
95134char $ac_func ();
95135/* The GNU C library defines this for functions which it implements
95136    to always fail with ENOSYS.  Some functions are actually named
95137    something starting with __ and the normal name is an alias.  */
95138#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95139choke me
95140#else
95141char (*f) () = $ac_func;
95142#endif
95143#ifdef __cplusplus
95144}
95145#endif
95146
95147int
95148main ()
95149{
95150return f != $ac_func;
95151  ;
95152  return 0;
95153}
95154_ACEOF
95155rm -f conftest.$ac_objext conftest$ac_exeext
95156if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95157  (eval $ac_link) 2>conftest.er1
95158  ac_status=$?
95159  grep -v '^ *+' conftest.er1 >conftest.err
95160  rm -f conftest.er1
95161  cat conftest.err >&5
95162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95163  (exit $ac_status); } &&
95164	 { ac_try='test -z "$ac_c_werror_flag"
95165			 || test ! -s conftest.err'
95166  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95167  (eval $ac_try) 2>&5
95168  ac_status=$?
95169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95170  (exit $ac_status); }; } &&
95171	 { ac_try='test -s conftest$ac_exeext'
95172  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95173  (eval $ac_try) 2>&5
95174  ac_status=$?
95175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95176  (exit $ac_status); }; }; then
95177  eval "$as_ac_var=yes"
95178else
95179  echo "$as_me: failed program was:" >&5
95180sed 's/^/| /' conftest.$ac_ext >&5
95181
95182eval "$as_ac_var=no"
95183fi
95184rm -f conftest.err conftest.$ac_objext \
95185      conftest$ac_exeext conftest.$ac_ext
95186fi
95187echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95188echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95189if test `eval echo '${'$as_ac_var'}'` = yes; then
95190  cat >>confdefs.h <<_ACEOF
95191#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95192_ACEOF
95193
95194fi
95195done
95196
95197    fi
95198  fi
95199
95200
95201
95202
95203
95204
95205  echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95206echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95207  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95208    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95209  echo $ECHO_N "(cached) $ECHO_C" >&6
95210else
95211
95212
95213
95214      ac_ext=cc
95215ac_cpp='$CXXCPP $CPPFLAGS'
95216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95219
95220      cat >conftest.$ac_ext <<_ACEOF
95221/* confdefs.h.  */
95222_ACEOF
95223cat confdefs.h >>conftest.$ac_ext
95224cat >>conftest.$ac_ext <<_ACEOF
95225/* end confdefs.h.  */
95226#include <math.h>
95227		      #ifdef HAVE_IEEEFP_H
95228		      #include <ieeefp.h>
95229		      #endif
95230
95231int
95232main ()
95233{
95234 sqrtl(0);
95235  ;
95236  return 0;
95237}
95238_ACEOF
95239rm -f conftest.$ac_objext
95240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95241  (eval $ac_compile) 2>conftest.er1
95242  ac_status=$?
95243  grep -v '^ *+' conftest.er1 >conftest.err
95244  rm -f conftest.er1
95245  cat conftest.err >&5
95246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95247  (exit $ac_status); } &&
95248	 { ac_try='test -z "$ac_cxx_werror_flag"
95249			 || test ! -s conftest.err'
95250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95251  (eval $ac_try) 2>&5
95252  ac_status=$?
95253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95254  (exit $ac_status); }; } &&
95255	 { ac_try='test -s conftest.$ac_objext'
95256  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95257  (eval $ac_try) 2>&5
95258  ac_status=$?
95259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95260  (exit $ac_status); }; }; then
95261  glibcxx_cv_func_sqrtl_use=yes
95262else
95263  echo "$as_me: failed program was:" >&5
95264sed 's/^/| /' conftest.$ac_ext >&5
95265
95266glibcxx_cv_func_sqrtl_use=no
95267fi
95268rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95269      ac_ext=c
95270ac_cpp='$CPP $CPPFLAGS'
95271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95273ac_compiler_gnu=$ac_cv_c_compiler_gnu
95274
95275
95276fi
95277
95278  fi
95279  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95280echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95281
95282  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95283
95284for ac_func in sqrtl
95285do
95286as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95287echo "$as_me:$LINENO: checking for $ac_func" >&5
95288echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95289if eval "test \"\${$as_ac_var+set}\" = set"; then
95290  echo $ECHO_N "(cached) $ECHO_C" >&6
95291else
95292  if test x$gcc_no_link = xyes; then
95293  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95294echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95295   { (exit 1); exit 1; }; }
95296fi
95297cat >conftest.$ac_ext <<_ACEOF
95298/* confdefs.h.  */
95299_ACEOF
95300cat confdefs.h >>conftest.$ac_ext
95301cat >>conftest.$ac_ext <<_ACEOF
95302/* end confdefs.h.  */
95303/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95304   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95305#define $ac_func innocuous_$ac_func
95306
95307/* System header to define __stub macros and hopefully few prototypes,
95308    which can conflict with char $ac_func (); below.
95309    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95310    <limits.h> exists even on freestanding compilers.  */
95311
95312#ifdef __STDC__
95313# include <limits.h>
95314#else
95315# include <assert.h>
95316#endif
95317
95318#undef $ac_func
95319
95320/* Override any gcc2 internal prototype to avoid an error.  */
95321#ifdef __cplusplus
95322extern "C"
95323{
95324#endif
95325/* We use char because int might match the return type of a gcc2
95326   builtin and then its argument prototype would still apply.  */
95327char $ac_func ();
95328/* The GNU C library defines this for functions which it implements
95329    to always fail with ENOSYS.  Some functions are actually named
95330    something starting with __ and the normal name is an alias.  */
95331#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95332choke me
95333#else
95334char (*f) () = $ac_func;
95335#endif
95336#ifdef __cplusplus
95337}
95338#endif
95339
95340int
95341main ()
95342{
95343return f != $ac_func;
95344  ;
95345  return 0;
95346}
95347_ACEOF
95348rm -f conftest.$ac_objext conftest$ac_exeext
95349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95350  (eval $ac_link) 2>conftest.er1
95351  ac_status=$?
95352  grep -v '^ *+' conftest.er1 >conftest.err
95353  rm -f conftest.er1
95354  cat conftest.err >&5
95355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95356  (exit $ac_status); } &&
95357	 { ac_try='test -z "$ac_c_werror_flag"
95358			 || test ! -s conftest.err'
95359  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95360  (eval $ac_try) 2>&5
95361  ac_status=$?
95362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95363  (exit $ac_status); }; } &&
95364	 { ac_try='test -s conftest$ac_exeext'
95365  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95366  (eval $ac_try) 2>&5
95367  ac_status=$?
95368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95369  (exit $ac_status); }; }; then
95370  eval "$as_ac_var=yes"
95371else
95372  echo "$as_me: failed program was:" >&5
95373sed 's/^/| /' conftest.$ac_ext >&5
95374
95375eval "$as_ac_var=no"
95376fi
95377rm -f conftest.err conftest.$ac_objext \
95378      conftest$ac_exeext conftest.$ac_ext
95379fi
95380echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95381echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95382if test `eval echo '${'$as_ac_var'}'` = yes; then
95383  cat >>confdefs.h <<_ACEOF
95384#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95385_ACEOF
95386
95387fi
95388done
95389
95390  else
95391
95392  echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95393echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95394  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95395    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95396  echo $ECHO_N "(cached) $ECHO_C" >&6
95397else
95398
95399
95400
95401      ac_ext=cc
95402ac_cpp='$CXXCPP $CPPFLAGS'
95403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95406
95407      cat >conftest.$ac_ext <<_ACEOF
95408/* confdefs.h.  */
95409_ACEOF
95410cat confdefs.h >>conftest.$ac_ext
95411cat >>conftest.$ac_ext <<_ACEOF
95412/* end confdefs.h.  */
95413#include <math.h>
95414		      #ifdef HAVE_IEEEFP_H
95415		      #include <ieeefp.h>
95416		      #endif
95417
95418int
95419main ()
95420{
95421 _sqrtl(0);
95422  ;
95423  return 0;
95424}
95425_ACEOF
95426rm -f conftest.$ac_objext
95427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95428  (eval $ac_compile) 2>conftest.er1
95429  ac_status=$?
95430  grep -v '^ *+' conftest.er1 >conftest.err
95431  rm -f conftest.er1
95432  cat conftest.err >&5
95433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434  (exit $ac_status); } &&
95435	 { ac_try='test -z "$ac_cxx_werror_flag"
95436			 || test ! -s conftest.err'
95437  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95438  (eval $ac_try) 2>&5
95439  ac_status=$?
95440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95441  (exit $ac_status); }; } &&
95442	 { ac_try='test -s conftest.$ac_objext'
95443  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95444  (eval $ac_try) 2>&5
95445  ac_status=$?
95446  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95447  (exit $ac_status); }; }; then
95448  glibcxx_cv_func__sqrtl_use=yes
95449else
95450  echo "$as_me: failed program was:" >&5
95451sed 's/^/| /' conftest.$ac_ext >&5
95452
95453glibcxx_cv_func__sqrtl_use=no
95454fi
95455rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95456      ac_ext=c
95457ac_cpp='$CPP $CPPFLAGS'
95458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95460ac_compiler_gnu=$ac_cv_c_compiler_gnu
95461
95462
95463fi
95464
95465  fi
95466  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95467echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95468
95469    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95470
95471for ac_func in _sqrtl
95472do
95473as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95474echo "$as_me:$LINENO: checking for $ac_func" >&5
95475echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95476if eval "test \"\${$as_ac_var+set}\" = set"; then
95477  echo $ECHO_N "(cached) $ECHO_C" >&6
95478else
95479  if test x$gcc_no_link = xyes; then
95480  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95481echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95482   { (exit 1); exit 1; }; }
95483fi
95484cat >conftest.$ac_ext <<_ACEOF
95485/* confdefs.h.  */
95486_ACEOF
95487cat confdefs.h >>conftest.$ac_ext
95488cat >>conftest.$ac_ext <<_ACEOF
95489/* end confdefs.h.  */
95490/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95491   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95492#define $ac_func innocuous_$ac_func
95493
95494/* System header to define __stub macros and hopefully few prototypes,
95495    which can conflict with char $ac_func (); below.
95496    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95497    <limits.h> exists even on freestanding compilers.  */
95498
95499#ifdef __STDC__
95500# include <limits.h>
95501#else
95502# include <assert.h>
95503#endif
95504
95505#undef $ac_func
95506
95507/* Override any gcc2 internal prototype to avoid an error.  */
95508#ifdef __cplusplus
95509extern "C"
95510{
95511#endif
95512/* We use char because int might match the return type of a gcc2
95513   builtin and then its argument prototype would still apply.  */
95514char $ac_func ();
95515/* The GNU C library defines this for functions which it implements
95516    to always fail with ENOSYS.  Some functions are actually named
95517    something starting with __ and the normal name is an alias.  */
95518#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95519choke me
95520#else
95521char (*f) () = $ac_func;
95522#endif
95523#ifdef __cplusplus
95524}
95525#endif
95526
95527int
95528main ()
95529{
95530return f != $ac_func;
95531  ;
95532  return 0;
95533}
95534_ACEOF
95535rm -f conftest.$ac_objext conftest$ac_exeext
95536if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95537  (eval $ac_link) 2>conftest.er1
95538  ac_status=$?
95539  grep -v '^ *+' conftest.er1 >conftest.err
95540  rm -f conftest.er1
95541  cat conftest.err >&5
95542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543  (exit $ac_status); } &&
95544	 { ac_try='test -z "$ac_c_werror_flag"
95545			 || test ! -s conftest.err'
95546  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95547  (eval $ac_try) 2>&5
95548  ac_status=$?
95549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95550  (exit $ac_status); }; } &&
95551	 { ac_try='test -s conftest$ac_exeext'
95552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95553  (eval $ac_try) 2>&5
95554  ac_status=$?
95555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95556  (exit $ac_status); }; }; then
95557  eval "$as_ac_var=yes"
95558else
95559  echo "$as_me: failed program was:" >&5
95560sed 's/^/| /' conftest.$ac_ext >&5
95561
95562eval "$as_ac_var=no"
95563fi
95564rm -f conftest.err conftest.$ac_objext \
95565      conftest$ac_exeext conftest.$ac_ext
95566fi
95567echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95568echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95569if test `eval echo '${'$as_ac_var'}'` = yes; then
95570  cat >>confdefs.h <<_ACEOF
95571#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95572_ACEOF
95573
95574fi
95575done
95576
95577    fi
95578  fi
95579
95580
95581
95582
95583
95584
95585  echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95586echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95587  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95588    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95589  echo $ECHO_N "(cached) $ECHO_C" >&6
95590else
95591
95592
95593
95594      ac_ext=cc
95595ac_cpp='$CXXCPP $CPPFLAGS'
95596ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95597ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95598ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95599
95600      cat >conftest.$ac_ext <<_ACEOF
95601/* confdefs.h.  */
95602_ACEOF
95603cat confdefs.h >>conftest.$ac_ext
95604cat >>conftest.$ac_ext <<_ACEOF
95605/* end confdefs.h.  */
95606#include <math.h>
95607int
95608main ()
95609{
95610 sincosl(0, 0, 0);
95611  ;
95612  return 0;
95613}
95614_ACEOF
95615rm -f conftest.$ac_objext
95616if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95617  (eval $ac_compile) 2>conftest.er1
95618  ac_status=$?
95619  grep -v '^ *+' conftest.er1 >conftest.err
95620  rm -f conftest.er1
95621  cat conftest.err >&5
95622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95623  (exit $ac_status); } &&
95624	 { ac_try='test -z "$ac_cxx_werror_flag"
95625			 || test ! -s conftest.err'
95626  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95627  (eval $ac_try) 2>&5
95628  ac_status=$?
95629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95630  (exit $ac_status); }; } &&
95631	 { ac_try='test -s conftest.$ac_objext'
95632  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95633  (eval $ac_try) 2>&5
95634  ac_status=$?
95635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95636  (exit $ac_status); }; }; then
95637  glibcxx_cv_func_sincosl_use=yes
95638else
95639  echo "$as_me: failed program was:" >&5
95640sed 's/^/| /' conftest.$ac_ext >&5
95641
95642glibcxx_cv_func_sincosl_use=no
95643fi
95644rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95645      ac_ext=c
95646ac_cpp='$CPP $CPPFLAGS'
95647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95649ac_compiler_gnu=$ac_cv_c_compiler_gnu
95650
95651
95652fi
95653
95654  fi
95655  echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95656echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95657
95658  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95659
95660for ac_func in sincosl
95661do
95662as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95663echo "$as_me:$LINENO: checking for $ac_func" >&5
95664echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95665if eval "test \"\${$as_ac_var+set}\" = set"; then
95666  echo $ECHO_N "(cached) $ECHO_C" >&6
95667else
95668  if test x$gcc_no_link = xyes; then
95669  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95670echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95671   { (exit 1); exit 1; }; }
95672fi
95673cat >conftest.$ac_ext <<_ACEOF
95674/* confdefs.h.  */
95675_ACEOF
95676cat confdefs.h >>conftest.$ac_ext
95677cat >>conftest.$ac_ext <<_ACEOF
95678/* end confdefs.h.  */
95679/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95680   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95681#define $ac_func innocuous_$ac_func
95682
95683/* System header to define __stub macros and hopefully few prototypes,
95684    which can conflict with char $ac_func (); below.
95685    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95686    <limits.h> exists even on freestanding compilers.  */
95687
95688#ifdef __STDC__
95689# include <limits.h>
95690#else
95691# include <assert.h>
95692#endif
95693
95694#undef $ac_func
95695
95696/* Override any gcc2 internal prototype to avoid an error.  */
95697#ifdef __cplusplus
95698extern "C"
95699{
95700#endif
95701/* We use char because int might match the return type of a gcc2
95702   builtin and then its argument prototype would still apply.  */
95703char $ac_func ();
95704/* The GNU C library defines this for functions which it implements
95705    to always fail with ENOSYS.  Some functions are actually named
95706    something starting with __ and the normal name is an alias.  */
95707#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95708choke me
95709#else
95710char (*f) () = $ac_func;
95711#endif
95712#ifdef __cplusplus
95713}
95714#endif
95715
95716int
95717main ()
95718{
95719return f != $ac_func;
95720  ;
95721  return 0;
95722}
95723_ACEOF
95724rm -f conftest.$ac_objext conftest$ac_exeext
95725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95726  (eval $ac_link) 2>conftest.er1
95727  ac_status=$?
95728  grep -v '^ *+' conftest.er1 >conftest.err
95729  rm -f conftest.er1
95730  cat conftest.err >&5
95731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95732  (exit $ac_status); } &&
95733	 { ac_try='test -z "$ac_c_werror_flag"
95734			 || test ! -s conftest.err'
95735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95736  (eval $ac_try) 2>&5
95737  ac_status=$?
95738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95739  (exit $ac_status); }; } &&
95740	 { ac_try='test -s conftest$ac_exeext'
95741  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95742  (eval $ac_try) 2>&5
95743  ac_status=$?
95744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95745  (exit $ac_status); }; }; then
95746  eval "$as_ac_var=yes"
95747else
95748  echo "$as_me: failed program was:" >&5
95749sed 's/^/| /' conftest.$ac_ext >&5
95750
95751eval "$as_ac_var=no"
95752fi
95753rm -f conftest.err conftest.$ac_objext \
95754      conftest$ac_exeext conftest.$ac_ext
95755fi
95756echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95757echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95758if test `eval echo '${'$as_ac_var'}'` = yes; then
95759  cat >>confdefs.h <<_ACEOF
95760#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95761_ACEOF
95762
95763fi
95764done
95765
95766  else
95767
95768  echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95769echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95770  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95771    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95772  echo $ECHO_N "(cached) $ECHO_C" >&6
95773else
95774
95775
95776
95777      ac_ext=cc
95778ac_cpp='$CXXCPP $CPPFLAGS'
95779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95782
95783      cat >conftest.$ac_ext <<_ACEOF
95784/* confdefs.h.  */
95785_ACEOF
95786cat confdefs.h >>conftest.$ac_ext
95787cat >>conftest.$ac_ext <<_ACEOF
95788/* end confdefs.h.  */
95789#include <math.h>
95790int
95791main ()
95792{
95793 _sincosl(0, 0, 0);
95794  ;
95795  return 0;
95796}
95797_ACEOF
95798rm -f conftest.$ac_objext
95799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95800  (eval $ac_compile) 2>conftest.er1
95801  ac_status=$?
95802  grep -v '^ *+' conftest.er1 >conftest.err
95803  rm -f conftest.er1
95804  cat conftest.err >&5
95805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95806  (exit $ac_status); } &&
95807	 { ac_try='test -z "$ac_cxx_werror_flag"
95808			 || test ! -s conftest.err'
95809  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95810  (eval $ac_try) 2>&5
95811  ac_status=$?
95812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95813  (exit $ac_status); }; } &&
95814	 { ac_try='test -s conftest.$ac_objext'
95815  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95816  (eval $ac_try) 2>&5
95817  ac_status=$?
95818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95819  (exit $ac_status); }; }; then
95820  glibcxx_cv_func__sincosl_use=yes
95821else
95822  echo "$as_me: failed program was:" >&5
95823sed 's/^/| /' conftest.$ac_ext >&5
95824
95825glibcxx_cv_func__sincosl_use=no
95826fi
95827rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95828      ac_ext=c
95829ac_cpp='$CPP $CPPFLAGS'
95830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95832ac_compiler_gnu=$ac_cv_c_compiler_gnu
95833
95834
95835fi
95836
95837  fi
95838  echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95839echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95840
95841    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95842
95843for ac_func in _sincosl
95844do
95845as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95846echo "$as_me:$LINENO: checking for $ac_func" >&5
95847echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95848if eval "test \"\${$as_ac_var+set}\" = set"; then
95849  echo $ECHO_N "(cached) $ECHO_C" >&6
95850else
95851  if test x$gcc_no_link = xyes; then
95852  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95853echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95854   { (exit 1); exit 1; }; }
95855fi
95856cat >conftest.$ac_ext <<_ACEOF
95857/* confdefs.h.  */
95858_ACEOF
95859cat confdefs.h >>conftest.$ac_ext
95860cat >>conftest.$ac_ext <<_ACEOF
95861/* end confdefs.h.  */
95862/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95863   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95864#define $ac_func innocuous_$ac_func
95865
95866/* System header to define __stub macros and hopefully few prototypes,
95867    which can conflict with char $ac_func (); below.
95868    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95869    <limits.h> exists even on freestanding compilers.  */
95870
95871#ifdef __STDC__
95872# include <limits.h>
95873#else
95874# include <assert.h>
95875#endif
95876
95877#undef $ac_func
95878
95879/* Override any gcc2 internal prototype to avoid an error.  */
95880#ifdef __cplusplus
95881extern "C"
95882{
95883#endif
95884/* We use char because int might match the return type of a gcc2
95885   builtin and then its argument prototype would still apply.  */
95886char $ac_func ();
95887/* The GNU C library defines this for functions which it implements
95888    to always fail with ENOSYS.  Some functions are actually named
95889    something starting with __ and the normal name is an alias.  */
95890#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95891choke me
95892#else
95893char (*f) () = $ac_func;
95894#endif
95895#ifdef __cplusplus
95896}
95897#endif
95898
95899int
95900main ()
95901{
95902return f != $ac_func;
95903  ;
95904  return 0;
95905}
95906_ACEOF
95907rm -f conftest.$ac_objext conftest$ac_exeext
95908if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95909  (eval $ac_link) 2>conftest.er1
95910  ac_status=$?
95911  grep -v '^ *+' conftest.er1 >conftest.err
95912  rm -f conftest.er1
95913  cat conftest.err >&5
95914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915  (exit $ac_status); } &&
95916	 { ac_try='test -z "$ac_c_werror_flag"
95917			 || test ! -s conftest.err'
95918  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95919  (eval $ac_try) 2>&5
95920  ac_status=$?
95921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95922  (exit $ac_status); }; } &&
95923	 { ac_try='test -s conftest$ac_exeext'
95924  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95925  (eval $ac_try) 2>&5
95926  ac_status=$?
95927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95928  (exit $ac_status); }; }; then
95929  eval "$as_ac_var=yes"
95930else
95931  echo "$as_me: failed program was:" >&5
95932sed 's/^/| /' conftest.$ac_ext >&5
95933
95934eval "$as_ac_var=no"
95935fi
95936rm -f conftest.err conftest.$ac_objext \
95937      conftest$ac_exeext conftest.$ac_ext
95938fi
95939echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95940echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95941if test `eval echo '${'$as_ac_var'}'` = yes; then
95942  cat >>confdefs.h <<_ACEOF
95943#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95944_ACEOF
95945
95946fi
95947done
95948
95949    fi
95950  fi
95951
95952
95953
95954
95955
95956
95957  echo "$as_me:$LINENO: checking for finitel declaration" >&5
95958echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95959  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95960    if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95961  echo $ECHO_N "(cached) $ECHO_C" >&6
95962else
95963
95964
95965
95966      ac_ext=cc
95967ac_cpp='$CXXCPP $CPPFLAGS'
95968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95971
95972      cat >conftest.$ac_ext <<_ACEOF
95973/* confdefs.h.  */
95974_ACEOF
95975cat confdefs.h >>conftest.$ac_ext
95976cat >>conftest.$ac_ext <<_ACEOF
95977/* end confdefs.h.  */
95978#include <math.h>
95979		      #ifdef HAVE_IEEEFP_H
95980		      #include <ieeefp.h>
95981		      #endif
95982
95983int
95984main ()
95985{
95986 finitel(0);
95987  ;
95988  return 0;
95989}
95990_ACEOF
95991rm -f conftest.$ac_objext
95992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95993  (eval $ac_compile) 2>conftest.er1
95994  ac_status=$?
95995  grep -v '^ *+' conftest.er1 >conftest.err
95996  rm -f conftest.er1
95997  cat conftest.err >&5
95998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
95999  (exit $ac_status); } &&
96000	 { ac_try='test -z "$ac_cxx_werror_flag"
96001			 || test ! -s conftest.err'
96002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96003  (eval $ac_try) 2>&5
96004  ac_status=$?
96005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96006  (exit $ac_status); }; } &&
96007	 { ac_try='test -s conftest.$ac_objext'
96008  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96009  (eval $ac_try) 2>&5
96010  ac_status=$?
96011  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96012  (exit $ac_status); }; }; then
96013  glibcxx_cv_func_finitel_use=yes
96014else
96015  echo "$as_me: failed program was:" >&5
96016sed 's/^/| /' conftest.$ac_ext >&5
96017
96018glibcxx_cv_func_finitel_use=no
96019fi
96020rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96021      ac_ext=c
96022ac_cpp='$CPP $CPPFLAGS'
96023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96025ac_compiler_gnu=$ac_cv_c_compiler_gnu
96026
96027
96028fi
96029
96030  fi
96031  echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
96032echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
96033
96034  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
96035
96036for ac_func in finitel
96037do
96038as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96039echo "$as_me:$LINENO: checking for $ac_func" >&5
96040echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96041if eval "test \"\${$as_ac_var+set}\" = set"; then
96042  echo $ECHO_N "(cached) $ECHO_C" >&6
96043else
96044  if test x$gcc_no_link = xyes; then
96045  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96046echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96047   { (exit 1); exit 1; }; }
96048fi
96049cat >conftest.$ac_ext <<_ACEOF
96050/* confdefs.h.  */
96051_ACEOF
96052cat confdefs.h >>conftest.$ac_ext
96053cat >>conftest.$ac_ext <<_ACEOF
96054/* end confdefs.h.  */
96055/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96056   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96057#define $ac_func innocuous_$ac_func
96058
96059/* System header to define __stub macros and hopefully few prototypes,
96060    which can conflict with char $ac_func (); below.
96061    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96062    <limits.h> exists even on freestanding compilers.  */
96063
96064#ifdef __STDC__
96065# include <limits.h>
96066#else
96067# include <assert.h>
96068#endif
96069
96070#undef $ac_func
96071
96072/* Override any gcc2 internal prototype to avoid an error.  */
96073#ifdef __cplusplus
96074extern "C"
96075{
96076#endif
96077/* We use char because int might match the return type of a gcc2
96078   builtin and then its argument prototype would still apply.  */
96079char $ac_func ();
96080/* The GNU C library defines this for functions which it implements
96081    to always fail with ENOSYS.  Some functions are actually named
96082    something starting with __ and the normal name is an alias.  */
96083#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96084choke me
96085#else
96086char (*f) () = $ac_func;
96087#endif
96088#ifdef __cplusplus
96089}
96090#endif
96091
96092int
96093main ()
96094{
96095return f != $ac_func;
96096  ;
96097  return 0;
96098}
96099_ACEOF
96100rm -f conftest.$ac_objext conftest$ac_exeext
96101if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96102  (eval $ac_link) 2>conftest.er1
96103  ac_status=$?
96104  grep -v '^ *+' conftest.er1 >conftest.err
96105  rm -f conftest.er1
96106  cat conftest.err >&5
96107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96108  (exit $ac_status); } &&
96109	 { ac_try='test -z "$ac_c_werror_flag"
96110			 || test ! -s conftest.err'
96111  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96112  (eval $ac_try) 2>&5
96113  ac_status=$?
96114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96115  (exit $ac_status); }; } &&
96116	 { ac_try='test -s conftest$ac_exeext'
96117  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96118  (eval $ac_try) 2>&5
96119  ac_status=$?
96120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96121  (exit $ac_status); }; }; then
96122  eval "$as_ac_var=yes"
96123else
96124  echo "$as_me: failed program was:" >&5
96125sed 's/^/| /' conftest.$ac_ext >&5
96126
96127eval "$as_ac_var=no"
96128fi
96129rm -f conftest.err conftest.$ac_objext \
96130      conftest$ac_exeext conftest.$ac_ext
96131fi
96132echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96133echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96134if test `eval echo '${'$as_ac_var'}'` = yes; then
96135  cat >>confdefs.h <<_ACEOF
96136#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96137_ACEOF
96138
96139fi
96140done
96141
96142  else
96143
96144  echo "$as_me:$LINENO: checking for _finitel declaration" >&5
96145echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
96146  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
96147    if test "${glibcxx_cv_func__finitel_use+set}" = set; then
96148  echo $ECHO_N "(cached) $ECHO_C" >&6
96149else
96150
96151
96152
96153      ac_ext=cc
96154ac_cpp='$CXXCPP $CPPFLAGS'
96155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96158
96159      cat >conftest.$ac_ext <<_ACEOF
96160/* confdefs.h.  */
96161_ACEOF
96162cat confdefs.h >>conftest.$ac_ext
96163cat >>conftest.$ac_ext <<_ACEOF
96164/* end confdefs.h.  */
96165#include <math.h>
96166		      #ifdef HAVE_IEEEFP_H
96167		      #include <ieeefp.h>
96168		      #endif
96169
96170int
96171main ()
96172{
96173 _finitel(0);
96174  ;
96175  return 0;
96176}
96177_ACEOF
96178rm -f conftest.$ac_objext
96179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96180  (eval $ac_compile) 2>conftest.er1
96181  ac_status=$?
96182  grep -v '^ *+' conftest.er1 >conftest.err
96183  rm -f conftest.er1
96184  cat conftest.err >&5
96185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96186  (exit $ac_status); } &&
96187	 { ac_try='test -z "$ac_cxx_werror_flag"
96188			 || test ! -s conftest.err'
96189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96190  (eval $ac_try) 2>&5
96191  ac_status=$?
96192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96193  (exit $ac_status); }; } &&
96194	 { ac_try='test -s conftest.$ac_objext'
96195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96196  (eval $ac_try) 2>&5
96197  ac_status=$?
96198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199  (exit $ac_status); }; }; then
96200  glibcxx_cv_func__finitel_use=yes
96201else
96202  echo "$as_me: failed program was:" >&5
96203sed 's/^/| /' conftest.$ac_ext >&5
96204
96205glibcxx_cv_func__finitel_use=no
96206fi
96207rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96208      ac_ext=c
96209ac_cpp='$CPP $CPPFLAGS'
96210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96212ac_compiler_gnu=$ac_cv_c_compiler_gnu
96213
96214
96215fi
96216
96217  fi
96218  echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96219echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96220
96221    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96222
96223for ac_func in _finitel
96224do
96225as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96226echo "$as_me:$LINENO: checking for $ac_func" >&5
96227echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96228if eval "test \"\${$as_ac_var+set}\" = set"; then
96229  echo $ECHO_N "(cached) $ECHO_C" >&6
96230else
96231  if test x$gcc_no_link = xyes; then
96232  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96233echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96234   { (exit 1); exit 1; }; }
96235fi
96236cat >conftest.$ac_ext <<_ACEOF
96237/* confdefs.h.  */
96238_ACEOF
96239cat confdefs.h >>conftest.$ac_ext
96240cat >>conftest.$ac_ext <<_ACEOF
96241/* end confdefs.h.  */
96242/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96243   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96244#define $ac_func innocuous_$ac_func
96245
96246/* System header to define __stub macros and hopefully few prototypes,
96247    which can conflict with char $ac_func (); below.
96248    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96249    <limits.h> exists even on freestanding compilers.  */
96250
96251#ifdef __STDC__
96252# include <limits.h>
96253#else
96254# include <assert.h>
96255#endif
96256
96257#undef $ac_func
96258
96259/* Override any gcc2 internal prototype to avoid an error.  */
96260#ifdef __cplusplus
96261extern "C"
96262{
96263#endif
96264/* We use char because int might match the return type of a gcc2
96265   builtin and then its argument prototype would still apply.  */
96266char $ac_func ();
96267/* The GNU C library defines this for functions which it implements
96268    to always fail with ENOSYS.  Some functions are actually named
96269    something starting with __ and the normal name is an alias.  */
96270#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96271choke me
96272#else
96273char (*f) () = $ac_func;
96274#endif
96275#ifdef __cplusplus
96276}
96277#endif
96278
96279int
96280main ()
96281{
96282return f != $ac_func;
96283  ;
96284  return 0;
96285}
96286_ACEOF
96287rm -f conftest.$ac_objext conftest$ac_exeext
96288if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96289  (eval $ac_link) 2>conftest.er1
96290  ac_status=$?
96291  grep -v '^ *+' conftest.er1 >conftest.err
96292  rm -f conftest.er1
96293  cat conftest.err >&5
96294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295  (exit $ac_status); } &&
96296	 { ac_try='test -z "$ac_c_werror_flag"
96297			 || test ! -s conftest.err'
96298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96299  (eval $ac_try) 2>&5
96300  ac_status=$?
96301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96302  (exit $ac_status); }; } &&
96303	 { ac_try='test -s conftest$ac_exeext'
96304  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96305  (eval $ac_try) 2>&5
96306  ac_status=$?
96307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96308  (exit $ac_status); }; }; then
96309  eval "$as_ac_var=yes"
96310else
96311  echo "$as_me: failed program was:" >&5
96312sed 's/^/| /' conftest.$ac_ext >&5
96313
96314eval "$as_ac_var=no"
96315fi
96316rm -f conftest.err conftest.$ac_objext \
96317      conftest$ac_exeext conftest.$ac_ext
96318fi
96319echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96320echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96321if test `eval echo '${'$as_ac_var'}'` = yes; then
96322  cat >>confdefs.h <<_ACEOF
96323#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96324_ACEOF
96325
96326fi
96327done
96328
96329    fi
96330  fi
96331
96332
96333
96334
96335
96336  LIBS="$ac_save_LIBS"
96337  CXXFLAGS="$ac_save_CXXFLAGS"
96338
96339
96340
96341  echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96342echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96343  if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96344    if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96345  echo $ECHO_N "(cached) $ECHO_C" >&6
96346else
96347
96348
96349
96350      ac_ext=cc
96351ac_cpp='$CXXCPP $CPPFLAGS'
96352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96355
96356      cat >conftest.$ac_ext <<_ACEOF
96357/* confdefs.h.  */
96358_ACEOF
96359cat confdefs.h >>conftest.$ac_ext
96360cat >>conftest.$ac_ext <<_ACEOF
96361/* end confdefs.h.  */
96362#include <math.h>
96363int
96364main ()
96365{
96366 __builtin_abs(0);
96367  ;
96368  return 0;
96369}
96370_ACEOF
96371rm -f conftest.$ac_objext
96372if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96373  (eval $ac_compile) 2>conftest.er1
96374  ac_status=$?
96375  grep -v '^ *+' conftest.er1 >conftest.err
96376  rm -f conftest.er1
96377  cat conftest.err >&5
96378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96379  (exit $ac_status); } &&
96380	 { ac_try='test -z "$ac_cxx_werror_flag"
96381			 || test ! -s conftest.err'
96382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96383  (eval $ac_try) 2>&5
96384  ac_status=$?
96385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96386  (exit $ac_status); }; } &&
96387	 { ac_try='test -s conftest.$ac_objext'
96388  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96389  (eval $ac_try) 2>&5
96390  ac_status=$?
96391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96392  (exit $ac_status); }; }; then
96393  glibcxx_cv_func___builtin_abs_use=yes
96394else
96395  echo "$as_me: failed program was:" >&5
96396sed 's/^/| /' conftest.$ac_ext >&5
96397
96398glibcxx_cv_func___builtin_abs_use=no
96399fi
96400rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96401      ac_ext=c
96402ac_cpp='$CPP $CPPFLAGS'
96403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96405ac_compiler_gnu=$ac_cv_c_compiler_gnu
96406
96407
96408fi
96409
96410  fi
96411  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96412echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96413  if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96414    echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96415echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96416    if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96417      if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96418  echo $ECHO_N "(cached) $ECHO_C" >&6
96419else
96420
96421        if test x$gcc_no_link = xyes; then
96422  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96423echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96424   { (exit 1); exit 1; }; }
96425fi
96426cat >conftest.$ac_ext <<_ACEOF
96427/* confdefs.h.  */
96428_ACEOF
96429cat confdefs.h >>conftest.$ac_ext
96430cat >>conftest.$ac_ext <<_ACEOF
96431/* end confdefs.h.  */
96432#include <math.h>
96433int
96434main ()
96435{
96436 __builtin_abs(0);
96437  ;
96438  return 0;
96439}
96440_ACEOF
96441rm -f conftest.$ac_objext conftest$ac_exeext
96442if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96443  (eval $ac_link) 2>conftest.er1
96444  ac_status=$?
96445  grep -v '^ *+' conftest.er1 >conftest.err
96446  rm -f conftest.er1
96447  cat conftest.err >&5
96448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96449  (exit $ac_status); } &&
96450	 { ac_try='test -z "$ac_c_werror_flag"
96451			 || test ! -s conftest.err'
96452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96453  (eval $ac_try) 2>&5
96454  ac_status=$?
96455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96456  (exit $ac_status); }; } &&
96457	 { ac_try='test -s conftest$ac_exeext'
96458  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96459  (eval $ac_try) 2>&5
96460  ac_status=$?
96461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462  (exit $ac_status); }; }; then
96463  glibcxx_cv_func___builtin_abs_link=yes
96464else
96465  echo "$as_me: failed program was:" >&5
96466sed 's/^/| /' conftest.$ac_ext >&5
96467
96468glibcxx_cv_func___builtin_abs_link=no
96469fi
96470rm -f conftest.err conftest.$ac_objext \
96471      conftest$ac_exeext conftest.$ac_ext
96472
96473fi
96474
96475    fi
96476    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96477echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96478
96479    if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96480
96481cat >>confdefs.h <<\_ACEOF
96482#define HAVE___BUILTIN_ABS 1
96483_ACEOF
96484
96485    fi
96486
96487  fi
96488
96489
96490  echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96491echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96492  if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96493    if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96494  echo $ECHO_N "(cached) $ECHO_C" >&6
96495else
96496
96497
96498
96499      ac_ext=cc
96500ac_cpp='$CXXCPP $CPPFLAGS'
96501ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96502ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96503ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96504
96505      cat >conftest.$ac_ext <<_ACEOF
96506/* confdefs.h.  */
96507_ACEOF
96508cat confdefs.h >>conftest.$ac_ext
96509cat >>conftest.$ac_ext <<_ACEOF
96510/* end confdefs.h.  */
96511#include <math.h>
96512int
96513main ()
96514{
96515 __builtin_fabsf(0);
96516  ;
96517  return 0;
96518}
96519_ACEOF
96520rm -f conftest.$ac_objext
96521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96522  (eval $ac_compile) 2>conftest.er1
96523  ac_status=$?
96524  grep -v '^ *+' conftest.er1 >conftest.err
96525  rm -f conftest.er1
96526  cat conftest.err >&5
96527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96528  (exit $ac_status); } &&
96529	 { ac_try='test -z "$ac_cxx_werror_flag"
96530			 || test ! -s conftest.err'
96531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96532  (eval $ac_try) 2>&5
96533  ac_status=$?
96534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96535  (exit $ac_status); }; } &&
96536	 { ac_try='test -s conftest.$ac_objext'
96537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96538  (eval $ac_try) 2>&5
96539  ac_status=$?
96540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96541  (exit $ac_status); }; }; then
96542  glibcxx_cv_func___builtin_fabsf_use=yes
96543else
96544  echo "$as_me: failed program was:" >&5
96545sed 's/^/| /' conftest.$ac_ext >&5
96546
96547glibcxx_cv_func___builtin_fabsf_use=no
96548fi
96549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96550      ac_ext=c
96551ac_cpp='$CPP $CPPFLAGS'
96552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96554ac_compiler_gnu=$ac_cv_c_compiler_gnu
96555
96556
96557fi
96558
96559  fi
96560  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96561echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96562  if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96563    echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96564echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96565    if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96566      if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96567  echo $ECHO_N "(cached) $ECHO_C" >&6
96568else
96569
96570        if test x$gcc_no_link = xyes; then
96571  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96572echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96573   { (exit 1); exit 1; }; }
96574fi
96575cat >conftest.$ac_ext <<_ACEOF
96576/* confdefs.h.  */
96577_ACEOF
96578cat confdefs.h >>conftest.$ac_ext
96579cat >>conftest.$ac_ext <<_ACEOF
96580/* end confdefs.h.  */
96581#include <math.h>
96582int
96583main ()
96584{
96585 __builtin_fabsf(0);
96586  ;
96587  return 0;
96588}
96589_ACEOF
96590rm -f conftest.$ac_objext conftest$ac_exeext
96591if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96592  (eval $ac_link) 2>conftest.er1
96593  ac_status=$?
96594  grep -v '^ *+' conftest.er1 >conftest.err
96595  rm -f conftest.er1
96596  cat conftest.err >&5
96597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96598  (exit $ac_status); } &&
96599	 { ac_try='test -z "$ac_c_werror_flag"
96600			 || test ! -s conftest.err'
96601  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96602  (eval $ac_try) 2>&5
96603  ac_status=$?
96604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96605  (exit $ac_status); }; } &&
96606	 { ac_try='test -s conftest$ac_exeext'
96607  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96608  (eval $ac_try) 2>&5
96609  ac_status=$?
96610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96611  (exit $ac_status); }; }; then
96612  glibcxx_cv_func___builtin_fabsf_link=yes
96613else
96614  echo "$as_me: failed program was:" >&5
96615sed 's/^/| /' conftest.$ac_ext >&5
96616
96617glibcxx_cv_func___builtin_fabsf_link=no
96618fi
96619rm -f conftest.err conftest.$ac_objext \
96620      conftest$ac_exeext conftest.$ac_ext
96621
96622fi
96623
96624    fi
96625    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96626echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96627
96628    if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96629
96630cat >>confdefs.h <<\_ACEOF
96631#define HAVE___BUILTIN_FABSF 1
96632_ACEOF
96633
96634    fi
96635
96636  fi
96637
96638
96639  echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96640echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96641  if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96642    if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96643  echo $ECHO_N "(cached) $ECHO_C" >&6
96644else
96645
96646
96647
96648      ac_ext=cc
96649ac_cpp='$CXXCPP $CPPFLAGS'
96650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96653
96654      cat >conftest.$ac_ext <<_ACEOF
96655/* confdefs.h.  */
96656_ACEOF
96657cat confdefs.h >>conftest.$ac_ext
96658cat >>conftest.$ac_ext <<_ACEOF
96659/* end confdefs.h.  */
96660#include <math.h>
96661int
96662main ()
96663{
96664 __builtin_fabs(0);
96665  ;
96666  return 0;
96667}
96668_ACEOF
96669rm -f conftest.$ac_objext
96670if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96671  (eval $ac_compile) 2>conftest.er1
96672  ac_status=$?
96673  grep -v '^ *+' conftest.er1 >conftest.err
96674  rm -f conftest.er1
96675  cat conftest.err >&5
96676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96677  (exit $ac_status); } &&
96678	 { ac_try='test -z "$ac_cxx_werror_flag"
96679			 || test ! -s conftest.err'
96680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96681  (eval $ac_try) 2>&5
96682  ac_status=$?
96683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96684  (exit $ac_status); }; } &&
96685	 { ac_try='test -s conftest.$ac_objext'
96686  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96687  (eval $ac_try) 2>&5
96688  ac_status=$?
96689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96690  (exit $ac_status); }; }; then
96691  glibcxx_cv_func___builtin_fabs_use=yes
96692else
96693  echo "$as_me: failed program was:" >&5
96694sed 's/^/| /' conftest.$ac_ext >&5
96695
96696glibcxx_cv_func___builtin_fabs_use=no
96697fi
96698rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96699      ac_ext=c
96700ac_cpp='$CPP $CPPFLAGS'
96701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96703ac_compiler_gnu=$ac_cv_c_compiler_gnu
96704
96705
96706fi
96707
96708  fi
96709  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96710echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96711  if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96712    echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96713echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96714    if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96715      if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96716  echo $ECHO_N "(cached) $ECHO_C" >&6
96717else
96718
96719        if test x$gcc_no_link = xyes; then
96720  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96721echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96722   { (exit 1); exit 1; }; }
96723fi
96724cat >conftest.$ac_ext <<_ACEOF
96725/* confdefs.h.  */
96726_ACEOF
96727cat confdefs.h >>conftest.$ac_ext
96728cat >>conftest.$ac_ext <<_ACEOF
96729/* end confdefs.h.  */
96730#include <math.h>
96731int
96732main ()
96733{
96734 __builtin_fabs(0);
96735  ;
96736  return 0;
96737}
96738_ACEOF
96739rm -f conftest.$ac_objext conftest$ac_exeext
96740if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96741  (eval $ac_link) 2>conftest.er1
96742  ac_status=$?
96743  grep -v '^ *+' conftest.er1 >conftest.err
96744  rm -f conftest.er1
96745  cat conftest.err >&5
96746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96747  (exit $ac_status); } &&
96748	 { ac_try='test -z "$ac_c_werror_flag"
96749			 || test ! -s conftest.err'
96750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96751  (eval $ac_try) 2>&5
96752  ac_status=$?
96753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96754  (exit $ac_status); }; } &&
96755	 { ac_try='test -s conftest$ac_exeext'
96756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96757  (eval $ac_try) 2>&5
96758  ac_status=$?
96759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96760  (exit $ac_status); }; }; then
96761  glibcxx_cv_func___builtin_fabs_link=yes
96762else
96763  echo "$as_me: failed program was:" >&5
96764sed 's/^/| /' conftest.$ac_ext >&5
96765
96766glibcxx_cv_func___builtin_fabs_link=no
96767fi
96768rm -f conftest.err conftest.$ac_objext \
96769      conftest$ac_exeext conftest.$ac_ext
96770
96771fi
96772
96773    fi
96774    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96775echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96776
96777    if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96778
96779cat >>confdefs.h <<\_ACEOF
96780#define HAVE___BUILTIN_FABS 1
96781_ACEOF
96782
96783    fi
96784
96785  fi
96786
96787
96788  echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96789echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96790  if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96791    if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96792  echo $ECHO_N "(cached) $ECHO_C" >&6
96793else
96794
96795
96796
96797      ac_ext=cc
96798ac_cpp='$CXXCPP $CPPFLAGS'
96799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96802
96803      cat >conftest.$ac_ext <<_ACEOF
96804/* confdefs.h.  */
96805_ACEOF
96806cat confdefs.h >>conftest.$ac_ext
96807cat >>conftest.$ac_ext <<_ACEOF
96808/* end confdefs.h.  */
96809#include <math.h>
96810int
96811main ()
96812{
96813 __builtin_fabsl(0);
96814  ;
96815  return 0;
96816}
96817_ACEOF
96818rm -f conftest.$ac_objext
96819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96820  (eval $ac_compile) 2>conftest.er1
96821  ac_status=$?
96822  grep -v '^ *+' conftest.er1 >conftest.err
96823  rm -f conftest.er1
96824  cat conftest.err >&5
96825  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96826  (exit $ac_status); } &&
96827	 { ac_try='test -z "$ac_cxx_werror_flag"
96828			 || test ! -s conftest.err'
96829  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96830  (eval $ac_try) 2>&5
96831  ac_status=$?
96832  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96833  (exit $ac_status); }; } &&
96834	 { ac_try='test -s conftest.$ac_objext'
96835  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96836  (eval $ac_try) 2>&5
96837  ac_status=$?
96838  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96839  (exit $ac_status); }; }; then
96840  glibcxx_cv_func___builtin_fabsl_use=yes
96841else
96842  echo "$as_me: failed program was:" >&5
96843sed 's/^/| /' conftest.$ac_ext >&5
96844
96845glibcxx_cv_func___builtin_fabsl_use=no
96846fi
96847rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96848      ac_ext=c
96849ac_cpp='$CPP $CPPFLAGS'
96850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96852ac_compiler_gnu=$ac_cv_c_compiler_gnu
96853
96854
96855fi
96856
96857  fi
96858  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96859echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96860  if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96861    echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96862echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96863    if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96864      if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96865  echo $ECHO_N "(cached) $ECHO_C" >&6
96866else
96867
96868        if test x$gcc_no_link = xyes; then
96869  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96870echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96871   { (exit 1); exit 1; }; }
96872fi
96873cat >conftest.$ac_ext <<_ACEOF
96874/* confdefs.h.  */
96875_ACEOF
96876cat confdefs.h >>conftest.$ac_ext
96877cat >>conftest.$ac_ext <<_ACEOF
96878/* end confdefs.h.  */
96879#include <math.h>
96880int
96881main ()
96882{
96883 __builtin_fabsl(0);
96884  ;
96885  return 0;
96886}
96887_ACEOF
96888rm -f conftest.$ac_objext conftest$ac_exeext
96889if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96890  (eval $ac_link) 2>conftest.er1
96891  ac_status=$?
96892  grep -v '^ *+' conftest.er1 >conftest.err
96893  rm -f conftest.er1
96894  cat conftest.err >&5
96895  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96896  (exit $ac_status); } &&
96897	 { ac_try='test -z "$ac_c_werror_flag"
96898			 || test ! -s conftest.err'
96899  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96900  (eval $ac_try) 2>&5
96901  ac_status=$?
96902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96903  (exit $ac_status); }; } &&
96904	 { ac_try='test -s conftest$ac_exeext'
96905  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96906  (eval $ac_try) 2>&5
96907  ac_status=$?
96908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96909  (exit $ac_status); }; }; then
96910  glibcxx_cv_func___builtin_fabsl_link=yes
96911else
96912  echo "$as_me: failed program was:" >&5
96913sed 's/^/| /' conftest.$ac_ext >&5
96914
96915glibcxx_cv_func___builtin_fabsl_link=no
96916fi
96917rm -f conftest.err conftest.$ac_objext \
96918      conftest$ac_exeext conftest.$ac_ext
96919
96920fi
96921
96922    fi
96923    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96924echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96925
96926    if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96927
96928cat >>confdefs.h <<\_ACEOF
96929#define HAVE___BUILTIN_FABSL 1
96930_ACEOF
96931
96932    fi
96933
96934  fi
96935
96936
96937  echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96938echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96939  if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96940    if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96941  echo $ECHO_N "(cached) $ECHO_C" >&6
96942else
96943
96944
96945
96946      ac_ext=cc
96947ac_cpp='$CXXCPP $CPPFLAGS'
96948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96951
96952      cat >conftest.$ac_ext <<_ACEOF
96953/* confdefs.h.  */
96954_ACEOF
96955cat confdefs.h >>conftest.$ac_ext
96956cat >>conftest.$ac_ext <<_ACEOF
96957/* end confdefs.h.  */
96958#include <math.h>
96959int
96960main ()
96961{
96962 __builtin_labs(0);
96963  ;
96964  return 0;
96965}
96966_ACEOF
96967rm -f conftest.$ac_objext
96968if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96969  (eval $ac_compile) 2>conftest.er1
96970  ac_status=$?
96971  grep -v '^ *+' conftest.er1 >conftest.err
96972  rm -f conftest.er1
96973  cat conftest.err >&5
96974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96975  (exit $ac_status); } &&
96976	 { ac_try='test -z "$ac_cxx_werror_flag"
96977			 || test ! -s conftest.err'
96978  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96979  (eval $ac_try) 2>&5
96980  ac_status=$?
96981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96982  (exit $ac_status); }; } &&
96983	 { ac_try='test -s conftest.$ac_objext'
96984  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96985  (eval $ac_try) 2>&5
96986  ac_status=$?
96987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
96988  (exit $ac_status); }; }; then
96989  glibcxx_cv_func___builtin_labs_use=yes
96990else
96991  echo "$as_me: failed program was:" >&5
96992sed 's/^/| /' conftest.$ac_ext >&5
96993
96994glibcxx_cv_func___builtin_labs_use=no
96995fi
96996rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96997      ac_ext=c
96998ac_cpp='$CPP $CPPFLAGS'
96999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97001ac_compiler_gnu=$ac_cv_c_compiler_gnu
97002
97003
97004fi
97005
97006  fi
97007  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
97008echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
97009  if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
97010    echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
97011echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
97012    if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
97013      if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
97014  echo $ECHO_N "(cached) $ECHO_C" >&6
97015else
97016
97017        if test x$gcc_no_link = xyes; then
97018  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97019echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97020   { (exit 1); exit 1; }; }
97021fi
97022cat >conftest.$ac_ext <<_ACEOF
97023/* confdefs.h.  */
97024_ACEOF
97025cat confdefs.h >>conftest.$ac_ext
97026cat >>conftest.$ac_ext <<_ACEOF
97027/* end confdefs.h.  */
97028#include <math.h>
97029int
97030main ()
97031{
97032 __builtin_labs(0);
97033  ;
97034  return 0;
97035}
97036_ACEOF
97037rm -f conftest.$ac_objext conftest$ac_exeext
97038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97039  (eval $ac_link) 2>conftest.er1
97040  ac_status=$?
97041  grep -v '^ *+' conftest.er1 >conftest.err
97042  rm -f conftest.er1
97043  cat conftest.err >&5
97044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97045  (exit $ac_status); } &&
97046	 { ac_try='test -z "$ac_c_werror_flag"
97047			 || test ! -s conftest.err'
97048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97049  (eval $ac_try) 2>&5
97050  ac_status=$?
97051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97052  (exit $ac_status); }; } &&
97053	 { ac_try='test -s conftest$ac_exeext'
97054  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97055  (eval $ac_try) 2>&5
97056  ac_status=$?
97057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97058  (exit $ac_status); }; }; then
97059  glibcxx_cv_func___builtin_labs_link=yes
97060else
97061  echo "$as_me: failed program was:" >&5
97062sed 's/^/| /' conftest.$ac_ext >&5
97063
97064glibcxx_cv_func___builtin_labs_link=no
97065fi
97066rm -f conftest.err conftest.$ac_objext \
97067      conftest$ac_exeext conftest.$ac_ext
97068
97069fi
97070
97071    fi
97072    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
97073echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
97074
97075    if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
97076
97077cat >>confdefs.h <<\_ACEOF
97078#define HAVE___BUILTIN_LABS 1
97079_ACEOF
97080
97081    fi
97082
97083  fi
97084
97085
97086
97087  echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
97088echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
97089  if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
97090    if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
97091  echo $ECHO_N "(cached) $ECHO_C" >&6
97092else
97093
97094
97095
97096      ac_ext=cc
97097ac_cpp='$CXXCPP $CPPFLAGS'
97098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97101
97102      cat >conftest.$ac_ext <<_ACEOF
97103/* confdefs.h.  */
97104_ACEOF
97105cat confdefs.h >>conftest.$ac_ext
97106cat >>conftest.$ac_ext <<_ACEOF
97107/* end confdefs.h.  */
97108#include <math.h>
97109int
97110main ()
97111{
97112 __builtin_sqrtf(0);
97113  ;
97114  return 0;
97115}
97116_ACEOF
97117rm -f conftest.$ac_objext
97118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97119  (eval $ac_compile) 2>conftest.er1
97120  ac_status=$?
97121  grep -v '^ *+' conftest.er1 >conftest.err
97122  rm -f conftest.er1
97123  cat conftest.err >&5
97124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97125  (exit $ac_status); } &&
97126	 { ac_try='test -z "$ac_cxx_werror_flag"
97127			 || test ! -s conftest.err'
97128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97129  (eval $ac_try) 2>&5
97130  ac_status=$?
97131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97132  (exit $ac_status); }; } &&
97133	 { ac_try='test -s conftest.$ac_objext'
97134  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97135  (eval $ac_try) 2>&5
97136  ac_status=$?
97137  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97138  (exit $ac_status); }; }; then
97139  glibcxx_cv_func___builtin_sqrtf_use=yes
97140else
97141  echo "$as_me: failed program was:" >&5
97142sed 's/^/| /' conftest.$ac_ext >&5
97143
97144glibcxx_cv_func___builtin_sqrtf_use=no
97145fi
97146rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97147      ac_ext=c
97148ac_cpp='$CPP $CPPFLAGS'
97149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97151ac_compiler_gnu=$ac_cv_c_compiler_gnu
97152
97153
97154fi
97155
97156  fi
97157  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
97158echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
97159  if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
97160    echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
97161echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
97162    if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
97163      if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
97164  echo $ECHO_N "(cached) $ECHO_C" >&6
97165else
97166
97167        if test x$gcc_no_link = xyes; then
97168  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97169echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97170   { (exit 1); exit 1; }; }
97171fi
97172cat >conftest.$ac_ext <<_ACEOF
97173/* confdefs.h.  */
97174_ACEOF
97175cat confdefs.h >>conftest.$ac_ext
97176cat >>conftest.$ac_ext <<_ACEOF
97177/* end confdefs.h.  */
97178#include <math.h>
97179int
97180main ()
97181{
97182 __builtin_sqrtf(0);
97183  ;
97184  return 0;
97185}
97186_ACEOF
97187rm -f conftest.$ac_objext conftest$ac_exeext
97188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97189  (eval $ac_link) 2>conftest.er1
97190  ac_status=$?
97191  grep -v '^ *+' conftest.er1 >conftest.err
97192  rm -f conftest.er1
97193  cat conftest.err >&5
97194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97195  (exit $ac_status); } &&
97196	 { ac_try='test -z "$ac_c_werror_flag"
97197			 || test ! -s conftest.err'
97198  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97199  (eval $ac_try) 2>&5
97200  ac_status=$?
97201  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97202  (exit $ac_status); }; } &&
97203	 { ac_try='test -s conftest$ac_exeext'
97204  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97205  (eval $ac_try) 2>&5
97206  ac_status=$?
97207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97208  (exit $ac_status); }; }; then
97209  glibcxx_cv_func___builtin_sqrtf_link=yes
97210else
97211  echo "$as_me: failed program was:" >&5
97212sed 's/^/| /' conftest.$ac_ext >&5
97213
97214glibcxx_cv_func___builtin_sqrtf_link=no
97215fi
97216rm -f conftest.err conftest.$ac_objext \
97217      conftest$ac_exeext conftest.$ac_ext
97218
97219fi
97220
97221    fi
97222    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97223echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97224
97225    if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97226
97227cat >>confdefs.h <<\_ACEOF
97228#define HAVE___BUILTIN_SQRTF 1
97229_ACEOF
97230
97231    fi
97232
97233  fi
97234
97235
97236  echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97237echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97238  if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97239    if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97240  echo $ECHO_N "(cached) $ECHO_C" >&6
97241else
97242
97243
97244
97245      ac_ext=cc
97246ac_cpp='$CXXCPP $CPPFLAGS'
97247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97250
97251      cat >conftest.$ac_ext <<_ACEOF
97252/* confdefs.h.  */
97253_ACEOF
97254cat confdefs.h >>conftest.$ac_ext
97255cat >>conftest.$ac_ext <<_ACEOF
97256/* end confdefs.h.  */
97257#include <math.h>
97258int
97259main ()
97260{
97261 __builtin_sqrt(0);
97262  ;
97263  return 0;
97264}
97265_ACEOF
97266rm -f conftest.$ac_objext
97267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97268  (eval $ac_compile) 2>conftest.er1
97269  ac_status=$?
97270  grep -v '^ *+' conftest.er1 >conftest.err
97271  rm -f conftest.er1
97272  cat conftest.err >&5
97273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97274  (exit $ac_status); } &&
97275	 { ac_try='test -z "$ac_cxx_werror_flag"
97276			 || test ! -s conftest.err'
97277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97278  (eval $ac_try) 2>&5
97279  ac_status=$?
97280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97281  (exit $ac_status); }; } &&
97282	 { ac_try='test -s conftest.$ac_objext'
97283  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97284  (eval $ac_try) 2>&5
97285  ac_status=$?
97286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97287  (exit $ac_status); }; }; then
97288  glibcxx_cv_func___builtin_sqrt_use=yes
97289else
97290  echo "$as_me: failed program was:" >&5
97291sed 's/^/| /' conftest.$ac_ext >&5
97292
97293glibcxx_cv_func___builtin_sqrt_use=no
97294fi
97295rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97296      ac_ext=c
97297ac_cpp='$CPP $CPPFLAGS'
97298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97300ac_compiler_gnu=$ac_cv_c_compiler_gnu
97301
97302
97303fi
97304
97305  fi
97306  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97307echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97308  if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97309    echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97310echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97311    if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97312      if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97313  echo $ECHO_N "(cached) $ECHO_C" >&6
97314else
97315
97316        if test x$gcc_no_link = xyes; then
97317  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97318echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97319   { (exit 1); exit 1; }; }
97320fi
97321cat >conftest.$ac_ext <<_ACEOF
97322/* confdefs.h.  */
97323_ACEOF
97324cat confdefs.h >>conftest.$ac_ext
97325cat >>conftest.$ac_ext <<_ACEOF
97326/* end confdefs.h.  */
97327#include <math.h>
97328int
97329main ()
97330{
97331 __builtin_sqrt(0);
97332  ;
97333  return 0;
97334}
97335_ACEOF
97336rm -f conftest.$ac_objext conftest$ac_exeext
97337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97338  (eval $ac_link) 2>conftest.er1
97339  ac_status=$?
97340  grep -v '^ *+' conftest.er1 >conftest.err
97341  rm -f conftest.er1
97342  cat conftest.err >&5
97343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97344  (exit $ac_status); } &&
97345	 { ac_try='test -z "$ac_c_werror_flag"
97346			 || test ! -s conftest.err'
97347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97348  (eval $ac_try) 2>&5
97349  ac_status=$?
97350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97351  (exit $ac_status); }; } &&
97352	 { ac_try='test -s conftest$ac_exeext'
97353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97354  (eval $ac_try) 2>&5
97355  ac_status=$?
97356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97357  (exit $ac_status); }; }; then
97358  glibcxx_cv_func___builtin_sqrt_link=yes
97359else
97360  echo "$as_me: failed program was:" >&5
97361sed 's/^/| /' conftest.$ac_ext >&5
97362
97363glibcxx_cv_func___builtin_sqrt_link=no
97364fi
97365rm -f conftest.err conftest.$ac_objext \
97366      conftest$ac_exeext conftest.$ac_ext
97367
97368fi
97369
97370    fi
97371    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97372echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97373
97374    if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97375
97376cat >>confdefs.h <<\_ACEOF
97377#define HAVE___BUILTIN_SQRT 1
97378_ACEOF
97379
97380    fi
97381
97382  fi
97383
97384
97385  echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97386echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97387  if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97388    if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97389  echo $ECHO_N "(cached) $ECHO_C" >&6
97390else
97391
97392
97393
97394      ac_ext=cc
97395ac_cpp='$CXXCPP $CPPFLAGS'
97396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97397ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97398ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97399
97400      cat >conftest.$ac_ext <<_ACEOF
97401/* confdefs.h.  */
97402_ACEOF
97403cat confdefs.h >>conftest.$ac_ext
97404cat >>conftest.$ac_ext <<_ACEOF
97405/* end confdefs.h.  */
97406#include <math.h>
97407int
97408main ()
97409{
97410 __builtin_sqrtl(0);
97411  ;
97412  return 0;
97413}
97414_ACEOF
97415rm -f conftest.$ac_objext
97416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97417  (eval $ac_compile) 2>conftest.er1
97418  ac_status=$?
97419  grep -v '^ *+' conftest.er1 >conftest.err
97420  rm -f conftest.er1
97421  cat conftest.err >&5
97422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97423  (exit $ac_status); } &&
97424	 { ac_try='test -z "$ac_cxx_werror_flag"
97425			 || test ! -s conftest.err'
97426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97427  (eval $ac_try) 2>&5
97428  ac_status=$?
97429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97430  (exit $ac_status); }; } &&
97431	 { ac_try='test -s conftest.$ac_objext'
97432  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97433  (eval $ac_try) 2>&5
97434  ac_status=$?
97435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97436  (exit $ac_status); }; }; then
97437  glibcxx_cv_func___builtin_sqrtl_use=yes
97438else
97439  echo "$as_me: failed program was:" >&5
97440sed 's/^/| /' conftest.$ac_ext >&5
97441
97442glibcxx_cv_func___builtin_sqrtl_use=no
97443fi
97444rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97445      ac_ext=c
97446ac_cpp='$CPP $CPPFLAGS'
97447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97449ac_compiler_gnu=$ac_cv_c_compiler_gnu
97450
97451
97452fi
97453
97454  fi
97455  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97456echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97457  if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97458    echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97459echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97460    if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97461      if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97462  echo $ECHO_N "(cached) $ECHO_C" >&6
97463else
97464
97465        if test x$gcc_no_link = xyes; then
97466  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97467echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97468   { (exit 1); exit 1; }; }
97469fi
97470cat >conftest.$ac_ext <<_ACEOF
97471/* confdefs.h.  */
97472_ACEOF
97473cat confdefs.h >>conftest.$ac_ext
97474cat >>conftest.$ac_ext <<_ACEOF
97475/* end confdefs.h.  */
97476#include <math.h>
97477int
97478main ()
97479{
97480 __builtin_sqrtl(0);
97481  ;
97482  return 0;
97483}
97484_ACEOF
97485rm -f conftest.$ac_objext conftest$ac_exeext
97486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97487  (eval $ac_link) 2>conftest.er1
97488  ac_status=$?
97489  grep -v '^ *+' conftest.er1 >conftest.err
97490  rm -f conftest.er1
97491  cat conftest.err >&5
97492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97493  (exit $ac_status); } &&
97494	 { ac_try='test -z "$ac_c_werror_flag"
97495			 || test ! -s conftest.err'
97496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97497  (eval $ac_try) 2>&5
97498  ac_status=$?
97499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97500  (exit $ac_status); }; } &&
97501	 { ac_try='test -s conftest$ac_exeext'
97502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97503  (eval $ac_try) 2>&5
97504  ac_status=$?
97505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97506  (exit $ac_status); }; }; then
97507  glibcxx_cv_func___builtin_sqrtl_link=yes
97508else
97509  echo "$as_me: failed program was:" >&5
97510sed 's/^/| /' conftest.$ac_ext >&5
97511
97512glibcxx_cv_func___builtin_sqrtl_link=no
97513fi
97514rm -f conftest.err conftest.$ac_objext \
97515      conftest$ac_exeext conftest.$ac_ext
97516
97517fi
97518
97519    fi
97520    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97521echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97522
97523    if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97524
97525cat >>confdefs.h <<\_ACEOF
97526#define HAVE___BUILTIN_SQRTL 1
97527_ACEOF
97528
97529    fi
97530
97531  fi
97532
97533
97534
97535  echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97536echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97537  if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97538    if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97539  echo $ECHO_N "(cached) $ECHO_C" >&6
97540else
97541
97542
97543
97544      ac_ext=cc
97545ac_cpp='$CXXCPP $CPPFLAGS'
97546ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97547ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97548ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97549
97550      cat >conftest.$ac_ext <<_ACEOF
97551/* confdefs.h.  */
97552_ACEOF
97553cat confdefs.h >>conftest.$ac_ext
97554cat >>conftest.$ac_ext <<_ACEOF
97555/* end confdefs.h.  */
97556#include <math.h>
97557int
97558main ()
97559{
97560 __builtin_sinf(0);
97561  ;
97562  return 0;
97563}
97564_ACEOF
97565rm -f conftest.$ac_objext
97566if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97567  (eval $ac_compile) 2>conftest.er1
97568  ac_status=$?
97569  grep -v '^ *+' conftest.er1 >conftest.err
97570  rm -f conftest.er1
97571  cat conftest.err >&5
97572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97573  (exit $ac_status); } &&
97574	 { ac_try='test -z "$ac_cxx_werror_flag"
97575			 || test ! -s conftest.err'
97576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97577  (eval $ac_try) 2>&5
97578  ac_status=$?
97579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97580  (exit $ac_status); }; } &&
97581	 { ac_try='test -s conftest.$ac_objext'
97582  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97583  (eval $ac_try) 2>&5
97584  ac_status=$?
97585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97586  (exit $ac_status); }; }; then
97587  glibcxx_cv_func___builtin_sinf_use=yes
97588else
97589  echo "$as_me: failed program was:" >&5
97590sed 's/^/| /' conftest.$ac_ext >&5
97591
97592glibcxx_cv_func___builtin_sinf_use=no
97593fi
97594rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97595      ac_ext=c
97596ac_cpp='$CPP $CPPFLAGS'
97597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97599ac_compiler_gnu=$ac_cv_c_compiler_gnu
97600
97601
97602fi
97603
97604  fi
97605  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97606echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97607  if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97608    echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97609echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97610    if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97611      if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97612  echo $ECHO_N "(cached) $ECHO_C" >&6
97613else
97614
97615        if test x$gcc_no_link = xyes; then
97616  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97617echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97618   { (exit 1); exit 1; }; }
97619fi
97620cat >conftest.$ac_ext <<_ACEOF
97621/* confdefs.h.  */
97622_ACEOF
97623cat confdefs.h >>conftest.$ac_ext
97624cat >>conftest.$ac_ext <<_ACEOF
97625/* end confdefs.h.  */
97626#include <math.h>
97627int
97628main ()
97629{
97630 __builtin_sinf(0);
97631  ;
97632  return 0;
97633}
97634_ACEOF
97635rm -f conftest.$ac_objext conftest$ac_exeext
97636if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97637  (eval $ac_link) 2>conftest.er1
97638  ac_status=$?
97639  grep -v '^ *+' conftest.er1 >conftest.err
97640  rm -f conftest.er1
97641  cat conftest.err >&5
97642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97643  (exit $ac_status); } &&
97644	 { ac_try='test -z "$ac_c_werror_flag"
97645			 || test ! -s conftest.err'
97646  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97647  (eval $ac_try) 2>&5
97648  ac_status=$?
97649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97650  (exit $ac_status); }; } &&
97651	 { ac_try='test -s conftest$ac_exeext'
97652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97653  (eval $ac_try) 2>&5
97654  ac_status=$?
97655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97656  (exit $ac_status); }; }; then
97657  glibcxx_cv_func___builtin_sinf_link=yes
97658else
97659  echo "$as_me: failed program was:" >&5
97660sed 's/^/| /' conftest.$ac_ext >&5
97661
97662glibcxx_cv_func___builtin_sinf_link=no
97663fi
97664rm -f conftest.err conftest.$ac_objext \
97665      conftest$ac_exeext conftest.$ac_ext
97666
97667fi
97668
97669    fi
97670    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97671echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97672
97673    if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97674
97675cat >>confdefs.h <<\_ACEOF
97676#define HAVE___BUILTIN_SINF 1
97677_ACEOF
97678
97679    fi
97680
97681  fi
97682
97683
97684  echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97685echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97686  if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97687    if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97688  echo $ECHO_N "(cached) $ECHO_C" >&6
97689else
97690
97691
97692
97693      ac_ext=cc
97694ac_cpp='$CXXCPP $CPPFLAGS'
97695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97698
97699      cat >conftest.$ac_ext <<_ACEOF
97700/* confdefs.h.  */
97701_ACEOF
97702cat confdefs.h >>conftest.$ac_ext
97703cat >>conftest.$ac_ext <<_ACEOF
97704/* end confdefs.h.  */
97705#include <math.h>
97706int
97707main ()
97708{
97709 __builtin_sin(0);
97710  ;
97711  return 0;
97712}
97713_ACEOF
97714rm -f conftest.$ac_objext
97715if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97716  (eval $ac_compile) 2>conftest.er1
97717  ac_status=$?
97718  grep -v '^ *+' conftest.er1 >conftest.err
97719  rm -f conftest.er1
97720  cat conftest.err >&5
97721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97722  (exit $ac_status); } &&
97723	 { ac_try='test -z "$ac_cxx_werror_flag"
97724			 || test ! -s conftest.err'
97725  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97726  (eval $ac_try) 2>&5
97727  ac_status=$?
97728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97729  (exit $ac_status); }; } &&
97730	 { ac_try='test -s conftest.$ac_objext'
97731  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97732  (eval $ac_try) 2>&5
97733  ac_status=$?
97734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97735  (exit $ac_status); }; }; then
97736  glibcxx_cv_func___builtin_sin_use=yes
97737else
97738  echo "$as_me: failed program was:" >&5
97739sed 's/^/| /' conftest.$ac_ext >&5
97740
97741glibcxx_cv_func___builtin_sin_use=no
97742fi
97743rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97744      ac_ext=c
97745ac_cpp='$CPP $CPPFLAGS'
97746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97748ac_compiler_gnu=$ac_cv_c_compiler_gnu
97749
97750
97751fi
97752
97753  fi
97754  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97755echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97756  if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97757    echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97758echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97759    if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97760      if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97761  echo $ECHO_N "(cached) $ECHO_C" >&6
97762else
97763
97764        if test x$gcc_no_link = xyes; then
97765  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97766echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97767   { (exit 1); exit 1; }; }
97768fi
97769cat >conftest.$ac_ext <<_ACEOF
97770/* confdefs.h.  */
97771_ACEOF
97772cat confdefs.h >>conftest.$ac_ext
97773cat >>conftest.$ac_ext <<_ACEOF
97774/* end confdefs.h.  */
97775#include <math.h>
97776int
97777main ()
97778{
97779 __builtin_sin(0);
97780  ;
97781  return 0;
97782}
97783_ACEOF
97784rm -f conftest.$ac_objext conftest$ac_exeext
97785if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97786  (eval $ac_link) 2>conftest.er1
97787  ac_status=$?
97788  grep -v '^ *+' conftest.er1 >conftest.err
97789  rm -f conftest.er1
97790  cat conftest.err >&5
97791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97792  (exit $ac_status); } &&
97793	 { ac_try='test -z "$ac_c_werror_flag"
97794			 || test ! -s conftest.err'
97795  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97796  (eval $ac_try) 2>&5
97797  ac_status=$?
97798  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97799  (exit $ac_status); }; } &&
97800	 { ac_try='test -s conftest$ac_exeext'
97801  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97802  (eval $ac_try) 2>&5
97803  ac_status=$?
97804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97805  (exit $ac_status); }; }; then
97806  glibcxx_cv_func___builtin_sin_link=yes
97807else
97808  echo "$as_me: failed program was:" >&5
97809sed 's/^/| /' conftest.$ac_ext >&5
97810
97811glibcxx_cv_func___builtin_sin_link=no
97812fi
97813rm -f conftest.err conftest.$ac_objext \
97814      conftest$ac_exeext conftest.$ac_ext
97815
97816fi
97817
97818    fi
97819    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97820echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97821
97822    if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97823
97824cat >>confdefs.h <<\_ACEOF
97825#define HAVE___BUILTIN_SIN 1
97826_ACEOF
97827
97828    fi
97829
97830  fi
97831
97832
97833  echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97834echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97835  if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97836    if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97837  echo $ECHO_N "(cached) $ECHO_C" >&6
97838else
97839
97840
97841
97842      ac_ext=cc
97843ac_cpp='$CXXCPP $CPPFLAGS'
97844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97847
97848      cat >conftest.$ac_ext <<_ACEOF
97849/* confdefs.h.  */
97850_ACEOF
97851cat confdefs.h >>conftest.$ac_ext
97852cat >>conftest.$ac_ext <<_ACEOF
97853/* end confdefs.h.  */
97854#include <math.h>
97855int
97856main ()
97857{
97858 __builtin_sinl(0);
97859  ;
97860  return 0;
97861}
97862_ACEOF
97863rm -f conftest.$ac_objext
97864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97865  (eval $ac_compile) 2>conftest.er1
97866  ac_status=$?
97867  grep -v '^ *+' conftest.er1 >conftest.err
97868  rm -f conftest.er1
97869  cat conftest.err >&5
97870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97871  (exit $ac_status); } &&
97872	 { ac_try='test -z "$ac_cxx_werror_flag"
97873			 || test ! -s conftest.err'
97874  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97875  (eval $ac_try) 2>&5
97876  ac_status=$?
97877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97878  (exit $ac_status); }; } &&
97879	 { ac_try='test -s conftest.$ac_objext'
97880  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97881  (eval $ac_try) 2>&5
97882  ac_status=$?
97883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97884  (exit $ac_status); }; }; then
97885  glibcxx_cv_func___builtin_sinl_use=yes
97886else
97887  echo "$as_me: failed program was:" >&5
97888sed 's/^/| /' conftest.$ac_ext >&5
97889
97890glibcxx_cv_func___builtin_sinl_use=no
97891fi
97892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97893      ac_ext=c
97894ac_cpp='$CPP $CPPFLAGS'
97895ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97896ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97897ac_compiler_gnu=$ac_cv_c_compiler_gnu
97898
97899
97900fi
97901
97902  fi
97903  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97904echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97905  if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97906    echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97907echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97908    if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97909      if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97910  echo $ECHO_N "(cached) $ECHO_C" >&6
97911else
97912
97913        if test x$gcc_no_link = xyes; then
97914  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97915echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97916   { (exit 1); exit 1; }; }
97917fi
97918cat >conftest.$ac_ext <<_ACEOF
97919/* confdefs.h.  */
97920_ACEOF
97921cat confdefs.h >>conftest.$ac_ext
97922cat >>conftest.$ac_ext <<_ACEOF
97923/* end confdefs.h.  */
97924#include <math.h>
97925int
97926main ()
97927{
97928 __builtin_sinl(0);
97929  ;
97930  return 0;
97931}
97932_ACEOF
97933rm -f conftest.$ac_objext conftest$ac_exeext
97934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97935  (eval $ac_link) 2>conftest.er1
97936  ac_status=$?
97937  grep -v '^ *+' conftest.er1 >conftest.err
97938  rm -f conftest.er1
97939  cat conftest.err >&5
97940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97941  (exit $ac_status); } &&
97942	 { ac_try='test -z "$ac_c_werror_flag"
97943			 || test ! -s conftest.err'
97944  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97945  (eval $ac_try) 2>&5
97946  ac_status=$?
97947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97948  (exit $ac_status); }; } &&
97949	 { ac_try='test -s conftest$ac_exeext'
97950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97951  (eval $ac_try) 2>&5
97952  ac_status=$?
97953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97954  (exit $ac_status); }; }; then
97955  glibcxx_cv_func___builtin_sinl_link=yes
97956else
97957  echo "$as_me: failed program was:" >&5
97958sed 's/^/| /' conftest.$ac_ext >&5
97959
97960glibcxx_cv_func___builtin_sinl_link=no
97961fi
97962rm -f conftest.err conftest.$ac_objext \
97963      conftest$ac_exeext conftest.$ac_ext
97964
97965fi
97966
97967    fi
97968    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97969echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97970
97971    if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97972
97973cat >>confdefs.h <<\_ACEOF
97974#define HAVE___BUILTIN_SINL 1
97975_ACEOF
97976
97977    fi
97978
97979  fi
97980
97981
97982
97983  echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97984echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97985  if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97986    if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97987  echo $ECHO_N "(cached) $ECHO_C" >&6
97988else
97989
97990
97991
97992      ac_ext=cc
97993ac_cpp='$CXXCPP $CPPFLAGS'
97994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97997
97998      cat >conftest.$ac_ext <<_ACEOF
97999/* confdefs.h.  */
98000_ACEOF
98001cat confdefs.h >>conftest.$ac_ext
98002cat >>conftest.$ac_ext <<_ACEOF
98003/* end confdefs.h.  */
98004#include <math.h>
98005int
98006main ()
98007{
98008 __builtin_cosf(0);
98009  ;
98010  return 0;
98011}
98012_ACEOF
98013rm -f conftest.$ac_objext
98014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98015  (eval $ac_compile) 2>conftest.er1
98016  ac_status=$?
98017  grep -v '^ *+' conftest.er1 >conftest.err
98018  rm -f conftest.er1
98019  cat conftest.err >&5
98020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98021  (exit $ac_status); } &&
98022	 { ac_try='test -z "$ac_cxx_werror_flag"
98023			 || test ! -s conftest.err'
98024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98025  (eval $ac_try) 2>&5
98026  ac_status=$?
98027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98028  (exit $ac_status); }; } &&
98029	 { ac_try='test -s conftest.$ac_objext'
98030  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98031  (eval $ac_try) 2>&5
98032  ac_status=$?
98033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98034  (exit $ac_status); }; }; then
98035  glibcxx_cv_func___builtin_cosf_use=yes
98036else
98037  echo "$as_me: failed program was:" >&5
98038sed 's/^/| /' conftest.$ac_ext >&5
98039
98040glibcxx_cv_func___builtin_cosf_use=no
98041fi
98042rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98043      ac_ext=c
98044ac_cpp='$CPP $CPPFLAGS'
98045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98046ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98047ac_compiler_gnu=$ac_cv_c_compiler_gnu
98048
98049
98050fi
98051
98052  fi
98053  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
98054echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
98055  if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
98056    echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
98057echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
98058    if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
98059      if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
98060  echo $ECHO_N "(cached) $ECHO_C" >&6
98061else
98062
98063        if test x$gcc_no_link = xyes; then
98064  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98065echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98066   { (exit 1); exit 1; }; }
98067fi
98068cat >conftest.$ac_ext <<_ACEOF
98069/* confdefs.h.  */
98070_ACEOF
98071cat confdefs.h >>conftest.$ac_ext
98072cat >>conftest.$ac_ext <<_ACEOF
98073/* end confdefs.h.  */
98074#include <math.h>
98075int
98076main ()
98077{
98078 __builtin_cosf(0);
98079  ;
98080  return 0;
98081}
98082_ACEOF
98083rm -f conftest.$ac_objext conftest$ac_exeext
98084if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98085  (eval $ac_link) 2>conftest.er1
98086  ac_status=$?
98087  grep -v '^ *+' conftest.er1 >conftest.err
98088  rm -f conftest.er1
98089  cat conftest.err >&5
98090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98091  (exit $ac_status); } &&
98092	 { ac_try='test -z "$ac_c_werror_flag"
98093			 || test ! -s conftest.err'
98094  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98095  (eval $ac_try) 2>&5
98096  ac_status=$?
98097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98098  (exit $ac_status); }; } &&
98099	 { ac_try='test -s conftest$ac_exeext'
98100  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98101  (eval $ac_try) 2>&5
98102  ac_status=$?
98103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98104  (exit $ac_status); }; }; then
98105  glibcxx_cv_func___builtin_cosf_link=yes
98106else
98107  echo "$as_me: failed program was:" >&5
98108sed 's/^/| /' conftest.$ac_ext >&5
98109
98110glibcxx_cv_func___builtin_cosf_link=no
98111fi
98112rm -f conftest.err conftest.$ac_objext \
98113      conftest$ac_exeext conftest.$ac_ext
98114
98115fi
98116
98117    fi
98118    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
98119echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
98120
98121    if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
98122
98123cat >>confdefs.h <<\_ACEOF
98124#define HAVE___BUILTIN_COSF 1
98125_ACEOF
98126
98127    fi
98128
98129  fi
98130
98131
98132  echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
98133echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
98134  if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
98135    if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
98136  echo $ECHO_N "(cached) $ECHO_C" >&6
98137else
98138
98139
98140
98141      ac_ext=cc
98142ac_cpp='$CXXCPP $CPPFLAGS'
98143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98146
98147      cat >conftest.$ac_ext <<_ACEOF
98148/* confdefs.h.  */
98149_ACEOF
98150cat confdefs.h >>conftest.$ac_ext
98151cat >>conftest.$ac_ext <<_ACEOF
98152/* end confdefs.h.  */
98153#include <math.h>
98154int
98155main ()
98156{
98157 __builtin_cos(0);
98158  ;
98159  return 0;
98160}
98161_ACEOF
98162rm -f conftest.$ac_objext
98163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98164  (eval $ac_compile) 2>conftest.er1
98165  ac_status=$?
98166  grep -v '^ *+' conftest.er1 >conftest.err
98167  rm -f conftest.er1
98168  cat conftest.err >&5
98169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98170  (exit $ac_status); } &&
98171	 { ac_try='test -z "$ac_cxx_werror_flag"
98172			 || test ! -s conftest.err'
98173  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98174  (eval $ac_try) 2>&5
98175  ac_status=$?
98176  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98177  (exit $ac_status); }; } &&
98178	 { ac_try='test -s conftest.$ac_objext'
98179  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98180  (eval $ac_try) 2>&5
98181  ac_status=$?
98182  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98183  (exit $ac_status); }; }; then
98184  glibcxx_cv_func___builtin_cos_use=yes
98185else
98186  echo "$as_me: failed program was:" >&5
98187sed 's/^/| /' conftest.$ac_ext >&5
98188
98189glibcxx_cv_func___builtin_cos_use=no
98190fi
98191rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98192      ac_ext=c
98193ac_cpp='$CPP $CPPFLAGS'
98194ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98195ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98196ac_compiler_gnu=$ac_cv_c_compiler_gnu
98197
98198
98199fi
98200
98201  fi
98202  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98203echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98204  if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98205    echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98206echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98207    if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98208      if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98209  echo $ECHO_N "(cached) $ECHO_C" >&6
98210else
98211
98212        if test x$gcc_no_link = xyes; then
98213  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98214echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98215   { (exit 1); exit 1; }; }
98216fi
98217cat >conftest.$ac_ext <<_ACEOF
98218/* confdefs.h.  */
98219_ACEOF
98220cat confdefs.h >>conftest.$ac_ext
98221cat >>conftest.$ac_ext <<_ACEOF
98222/* end confdefs.h.  */
98223#include <math.h>
98224int
98225main ()
98226{
98227 __builtin_cos(0);
98228  ;
98229  return 0;
98230}
98231_ACEOF
98232rm -f conftest.$ac_objext conftest$ac_exeext
98233if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98234  (eval $ac_link) 2>conftest.er1
98235  ac_status=$?
98236  grep -v '^ *+' conftest.er1 >conftest.err
98237  rm -f conftest.er1
98238  cat conftest.err >&5
98239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98240  (exit $ac_status); } &&
98241	 { ac_try='test -z "$ac_c_werror_flag"
98242			 || test ! -s conftest.err'
98243  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98244  (eval $ac_try) 2>&5
98245  ac_status=$?
98246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98247  (exit $ac_status); }; } &&
98248	 { ac_try='test -s conftest$ac_exeext'
98249  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98250  (eval $ac_try) 2>&5
98251  ac_status=$?
98252  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98253  (exit $ac_status); }; }; then
98254  glibcxx_cv_func___builtin_cos_link=yes
98255else
98256  echo "$as_me: failed program was:" >&5
98257sed 's/^/| /' conftest.$ac_ext >&5
98258
98259glibcxx_cv_func___builtin_cos_link=no
98260fi
98261rm -f conftest.err conftest.$ac_objext \
98262      conftest$ac_exeext conftest.$ac_ext
98263
98264fi
98265
98266    fi
98267    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98268echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98269
98270    if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98271
98272cat >>confdefs.h <<\_ACEOF
98273#define HAVE___BUILTIN_COS 1
98274_ACEOF
98275
98276    fi
98277
98278  fi
98279
98280
98281  echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98282echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98283  if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98284    if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98285  echo $ECHO_N "(cached) $ECHO_C" >&6
98286else
98287
98288
98289
98290      ac_ext=cc
98291ac_cpp='$CXXCPP $CPPFLAGS'
98292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98295
98296      cat >conftest.$ac_ext <<_ACEOF
98297/* confdefs.h.  */
98298_ACEOF
98299cat confdefs.h >>conftest.$ac_ext
98300cat >>conftest.$ac_ext <<_ACEOF
98301/* end confdefs.h.  */
98302#include <math.h>
98303int
98304main ()
98305{
98306 __builtin_cosl(0);
98307  ;
98308  return 0;
98309}
98310_ACEOF
98311rm -f conftest.$ac_objext
98312if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98313  (eval $ac_compile) 2>conftest.er1
98314  ac_status=$?
98315  grep -v '^ *+' conftest.er1 >conftest.err
98316  rm -f conftest.er1
98317  cat conftest.err >&5
98318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98319  (exit $ac_status); } &&
98320	 { ac_try='test -z "$ac_cxx_werror_flag"
98321			 || test ! -s conftest.err'
98322  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98323  (eval $ac_try) 2>&5
98324  ac_status=$?
98325  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98326  (exit $ac_status); }; } &&
98327	 { ac_try='test -s conftest.$ac_objext'
98328  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98329  (eval $ac_try) 2>&5
98330  ac_status=$?
98331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98332  (exit $ac_status); }; }; then
98333  glibcxx_cv_func___builtin_cosl_use=yes
98334else
98335  echo "$as_me: failed program was:" >&5
98336sed 's/^/| /' conftest.$ac_ext >&5
98337
98338glibcxx_cv_func___builtin_cosl_use=no
98339fi
98340rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98341      ac_ext=c
98342ac_cpp='$CPP $CPPFLAGS'
98343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98345ac_compiler_gnu=$ac_cv_c_compiler_gnu
98346
98347
98348fi
98349
98350  fi
98351  echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98352echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98353  if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98354    echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98355echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98356    if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98357      if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98358  echo $ECHO_N "(cached) $ECHO_C" >&6
98359else
98360
98361        if test x$gcc_no_link = xyes; then
98362  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98363echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98364   { (exit 1); exit 1; }; }
98365fi
98366cat >conftest.$ac_ext <<_ACEOF
98367/* confdefs.h.  */
98368_ACEOF
98369cat confdefs.h >>conftest.$ac_ext
98370cat >>conftest.$ac_ext <<_ACEOF
98371/* end confdefs.h.  */
98372#include <math.h>
98373int
98374main ()
98375{
98376 __builtin_cosl(0);
98377  ;
98378  return 0;
98379}
98380_ACEOF
98381rm -f conftest.$ac_objext conftest$ac_exeext
98382if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98383  (eval $ac_link) 2>conftest.er1
98384  ac_status=$?
98385  grep -v '^ *+' conftest.er1 >conftest.err
98386  rm -f conftest.er1
98387  cat conftest.err >&5
98388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98389  (exit $ac_status); } &&
98390	 { ac_try='test -z "$ac_c_werror_flag"
98391			 || test ! -s conftest.err'
98392  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98393  (eval $ac_try) 2>&5
98394  ac_status=$?
98395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98396  (exit $ac_status); }; } &&
98397	 { ac_try='test -s conftest$ac_exeext'
98398  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98399  (eval $ac_try) 2>&5
98400  ac_status=$?
98401  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98402  (exit $ac_status); }; }; then
98403  glibcxx_cv_func___builtin_cosl_link=yes
98404else
98405  echo "$as_me: failed program was:" >&5
98406sed 's/^/| /' conftest.$ac_ext >&5
98407
98408glibcxx_cv_func___builtin_cosl_link=no
98409fi
98410rm -f conftest.err conftest.$ac_objext \
98411      conftest$ac_exeext conftest.$ac_ext
98412
98413fi
98414
98415    fi
98416    echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98417echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98418
98419    if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98420
98421cat >>confdefs.h <<\_ACEOF
98422#define HAVE___BUILTIN_COSL 1
98423_ACEOF
98424
98425    fi
98426
98427  fi
98428
98429
98430
98431
98432echo "$as_me:$LINENO: checking for main in -lm" >&5
98433echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98434if test "${ac_cv_lib_m_main+set}" = set; then
98435  echo $ECHO_N "(cached) $ECHO_C" >&6
98436else
98437  ac_check_lib_save_LIBS=$LIBS
98438LIBS="-lm  $LIBS"
98439if test x$gcc_no_link = xyes; then
98440  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98441echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98442   { (exit 1); exit 1; }; }
98443fi
98444cat >conftest.$ac_ext <<_ACEOF
98445/* confdefs.h.  */
98446_ACEOF
98447cat confdefs.h >>conftest.$ac_ext
98448cat >>conftest.$ac_ext <<_ACEOF
98449/* end confdefs.h.  */
98450
98451
98452int
98453main ()
98454{
98455main ();
98456  ;
98457  return 0;
98458}
98459_ACEOF
98460rm -f conftest.$ac_objext conftest$ac_exeext
98461if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98462  (eval $ac_link) 2>conftest.er1
98463  ac_status=$?
98464  grep -v '^ *+' conftest.er1 >conftest.err
98465  rm -f conftest.er1
98466  cat conftest.err >&5
98467  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98468  (exit $ac_status); } &&
98469	 { ac_try='test -z "$ac_c_werror_flag"
98470			 || test ! -s conftest.err'
98471  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98472  (eval $ac_try) 2>&5
98473  ac_status=$?
98474  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98475  (exit $ac_status); }; } &&
98476	 { ac_try='test -s conftest$ac_exeext'
98477  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98478  (eval $ac_try) 2>&5
98479  ac_status=$?
98480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98481  (exit $ac_status); }; }; then
98482  ac_cv_lib_m_main=yes
98483else
98484  echo "$as_me: failed program was:" >&5
98485sed 's/^/| /' conftest.$ac_ext >&5
98486
98487ac_cv_lib_m_main=no
98488fi
98489rm -f conftest.err conftest.$ac_objext \
98490      conftest$ac_exeext conftest.$ac_ext
98491LIBS=$ac_check_lib_save_LIBS
98492fi
98493echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98494echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98495if test $ac_cv_lib_m_main = yes; then
98496  cat >>confdefs.h <<_ACEOF
98497#define HAVE_LIBM 1
98498_ACEOF
98499
98500  LIBS="-lm $LIBS"
98501
98502fi
98503
98504
98505for ac_func in copysignf
98506do
98507as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98508echo "$as_me:$LINENO: checking for $ac_func" >&5
98509echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98510if eval "test \"\${$as_ac_var+set}\" = set"; then
98511  echo $ECHO_N "(cached) $ECHO_C" >&6
98512else
98513  if test x$gcc_no_link = xyes; then
98514  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98515echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98516   { (exit 1); exit 1; }; }
98517fi
98518cat >conftest.$ac_ext <<_ACEOF
98519/* confdefs.h.  */
98520_ACEOF
98521cat confdefs.h >>conftest.$ac_ext
98522cat >>conftest.$ac_ext <<_ACEOF
98523/* end confdefs.h.  */
98524/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98525   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98526#define $ac_func innocuous_$ac_func
98527
98528/* System header to define __stub macros and hopefully few prototypes,
98529    which can conflict with char $ac_func (); below.
98530    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98531    <limits.h> exists even on freestanding compilers.  */
98532
98533#ifdef __STDC__
98534# include <limits.h>
98535#else
98536# include <assert.h>
98537#endif
98538
98539#undef $ac_func
98540
98541/* Override any gcc2 internal prototype to avoid an error.  */
98542#ifdef __cplusplus
98543extern "C"
98544{
98545#endif
98546/* We use char because int might match the return type of a gcc2
98547   builtin and then its argument prototype would still apply.  */
98548char $ac_func ();
98549/* The GNU C library defines this for functions which it implements
98550    to always fail with ENOSYS.  Some functions are actually named
98551    something starting with __ and the normal name is an alias.  */
98552#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98553choke me
98554#else
98555char (*f) () = $ac_func;
98556#endif
98557#ifdef __cplusplus
98558}
98559#endif
98560
98561int
98562main ()
98563{
98564return f != $ac_func;
98565  ;
98566  return 0;
98567}
98568_ACEOF
98569rm -f conftest.$ac_objext conftest$ac_exeext
98570if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98571  (eval $ac_link) 2>conftest.er1
98572  ac_status=$?
98573  grep -v '^ *+' conftest.er1 >conftest.err
98574  rm -f conftest.er1
98575  cat conftest.err >&5
98576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98577  (exit $ac_status); } &&
98578	 { ac_try='test -z "$ac_c_werror_flag"
98579			 || test ! -s conftest.err'
98580  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98581  (eval $ac_try) 2>&5
98582  ac_status=$?
98583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98584  (exit $ac_status); }; } &&
98585	 { ac_try='test -s conftest$ac_exeext'
98586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98587  (eval $ac_try) 2>&5
98588  ac_status=$?
98589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98590  (exit $ac_status); }; }; then
98591  eval "$as_ac_var=yes"
98592else
98593  echo "$as_me: failed program was:" >&5
98594sed 's/^/| /' conftest.$ac_ext >&5
98595
98596eval "$as_ac_var=no"
98597fi
98598rm -f conftest.err conftest.$ac_objext \
98599      conftest$ac_exeext conftest.$ac_ext
98600fi
98601echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98602echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98603if test `eval echo '${'$as_ac_var'}'` = yes; then
98604  cat >>confdefs.h <<_ACEOF
98605#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98606_ACEOF
98607
98608else
98609  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98610fi
98611done
98612
98613
98614
98615for ac_func in __signbit
98616do
98617as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98618echo "$as_me:$LINENO: checking for $ac_func" >&5
98619echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98620if eval "test \"\${$as_ac_var+set}\" = set"; then
98621  echo $ECHO_N "(cached) $ECHO_C" >&6
98622else
98623  if test x$gcc_no_link = xyes; then
98624  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98625echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98626   { (exit 1); exit 1; }; }
98627fi
98628cat >conftest.$ac_ext <<_ACEOF
98629/* confdefs.h.  */
98630_ACEOF
98631cat confdefs.h >>conftest.$ac_ext
98632cat >>conftest.$ac_ext <<_ACEOF
98633/* end confdefs.h.  */
98634/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98635   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98636#define $ac_func innocuous_$ac_func
98637
98638/* System header to define __stub macros and hopefully few prototypes,
98639    which can conflict with char $ac_func (); below.
98640    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98641    <limits.h> exists even on freestanding compilers.  */
98642
98643#ifdef __STDC__
98644# include <limits.h>
98645#else
98646# include <assert.h>
98647#endif
98648
98649#undef $ac_func
98650
98651/* Override any gcc2 internal prototype to avoid an error.  */
98652#ifdef __cplusplus
98653extern "C"
98654{
98655#endif
98656/* We use char because int might match the return type of a gcc2
98657   builtin and then its argument prototype would still apply.  */
98658char $ac_func ();
98659/* The GNU C library defines this for functions which it implements
98660    to always fail with ENOSYS.  Some functions are actually named
98661    something starting with __ and the normal name is an alias.  */
98662#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98663choke me
98664#else
98665char (*f) () = $ac_func;
98666#endif
98667#ifdef __cplusplus
98668}
98669#endif
98670
98671int
98672main ()
98673{
98674return f != $ac_func;
98675  ;
98676  return 0;
98677}
98678_ACEOF
98679rm -f conftest.$ac_objext conftest$ac_exeext
98680if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98681  (eval $ac_link) 2>conftest.er1
98682  ac_status=$?
98683  grep -v '^ *+' conftest.er1 >conftest.err
98684  rm -f conftest.er1
98685  cat conftest.err >&5
98686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98687  (exit $ac_status); } &&
98688	 { ac_try='test -z "$ac_c_werror_flag"
98689			 || test ! -s conftest.err'
98690  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98691  (eval $ac_try) 2>&5
98692  ac_status=$?
98693  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98694  (exit $ac_status); }; } &&
98695	 { ac_try='test -s conftest$ac_exeext'
98696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98697  (eval $ac_try) 2>&5
98698  ac_status=$?
98699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98700  (exit $ac_status); }; }; then
98701  eval "$as_ac_var=yes"
98702else
98703  echo "$as_me: failed program was:" >&5
98704sed 's/^/| /' conftest.$ac_ext >&5
98705
98706eval "$as_ac_var=no"
98707fi
98708rm -f conftest.err conftest.$ac_objext \
98709      conftest$ac_exeext conftest.$ac_ext
98710fi
98711echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98712echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98713if test `eval echo '${'$as_ac_var'}'` = yes; then
98714  cat >>confdefs.h <<_ACEOF
98715#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98716_ACEOF
98717
98718else
98719  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98720fi
98721done
98722
98723
98724
98725for ac_func in __signbitf
98726do
98727as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98728echo "$as_me:$LINENO: checking for $ac_func" >&5
98729echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98730if eval "test \"\${$as_ac_var+set}\" = set"; then
98731  echo $ECHO_N "(cached) $ECHO_C" >&6
98732else
98733  if test x$gcc_no_link = xyes; then
98734  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98735echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98736   { (exit 1); exit 1; }; }
98737fi
98738cat >conftest.$ac_ext <<_ACEOF
98739/* confdefs.h.  */
98740_ACEOF
98741cat confdefs.h >>conftest.$ac_ext
98742cat >>conftest.$ac_ext <<_ACEOF
98743/* end confdefs.h.  */
98744/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98746#define $ac_func innocuous_$ac_func
98747
98748/* System header to define __stub macros and hopefully few prototypes,
98749    which can conflict with char $ac_func (); below.
98750    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98751    <limits.h> exists even on freestanding compilers.  */
98752
98753#ifdef __STDC__
98754# include <limits.h>
98755#else
98756# include <assert.h>
98757#endif
98758
98759#undef $ac_func
98760
98761/* Override any gcc2 internal prototype to avoid an error.  */
98762#ifdef __cplusplus
98763extern "C"
98764{
98765#endif
98766/* We use char because int might match the return type of a gcc2
98767   builtin and then its argument prototype would still apply.  */
98768char $ac_func ();
98769/* The GNU C library defines this for functions which it implements
98770    to always fail with ENOSYS.  Some functions are actually named
98771    something starting with __ and the normal name is an alias.  */
98772#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98773choke me
98774#else
98775char (*f) () = $ac_func;
98776#endif
98777#ifdef __cplusplus
98778}
98779#endif
98780
98781int
98782main ()
98783{
98784return f != $ac_func;
98785  ;
98786  return 0;
98787}
98788_ACEOF
98789rm -f conftest.$ac_objext conftest$ac_exeext
98790if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98791  (eval $ac_link) 2>conftest.er1
98792  ac_status=$?
98793  grep -v '^ *+' conftest.er1 >conftest.err
98794  rm -f conftest.er1
98795  cat conftest.err >&5
98796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98797  (exit $ac_status); } &&
98798	 { ac_try='test -z "$ac_c_werror_flag"
98799			 || test ! -s conftest.err'
98800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98801  (eval $ac_try) 2>&5
98802  ac_status=$?
98803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98804  (exit $ac_status); }; } &&
98805	 { ac_try='test -s conftest$ac_exeext'
98806  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98807  (eval $ac_try) 2>&5
98808  ac_status=$?
98809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98810  (exit $ac_status); }; }; then
98811  eval "$as_ac_var=yes"
98812else
98813  echo "$as_me: failed program was:" >&5
98814sed 's/^/| /' conftest.$ac_ext >&5
98815
98816eval "$as_ac_var=no"
98817fi
98818rm -f conftest.err conftest.$ac_objext \
98819      conftest$ac_exeext conftest.$ac_ext
98820fi
98821echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98822echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98823if test `eval echo '${'$as_ac_var'}'` = yes; then
98824  cat >>confdefs.h <<_ACEOF
98825#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98826_ACEOF
98827
98828else
98829  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98830fi
98831done
98832
98833
98834          if test x$ac_cv_func_copysignl = x"yes"; then
98835
98836for ac_func in __signbitl
98837do
98838as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98839echo "$as_me:$LINENO: checking for $ac_func" >&5
98840echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98841if eval "test \"\${$as_ac_var+set}\" = set"; then
98842  echo $ECHO_N "(cached) $ECHO_C" >&6
98843else
98844  if test x$gcc_no_link = xyes; then
98845  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98846echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98847   { (exit 1); exit 1; }; }
98848fi
98849cat >conftest.$ac_ext <<_ACEOF
98850/* confdefs.h.  */
98851_ACEOF
98852cat confdefs.h >>conftest.$ac_ext
98853cat >>conftest.$ac_ext <<_ACEOF
98854/* end confdefs.h.  */
98855/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98856   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98857#define $ac_func innocuous_$ac_func
98858
98859/* System header to define __stub macros and hopefully few prototypes,
98860    which can conflict with char $ac_func (); below.
98861    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98862    <limits.h> exists even on freestanding compilers.  */
98863
98864#ifdef __STDC__
98865# include <limits.h>
98866#else
98867# include <assert.h>
98868#endif
98869
98870#undef $ac_func
98871
98872/* Override any gcc2 internal prototype to avoid an error.  */
98873#ifdef __cplusplus
98874extern "C"
98875{
98876#endif
98877/* We use char because int might match the return type of a gcc2
98878   builtin and then its argument prototype would still apply.  */
98879char $ac_func ();
98880/* The GNU C library defines this for functions which it implements
98881    to always fail with ENOSYS.  Some functions are actually named
98882    something starting with __ and the normal name is an alias.  */
98883#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98884choke me
98885#else
98886char (*f) () = $ac_func;
98887#endif
98888#ifdef __cplusplus
98889}
98890#endif
98891
98892int
98893main ()
98894{
98895return f != $ac_func;
98896  ;
98897  return 0;
98898}
98899_ACEOF
98900rm -f conftest.$ac_objext conftest$ac_exeext
98901if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98902  (eval $ac_link) 2>conftest.er1
98903  ac_status=$?
98904  grep -v '^ *+' conftest.er1 >conftest.err
98905  rm -f conftest.er1
98906  cat conftest.err >&5
98907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98908  (exit $ac_status); } &&
98909	 { ac_try='test -z "$ac_c_werror_flag"
98910			 || test ! -s conftest.err'
98911  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98912  (eval $ac_try) 2>&5
98913  ac_status=$?
98914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98915  (exit $ac_status); }; } &&
98916	 { ac_try='test -s conftest$ac_exeext'
98917  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98918  (eval $ac_try) 2>&5
98919  ac_status=$?
98920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98921  (exit $ac_status); }; }; then
98922  eval "$as_ac_var=yes"
98923else
98924  echo "$as_me: failed program was:" >&5
98925sed 's/^/| /' conftest.$ac_ext >&5
98926
98927eval "$as_ac_var=no"
98928fi
98929rm -f conftest.err conftest.$ac_objext \
98930      conftest$ac_exeext conftest.$ac_ext
98931fi
98932echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98933echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98934if test `eval echo '${'$as_ac_var'}'` = yes; then
98935  cat >>confdefs.h <<_ACEOF
98936#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98937_ACEOF
98938
98939else
98940  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98941fi
98942done
98943
98944  fi
98945
98946  # Used in libmath/Makefile.am.
98947  if test -n "$LIBMATHOBJS"; then
98948    need_libmath=yes
98949  fi
98950
98951
98952
98953
98954  enable_iconv=no
98955  # Only continue checking if the ISO C99 headers exist and support is on.
98956  if test x"$enable_wchar_t" = xyes; then
98957
98958    # Use iconv for wchar_t to char conversions. As such, check for
98959    # X/Open Portability Guide, version 2 features (XPG2).
98960    if test "${ac_cv_header_iconv_h+set}" = set; then
98961  echo "$as_me:$LINENO: checking for iconv.h" >&5
98962echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98963if test "${ac_cv_header_iconv_h+set}" = set; then
98964  echo $ECHO_N "(cached) $ECHO_C" >&6
98965fi
98966echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98967echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98968else
98969  # Is the header compilable?
98970echo "$as_me:$LINENO: checking iconv.h usability" >&5
98971echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98972cat >conftest.$ac_ext <<_ACEOF
98973/* confdefs.h.  */
98974_ACEOF
98975cat confdefs.h >>conftest.$ac_ext
98976cat >>conftest.$ac_ext <<_ACEOF
98977/* end confdefs.h.  */
98978$ac_includes_default
98979#include <iconv.h>
98980_ACEOF
98981rm -f conftest.$ac_objext
98982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98983  (eval $ac_compile) 2>conftest.er1
98984  ac_status=$?
98985  grep -v '^ *+' conftest.er1 >conftest.err
98986  rm -f conftest.er1
98987  cat conftest.err >&5
98988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98989  (exit $ac_status); } &&
98990	 { ac_try='test -z "$ac_c_werror_flag"
98991			 || test ! -s conftest.err'
98992  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98993  (eval $ac_try) 2>&5
98994  ac_status=$?
98995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
98996  (exit $ac_status); }; } &&
98997	 { ac_try='test -s conftest.$ac_objext'
98998  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98999  (eval $ac_try) 2>&5
99000  ac_status=$?
99001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99002  (exit $ac_status); }; }; then
99003  ac_header_compiler=yes
99004else
99005  echo "$as_me: failed program was:" >&5
99006sed 's/^/| /' conftest.$ac_ext >&5
99007
99008ac_header_compiler=no
99009fi
99010rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99011echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99012echo "${ECHO_T}$ac_header_compiler" >&6
99013
99014# Is the header present?
99015echo "$as_me:$LINENO: checking iconv.h presence" >&5
99016echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
99017cat >conftest.$ac_ext <<_ACEOF
99018/* confdefs.h.  */
99019_ACEOF
99020cat confdefs.h >>conftest.$ac_ext
99021cat >>conftest.$ac_ext <<_ACEOF
99022/* end confdefs.h.  */
99023#include <iconv.h>
99024_ACEOF
99025if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99026  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99027  ac_status=$?
99028  grep -v '^ *+' conftest.er1 >conftest.err
99029  rm -f conftest.er1
99030  cat conftest.err >&5
99031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99032  (exit $ac_status); } >/dev/null; then
99033  if test -s conftest.err; then
99034    ac_cpp_err=$ac_c_preproc_warn_flag
99035    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99036  else
99037    ac_cpp_err=
99038  fi
99039else
99040  ac_cpp_err=yes
99041fi
99042if test -z "$ac_cpp_err"; then
99043  ac_header_preproc=yes
99044else
99045  echo "$as_me: failed program was:" >&5
99046sed 's/^/| /' conftest.$ac_ext >&5
99047
99048  ac_header_preproc=no
99049fi
99050rm -f conftest.err conftest.$ac_ext
99051echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99052echo "${ECHO_T}$ac_header_preproc" >&6
99053
99054# So?  What about this header?
99055case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99056  yes:no: )
99057    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
99058echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99059    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
99060echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
99061    ac_header_preproc=yes
99062    ;;
99063  no:yes:* )
99064    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
99065echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
99066    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
99067echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
99068    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
99069echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
99070    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
99071echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
99072    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
99073echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
99074    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
99075echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
99076    (
99077      cat <<\_ASBOX
99078## ----------------------------------------- ##
99079## Report this to the package-unused lists.  ##
99080## ----------------------------------------- ##
99081_ASBOX
99082    ) |
99083      sed "s/^/$as_me: WARNING:     /" >&2
99084    ;;
99085esac
99086echo "$as_me:$LINENO: checking for iconv.h" >&5
99087echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
99088if test "${ac_cv_header_iconv_h+set}" = set; then
99089  echo $ECHO_N "(cached) $ECHO_C" >&6
99090else
99091  ac_cv_header_iconv_h=$ac_header_preproc
99092fi
99093echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
99094echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
99095
99096fi
99097if test $ac_cv_header_iconv_h = yes; then
99098  ac_has_iconv_h=yes
99099else
99100  ac_has_iconv_h=no
99101fi
99102
99103
99104    if test "${ac_cv_header_langinfo_h+set}" = set; then
99105  echo "$as_me:$LINENO: checking for langinfo.h" >&5
99106echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99107if test "${ac_cv_header_langinfo_h+set}" = set; then
99108  echo $ECHO_N "(cached) $ECHO_C" >&6
99109fi
99110echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99111echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99112else
99113  # Is the header compilable?
99114echo "$as_me:$LINENO: checking langinfo.h usability" >&5
99115echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
99116cat >conftest.$ac_ext <<_ACEOF
99117/* confdefs.h.  */
99118_ACEOF
99119cat confdefs.h >>conftest.$ac_ext
99120cat >>conftest.$ac_ext <<_ACEOF
99121/* end confdefs.h.  */
99122$ac_includes_default
99123#include <langinfo.h>
99124_ACEOF
99125rm -f conftest.$ac_objext
99126if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99127  (eval $ac_compile) 2>conftest.er1
99128  ac_status=$?
99129  grep -v '^ *+' conftest.er1 >conftest.err
99130  rm -f conftest.er1
99131  cat conftest.err >&5
99132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99133  (exit $ac_status); } &&
99134	 { ac_try='test -z "$ac_c_werror_flag"
99135			 || test ! -s conftest.err'
99136  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99137  (eval $ac_try) 2>&5
99138  ac_status=$?
99139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99140  (exit $ac_status); }; } &&
99141	 { ac_try='test -s conftest.$ac_objext'
99142  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99143  (eval $ac_try) 2>&5
99144  ac_status=$?
99145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99146  (exit $ac_status); }; }; then
99147  ac_header_compiler=yes
99148else
99149  echo "$as_me: failed program was:" >&5
99150sed 's/^/| /' conftest.$ac_ext >&5
99151
99152ac_header_compiler=no
99153fi
99154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99155echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99156echo "${ECHO_T}$ac_header_compiler" >&6
99157
99158# Is the header present?
99159echo "$as_me:$LINENO: checking langinfo.h presence" >&5
99160echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
99161cat >conftest.$ac_ext <<_ACEOF
99162/* confdefs.h.  */
99163_ACEOF
99164cat confdefs.h >>conftest.$ac_ext
99165cat >>conftest.$ac_ext <<_ACEOF
99166/* end confdefs.h.  */
99167#include <langinfo.h>
99168_ACEOF
99169if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99170  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99171  ac_status=$?
99172  grep -v '^ *+' conftest.er1 >conftest.err
99173  rm -f conftest.er1
99174  cat conftest.err >&5
99175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99176  (exit $ac_status); } >/dev/null; then
99177  if test -s conftest.err; then
99178    ac_cpp_err=$ac_c_preproc_warn_flag
99179    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99180  else
99181    ac_cpp_err=
99182  fi
99183else
99184  ac_cpp_err=yes
99185fi
99186if test -z "$ac_cpp_err"; then
99187  ac_header_preproc=yes
99188else
99189  echo "$as_me: failed program was:" >&5
99190sed 's/^/| /' conftest.$ac_ext >&5
99191
99192  ac_header_preproc=no
99193fi
99194rm -f conftest.err conftest.$ac_ext
99195echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99196echo "${ECHO_T}$ac_header_preproc" >&6
99197
99198# So?  What about this header?
99199case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99200  yes:no: )
99201    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99202echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99203    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99204echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99205    ac_header_preproc=yes
99206    ;;
99207  no:yes:* )
99208    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99209echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99210    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
99211echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
99212    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99213echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99214    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
99215echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
99216    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99217echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99218    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99219echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99220    (
99221      cat <<\_ASBOX
99222## ----------------------------------------- ##
99223## Report this to the package-unused lists.  ##
99224## ----------------------------------------- ##
99225_ASBOX
99226    ) |
99227      sed "s/^/$as_me: WARNING:     /" >&2
99228    ;;
99229esac
99230echo "$as_me:$LINENO: checking for langinfo.h" >&5
99231echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99232if test "${ac_cv_header_langinfo_h+set}" = set; then
99233  echo $ECHO_N "(cached) $ECHO_C" >&6
99234else
99235  ac_cv_header_langinfo_h=$ac_header_preproc
99236fi
99237echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99238echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99239
99240fi
99241if test $ac_cv_header_langinfo_h = yes; then
99242  ac_has_langinfo_h=yes
99243else
99244  ac_has_langinfo_h=no
99245fi
99246
99247
99248
99249    # Check for existence of libiconv.a providing XPG2 wchar_t support.
99250    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99251echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99252if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99253  echo $ECHO_N "(cached) $ECHO_C" >&6
99254else
99255  ac_check_lib_save_LIBS=$LIBS
99256LIBS="-liconv  $LIBS"
99257if test x$gcc_no_link = xyes; then
99258  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99259echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99260   { (exit 1); exit 1; }; }
99261fi
99262cat >conftest.$ac_ext <<_ACEOF
99263/* confdefs.h.  */
99264_ACEOF
99265cat confdefs.h >>conftest.$ac_ext
99266cat >>conftest.$ac_ext <<_ACEOF
99267/* end confdefs.h.  */
99268
99269/* Override any gcc2 internal prototype to avoid an error.  */
99270#ifdef __cplusplus
99271extern "C"
99272#endif
99273/* We use char because int might match the return type of a gcc2
99274   builtin and then its argument prototype would still apply.  */
99275char iconv ();
99276int
99277main ()
99278{
99279iconv ();
99280  ;
99281  return 0;
99282}
99283_ACEOF
99284rm -f conftest.$ac_objext conftest$ac_exeext
99285if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99286  (eval $ac_link) 2>conftest.er1
99287  ac_status=$?
99288  grep -v '^ *+' conftest.er1 >conftest.err
99289  rm -f conftest.er1
99290  cat conftest.err >&5
99291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99292  (exit $ac_status); } &&
99293	 { ac_try='test -z "$ac_c_werror_flag"
99294			 || test ! -s conftest.err'
99295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99296  (eval $ac_try) 2>&5
99297  ac_status=$?
99298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99299  (exit $ac_status); }; } &&
99300	 { ac_try='test -s conftest$ac_exeext'
99301  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99302  (eval $ac_try) 2>&5
99303  ac_status=$?
99304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99305  (exit $ac_status); }; }; then
99306  ac_cv_lib_iconv_iconv=yes
99307else
99308  echo "$as_me: failed program was:" >&5
99309sed 's/^/| /' conftest.$ac_ext >&5
99310
99311ac_cv_lib_iconv_iconv=no
99312fi
99313rm -f conftest.err conftest.$ac_objext \
99314      conftest$ac_exeext conftest.$ac_ext
99315LIBS=$ac_check_lib_save_LIBS
99316fi
99317echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99318echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99319if test $ac_cv_lib_iconv_iconv = yes; then
99320  LIBICONV="-liconv"
99321fi
99322
99323    ac_save_LIBS="$LIBS"
99324    LIBS="$LIBS $LIBICONV"
99325
99326
99327
99328
99329
99330
99331for ac_func in iconv_open iconv_close iconv nl_langinfo
99332do
99333as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99334echo "$as_me:$LINENO: checking for $ac_func" >&5
99335echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99336if eval "test \"\${$as_ac_var+set}\" = set"; then
99337  echo $ECHO_N "(cached) $ECHO_C" >&6
99338else
99339  if test x$gcc_no_link = xyes; then
99340  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99341echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99342   { (exit 1); exit 1; }; }
99343fi
99344cat >conftest.$ac_ext <<_ACEOF
99345/* confdefs.h.  */
99346_ACEOF
99347cat confdefs.h >>conftest.$ac_ext
99348cat >>conftest.$ac_ext <<_ACEOF
99349/* end confdefs.h.  */
99350/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99351   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99352#define $ac_func innocuous_$ac_func
99353
99354/* System header to define __stub macros and hopefully few prototypes,
99355    which can conflict with char $ac_func (); below.
99356    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99357    <limits.h> exists even on freestanding compilers.  */
99358
99359#ifdef __STDC__
99360# include <limits.h>
99361#else
99362# include <assert.h>
99363#endif
99364
99365#undef $ac_func
99366
99367/* Override any gcc2 internal prototype to avoid an error.  */
99368#ifdef __cplusplus
99369extern "C"
99370{
99371#endif
99372/* We use char because int might match the return type of a gcc2
99373   builtin and then its argument prototype would still apply.  */
99374char $ac_func ();
99375/* The GNU C library defines this for functions which it implements
99376    to always fail with ENOSYS.  Some functions are actually named
99377    something starting with __ and the normal name is an alias.  */
99378#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99379choke me
99380#else
99381char (*f) () = $ac_func;
99382#endif
99383#ifdef __cplusplus
99384}
99385#endif
99386
99387int
99388main ()
99389{
99390return f != $ac_func;
99391  ;
99392  return 0;
99393}
99394_ACEOF
99395rm -f conftest.$ac_objext conftest$ac_exeext
99396if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99397  (eval $ac_link) 2>conftest.er1
99398  ac_status=$?
99399  grep -v '^ *+' conftest.er1 >conftest.err
99400  rm -f conftest.er1
99401  cat conftest.err >&5
99402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99403  (exit $ac_status); } &&
99404	 { ac_try='test -z "$ac_c_werror_flag"
99405			 || test ! -s conftest.err'
99406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99407  (eval $ac_try) 2>&5
99408  ac_status=$?
99409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99410  (exit $ac_status); }; } &&
99411	 { ac_try='test -s conftest$ac_exeext'
99412  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99413  (eval $ac_try) 2>&5
99414  ac_status=$?
99415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416  (exit $ac_status); }; }; then
99417  eval "$as_ac_var=yes"
99418else
99419  echo "$as_me: failed program was:" >&5
99420sed 's/^/| /' conftest.$ac_ext >&5
99421
99422eval "$as_ac_var=no"
99423fi
99424rm -f conftest.err conftest.$ac_objext \
99425      conftest$ac_exeext conftest.$ac_ext
99426fi
99427echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99428echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99429if test `eval echo '${'$as_ac_var'}'` = yes; then
99430  cat >>confdefs.h <<_ACEOF
99431#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99432_ACEOF
99433 ac_XPG2funcs=yes
99434else
99435  ac_XPG2funcs=no
99436fi
99437done
99438
99439
99440    LIBS="$ac_save_LIBS"
99441
99442    if test x"$ac_has_iconv_h" = xyes &&
99443       test x"$ac_has_langinfo_h" = xyes &&
99444       test x"$ac_XPG2funcs" = xyes;
99445    then
99446
99447cat >>confdefs.h <<\_ACEOF
99448#define _GLIBCXX_USE_ICONV 1
99449_ACEOF
99450
99451      enable_iconv=yes
99452    fi
99453  fi
99454  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99455echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99456  echo "$as_me:$LINENO: result: $enable_iconv" >&5
99457echo "${ECHO_T}$enable_iconv" >&6
99458
99459
99460  ac_test_CXXFLAGS="${CXXFLAGS+set}"
99461  ac_save_CXXFLAGS="$CXXFLAGS"
99462  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99463
99464
99465  echo "$as_me:$LINENO: checking for strtold declaration" >&5
99466echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99467  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99468    if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99469  echo $ECHO_N "(cached) $ECHO_C" >&6
99470else
99471
99472
99473
99474      ac_ext=cc
99475ac_cpp='$CXXCPP $CPPFLAGS'
99476ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99477ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99478ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99479
99480      cat >conftest.$ac_ext <<_ACEOF
99481/* confdefs.h.  */
99482_ACEOF
99483cat confdefs.h >>conftest.$ac_ext
99484cat >>conftest.$ac_ext <<_ACEOF
99485/* end confdefs.h.  */
99486#include <stdlib.h>
99487int
99488main ()
99489{
99490 strtold(0, 0);
99491  ;
99492  return 0;
99493}
99494_ACEOF
99495rm -f conftest.$ac_objext
99496if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99497  (eval $ac_compile) 2>conftest.er1
99498  ac_status=$?
99499  grep -v '^ *+' conftest.er1 >conftest.err
99500  rm -f conftest.er1
99501  cat conftest.err >&5
99502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99503  (exit $ac_status); } &&
99504	 { ac_try='test -z "$ac_cxx_werror_flag"
99505			 || test ! -s conftest.err'
99506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99507  (eval $ac_try) 2>&5
99508  ac_status=$?
99509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99510  (exit $ac_status); }; } &&
99511	 { ac_try='test -s conftest.$ac_objext'
99512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99513  (eval $ac_try) 2>&5
99514  ac_status=$?
99515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99516  (exit $ac_status); }; }; then
99517  glibcxx_cv_func_strtold_use=yes
99518else
99519  echo "$as_me: failed program was:" >&5
99520sed 's/^/| /' conftest.$ac_ext >&5
99521
99522glibcxx_cv_func_strtold_use=no
99523fi
99524rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99525      ac_ext=c
99526ac_cpp='$CPP $CPPFLAGS'
99527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99529ac_compiler_gnu=$ac_cv_c_compiler_gnu
99530
99531
99532fi
99533
99534  fi
99535  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99536echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99537  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99538
99539for ac_func in strtold
99540do
99541as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99542echo "$as_me:$LINENO: checking for $ac_func" >&5
99543echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99544if eval "test \"\${$as_ac_var+set}\" = set"; then
99545  echo $ECHO_N "(cached) $ECHO_C" >&6
99546else
99547  if test x$gcc_no_link = xyes; then
99548  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99549echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99550   { (exit 1); exit 1; }; }
99551fi
99552cat >conftest.$ac_ext <<_ACEOF
99553/* confdefs.h.  */
99554_ACEOF
99555cat confdefs.h >>conftest.$ac_ext
99556cat >>conftest.$ac_ext <<_ACEOF
99557/* end confdefs.h.  */
99558/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99559   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99560#define $ac_func innocuous_$ac_func
99561
99562/* System header to define __stub macros and hopefully few prototypes,
99563    which can conflict with char $ac_func (); below.
99564    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99565    <limits.h> exists even on freestanding compilers.  */
99566
99567#ifdef __STDC__
99568# include <limits.h>
99569#else
99570# include <assert.h>
99571#endif
99572
99573#undef $ac_func
99574
99575/* Override any gcc2 internal prototype to avoid an error.  */
99576#ifdef __cplusplus
99577extern "C"
99578{
99579#endif
99580/* We use char because int might match the return type of a gcc2
99581   builtin and then its argument prototype would still apply.  */
99582char $ac_func ();
99583/* The GNU C library defines this for functions which it implements
99584    to always fail with ENOSYS.  Some functions are actually named
99585    something starting with __ and the normal name is an alias.  */
99586#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99587choke me
99588#else
99589char (*f) () = $ac_func;
99590#endif
99591#ifdef __cplusplus
99592}
99593#endif
99594
99595int
99596main ()
99597{
99598return f != $ac_func;
99599  ;
99600  return 0;
99601}
99602_ACEOF
99603rm -f conftest.$ac_objext conftest$ac_exeext
99604if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99605  (eval $ac_link) 2>conftest.er1
99606  ac_status=$?
99607  grep -v '^ *+' conftest.er1 >conftest.err
99608  rm -f conftest.er1
99609  cat conftest.err >&5
99610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99611  (exit $ac_status); } &&
99612	 { ac_try='test -z "$ac_c_werror_flag"
99613			 || test ! -s conftest.err'
99614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99615  (eval $ac_try) 2>&5
99616  ac_status=$?
99617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99618  (exit $ac_status); }; } &&
99619	 { ac_try='test -s conftest$ac_exeext'
99620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99621  (eval $ac_try) 2>&5
99622  ac_status=$?
99623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99624  (exit $ac_status); }; }; then
99625  eval "$as_ac_var=yes"
99626else
99627  echo "$as_me: failed program was:" >&5
99628sed 's/^/| /' conftest.$ac_ext >&5
99629
99630eval "$as_ac_var=no"
99631fi
99632rm -f conftest.err conftest.$ac_objext \
99633      conftest$ac_exeext conftest.$ac_ext
99634fi
99635echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99636echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99637if test `eval echo '${'$as_ac_var'}'` = yes; then
99638  cat >>confdefs.h <<_ACEOF
99639#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99640_ACEOF
99641
99642fi
99643done
99644
99645  fi
99646
99647
99648
99649
99650
99651  echo "$as_me:$LINENO: checking for strtof declaration" >&5
99652echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99653  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99654    if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99655  echo $ECHO_N "(cached) $ECHO_C" >&6
99656else
99657
99658
99659
99660      ac_ext=cc
99661ac_cpp='$CXXCPP $CPPFLAGS'
99662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99665
99666      cat >conftest.$ac_ext <<_ACEOF
99667/* confdefs.h.  */
99668_ACEOF
99669cat confdefs.h >>conftest.$ac_ext
99670cat >>conftest.$ac_ext <<_ACEOF
99671/* end confdefs.h.  */
99672#include <stdlib.h>
99673int
99674main ()
99675{
99676 strtof(0, 0);
99677  ;
99678  return 0;
99679}
99680_ACEOF
99681rm -f conftest.$ac_objext
99682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99683  (eval $ac_compile) 2>conftest.er1
99684  ac_status=$?
99685  grep -v '^ *+' conftest.er1 >conftest.err
99686  rm -f conftest.er1
99687  cat conftest.err >&5
99688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99689  (exit $ac_status); } &&
99690	 { ac_try='test -z "$ac_cxx_werror_flag"
99691			 || test ! -s conftest.err'
99692  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99693  (eval $ac_try) 2>&5
99694  ac_status=$?
99695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99696  (exit $ac_status); }; } &&
99697	 { ac_try='test -s conftest.$ac_objext'
99698  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99699  (eval $ac_try) 2>&5
99700  ac_status=$?
99701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99702  (exit $ac_status); }; }; then
99703  glibcxx_cv_func_strtof_use=yes
99704else
99705  echo "$as_me: failed program was:" >&5
99706sed 's/^/| /' conftest.$ac_ext >&5
99707
99708glibcxx_cv_func_strtof_use=no
99709fi
99710rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99711      ac_ext=c
99712ac_cpp='$CPP $CPPFLAGS'
99713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99715ac_compiler_gnu=$ac_cv_c_compiler_gnu
99716
99717
99718fi
99719
99720  fi
99721  echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99722echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99723  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99724
99725for ac_func in strtof
99726do
99727as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99728echo "$as_me:$LINENO: checking for $ac_func" >&5
99729echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99730if eval "test \"\${$as_ac_var+set}\" = set"; then
99731  echo $ECHO_N "(cached) $ECHO_C" >&6
99732else
99733  if test x$gcc_no_link = xyes; then
99734  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99735echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99736   { (exit 1); exit 1; }; }
99737fi
99738cat >conftest.$ac_ext <<_ACEOF
99739/* confdefs.h.  */
99740_ACEOF
99741cat confdefs.h >>conftest.$ac_ext
99742cat >>conftest.$ac_ext <<_ACEOF
99743/* end confdefs.h.  */
99744/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99746#define $ac_func innocuous_$ac_func
99747
99748/* System header to define __stub macros and hopefully few prototypes,
99749    which can conflict with char $ac_func (); below.
99750    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99751    <limits.h> exists even on freestanding compilers.  */
99752
99753#ifdef __STDC__
99754# include <limits.h>
99755#else
99756# include <assert.h>
99757#endif
99758
99759#undef $ac_func
99760
99761/* Override any gcc2 internal prototype to avoid an error.  */
99762#ifdef __cplusplus
99763extern "C"
99764{
99765#endif
99766/* We use char because int might match the return type of a gcc2
99767   builtin and then its argument prototype would still apply.  */
99768char $ac_func ();
99769/* The GNU C library defines this for functions which it implements
99770    to always fail with ENOSYS.  Some functions are actually named
99771    something starting with __ and the normal name is an alias.  */
99772#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99773choke me
99774#else
99775char (*f) () = $ac_func;
99776#endif
99777#ifdef __cplusplus
99778}
99779#endif
99780
99781int
99782main ()
99783{
99784return f != $ac_func;
99785  ;
99786  return 0;
99787}
99788_ACEOF
99789rm -f conftest.$ac_objext conftest$ac_exeext
99790if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99791  (eval $ac_link) 2>conftest.er1
99792  ac_status=$?
99793  grep -v '^ *+' conftest.er1 >conftest.err
99794  rm -f conftest.er1
99795  cat conftest.err >&5
99796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99797  (exit $ac_status); } &&
99798	 { ac_try='test -z "$ac_c_werror_flag"
99799			 || test ! -s conftest.err'
99800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99801  (eval $ac_try) 2>&5
99802  ac_status=$?
99803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99804  (exit $ac_status); }; } &&
99805	 { ac_try='test -s conftest$ac_exeext'
99806  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99807  (eval $ac_try) 2>&5
99808  ac_status=$?
99809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99810  (exit $ac_status); }; }; then
99811  eval "$as_ac_var=yes"
99812else
99813  echo "$as_me: failed program was:" >&5
99814sed 's/^/| /' conftest.$ac_ext >&5
99815
99816eval "$as_ac_var=no"
99817fi
99818rm -f conftest.err conftest.$ac_objext \
99819      conftest$ac_exeext conftest.$ac_ext
99820fi
99821echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99822echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99823if test `eval echo '${'$as_ac_var'}'` = yes; then
99824  cat >>confdefs.h <<_ACEOF
99825#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99826_ACEOF
99827
99828fi
99829done
99830
99831  fi
99832
99833
99834
99835
99836
99837  CXXFLAGS="$ac_save_CXXFLAGS"
99838
99839
99840    # For LFS.
99841    cat >>confdefs.h <<\_ACEOF
99842#define HAVE_INT64_T 1
99843_ACEOF
99844
99845
99846
99847
99848  ac_ext=cc
99849ac_cpp='$CXXCPP $CPPFLAGS'
99850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99853
99854  ac_save_CXXFLAGS="$CXXFLAGS"
99855  CXXFLAGS="$CXXFLAGS -fno-exceptions"
99856  echo "$as_me:$LINENO: checking for LFS support" >&5
99857echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
99858  if test "${glibcxx_cv_LFS+set}" = set; then
99859  echo $ECHO_N "(cached) $ECHO_C" >&6
99860else
99861
99862    if test x$gcc_no_link = xyes; then
99863  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99864echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99865   { (exit 1); exit 1; }; }
99866fi
99867cat >conftest.$ac_ext <<_ACEOF
99868/* confdefs.h.  */
99869_ACEOF
99870cat confdefs.h >>conftest.$ac_ext
99871cat >>conftest.$ac_ext <<_ACEOF
99872/* end confdefs.h.  */
99873#include <unistd.h>
99874       #include <stdio.h>
99875       #include <sys/stat.h>
99876
99877int
99878main ()
99879{
99880FILE* fp;
99881       fopen64("t", "w");
99882       fseeko64(fp, 0, SEEK_CUR);
99883       ftello64(fp);
99884       lseek64(1, 0, SEEK_CUR);
99885       struct stat64 buf;
99886       fstat64(1, &buf);
99887  ;
99888  return 0;
99889}
99890_ACEOF
99891rm -f conftest.$ac_objext conftest$ac_exeext
99892if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99893  (eval $ac_link) 2>conftest.er1
99894  ac_status=$?
99895  grep -v '^ *+' conftest.er1 >conftest.err
99896  rm -f conftest.er1
99897  cat conftest.err >&5
99898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99899  (exit $ac_status); } &&
99900	 { ac_try='test -z "$ac_cxx_werror_flag"
99901			 || test ! -s conftest.err'
99902  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99903  (eval $ac_try) 2>&5
99904  ac_status=$?
99905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99906  (exit $ac_status); }; } &&
99907	 { ac_try='test -s conftest$ac_exeext'
99908  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99909  (eval $ac_try) 2>&5
99910  ac_status=$?
99911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99912  (exit $ac_status); }; }; then
99913  glibcxx_cv_LFS=yes
99914else
99915  echo "$as_me: failed program was:" >&5
99916sed 's/^/| /' conftest.$ac_ext >&5
99917
99918glibcxx_cv_LFS=no
99919fi
99920rm -f conftest.err conftest.$ac_objext \
99921      conftest$ac_exeext conftest.$ac_ext
99922
99923fi
99924
99925  if test $glibcxx_cv_LFS = yes; then
99926
99927cat >>confdefs.h <<\_ACEOF
99928#define _GLIBCXX_USE_LFS 1
99929_ACEOF
99930
99931  fi
99932  echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
99933echo "${ECHO_T}$glibcxx_cv_LFS" >&6
99934  CXXFLAGS="$ac_save_CXXFLAGS"
99935  ac_ext=c
99936ac_cpp='$CPP $CPPFLAGS'
99937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99939ac_compiler_gnu=$ac_cv_c_compiler_gnu
99940
99941
99942
99943    # For showmanyc_helper().
99944
99945
99946for ac_header in sys/ioctl.h sys/filio.h
99947do
99948as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99949if eval "test \"\${$as_ac_Header+set}\" = set"; then
99950  echo "$as_me:$LINENO: checking for $ac_header" >&5
99951echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99952if eval "test \"\${$as_ac_Header+set}\" = set"; then
99953  echo $ECHO_N "(cached) $ECHO_C" >&6
99954fi
99955echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99956echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99957else
99958  # Is the header compilable?
99959echo "$as_me:$LINENO: checking $ac_header usability" >&5
99960echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99961cat >conftest.$ac_ext <<_ACEOF
99962/* confdefs.h.  */
99963_ACEOF
99964cat confdefs.h >>conftest.$ac_ext
99965cat >>conftest.$ac_ext <<_ACEOF
99966/* end confdefs.h.  */
99967$ac_includes_default
99968#include <$ac_header>
99969_ACEOF
99970rm -f conftest.$ac_objext
99971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99972  (eval $ac_compile) 2>conftest.er1
99973  ac_status=$?
99974  grep -v '^ *+' conftest.er1 >conftest.err
99975  rm -f conftest.er1
99976  cat conftest.err >&5
99977  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99978  (exit $ac_status); } &&
99979	 { ac_try='test -z "$ac_c_werror_flag"
99980			 || test ! -s conftest.err'
99981  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99982  (eval $ac_try) 2>&5
99983  ac_status=$?
99984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99985  (exit $ac_status); }; } &&
99986	 { ac_try='test -s conftest.$ac_objext'
99987  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99988  (eval $ac_try) 2>&5
99989  ac_status=$?
99990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
99991  (exit $ac_status); }; }; then
99992  ac_header_compiler=yes
99993else
99994  echo "$as_me: failed program was:" >&5
99995sed 's/^/| /' conftest.$ac_ext >&5
99996
99997ac_header_compiler=no
99998fi
99999rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100000echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100001echo "${ECHO_T}$ac_header_compiler" >&6
100002
100003# Is the header present?
100004echo "$as_me:$LINENO: checking $ac_header presence" >&5
100005echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100006cat >conftest.$ac_ext <<_ACEOF
100007/* confdefs.h.  */
100008_ACEOF
100009cat confdefs.h >>conftest.$ac_ext
100010cat >>conftest.$ac_ext <<_ACEOF
100011/* end confdefs.h.  */
100012#include <$ac_header>
100013_ACEOF
100014if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100015  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100016  ac_status=$?
100017  grep -v '^ *+' conftest.er1 >conftest.err
100018  rm -f conftest.er1
100019  cat conftest.err >&5
100020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100021  (exit $ac_status); } >/dev/null; then
100022  if test -s conftest.err; then
100023    ac_cpp_err=$ac_c_preproc_warn_flag
100024    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100025  else
100026    ac_cpp_err=
100027  fi
100028else
100029  ac_cpp_err=yes
100030fi
100031if test -z "$ac_cpp_err"; then
100032  ac_header_preproc=yes
100033else
100034  echo "$as_me: failed program was:" >&5
100035sed 's/^/| /' conftest.$ac_ext >&5
100036
100037  ac_header_preproc=no
100038fi
100039rm -f conftest.err conftest.$ac_ext
100040echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100041echo "${ECHO_T}$ac_header_preproc" >&6
100042
100043# So?  What about this header?
100044case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100045  yes:no: )
100046    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100047echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100048    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100049echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100050    ac_header_preproc=yes
100051    ;;
100052  no:yes:* )
100053    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100054echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100055    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100056echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100057    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100058echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100059    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100060echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100061    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100062echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100063    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100064echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100065    (
100066      cat <<\_ASBOX
100067## ----------------------------------------- ##
100068## Report this to the package-unused lists.  ##
100069## ----------------------------------------- ##
100070_ASBOX
100071    ) |
100072      sed "s/^/$as_me: WARNING:     /" >&2
100073    ;;
100074esac
100075echo "$as_me:$LINENO: checking for $ac_header" >&5
100076echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100077if eval "test \"\${$as_ac_Header+set}\" = set"; then
100078  echo $ECHO_N "(cached) $ECHO_C" >&6
100079else
100080  eval "$as_ac_Header=\$ac_header_preproc"
100081fi
100082echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100083echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100084
100085fi
100086if test `eval echo '${'$as_ac_Header'}'` = yes; then
100087  cat >>confdefs.h <<_ACEOF
100088#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100089_ACEOF
100090
100091fi
100092
100093done
100094
100095
100096  echo "$as_me:$LINENO: checking for poll" >&5
100097echo $ECHO_N "checking for poll... $ECHO_C" >&6
100098  if test "${glibcxx_cv_POLL+set}" = set; then
100099  echo $ECHO_N "(cached) $ECHO_C" >&6
100100else
100101
100102    if test x$gcc_no_link = xyes; then
100103  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100104echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100105   { (exit 1); exit 1; }; }
100106fi
100107cat >conftest.$ac_ext <<_ACEOF
100108/* confdefs.h.  */
100109_ACEOF
100110cat confdefs.h >>conftest.$ac_ext
100111cat >>conftest.$ac_ext <<_ACEOF
100112/* end confdefs.h.  */
100113#include <poll.h>
100114int
100115main ()
100116{
100117struct pollfd pfd[1];
100118       pfd[0].events = POLLIN;
100119       poll(pfd, 1, 0);
100120  ;
100121  return 0;
100122}
100123_ACEOF
100124rm -f conftest.$ac_objext conftest$ac_exeext
100125if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100126  (eval $ac_link) 2>conftest.er1
100127  ac_status=$?
100128  grep -v '^ *+' conftest.er1 >conftest.err
100129  rm -f conftest.er1
100130  cat conftest.err >&5
100131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100132  (exit $ac_status); } &&
100133	 { ac_try='test -z "$ac_c_werror_flag"
100134			 || test ! -s conftest.err'
100135  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100136  (eval $ac_try) 2>&5
100137  ac_status=$?
100138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100139  (exit $ac_status); }; } &&
100140	 { ac_try='test -s conftest$ac_exeext'
100141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100142  (eval $ac_try) 2>&5
100143  ac_status=$?
100144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100145  (exit $ac_status); }; }; then
100146  glibcxx_cv_POLL=yes
100147else
100148  echo "$as_me: failed program was:" >&5
100149sed 's/^/| /' conftest.$ac_ext >&5
100150
100151glibcxx_cv_POLL=no
100152fi
100153rm -f conftest.err conftest.$ac_objext \
100154      conftest$ac_exeext conftest.$ac_ext
100155
100156fi
100157
100158  if test $glibcxx_cv_POLL = yes; then
100159
100160cat >>confdefs.h <<\_ACEOF
100161#define HAVE_POLL 1
100162_ACEOF
100163
100164  fi
100165  echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
100166echo "${ECHO_T}$glibcxx_cv_POLL" >&6
100167
100168
100169  echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
100170echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
100171  if test "${glibcxx_cv_S_ISREG+set}" = set; then
100172  echo $ECHO_N "(cached) $ECHO_C" >&6
100173else
100174
100175    if test x$gcc_no_link = xyes; then
100176  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100177echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100178   { (exit 1); exit 1; }; }
100179fi
100180cat >conftest.$ac_ext <<_ACEOF
100181/* confdefs.h.  */
100182_ACEOF
100183cat confdefs.h >>conftest.$ac_ext
100184cat >>conftest.$ac_ext <<_ACEOF
100185/* end confdefs.h.  */
100186#include <sys/stat.h>
100187int
100188main ()
100189{
100190struct stat buffer;
100191       fstat(0, &buffer);
100192       S_ISREG(buffer.st_mode);
100193  ;
100194  return 0;
100195}
100196_ACEOF
100197rm -f conftest.$ac_objext conftest$ac_exeext
100198if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100199  (eval $ac_link) 2>conftest.er1
100200  ac_status=$?
100201  grep -v '^ *+' conftest.er1 >conftest.err
100202  rm -f conftest.er1
100203  cat conftest.err >&5
100204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100205  (exit $ac_status); } &&
100206	 { ac_try='test -z "$ac_c_werror_flag"
100207			 || test ! -s conftest.err'
100208  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100209  (eval $ac_try) 2>&5
100210  ac_status=$?
100211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100212  (exit $ac_status); }; } &&
100213	 { ac_try='test -s conftest$ac_exeext'
100214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100215  (eval $ac_try) 2>&5
100216  ac_status=$?
100217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100218  (exit $ac_status); }; }; then
100219  glibcxx_cv_S_ISREG=yes
100220else
100221  echo "$as_me: failed program was:" >&5
100222sed 's/^/| /' conftest.$ac_ext >&5
100223
100224glibcxx_cv_S_ISREG=no
100225fi
100226rm -f conftest.err conftest.$ac_objext \
100227      conftest$ac_exeext conftest.$ac_ext
100228
100229fi
100230
100231  if test "${glibcxx_cv_S_IFREG+set}" = set; then
100232  echo $ECHO_N "(cached) $ECHO_C" >&6
100233else
100234
100235    if test x$gcc_no_link = xyes; then
100236  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100237echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100238   { (exit 1); exit 1; }; }
100239fi
100240cat >conftest.$ac_ext <<_ACEOF
100241/* confdefs.h.  */
100242_ACEOF
100243cat confdefs.h >>conftest.$ac_ext
100244cat >>conftest.$ac_ext <<_ACEOF
100245/* end confdefs.h.  */
100246#include <sys/stat.h>
100247int
100248main ()
100249{
100250struct stat buffer;
100251       fstat(0, &buffer);
100252       S_IFREG & buffer.st_mode;
100253  ;
100254  return 0;
100255}
100256_ACEOF
100257rm -f conftest.$ac_objext conftest$ac_exeext
100258if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100259  (eval $ac_link) 2>conftest.er1
100260  ac_status=$?
100261  grep -v '^ *+' conftest.er1 >conftest.err
100262  rm -f conftest.er1
100263  cat conftest.err >&5
100264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100265  (exit $ac_status); } &&
100266	 { ac_try='test -z "$ac_c_werror_flag"
100267			 || test ! -s conftest.err'
100268  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100269  (eval $ac_try) 2>&5
100270  ac_status=$?
100271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100272  (exit $ac_status); }; } &&
100273	 { ac_try='test -s conftest$ac_exeext'
100274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100275  (eval $ac_try) 2>&5
100276  ac_status=$?
100277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100278  (exit $ac_status); }; }; then
100279  glibcxx_cv_S_IFREG=yes
100280else
100281  echo "$as_me: failed program was:" >&5
100282sed 's/^/| /' conftest.$ac_ext >&5
100283
100284glibcxx_cv_S_IFREG=no
100285fi
100286rm -f conftest.err conftest.$ac_objext \
100287      conftest$ac_exeext conftest.$ac_ext
100288
100289fi
100290
100291  res=no
100292  if test $glibcxx_cv_S_ISREG = yes; then
100293
100294cat >>confdefs.h <<\_ACEOF
100295#define HAVE_S_ISREG 1
100296_ACEOF
100297
100298    res=S_ISREG
100299  elif test $glibcxx_cv_S_IFREG = yes; then
100300
100301cat >>confdefs.h <<\_ACEOF
100302#define HAVE_S_IFREG 1
100303_ACEOF
100304
100305    res=S_IFREG
100306  fi
100307  echo "$as_me:$LINENO: result: $res" >&5
100308echo "${ECHO_T}$res" >&6
100309
100310
100311    # For xsputn_2().
100312
100313for ac_header in sys/uio.h
100314do
100315as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100316if eval "test \"\${$as_ac_Header+set}\" = set"; then
100317  echo "$as_me:$LINENO: checking for $ac_header" >&5
100318echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100319if eval "test \"\${$as_ac_Header+set}\" = set"; then
100320  echo $ECHO_N "(cached) $ECHO_C" >&6
100321fi
100322echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100323echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100324else
100325  # Is the header compilable?
100326echo "$as_me:$LINENO: checking $ac_header usability" >&5
100327echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100328cat >conftest.$ac_ext <<_ACEOF
100329/* confdefs.h.  */
100330_ACEOF
100331cat confdefs.h >>conftest.$ac_ext
100332cat >>conftest.$ac_ext <<_ACEOF
100333/* end confdefs.h.  */
100334$ac_includes_default
100335#include <$ac_header>
100336_ACEOF
100337rm -f conftest.$ac_objext
100338if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100339  (eval $ac_compile) 2>conftest.er1
100340  ac_status=$?
100341  grep -v '^ *+' conftest.er1 >conftest.err
100342  rm -f conftest.er1
100343  cat conftest.err >&5
100344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100345  (exit $ac_status); } &&
100346	 { ac_try='test -z "$ac_c_werror_flag"
100347			 || test ! -s conftest.err'
100348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100349  (eval $ac_try) 2>&5
100350  ac_status=$?
100351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100352  (exit $ac_status); }; } &&
100353	 { ac_try='test -s conftest.$ac_objext'
100354  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100355  (eval $ac_try) 2>&5
100356  ac_status=$?
100357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100358  (exit $ac_status); }; }; then
100359  ac_header_compiler=yes
100360else
100361  echo "$as_me: failed program was:" >&5
100362sed 's/^/| /' conftest.$ac_ext >&5
100363
100364ac_header_compiler=no
100365fi
100366rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100367echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100368echo "${ECHO_T}$ac_header_compiler" >&6
100369
100370# Is the header present?
100371echo "$as_me:$LINENO: checking $ac_header presence" >&5
100372echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100373cat >conftest.$ac_ext <<_ACEOF
100374/* confdefs.h.  */
100375_ACEOF
100376cat confdefs.h >>conftest.$ac_ext
100377cat >>conftest.$ac_ext <<_ACEOF
100378/* end confdefs.h.  */
100379#include <$ac_header>
100380_ACEOF
100381if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100382  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100383  ac_status=$?
100384  grep -v '^ *+' conftest.er1 >conftest.err
100385  rm -f conftest.er1
100386  cat conftest.err >&5
100387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100388  (exit $ac_status); } >/dev/null; then
100389  if test -s conftest.err; then
100390    ac_cpp_err=$ac_c_preproc_warn_flag
100391    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100392  else
100393    ac_cpp_err=
100394  fi
100395else
100396  ac_cpp_err=yes
100397fi
100398if test -z "$ac_cpp_err"; then
100399  ac_header_preproc=yes
100400else
100401  echo "$as_me: failed program was:" >&5
100402sed 's/^/| /' conftest.$ac_ext >&5
100403
100404  ac_header_preproc=no
100405fi
100406rm -f conftest.err conftest.$ac_ext
100407echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100408echo "${ECHO_T}$ac_header_preproc" >&6
100409
100410# So?  What about this header?
100411case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100412  yes:no: )
100413    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100414echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100415    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100416echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100417    ac_header_preproc=yes
100418    ;;
100419  no:yes:* )
100420    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100421echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100422    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100423echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100424    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100425echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100426    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100427echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100428    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100429echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100430    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100431echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100432    (
100433      cat <<\_ASBOX
100434## ----------------------------------------- ##
100435## Report this to the package-unused lists.  ##
100436## ----------------------------------------- ##
100437_ASBOX
100438    ) |
100439      sed "s/^/$as_me: WARNING:     /" >&2
100440    ;;
100441esac
100442echo "$as_me:$LINENO: checking for $ac_header" >&5
100443echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100444if eval "test \"\${$as_ac_Header+set}\" = set"; then
100445  echo $ECHO_N "(cached) $ECHO_C" >&6
100446else
100447  eval "$as_ac_Header=\$ac_header_preproc"
100448fi
100449echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100450echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100451
100452fi
100453if test `eval echo '${'$as_ac_Header'}'` = yes; then
100454  cat >>confdefs.h <<_ACEOF
100455#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100456_ACEOF
100457
100458fi
100459
100460done
100461
100462
100463  echo "$as_me:$LINENO: checking for writev" >&5
100464echo $ECHO_N "checking for writev... $ECHO_C" >&6
100465  if test "${glibcxx_cv_WRITEV+set}" = set; then
100466  echo $ECHO_N "(cached) $ECHO_C" >&6
100467else
100468
100469    if test x$gcc_no_link = xyes; then
100470  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100471echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100472   { (exit 1); exit 1; }; }
100473fi
100474cat >conftest.$ac_ext <<_ACEOF
100475/* confdefs.h.  */
100476_ACEOF
100477cat confdefs.h >>conftest.$ac_ext
100478cat >>conftest.$ac_ext <<_ACEOF
100479/* end confdefs.h.  */
100480#include <sys/uio.h>
100481int
100482main ()
100483{
100484struct iovec iov[2];
100485       writev(0, iov, 0);
100486  ;
100487  return 0;
100488}
100489_ACEOF
100490rm -f conftest.$ac_objext conftest$ac_exeext
100491if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100492  (eval $ac_link) 2>conftest.er1
100493  ac_status=$?
100494  grep -v '^ *+' conftest.er1 >conftest.err
100495  rm -f conftest.er1
100496  cat conftest.err >&5
100497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100498  (exit $ac_status); } &&
100499	 { ac_try='test -z "$ac_c_werror_flag"
100500			 || test ! -s conftest.err'
100501  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100502  (eval $ac_try) 2>&5
100503  ac_status=$?
100504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100505  (exit $ac_status); }; } &&
100506	 { ac_try='test -s conftest$ac_exeext'
100507  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100508  (eval $ac_try) 2>&5
100509  ac_status=$?
100510  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100511  (exit $ac_status); }; }; then
100512  glibcxx_cv_WRITEV=yes
100513else
100514  echo "$as_me: failed program was:" >&5
100515sed 's/^/| /' conftest.$ac_ext >&5
100516
100517glibcxx_cv_WRITEV=no
100518fi
100519rm -f conftest.err conftest.$ac_objext \
100520      conftest$ac_exeext conftest.$ac_ext
100521
100522fi
100523
100524  if test $glibcxx_cv_WRITEV = yes; then
100525
100526cat >>confdefs.h <<\_ACEOF
100527#define HAVE_WRITEV 1
100528_ACEOF
100529
100530  fi
100531  echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100532echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100533
100534    ;;
100535  *-mingw32*)
100536
100537
100538
100539for ac_header in sys/types.h locale.h float.h
100540do
100541as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100542if eval "test \"\${$as_ac_Header+set}\" = set"; then
100543  echo "$as_me:$LINENO: checking for $ac_header" >&5
100544echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100545if eval "test \"\${$as_ac_Header+set}\" = set"; then
100546  echo $ECHO_N "(cached) $ECHO_C" >&6
100547fi
100548echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100549echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100550else
100551  # Is the header compilable?
100552echo "$as_me:$LINENO: checking $ac_header usability" >&5
100553echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100554cat >conftest.$ac_ext <<_ACEOF
100555/* confdefs.h.  */
100556_ACEOF
100557cat confdefs.h >>conftest.$ac_ext
100558cat >>conftest.$ac_ext <<_ACEOF
100559/* end confdefs.h.  */
100560$ac_includes_default
100561#include <$ac_header>
100562_ACEOF
100563rm -f conftest.$ac_objext
100564if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100565  (eval $ac_compile) 2>conftest.er1
100566  ac_status=$?
100567  grep -v '^ *+' conftest.er1 >conftest.err
100568  rm -f conftest.er1
100569  cat conftest.err >&5
100570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100571  (exit $ac_status); } &&
100572	 { ac_try='test -z "$ac_c_werror_flag"
100573			 || test ! -s conftest.err'
100574  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100575  (eval $ac_try) 2>&5
100576  ac_status=$?
100577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100578  (exit $ac_status); }; } &&
100579	 { ac_try='test -s conftest.$ac_objext'
100580  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100581  (eval $ac_try) 2>&5
100582  ac_status=$?
100583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100584  (exit $ac_status); }; }; then
100585  ac_header_compiler=yes
100586else
100587  echo "$as_me: failed program was:" >&5
100588sed 's/^/| /' conftest.$ac_ext >&5
100589
100590ac_header_compiler=no
100591fi
100592rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100593echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100594echo "${ECHO_T}$ac_header_compiler" >&6
100595
100596# Is the header present?
100597echo "$as_me:$LINENO: checking $ac_header presence" >&5
100598echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100599cat >conftest.$ac_ext <<_ACEOF
100600/* confdefs.h.  */
100601_ACEOF
100602cat confdefs.h >>conftest.$ac_ext
100603cat >>conftest.$ac_ext <<_ACEOF
100604/* end confdefs.h.  */
100605#include <$ac_header>
100606_ACEOF
100607if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100608  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100609  ac_status=$?
100610  grep -v '^ *+' conftest.er1 >conftest.err
100611  rm -f conftest.er1
100612  cat conftest.err >&5
100613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100614  (exit $ac_status); } >/dev/null; then
100615  if test -s conftest.err; then
100616    ac_cpp_err=$ac_c_preproc_warn_flag
100617    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100618  else
100619    ac_cpp_err=
100620  fi
100621else
100622  ac_cpp_err=yes
100623fi
100624if test -z "$ac_cpp_err"; then
100625  ac_header_preproc=yes
100626else
100627  echo "$as_me: failed program was:" >&5
100628sed 's/^/| /' conftest.$ac_ext >&5
100629
100630  ac_header_preproc=no
100631fi
100632rm -f conftest.err conftest.$ac_ext
100633echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100634echo "${ECHO_T}$ac_header_preproc" >&6
100635
100636# So?  What about this header?
100637case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100638  yes:no: )
100639    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100640echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100641    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100642echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100643    ac_header_preproc=yes
100644    ;;
100645  no:yes:* )
100646    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100647echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100648    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100649echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100650    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100651echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100652    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100653echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100654    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100655echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100656    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100657echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100658    (
100659      cat <<\_ASBOX
100660## ----------------------------------------- ##
100661## Report this to the package-unused lists.  ##
100662## ----------------------------------------- ##
100663_ASBOX
100664    ) |
100665      sed "s/^/$as_me: WARNING:     /" >&2
100666    ;;
100667esac
100668echo "$as_me:$LINENO: checking for $ac_header" >&5
100669echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100670if eval "test \"\${$as_ac_Header+set}\" = set"; then
100671  echo $ECHO_N "(cached) $ECHO_C" >&6
100672else
100673  eval "$as_ac_Header=\$ac_header_preproc"
100674fi
100675echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100676echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100677
100678fi
100679if test `eval echo '${'$as_ac_Header'}'` = yes; then
100680  cat >>confdefs.h <<_ACEOF
100681#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100682_ACEOF
100683
100684fi
100685
100686done
100687
100688
100689  # If we're not using GNU ld, then there's no point in even trying these
100690  # tests.  Check for that first.  We should have already tested for gld
100691  # by now (in libtool), but require it now just to be safe...
100692  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100693  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100694
100695
100696
100697  # The name set by libtool depends on the version of libtool.  Shame on us
100698  # for depending on an impl detail, but c'est la vie.  Older versions used
100699  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100700  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100701  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100702  # set (hence we're using an older libtool), then set it.
100703  if test x${with_gnu_ld+set} != xset; then
100704    if test x${ac_cv_prog_gnu_ld+set} != xset; then
100705      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100706      with_gnu_ld=no
100707    else
100708      with_gnu_ld=$ac_cv_prog_gnu_ld
100709    fi
100710  fi
100711
100712  # Start by getting the version number.  I think the libtool test already
100713  # does some of this, but throws away the result.
100714  if test x"$with_gnu_ld" = x"yes"; then
100715    echo "$as_me:$LINENO: checking for ld version" >&5
100716echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100717
100718    ldver=`$LD --version 2>/dev/null | head -1 | \
100719           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
100720
100721    glibcxx_gnu_ld_version=`echo $ldver | \
100722           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100723    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100724echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100725  fi
100726
100727  # Set --gc-sections.
100728  glibcxx_gcsections_min_ld=21602
100729  if test x"$with_gnu_ld" = x"yes" &&
100730	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100731
100732    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100733    # NB: This flag only works reliably after 2.16.1. Configure tests
100734    # for this are difficult, so hard wire a value that should work.
100735
100736    ac_test_CFLAGS="${CFLAGS+set}"
100737    ac_save_CFLAGS="$CFLAGS"
100738    CFLAGS='-Wl,--gc-sections'
100739
100740    # Check for -Wl,--gc-sections
100741    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100742echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100743    if test x$gcc_no_link = xyes; then
100744  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100745echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100746   { (exit 1); exit 1; }; }
100747fi
100748cat >conftest.$ac_ext <<_ACEOF
100749/* confdefs.h.  */
100750_ACEOF
100751cat confdefs.h >>conftest.$ac_ext
100752cat >>conftest.$ac_ext <<_ACEOF
100753/* end confdefs.h.  */
100754 int one(void) { return 1; }
100755     int two(void) { return 2; }
100756
100757int
100758main ()
100759{
100760 two();
100761  ;
100762  return 0;
100763}
100764_ACEOF
100765rm -f conftest.$ac_objext conftest$ac_exeext
100766if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100767  (eval $ac_link) 2>conftest.er1
100768  ac_status=$?
100769  grep -v '^ *+' conftest.er1 >conftest.err
100770  rm -f conftest.er1
100771  cat conftest.err >&5
100772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100773  (exit $ac_status); } &&
100774	 { ac_try='test -z "$ac_c_werror_flag"
100775			 || test ! -s conftest.err'
100776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100777  (eval $ac_try) 2>&5
100778  ac_status=$?
100779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100780  (exit $ac_status); }; } &&
100781	 { ac_try='test -s conftest$ac_exeext'
100782  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100783  (eval $ac_try) 2>&5
100784  ac_status=$?
100785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100786  (exit $ac_status); }; }; then
100787  ac_gcsections=yes
100788else
100789  echo "$as_me: failed program was:" >&5
100790sed 's/^/| /' conftest.$ac_ext >&5
100791
100792ac_gcsections=no
100793fi
100794rm -f conftest.err conftest.$ac_objext \
100795      conftest$ac_exeext conftest.$ac_ext
100796    if test "$ac_gcsections" = "yes"; then
100797      rm -f conftest.c
100798      touch conftest.c
100799      if $CC -c conftest.c; then
100800	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100801	   grep "Warning: gc-sections option ignored" > /dev/null; then
100802	  ac_gcsections=no
100803	fi
100804      fi
100805      rm -f conftest.c conftest.o conftest
100806    fi
100807    if test "$ac_gcsections" = "yes"; then
100808      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100809    fi
100810    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100811echo "${ECHO_T}$ac_gcsections" >&6
100812
100813    if test "$ac_test_CFLAGS" = set; then
100814      CFLAGS="$ac_save_CFLAGS"
100815    else
100816      # this is the suspicious part
100817      CFLAGS=''
100818    fi
100819  fi
100820
100821  # Set -z,relro.
100822  # Note this is only for shared objects.
100823  ac_ld_relro=no
100824  if test x"$with_gnu_ld" = x"yes"; then
100825    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100826echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100827    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100828    if test -n "$cxx_z_relo"; then
100829      OPT_LDFLAGS="-Wl,-z,relro"
100830      ac_ld_relro=yes
100831    fi
100832    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100833echo "${ECHO_T}$ac_ld_relro" >&6
100834  fi
100835
100836  # Set linker optimization flags.
100837  if test x"$with_gnu_ld" = x"yes"; then
100838    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100839  fi
100840
100841
100842
100843
100844
100845
100846echo "$as_me:$LINENO: checking for main in -lm" >&5
100847echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100848if test "${ac_cv_lib_m_main+set}" = set; then
100849  echo $ECHO_N "(cached) $ECHO_C" >&6
100850else
100851  ac_check_lib_save_LIBS=$LIBS
100852LIBS="-lm  $LIBS"
100853if test x$gcc_no_link = xyes; then
100854  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100855echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100856   { (exit 1); exit 1; }; }
100857fi
100858cat >conftest.$ac_ext <<_ACEOF
100859/* confdefs.h.  */
100860_ACEOF
100861cat confdefs.h >>conftest.$ac_ext
100862cat >>conftest.$ac_ext <<_ACEOF
100863/* end confdefs.h.  */
100864
100865
100866int
100867main ()
100868{
100869main ();
100870  ;
100871  return 0;
100872}
100873_ACEOF
100874rm -f conftest.$ac_objext conftest$ac_exeext
100875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100876  (eval $ac_link) 2>conftest.er1
100877  ac_status=$?
100878  grep -v '^ *+' conftest.er1 >conftest.err
100879  rm -f conftest.er1
100880  cat conftest.err >&5
100881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100882  (exit $ac_status); } &&
100883	 { ac_try='test -z "$ac_c_werror_flag"
100884			 || test ! -s conftest.err'
100885  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100886  (eval $ac_try) 2>&5
100887  ac_status=$?
100888  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100889  (exit $ac_status); }; } &&
100890	 { ac_try='test -s conftest$ac_exeext'
100891  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100892  (eval $ac_try) 2>&5
100893  ac_status=$?
100894  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100895  (exit $ac_status); }; }; then
100896  ac_cv_lib_m_main=yes
100897else
100898  echo "$as_me: failed program was:" >&5
100899sed 's/^/| /' conftest.$ac_ext >&5
100900
100901ac_cv_lib_m_main=no
100902fi
100903rm -f conftest.err conftest.$ac_objext \
100904      conftest$ac_exeext conftest.$ac_ext
100905LIBS=$ac_check_lib_save_LIBS
100906fi
100907echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100908echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100909if test $ac_cv_lib_m_main = yes; then
100910  cat >>confdefs.h <<_ACEOF
100911#define HAVE_LIBM 1
100912_ACEOF
100913
100914  LIBS="-lm $LIBS"
100915
100916fi
100917
100918
100919for ac_func in copysignf
100920do
100921as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100922echo "$as_me:$LINENO: checking for $ac_func" >&5
100923echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100924if eval "test \"\${$as_ac_var+set}\" = set"; then
100925  echo $ECHO_N "(cached) $ECHO_C" >&6
100926else
100927  if test x$gcc_no_link = xyes; then
100928  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100929echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100930   { (exit 1); exit 1; }; }
100931fi
100932cat >conftest.$ac_ext <<_ACEOF
100933/* confdefs.h.  */
100934_ACEOF
100935cat confdefs.h >>conftest.$ac_ext
100936cat >>conftest.$ac_ext <<_ACEOF
100937/* end confdefs.h.  */
100938/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100939   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100940#define $ac_func innocuous_$ac_func
100941
100942/* System header to define __stub macros and hopefully few prototypes,
100943    which can conflict with char $ac_func (); below.
100944    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100945    <limits.h> exists even on freestanding compilers.  */
100946
100947#ifdef __STDC__
100948# include <limits.h>
100949#else
100950# include <assert.h>
100951#endif
100952
100953#undef $ac_func
100954
100955/* Override any gcc2 internal prototype to avoid an error.  */
100956#ifdef __cplusplus
100957extern "C"
100958{
100959#endif
100960/* We use char because int might match the return type of a gcc2
100961   builtin and then its argument prototype would still apply.  */
100962char $ac_func ();
100963/* The GNU C library defines this for functions which it implements
100964    to always fail with ENOSYS.  Some functions are actually named
100965    something starting with __ and the normal name is an alias.  */
100966#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100967choke me
100968#else
100969char (*f) () = $ac_func;
100970#endif
100971#ifdef __cplusplus
100972}
100973#endif
100974
100975int
100976main ()
100977{
100978return f != $ac_func;
100979  ;
100980  return 0;
100981}
100982_ACEOF
100983rm -f conftest.$ac_objext conftest$ac_exeext
100984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100985  (eval $ac_link) 2>conftest.er1
100986  ac_status=$?
100987  grep -v '^ *+' conftest.er1 >conftest.err
100988  rm -f conftest.er1
100989  cat conftest.err >&5
100990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991  (exit $ac_status); } &&
100992	 { ac_try='test -z "$ac_c_werror_flag"
100993			 || test ! -s conftest.err'
100994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100995  (eval $ac_try) 2>&5
100996  ac_status=$?
100997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
100998  (exit $ac_status); }; } &&
100999	 { ac_try='test -s conftest$ac_exeext'
101000  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101001  (eval $ac_try) 2>&5
101002  ac_status=$?
101003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101004  (exit $ac_status); }; }; then
101005  eval "$as_ac_var=yes"
101006else
101007  echo "$as_me: failed program was:" >&5
101008sed 's/^/| /' conftest.$ac_ext >&5
101009
101010eval "$as_ac_var=no"
101011fi
101012rm -f conftest.err conftest.$ac_objext \
101013      conftest$ac_exeext conftest.$ac_ext
101014fi
101015echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101016echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101017if test `eval echo '${'$as_ac_var'}'` = yes; then
101018  cat >>confdefs.h <<_ACEOF
101019#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101020_ACEOF
101021
101022else
101023  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101024fi
101025done
101026
101027
101028
101029for ac_func in __signbit
101030do
101031as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101032echo "$as_me:$LINENO: checking for $ac_func" >&5
101033echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101034if eval "test \"\${$as_ac_var+set}\" = set"; then
101035  echo $ECHO_N "(cached) $ECHO_C" >&6
101036else
101037  if test x$gcc_no_link = xyes; then
101038  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101039echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101040   { (exit 1); exit 1; }; }
101041fi
101042cat >conftest.$ac_ext <<_ACEOF
101043/* confdefs.h.  */
101044_ACEOF
101045cat confdefs.h >>conftest.$ac_ext
101046cat >>conftest.$ac_ext <<_ACEOF
101047/* end confdefs.h.  */
101048/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101049   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101050#define $ac_func innocuous_$ac_func
101051
101052/* System header to define __stub macros and hopefully few prototypes,
101053    which can conflict with char $ac_func (); below.
101054    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101055    <limits.h> exists even on freestanding compilers.  */
101056
101057#ifdef __STDC__
101058# include <limits.h>
101059#else
101060# include <assert.h>
101061#endif
101062
101063#undef $ac_func
101064
101065/* Override any gcc2 internal prototype to avoid an error.  */
101066#ifdef __cplusplus
101067extern "C"
101068{
101069#endif
101070/* We use char because int might match the return type of a gcc2
101071   builtin and then its argument prototype would still apply.  */
101072char $ac_func ();
101073/* The GNU C library defines this for functions which it implements
101074    to always fail with ENOSYS.  Some functions are actually named
101075    something starting with __ and the normal name is an alias.  */
101076#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101077choke me
101078#else
101079char (*f) () = $ac_func;
101080#endif
101081#ifdef __cplusplus
101082}
101083#endif
101084
101085int
101086main ()
101087{
101088return f != $ac_func;
101089  ;
101090  return 0;
101091}
101092_ACEOF
101093rm -f conftest.$ac_objext conftest$ac_exeext
101094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101095  (eval $ac_link) 2>conftest.er1
101096  ac_status=$?
101097  grep -v '^ *+' conftest.er1 >conftest.err
101098  rm -f conftest.er1
101099  cat conftest.err >&5
101100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101101  (exit $ac_status); } &&
101102	 { ac_try='test -z "$ac_c_werror_flag"
101103			 || test ! -s conftest.err'
101104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101105  (eval $ac_try) 2>&5
101106  ac_status=$?
101107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101108  (exit $ac_status); }; } &&
101109	 { ac_try='test -s conftest$ac_exeext'
101110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101111  (eval $ac_try) 2>&5
101112  ac_status=$?
101113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101114  (exit $ac_status); }; }; then
101115  eval "$as_ac_var=yes"
101116else
101117  echo "$as_me: failed program was:" >&5
101118sed 's/^/| /' conftest.$ac_ext >&5
101119
101120eval "$as_ac_var=no"
101121fi
101122rm -f conftest.err conftest.$ac_objext \
101123      conftest$ac_exeext conftest.$ac_ext
101124fi
101125echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101126echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101127if test `eval echo '${'$as_ac_var'}'` = yes; then
101128  cat >>confdefs.h <<_ACEOF
101129#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101130_ACEOF
101131
101132else
101133  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101134fi
101135done
101136
101137
101138
101139for ac_func in __signbitf
101140do
101141as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101142echo "$as_me:$LINENO: checking for $ac_func" >&5
101143echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101144if eval "test \"\${$as_ac_var+set}\" = set"; then
101145  echo $ECHO_N "(cached) $ECHO_C" >&6
101146else
101147  if test x$gcc_no_link = xyes; then
101148  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101149echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101150   { (exit 1); exit 1; }; }
101151fi
101152cat >conftest.$ac_ext <<_ACEOF
101153/* confdefs.h.  */
101154_ACEOF
101155cat confdefs.h >>conftest.$ac_ext
101156cat >>conftest.$ac_ext <<_ACEOF
101157/* end confdefs.h.  */
101158/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101159   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101160#define $ac_func innocuous_$ac_func
101161
101162/* System header to define __stub macros and hopefully few prototypes,
101163    which can conflict with char $ac_func (); below.
101164    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101165    <limits.h> exists even on freestanding compilers.  */
101166
101167#ifdef __STDC__
101168# include <limits.h>
101169#else
101170# include <assert.h>
101171#endif
101172
101173#undef $ac_func
101174
101175/* Override any gcc2 internal prototype to avoid an error.  */
101176#ifdef __cplusplus
101177extern "C"
101178{
101179#endif
101180/* We use char because int might match the return type of a gcc2
101181   builtin and then its argument prototype would still apply.  */
101182char $ac_func ();
101183/* The GNU C library defines this for functions which it implements
101184    to always fail with ENOSYS.  Some functions are actually named
101185    something starting with __ and the normal name is an alias.  */
101186#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101187choke me
101188#else
101189char (*f) () = $ac_func;
101190#endif
101191#ifdef __cplusplus
101192}
101193#endif
101194
101195int
101196main ()
101197{
101198return f != $ac_func;
101199  ;
101200  return 0;
101201}
101202_ACEOF
101203rm -f conftest.$ac_objext conftest$ac_exeext
101204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101205  (eval $ac_link) 2>conftest.er1
101206  ac_status=$?
101207  grep -v '^ *+' conftest.er1 >conftest.err
101208  rm -f conftest.er1
101209  cat conftest.err >&5
101210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101211  (exit $ac_status); } &&
101212	 { ac_try='test -z "$ac_c_werror_flag"
101213			 || test ! -s conftest.err'
101214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101215  (eval $ac_try) 2>&5
101216  ac_status=$?
101217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101218  (exit $ac_status); }; } &&
101219	 { ac_try='test -s conftest$ac_exeext'
101220  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101221  (eval $ac_try) 2>&5
101222  ac_status=$?
101223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101224  (exit $ac_status); }; }; then
101225  eval "$as_ac_var=yes"
101226else
101227  echo "$as_me: failed program was:" >&5
101228sed 's/^/| /' conftest.$ac_ext >&5
101229
101230eval "$as_ac_var=no"
101231fi
101232rm -f conftest.err conftest.$ac_objext \
101233      conftest$ac_exeext conftest.$ac_ext
101234fi
101235echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101236echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101237if test `eval echo '${'$as_ac_var'}'` = yes; then
101238  cat >>confdefs.h <<_ACEOF
101239#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101240_ACEOF
101241
101242else
101243  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101244fi
101245done
101246
101247
101248          if test x$ac_cv_func_copysignl = x"yes"; then
101249
101250for ac_func in __signbitl
101251do
101252as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101253echo "$as_me:$LINENO: checking for $ac_func" >&5
101254echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101255if eval "test \"\${$as_ac_var+set}\" = set"; then
101256  echo $ECHO_N "(cached) $ECHO_C" >&6
101257else
101258  if test x$gcc_no_link = xyes; then
101259  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101260echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101261   { (exit 1); exit 1; }; }
101262fi
101263cat >conftest.$ac_ext <<_ACEOF
101264/* confdefs.h.  */
101265_ACEOF
101266cat confdefs.h >>conftest.$ac_ext
101267cat >>conftest.$ac_ext <<_ACEOF
101268/* end confdefs.h.  */
101269/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101270   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101271#define $ac_func innocuous_$ac_func
101272
101273/* System header to define __stub macros and hopefully few prototypes,
101274    which can conflict with char $ac_func (); below.
101275    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101276    <limits.h> exists even on freestanding compilers.  */
101277
101278#ifdef __STDC__
101279# include <limits.h>
101280#else
101281# include <assert.h>
101282#endif
101283
101284#undef $ac_func
101285
101286/* Override any gcc2 internal prototype to avoid an error.  */
101287#ifdef __cplusplus
101288extern "C"
101289{
101290#endif
101291/* We use char because int might match the return type of a gcc2
101292   builtin and then its argument prototype would still apply.  */
101293char $ac_func ();
101294/* The GNU C library defines this for functions which it implements
101295    to always fail with ENOSYS.  Some functions are actually named
101296    something starting with __ and the normal name is an alias.  */
101297#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101298choke me
101299#else
101300char (*f) () = $ac_func;
101301#endif
101302#ifdef __cplusplus
101303}
101304#endif
101305
101306int
101307main ()
101308{
101309return f != $ac_func;
101310  ;
101311  return 0;
101312}
101313_ACEOF
101314rm -f conftest.$ac_objext conftest$ac_exeext
101315if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101316  (eval $ac_link) 2>conftest.er1
101317  ac_status=$?
101318  grep -v '^ *+' conftest.er1 >conftest.err
101319  rm -f conftest.er1
101320  cat conftest.err >&5
101321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101322  (exit $ac_status); } &&
101323	 { ac_try='test -z "$ac_c_werror_flag"
101324			 || test ! -s conftest.err'
101325  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101326  (eval $ac_try) 2>&5
101327  ac_status=$?
101328  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101329  (exit $ac_status); }; } &&
101330	 { ac_try='test -s conftest$ac_exeext'
101331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101332  (eval $ac_try) 2>&5
101333  ac_status=$?
101334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101335  (exit $ac_status); }; }; then
101336  eval "$as_ac_var=yes"
101337else
101338  echo "$as_me: failed program was:" >&5
101339sed 's/^/| /' conftest.$ac_ext >&5
101340
101341eval "$as_ac_var=no"
101342fi
101343rm -f conftest.err conftest.$ac_objext \
101344      conftest$ac_exeext conftest.$ac_ext
101345fi
101346echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101347echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101348if test `eval echo '${'$as_ac_var'}'` = yes; then
101349  cat >>confdefs.h <<_ACEOF
101350#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101351_ACEOF
101352
101353else
101354  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101355fi
101356done
101357
101358  fi
101359
101360  # Used in libmath/Makefile.am.
101361  if test -n "$LIBMATHOBJS"; then
101362    need_libmath=yes
101363  fi
101364
101365
101366    ;;
101367  *-netbsd*)
101368
101369
101370
101371
101372
101373
101374
101375
101376
101377
101378
101379
101380for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101381      machine/endian.h machine/param.h sys/machine.h sys/types.h \
101382      fp.h locale.h float.h inttypes.h
101383do
101384as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101385if eval "test \"\${$as_ac_Header+set}\" = set"; then
101386  echo "$as_me:$LINENO: checking for $ac_header" >&5
101387echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101388if eval "test \"\${$as_ac_Header+set}\" = set"; then
101389  echo $ECHO_N "(cached) $ECHO_C" >&6
101390fi
101391echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101392echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101393else
101394  # Is the header compilable?
101395echo "$as_me:$LINENO: checking $ac_header usability" >&5
101396echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101397cat >conftest.$ac_ext <<_ACEOF
101398/* confdefs.h.  */
101399_ACEOF
101400cat confdefs.h >>conftest.$ac_ext
101401cat >>conftest.$ac_ext <<_ACEOF
101402/* end confdefs.h.  */
101403$ac_includes_default
101404#include <$ac_header>
101405_ACEOF
101406rm -f conftest.$ac_objext
101407if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101408  (eval $ac_compile) 2>conftest.er1
101409  ac_status=$?
101410  grep -v '^ *+' conftest.er1 >conftest.err
101411  rm -f conftest.er1
101412  cat conftest.err >&5
101413  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101414  (exit $ac_status); } &&
101415	 { ac_try='test -z "$ac_c_werror_flag"
101416			 || test ! -s conftest.err'
101417  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101418  (eval $ac_try) 2>&5
101419  ac_status=$?
101420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101421  (exit $ac_status); }; } &&
101422	 { ac_try='test -s conftest.$ac_objext'
101423  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101424  (eval $ac_try) 2>&5
101425  ac_status=$?
101426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101427  (exit $ac_status); }; }; then
101428  ac_header_compiler=yes
101429else
101430  echo "$as_me: failed program was:" >&5
101431sed 's/^/| /' conftest.$ac_ext >&5
101432
101433ac_header_compiler=no
101434fi
101435rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101436echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101437echo "${ECHO_T}$ac_header_compiler" >&6
101438
101439# Is the header present?
101440echo "$as_me:$LINENO: checking $ac_header presence" >&5
101441echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101442cat >conftest.$ac_ext <<_ACEOF
101443/* confdefs.h.  */
101444_ACEOF
101445cat confdefs.h >>conftest.$ac_ext
101446cat >>conftest.$ac_ext <<_ACEOF
101447/* end confdefs.h.  */
101448#include <$ac_header>
101449_ACEOF
101450if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101451  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101452  ac_status=$?
101453  grep -v '^ *+' conftest.er1 >conftest.err
101454  rm -f conftest.er1
101455  cat conftest.err >&5
101456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101457  (exit $ac_status); } >/dev/null; then
101458  if test -s conftest.err; then
101459    ac_cpp_err=$ac_c_preproc_warn_flag
101460    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101461  else
101462    ac_cpp_err=
101463  fi
101464else
101465  ac_cpp_err=yes
101466fi
101467if test -z "$ac_cpp_err"; then
101468  ac_header_preproc=yes
101469else
101470  echo "$as_me: failed program was:" >&5
101471sed 's/^/| /' conftest.$ac_ext >&5
101472
101473  ac_header_preproc=no
101474fi
101475rm -f conftest.err conftest.$ac_ext
101476echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101477echo "${ECHO_T}$ac_header_preproc" >&6
101478
101479# So?  What about this header?
101480case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101481  yes:no: )
101482    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101483echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101484    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101485echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101486    ac_header_preproc=yes
101487    ;;
101488  no:yes:* )
101489    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101490echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101491    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
101492echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
101493    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101494echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101495    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
101496echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
101497    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101498echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101499    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101500echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101501    (
101502      cat <<\_ASBOX
101503## ----------------------------------------- ##
101504## Report this to the package-unused lists.  ##
101505## ----------------------------------------- ##
101506_ASBOX
101507    ) |
101508      sed "s/^/$as_me: WARNING:     /" >&2
101509    ;;
101510esac
101511echo "$as_me:$LINENO: checking for $ac_header" >&5
101512echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101513if eval "test \"\${$as_ac_Header+set}\" = set"; then
101514  echo $ECHO_N "(cached) $ECHO_C" >&6
101515else
101516  eval "$as_ac_Header=\$ac_header_preproc"
101517fi
101518echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101519echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101520
101521fi
101522if test `eval echo '${'$as_ac_Header'}'` = yes; then
101523  cat >>confdefs.h <<_ACEOF
101524#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101525_ACEOF
101526
101527fi
101528
101529done
101530
101531    SECTION_FLAGS='-ffunction-sections -fdata-sections'
101532
101533
101534  # If we're not using GNU ld, then there's no point in even trying these
101535  # tests.  Check for that first.  We should have already tested for gld
101536  # by now (in libtool), but require it now just to be safe...
101537  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101538  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101539
101540
101541
101542  # The name set by libtool depends on the version of libtool.  Shame on us
101543  # for depending on an impl detail, but c'est la vie.  Older versions used
101544  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101545  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101546  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101547  # set (hence we're using an older libtool), then set it.
101548  if test x${with_gnu_ld+set} != xset; then
101549    if test x${ac_cv_prog_gnu_ld+set} != xset; then
101550      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101551      with_gnu_ld=no
101552    else
101553      with_gnu_ld=$ac_cv_prog_gnu_ld
101554    fi
101555  fi
101556
101557  # Start by getting the version number.  I think the libtool test already
101558  # does some of this, but throws away the result.
101559  if test x"$with_gnu_ld" = x"yes"; then
101560    echo "$as_me:$LINENO: checking for ld version" >&5
101561echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101562
101563    ldver=`$LD --version 2>/dev/null | head -1 | \
101564           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
101565
101566    glibcxx_gnu_ld_version=`echo $ldver | \
101567           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101568    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101569echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101570  fi
101571
101572  # Set --gc-sections.
101573  glibcxx_gcsections_min_ld=21602
101574  if test x"$with_gnu_ld" = x"yes" &&
101575	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101576
101577    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101578    # NB: This flag only works reliably after 2.16.1. Configure tests
101579    # for this are difficult, so hard wire a value that should work.
101580
101581    ac_test_CFLAGS="${CFLAGS+set}"
101582    ac_save_CFLAGS="$CFLAGS"
101583    CFLAGS='-Wl,--gc-sections'
101584
101585    # Check for -Wl,--gc-sections
101586    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101587echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101588    if test x$gcc_no_link = xyes; then
101589  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101590echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101591   { (exit 1); exit 1; }; }
101592fi
101593cat >conftest.$ac_ext <<_ACEOF
101594/* confdefs.h.  */
101595_ACEOF
101596cat confdefs.h >>conftest.$ac_ext
101597cat >>conftest.$ac_ext <<_ACEOF
101598/* end confdefs.h.  */
101599 int one(void) { return 1; }
101600     int two(void) { return 2; }
101601
101602int
101603main ()
101604{
101605 two();
101606  ;
101607  return 0;
101608}
101609_ACEOF
101610rm -f conftest.$ac_objext conftest$ac_exeext
101611if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101612  (eval $ac_link) 2>conftest.er1
101613  ac_status=$?
101614  grep -v '^ *+' conftest.er1 >conftest.err
101615  rm -f conftest.er1
101616  cat conftest.err >&5
101617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101618  (exit $ac_status); } &&
101619	 { ac_try='test -z "$ac_c_werror_flag"
101620			 || test ! -s conftest.err'
101621  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101622  (eval $ac_try) 2>&5
101623  ac_status=$?
101624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101625  (exit $ac_status); }; } &&
101626	 { ac_try='test -s conftest$ac_exeext'
101627  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101628  (eval $ac_try) 2>&5
101629  ac_status=$?
101630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101631  (exit $ac_status); }; }; then
101632  ac_gcsections=yes
101633else
101634  echo "$as_me: failed program was:" >&5
101635sed 's/^/| /' conftest.$ac_ext >&5
101636
101637ac_gcsections=no
101638fi
101639rm -f conftest.err conftest.$ac_objext \
101640      conftest$ac_exeext conftest.$ac_ext
101641    if test "$ac_gcsections" = "yes"; then
101642      rm -f conftest.c
101643      touch conftest.c
101644      if $CC -c conftest.c; then
101645	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101646	   grep "Warning: gc-sections option ignored" > /dev/null; then
101647	  ac_gcsections=no
101648	fi
101649      fi
101650      rm -f conftest.c conftest.o conftest
101651    fi
101652    if test "$ac_gcsections" = "yes"; then
101653      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101654    fi
101655    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101656echo "${ECHO_T}$ac_gcsections" >&6
101657
101658    if test "$ac_test_CFLAGS" = set; then
101659      CFLAGS="$ac_save_CFLAGS"
101660    else
101661      # this is the suspicious part
101662      CFLAGS=''
101663    fi
101664  fi
101665
101666  # Set -z,relro.
101667  # Note this is only for shared objects.
101668  ac_ld_relro=no
101669  if test x"$with_gnu_ld" = x"yes"; then
101670    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101671echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101672    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101673    if test -n "$cxx_z_relo"; then
101674      OPT_LDFLAGS="-Wl,-z,relro"
101675      ac_ld_relro=yes
101676    fi
101677    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101678echo "${ECHO_T}$ac_ld_relro" >&6
101679  fi
101680
101681  # Set linker optimization flags.
101682  if test x"$with_gnu_ld" = x"yes"; then
101683    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101684  fi
101685
101686
101687
101688
101689
101690
101691echo "$as_me:$LINENO: checking for main in -lm" >&5
101692echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101693if test "${ac_cv_lib_m_main+set}" = set; then
101694  echo $ECHO_N "(cached) $ECHO_C" >&6
101695else
101696  ac_check_lib_save_LIBS=$LIBS
101697LIBS="-lm  $LIBS"
101698if test x$gcc_no_link = xyes; then
101699  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101700echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101701   { (exit 1); exit 1; }; }
101702fi
101703cat >conftest.$ac_ext <<_ACEOF
101704/* confdefs.h.  */
101705_ACEOF
101706cat confdefs.h >>conftest.$ac_ext
101707cat >>conftest.$ac_ext <<_ACEOF
101708/* end confdefs.h.  */
101709
101710
101711int
101712main ()
101713{
101714main ();
101715  ;
101716  return 0;
101717}
101718_ACEOF
101719rm -f conftest.$ac_objext conftest$ac_exeext
101720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101721  (eval $ac_link) 2>conftest.er1
101722  ac_status=$?
101723  grep -v '^ *+' conftest.er1 >conftest.err
101724  rm -f conftest.er1
101725  cat conftest.err >&5
101726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101727  (exit $ac_status); } &&
101728	 { ac_try='test -z "$ac_c_werror_flag"
101729			 || test ! -s conftest.err'
101730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101731  (eval $ac_try) 2>&5
101732  ac_status=$?
101733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101734  (exit $ac_status); }; } &&
101735	 { ac_try='test -s conftest$ac_exeext'
101736  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101737  (eval $ac_try) 2>&5
101738  ac_status=$?
101739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101740  (exit $ac_status); }; }; then
101741  ac_cv_lib_m_main=yes
101742else
101743  echo "$as_me: failed program was:" >&5
101744sed 's/^/| /' conftest.$ac_ext >&5
101745
101746ac_cv_lib_m_main=no
101747fi
101748rm -f conftest.err conftest.$ac_objext \
101749      conftest$ac_exeext conftest.$ac_ext
101750LIBS=$ac_check_lib_save_LIBS
101751fi
101752echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101753echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101754if test $ac_cv_lib_m_main = yes; then
101755  cat >>confdefs.h <<_ACEOF
101756#define HAVE_LIBM 1
101757_ACEOF
101758
101759  LIBS="-lm $LIBS"
101760
101761fi
101762
101763
101764for ac_func in copysignf
101765do
101766as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101767echo "$as_me:$LINENO: checking for $ac_func" >&5
101768echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101769if eval "test \"\${$as_ac_var+set}\" = set"; then
101770  echo $ECHO_N "(cached) $ECHO_C" >&6
101771else
101772  if test x$gcc_no_link = xyes; then
101773  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101774echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101775   { (exit 1); exit 1; }; }
101776fi
101777cat >conftest.$ac_ext <<_ACEOF
101778/* confdefs.h.  */
101779_ACEOF
101780cat confdefs.h >>conftest.$ac_ext
101781cat >>conftest.$ac_ext <<_ACEOF
101782/* end confdefs.h.  */
101783/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101784   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101785#define $ac_func innocuous_$ac_func
101786
101787/* System header to define __stub macros and hopefully few prototypes,
101788    which can conflict with char $ac_func (); below.
101789    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101790    <limits.h> exists even on freestanding compilers.  */
101791
101792#ifdef __STDC__
101793# include <limits.h>
101794#else
101795# include <assert.h>
101796#endif
101797
101798#undef $ac_func
101799
101800/* Override any gcc2 internal prototype to avoid an error.  */
101801#ifdef __cplusplus
101802extern "C"
101803{
101804#endif
101805/* We use char because int might match the return type of a gcc2
101806   builtin and then its argument prototype would still apply.  */
101807char $ac_func ();
101808/* The GNU C library defines this for functions which it implements
101809    to always fail with ENOSYS.  Some functions are actually named
101810    something starting with __ and the normal name is an alias.  */
101811#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101812choke me
101813#else
101814char (*f) () = $ac_func;
101815#endif
101816#ifdef __cplusplus
101817}
101818#endif
101819
101820int
101821main ()
101822{
101823return f != $ac_func;
101824  ;
101825  return 0;
101826}
101827_ACEOF
101828rm -f conftest.$ac_objext conftest$ac_exeext
101829if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101830  (eval $ac_link) 2>conftest.er1
101831  ac_status=$?
101832  grep -v '^ *+' conftest.er1 >conftest.err
101833  rm -f conftest.er1
101834  cat conftest.err >&5
101835  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101836  (exit $ac_status); } &&
101837	 { ac_try='test -z "$ac_c_werror_flag"
101838			 || test ! -s conftest.err'
101839  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101840  (eval $ac_try) 2>&5
101841  ac_status=$?
101842  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101843  (exit $ac_status); }; } &&
101844	 { ac_try='test -s conftest$ac_exeext'
101845  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101846  (eval $ac_try) 2>&5
101847  ac_status=$?
101848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849  (exit $ac_status); }; }; then
101850  eval "$as_ac_var=yes"
101851else
101852  echo "$as_me: failed program was:" >&5
101853sed 's/^/| /' conftest.$ac_ext >&5
101854
101855eval "$as_ac_var=no"
101856fi
101857rm -f conftest.err conftest.$ac_objext \
101858      conftest$ac_exeext conftest.$ac_ext
101859fi
101860echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101861echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101862if test `eval echo '${'$as_ac_var'}'` = yes; then
101863  cat >>confdefs.h <<_ACEOF
101864#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101865_ACEOF
101866
101867else
101868  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101869fi
101870done
101871
101872
101873
101874for ac_func in __signbit
101875do
101876as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101877echo "$as_me:$LINENO: checking for $ac_func" >&5
101878echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101879if eval "test \"\${$as_ac_var+set}\" = set"; then
101880  echo $ECHO_N "(cached) $ECHO_C" >&6
101881else
101882  if test x$gcc_no_link = xyes; then
101883  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101884echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101885   { (exit 1); exit 1; }; }
101886fi
101887cat >conftest.$ac_ext <<_ACEOF
101888/* confdefs.h.  */
101889_ACEOF
101890cat confdefs.h >>conftest.$ac_ext
101891cat >>conftest.$ac_ext <<_ACEOF
101892/* end confdefs.h.  */
101893/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101894   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101895#define $ac_func innocuous_$ac_func
101896
101897/* System header to define __stub macros and hopefully few prototypes,
101898    which can conflict with char $ac_func (); below.
101899    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101900    <limits.h> exists even on freestanding compilers.  */
101901
101902#ifdef __STDC__
101903# include <limits.h>
101904#else
101905# include <assert.h>
101906#endif
101907
101908#undef $ac_func
101909
101910/* Override any gcc2 internal prototype to avoid an error.  */
101911#ifdef __cplusplus
101912extern "C"
101913{
101914#endif
101915/* We use char because int might match the return type of a gcc2
101916   builtin and then its argument prototype would still apply.  */
101917char $ac_func ();
101918/* The GNU C library defines this for functions which it implements
101919    to always fail with ENOSYS.  Some functions are actually named
101920    something starting with __ and the normal name is an alias.  */
101921#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101922choke me
101923#else
101924char (*f) () = $ac_func;
101925#endif
101926#ifdef __cplusplus
101927}
101928#endif
101929
101930int
101931main ()
101932{
101933return f != $ac_func;
101934  ;
101935  return 0;
101936}
101937_ACEOF
101938rm -f conftest.$ac_objext conftest$ac_exeext
101939if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101940  (eval $ac_link) 2>conftest.er1
101941  ac_status=$?
101942  grep -v '^ *+' conftest.er1 >conftest.err
101943  rm -f conftest.er1
101944  cat conftest.err >&5
101945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101946  (exit $ac_status); } &&
101947	 { ac_try='test -z "$ac_c_werror_flag"
101948			 || test ! -s conftest.err'
101949  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101950  (eval $ac_try) 2>&5
101951  ac_status=$?
101952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101953  (exit $ac_status); }; } &&
101954	 { ac_try='test -s conftest$ac_exeext'
101955  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101956  (eval $ac_try) 2>&5
101957  ac_status=$?
101958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
101959  (exit $ac_status); }; }; then
101960  eval "$as_ac_var=yes"
101961else
101962  echo "$as_me: failed program was:" >&5
101963sed 's/^/| /' conftest.$ac_ext >&5
101964
101965eval "$as_ac_var=no"
101966fi
101967rm -f conftest.err conftest.$ac_objext \
101968      conftest$ac_exeext conftest.$ac_ext
101969fi
101970echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101971echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101972if test `eval echo '${'$as_ac_var'}'` = yes; then
101973  cat >>confdefs.h <<_ACEOF
101974#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101975_ACEOF
101976
101977else
101978  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101979fi
101980done
101981
101982
101983
101984for ac_func in __signbitf
101985do
101986as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101987echo "$as_me:$LINENO: checking for $ac_func" >&5
101988echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101989if eval "test \"\${$as_ac_var+set}\" = set"; then
101990  echo $ECHO_N "(cached) $ECHO_C" >&6
101991else
101992  if test x$gcc_no_link = xyes; then
101993  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101994echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101995   { (exit 1); exit 1; }; }
101996fi
101997cat >conftest.$ac_ext <<_ACEOF
101998/* confdefs.h.  */
101999_ACEOF
102000cat confdefs.h >>conftest.$ac_ext
102001cat >>conftest.$ac_ext <<_ACEOF
102002/* end confdefs.h.  */
102003/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102004   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102005#define $ac_func innocuous_$ac_func
102006
102007/* System header to define __stub macros and hopefully few prototypes,
102008    which can conflict with char $ac_func (); below.
102009    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102010    <limits.h> exists even on freestanding compilers.  */
102011
102012#ifdef __STDC__
102013# include <limits.h>
102014#else
102015# include <assert.h>
102016#endif
102017
102018#undef $ac_func
102019
102020/* Override any gcc2 internal prototype to avoid an error.  */
102021#ifdef __cplusplus
102022extern "C"
102023{
102024#endif
102025/* We use char because int might match the return type of a gcc2
102026   builtin and then its argument prototype would still apply.  */
102027char $ac_func ();
102028/* The GNU C library defines this for functions which it implements
102029    to always fail with ENOSYS.  Some functions are actually named
102030    something starting with __ and the normal name is an alias.  */
102031#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102032choke me
102033#else
102034char (*f) () = $ac_func;
102035#endif
102036#ifdef __cplusplus
102037}
102038#endif
102039
102040int
102041main ()
102042{
102043return f != $ac_func;
102044  ;
102045  return 0;
102046}
102047_ACEOF
102048rm -f conftest.$ac_objext conftest$ac_exeext
102049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102050  (eval $ac_link) 2>conftest.er1
102051  ac_status=$?
102052  grep -v '^ *+' conftest.er1 >conftest.err
102053  rm -f conftest.er1
102054  cat conftest.err >&5
102055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102056  (exit $ac_status); } &&
102057	 { ac_try='test -z "$ac_c_werror_flag"
102058			 || test ! -s conftest.err'
102059  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102060  (eval $ac_try) 2>&5
102061  ac_status=$?
102062  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102063  (exit $ac_status); }; } &&
102064	 { ac_try='test -s conftest$ac_exeext'
102065  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102066  (eval $ac_try) 2>&5
102067  ac_status=$?
102068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102069  (exit $ac_status); }; }; then
102070  eval "$as_ac_var=yes"
102071else
102072  echo "$as_me: failed program was:" >&5
102073sed 's/^/| /' conftest.$ac_ext >&5
102074
102075eval "$as_ac_var=no"
102076fi
102077rm -f conftest.err conftest.$ac_objext \
102078      conftest$ac_exeext conftest.$ac_ext
102079fi
102080echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102081echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102082if test `eval echo '${'$as_ac_var'}'` = yes; then
102083  cat >>confdefs.h <<_ACEOF
102084#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102085_ACEOF
102086
102087else
102088  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102089fi
102090done
102091
102092
102093          if test x$ac_cv_func_copysignl = x"yes"; then
102094
102095for ac_func in __signbitl
102096do
102097as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102098echo "$as_me:$LINENO: checking for $ac_func" >&5
102099echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102100if eval "test \"\${$as_ac_var+set}\" = set"; then
102101  echo $ECHO_N "(cached) $ECHO_C" >&6
102102else
102103  if test x$gcc_no_link = xyes; then
102104  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102105echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102106   { (exit 1); exit 1; }; }
102107fi
102108cat >conftest.$ac_ext <<_ACEOF
102109/* confdefs.h.  */
102110_ACEOF
102111cat confdefs.h >>conftest.$ac_ext
102112cat >>conftest.$ac_ext <<_ACEOF
102113/* end confdefs.h.  */
102114/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102115   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102116#define $ac_func innocuous_$ac_func
102117
102118/* System header to define __stub macros and hopefully few prototypes,
102119    which can conflict with char $ac_func (); below.
102120    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102121    <limits.h> exists even on freestanding compilers.  */
102122
102123#ifdef __STDC__
102124# include <limits.h>
102125#else
102126# include <assert.h>
102127#endif
102128
102129#undef $ac_func
102130
102131/* Override any gcc2 internal prototype to avoid an error.  */
102132#ifdef __cplusplus
102133extern "C"
102134{
102135#endif
102136/* We use char because int might match the return type of a gcc2
102137   builtin and then its argument prototype would still apply.  */
102138char $ac_func ();
102139/* The GNU C library defines this for functions which it implements
102140    to always fail with ENOSYS.  Some functions are actually named
102141    something starting with __ and the normal name is an alias.  */
102142#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102143choke me
102144#else
102145char (*f) () = $ac_func;
102146#endif
102147#ifdef __cplusplus
102148}
102149#endif
102150
102151int
102152main ()
102153{
102154return f != $ac_func;
102155  ;
102156  return 0;
102157}
102158_ACEOF
102159rm -f conftest.$ac_objext conftest$ac_exeext
102160if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102161  (eval $ac_link) 2>conftest.er1
102162  ac_status=$?
102163  grep -v '^ *+' conftest.er1 >conftest.err
102164  rm -f conftest.er1
102165  cat conftest.err >&5
102166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102167  (exit $ac_status); } &&
102168	 { ac_try='test -z "$ac_c_werror_flag"
102169			 || test ! -s conftest.err'
102170  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102171  (eval $ac_try) 2>&5
102172  ac_status=$?
102173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102174  (exit $ac_status); }; } &&
102175	 { ac_try='test -s conftest$ac_exeext'
102176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102177  (eval $ac_try) 2>&5
102178  ac_status=$?
102179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102180  (exit $ac_status); }; }; then
102181  eval "$as_ac_var=yes"
102182else
102183  echo "$as_me: failed program was:" >&5
102184sed 's/^/| /' conftest.$ac_ext >&5
102185
102186eval "$as_ac_var=no"
102187fi
102188rm -f conftest.err conftest.$ac_objext \
102189      conftest$ac_exeext conftest.$ac_ext
102190fi
102191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102192echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102193if test `eval echo '${'$as_ac_var'}'` = yes; then
102194  cat >>confdefs.h <<_ACEOF
102195#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102196_ACEOF
102197
102198else
102199  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102200fi
102201done
102202
102203  fi
102204
102205  # Used in libmath/Makefile.am.
102206  if test -n "$LIBMATHOBJS"; then
102207    need_libmath=yes
102208  fi
102209
102210
102211
102212
102213  enable_iconv=no
102214  # Only continue checking if the ISO C99 headers exist and support is on.
102215  if test x"$enable_wchar_t" = xyes; then
102216
102217    # Use iconv for wchar_t to char conversions. As such, check for
102218    # X/Open Portability Guide, version 2 features (XPG2).
102219    if test "${ac_cv_header_iconv_h+set}" = set; then
102220  echo "$as_me:$LINENO: checking for iconv.h" >&5
102221echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102222if test "${ac_cv_header_iconv_h+set}" = set; then
102223  echo $ECHO_N "(cached) $ECHO_C" >&6
102224fi
102225echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102226echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102227else
102228  # Is the header compilable?
102229echo "$as_me:$LINENO: checking iconv.h usability" >&5
102230echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102231cat >conftest.$ac_ext <<_ACEOF
102232/* confdefs.h.  */
102233_ACEOF
102234cat confdefs.h >>conftest.$ac_ext
102235cat >>conftest.$ac_ext <<_ACEOF
102236/* end confdefs.h.  */
102237$ac_includes_default
102238#include <iconv.h>
102239_ACEOF
102240rm -f conftest.$ac_objext
102241if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102242  (eval $ac_compile) 2>conftest.er1
102243  ac_status=$?
102244  grep -v '^ *+' conftest.er1 >conftest.err
102245  rm -f conftest.er1
102246  cat conftest.err >&5
102247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102248  (exit $ac_status); } &&
102249	 { ac_try='test -z "$ac_c_werror_flag"
102250			 || test ! -s conftest.err'
102251  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102252  (eval $ac_try) 2>&5
102253  ac_status=$?
102254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102255  (exit $ac_status); }; } &&
102256	 { ac_try='test -s conftest.$ac_objext'
102257  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102258  (eval $ac_try) 2>&5
102259  ac_status=$?
102260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102261  (exit $ac_status); }; }; then
102262  ac_header_compiler=yes
102263else
102264  echo "$as_me: failed program was:" >&5
102265sed 's/^/| /' conftest.$ac_ext >&5
102266
102267ac_header_compiler=no
102268fi
102269rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102270echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102271echo "${ECHO_T}$ac_header_compiler" >&6
102272
102273# Is the header present?
102274echo "$as_me:$LINENO: checking iconv.h presence" >&5
102275echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102276cat >conftest.$ac_ext <<_ACEOF
102277/* confdefs.h.  */
102278_ACEOF
102279cat confdefs.h >>conftest.$ac_ext
102280cat >>conftest.$ac_ext <<_ACEOF
102281/* end confdefs.h.  */
102282#include <iconv.h>
102283_ACEOF
102284if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102285  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102286  ac_status=$?
102287  grep -v '^ *+' conftest.er1 >conftest.err
102288  rm -f conftest.er1
102289  cat conftest.err >&5
102290  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102291  (exit $ac_status); } >/dev/null; then
102292  if test -s conftest.err; then
102293    ac_cpp_err=$ac_c_preproc_warn_flag
102294    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102295  else
102296    ac_cpp_err=
102297  fi
102298else
102299  ac_cpp_err=yes
102300fi
102301if test -z "$ac_cpp_err"; then
102302  ac_header_preproc=yes
102303else
102304  echo "$as_me: failed program was:" >&5
102305sed 's/^/| /' conftest.$ac_ext >&5
102306
102307  ac_header_preproc=no
102308fi
102309rm -f conftest.err conftest.$ac_ext
102310echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102311echo "${ECHO_T}$ac_header_preproc" >&6
102312
102313# So?  What about this header?
102314case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102315  yes:no: )
102316    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102317echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102318    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102319echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102320    ac_header_preproc=yes
102321    ;;
102322  no:yes:* )
102323    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102324echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102325    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
102326echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
102327    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102328echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102329    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
102330echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102331    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102332echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102333    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102334echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102335    (
102336      cat <<\_ASBOX
102337## ----------------------------------------- ##
102338## Report this to the package-unused lists.  ##
102339## ----------------------------------------- ##
102340_ASBOX
102341    ) |
102342      sed "s/^/$as_me: WARNING:     /" >&2
102343    ;;
102344esac
102345echo "$as_me:$LINENO: checking for iconv.h" >&5
102346echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102347if test "${ac_cv_header_iconv_h+set}" = set; then
102348  echo $ECHO_N "(cached) $ECHO_C" >&6
102349else
102350  ac_cv_header_iconv_h=$ac_header_preproc
102351fi
102352echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102353echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102354
102355fi
102356if test $ac_cv_header_iconv_h = yes; then
102357  ac_has_iconv_h=yes
102358else
102359  ac_has_iconv_h=no
102360fi
102361
102362
102363    if test "${ac_cv_header_langinfo_h+set}" = set; then
102364  echo "$as_me:$LINENO: checking for langinfo.h" >&5
102365echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102366if test "${ac_cv_header_langinfo_h+set}" = set; then
102367  echo $ECHO_N "(cached) $ECHO_C" >&6
102368fi
102369echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102370echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102371else
102372  # Is the header compilable?
102373echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102374echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102375cat >conftest.$ac_ext <<_ACEOF
102376/* confdefs.h.  */
102377_ACEOF
102378cat confdefs.h >>conftest.$ac_ext
102379cat >>conftest.$ac_ext <<_ACEOF
102380/* end confdefs.h.  */
102381$ac_includes_default
102382#include <langinfo.h>
102383_ACEOF
102384rm -f conftest.$ac_objext
102385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102386  (eval $ac_compile) 2>conftest.er1
102387  ac_status=$?
102388  grep -v '^ *+' conftest.er1 >conftest.err
102389  rm -f conftest.er1
102390  cat conftest.err >&5
102391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102392  (exit $ac_status); } &&
102393	 { ac_try='test -z "$ac_c_werror_flag"
102394			 || test ! -s conftest.err'
102395  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102396  (eval $ac_try) 2>&5
102397  ac_status=$?
102398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102399  (exit $ac_status); }; } &&
102400	 { ac_try='test -s conftest.$ac_objext'
102401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102402  (eval $ac_try) 2>&5
102403  ac_status=$?
102404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102405  (exit $ac_status); }; }; then
102406  ac_header_compiler=yes
102407else
102408  echo "$as_me: failed program was:" >&5
102409sed 's/^/| /' conftest.$ac_ext >&5
102410
102411ac_header_compiler=no
102412fi
102413rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102414echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102415echo "${ECHO_T}$ac_header_compiler" >&6
102416
102417# Is the header present?
102418echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102419echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102420cat >conftest.$ac_ext <<_ACEOF
102421/* confdefs.h.  */
102422_ACEOF
102423cat confdefs.h >>conftest.$ac_ext
102424cat >>conftest.$ac_ext <<_ACEOF
102425/* end confdefs.h.  */
102426#include <langinfo.h>
102427_ACEOF
102428if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102429  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102430  ac_status=$?
102431  grep -v '^ *+' conftest.er1 >conftest.err
102432  rm -f conftest.er1
102433  cat conftest.err >&5
102434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102435  (exit $ac_status); } >/dev/null; then
102436  if test -s conftest.err; then
102437    ac_cpp_err=$ac_c_preproc_warn_flag
102438    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102439  else
102440    ac_cpp_err=
102441  fi
102442else
102443  ac_cpp_err=yes
102444fi
102445if test -z "$ac_cpp_err"; then
102446  ac_header_preproc=yes
102447else
102448  echo "$as_me: failed program was:" >&5
102449sed 's/^/| /' conftest.$ac_ext >&5
102450
102451  ac_header_preproc=no
102452fi
102453rm -f conftest.err conftest.$ac_ext
102454echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102455echo "${ECHO_T}$ac_header_preproc" >&6
102456
102457# So?  What about this header?
102458case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102459  yes:no: )
102460    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102461echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102462    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102463echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102464    ac_header_preproc=yes
102465    ;;
102466  no:yes:* )
102467    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102468echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102469    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
102470echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
102471    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102472echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102473    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
102474echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102475    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102476echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102477    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102478echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102479    (
102480      cat <<\_ASBOX
102481## ----------------------------------------- ##
102482## Report this to the package-unused lists.  ##
102483## ----------------------------------------- ##
102484_ASBOX
102485    ) |
102486      sed "s/^/$as_me: WARNING:     /" >&2
102487    ;;
102488esac
102489echo "$as_me:$LINENO: checking for langinfo.h" >&5
102490echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102491if test "${ac_cv_header_langinfo_h+set}" = set; then
102492  echo $ECHO_N "(cached) $ECHO_C" >&6
102493else
102494  ac_cv_header_langinfo_h=$ac_header_preproc
102495fi
102496echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102497echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102498
102499fi
102500if test $ac_cv_header_langinfo_h = yes; then
102501  ac_has_langinfo_h=yes
102502else
102503  ac_has_langinfo_h=no
102504fi
102505
102506
102507
102508    # Check for existence of libiconv.a providing XPG2 wchar_t support.
102509    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102510echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102511if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102512  echo $ECHO_N "(cached) $ECHO_C" >&6
102513else
102514  ac_check_lib_save_LIBS=$LIBS
102515LIBS="-liconv  $LIBS"
102516if test x$gcc_no_link = xyes; then
102517  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102518echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102519   { (exit 1); exit 1; }; }
102520fi
102521cat >conftest.$ac_ext <<_ACEOF
102522/* confdefs.h.  */
102523_ACEOF
102524cat confdefs.h >>conftest.$ac_ext
102525cat >>conftest.$ac_ext <<_ACEOF
102526/* end confdefs.h.  */
102527
102528/* Override any gcc2 internal prototype to avoid an error.  */
102529#ifdef __cplusplus
102530extern "C"
102531#endif
102532/* We use char because int might match the return type of a gcc2
102533   builtin and then its argument prototype would still apply.  */
102534char iconv ();
102535int
102536main ()
102537{
102538iconv ();
102539  ;
102540  return 0;
102541}
102542_ACEOF
102543rm -f conftest.$ac_objext conftest$ac_exeext
102544if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102545  (eval $ac_link) 2>conftest.er1
102546  ac_status=$?
102547  grep -v '^ *+' conftest.er1 >conftest.err
102548  rm -f conftest.er1
102549  cat conftest.err >&5
102550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102551  (exit $ac_status); } &&
102552	 { ac_try='test -z "$ac_c_werror_flag"
102553			 || test ! -s conftest.err'
102554  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102555  (eval $ac_try) 2>&5
102556  ac_status=$?
102557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102558  (exit $ac_status); }; } &&
102559	 { ac_try='test -s conftest$ac_exeext'
102560  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102561  (eval $ac_try) 2>&5
102562  ac_status=$?
102563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102564  (exit $ac_status); }; }; then
102565  ac_cv_lib_iconv_iconv=yes
102566else
102567  echo "$as_me: failed program was:" >&5
102568sed 's/^/| /' conftest.$ac_ext >&5
102569
102570ac_cv_lib_iconv_iconv=no
102571fi
102572rm -f conftest.err conftest.$ac_objext \
102573      conftest$ac_exeext conftest.$ac_ext
102574LIBS=$ac_check_lib_save_LIBS
102575fi
102576echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102577echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102578if test $ac_cv_lib_iconv_iconv = yes; then
102579  LIBICONV="-liconv"
102580fi
102581
102582    ac_save_LIBS="$LIBS"
102583    LIBS="$LIBS $LIBICONV"
102584
102585
102586
102587
102588
102589
102590for ac_func in iconv_open iconv_close iconv nl_langinfo
102591do
102592as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102593echo "$as_me:$LINENO: checking for $ac_func" >&5
102594echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102595if eval "test \"\${$as_ac_var+set}\" = set"; then
102596  echo $ECHO_N "(cached) $ECHO_C" >&6
102597else
102598  if test x$gcc_no_link = xyes; then
102599  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102600echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102601   { (exit 1); exit 1; }; }
102602fi
102603cat >conftest.$ac_ext <<_ACEOF
102604/* confdefs.h.  */
102605_ACEOF
102606cat confdefs.h >>conftest.$ac_ext
102607cat >>conftest.$ac_ext <<_ACEOF
102608/* end confdefs.h.  */
102609/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102610   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102611#define $ac_func innocuous_$ac_func
102612
102613/* System header to define __stub macros and hopefully few prototypes,
102614    which can conflict with char $ac_func (); below.
102615    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102616    <limits.h> exists even on freestanding compilers.  */
102617
102618#ifdef __STDC__
102619# include <limits.h>
102620#else
102621# include <assert.h>
102622#endif
102623
102624#undef $ac_func
102625
102626/* Override any gcc2 internal prototype to avoid an error.  */
102627#ifdef __cplusplus
102628extern "C"
102629{
102630#endif
102631/* We use char because int might match the return type of a gcc2
102632   builtin and then its argument prototype would still apply.  */
102633char $ac_func ();
102634/* The GNU C library defines this for functions which it implements
102635    to always fail with ENOSYS.  Some functions are actually named
102636    something starting with __ and the normal name is an alias.  */
102637#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102638choke me
102639#else
102640char (*f) () = $ac_func;
102641#endif
102642#ifdef __cplusplus
102643}
102644#endif
102645
102646int
102647main ()
102648{
102649return f != $ac_func;
102650  ;
102651  return 0;
102652}
102653_ACEOF
102654rm -f conftest.$ac_objext conftest$ac_exeext
102655if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102656  (eval $ac_link) 2>conftest.er1
102657  ac_status=$?
102658  grep -v '^ *+' conftest.er1 >conftest.err
102659  rm -f conftest.er1
102660  cat conftest.err >&5
102661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102662  (exit $ac_status); } &&
102663	 { ac_try='test -z "$ac_c_werror_flag"
102664			 || test ! -s conftest.err'
102665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102666  (eval $ac_try) 2>&5
102667  ac_status=$?
102668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102669  (exit $ac_status); }; } &&
102670	 { ac_try='test -s conftest$ac_exeext'
102671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102672  (eval $ac_try) 2>&5
102673  ac_status=$?
102674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102675  (exit $ac_status); }; }; then
102676  eval "$as_ac_var=yes"
102677else
102678  echo "$as_me: failed program was:" >&5
102679sed 's/^/| /' conftest.$ac_ext >&5
102680
102681eval "$as_ac_var=no"
102682fi
102683rm -f conftest.err conftest.$ac_objext \
102684      conftest$ac_exeext conftest.$ac_ext
102685fi
102686echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102687echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102688if test `eval echo '${'$as_ac_var'}'` = yes; then
102689  cat >>confdefs.h <<_ACEOF
102690#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102691_ACEOF
102692 ac_XPG2funcs=yes
102693else
102694  ac_XPG2funcs=no
102695fi
102696done
102697
102698
102699    LIBS="$ac_save_LIBS"
102700
102701    if test x"$ac_has_iconv_h" = xyes &&
102702       test x"$ac_has_langinfo_h" = xyes &&
102703       test x"$ac_XPG2funcs" = xyes;
102704    then
102705
102706cat >>confdefs.h <<\_ACEOF
102707#define _GLIBCXX_USE_ICONV 1
102708_ACEOF
102709
102710      enable_iconv=yes
102711    fi
102712  fi
102713  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102714echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102715  echo "$as_me:$LINENO: result: $enable_iconv" >&5
102716echo "${ECHO_T}$enable_iconv" >&6
102717
102718    cat >>confdefs.h <<\_ACEOF
102719#define HAVE_COPYSIGN 1
102720_ACEOF
102721
102722    cat >>confdefs.h <<\_ACEOF
102723#define HAVE_COPYSIGNF 1
102724_ACEOF
102725
102726    cat >>confdefs.h <<\_ACEOF
102727#define HAVE_FINITEF 1
102728_ACEOF
102729
102730    cat >>confdefs.h <<\_ACEOF
102731#define HAVE_FINITE 1
102732_ACEOF
102733
102734    cat >>confdefs.h <<\_ACEOF
102735#define HAVE_FREXPF 1
102736_ACEOF
102737
102738    cat >>confdefs.h <<\_ACEOF
102739#define HAVE_HYPOTF 1
102740_ACEOF
102741
102742    cat >>confdefs.h <<\_ACEOF
102743#define HAVE_ISINF 1
102744_ACEOF
102745
102746    cat >>confdefs.h <<\_ACEOF
102747#define HAVE_ISINFF 1
102748_ACEOF
102749
102750    cat >>confdefs.h <<\_ACEOF
102751#define HAVE_ISNAN 1
102752_ACEOF
102753
102754    cat >>confdefs.h <<\_ACEOF
102755#define HAVE_ISNANF 1
102756_ACEOF
102757
102758    if test x"long_double_math_on_this_cpu" = x"yes"; then
102759      cat >>confdefs.h <<\_ACEOF
102760#define HAVE_FINITEL 1
102761_ACEOF
102762
102763      cat >>confdefs.h <<\_ACEOF
102764#define HAVE_ISINFL 1
102765_ACEOF
102766
102767      cat >>confdefs.h <<\_ACEOF
102768#define HAVE_ISNANL 1
102769_ACEOF
102770
102771    fi
102772    ;;
102773  *-netware)
102774
102775
102776
102777
102778
102779
102780
102781
102782for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
102783      sys/types.h locale.h float.h inttypes.h
102784do
102785as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102786if eval "test \"\${$as_ac_Header+set}\" = set"; then
102787  echo "$as_me:$LINENO: checking for $ac_header" >&5
102788echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102789if eval "test \"\${$as_ac_Header+set}\" = set"; then
102790  echo $ECHO_N "(cached) $ECHO_C" >&6
102791fi
102792echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102793echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102794else
102795  # Is the header compilable?
102796echo "$as_me:$LINENO: checking $ac_header usability" >&5
102797echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102798cat >conftest.$ac_ext <<_ACEOF
102799/* confdefs.h.  */
102800_ACEOF
102801cat confdefs.h >>conftest.$ac_ext
102802cat >>conftest.$ac_ext <<_ACEOF
102803/* end confdefs.h.  */
102804$ac_includes_default
102805#include <$ac_header>
102806_ACEOF
102807rm -f conftest.$ac_objext
102808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102809  (eval $ac_compile) 2>conftest.er1
102810  ac_status=$?
102811  grep -v '^ *+' conftest.er1 >conftest.err
102812  rm -f conftest.er1
102813  cat conftest.err >&5
102814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102815  (exit $ac_status); } &&
102816	 { ac_try='test -z "$ac_c_werror_flag"
102817			 || test ! -s conftest.err'
102818  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102819  (eval $ac_try) 2>&5
102820  ac_status=$?
102821  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102822  (exit $ac_status); }; } &&
102823	 { ac_try='test -s conftest.$ac_objext'
102824  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102825  (eval $ac_try) 2>&5
102826  ac_status=$?
102827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102828  (exit $ac_status); }; }; then
102829  ac_header_compiler=yes
102830else
102831  echo "$as_me: failed program was:" >&5
102832sed 's/^/| /' conftest.$ac_ext >&5
102833
102834ac_header_compiler=no
102835fi
102836rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102837echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102838echo "${ECHO_T}$ac_header_compiler" >&6
102839
102840# Is the header present?
102841echo "$as_me:$LINENO: checking $ac_header presence" >&5
102842echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102843cat >conftest.$ac_ext <<_ACEOF
102844/* confdefs.h.  */
102845_ACEOF
102846cat confdefs.h >>conftest.$ac_ext
102847cat >>conftest.$ac_ext <<_ACEOF
102848/* end confdefs.h.  */
102849#include <$ac_header>
102850_ACEOF
102851if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102852  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102853  ac_status=$?
102854  grep -v '^ *+' conftest.er1 >conftest.err
102855  rm -f conftest.er1
102856  cat conftest.err >&5
102857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
102858  (exit $ac_status); } >/dev/null; then
102859  if test -s conftest.err; then
102860    ac_cpp_err=$ac_c_preproc_warn_flag
102861    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102862  else
102863    ac_cpp_err=
102864  fi
102865else
102866  ac_cpp_err=yes
102867fi
102868if test -z "$ac_cpp_err"; then
102869  ac_header_preproc=yes
102870else
102871  echo "$as_me: failed program was:" >&5
102872sed 's/^/| /' conftest.$ac_ext >&5
102873
102874  ac_header_preproc=no
102875fi
102876rm -f conftest.err conftest.$ac_ext
102877echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102878echo "${ECHO_T}$ac_header_preproc" >&6
102879
102880# So?  What about this header?
102881case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102882  yes:no: )
102883    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102884echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102885    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102886echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102887    ac_header_preproc=yes
102888    ;;
102889  no:yes:* )
102890    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102891echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102892    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
102893echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
102894    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102895echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102896    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
102897echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
102898    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102899echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102900    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102901echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102902    (
102903      cat <<\_ASBOX
102904## ----------------------------------------- ##
102905## Report this to the package-unused lists.  ##
102906## ----------------------------------------- ##
102907_ASBOX
102908    ) |
102909      sed "s/^/$as_me: WARNING:     /" >&2
102910    ;;
102911esac
102912echo "$as_me:$LINENO: checking for $ac_header" >&5
102913echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102914if eval "test \"\${$as_ac_Header+set}\" = set"; then
102915  echo $ECHO_N "(cached) $ECHO_C" >&6
102916else
102917  eval "$as_ac_Header=\$ac_header_preproc"
102918fi
102919echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102920echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102921
102922fi
102923if test `eval echo '${'$as_ac_Header'}'` = yes; then
102924  cat >>confdefs.h <<_ACEOF
102925#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102926_ACEOF
102927
102928fi
102929
102930done
102931
102932    SECTION_FLAGS='-ffunction-sections -fdata-sections'
102933
102934
102935  # If we're not using GNU ld, then there's no point in even trying these
102936  # tests.  Check for that first.  We should have already tested for gld
102937  # by now (in libtool), but require it now just to be safe...
102938  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102939  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102940
102941
102942
102943  # The name set by libtool depends on the version of libtool.  Shame on us
102944  # for depending on an impl detail, but c'est la vie.  Older versions used
102945  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102946  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102947  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102948  # set (hence we're using an older libtool), then set it.
102949  if test x${with_gnu_ld+set} != xset; then
102950    if test x${ac_cv_prog_gnu_ld+set} != xset; then
102951      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102952      with_gnu_ld=no
102953    else
102954      with_gnu_ld=$ac_cv_prog_gnu_ld
102955    fi
102956  fi
102957
102958  # Start by getting the version number.  I think the libtool test already
102959  # does some of this, but throws away the result.
102960  if test x"$with_gnu_ld" = x"yes"; then
102961    echo "$as_me:$LINENO: checking for ld version" >&5
102962echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102963
102964    ldver=`$LD --version 2>/dev/null | head -1 | \
102965           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
102966
102967    glibcxx_gnu_ld_version=`echo $ldver | \
102968           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102969    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102970echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102971  fi
102972
102973  # Set --gc-sections.
102974  glibcxx_gcsections_min_ld=21602
102975  if test x"$with_gnu_ld" = x"yes" &&
102976	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102977
102978    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102979    # NB: This flag only works reliably after 2.16.1. Configure tests
102980    # for this are difficult, so hard wire a value that should work.
102981
102982    ac_test_CFLAGS="${CFLAGS+set}"
102983    ac_save_CFLAGS="$CFLAGS"
102984    CFLAGS='-Wl,--gc-sections'
102985
102986    # Check for -Wl,--gc-sections
102987    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102988echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102989    if test x$gcc_no_link = xyes; then
102990  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102991echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102992   { (exit 1); exit 1; }; }
102993fi
102994cat >conftest.$ac_ext <<_ACEOF
102995/* confdefs.h.  */
102996_ACEOF
102997cat confdefs.h >>conftest.$ac_ext
102998cat >>conftest.$ac_ext <<_ACEOF
102999/* end confdefs.h.  */
103000 int one(void) { return 1; }
103001     int two(void) { return 2; }
103002
103003int
103004main ()
103005{
103006 two();
103007  ;
103008  return 0;
103009}
103010_ACEOF
103011rm -f conftest.$ac_objext conftest$ac_exeext
103012if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103013  (eval $ac_link) 2>conftest.er1
103014  ac_status=$?
103015  grep -v '^ *+' conftest.er1 >conftest.err
103016  rm -f conftest.er1
103017  cat conftest.err >&5
103018  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103019  (exit $ac_status); } &&
103020	 { ac_try='test -z "$ac_c_werror_flag"
103021			 || test ! -s conftest.err'
103022  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103023  (eval $ac_try) 2>&5
103024  ac_status=$?
103025  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103026  (exit $ac_status); }; } &&
103027	 { ac_try='test -s conftest$ac_exeext'
103028  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103029  (eval $ac_try) 2>&5
103030  ac_status=$?
103031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103032  (exit $ac_status); }; }; then
103033  ac_gcsections=yes
103034else
103035  echo "$as_me: failed program was:" >&5
103036sed 's/^/| /' conftest.$ac_ext >&5
103037
103038ac_gcsections=no
103039fi
103040rm -f conftest.err conftest.$ac_objext \
103041      conftest$ac_exeext conftest.$ac_ext
103042    if test "$ac_gcsections" = "yes"; then
103043      rm -f conftest.c
103044      touch conftest.c
103045      if $CC -c conftest.c; then
103046	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103047	   grep "Warning: gc-sections option ignored" > /dev/null; then
103048	  ac_gcsections=no
103049	fi
103050      fi
103051      rm -f conftest.c conftest.o conftest
103052    fi
103053    if test "$ac_gcsections" = "yes"; then
103054      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103055    fi
103056    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103057echo "${ECHO_T}$ac_gcsections" >&6
103058
103059    if test "$ac_test_CFLAGS" = set; then
103060      CFLAGS="$ac_save_CFLAGS"
103061    else
103062      # this is the suspicious part
103063      CFLAGS=''
103064    fi
103065  fi
103066
103067  # Set -z,relro.
103068  # Note this is only for shared objects.
103069  ac_ld_relro=no
103070  if test x"$with_gnu_ld" = x"yes"; then
103071    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103072echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103073    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103074    if test -n "$cxx_z_relo"; then
103075      OPT_LDFLAGS="-Wl,-z,relro"
103076      ac_ld_relro=yes
103077    fi
103078    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103079echo "${ECHO_T}$ac_ld_relro" >&6
103080  fi
103081
103082  # Set linker optimization flags.
103083  if test x"$with_gnu_ld" = x"yes"; then
103084    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103085  fi
103086
103087
103088
103089
103090
103091
103092echo "$as_me:$LINENO: checking for main in -lm" >&5
103093echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103094if test "${ac_cv_lib_m_main+set}" = set; then
103095  echo $ECHO_N "(cached) $ECHO_C" >&6
103096else
103097  ac_check_lib_save_LIBS=$LIBS
103098LIBS="-lm  $LIBS"
103099if test x$gcc_no_link = xyes; then
103100  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103101echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103102   { (exit 1); exit 1; }; }
103103fi
103104cat >conftest.$ac_ext <<_ACEOF
103105/* confdefs.h.  */
103106_ACEOF
103107cat confdefs.h >>conftest.$ac_ext
103108cat >>conftest.$ac_ext <<_ACEOF
103109/* end confdefs.h.  */
103110
103111
103112int
103113main ()
103114{
103115main ();
103116  ;
103117  return 0;
103118}
103119_ACEOF
103120rm -f conftest.$ac_objext conftest$ac_exeext
103121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103122  (eval $ac_link) 2>conftest.er1
103123  ac_status=$?
103124  grep -v '^ *+' conftest.er1 >conftest.err
103125  rm -f conftest.er1
103126  cat conftest.err >&5
103127  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103128  (exit $ac_status); } &&
103129	 { ac_try='test -z "$ac_c_werror_flag"
103130			 || test ! -s conftest.err'
103131  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103132  (eval $ac_try) 2>&5
103133  ac_status=$?
103134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103135  (exit $ac_status); }; } &&
103136	 { ac_try='test -s conftest$ac_exeext'
103137  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103138  (eval $ac_try) 2>&5
103139  ac_status=$?
103140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103141  (exit $ac_status); }; }; then
103142  ac_cv_lib_m_main=yes
103143else
103144  echo "$as_me: failed program was:" >&5
103145sed 's/^/| /' conftest.$ac_ext >&5
103146
103147ac_cv_lib_m_main=no
103148fi
103149rm -f conftest.err conftest.$ac_objext \
103150      conftest$ac_exeext conftest.$ac_ext
103151LIBS=$ac_check_lib_save_LIBS
103152fi
103153echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103154echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103155if test $ac_cv_lib_m_main = yes; then
103156  cat >>confdefs.h <<_ACEOF
103157#define HAVE_LIBM 1
103158_ACEOF
103159
103160  LIBS="-lm $LIBS"
103161
103162fi
103163
103164
103165for ac_func in copysignf
103166do
103167as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103168echo "$as_me:$LINENO: checking for $ac_func" >&5
103169echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103170if eval "test \"\${$as_ac_var+set}\" = set"; then
103171  echo $ECHO_N "(cached) $ECHO_C" >&6
103172else
103173  if test x$gcc_no_link = xyes; then
103174  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103175echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103176   { (exit 1); exit 1; }; }
103177fi
103178cat >conftest.$ac_ext <<_ACEOF
103179/* confdefs.h.  */
103180_ACEOF
103181cat confdefs.h >>conftest.$ac_ext
103182cat >>conftest.$ac_ext <<_ACEOF
103183/* end confdefs.h.  */
103184/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103185   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103186#define $ac_func innocuous_$ac_func
103187
103188/* System header to define __stub macros and hopefully few prototypes,
103189    which can conflict with char $ac_func (); below.
103190    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103191    <limits.h> exists even on freestanding compilers.  */
103192
103193#ifdef __STDC__
103194# include <limits.h>
103195#else
103196# include <assert.h>
103197#endif
103198
103199#undef $ac_func
103200
103201/* Override any gcc2 internal prototype to avoid an error.  */
103202#ifdef __cplusplus
103203extern "C"
103204{
103205#endif
103206/* We use char because int might match the return type of a gcc2
103207   builtin and then its argument prototype would still apply.  */
103208char $ac_func ();
103209/* The GNU C library defines this for functions which it implements
103210    to always fail with ENOSYS.  Some functions are actually named
103211    something starting with __ and the normal name is an alias.  */
103212#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103213choke me
103214#else
103215char (*f) () = $ac_func;
103216#endif
103217#ifdef __cplusplus
103218}
103219#endif
103220
103221int
103222main ()
103223{
103224return f != $ac_func;
103225  ;
103226  return 0;
103227}
103228_ACEOF
103229rm -f conftest.$ac_objext conftest$ac_exeext
103230if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103231  (eval $ac_link) 2>conftest.er1
103232  ac_status=$?
103233  grep -v '^ *+' conftest.er1 >conftest.err
103234  rm -f conftest.er1
103235  cat conftest.err >&5
103236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103237  (exit $ac_status); } &&
103238	 { ac_try='test -z "$ac_c_werror_flag"
103239			 || test ! -s conftest.err'
103240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103241  (eval $ac_try) 2>&5
103242  ac_status=$?
103243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103244  (exit $ac_status); }; } &&
103245	 { ac_try='test -s conftest$ac_exeext'
103246  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103247  (eval $ac_try) 2>&5
103248  ac_status=$?
103249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103250  (exit $ac_status); }; }; then
103251  eval "$as_ac_var=yes"
103252else
103253  echo "$as_me: failed program was:" >&5
103254sed 's/^/| /' conftest.$ac_ext >&5
103255
103256eval "$as_ac_var=no"
103257fi
103258rm -f conftest.err conftest.$ac_objext \
103259      conftest$ac_exeext conftest.$ac_ext
103260fi
103261echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103262echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103263if test `eval echo '${'$as_ac_var'}'` = yes; then
103264  cat >>confdefs.h <<_ACEOF
103265#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103266_ACEOF
103267
103268else
103269  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103270fi
103271done
103272
103273
103274
103275for ac_func in __signbit
103276do
103277as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103278echo "$as_me:$LINENO: checking for $ac_func" >&5
103279echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103280if eval "test \"\${$as_ac_var+set}\" = set"; then
103281  echo $ECHO_N "(cached) $ECHO_C" >&6
103282else
103283  if test x$gcc_no_link = xyes; then
103284  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103285echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103286   { (exit 1); exit 1; }; }
103287fi
103288cat >conftest.$ac_ext <<_ACEOF
103289/* confdefs.h.  */
103290_ACEOF
103291cat confdefs.h >>conftest.$ac_ext
103292cat >>conftest.$ac_ext <<_ACEOF
103293/* end confdefs.h.  */
103294/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103295   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103296#define $ac_func innocuous_$ac_func
103297
103298/* System header to define __stub macros and hopefully few prototypes,
103299    which can conflict with char $ac_func (); below.
103300    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103301    <limits.h> exists even on freestanding compilers.  */
103302
103303#ifdef __STDC__
103304# include <limits.h>
103305#else
103306# include <assert.h>
103307#endif
103308
103309#undef $ac_func
103310
103311/* Override any gcc2 internal prototype to avoid an error.  */
103312#ifdef __cplusplus
103313extern "C"
103314{
103315#endif
103316/* We use char because int might match the return type of a gcc2
103317   builtin and then its argument prototype would still apply.  */
103318char $ac_func ();
103319/* The GNU C library defines this for functions which it implements
103320    to always fail with ENOSYS.  Some functions are actually named
103321    something starting with __ and the normal name is an alias.  */
103322#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103323choke me
103324#else
103325char (*f) () = $ac_func;
103326#endif
103327#ifdef __cplusplus
103328}
103329#endif
103330
103331int
103332main ()
103333{
103334return f != $ac_func;
103335  ;
103336  return 0;
103337}
103338_ACEOF
103339rm -f conftest.$ac_objext conftest$ac_exeext
103340if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103341  (eval $ac_link) 2>conftest.er1
103342  ac_status=$?
103343  grep -v '^ *+' conftest.er1 >conftest.err
103344  rm -f conftest.er1
103345  cat conftest.err >&5
103346  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103347  (exit $ac_status); } &&
103348	 { ac_try='test -z "$ac_c_werror_flag"
103349			 || test ! -s conftest.err'
103350  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103351  (eval $ac_try) 2>&5
103352  ac_status=$?
103353  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103354  (exit $ac_status); }; } &&
103355	 { ac_try='test -s conftest$ac_exeext'
103356  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103357  (eval $ac_try) 2>&5
103358  ac_status=$?
103359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103360  (exit $ac_status); }; }; then
103361  eval "$as_ac_var=yes"
103362else
103363  echo "$as_me: failed program was:" >&5
103364sed 's/^/| /' conftest.$ac_ext >&5
103365
103366eval "$as_ac_var=no"
103367fi
103368rm -f conftest.err conftest.$ac_objext \
103369      conftest$ac_exeext conftest.$ac_ext
103370fi
103371echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103372echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103373if test `eval echo '${'$as_ac_var'}'` = yes; then
103374  cat >>confdefs.h <<_ACEOF
103375#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103376_ACEOF
103377
103378else
103379  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103380fi
103381done
103382
103383
103384
103385for ac_func in __signbitf
103386do
103387as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103388echo "$as_me:$LINENO: checking for $ac_func" >&5
103389echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103390if eval "test \"\${$as_ac_var+set}\" = set"; then
103391  echo $ECHO_N "(cached) $ECHO_C" >&6
103392else
103393  if test x$gcc_no_link = xyes; then
103394  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103395echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103396   { (exit 1); exit 1; }; }
103397fi
103398cat >conftest.$ac_ext <<_ACEOF
103399/* confdefs.h.  */
103400_ACEOF
103401cat confdefs.h >>conftest.$ac_ext
103402cat >>conftest.$ac_ext <<_ACEOF
103403/* end confdefs.h.  */
103404/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103405   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103406#define $ac_func innocuous_$ac_func
103407
103408/* System header to define __stub macros and hopefully few prototypes,
103409    which can conflict with char $ac_func (); below.
103410    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103411    <limits.h> exists even on freestanding compilers.  */
103412
103413#ifdef __STDC__
103414# include <limits.h>
103415#else
103416# include <assert.h>
103417#endif
103418
103419#undef $ac_func
103420
103421/* Override any gcc2 internal prototype to avoid an error.  */
103422#ifdef __cplusplus
103423extern "C"
103424{
103425#endif
103426/* We use char because int might match the return type of a gcc2
103427   builtin and then its argument prototype would still apply.  */
103428char $ac_func ();
103429/* The GNU C library defines this for functions which it implements
103430    to always fail with ENOSYS.  Some functions are actually named
103431    something starting with __ and the normal name is an alias.  */
103432#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103433choke me
103434#else
103435char (*f) () = $ac_func;
103436#endif
103437#ifdef __cplusplus
103438}
103439#endif
103440
103441int
103442main ()
103443{
103444return f != $ac_func;
103445  ;
103446  return 0;
103447}
103448_ACEOF
103449rm -f conftest.$ac_objext conftest$ac_exeext
103450if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103451  (eval $ac_link) 2>conftest.er1
103452  ac_status=$?
103453  grep -v '^ *+' conftest.er1 >conftest.err
103454  rm -f conftest.er1
103455  cat conftest.err >&5
103456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103457  (exit $ac_status); } &&
103458	 { ac_try='test -z "$ac_c_werror_flag"
103459			 || test ! -s conftest.err'
103460  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103461  (eval $ac_try) 2>&5
103462  ac_status=$?
103463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103464  (exit $ac_status); }; } &&
103465	 { ac_try='test -s conftest$ac_exeext'
103466  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103467  (eval $ac_try) 2>&5
103468  ac_status=$?
103469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103470  (exit $ac_status); }; }; then
103471  eval "$as_ac_var=yes"
103472else
103473  echo "$as_me: failed program was:" >&5
103474sed 's/^/| /' conftest.$ac_ext >&5
103475
103476eval "$as_ac_var=no"
103477fi
103478rm -f conftest.err conftest.$ac_objext \
103479      conftest$ac_exeext conftest.$ac_ext
103480fi
103481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103482echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103483if test `eval echo '${'$as_ac_var'}'` = yes; then
103484  cat >>confdefs.h <<_ACEOF
103485#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103486_ACEOF
103487
103488else
103489  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103490fi
103491done
103492
103493
103494          if test x$ac_cv_func_copysignl = x"yes"; then
103495
103496for ac_func in __signbitl
103497do
103498as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103499echo "$as_me:$LINENO: checking for $ac_func" >&5
103500echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103501if eval "test \"\${$as_ac_var+set}\" = set"; then
103502  echo $ECHO_N "(cached) $ECHO_C" >&6
103503else
103504  if test x$gcc_no_link = xyes; then
103505  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103506echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103507   { (exit 1); exit 1; }; }
103508fi
103509cat >conftest.$ac_ext <<_ACEOF
103510/* confdefs.h.  */
103511_ACEOF
103512cat confdefs.h >>conftest.$ac_ext
103513cat >>conftest.$ac_ext <<_ACEOF
103514/* end confdefs.h.  */
103515/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103516   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103517#define $ac_func innocuous_$ac_func
103518
103519/* System header to define __stub macros and hopefully few prototypes,
103520    which can conflict with char $ac_func (); below.
103521    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103522    <limits.h> exists even on freestanding compilers.  */
103523
103524#ifdef __STDC__
103525# include <limits.h>
103526#else
103527# include <assert.h>
103528#endif
103529
103530#undef $ac_func
103531
103532/* Override any gcc2 internal prototype to avoid an error.  */
103533#ifdef __cplusplus
103534extern "C"
103535{
103536#endif
103537/* We use char because int might match the return type of a gcc2
103538   builtin and then its argument prototype would still apply.  */
103539char $ac_func ();
103540/* The GNU C library defines this for functions which it implements
103541    to always fail with ENOSYS.  Some functions are actually named
103542    something starting with __ and the normal name is an alias.  */
103543#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103544choke me
103545#else
103546char (*f) () = $ac_func;
103547#endif
103548#ifdef __cplusplus
103549}
103550#endif
103551
103552int
103553main ()
103554{
103555return f != $ac_func;
103556  ;
103557  return 0;
103558}
103559_ACEOF
103560rm -f conftest.$ac_objext conftest$ac_exeext
103561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103562  (eval $ac_link) 2>conftest.er1
103563  ac_status=$?
103564  grep -v '^ *+' conftest.er1 >conftest.err
103565  rm -f conftest.er1
103566  cat conftest.err >&5
103567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103568  (exit $ac_status); } &&
103569	 { ac_try='test -z "$ac_c_werror_flag"
103570			 || test ! -s conftest.err'
103571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103572  (eval $ac_try) 2>&5
103573  ac_status=$?
103574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103575  (exit $ac_status); }; } &&
103576	 { ac_try='test -s conftest$ac_exeext'
103577  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103578  (eval $ac_try) 2>&5
103579  ac_status=$?
103580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103581  (exit $ac_status); }; }; then
103582  eval "$as_ac_var=yes"
103583else
103584  echo "$as_me: failed program was:" >&5
103585sed 's/^/| /' conftest.$ac_ext >&5
103586
103587eval "$as_ac_var=no"
103588fi
103589rm -f conftest.err conftest.$ac_objext \
103590      conftest$ac_exeext conftest.$ac_ext
103591fi
103592echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103593echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103594if test `eval echo '${'$as_ac_var'}'` = yes; then
103595  cat >>confdefs.h <<_ACEOF
103596#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103597_ACEOF
103598
103599else
103600  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103601fi
103602done
103603
103604  fi
103605
103606  # Used in libmath/Makefile.am.
103607  if test -n "$LIBMATHOBJS"; then
103608    need_libmath=yes
103609  fi
103610
103611
103612
103613
103614  enable_iconv=no
103615  # Only continue checking if the ISO C99 headers exist and support is on.
103616  if test x"$enable_wchar_t" = xyes; then
103617
103618    # Use iconv for wchar_t to char conversions. As such, check for
103619    # X/Open Portability Guide, version 2 features (XPG2).
103620    if test "${ac_cv_header_iconv_h+set}" = set; then
103621  echo "$as_me:$LINENO: checking for iconv.h" >&5
103622echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103623if test "${ac_cv_header_iconv_h+set}" = set; then
103624  echo $ECHO_N "(cached) $ECHO_C" >&6
103625fi
103626echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103627echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103628else
103629  # Is the header compilable?
103630echo "$as_me:$LINENO: checking iconv.h usability" >&5
103631echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103632cat >conftest.$ac_ext <<_ACEOF
103633/* confdefs.h.  */
103634_ACEOF
103635cat confdefs.h >>conftest.$ac_ext
103636cat >>conftest.$ac_ext <<_ACEOF
103637/* end confdefs.h.  */
103638$ac_includes_default
103639#include <iconv.h>
103640_ACEOF
103641rm -f conftest.$ac_objext
103642if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103643  (eval $ac_compile) 2>conftest.er1
103644  ac_status=$?
103645  grep -v '^ *+' conftest.er1 >conftest.err
103646  rm -f conftest.er1
103647  cat conftest.err >&5
103648  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103649  (exit $ac_status); } &&
103650	 { ac_try='test -z "$ac_c_werror_flag"
103651			 || test ! -s conftest.err'
103652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103653  (eval $ac_try) 2>&5
103654  ac_status=$?
103655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103656  (exit $ac_status); }; } &&
103657	 { ac_try='test -s conftest.$ac_objext'
103658  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103659  (eval $ac_try) 2>&5
103660  ac_status=$?
103661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103662  (exit $ac_status); }; }; then
103663  ac_header_compiler=yes
103664else
103665  echo "$as_me: failed program was:" >&5
103666sed 's/^/| /' conftest.$ac_ext >&5
103667
103668ac_header_compiler=no
103669fi
103670rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103671echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103672echo "${ECHO_T}$ac_header_compiler" >&6
103673
103674# Is the header present?
103675echo "$as_me:$LINENO: checking iconv.h presence" >&5
103676echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103677cat >conftest.$ac_ext <<_ACEOF
103678/* confdefs.h.  */
103679_ACEOF
103680cat confdefs.h >>conftest.$ac_ext
103681cat >>conftest.$ac_ext <<_ACEOF
103682/* end confdefs.h.  */
103683#include <iconv.h>
103684_ACEOF
103685if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103686  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103687  ac_status=$?
103688  grep -v '^ *+' conftest.er1 >conftest.err
103689  rm -f conftest.er1
103690  cat conftest.err >&5
103691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103692  (exit $ac_status); } >/dev/null; then
103693  if test -s conftest.err; then
103694    ac_cpp_err=$ac_c_preproc_warn_flag
103695    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103696  else
103697    ac_cpp_err=
103698  fi
103699else
103700  ac_cpp_err=yes
103701fi
103702if test -z "$ac_cpp_err"; then
103703  ac_header_preproc=yes
103704else
103705  echo "$as_me: failed program was:" >&5
103706sed 's/^/| /' conftest.$ac_ext >&5
103707
103708  ac_header_preproc=no
103709fi
103710rm -f conftest.err conftest.$ac_ext
103711echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103712echo "${ECHO_T}$ac_header_preproc" >&6
103713
103714# So?  What about this header?
103715case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103716  yes:no: )
103717    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103718echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103719    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103720echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103721    ac_header_preproc=yes
103722    ;;
103723  no:yes:* )
103724    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103725echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103726    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
103727echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
103728    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103729echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103730    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
103731echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103732    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103733echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103734    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103735echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103736    (
103737      cat <<\_ASBOX
103738## ----------------------------------------- ##
103739## Report this to the package-unused lists.  ##
103740## ----------------------------------------- ##
103741_ASBOX
103742    ) |
103743      sed "s/^/$as_me: WARNING:     /" >&2
103744    ;;
103745esac
103746echo "$as_me:$LINENO: checking for iconv.h" >&5
103747echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103748if test "${ac_cv_header_iconv_h+set}" = set; then
103749  echo $ECHO_N "(cached) $ECHO_C" >&6
103750else
103751  ac_cv_header_iconv_h=$ac_header_preproc
103752fi
103753echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103754echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103755
103756fi
103757if test $ac_cv_header_iconv_h = yes; then
103758  ac_has_iconv_h=yes
103759else
103760  ac_has_iconv_h=no
103761fi
103762
103763
103764    if test "${ac_cv_header_langinfo_h+set}" = set; then
103765  echo "$as_me:$LINENO: checking for langinfo.h" >&5
103766echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103767if test "${ac_cv_header_langinfo_h+set}" = set; then
103768  echo $ECHO_N "(cached) $ECHO_C" >&6
103769fi
103770echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103771echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103772else
103773  # Is the header compilable?
103774echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103775echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
103776cat >conftest.$ac_ext <<_ACEOF
103777/* confdefs.h.  */
103778_ACEOF
103779cat confdefs.h >>conftest.$ac_ext
103780cat >>conftest.$ac_ext <<_ACEOF
103781/* end confdefs.h.  */
103782$ac_includes_default
103783#include <langinfo.h>
103784_ACEOF
103785rm -f conftest.$ac_objext
103786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103787  (eval $ac_compile) 2>conftest.er1
103788  ac_status=$?
103789  grep -v '^ *+' conftest.er1 >conftest.err
103790  rm -f conftest.er1
103791  cat conftest.err >&5
103792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103793  (exit $ac_status); } &&
103794	 { ac_try='test -z "$ac_c_werror_flag"
103795			 || test ! -s conftest.err'
103796  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103797  (eval $ac_try) 2>&5
103798  ac_status=$?
103799  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800  (exit $ac_status); }; } &&
103801	 { ac_try='test -s conftest.$ac_objext'
103802  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803  (eval $ac_try) 2>&5
103804  ac_status=$?
103805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806  (exit $ac_status); }; }; then
103807  ac_header_compiler=yes
103808else
103809  echo "$as_me: failed program was:" >&5
103810sed 's/^/| /' conftest.$ac_ext >&5
103811
103812ac_header_compiler=no
103813fi
103814rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103815echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103816echo "${ECHO_T}$ac_header_compiler" >&6
103817
103818# Is the header present?
103819echo "$as_me:$LINENO: checking langinfo.h presence" >&5
103820echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
103821cat >conftest.$ac_ext <<_ACEOF
103822/* confdefs.h.  */
103823_ACEOF
103824cat confdefs.h >>conftest.$ac_ext
103825cat >>conftest.$ac_ext <<_ACEOF
103826/* end confdefs.h.  */
103827#include <langinfo.h>
103828_ACEOF
103829if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103830  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103831  ac_status=$?
103832  grep -v '^ *+' conftest.er1 >conftest.err
103833  rm -f conftest.er1
103834  cat conftest.err >&5
103835  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103836  (exit $ac_status); } >/dev/null; then
103837  if test -s conftest.err; then
103838    ac_cpp_err=$ac_c_preproc_warn_flag
103839    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103840  else
103841    ac_cpp_err=
103842  fi
103843else
103844  ac_cpp_err=yes
103845fi
103846if test -z "$ac_cpp_err"; then
103847  ac_header_preproc=yes
103848else
103849  echo "$as_me: failed program was:" >&5
103850sed 's/^/| /' conftest.$ac_ext >&5
103851
103852  ac_header_preproc=no
103853fi
103854rm -f conftest.err conftest.$ac_ext
103855echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103856echo "${ECHO_T}$ac_header_preproc" >&6
103857
103858# So?  What about this header?
103859case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103860  yes:no: )
103861    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
103862echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103863    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
103864echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
103865    ac_header_preproc=yes
103866    ;;
103867  no:yes:* )
103868    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
103869echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
103870    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
103871echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
103872    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
103873echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
103874    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
103875echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103876    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
103877echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
103878    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
103879echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
103880    (
103881      cat <<\_ASBOX
103882## ----------------------------------------- ##
103883## Report this to the package-unused lists.  ##
103884## ----------------------------------------- ##
103885_ASBOX
103886    ) |
103887      sed "s/^/$as_me: WARNING:     /" >&2
103888    ;;
103889esac
103890echo "$as_me:$LINENO: checking for langinfo.h" >&5
103891echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103892if test "${ac_cv_header_langinfo_h+set}" = set; then
103893  echo $ECHO_N "(cached) $ECHO_C" >&6
103894else
103895  ac_cv_header_langinfo_h=$ac_header_preproc
103896fi
103897echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103898echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103899
103900fi
103901if test $ac_cv_header_langinfo_h = yes; then
103902  ac_has_langinfo_h=yes
103903else
103904  ac_has_langinfo_h=no
103905fi
103906
103907
103908
103909    # Check for existence of libiconv.a providing XPG2 wchar_t support.
103910    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
103911echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
103912if test "${ac_cv_lib_iconv_iconv+set}" = set; then
103913  echo $ECHO_N "(cached) $ECHO_C" >&6
103914else
103915  ac_check_lib_save_LIBS=$LIBS
103916LIBS="-liconv  $LIBS"
103917if test x$gcc_no_link = xyes; then
103918  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103919echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103920   { (exit 1); exit 1; }; }
103921fi
103922cat >conftest.$ac_ext <<_ACEOF
103923/* confdefs.h.  */
103924_ACEOF
103925cat confdefs.h >>conftest.$ac_ext
103926cat >>conftest.$ac_ext <<_ACEOF
103927/* end confdefs.h.  */
103928
103929/* Override any gcc2 internal prototype to avoid an error.  */
103930#ifdef __cplusplus
103931extern "C"
103932#endif
103933/* We use char because int might match the return type of a gcc2
103934   builtin and then its argument prototype would still apply.  */
103935char iconv ();
103936int
103937main ()
103938{
103939iconv ();
103940  ;
103941  return 0;
103942}
103943_ACEOF
103944rm -f conftest.$ac_objext conftest$ac_exeext
103945if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103946  (eval $ac_link) 2>conftest.er1
103947  ac_status=$?
103948  grep -v '^ *+' conftest.er1 >conftest.err
103949  rm -f conftest.er1
103950  cat conftest.err >&5
103951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103952  (exit $ac_status); } &&
103953	 { ac_try='test -z "$ac_c_werror_flag"
103954			 || test ! -s conftest.err'
103955  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103956  (eval $ac_try) 2>&5
103957  ac_status=$?
103958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103959  (exit $ac_status); }; } &&
103960	 { ac_try='test -s conftest$ac_exeext'
103961  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103962  (eval $ac_try) 2>&5
103963  ac_status=$?
103964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
103965  (exit $ac_status); }; }; then
103966  ac_cv_lib_iconv_iconv=yes
103967else
103968  echo "$as_me: failed program was:" >&5
103969sed 's/^/| /' conftest.$ac_ext >&5
103970
103971ac_cv_lib_iconv_iconv=no
103972fi
103973rm -f conftest.err conftest.$ac_objext \
103974      conftest$ac_exeext conftest.$ac_ext
103975LIBS=$ac_check_lib_save_LIBS
103976fi
103977echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
103978echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
103979if test $ac_cv_lib_iconv_iconv = yes; then
103980  LIBICONV="-liconv"
103981fi
103982
103983    ac_save_LIBS="$LIBS"
103984    LIBS="$LIBS $LIBICONV"
103985
103986
103987
103988
103989
103990
103991for ac_func in iconv_open iconv_close iconv nl_langinfo
103992do
103993as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103994echo "$as_me:$LINENO: checking for $ac_func" >&5
103995echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103996if eval "test \"\${$as_ac_var+set}\" = set"; then
103997  echo $ECHO_N "(cached) $ECHO_C" >&6
103998else
103999  if test x$gcc_no_link = xyes; then
104000  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104001echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104002   { (exit 1); exit 1; }; }
104003fi
104004cat >conftest.$ac_ext <<_ACEOF
104005/* confdefs.h.  */
104006_ACEOF
104007cat confdefs.h >>conftest.$ac_ext
104008cat >>conftest.$ac_ext <<_ACEOF
104009/* end confdefs.h.  */
104010/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104011   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104012#define $ac_func innocuous_$ac_func
104013
104014/* System header to define __stub macros and hopefully few prototypes,
104015    which can conflict with char $ac_func (); below.
104016    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104017    <limits.h> exists even on freestanding compilers.  */
104018
104019#ifdef __STDC__
104020# include <limits.h>
104021#else
104022# include <assert.h>
104023#endif
104024
104025#undef $ac_func
104026
104027/* Override any gcc2 internal prototype to avoid an error.  */
104028#ifdef __cplusplus
104029extern "C"
104030{
104031#endif
104032/* We use char because int might match the return type of a gcc2
104033   builtin and then its argument prototype would still apply.  */
104034char $ac_func ();
104035/* The GNU C library defines this for functions which it implements
104036    to always fail with ENOSYS.  Some functions are actually named
104037    something starting with __ and the normal name is an alias.  */
104038#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104039choke me
104040#else
104041char (*f) () = $ac_func;
104042#endif
104043#ifdef __cplusplus
104044}
104045#endif
104046
104047int
104048main ()
104049{
104050return f != $ac_func;
104051  ;
104052  return 0;
104053}
104054_ACEOF
104055rm -f conftest.$ac_objext conftest$ac_exeext
104056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104057  (eval $ac_link) 2>conftest.er1
104058  ac_status=$?
104059  grep -v '^ *+' conftest.er1 >conftest.err
104060  rm -f conftest.er1
104061  cat conftest.err >&5
104062  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104063  (exit $ac_status); } &&
104064	 { ac_try='test -z "$ac_c_werror_flag"
104065			 || test ! -s conftest.err'
104066  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104067  (eval $ac_try) 2>&5
104068  ac_status=$?
104069  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104070  (exit $ac_status); }; } &&
104071	 { ac_try='test -s conftest$ac_exeext'
104072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104073  (eval $ac_try) 2>&5
104074  ac_status=$?
104075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104076  (exit $ac_status); }; }; then
104077  eval "$as_ac_var=yes"
104078else
104079  echo "$as_me: failed program was:" >&5
104080sed 's/^/| /' conftest.$ac_ext >&5
104081
104082eval "$as_ac_var=no"
104083fi
104084rm -f conftest.err conftest.$ac_objext \
104085      conftest$ac_exeext conftest.$ac_ext
104086fi
104087echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104088echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104089if test `eval echo '${'$as_ac_var'}'` = yes; then
104090  cat >>confdefs.h <<_ACEOF
104091#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104092_ACEOF
104093 ac_XPG2funcs=yes
104094else
104095  ac_XPG2funcs=no
104096fi
104097done
104098
104099
104100    LIBS="$ac_save_LIBS"
104101
104102    if test x"$ac_has_iconv_h" = xyes &&
104103       test x"$ac_has_langinfo_h" = xyes &&
104104       test x"$ac_XPG2funcs" = xyes;
104105    then
104106
104107cat >>confdefs.h <<\_ACEOF
104108#define _GLIBCXX_USE_ICONV 1
104109_ACEOF
104110
104111      enable_iconv=yes
104112    fi
104113  fi
104114  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104115echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104116  echo "$as_me:$LINENO: result: $enable_iconv" >&5
104117echo "${ECHO_T}$enable_iconv" >&6
104118
104119    cat >>confdefs.h <<\_ACEOF
104120#define HAVE_HYPOT 1
104121_ACEOF
104122
104123    cat >>confdefs.h <<\_ACEOF
104124#define HAVE_ISINF 1
104125_ACEOF
104126
104127    cat >>confdefs.h <<\_ACEOF
104128#define HAVE_ISNAN 1
104129_ACEOF
104130
104131
104132    # For showmanyc_helper().
104133
104134
104135for ac_header in sys/ioctl.h sys/filio.h
104136do
104137as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104138if eval "test \"\${$as_ac_Header+set}\" = set"; then
104139  echo "$as_me:$LINENO: checking for $ac_header" >&5
104140echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104141if eval "test \"\${$as_ac_Header+set}\" = set"; then
104142  echo $ECHO_N "(cached) $ECHO_C" >&6
104143fi
104144echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104145echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104146else
104147  # Is the header compilable?
104148echo "$as_me:$LINENO: checking $ac_header usability" >&5
104149echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104150cat >conftest.$ac_ext <<_ACEOF
104151/* confdefs.h.  */
104152_ACEOF
104153cat confdefs.h >>conftest.$ac_ext
104154cat >>conftest.$ac_ext <<_ACEOF
104155/* end confdefs.h.  */
104156$ac_includes_default
104157#include <$ac_header>
104158_ACEOF
104159rm -f conftest.$ac_objext
104160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104161  (eval $ac_compile) 2>conftest.er1
104162  ac_status=$?
104163  grep -v '^ *+' conftest.er1 >conftest.err
104164  rm -f conftest.er1
104165  cat conftest.err >&5
104166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104167  (exit $ac_status); } &&
104168	 { ac_try='test -z "$ac_c_werror_flag"
104169			 || test ! -s conftest.err'
104170  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104171  (eval $ac_try) 2>&5
104172  ac_status=$?
104173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104174  (exit $ac_status); }; } &&
104175	 { ac_try='test -s conftest.$ac_objext'
104176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104177  (eval $ac_try) 2>&5
104178  ac_status=$?
104179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104180  (exit $ac_status); }; }; then
104181  ac_header_compiler=yes
104182else
104183  echo "$as_me: failed program was:" >&5
104184sed 's/^/| /' conftest.$ac_ext >&5
104185
104186ac_header_compiler=no
104187fi
104188rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104189echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104190echo "${ECHO_T}$ac_header_compiler" >&6
104191
104192# Is the header present?
104193echo "$as_me:$LINENO: checking $ac_header presence" >&5
104194echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104195cat >conftest.$ac_ext <<_ACEOF
104196/* confdefs.h.  */
104197_ACEOF
104198cat confdefs.h >>conftest.$ac_ext
104199cat >>conftest.$ac_ext <<_ACEOF
104200/* end confdefs.h.  */
104201#include <$ac_header>
104202_ACEOF
104203if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104204  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104205  ac_status=$?
104206  grep -v '^ *+' conftest.er1 >conftest.err
104207  rm -f conftest.er1
104208  cat conftest.err >&5
104209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104210  (exit $ac_status); } >/dev/null; then
104211  if test -s conftest.err; then
104212    ac_cpp_err=$ac_c_preproc_warn_flag
104213    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104214  else
104215    ac_cpp_err=
104216  fi
104217else
104218  ac_cpp_err=yes
104219fi
104220if test -z "$ac_cpp_err"; then
104221  ac_header_preproc=yes
104222else
104223  echo "$as_me: failed program was:" >&5
104224sed 's/^/| /' conftest.$ac_ext >&5
104225
104226  ac_header_preproc=no
104227fi
104228rm -f conftest.err conftest.$ac_ext
104229echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104230echo "${ECHO_T}$ac_header_preproc" >&6
104231
104232# So?  What about this header?
104233case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104234  yes:no: )
104235    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104236echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104237    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104238echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104239    ac_header_preproc=yes
104240    ;;
104241  no:yes:* )
104242    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104243echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104244    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104245echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104246    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104247echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104248    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104249echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104250    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104251echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104252    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104253echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104254    (
104255      cat <<\_ASBOX
104256## ----------------------------------------- ##
104257## Report this to the package-unused lists.  ##
104258## ----------------------------------------- ##
104259_ASBOX
104260    ) |
104261      sed "s/^/$as_me: WARNING:     /" >&2
104262    ;;
104263esac
104264echo "$as_me:$LINENO: checking for $ac_header" >&5
104265echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104266if eval "test \"\${$as_ac_Header+set}\" = set"; then
104267  echo $ECHO_N "(cached) $ECHO_C" >&6
104268else
104269  eval "$as_ac_Header=\$ac_header_preproc"
104270fi
104271echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104272echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104273
104274fi
104275if test `eval echo '${'$as_ac_Header'}'` = yes; then
104276  cat >>confdefs.h <<_ACEOF
104277#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104278_ACEOF
104279
104280fi
104281
104282done
104283
104284
104285  echo "$as_me:$LINENO: checking for poll" >&5
104286echo $ECHO_N "checking for poll... $ECHO_C" >&6
104287  if test "${glibcxx_cv_POLL+set}" = set; then
104288  echo $ECHO_N "(cached) $ECHO_C" >&6
104289else
104290
104291    if test x$gcc_no_link = xyes; then
104292  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104293echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104294   { (exit 1); exit 1; }; }
104295fi
104296cat >conftest.$ac_ext <<_ACEOF
104297/* confdefs.h.  */
104298_ACEOF
104299cat confdefs.h >>conftest.$ac_ext
104300cat >>conftest.$ac_ext <<_ACEOF
104301/* end confdefs.h.  */
104302#include <poll.h>
104303int
104304main ()
104305{
104306struct pollfd pfd[1];
104307       pfd[0].events = POLLIN;
104308       poll(pfd, 1, 0);
104309  ;
104310  return 0;
104311}
104312_ACEOF
104313rm -f conftest.$ac_objext conftest$ac_exeext
104314if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104315  (eval $ac_link) 2>conftest.er1
104316  ac_status=$?
104317  grep -v '^ *+' conftest.er1 >conftest.err
104318  rm -f conftest.er1
104319  cat conftest.err >&5
104320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104321  (exit $ac_status); } &&
104322	 { ac_try='test -z "$ac_c_werror_flag"
104323			 || test ! -s conftest.err'
104324  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104325  (eval $ac_try) 2>&5
104326  ac_status=$?
104327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104328  (exit $ac_status); }; } &&
104329	 { ac_try='test -s conftest$ac_exeext'
104330  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104331  (eval $ac_try) 2>&5
104332  ac_status=$?
104333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104334  (exit $ac_status); }; }; then
104335  glibcxx_cv_POLL=yes
104336else
104337  echo "$as_me: failed program was:" >&5
104338sed 's/^/| /' conftest.$ac_ext >&5
104339
104340glibcxx_cv_POLL=no
104341fi
104342rm -f conftest.err conftest.$ac_objext \
104343      conftest$ac_exeext conftest.$ac_ext
104344
104345fi
104346
104347  if test $glibcxx_cv_POLL = yes; then
104348
104349cat >>confdefs.h <<\_ACEOF
104350#define HAVE_POLL 1
104351_ACEOF
104352
104353  fi
104354  echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104355echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104356
104357
104358  echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104359echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104360  if test "${glibcxx_cv_S_ISREG+set}" = set; then
104361  echo $ECHO_N "(cached) $ECHO_C" >&6
104362else
104363
104364    if test x$gcc_no_link = xyes; then
104365  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104366echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104367   { (exit 1); exit 1; }; }
104368fi
104369cat >conftest.$ac_ext <<_ACEOF
104370/* confdefs.h.  */
104371_ACEOF
104372cat confdefs.h >>conftest.$ac_ext
104373cat >>conftest.$ac_ext <<_ACEOF
104374/* end confdefs.h.  */
104375#include <sys/stat.h>
104376int
104377main ()
104378{
104379struct stat buffer;
104380       fstat(0, &buffer);
104381       S_ISREG(buffer.st_mode);
104382  ;
104383  return 0;
104384}
104385_ACEOF
104386rm -f conftest.$ac_objext conftest$ac_exeext
104387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104388  (eval $ac_link) 2>conftest.er1
104389  ac_status=$?
104390  grep -v '^ *+' conftest.er1 >conftest.err
104391  rm -f conftest.er1
104392  cat conftest.err >&5
104393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104394  (exit $ac_status); } &&
104395	 { ac_try='test -z "$ac_c_werror_flag"
104396			 || test ! -s conftest.err'
104397  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104398  (eval $ac_try) 2>&5
104399  ac_status=$?
104400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104401  (exit $ac_status); }; } &&
104402	 { ac_try='test -s conftest$ac_exeext'
104403  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104404  (eval $ac_try) 2>&5
104405  ac_status=$?
104406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104407  (exit $ac_status); }; }; then
104408  glibcxx_cv_S_ISREG=yes
104409else
104410  echo "$as_me: failed program was:" >&5
104411sed 's/^/| /' conftest.$ac_ext >&5
104412
104413glibcxx_cv_S_ISREG=no
104414fi
104415rm -f conftest.err conftest.$ac_objext \
104416      conftest$ac_exeext conftest.$ac_ext
104417
104418fi
104419
104420  if test "${glibcxx_cv_S_IFREG+set}" = set; then
104421  echo $ECHO_N "(cached) $ECHO_C" >&6
104422else
104423
104424    if test x$gcc_no_link = xyes; then
104425  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104426echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104427   { (exit 1); exit 1; }; }
104428fi
104429cat >conftest.$ac_ext <<_ACEOF
104430/* confdefs.h.  */
104431_ACEOF
104432cat confdefs.h >>conftest.$ac_ext
104433cat >>conftest.$ac_ext <<_ACEOF
104434/* end confdefs.h.  */
104435#include <sys/stat.h>
104436int
104437main ()
104438{
104439struct stat buffer;
104440       fstat(0, &buffer);
104441       S_IFREG & buffer.st_mode;
104442  ;
104443  return 0;
104444}
104445_ACEOF
104446rm -f conftest.$ac_objext conftest$ac_exeext
104447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104448  (eval $ac_link) 2>conftest.er1
104449  ac_status=$?
104450  grep -v '^ *+' conftest.er1 >conftest.err
104451  rm -f conftest.er1
104452  cat conftest.err >&5
104453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104454  (exit $ac_status); } &&
104455	 { ac_try='test -z "$ac_c_werror_flag"
104456			 || test ! -s conftest.err'
104457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104458  (eval $ac_try) 2>&5
104459  ac_status=$?
104460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104461  (exit $ac_status); }; } &&
104462	 { ac_try='test -s conftest$ac_exeext'
104463  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104464  (eval $ac_try) 2>&5
104465  ac_status=$?
104466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104467  (exit $ac_status); }; }; then
104468  glibcxx_cv_S_IFREG=yes
104469else
104470  echo "$as_me: failed program was:" >&5
104471sed 's/^/| /' conftest.$ac_ext >&5
104472
104473glibcxx_cv_S_IFREG=no
104474fi
104475rm -f conftest.err conftest.$ac_objext \
104476      conftest$ac_exeext conftest.$ac_ext
104477
104478fi
104479
104480  res=no
104481  if test $glibcxx_cv_S_ISREG = yes; then
104482
104483cat >>confdefs.h <<\_ACEOF
104484#define HAVE_S_ISREG 1
104485_ACEOF
104486
104487    res=S_ISREG
104488  elif test $glibcxx_cv_S_IFREG = yes; then
104489
104490cat >>confdefs.h <<\_ACEOF
104491#define HAVE_S_IFREG 1
104492_ACEOF
104493
104494    res=S_IFREG
104495  fi
104496  echo "$as_me:$LINENO: result: $res" >&5
104497echo "${ECHO_T}$res" >&6
104498
104499
104500    # For xsputn_2().
104501
104502for ac_header in sys/uio.h
104503do
104504as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104505if eval "test \"\${$as_ac_Header+set}\" = set"; then
104506  echo "$as_me:$LINENO: checking for $ac_header" >&5
104507echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104508if eval "test \"\${$as_ac_Header+set}\" = set"; then
104509  echo $ECHO_N "(cached) $ECHO_C" >&6
104510fi
104511echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104512echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104513else
104514  # Is the header compilable?
104515echo "$as_me:$LINENO: checking $ac_header usability" >&5
104516echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104517cat >conftest.$ac_ext <<_ACEOF
104518/* confdefs.h.  */
104519_ACEOF
104520cat confdefs.h >>conftest.$ac_ext
104521cat >>conftest.$ac_ext <<_ACEOF
104522/* end confdefs.h.  */
104523$ac_includes_default
104524#include <$ac_header>
104525_ACEOF
104526rm -f conftest.$ac_objext
104527if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104528  (eval $ac_compile) 2>conftest.er1
104529  ac_status=$?
104530  grep -v '^ *+' conftest.er1 >conftest.err
104531  rm -f conftest.er1
104532  cat conftest.err >&5
104533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104534  (exit $ac_status); } &&
104535	 { ac_try='test -z "$ac_c_werror_flag"
104536			 || test ! -s conftest.err'
104537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104538  (eval $ac_try) 2>&5
104539  ac_status=$?
104540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104541  (exit $ac_status); }; } &&
104542	 { ac_try='test -s conftest.$ac_objext'
104543  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104544  (eval $ac_try) 2>&5
104545  ac_status=$?
104546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104547  (exit $ac_status); }; }; then
104548  ac_header_compiler=yes
104549else
104550  echo "$as_me: failed program was:" >&5
104551sed 's/^/| /' conftest.$ac_ext >&5
104552
104553ac_header_compiler=no
104554fi
104555rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104556echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104557echo "${ECHO_T}$ac_header_compiler" >&6
104558
104559# Is the header present?
104560echo "$as_me:$LINENO: checking $ac_header presence" >&5
104561echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104562cat >conftest.$ac_ext <<_ACEOF
104563/* confdefs.h.  */
104564_ACEOF
104565cat confdefs.h >>conftest.$ac_ext
104566cat >>conftest.$ac_ext <<_ACEOF
104567/* end confdefs.h.  */
104568#include <$ac_header>
104569_ACEOF
104570if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104571  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104572  ac_status=$?
104573  grep -v '^ *+' conftest.er1 >conftest.err
104574  rm -f conftest.er1
104575  cat conftest.err >&5
104576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104577  (exit $ac_status); } >/dev/null; then
104578  if test -s conftest.err; then
104579    ac_cpp_err=$ac_c_preproc_warn_flag
104580    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104581  else
104582    ac_cpp_err=
104583  fi
104584else
104585  ac_cpp_err=yes
104586fi
104587if test -z "$ac_cpp_err"; then
104588  ac_header_preproc=yes
104589else
104590  echo "$as_me: failed program was:" >&5
104591sed 's/^/| /' conftest.$ac_ext >&5
104592
104593  ac_header_preproc=no
104594fi
104595rm -f conftest.err conftest.$ac_ext
104596echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104597echo "${ECHO_T}$ac_header_preproc" >&6
104598
104599# So?  What about this header?
104600case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104601  yes:no: )
104602    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104603echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104604    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104605echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104606    ac_header_preproc=yes
104607    ;;
104608  no:yes:* )
104609    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104610echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104611    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104612echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104613    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104614echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104615    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104616echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104617    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104618echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104619    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104620echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104621    (
104622      cat <<\_ASBOX
104623## ----------------------------------------- ##
104624## Report this to the package-unused lists.  ##
104625## ----------------------------------------- ##
104626_ASBOX
104627    ) |
104628      sed "s/^/$as_me: WARNING:     /" >&2
104629    ;;
104630esac
104631echo "$as_me:$LINENO: checking for $ac_header" >&5
104632echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104633if eval "test \"\${$as_ac_Header+set}\" = set"; then
104634  echo $ECHO_N "(cached) $ECHO_C" >&6
104635else
104636  eval "$as_ac_Header=\$ac_header_preproc"
104637fi
104638echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104639echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104640
104641fi
104642if test `eval echo '${'$as_ac_Header'}'` = yes; then
104643  cat >>confdefs.h <<_ACEOF
104644#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104645_ACEOF
104646
104647fi
104648
104649done
104650
104651
104652  echo "$as_me:$LINENO: checking for writev" >&5
104653echo $ECHO_N "checking for writev... $ECHO_C" >&6
104654  if test "${glibcxx_cv_WRITEV+set}" = set; then
104655  echo $ECHO_N "(cached) $ECHO_C" >&6
104656else
104657
104658    if test x$gcc_no_link = xyes; then
104659  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104660echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104661   { (exit 1); exit 1; }; }
104662fi
104663cat >conftest.$ac_ext <<_ACEOF
104664/* confdefs.h.  */
104665_ACEOF
104666cat confdefs.h >>conftest.$ac_ext
104667cat >>conftest.$ac_ext <<_ACEOF
104668/* end confdefs.h.  */
104669#include <sys/uio.h>
104670int
104671main ()
104672{
104673struct iovec iov[2];
104674       writev(0, iov, 0);
104675  ;
104676  return 0;
104677}
104678_ACEOF
104679rm -f conftest.$ac_objext conftest$ac_exeext
104680if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104681  (eval $ac_link) 2>conftest.er1
104682  ac_status=$?
104683  grep -v '^ *+' conftest.er1 >conftest.err
104684  rm -f conftest.er1
104685  cat conftest.err >&5
104686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104687  (exit $ac_status); } &&
104688	 { ac_try='test -z "$ac_c_werror_flag"
104689			 || test ! -s conftest.err'
104690  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104691  (eval $ac_try) 2>&5
104692  ac_status=$?
104693  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104694  (exit $ac_status); }; } &&
104695	 { ac_try='test -s conftest$ac_exeext'
104696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104697  (eval $ac_try) 2>&5
104698  ac_status=$?
104699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104700  (exit $ac_status); }; }; then
104701  glibcxx_cv_WRITEV=yes
104702else
104703  echo "$as_me: failed program was:" >&5
104704sed 's/^/| /' conftest.$ac_ext >&5
104705
104706glibcxx_cv_WRITEV=no
104707fi
104708rm -f conftest.err conftest.$ac_objext \
104709      conftest$ac_exeext conftest.$ac_ext
104710
104711fi
104712
104713  if test $glibcxx_cv_WRITEV = yes; then
104714
104715cat >>confdefs.h <<\_ACEOF
104716#define HAVE_WRITEV 1
104717_ACEOF
104718
104719  fi
104720  echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104721echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104722
104723    ;;
104724  *-qnx6.1* | *-qnx6.2*)
104725    SECTION_FLAGS='-ffunction-sections -fdata-sections'
104726
104727
104728  # If we're not using GNU ld, then there's no point in even trying these
104729  # tests.  Check for that first.  We should have already tested for gld
104730  # by now (in libtool), but require it now just to be safe...
104731  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104732  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104733
104734
104735
104736  # The name set by libtool depends on the version of libtool.  Shame on us
104737  # for depending on an impl detail, but c'est la vie.  Older versions used
104738  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104739  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104740  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
104741  # set (hence we're using an older libtool), then set it.
104742  if test x${with_gnu_ld+set} != xset; then
104743    if test x${ac_cv_prog_gnu_ld+set} != xset; then
104744      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
104745      with_gnu_ld=no
104746    else
104747      with_gnu_ld=$ac_cv_prog_gnu_ld
104748    fi
104749  fi
104750
104751  # Start by getting the version number.  I think the libtool test already
104752  # does some of this, but throws away the result.
104753  if test x"$with_gnu_ld" = x"yes"; then
104754    echo "$as_me:$LINENO: checking for ld version" >&5
104755echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104756
104757    ldver=`$LD --version 2>/dev/null | head -1 | \
104758           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
104759
104760    glibcxx_gnu_ld_version=`echo $ldver | \
104761           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104762    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104763echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104764  fi
104765
104766  # Set --gc-sections.
104767  glibcxx_gcsections_min_ld=21602
104768  if test x"$with_gnu_ld" = x"yes" &&
104769	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104770
104771    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
104772    # NB: This flag only works reliably after 2.16.1. Configure tests
104773    # for this are difficult, so hard wire a value that should work.
104774
104775    ac_test_CFLAGS="${CFLAGS+set}"
104776    ac_save_CFLAGS="$CFLAGS"
104777    CFLAGS='-Wl,--gc-sections'
104778
104779    # Check for -Wl,--gc-sections
104780    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104781echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
104782    if test x$gcc_no_link = xyes; then
104783  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104784echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104785   { (exit 1); exit 1; }; }
104786fi
104787cat >conftest.$ac_ext <<_ACEOF
104788/* confdefs.h.  */
104789_ACEOF
104790cat confdefs.h >>conftest.$ac_ext
104791cat >>conftest.$ac_ext <<_ACEOF
104792/* end confdefs.h.  */
104793 int one(void) { return 1; }
104794     int two(void) { return 2; }
104795
104796int
104797main ()
104798{
104799 two();
104800  ;
104801  return 0;
104802}
104803_ACEOF
104804rm -f conftest.$ac_objext conftest$ac_exeext
104805if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104806  (eval $ac_link) 2>conftest.er1
104807  ac_status=$?
104808  grep -v '^ *+' conftest.er1 >conftest.err
104809  rm -f conftest.er1
104810  cat conftest.err >&5
104811  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104812  (exit $ac_status); } &&
104813	 { ac_try='test -z "$ac_c_werror_flag"
104814			 || test ! -s conftest.err'
104815  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104816  (eval $ac_try) 2>&5
104817  ac_status=$?
104818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104819  (exit $ac_status); }; } &&
104820	 { ac_try='test -s conftest$ac_exeext'
104821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104822  (eval $ac_try) 2>&5
104823  ac_status=$?
104824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104825  (exit $ac_status); }; }; then
104826  ac_gcsections=yes
104827else
104828  echo "$as_me: failed program was:" >&5
104829sed 's/^/| /' conftest.$ac_ext >&5
104830
104831ac_gcsections=no
104832fi
104833rm -f conftest.err conftest.$ac_objext \
104834      conftest$ac_exeext conftest.$ac_ext
104835    if test "$ac_gcsections" = "yes"; then
104836      rm -f conftest.c
104837      touch conftest.c
104838      if $CC -c conftest.c; then
104839	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104840	   grep "Warning: gc-sections option ignored" > /dev/null; then
104841	  ac_gcsections=no
104842	fi
104843      fi
104844      rm -f conftest.c conftest.o conftest
104845    fi
104846    if test "$ac_gcsections" = "yes"; then
104847      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104848    fi
104849    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104850echo "${ECHO_T}$ac_gcsections" >&6
104851
104852    if test "$ac_test_CFLAGS" = set; then
104853      CFLAGS="$ac_save_CFLAGS"
104854    else
104855      # this is the suspicious part
104856      CFLAGS=''
104857    fi
104858  fi
104859
104860  # Set -z,relro.
104861  # Note this is only for shared objects.
104862  ac_ld_relro=no
104863  if test x"$with_gnu_ld" = x"yes"; then
104864    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104865echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
104866    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104867    if test -n "$cxx_z_relo"; then
104868      OPT_LDFLAGS="-Wl,-z,relro"
104869      ac_ld_relro=yes
104870    fi
104871    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104872echo "${ECHO_T}$ac_ld_relro" >&6
104873  fi
104874
104875  # Set linker optimization flags.
104876  if test x"$with_gnu_ld" = x"yes"; then
104877    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104878  fi
104879
104880
104881
104882
104883
104884
104885echo "$as_me:$LINENO: checking for main in -lm" >&5
104886echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
104887if test "${ac_cv_lib_m_main+set}" = set; then
104888  echo $ECHO_N "(cached) $ECHO_C" >&6
104889else
104890  ac_check_lib_save_LIBS=$LIBS
104891LIBS="-lm  $LIBS"
104892if test x$gcc_no_link = xyes; then
104893  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104894echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104895   { (exit 1); exit 1; }; }
104896fi
104897cat >conftest.$ac_ext <<_ACEOF
104898/* confdefs.h.  */
104899_ACEOF
104900cat confdefs.h >>conftest.$ac_ext
104901cat >>conftest.$ac_ext <<_ACEOF
104902/* end confdefs.h.  */
104903
104904
104905int
104906main ()
104907{
104908main ();
104909  ;
104910  return 0;
104911}
104912_ACEOF
104913rm -f conftest.$ac_objext conftest$ac_exeext
104914if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104915  (eval $ac_link) 2>conftest.er1
104916  ac_status=$?
104917  grep -v '^ *+' conftest.er1 >conftest.err
104918  rm -f conftest.er1
104919  cat conftest.err >&5
104920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104921  (exit $ac_status); } &&
104922	 { ac_try='test -z "$ac_c_werror_flag"
104923			 || test ! -s conftest.err'
104924  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104925  (eval $ac_try) 2>&5
104926  ac_status=$?
104927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104928  (exit $ac_status); }; } &&
104929	 { ac_try='test -s conftest$ac_exeext'
104930  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104931  (eval $ac_try) 2>&5
104932  ac_status=$?
104933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
104934  (exit $ac_status); }; }; then
104935  ac_cv_lib_m_main=yes
104936else
104937  echo "$as_me: failed program was:" >&5
104938sed 's/^/| /' conftest.$ac_ext >&5
104939
104940ac_cv_lib_m_main=no
104941fi
104942rm -f conftest.err conftest.$ac_objext \
104943      conftest$ac_exeext conftest.$ac_ext
104944LIBS=$ac_check_lib_save_LIBS
104945fi
104946echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104947echo "${ECHO_T}$ac_cv_lib_m_main" >&6
104948if test $ac_cv_lib_m_main = yes; then
104949  cat >>confdefs.h <<_ACEOF
104950#define HAVE_LIBM 1
104951_ACEOF
104952
104953  LIBS="-lm $LIBS"
104954
104955fi
104956
104957
104958for ac_func in copysignf
104959do
104960as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104961echo "$as_me:$LINENO: checking for $ac_func" >&5
104962echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104963if eval "test \"\${$as_ac_var+set}\" = set"; then
104964  echo $ECHO_N "(cached) $ECHO_C" >&6
104965else
104966  if test x$gcc_no_link = xyes; then
104967  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104968echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104969   { (exit 1); exit 1; }; }
104970fi
104971cat >conftest.$ac_ext <<_ACEOF
104972/* confdefs.h.  */
104973_ACEOF
104974cat confdefs.h >>conftest.$ac_ext
104975cat >>conftest.$ac_ext <<_ACEOF
104976/* end confdefs.h.  */
104977/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104978   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104979#define $ac_func innocuous_$ac_func
104980
104981/* System header to define __stub macros and hopefully few prototypes,
104982    which can conflict with char $ac_func (); below.
104983    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104984    <limits.h> exists even on freestanding compilers.  */
104985
104986#ifdef __STDC__
104987# include <limits.h>
104988#else
104989# include <assert.h>
104990#endif
104991
104992#undef $ac_func
104993
104994/* Override any gcc2 internal prototype to avoid an error.  */
104995#ifdef __cplusplus
104996extern "C"
104997{
104998#endif
104999/* We use char because int might match the return type of a gcc2
105000   builtin and then its argument prototype would still apply.  */
105001char $ac_func ();
105002/* The GNU C library defines this for functions which it implements
105003    to always fail with ENOSYS.  Some functions are actually named
105004    something starting with __ and the normal name is an alias.  */
105005#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105006choke me
105007#else
105008char (*f) () = $ac_func;
105009#endif
105010#ifdef __cplusplus
105011}
105012#endif
105013
105014int
105015main ()
105016{
105017return f != $ac_func;
105018  ;
105019  return 0;
105020}
105021_ACEOF
105022rm -f conftest.$ac_objext conftest$ac_exeext
105023if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105024  (eval $ac_link) 2>conftest.er1
105025  ac_status=$?
105026  grep -v '^ *+' conftest.er1 >conftest.err
105027  rm -f conftest.er1
105028  cat conftest.err >&5
105029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105030  (exit $ac_status); } &&
105031	 { ac_try='test -z "$ac_c_werror_flag"
105032			 || test ! -s conftest.err'
105033  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105034  (eval $ac_try) 2>&5
105035  ac_status=$?
105036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105037  (exit $ac_status); }; } &&
105038	 { ac_try='test -s conftest$ac_exeext'
105039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105040  (eval $ac_try) 2>&5
105041  ac_status=$?
105042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043  (exit $ac_status); }; }; then
105044  eval "$as_ac_var=yes"
105045else
105046  echo "$as_me: failed program was:" >&5
105047sed 's/^/| /' conftest.$ac_ext >&5
105048
105049eval "$as_ac_var=no"
105050fi
105051rm -f conftest.err conftest.$ac_objext \
105052      conftest$ac_exeext conftest.$ac_ext
105053fi
105054echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105055echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105056if test `eval echo '${'$as_ac_var'}'` = yes; then
105057  cat >>confdefs.h <<_ACEOF
105058#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105059_ACEOF
105060
105061else
105062  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105063fi
105064done
105065
105066
105067
105068for ac_func in __signbit
105069do
105070as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105071echo "$as_me:$LINENO: checking for $ac_func" >&5
105072echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105073if eval "test \"\${$as_ac_var+set}\" = set"; then
105074  echo $ECHO_N "(cached) $ECHO_C" >&6
105075else
105076  if test x$gcc_no_link = xyes; then
105077  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105078echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105079   { (exit 1); exit 1; }; }
105080fi
105081cat >conftest.$ac_ext <<_ACEOF
105082/* confdefs.h.  */
105083_ACEOF
105084cat confdefs.h >>conftest.$ac_ext
105085cat >>conftest.$ac_ext <<_ACEOF
105086/* end confdefs.h.  */
105087/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105088   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105089#define $ac_func innocuous_$ac_func
105090
105091/* System header to define __stub macros and hopefully few prototypes,
105092    which can conflict with char $ac_func (); below.
105093    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105094    <limits.h> exists even on freestanding compilers.  */
105095
105096#ifdef __STDC__
105097# include <limits.h>
105098#else
105099# include <assert.h>
105100#endif
105101
105102#undef $ac_func
105103
105104/* Override any gcc2 internal prototype to avoid an error.  */
105105#ifdef __cplusplus
105106extern "C"
105107{
105108#endif
105109/* We use char because int might match the return type of a gcc2
105110   builtin and then its argument prototype would still apply.  */
105111char $ac_func ();
105112/* The GNU C library defines this for functions which it implements
105113    to always fail with ENOSYS.  Some functions are actually named
105114    something starting with __ and the normal name is an alias.  */
105115#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105116choke me
105117#else
105118char (*f) () = $ac_func;
105119#endif
105120#ifdef __cplusplus
105121}
105122#endif
105123
105124int
105125main ()
105126{
105127return f != $ac_func;
105128  ;
105129  return 0;
105130}
105131_ACEOF
105132rm -f conftest.$ac_objext conftest$ac_exeext
105133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105134  (eval $ac_link) 2>conftest.er1
105135  ac_status=$?
105136  grep -v '^ *+' conftest.er1 >conftest.err
105137  rm -f conftest.er1
105138  cat conftest.err >&5
105139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105140  (exit $ac_status); } &&
105141	 { ac_try='test -z "$ac_c_werror_flag"
105142			 || test ! -s conftest.err'
105143  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105144  (eval $ac_try) 2>&5
105145  ac_status=$?
105146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105147  (exit $ac_status); }; } &&
105148	 { ac_try='test -s conftest$ac_exeext'
105149  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105150  (eval $ac_try) 2>&5
105151  ac_status=$?
105152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105153  (exit $ac_status); }; }; then
105154  eval "$as_ac_var=yes"
105155else
105156  echo "$as_me: failed program was:" >&5
105157sed 's/^/| /' conftest.$ac_ext >&5
105158
105159eval "$as_ac_var=no"
105160fi
105161rm -f conftest.err conftest.$ac_objext \
105162      conftest$ac_exeext conftest.$ac_ext
105163fi
105164echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105165echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105166if test `eval echo '${'$as_ac_var'}'` = yes; then
105167  cat >>confdefs.h <<_ACEOF
105168#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105169_ACEOF
105170
105171else
105172  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105173fi
105174done
105175
105176
105177
105178for ac_func in __signbitf
105179do
105180as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105181echo "$as_me:$LINENO: checking for $ac_func" >&5
105182echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105183if eval "test \"\${$as_ac_var+set}\" = set"; then
105184  echo $ECHO_N "(cached) $ECHO_C" >&6
105185else
105186  if test x$gcc_no_link = xyes; then
105187  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105188echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105189   { (exit 1); exit 1; }; }
105190fi
105191cat >conftest.$ac_ext <<_ACEOF
105192/* confdefs.h.  */
105193_ACEOF
105194cat confdefs.h >>conftest.$ac_ext
105195cat >>conftest.$ac_ext <<_ACEOF
105196/* end confdefs.h.  */
105197/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105198   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105199#define $ac_func innocuous_$ac_func
105200
105201/* System header to define __stub macros and hopefully few prototypes,
105202    which can conflict with char $ac_func (); below.
105203    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105204    <limits.h> exists even on freestanding compilers.  */
105205
105206#ifdef __STDC__
105207# include <limits.h>
105208#else
105209# include <assert.h>
105210#endif
105211
105212#undef $ac_func
105213
105214/* Override any gcc2 internal prototype to avoid an error.  */
105215#ifdef __cplusplus
105216extern "C"
105217{
105218#endif
105219/* We use char because int might match the return type of a gcc2
105220   builtin and then its argument prototype would still apply.  */
105221char $ac_func ();
105222/* The GNU C library defines this for functions which it implements
105223    to always fail with ENOSYS.  Some functions are actually named
105224    something starting with __ and the normal name is an alias.  */
105225#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105226choke me
105227#else
105228char (*f) () = $ac_func;
105229#endif
105230#ifdef __cplusplus
105231}
105232#endif
105233
105234int
105235main ()
105236{
105237return f != $ac_func;
105238  ;
105239  return 0;
105240}
105241_ACEOF
105242rm -f conftest.$ac_objext conftest$ac_exeext
105243if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105244  (eval $ac_link) 2>conftest.er1
105245  ac_status=$?
105246  grep -v '^ *+' conftest.er1 >conftest.err
105247  rm -f conftest.er1
105248  cat conftest.err >&5
105249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105250  (exit $ac_status); } &&
105251	 { ac_try='test -z "$ac_c_werror_flag"
105252			 || test ! -s conftest.err'
105253  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105254  (eval $ac_try) 2>&5
105255  ac_status=$?
105256  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105257  (exit $ac_status); }; } &&
105258	 { ac_try='test -s conftest$ac_exeext'
105259  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105260  (eval $ac_try) 2>&5
105261  ac_status=$?
105262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105263  (exit $ac_status); }; }; then
105264  eval "$as_ac_var=yes"
105265else
105266  echo "$as_me: failed program was:" >&5
105267sed 's/^/| /' conftest.$ac_ext >&5
105268
105269eval "$as_ac_var=no"
105270fi
105271rm -f conftest.err conftest.$ac_objext \
105272      conftest$ac_exeext conftest.$ac_ext
105273fi
105274echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105275echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105276if test `eval echo '${'$as_ac_var'}'` = yes; then
105277  cat >>confdefs.h <<_ACEOF
105278#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105279_ACEOF
105280
105281else
105282  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105283fi
105284done
105285
105286
105287          if test x$ac_cv_func_copysignl = x"yes"; then
105288
105289for ac_func in __signbitl
105290do
105291as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105292echo "$as_me:$LINENO: checking for $ac_func" >&5
105293echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105294if eval "test \"\${$as_ac_var+set}\" = set"; then
105295  echo $ECHO_N "(cached) $ECHO_C" >&6
105296else
105297  if test x$gcc_no_link = xyes; then
105298  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105299echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105300   { (exit 1); exit 1; }; }
105301fi
105302cat >conftest.$ac_ext <<_ACEOF
105303/* confdefs.h.  */
105304_ACEOF
105305cat confdefs.h >>conftest.$ac_ext
105306cat >>conftest.$ac_ext <<_ACEOF
105307/* end confdefs.h.  */
105308/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105309   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105310#define $ac_func innocuous_$ac_func
105311
105312/* System header to define __stub macros and hopefully few prototypes,
105313    which can conflict with char $ac_func (); below.
105314    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105315    <limits.h> exists even on freestanding compilers.  */
105316
105317#ifdef __STDC__
105318# include <limits.h>
105319#else
105320# include <assert.h>
105321#endif
105322
105323#undef $ac_func
105324
105325/* Override any gcc2 internal prototype to avoid an error.  */
105326#ifdef __cplusplus
105327extern "C"
105328{
105329#endif
105330/* We use char because int might match the return type of a gcc2
105331   builtin and then its argument prototype would still apply.  */
105332char $ac_func ();
105333/* The GNU C library defines this for functions which it implements
105334    to always fail with ENOSYS.  Some functions are actually named
105335    something starting with __ and the normal name is an alias.  */
105336#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105337choke me
105338#else
105339char (*f) () = $ac_func;
105340#endif
105341#ifdef __cplusplus
105342}
105343#endif
105344
105345int
105346main ()
105347{
105348return f != $ac_func;
105349  ;
105350  return 0;
105351}
105352_ACEOF
105353rm -f conftest.$ac_objext conftest$ac_exeext
105354if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105355  (eval $ac_link) 2>conftest.er1
105356  ac_status=$?
105357  grep -v '^ *+' conftest.er1 >conftest.err
105358  rm -f conftest.er1
105359  cat conftest.err >&5
105360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105361  (exit $ac_status); } &&
105362	 { ac_try='test -z "$ac_c_werror_flag"
105363			 || test ! -s conftest.err'
105364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105365  (eval $ac_try) 2>&5
105366  ac_status=$?
105367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105368  (exit $ac_status); }; } &&
105369	 { ac_try='test -s conftest$ac_exeext'
105370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105371  (eval $ac_try) 2>&5
105372  ac_status=$?
105373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105374  (exit $ac_status); }; }; then
105375  eval "$as_ac_var=yes"
105376else
105377  echo "$as_me: failed program was:" >&5
105378sed 's/^/| /' conftest.$ac_ext >&5
105379
105380eval "$as_ac_var=no"
105381fi
105382rm -f conftest.err conftest.$ac_objext \
105383      conftest$ac_exeext conftest.$ac_ext
105384fi
105385echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105386echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105387if test `eval echo '${'$as_ac_var'}'` = yes; then
105388  cat >>confdefs.h <<_ACEOF
105389#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105390_ACEOF
105391
105392else
105393  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105394fi
105395done
105396
105397  fi
105398
105399  # Used in libmath/Makefile.am.
105400  if test -n "$LIBMATHOBJS"; then
105401    need_libmath=yes
105402  fi
105403
105404
105405
105406
105407  enable_iconv=no
105408  # Only continue checking if the ISO C99 headers exist and support is on.
105409  if test x"$enable_wchar_t" = xyes; then
105410
105411    # Use iconv for wchar_t to char conversions. As such, check for
105412    # X/Open Portability Guide, version 2 features (XPG2).
105413    if test "${ac_cv_header_iconv_h+set}" = set; then
105414  echo "$as_me:$LINENO: checking for iconv.h" >&5
105415echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105416if test "${ac_cv_header_iconv_h+set}" = set; then
105417  echo $ECHO_N "(cached) $ECHO_C" >&6
105418fi
105419echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105420echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105421else
105422  # Is the header compilable?
105423echo "$as_me:$LINENO: checking iconv.h usability" >&5
105424echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105425cat >conftest.$ac_ext <<_ACEOF
105426/* confdefs.h.  */
105427_ACEOF
105428cat confdefs.h >>conftest.$ac_ext
105429cat >>conftest.$ac_ext <<_ACEOF
105430/* end confdefs.h.  */
105431$ac_includes_default
105432#include <iconv.h>
105433_ACEOF
105434rm -f conftest.$ac_objext
105435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105436  (eval $ac_compile) 2>conftest.er1
105437  ac_status=$?
105438  grep -v '^ *+' conftest.er1 >conftest.err
105439  rm -f conftest.er1
105440  cat conftest.err >&5
105441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105442  (exit $ac_status); } &&
105443	 { ac_try='test -z "$ac_c_werror_flag"
105444			 || test ! -s conftest.err'
105445  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105446  (eval $ac_try) 2>&5
105447  ac_status=$?
105448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105449  (exit $ac_status); }; } &&
105450	 { ac_try='test -s conftest.$ac_objext'
105451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105452  (eval $ac_try) 2>&5
105453  ac_status=$?
105454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105455  (exit $ac_status); }; }; then
105456  ac_header_compiler=yes
105457else
105458  echo "$as_me: failed program was:" >&5
105459sed 's/^/| /' conftest.$ac_ext >&5
105460
105461ac_header_compiler=no
105462fi
105463rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105464echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105465echo "${ECHO_T}$ac_header_compiler" >&6
105466
105467# Is the header present?
105468echo "$as_me:$LINENO: checking iconv.h presence" >&5
105469echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105470cat >conftest.$ac_ext <<_ACEOF
105471/* confdefs.h.  */
105472_ACEOF
105473cat confdefs.h >>conftest.$ac_ext
105474cat >>conftest.$ac_ext <<_ACEOF
105475/* end confdefs.h.  */
105476#include <iconv.h>
105477_ACEOF
105478if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105479  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105480  ac_status=$?
105481  grep -v '^ *+' conftest.er1 >conftest.err
105482  rm -f conftest.er1
105483  cat conftest.err >&5
105484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105485  (exit $ac_status); } >/dev/null; then
105486  if test -s conftest.err; then
105487    ac_cpp_err=$ac_c_preproc_warn_flag
105488    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105489  else
105490    ac_cpp_err=
105491  fi
105492else
105493  ac_cpp_err=yes
105494fi
105495if test -z "$ac_cpp_err"; then
105496  ac_header_preproc=yes
105497else
105498  echo "$as_me: failed program was:" >&5
105499sed 's/^/| /' conftest.$ac_ext >&5
105500
105501  ac_header_preproc=no
105502fi
105503rm -f conftest.err conftest.$ac_ext
105504echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105505echo "${ECHO_T}$ac_header_preproc" >&6
105506
105507# So?  What about this header?
105508case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105509  yes:no: )
105510    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105511echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105512    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105513echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105514    ac_header_preproc=yes
105515    ;;
105516  no:yes:* )
105517    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105518echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105519    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
105520echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
105521    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105522echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105523    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
105524echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105525    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105526echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105527    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105528echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105529    (
105530      cat <<\_ASBOX
105531## ----------------------------------------- ##
105532## Report this to the package-unused lists.  ##
105533## ----------------------------------------- ##
105534_ASBOX
105535    ) |
105536      sed "s/^/$as_me: WARNING:     /" >&2
105537    ;;
105538esac
105539echo "$as_me:$LINENO: checking for iconv.h" >&5
105540echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105541if test "${ac_cv_header_iconv_h+set}" = set; then
105542  echo $ECHO_N "(cached) $ECHO_C" >&6
105543else
105544  ac_cv_header_iconv_h=$ac_header_preproc
105545fi
105546echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105547echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105548
105549fi
105550if test $ac_cv_header_iconv_h = yes; then
105551  ac_has_iconv_h=yes
105552else
105553  ac_has_iconv_h=no
105554fi
105555
105556
105557    if test "${ac_cv_header_langinfo_h+set}" = set; then
105558  echo "$as_me:$LINENO: checking for langinfo.h" >&5
105559echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105560if test "${ac_cv_header_langinfo_h+set}" = set; then
105561  echo $ECHO_N "(cached) $ECHO_C" >&6
105562fi
105563echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105564echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105565else
105566  # Is the header compilable?
105567echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105568echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105569cat >conftest.$ac_ext <<_ACEOF
105570/* confdefs.h.  */
105571_ACEOF
105572cat confdefs.h >>conftest.$ac_ext
105573cat >>conftest.$ac_ext <<_ACEOF
105574/* end confdefs.h.  */
105575$ac_includes_default
105576#include <langinfo.h>
105577_ACEOF
105578rm -f conftest.$ac_objext
105579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105580  (eval $ac_compile) 2>conftest.er1
105581  ac_status=$?
105582  grep -v '^ *+' conftest.er1 >conftest.err
105583  rm -f conftest.er1
105584  cat conftest.err >&5
105585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105586  (exit $ac_status); } &&
105587	 { ac_try='test -z "$ac_c_werror_flag"
105588			 || test ! -s conftest.err'
105589  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105590  (eval $ac_try) 2>&5
105591  ac_status=$?
105592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105593  (exit $ac_status); }; } &&
105594	 { ac_try='test -s conftest.$ac_objext'
105595  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105596  (eval $ac_try) 2>&5
105597  ac_status=$?
105598  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105599  (exit $ac_status); }; }; then
105600  ac_header_compiler=yes
105601else
105602  echo "$as_me: failed program was:" >&5
105603sed 's/^/| /' conftest.$ac_ext >&5
105604
105605ac_header_compiler=no
105606fi
105607rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105608echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105609echo "${ECHO_T}$ac_header_compiler" >&6
105610
105611# Is the header present?
105612echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105613echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105614cat >conftest.$ac_ext <<_ACEOF
105615/* confdefs.h.  */
105616_ACEOF
105617cat confdefs.h >>conftest.$ac_ext
105618cat >>conftest.$ac_ext <<_ACEOF
105619/* end confdefs.h.  */
105620#include <langinfo.h>
105621_ACEOF
105622if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105623  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105624  ac_status=$?
105625  grep -v '^ *+' conftest.er1 >conftest.err
105626  rm -f conftest.er1
105627  cat conftest.err >&5
105628  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105629  (exit $ac_status); } >/dev/null; then
105630  if test -s conftest.err; then
105631    ac_cpp_err=$ac_c_preproc_warn_flag
105632    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105633  else
105634    ac_cpp_err=
105635  fi
105636else
105637  ac_cpp_err=yes
105638fi
105639if test -z "$ac_cpp_err"; then
105640  ac_header_preproc=yes
105641else
105642  echo "$as_me: failed program was:" >&5
105643sed 's/^/| /' conftest.$ac_ext >&5
105644
105645  ac_header_preproc=no
105646fi
105647rm -f conftest.err conftest.$ac_ext
105648echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105649echo "${ECHO_T}$ac_header_preproc" >&6
105650
105651# So?  What about this header?
105652case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105653  yes:no: )
105654    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105655echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105656    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105657echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105658    ac_header_preproc=yes
105659    ;;
105660  no:yes:* )
105661    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105662echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105663    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
105664echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
105665    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105666echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105667    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
105668echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105669    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105670echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105671    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105672echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105673    (
105674      cat <<\_ASBOX
105675## ----------------------------------------- ##
105676## Report this to the package-unused lists.  ##
105677## ----------------------------------------- ##
105678_ASBOX
105679    ) |
105680      sed "s/^/$as_me: WARNING:     /" >&2
105681    ;;
105682esac
105683echo "$as_me:$LINENO: checking for langinfo.h" >&5
105684echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105685if test "${ac_cv_header_langinfo_h+set}" = set; then
105686  echo $ECHO_N "(cached) $ECHO_C" >&6
105687else
105688  ac_cv_header_langinfo_h=$ac_header_preproc
105689fi
105690echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105691echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105692
105693fi
105694if test $ac_cv_header_langinfo_h = yes; then
105695  ac_has_langinfo_h=yes
105696else
105697  ac_has_langinfo_h=no
105698fi
105699
105700
105701
105702    # Check for existence of libiconv.a providing XPG2 wchar_t support.
105703    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105704echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105705if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105706  echo $ECHO_N "(cached) $ECHO_C" >&6
105707else
105708  ac_check_lib_save_LIBS=$LIBS
105709LIBS="-liconv  $LIBS"
105710if test x$gcc_no_link = xyes; then
105711  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105712echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105713   { (exit 1); exit 1; }; }
105714fi
105715cat >conftest.$ac_ext <<_ACEOF
105716/* confdefs.h.  */
105717_ACEOF
105718cat confdefs.h >>conftest.$ac_ext
105719cat >>conftest.$ac_ext <<_ACEOF
105720/* end confdefs.h.  */
105721
105722/* Override any gcc2 internal prototype to avoid an error.  */
105723#ifdef __cplusplus
105724extern "C"
105725#endif
105726/* We use char because int might match the return type of a gcc2
105727   builtin and then its argument prototype would still apply.  */
105728char iconv ();
105729int
105730main ()
105731{
105732iconv ();
105733  ;
105734  return 0;
105735}
105736_ACEOF
105737rm -f conftest.$ac_objext conftest$ac_exeext
105738if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105739  (eval $ac_link) 2>conftest.er1
105740  ac_status=$?
105741  grep -v '^ *+' conftest.er1 >conftest.err
105742  rm -f conftest.er1
105743  cat conftest.err >&5
105744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105745  (exit $ac_status); } &&
105746	 { ac_try='test -z "$ac_c_werror_flag"
105747			 || test ! -s conftest.err'
105748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105749  (eval $ac_try) 2>&5
105750  ac_status=$?
105751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105752  (exit $ac_status); }; } &&
105753	 { ac_try='test -s conftest$ac_exeext'
105754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105755  (eval $ac_try) 2>&5
105756  ac_status=$?
105757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105758  (exit $ac_status); }; }; then
105759  ac_cv_lib_iconv_iconv=yes
105760else
105761  echo "$as_me: failed program was:" >&5
105762sed 's/^/| /' conftest.$ac_ext >&5
105763
105764ac_cv_lib_iconv_iconv=no
105765fi
105766rm -f conftest.err conftest.$ac_objext \
105767      conftest$ac_exeext conftest.$ac_ext
105768LIBS=$ac_check_lib_save_LIBS
105769fi
105770echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105771echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105772if test $ac_cv_lib_iconv_iconv = yes; then
105773  LIBICONV="-liconv"
105774fi
105775
105776    ac_save_LIBS="$LIBS"
105777    LIBS="$LIBS $LIBICONV"
105778
105779
105780
105781
105782
105783
105784for ac_func in iconv_open iconv_close iconv nl_langinfo
105785do
105786as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105787echo "$as_me:$LINENO: checking for $ac_func" >&5
105788echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105789if eval "test \"\${$as_ac_var+set}\" = set"; then
105790  echo $ECHO_N "(cached) $ECHO_C" >&6
105791else
105792  if test x$gcc_no_link = xyes; then
105793  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105794echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105795   { (exit 1); exit 1; }; }
105796fi
105797cat >conftest.$ac_ext <<_ACEOF
105798/* confdefs.h.  */
105799_ACEOF
105800cat confdefs.h >>conftest.$ac_ext
105801cat >>conftest.$ac_ext <<_ACEOF
105802/* end confdefs.h.  */
105803/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105804   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105805#define $ac_func innocuous_$ac_func
105806
105807/* System header to define __stub macros and hopefully few prototypes,
105808    which can conflict with char $ac_func (); below.
105809    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105810    <limits.h> exists even on freestanding compilers.  */
105811
105812#ifdef __STDC__
105813# include <limits.h>
105814#else
105815# include <assert.h>
105816#endif
105817
105818#undef $ac_func
105819
105820/* Override any gcc2 internal prototype to avoid an error.  */
105821#ifdef __cplusplus
105822extern "C"
105823{
105824#endif
105825/* We use char because int might match the return type of a gcc2
105826   builtin and then its argument prototype would still apply.  */
105827char $ac_func ();
105828/* The GNU C library defines this for functions which it implements
105829    to always fail with ENOSYS.  Some functions are actually named
105830    something starting with __ and the normal name is an alias.  */
105831#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105832choke me
105833#else
105834char (*f) () = $ac_func;
105835#endif
105836#ifdef __cplusplus
105837}
105838#endif
105839
105840int
105841main ()
105842{
105843return f != $ac_func;
105844  ;
105845  return 0;
105846}
105847_ACEOF
105848rm -f conftest.$ac_objext conftest$ac_exeext
105849if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105850  (eval $ac_link) 2>conftest.er1
105851  ac_status=$?
105852  grep -v '^ *+' conftest.er1 >conftest.err
105853  rm -f conftest.er1
105854  cat conftest.err >&5
105855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105856  (exit $ac_status); } &&
105857	 { ac_try='test -z "$ac_c_werror_flag"
105858			 || test ! -s conftest.err'
105859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105860  (eval $ac_try) 2>&5
105861  ac_status=$?
105862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105863  (exit $ac_status); }; } &&
105864	 { ac_try='test -s conftest$ac_exeext'
105865  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105866  (eval $ac_try) 2>&5
105867  ac_status=$?
105868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
105869  (exit $ac_status); }; }; then
105870  eval "$as_ac_var=yes"
105871else
105872  echo "$as_me: failed program was:" >&5
105873sed 's/^/| /' conftest.$ac_ext >&5
105874
105875eval "$as_ac_var=no"
105876fi
105877rm -f conftest.err conftest.$ac_objext \
105878      conftest$ac_exeext conftest.$ac_ext
105879fi
105880echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105881echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105882if test `eval echo '${'$as_ac_var'}'` = yes; then
105883  cat >>confdefs.h <<_ACEOF
105884#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105885_ACEOF
105886 ac_XPG2funcs=yes
105887else
105888  ac_XPG2funcs=no
105889fi
105890done
105891
105892
105893    LIBS="$ac_save_LIBS"
105894
105895    if test x"$ac_has_iconv_h" = xyes &&
105896       test x"$ac_has_langinfo_h" = xyes &&
105897       test x"$ac_XPG2funcs" = xyes;
105898    then
105899
105900cat >>confdefs.h <<\_ACEOF
105901#define _GLIBCXX_USE_ICONV 1
105902_ACEOF
105903
105904      enable_iconv=yes
105905    fi
105906  fi
105907  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105908echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105909  echo "$as_me:$LINENO: result: $enable_iconv" >&5
105910echo "${ECHO_T}$enable_iconv" >&6
105911
105912    cat >>confdefs.h <<\_ACEOF
105913#define HAVE_COSF 1
105914_ACEOF
105915
105916    cat >>confdefs.h <<\_ACEOF
105917#define HAVE_COSL 1
105918_ACEOF
105919
105920    cat >>confdefs.h <<\_ACEOF
105921#define HAVE_COSHF 1
105922_ACEOF
105923
105924    cat >>confdefs.h <<\_ACEOF
105925#define HAVE_COSHL 1
105926_ACEOF
105927
105928    cat >>confdefs.h <<\_ACEOF
105929#define HAVE_LOGF 1
105930_ACEOF
105931
105932    cat >>confdefs.h <<\_ACEOF
105933#define HAVE_LOGL 1
105934_ACEOF
105935
105936    cat >>confdefs.h <<\_ACEOF
105937#define HAVE_LOG10F 1
105938_ACEOF
105939
105940    cat >>confdefs.h <<\_ACEOF
105941#define HAVE_LOG10L 1
105942_ACEOF
105943
105944    cat >>confdefs.h <<\_ACEOF
105945#define HAVE_SINF 1
105946_ACEOF
105947
105948    cat >>confdefs.h <<\_ACEOF
105949#define HAVE_SINL 1
105950_ACEOF
105951
105952    cat >>confdefs.h <<\_ACEOF
105953#define HAVE_SINHF 1
105954_ACEOF
105955
105956    cat >>confdefs.h <<\_ACEOF
105957#define HAVE_SINHL 1
105958_ACEOF
105959
105960    ;;
105961  *-solaris*)
105962    case "$target" in
105963    #  *-solaris2.5)
105964    #    os_include_dir="os/solaris/solaris2.5"
105965    #    ;;
105966    #  *-solaris2.6)
105967    #    os_include_dir="os/solaris/solaris2.6"
105968    #    ;;
105969      *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
105970
105971  # If we're not using GNU ld, then there's no point in even trying these
105972  # tests.  Check for that first.  We should have already tested for gld
105973  # by now (in libtool), but require it now just to be safe...
105974  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105975  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105976
105977
105978
105979  # The name set by libtool depends on the version of libtool.  Shame on us
105980  # for depending on an impl detail, but c'est la vie.  Older versions used
105981  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
105982  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
105983  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
105984  # set (hence we're using an older libtool), then set it.
105985  if test x${with_gnu_ld+set} != xset; then
105986    if test x${ac_cv_prog_gnu_ld+set} != xset; then
105987      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
105988      with_gnu_ld=no
105989    else
105990      with_gnu_ld=$ac_cv_prog_gnu_ld
105991    fi
105992  fi
105993
105994  # Start by getting the version number.  I think the libtool test already
105995  # does some of this, but throws away the result.
105996  if test x"$with_gnu_ld" = x"yes"; then
105997    echo "$as_me:$LINENO: checking for ld version" >&5
105998echo $ECHO_N "checking for ld version... $ECHO_C" >&6
105999
106000    ldver=`$LD --version 2>/dev/null | head -1 | \
106001           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
106002
106003    glibcxx_gnu_ld_version=`echo $ldver | \
106004           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
106005    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
106006echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
106007  fi
106008
106009  # Set --gc-sections.
106010  glibcxx_gcsections_min_ld=21602
106011  if test x"$with_gnu_ld" = x"yes" &&
106012	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
106013
106014    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
106015    # NB: This flag only works reliably after 2.16.1. Configure tests
106016    # for this are difficult, so hard wire a value that should work.
106017
106018    ac_test_CFLAGS="${CFLAGS+set}"
106019    ac_save_CFLAGS="$CFLAGS"
106020    CFLAGS='-Wl,--gc-sections'
106021
106022    # Check for -Wl,--gc-sections
106023    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
106024echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
106025    if test x$gcc_no_link = xyes; then
106026  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106027echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106028   { (exit 1); exit 1; }; }
106029fi
106030cat >conftest.$ac_ext <<_ACEOF
106031/* confdefs.h.  */
106032_ACEOF
106033cat confdefs.h >>conftest.$ac_ext
106034cat >>conftest.$ac_ext <<_ACEOF
106035/* end confdefs.h.  */
106036 int one(void) { return 1; }
106037     int two(void) { return 2; }
106038
106039int
106040main ()
106041{
106042 two();
106043  ;
106044  return 0;
106045}
106046_ACEOF
106047rm -f conftest.$ac_objext conftest$ac_exeext
106048if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106049  (eval $ac_link) 2>conftest.er1
106050  ac_status=$?
106051  grep -v '^ *+' conftest.er1 >conftest.err
106052  rm -f conftest.er1
106053  cat conftest.err >&5
106054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106055  (exit $ac_status); } &&
106056	 { ac_try='test -z "$ac_c_werror_flag"
106057			 || test ! -s conftest.err'
106058  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106059  (eval $ac_try) 2>&5
106060  ac_status=$?
106061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106062  (exit $ac_status); }; } &&
106063	 { ac_try='test -s conftest$ac_exeext'
106064  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106065  (eval $ac_try) 2>&5
106066  ac_status=$?
106067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106068  (exit $ac_status); }; }; then
106069  ac_gcsections=yes
106070else
106071  echo "$as_me: failed program was:" >&5
106072sed 's/^/| /' conftest.$ac_ext >&5
106073
106074ac_gcsections=no
106075fi
106076rm -f conftest.err conftest.$ac_objext \
106077      conftest$ac_exeext conftest.$ac_ext
106078    if test "$ac_gcsections" = "yes"; then
106079      rm -f conftest.c
106080      touch conftest.c
106081      if $CC -c conftest.c; then
106082	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
106083	   grep "Warning: gc-sections option ignored" > /dev/null; then
106084	  ac_gcsections=no
106085	fi
106086      fi
106087      rm -f conftest.c conftest.o conftest
106088    fi
106089    if test "$ac_gcsections" = "yes"; then
106090      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
106091    fi
106092    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
106093echo "${ECHO_T}$ac_gcsections" >&6
106094
106095    if test "$ac_test_CFLAGS" = set; then
106096      CFLAGS="$ac_save_CFLAGS"
106097    else
106098      # this is the suspicious part
106099      CFLAGS=''
106100    fi
106101  fi
106102
106103  # Set -z,relro.
106104  # Note this is only for shared objects.
106105  ac_ld_relro=no
106106  if test x"$with_gnu_ld" = x"yes"; then
106107    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
106108echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
106109    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
106110    if test -n "$cxx_z_relo"; then
106111      OPT_LDFLAGS="-Wl,-z,relro"
106112      ac_ld_relro=yes
106113    fi
106114    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
106115echo "${ECHO_T}$ac_ld_relro" >&6
106116  fi
106117
106118  # Set linker optimization flags.
106119  if test x"$with_gnu_ld" = x"yes"; then
106120    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
106121  fi
106122
106123
106124
106125
106126         cat >>confdefs.h <<\_ACEOF
106127#define HAVE_GETPAGESIZE 1
106128_ACEOF
106129
106130         cat >>confdefs.h <<\_ACEOF
106131#define HAVE_SIGSETJMP 1
106132_ACEOF
106133
106134         cat >>confdefs.h <<\_ACEOF
106135#define HAVE_MBSTATE_T 1
106136_ACEOF
106137
106138         cat >>confdefs.h <<\_ACEOF
106139#define HAVE_POLL 1
106140_ACEOF
106141
106142         cat >>confdefs.h <<\_ACEOF
106143#define HAVE_S_ISREG 1
106144_ACEOF
106145
106146         cat >>confdefs.h <<\_ACEOF
106147#define HAVE_LC_MESSAGES 1
106148_ACEOF
106149
106150         cat >>confdefs.h <<\_ACEOF
106151#define HAVE_FINITE 1
106152_ACEOF
106153
106154         cat >>confdefs.h <<\_ACEOF
106155#define HAVE_FPCLASS 1
106156_ACEOF
106157
106158         cat >>confdefs.h <<\_ACEOF
106159#define HAVE_GETPAGESIZE 1
106160_ACEOF
106161
106162         cat >>confdefs.h <<\_ACEOF
106163#define HAVE_NL_LANGINFO 1
106164_ACEOF
106165
106166         cat >>confdefs.h <<\_ACEOF
106167#define HAVE_ICONV 1
106168_ACEOF
106169
106170         cat >>confdefs.h <<\_ACEOF
106171#define HAVE_ICONV_CLOSE 1
106172_ACEOF
106173
106174         cat >>confdefs.h <<\_ACEOF
106175#define HAVE_ICONV_OPEN 1
106176_ACEOF
106177
106178         # Look for the pieces required for wchar_t support in order to
106179         # get all the right HAVE_* macros defined.
106180
106181
106182  enable_iconv=no
106183  # Only continue checking if the ISO C99 headers exist and support is on.
106184  if test x"$enable_wchar_t" = xyes; then
106185
106186    # Use iconv for wchar_t to char conversions. As such, check for
106187    # X/Open Portability Guide, version 2 features (XPG2).
106188    if test "${ac_cv_header_iconv_h+set}" = set; then
106189  echo "$as_me:$LINENO: checking for iconv.h" >&5
106190echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106191if test "${ac_cv_header_iconv_h+set}" = set; then
106192  echo $ECHO_N "(cached) $ECHO_C" >&6
106193fi
106194echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106195echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106196else
106197  # Is the header compilable?
106198echo "$as_me:$LINENO: checking iconv.h usability" >&5
106199echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106200cat >conftest.$ac_ext <<_ACEOF
106201/* confdefs.h.  */
106202_ACEOF
106203cat confdefs.h >>conftest.$ac_ext
106204cat >>conftest.$ac_ext <<_ACEOF
106205/* end confdefs.h.  */
106206$ac_includes_default
106207#include <iconv.h>
106208_ACEOF
106209rm -f conftest.$ac_objext
106210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106211  (eval $ac_compile) 2>conftest.er1
106212  ac_status=$?
106213  grep -v '^ *+' conftest.er1 >conftest.err
106214  rm -f conftest.er1
106215  cat conftest.err >&5
106216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106217  (exit $ac_status); } &&
106218	 { ac_try='test -z "$ac_c_werror_flag"
106219			 || test ! -s conftest.err'
106220  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106221  (eval $ac_try) 2>&5
106222  ac_status=$?
106223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106224  (exit $ac_status); }; } &&
106225	 { ac_try='test -s conftest.$ac_objext'
106226  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106227  (eval $ac_try) 2>&5
106228  ac_status=$?
106229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106230  (exit $ac_status); }; }; then
106231  ac_header_compiler=yes
106232else
106233  echo "$as_me: failed program was:" >&5
106234sed 's/^/| /' conftest.$ac_ext >&5
106235
106236ac_header_compiler=no
106237fi
106238rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106239echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106240echo "${ECHO_T}$ac_header_compiler" >&6
106241
106242# Is the header present?
106243echo "$as_me:$LINENO: checking iconv.h presence" >&5
106244echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106245cat >conftest.$ac_ext <<_ACEOF
106246/* confdefs.h.  */
106247_ACEOF
106248cat confdefs.h >>conftest.$ac_ext
106249cat >>conftest.$ac_ext <<_ACEOF
106250/* end confdefs.h.  */
106251#include <iconv.h>
106252_ACEOF
106253if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106254  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106255  ac_status=$?
106256  grep -v '^ *+' conftest.er1 >conftest.err
106257  rm -f conftest.er1
106258  cat conftest.err >&5
106259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260  (exit $ac_status); } >/dev/null; then
106261  if test -s conftest.err; then
106262    ac_cpp_err=$ac_c_preproc_warn_flag
106263    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106264  else
106265    ac_cpp_err=
106266  fi
106267else
106268  ac_cpp_err=yes
106269fi
106270if test -z "$ac_cpp_err"; then
106271  ac_header_preproc=yes
106272else
106273  echo "$as_me: failed program was:" >&5
106274sed 's/^/| /' conftest.$ac_ext >&5
106275
106276  ac_header_preproc=no
106277fi
106278rm -f conftest.err conftest.$ac_ext
106279echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106280echo "${ECHO_T}$ac_header_preproc" >&6
106281
106282# So?  What about this header?
106283case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106284  yes:no: )
106285    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106286echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106287    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106288echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106289    ac_header_preproc=yes
106290    ;;
106291  no:yes:* )
106292    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106293echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106294    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
106295echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
106296    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106297echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106298    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
106299echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
106300    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106301echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106302    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106303echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106304    (
106305      cat <<\_ASBOX
106306## ----------------------------------------- ##
106307## Report this to the package-unused lists.  ##
106308## ----------------------------------------- ##
106309_ASBOX
106310    ) |
106311      sed "s/^/$as_me: WARNING:     /" >&2
106312    ;;
106313esac
106314echo "$as_me:$LINENO: checking for iconv.h" >&5
106315echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106316if test "${ac_cv_header_iconv_h+set}" = set; then
106317  echo $ECHO_N "(cached) $ECHO_C" >&6
106318else
106319  ac_cv_header_iconv_h=$ac_header_preproc
106320fi
106321echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106322echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106323
106324fi
106325if test $ac_cv_header_iconv_h = yes; then
106326  ac_has_iconv_h=yes
106327else
106328  ac_has_iconv_h=no
106329fi
106330
106331
106332    if test "${ac_cv_header_langinfo_h+set}" = set; then
106333  echo "$as_me:$LINENO: checking for langinfo.h" >&5
106334echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106335if test "${ac_cv_header_langinfo_h+set}" = set; then
106336  echo $ECHO_N "(cached) $ECHO_C" >&6
106337fi
106338echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106339echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106340else
106341  # Is the header compilable?
106342echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106343echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106344cat >conftest.$ac_ext <<_ACEOF
106345/* confdefs.h.  */
106346_ACEOF
106347cat confdefs.h >>conftest.$ac_ext
106348cat >>conftest.$ac_ext <<_ACEOF
106349/* end confdefs.h.  */
106350$ac_includes_default
106351#include <langinfo.h>
106352_ACEOF
106353rm -f conftest.$ac_objext
106354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106355  (eval $ac_compile) 2>conftest.er1
106356  ac_status=$?
106357  grep -v '^ *+' conftest.er1 >conftest.err
106358  rm -f conftest.er1
106359  cat conftest.err >&5
106360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106361  (exit $ac_status); } &&
106362	 { ac_try='test -z "$ac_c_werror_flag"
106363			 || test ! -s conftest.err'
106364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106365  (eval $ac_try) 2>&5
106366  ac_status=$?
106367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106368  (exit $ac_status); }; } &&
106369	 { ac_try='test -s conftest.$ac_objext'
106370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106371  (eval $ac_try) 2>&5
106372  ac_status=$?
106373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106374  (exit $ac_status); }; }; then
106375  ac_header_compiler=yes
106376else
106377  echo "$as_me: failed program was:" >&5
106378sed 's/^/| /' conftest.$ac_ext >&5
106379
106380ac_header_compiler=no
106381fi
106382rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106383echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106384echo "${ECHO_T}$ac_header_compiler" >&6
106385
106386# Is the header present?
106387echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106388echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106389cat >conftest.$ac_ext <<_ACEOF
106390/* confdefs.h.  */
106391_ACEOF
106392cat confdefs.h >>conftest.$ac_ext
106393cat >>conftest.$ac_ext <<_ACEOF
106394/* end confdefs.h.  */
106395#include <langinfo.h>
106396_ACEOF
106397if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106398  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106399  ac_status=$?
106400  grep -v '^ *+' conftest.er1 >conftest.err
106401  rm -f conftest.er1
106402  cat conftest.err >&5
106403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106404  (exit $ac_status); } >/dev/null; then
106405  if test -s conftest.err; then
106406    ac_cpp_err=$ac_c_preproc_warn_flag
106407    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106408  else
106409    ac_cpp_err=
106410  fi
106411else
106412  ac_cpp_err=yes
106413fi
106414if test -z "$ac_cpp_err"; then
106415  ac_header_preproc=yes
106416else
106417  echo "$as_me: failed program was:" >&5
106418sed 's/^/| /' conftest.$ac_ext >&5
106419
106420  ac_header_preproc=no
106421fi
106422rm -f conftest.err conftest.$ac_ext
106423echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106424echo "${ECHO_T}$ac_header_preproc" >&6
106425
106426# So?  What about this header?
106427case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106428  yes:no: )
106429    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106430echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106431    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106432echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106433    ac_header_preproc=yes
106434    ;;
106435  no:yes:* )
106436    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106437echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106438    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
106439echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
106440    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106441echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106442    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
106443echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
106444    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106445echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106446    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106447echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106448    (
106449      cat <<\_ASBOX
106450## ----------------------------------------- ##
106451## Report this to the package-unused lists.  ##
106452## ----------------------------------------- ##
106453_ASBOX
106454    ) |
106455      sed "s/^/$as_me: WARNING:     /" >&2
106456    ;;
106457esac
106458echo "$as_me:$LINENO: checking for langinfo.h" >&5
106459echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106460if test "${ac_cv_header_langinfo_h+set}" = set; then
106461  echo $ECHO_N "(cached) $ECHO_C" >&6
106462else
106463  ac_cv_header_langinfo_h=$ac_header_preproc
106464fi
106465echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106466echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106467
106468fi
106469if test $ac_cv_header_langinfo_h = yes; then
106470  ac_has_langinfo_h=yes
106471else
106472  ac_has_langinfo_h=no
106473fi
106474
106475
106476
106477    # Check for existence of libiconv.a providing XPG2 wchar_t support.
106478    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106479echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106480if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106481  echo $ECHO_N "(cached) $ECHO_C" >&6
106482else
106483  ac_check_lib_save_LIBS=$LIBS
106484LIBS="-liconv  $LIBS"
106485if test x$gcc_no_link = xyes; then
106486  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106487echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106488   { (exit 1); exit 1; }; }
106489fi
106490cat >conftest.$ac_ext <<_ACEOF
106491/* confdefs.h.  */
106492_ACEOF
106493cat confdefs.h >>conftest.$ac_ext
106494cat >>conftest.$ac_ext <<_ACEOF
106495/* end confdefs.h.  */
106496
106497/* Override any gcc2 internal prototype to avoid an error.  */
106498#ifdef __cplusplus
106499extern "C"
106500#endif
106501/* We use char because int might match the return type of a gcc2
106502   builtin and then its argument prototype would still apply.  */
106503char iconv ();
106504int
106505main ()
106506{
106507iconv ();
106508  ;
106509  return 0;
106510}
106511_ACEOF
106512rm -f conftest.$ac_objext conftest$ac_exeext
106513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106514  (eval $ac_link) 2>conftest.er1
106515  ac_status=$?
106516  grep -v '^ *+' conftest.er1 >conftest.err
106517  rm -f conftest.er1
106518  cat conftest.err >&5
106519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106520  (exit $ac_status); } &&
106521	 { ac_try='test -z "$ac_c_werror_flag"
106522			 || test ! -s conftest.err'
106523  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106524  (eval $ac_try) 2>&5
106525  ac_status=$?
106526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106527  (exit $ac_status); }; } &&
106528	 { ac_try='test -s conftest$ac_exeext'
106529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106530  (eval $ac_try) 2>&5
106531  ac_status=$?
106532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106533  (exit $ac_status); }; }; then
106534  ac_cv_lib_iconv_iconv=yes
106535else
106536  echo "$as_me: failed program was:" >&5
106537sed 's/^/| /' conftest.$ac_ext >&5
106538
106539ac_cv_lib_iconv_iconv=no
106540fi
106541rm -f conftest.err conftest.$ac_objext \
106542      conftest$ac_exeext conftest.$ac_ext
106543LIBS=$ac_check_lib_save_LIBS
106544fi
106545echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106546echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106547if test $ac_cv_lib_iconv_iconv = yes; then
106548  LIBICONV="-liconv"
106549fi
106550
106551    ac_save_LIBS="$LIBS"
106552    LIBS="$LIBS $LIBICONV"
106553
106554
106555
106556
106557
106558
106559for ac_func in iconv_open iconv_close iconv nl_langinfo
106560do
106561as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106562echo "$as_me:$LINENO: checking for $ac_func" >&5
106563echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106564if eval "test \"\${$as_ac_var+set}\" = set"; then
106565  echo $ECHO_N "(cached) $ECHO_C" >&6
106566else
106567  if test x$gcc_no_link = xyes; then
106568  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106569echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106570   { (exit 1); exit 1; }; }
106571fi
106572cat >conftest.$ac_ext <<_ACEOF
106573/* confdefs.h.  */
106574_ACEOF
106575cat confdefs.h >>conftest.$ac_ext
106576cat >>conftest.$ac_ext <<_ACEOF
106577/* end confdefs.h.  */
106578/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106579   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106580#define $ac_func innocuous_$ac_func
106581
106582/* System header to define __stub macros and hopefully few prototypes,
106583    which can conflict with char $ac_func (); below.
106584    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106585    <limits.h> exists even on freestanding compilers.  */
106586
106587#ifdef __STDC__
106588# include <limits.h>
106589#else
106590# include <assert.h>
106591#endif
106592
106593#undef $ac_func
106594
106595/* Override any gcc2 internal prototype to avoid an error.  */
106596#ifdef __cplusplus
106597extern "C"
106598{
106599#endif
106600/* We use char because int might match the return type of a gcc2
106601   builtin and then its argument prototype would still apply.  */
106602char $ac_func ();
106603/* The GNU C library defines this for functions which it implements
106604    to always fail with ENOSYS.  Some functions are actually named
106605    something starting with __ and the normal name is an alias.  */
106606#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106607choke me
106608#else
106609char (*f) () = $ac_func;
106610#endif
106611#ifdef __cplusplus
106612}
106613#endif
106614
106615int
106616main ()
106617{
106618return f != $ac_func;
106619  ;
106620  return 0;
106621}
106622_ACEOF
106623rm -f conftest.$ac_objext conftest$ac_exeext
106624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106625  (eval $ac_link) 2>conftest.er1
106626  ac_status=$?
106627  grep -v '^ *+' conftest.er1 >conftest.err
106628  rm -f conftest.er1
106629  cat conftest.err >&5
106630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106631  (exit $ac_status); } &&
106632	 { ac_try='test -z "$ac_c_werror_flag"
106633			 || test ! -s conftest.err'
106634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106635  (eval $ac_try) 2>&5
106636  ac_status=$?
106637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106638  (exit $ac_status); }; } &&
106639	 { ac_try='test -s conftest$ac_exeext'
106640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106641  (eval $ac_try) 2>&5
106642  ac_status=$?
106643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106644  (exit $ac_status); }; }; then
106645  eval "$as_ac_var=yes"
106646else
106647  echo "$as_me: failed program was:" >&5
106648sed 's/^/| /' conftest.$ac_ext >&5
106649
106650eval "$as_ac_var=no"
106651fi
106652rm -f conftest.err conftest.$ac_objext \
106653      conftest$ac_exeext conftest.$ac_ext
106654fi
106655echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106656echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106657if test `eval echo '${'$as_ac_var'}'` = yes; then
106658  cat >>confdefs.h <<_ACEOF
106659#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106660_ACEOF
106661 ac_XPG2funcs=yes
106662else
106663  ac_XPG2funcs=no
106664fi
106665done
106666
106667
106668    LIBS="$ac_save_LIBS"
106669
106670    if test x"$ac_has_iconv_h" = xyes &&
106671       test x"$ac_has_langinfo_h" = xyes &&
106672       test x"$ac_XPG2funcs" = xyes;
106673    then
106674
106675cat >>confdefs.h <<\_ACEOF
106676#define _GLIBCXX_USE_ICONV 1
106677_ACEOF
106678
106679      enable_iconv=yes
106680    fi
106681  fi
106682  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106683echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106684  echo "$as_me:$LINENO: result: $enable_iconv" >&5
106685echo "${ECHO_T}$enable_iconv" >&6
106686
106687         # All of the dependencies for wide character support are here, so
106688         # turn it on.  This requires some syncronization with the
106689         # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106690         cat >>confdefs.h <<\_ACEOF
106691#define _GLIBCXX_USE_WCHAR_T 1
106692_ACEOF
106693
106694         # Are these tested for even when cross?
106695         cat >>confdefs.h <<\_ACEOF
106696#define HAVE_FLOAT_H 1
106697_ACEOF
106698
106699         cat >>confdefs.h <<\_ACEOF
106700#define HAVE_IEEEFP_H 1
106701_ACEOF
106702
106703         cat >>confdefs.h <<\_ACEOF
106704#define HAVE_INTTYPES_H 1
106705_ACEOF
106706
106707         cat >>confdefs.h <<\_ACEOF
106708#define HAVE_LOCALE_H 1
106709_ACEOF
106710
106711         cat >>confdefs.h <<\_ACEOF
106712#define HAVE_NAN_H 1
106713_ACEOF
106714
106715         cat >>confdefs.h <<\_ACEOF
106716#define HAVE_SYS_FILIO_H 1
106717_ACEOF
106718
106719         cat >>confdefs.h <<\_ACEOF
106720#define HAVE_SYS_IOCTL_H 1
106721_ACEOF
106722
106723         cat >>confdefs.h <<\_ACEOF
106724#define HAVE_SYS_ISA_DEFS_H 1
106725_ACEOF
106726
106727         cat >>confdefs.h <<\_ACEOF
106728#define HAVE_SYS_RESOURCE_H 1
106729_ACEOF
106730
106731         cat >>confdefs.h <<\_ACEOF
106732#define HAVE_SYS_TIME_H 1
106733_ACEOF
106734
106735         cat >>confdefs.h <<\_ACEOF
106736#define HAVE_SYS_TYPES_H 1
106737_ACEOF
106738
106739         cat >>confdefs.h <<\_ACEOF
106740#define HAVE_UNISTD_H 1
106741_ACEOF
106742
106743         cat >>confdefs.h <<\_ACEOF
106744#define HAVE_WCHAR_H 1
106745_ACEOF
106746
106747         cat >>confdefs.h <<\_ACEOF
106748#define HAVE_WCTYPE_H 1
106749_ACEOF
106750
106751         cat >>confdefs.h <<\_ACEOF
106752#define HAVE_LIBM 1
106753_ACEOF
106754
106755        ;;
106756    esac
106757    case "$target" in
106758      sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106759        # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106760        cat >>confdefs.h <<\_ACEOF
106761#define HAVE___BUILTIN_ABS 1
106762_ACEOF
106763
106764        cat >>confdefs.h <<\_ACEOF
106765#define HAVE___BUILTIN_LABS 1
106766_ACEOF
106767
106768        cat >>confdefs.h <<\_ACEOF
106769#define HAVE___BUILTIN_FABS 1
106770_ACEOF
106771
106772        cat >>confdefs.h <<\_ACEOF
106773#define HAVE___BUILTIN_FABSF 1
106774_ACEOF
106775
106776        cat >>confdefs.h <<\_ACEOF
106777#define HAVE___BUILTIN_FABSL 1
106778_ACEOF
106779
106780        cat >>confdefs.h <<\_ACEOF
106781#define HAVE___BUILTIN_COS 1
106782_ACEOF
106783
106784        cat >>confdefs.h <<\_ACEOF
106785#define HAVE___BUILTIN_COSF 1
106786_ACEOF
106787
106788        cat >>confdefs.h <<\_ACEOF
106789#define HAVE___BUILTIN_SIN 1
106790_ACEOF
106791
106792        cat >>confdefs.h <<\_ACEOF
106793#define HAVE___BUILTIN_SINF 1
106794_ACEOF
106795
106796       ;;
106797    esac
106798    case "$target" in
106799      *-*-solaris2.10)
106800      # These two C99 functions are present only in Solaris >= 10
106801      cat >>confdefs.h <<\_ACEOF
106802#define HAVE_STRTOF 1
106803_ACEOF
106804
106805      cat >>confdefs.h <<\_ACEOF
106806#define HAVE_STRTOLD 1
106807_ACEOF
106808
106809     ;;
106810    esac
106811    cat >>confdefs.h <<\_ACEOF
106812#define HAVE_MMAP 1
106813_ACEOF
106814
106815    cat >>confdefs.h <<\_ACEOF
106816#define HAVE_COPYSIGN 1
106817_ACEOF
106818
106819    cat >>confdefs.h <<\_ACEOF
106820#define HAVE_ISNAN 1
106821_ACEOF
106822
106823    cat >>confdefs.h <<\_ACEOF
106824#define HAVE_ISNANF 1
106825_ACEOF
106826
106827    cat >>confdefs.h <<\_ACEOF
106828#define HAVE_MODFF 1
106829_ACEOF
106830
106831    cat >>confdefs.h <<\_ACEOF
106832#define HAVE_HYPOT 1
106833_ACEOF
106834
106835    ;;
106836  *-tpf)
106837
106838
106839
106840
106841
106842
106843
106844
106845for ac_header in nan.h endian.h machine/endian.h  \
106846      sys/param.h sys/types.h locale.h float.h inttypes.h
106847do
106848as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106849if eval "test \"\${$as_ac_Header+set}\" = set"; then
106850  echo "$as_me:$LINENO: checking for $ac_header" >&5
106851echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106852if eval "test \"\${$as_ac_Header+set}\" = set"; then
106853  echo $ECHO_N "(cached) $ECHO_C" >&6
106854fi
106855echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106856echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106857else
106858  # Is the header compilable?
106859echo "$as_me:$LINENO: checking $ac_header usability" >&5
106860echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106861cat >conftest.$ac_ext <<_ACEOF
106862/* confdefs.h.  */
106863_ACEOF
106864cat confdefs.h >>conftest.$ac_ext
106865cat >>conftest.$ac_ext <<_ACEOF
106866/* end confdefs.h.  */
106867$ac_includes_default
106868#include <$ac_header>
106869_ACEOF
106870rm -f conftest.$ac_objext
106871if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106872  (eval $ac_compile) 2>conftest.er1
106873  ac_status=$?
106874  grep -v '^ *+' conftest.er1 >conftest.err
106875  rm -f conftest.er1
106876  cat conftest.err >&5
106877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106878  (exit $ac_status); } &&
106879	 { ac_try='test -z "$ac_c_werror_flag"
106880			 || test ! -s conftest.err'
106881  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106882  (eval $ac_try) 2>&5
106883  ac_status=$?
106884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106885  (exit $ac_status); }; } &&
106886	 { ac_try='test -s conftest.$ac_objext'
106887  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106888  (eval $ac_try) 2>&5
106889  ac_status=$?
106890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106891  (exit $ac_status); }; }; then
106892  ac_header_compiler=yes
106893else
106894  echo "$as_me: failed program was:" >&5
106895sed 's/^/| /' conftest.$ac_ext >&5
106896
106897ac_header_compiler=no
106898fi
106899rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106900echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106901echo "${ECHO_T}$ac_header_compiler" >&6
106902
106903# Is the header present?
106904echo "$as_me:$LINENO: checking $ac_header presence" >&5
106905echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106906cat >conftest.$ac_ext <<_ACEOF
106907/* confdefs.h.  */
106908_ACEOF
106909cat confdefs.h >>conftest.$ac_ext
106910cat >>conftest.$ac_ext <<_ACEOF
106911/* end confdefs.h.  */
106912#include <$ac_header>
106913_ACEOF
106914if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106915  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106916  ac_status=$?
106917  grep -v '^ *+' conftest.er1 >conftest.err
106918  rm -f conftest.er1
106919  cat conftest.err >&5
106920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
106921  (exit $ac_status); } >/dev/null; then
106922  if test -s conftest.err; then
106923    ac_cpp_err=$ac_c_preproc_warn_flag
106924    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106925  else
106926    ac_cpp_err=
106927  fi
106928else
106929  ac_cpp_err=yes
106930fi
106931if test -z "$ac_cpp_err"; then
106932  ac_header_preproc=yes
106933else
106934  echo "$as_me: failed program was:" >&5
106935sed 's/^/| /' conftest.$ac_ext >&5
106936
106937  ac_header_preproc=no
106938fi
106939rm -f conftest.err conftest.$ac_ext
106940echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106941echo "${ECHO_T}$ac_header_preproc" >&6
106942
106943# So?  What about this header?
106944case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106945  yes:no: )
106946    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
106947echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
106948    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
106949echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
106950    ac_header_preproc=yes
106951    ;;
106952  no:yes:* )
106953    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
106954echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
106955    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
106956echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
106957    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
106958echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
106959    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
106960echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
106961    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
106962echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
106963    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
106964echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
106965    (
106966      cat <<\_ASBOX
106967## ----------------------------------------- ##
106968## Report this to the package-unused lists.  ##
106969## ----------------------------------------- ##
106970_ASBOX
106971    ) |
106972      sed "s/^/$as_me: WARNING:     /" >&2
106973    ;;
106974esac
106975echo "$as_me:$LINENO: checking for $ac_header" >&5
106976echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106977if eval "test \"\${$as_ac_Header+set}\" = set"; then
106978  echo $ECHO_N "(cached) $ECHO_C" >&6
106979else
106980  eval "$as_ac_Header=\$ac_header_preproc"
106981fi
106982echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106983echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106984
106985fi
106986if test `eval echo '${'$as_ac_Header'}'` = yes; then
106987  cat >>confdefs.h <<_ACEOF
106988#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
106989_ACEOF
106990
106991fi
106992
106993done
106994
106995    SECTION_FLAGS='-ffunction-sections -fdata-sections'
106996
106997
106998  # If we're not using GNU ld, then there's no point in even trying these
106999  # tests.  Check for that first.  We should have already tested for gld
107000  # by now (in libtool), but require it now just to be safe...
107001  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107002  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107003
107004
107005
107006  # The name set by libtool depends on the version of libtool.  Shame on us
107007  # for depending on an impl detail, but c'est la vie.  Older versions used
107008  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107009  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107010  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
107011  # set (hence we're using an older libtool), then set it.
107012  if test x${with_gnu_ld+set} != xset; then
107013    if test x${ac_cv_prog_gnu_ld+set} != xset; then
107014      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
107015      with_gnu_ld=no
107016    else
107017      with_gnu_ld=$ac_cv_prog_gnu_ld
107018    fi
107019  fi
107020
107021  # Start by getting the version number.  I think the libtool test already
107022  # does some of this, but throws away the result.
107023  if test x"$with_gnu_ld" = x"yes"; then
107024    echo "$as_me:$LINENO: checking for ld version" >&5
107025echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107026
107027    ldver=`$LD --version 2>/dev/null | head -1 | \
107028           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
107029
107030    glibcxx_gnu_ld_version=`echo $ldver | \
107031           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107032    echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107033echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107034  fi
107035
107036  # Set --gc-sections.
107037  glibcxx_gcsections_min_ld=21602
107038  if test x"$with_gnu_ld" = x"yes" &&
107039	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107040
107041    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
107042    # NB: This flag only works reliably after 2.16.1. Configure tests
107043    # for this are difficult, so hard wire a value that should work.
107044
107045    ac_test_CFLAGS="${CFLAGS+set}"
107046    ac_save_CFLAGS="$CFLAGS"
107047    CFLAGS='-Wl,--gc-sections'
107048
107049    # Check for -Wl,--gc-sections
107050    echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107051echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107052    if test x$gcc_no_link = xyes; then
107053  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107054echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107055   { (exit 1); exit 1; }; }
107056fi
107057cat >conftest.$ac_ext <<_ACEOF
107058/* confdefs.h.  */
107059_ACEOF
107060cat confdefs.h >>conftest.$ac_ext
107061cat >>conftest.$ac_ext <<_ACEOF
107062/* end confdefs.h.  */
107063 int one(void) { return 1; }
107064     int two(void) { return 2; }
107065
107066int
107067main ()
107068{
107069 two();
107070  ;
107071  return 0;
107072}
107073_ACEOF
107074rm -f conftest.$ac_objext conftest$ac_exeext
107075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107076  (eval $ac_link) 2>conftest.er1
107077  ac_status=$?
107078  grep -v '^ *+' conftest.er1 >conftest.err
107079  rm -f conftest.er1
107080  cat conftest.err >&5
107081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107082  (exit $ac_status); } &&
107083	 { ac_try='test -z "$ac_c_werror_flag"
107084			 || test ! -s conftest.err'
107085  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107086  (eval $ac_try) 2>&5
107087  ac_status=$?
107088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107089  (exit $ac_status); }; } &&
107090	 { ac_try='test -s conftest$ac_exeext'
107091  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107092  (eval $ac_try) 2>&5
107093  ac_status=$?
107094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107095  (exit $ac_status); }; }; then
107096  ac_gcsections=yes
107097else
107098  echo "$as_me: failed program was:" >&5
107099sed 's/^/| /' conftest.$ac_ext >&5
107100
107101ac_gcsections=no
107102fi
107103rm -f conftest.err conftest.$ac_objext \
107104      conftest$ac_exeext conftest.$ac_ext
107105    if test "$ac_gcsections" = "yes"; then
107106      rm -f conftest.c
107107      touch conftest.c
107108      if $CC -c conftest.c; then
107109	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107110	   grep "Warning: gc-sections option ignored" > /dev/null; then
107111	  ac_gcsections=no
107112	fi
107113      fi
107114      rm -f conftest.c conftest.o conftest
107115    fi
107116    if test "$ac_gcsections" = "yes"; then
107117      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107118    fi
107119    echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107120echo "${ECHO_T}$ac_gcsections" >&6
107121
107122    if test "$ac_test_CFLAGS" = set; then
107123      CFLAGS="$ac_save_CFLAGS"
107124    else
107125      # this is the suspicious part
107126      CFLAGS=''
107127    fi
107128  fi
107129
107130  # Set -z,relro.
107131  # Note this is only for shared objects.
107132  ac_ld_relro=no
107133  if test x"$with_gnu_ld" = x"yes"; then
107134    echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107135echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107136    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107137    if test -n "$cxx_z_relo"; then
107138      OPT_LDFLAGS="-Wl,-z,relro"
107139      ac_ld_relro=yes
107140    fi
107141    echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107142echo "${ECHO_T}$ac_ld_relro" >&6
107143  fi
107144
107145  # Set linker optimization flags.
107146  if test x"$with_gnu_ld" = x"yes"; then
107147    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107148  fi
107149
107150
107151
107152
107153
107154
107155echo "$as_me:$LINENO: checking for main in -lm" >&5
107156echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107157if test "${ac_cv_lib_m_main+set}" = set; then
107158  echo $ECHO_N "(cached) $ECHO_C" >&6
107159else
107160  ac_check_lib_save_LIBS=$LIBS
107161LIBS="-lm  $LIBS"
107162if test x$gcc_no_link = xyes; then
107163  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107164echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107165   { (exit 1); exit 1; }; }
107166fi
107167cat >conftest.$ac_ext <<_ACEOF
107168/* confdefs.h.  */
107169_ACEOF
107170cat confdefs.h >>conftest.$ac_ext
107171cat >>conftest.$ac_ext <<_ACEOF
107172/* end confdefs.h.  */
107173
107174
107175int
107176main ()
107177{
107178main ();
107179  ;
107180  return 0;
107181}
107182_ACEOF
107183rm -f conftest.$ac_objext conftest$ac_exeext
107184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107185  (eval $ac_link) 2>conftest.er1
107186  ac_status=$?
107187  grep -v '^ *+' conftest.er1 >conftest.err
107188  rm -f conftest.er1
107189  cat conftest.err >&5
107190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107191  (exit $ac_status); } &&
107192	 { ac_try='test -z "$ac_c_werror_flag"
107193			 || test ! -s conftest.err'
107194  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107195  (eval $ac_try) 2>&5
107196  ac_status=$?
107197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107198  (exit $ac_status); }; } &&
107199	 { ac_try='test -s conftest$ac_exeext'
107200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107201  (eval $ac_try) 2>&5
107202  ac_status=$?
107203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107204  (exit $ac_status); }; }; then
107205  ac_cv_lib_m_main=yes
107206else
107207  echo "$as_me: failed program was:" >&5
107208sed 's/^/| /' conftest.$ac_ext >&5
107209
107210ac_cv_lib_m_main=no
107211fi
107212rm -f conftest.err conftest.$ac_objext \
107213      conftest$ac_exeext conftest.$ac_ext
107214LIBS=$ac_check_lib_save_LIBS
107215fi
107216echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107217echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107218if test $ac_cv_lib_m_main = yes; then
107219  cat >>confdefs.h <<_ACEOF
107220#define HAVE_LIBM 1
107221_ACEOF
107222
107223  LIBS="-lm $LIBS"
107224
107225fi
107226
107227
107228for ac_func in copysignf
107229do
107230as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107231echo "$as_me:$LINENO: checking for $ac_func" >&5
107232echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107233if eval "test \"\${$as_ac_var+set}\" = set"; then
107234  echo $ECHO_N "(cached) $ECHO_C" >&6
107235else
107236  if test x$gcc_no_link = xyes; then
107237  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107238echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107239   { (exit 1); exit 1; }; }
107240fi
107241cat >conftest.$ac_ext <<_ACEOF
107242/* confdefs.h.  */
107243_ACEOF
107244cat confdefs.h >>conftest.$ac_ext
107245cat >>conftest.$ac_ext <<_ACEOF
107246/* end confdefs.h.  */
107247/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107248   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107249#define $ac_func innocuous_$ac_func
107250
107251/* System header to define __stub macros and hopefully few prototypes,
107252    which can conflict with char $ac_func (); below.
107253    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107254    <limits.h> exists even on freestanding compilers.  */
107255
107256#ifdef __STDC__
107257# include <limits.h>
107258#else
107259# include <assert.h>
107260#endif
107261
107262#undef $ac_func
107263
107264/* Override any gcc2 internal prototype to avoid an error.  */
107265#ifdef __cplusplus
107266extern "C"
107267{
107268#endif
107269/* We use char because int might match the return type of a gcc2
107270   builtin and then its argument prototype would still apply.  */
107271char $ac_func ();
107272/* The GNU C library defines this for functions which it implements
107273    to always fail with ENOSYS.  Some functions are actually named
107274    something starting with __ and the normal name is an alias.  */
107275#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107276choke me
107277#else
107278char (*f) () = $ac_func;
107279#endif
107280#ifdef __cplusplus
107281}
107282#endif
107283
107284int
107285main ()
107286{
107287return f != $ac_func;
107288  ;
107289  return 0;
107290}
107291_ACEOF
107292rm -f conftest.$ac_objext conftest$ac_exeext
107293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107294  (eval $ac_link) 2>conftest.er1
107295  ac_status=$?
107296  grep -v '^ *+' conftest.er1 >conftest.err
107297  rm -f conftest.er1
107298  cat conftest.err >&5
107299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107300  (exit $ac_status); } &&
107301	 { ac_try='test -z "$ac_c_werror_flag"
107302			 || test ! -s conftest.err'
107303  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107304  (eval $ac_try) 2>&5
107305  ac_status=$?
107306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107307  (exit $ac_status); }; } &&
107308	 { ac_try='test -s conftest$ac_exeext'
107309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107310  (eval $ac_try) 2>&5
107311  ac_status=$?
107312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107313  (exit $ac_status); }; }; then
107314  eval "$as_ac_var=yes"
107315else
107316  echo "$as_me: failed program was:" >&5
107317sed 's/^/| /' conftest.$ac_ext >&5
107318
107319eval "$as_ac_var=no"
107320fi
107321rm -f conftest.err conftest.$ac_objext \
107322      conftest$ac_exeext conftest.$ac_ext
107323fi
107324echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107325echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107326if test `eval echo '${'$as_ac_var'}'` = yes; then
107327  cat >>confdefs.h <<_ACEOF
107328#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107329_ACEOF
107330
107331else
107332  LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107333fi
107334done
107335
107336
107337
107338for ac_func in __signbit
107339do
107340as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107341echo "$as_me:$LINENO: checking for $ac_func" >&5
107342echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107343if eval "test \"\${$as_ac_var+set}\" = set"; then
107344  echo $ECHO_N "(cached) $ECHO_C" >&6
107345else
107346  if test x$gcc_no_link = xyes; then
107347  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107348echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107349   { (exit 1); exit 1; }; }
107350fi
107351cat >conftest.$ac_ext <<_ACEOF
107352/* confdefs.h.  */
107353_ACEOF
107354cat confdefs.h >>conftest.$ac_ext
107355cat >>conftest.$ac_ext <<_ACEOF
107356/* end confdefs.h.  */
107357/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107358   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107359#define $ac_func innocuous_$ac_func
107360
107361/* System header to define __stub macros and hopefully few prototypes,
107362    which can conflict with char $ac_func (); below.
107363    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107364    <limits.h> exists even on freestanding compilers.  */
107365
107366#ifdef __STDC__
107367# include <limits.h>
107368#else
107369# include <assert.h>
107370#endif
107371
107372#undef $ac_func
107373
107374/* Override any gcc2 internal prototype to avoid an error.  */
107375#ifdef __cplusplus
107376extern "C"
107377{
107378#endif
107379/* We use char because int might match the return type of a gcc2
107380   builtin and then its argument prototype would still apply.  */
107381char $ac_func ();
107382/* The GNU C library defines this for functions which it implements
107383    to always fail with ENOSYS.  Some functions are actually named
107384    something starting with __ and the normal name is an alias.  */
107385#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107386choke me
107387#else
107388char (*f) () = $ac_func;
107389#endif
107390#ifdef __cplusplus
107391}
107392#endif
107393
107394int
107395main ()
107396{
107397return f != $ac_func;
107398  ;
107399  return 0;
107400}
107401_ACEOF
107402rm -f conftest.$ac_objext conftest$ac_exeext
107403if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107404  (eval $ac_link) 2>conftest.er1
107405  ac_status=$?
107406  grep -v '^ *+' conftest.er1 >conftest.err
107407  rm -f conftest.er1
107408  cat conftest.err >&5
107409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107410  (exit $ac_status); } &&
107411	 { ac_try='test -z "$ac_c_werror_flag"
107412			 || test ! -s conftest.err'
107413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107414  (eval $ac_try) 2>&5
107415  ac_status=$?
107416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107417  (exit $ac_status); }; } &&
107418	 { ac_try='test -s conftest$ac_exeext'
107419  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107420  (eval $ac_try) 2>&5
107421  ac_status=$?
107422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107423  (exit $ac_status); }; }; then
107424  eval "$as_ac_var=yes"
107425else
107426  echo "$as_me: failed program was:" >&5
107427sed 's/^/| /' conftest.$ac_ext >&5
107428
107429eval "$as_ac_var=no"
107430fi
107431rm -f conftest.err conftest.$ac_objext \
107432      conftest$ac_exeext conftest.$ac_ext
107433fi
107434echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107435echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107436if test `eval echo '${'$as_ac_var'}'` = yes; then
107437  cat >>confdefs.h <<_ACEOF
107438#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107439_ACEOF
107440
107441else
107442  LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107443fi
107444done
107445
107446
107447
107448for ac_func in __signbitf
107449do
107450as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107451echo "$as_me:$LINENO: checking for $ac_func" >&5
107452echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107453if eval "test \"\${$as_ac_var+set}\" = set"; then
107454  echo $ECHO_N "(cached) $ECHO_C" >&6
107455else
107456  if test x$gcc_no_link = xyes; then
107457  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107458echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107459   { (exit 1); exit 1; }; }
107460fi
107461cat >conftest.$ac_ext <<_ACEOF
107462/* confdefs.h.  */
107463_ACEOF
107464cat confdefs.h >>conftest.$ac_ext
107465cat >>conftest.$ac_ext <<_ACEOF
107466/* end confdefs.h.  */
107467/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107468   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107469#define $ac_func innocuous_$ac_func
107470
107471/* System header to define __stub macros and hopefully few prototypes,
107472    which can conflict with char $ac_func (); below.
107473    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107474    <limits.h> exists even on freestanding compilers.  */
107475
107476#ifdef __STDC__
107477# include <limits.h>
107478#else
107479# include <assert.h>
107480#endif
107481
107482#undef $ac_func
107483
107484/* Override any gcc2 internal prototype to avoid an error.  */
107485#ifdef __cplusplus
107486extern "C"
107487{
107488#endif
107489/* We use char because int might match the return type of a gcc2
107490   builtin and then its argument prototype would still apply.  */
107491char $ac_func ();
107492/* The GNU C library defines this for functions which it implements
107493    to always fail with ENOSYS.  Some functions are actually named
107494    something starting with __ and the normal name is an alias.  */
107495#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107496choke me
107497#else
107498char (*f) () = $ac_func;
107499#endif
107500#ifdef __cplusplus
107501}
107502#endif
107503
107504int
107505main ()
107506{
107507return f != $ac_func;
107508  ;
107509  return 0;
107510}
107511_ACEOF
107512rm -f conftest.$ac_objext conftest$ac_exeext
107513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107514  (eval $ac_link) 2>conftest.er1
107515  ac_status=$?
107516  grep -v '^ *+' conftest.er1 >conftest.err
107517  rm -f conftest.er1
107518  cat conftest.err >&5
107519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107520  (exit $ac_status); } &&
107521	 { ac_try='test -z "$ac_c_werror_flag"
107522			 || test ! -s conftest.err'
107523  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107524  (eval $ac_try) 2>&5
107525  ac_status=$?
107526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107527  (exit $ac_status); }; } &&
107528	 { ac_try='test -s conftest$ac_exeext'
107529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107530  (eval $ac_try) 2>&5
107531  ac_status=$?
107532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107533  (exit $ac_status); }; }; then
107534  eval "$as_ac_var=yes"
107535else
107536  echo "$as_me: failed program was:" >&5
107537sed 's/^/| /' conftest.$ac_ext >&5
107538
107539eval "$as_ac_var=no"
107540fi
107541rm -f conftest.err conftest.$ac_objext \
107542      conftest$ac_exeext conftest.$ac_ext
107543fi
107544echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107545echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107546if test `eval echo '${'$as_ac_var'}'` = yes; then
107547  cat >>confdefs.h <<_ACEOF
107548#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107549_ACEOF
107550
107551else
107552  LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107553fi
107554done
107555
107556
107557          if test x$ac_cv_func_copysignl = x"yes"; then
107558
107559for ac_func in __signbitl
107560do
107561as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107562echo "$as_me:$LINENO: checking for $ac_func" >&5
107563echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107564if eval "test \"\${$as_ac_var+set}\" = set"; then
107565  echo $ECHO_N "(cached) $ECHO_C" >&6
107566else
107567  if test x$gcc_no_link = xyes; then
107568  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107569echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107570   { (exit 1); exit 1; }; }
107571fi
107572cat >conftest.$ac_ext <<_ACEOF
107573/* confdefs.h.  */
107574_ACEOF
107575cat confdefs.h >>conftest.$ac_ext
107576cat >>conftest.$ac_ext <<_ACEOF
107577/* end confdefs.h.  */
107578/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107579   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107580#define $ac_func innocuous_$ac_func
107581
107582/* System header to define __stub macros and hopefully few prototypes,
107583    which can conflict with char $ac_func (); below.
107584    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107585    <limits.h> exists even on freestanding compilers.  */
107586
107587#ifdef __STDC__
107588# include <limits.h>
107589#else
107590# include <assert.h>
107591#endif
107592
107593#undef $ac_func
107594
107595/* Override any gcc2 internal prototype to avoid an error.  */
107596#ifdef __cplusplus
107597extern "C"
107598{
107599#endif
107600/* We use char because int might match the return type of a gcc2
107601   builtin and then its argument prototype would still apply.  */
107602char $ac_func ();
107603/* The GNU C library defines this for functions which it implements
107604    to always fail with ENOSYS.  Some functions are actually named
107605    something starting with __ and the normal name is an alias.  */
107606#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107607choke me
107608#else
107609char (*f) () = $ac_func;
107610#endif
107611#ifdef __cplusplus
107612}
107613#endif
107614
107615int
107616main ()
107617{
107618return f != $ac_func;
107619  ;
107620  return 0;
107621}
107622_ACEOF
107623rm -f conftest.$ac_objext conftest$ac_exeext
107624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107625  (eval $ac_link) 2>conftest.er1
107626  ac_status=$?
107627  grep -v '^ *+' conftest.er1 >conftest.err
107628  rm -f conftest.er1
107629  cat conftest.err >&5
107630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107631  (exit $ac_status); } &&
107632	 { ac_try='test -z "$ac_c_werror_flag"
107633			 || test ! -s conftest.err'
107634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107635  (eval $ac_try) 2>&5
107636  ac_status=$?
107637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107638  (exit $ac_status); }; } &&
107639	 { ac_try='test -s conftest$ac_exeext'
107640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107641  (eval $ac_try) 2>&5
107642  ac_status=$?
107643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107644  (exit $ac_status); }; }; then
107645  eval "$as_ac_var=yes"
107646else
107647  echo "$as_me: failed program was:" >&5
107648sed 's/^/| /' conftest.$ac_ext >&5
107649
107650eval "$as_ac_var=no"
107651fi
107652rm -f conftest.err conftest.$ac_objext \
107653      conftest$ac_exeext conftest.$ac_ext
107654fi
107655echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107656echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107657if test `eval echo '${'$as_ac_var'}'` = yes; then
107658  cat >>confdefs.h <<_ACEOF
107659#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107660_ACEOF
107661
107662else
107663  LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107664fi
107665done
107666
107667  fi
107668
107669  # Used in libmath/Makefile.am.
107670  if test -n "$LIBMATHOBJS"; then
107671    need_libmath=yes
107672  fi
107673
107674
107675
107676
107677  enable_iconv=no
107678  # Only continue checking if the ISO C99 headers exist and support is on.
107679  if test x"$enable_wchar_t" = xyes; then
107680
107681    # Use iconv for wchar_t to char conversions. As such, check for
107682    # X/Open Portability Guide, version 2 features (XPG2).
107683    if test "${ac_cv_header_iconv_h+set}" = set; then
107684  echo "$as_me:$LINENO: checking for iconv.h" >&5
107685echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107686if test "${ac_cv_header_iconv_h+set}" = set; then
107687  echo $ECHO_N "(cached) $ECHO_C" >&6
107688fi
107689echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107690echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107691else
107692  # Is the header compilable?
107693echo "$as_me:$LINENO: checking iconv.h usability" >&5
107694echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107695cat >conftest.$ac_ext <<_ACEOF
107696/* confdefs.h.  */
107697_ACEOF
107698cat confdefs.h >>conftest.$ac_ext
107699cat >>conftest.$ac_ext <<_ACEOF
107700/* end confdefs.h.  */
107701$ac_includes_default
107702#include <iconv.h>
107703_ACEOF
107704rm -f conftest.$ac_objext
107705if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107706  (eval $ac_compile) 2>conftest.er1
107707  ac_status=$?
107708  grep -v '^ *+' conftest.er1 >conftest.err
107709  rm -f conftest.er1
107710  cat conftest.err >&5
107711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107712  (exit $ac_status); } &&
107713	 { ac_try='test -z "$ac_c_werror_flag"
107714			 || test ! -s conftest.err'
107715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107716  (eval $ac_try) 2>&5
107717  ac_status=$?
107718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107719  (exit $ac_status); }; } &&
107720	 { ac_try='test -s conftest.$ac_objext'
107721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107722  (eval $ac_try) 2>&5
107723  ac_status=$?
107724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107725  (exit $ac_status); }; }; then
107726  ac_header_compiler=yes
107727else
107728  echo "$as_me: failed program was:" >&5
107729sed 's/^/| /' conftest.$ac_ext >&5
107730
107731ac_header_compiler=no
107732fi
107733rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107734echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107735echo "${ECHO_T}$ac_header_compiler" >&6
107736
107737# Is the header present?
107738echo "$as_me:$LINENO: checking iconv.h presence" >&5
107739echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107740cat >conftest.$ac_ext <<_ACEOF
107741/* confdefs.h.  */
107742_ACEOF
107743cat confdefs.h >>conftest.$ac_ext
107744cat >>conftest.$ac_ext <<_ACEOF
107745/* end confdefs.h.  */
107746#include <iconv.h>
107747_ACEOF
107748if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107749  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107750  ac_status=$?
107751  grep -v '^ *+' conftest.er1 >conftest.err
107752  rm -f conftest.er1
107753  cat conftest.err >&5
107754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107755  (exit $ac_status); } >/dev/null; then
107756  if test -s conftest.err; then
107757    ac_cpp_err=$ac_c_preproc_warn_flag
107758    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107759  else
107760    ac_cpp_err=
107761  fi
107762else
107763  ac_cpp_err=yes
107764fi
107765if test -z "$ac_cpp_err"; then
107766  ac_header_preproc=yes
107767else
107768  echo "$as_me: failed program was:" >&5
107769sed 's/^/| /' conftest.$ac_ext >&5
107770
107771  ac_header_preproc=no
107772fi
107773rm -f conftest.err conftest.$ac_ext
107774echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107775echo "${ECHO_T}$ac_header_preproc" >&6
107776
107777# So?  What about this header?
107778case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107779  yes:no: )
107780    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107781echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107782    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107783echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107784    ac_header_preproc=yes
107785    ;;
107786  no:yes:* )
107787    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107788echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107789    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
107790echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
107791    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107792echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107793    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
107794echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107795    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107796echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107797    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107798echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107799    (
107800      cat <<\_ASBOX
107801## ----------------------------------------- ##
107802## Report this to the package-unused lists.  ##
107803## ----------------------------------------- ##
107804_ASBOX
107805    ) |
107806      sed "s/^/$as_me: WARNING:     /" >&2
107807    ;;
107808esac
107809echo "$as_me:$LINENO: checking for iconv.h" >&5
107810echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107811if test "${ac_cv_header_iconv_h+set}" = set; then
107812  echo $ECHO_N "(cached) $ECHO_C" >&6
107813else
107814  ac_cv_header_iconv_h=$ac_header_preproc
107815fi
107816echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107817echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107818
107819fi
107820if test $ac_cv_header_iconv_h = yes; then
107821  ac_has_iconv_h=yes
107822else
107823  ac_has_iconv_h=no
107824fi
107825
107826
107827    if test "${ac_cv_header_langinfo_h+set}" = set; then
107828  echo "$as_me:$LINENO: checking for langinfo.h" >&5
107829echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107830if test "${ac_cv_header_langinfo_h+set}" = set; then
107831  echo $ECHO_N "(cached) $ECHO_C" >&6
107832fi
107833echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107834echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107835else
107836  # Is the header compilable?
107837echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107838echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107839cat >conftest.$ac_ext <<_ACEOF
107840/* confdefs.h.  */
107841_ACEOF
107842cat confdefs.h >>conftest.$ac_ext
107843cat >>conftest.$ac_ext <<_ACEOF
107844/* end confdefs.h.  */
107845$ac_includes_default
107846#include <langinfo.h>
107847_ACEOF
107848rm -f conftest.$ac_objext
107849if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107850  (eval $ac_compile) 2>conftest.er1
107851  ac_status=$?
107852  grep -v '^ *+' conftest.er1 >conftest.err
107853  rm -f conftest.er1
107854  cat conftest.err >&5
107855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107856  (exit $ac_status); } &&
107857	 { ac_try='test -z "$ac_c_werror_flag"
107858			 || test ! -s conftest.err'
107859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107860  (eval $ac_try) 2>&5
107861  ac_status=$?
107862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107863  (exit $ac_status); }; } &&
107864	 { ac_try='test -s conftest.$ac_objext'
107865  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107866  (eval $ac_try) 2>&5
107867  ac_status=$?
107868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107869  (exit $ac_status); }; }; then
107870  ac_header_compiler=yes
107871else
107872  echo "$as_me: failed program was:" >&5
107873sed 's/^/| /' conftest.$ac_ext >&5
107874
107875ac_header_compiler=no
107876fi
107877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107878echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107879echo "${ECHO_T}$ac_header_compiler" >&6
107880
107881# Is the header present?
107882echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107883echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107884cat >conftest.$ac_ext <<_ACEOF
107885/* confdefs.h.  */
107886_ACEOF
107887cat confdefs.h >>conftest.$ac_ext
107888cat >>conftest.$ac_ext <<_ACEOF
107889/* end confdefs.h.  */
107890#include <langinfo.h>
107891_ACEOF
107892if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107893  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107894  ac_status=$?
107895  grep -v '^ *+' conftest.er1 >conftest.err
107896  rm -f conftest.er1
107897  cat conftest.err >&5
107898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
107899  (exit $ac_status); } >/dev/null; then
107900  if test -s conftest.err; then
107901    ac_cpp_err=$ac_c_preproc_warn_flag
107902    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107903  else
107904    ac_cpp_err=
107905  fi
107906else
107907  ac_cpp_err=yes
107908fi
107909if test -z "$ac_cpp_err"; then
107910  ac_header_preproc=yes
107911else
107912  echo "$as_me: failed program was:" >&5
107913sed 's/^/| /' conftest.$ac_ext >&5
107914
107915  ac_header_preproc=no
107916fi
107917rm -f conftest.err conftest.$ac_ext
107918echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107919echo "${ECHO_T}$ac_header_preproc" >&6
107920
107921# So?  What about this header?
107922case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107923  yes:no: )
107924    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107925echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107926    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107927echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107928    ac_header_preproc=yes
107929    ;;
107930  no:yes:* )
107931    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
107932echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
107933    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
107934echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
107935    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
107936echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
107937    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
107938echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107939    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
107940echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
107941    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
107942echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
107943    (
107944      cat <<\_ASBOX
107945## ----------------------------------------- ##
107946## Report this to the package-unused lists.  ##
107947## ----------------------------------------- ##
107948_ASBOX
107949    ) |
107950      sed "s/^/$as_me: WARNING:     /" >&2
107951    ;;
107952esac
107953echo "$as_me:$LINENO: checking for langinfo.h" >&5
107954echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107955if test "${ac_cv_header_langinfo_h+set}" = set; then
107956  echo $ECHO_N "(cached) $ECHO_C" >&6
107957else
107958  ac_cv_header_langinfo_h=$ac_header_preproc
107959fi
107960echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107961echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107962
107963fi
107964if test $ac_cv_header_langinfo_h = yes; then
107965  ac_has_langinfo_h=yes
107966else
107967  ac_has_langinfo_h=no
107968fi
107969
107970
107971
107972    # Check for existence of libiconv.a providing XPG2 wchar_t support.
107973    echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
107974echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
107975if test "${ac_cv_lib_iconv_iconv+set}" = set; then
107976  echo $ECHO_N "(cached) $ECHO_C" >&6
107977else
107978  ac_check_lib_save_LIBS=$LIBS
107979LIBS="-liconv  $LIBS"
107980if test x$gcc_no_link = xyes; then
107981  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107982echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107983   { (exit 1); exit 1; }; }
107984fi
107985cat >conftest.$ac_ext <<_ACEOF
107986/* confdefs.h.  */
107987_ACEOF
107988cat confdefs.h >>conftest.$ac_ext
107989cat >>conftest.$ac_ext <<_ACEOF
107990/* end confdefs.h.  */
107991
107992/* Override any gcc2 internal prototype to avoid an error.  */
107993#ifdef __cplusplus
107994extern "C"
107995#endif
107996/* We use char because int might match the return type of a gcc2
107997   builtin and then its argument prototype would still apply.  */
107998char iconv ();
107999int
108000main ()
108001{
108002iconv ();
108003  ;
108004  return 0;
108005}
108006_ACEOF
108007rm -f conftest.$ac_objext conftest$ac_exeext
108008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108009  (eval $ac_link) 2>conftest.er1
108010  ac_status=$?
108011  grep -v '^ *+' conftest.er1 >conftest.err
108012  rm -f conftest.er1
108013  cat conftest.err >&5
108014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108015  (exit $ac_status); } &&
108016	 { ac_try='test -z "$ac_c_werror_flag"
108017			 || test ! -s conftest.err'
108018  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108019  (eval $ac_try) 2>&5
108020  ac_status=$?
108021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108022  (exit $ac_status); }; } &&
108023	 { ac_try='test -s conftest$ac_exeext'
108024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108025  (eval $ac_try) 2>&5
108026  ac_status=$?
108027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108028  (exit $ac_status); }; }; then
108029  ac_cv_lib_iconv_iconv=yes
108030else
108031  echo "$as_me: failed program was:" >&5
108032sed 's/^/| /' conftest.$ac_ext >&5
108033
108034ac_cv_lib_iconv_iconv=no
108035fi
108036rm -f conftest.err conftest.$ac_objext \
108037      conftest$ac_exeext conftest.$ac_ext
108038LIBS=$ac_check_lib_save_LIBS
108039fi
108040echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108041echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108042if test $ac_cv_lib_iconv_iconv = yes; then
108043  LIBICONV="-liconv"
108044fi
108045
108046    ac_save_LIBS="$LIBS"
108047    LIBS="$LIBS $LIBICONV"
108048
108049
108050
108051
108052
108053
108054for ac_func in iconv_open iconv_close iconv nl_langinfo
108055do
108056as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108057echo "$as_me:$LINENO: checking for $ac_func" >&5
108058echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108059if eval "test \"\${$as_ac_var+set}\" = set"; then
108060  echo $ECHO_N "(cached) $ECHO_C" >&6
108061else
108062  if test x$gcc_no_link = xyes; then
108063  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108064echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108065   { (exit 1); exit 1; }; }
108066fi
108067cat >conftest.$ac_ext <<_ACEOF
108068/* confdefs.h.  */
108069_ACEOF
108070cat confdefs.h >>conftest.$ac_ext
108071cat >>conftest.$ac_ext <<_ACEOF
108072/* end confdefs.h.  */
108073/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108074   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108075#define $ac_func innocuous_$ac_func
108076
108077/* System header to define __stub macros and hopefully few prototypes,
108078    which can conflict with char $ac_func (); below.
108079    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108080    <limits.h> exists even on freestanding compilers.  */
108081
108082#ifdef __STDC__
108083# include <limits.h>
108084#else
108085# include <assert.h>
108086#endif
108087
108088#undef $ac_func
108089
108090/* Override any gcc2 internal prototype to avoid an error.  */
108091#ifdef __cplusplus
108092extern "C"
108093{
108094#endif
108095/* We use char because int might match the return type of a gcc2
108096   builtin and then its argument prototype would still apply.  */
108097char $ac_func ();
108098/* The GNU C library defines this for functions which it implements
108099    to always fail with ENOSYS.  Some functions are actually named
108100    something starting with __ and the normal name is an alias.  */
108101#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108102choke me
108103#else
108104char (*f) () = $ac_func;
108105#endif
108106#ifdef __cplusplus
108107}
108108#endif
108109
108110int
108111main ()
108112{
108113return f != $ac_func;
108114  ;
108115  return 0;
108116}
108117_ACEOF
108118rm -f conftest.$ac_objext conftest$ac_exeext
108119if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108120  (eval $ac_link) 2>conftest.er1
108121  ac_status=$?
108122  grep -v '^ *+' conftest.er1 >conftest.err
108123  rm -f conftest.er1
108124  cat conftest.err >&5
108125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108126  (exit $ac_status); } &&
108127	 { ac_try='test -z "$ac_c_werror_flag"
108128			 || test ! -s conftest.err'
108129  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108130  (eval $ac_try) 2>&5
108131  ac_status=$?
108132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108133  (exit $ac_status); }; } &&
108134	 { ac_try='test -s conftest$ac_exeext'
108135  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108136  (eval $ac_try) 2>&5
108137  ac_status=$?
108138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108139  (exit $ac_status); }; }; then
108140  eval "$as_ac_var=yes"
108141else
108142  echo "$as_me: failed program was:" >&5
108143sed 's/^/| /' conftest.$ac_ext >&5
108144
108145eval "$as_ac_var=no"
108146fi
108147rm -f conftest.err conftest.$ac_objext \
108148      conftest$ac_exeext conftest.$ac_ext
108149fi
108150echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108151echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108152if test `eval echo '${'$as_ac_var'}'` = yes; then
108153  cat >>confdefs.h <<_ACEOF
108154#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108155_ACEOF
108156 ac_XPG2funcs=yes
108157else
108158  ac_XPG2funcs=no
108159fi
108160done
108161
108162
108163    LIBS="$ac_save_LIBS"
108164
108165    if test x"$ac_has_iconv_h" = xyes &&
108166       test x"$ac_has_langinfo_h" = xyes &&
108167       test x"$ac_XPG2funcs" = xyes;
108168    then
108169
108170cat >>confdefs.h <<\_ACEOF
108171#define _GLIBCXX_USE_ICONV 1
108172_ACEOF
108173
108174      enable_iconv=yes
108175    fi
108176  fi
108177  echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108178echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108179  echo "$as_me:$LINENO: result: $enable_iconv" >&5
108180echo "${ECHO_T}$enable_iconv" >&6
108181
108182    cat >>confdefs.h <<\_ACEOF
108183#define HAVE_COPYSIGN 1
108184_ACEOF
108185
108186    cat >>confdefs.h <<\_ACEOF
108187#define HAVE_COPYSIGNF 1
108188_ACEOF
108189
108190    cat >>confdefs.h <<\_ACEOF
108191#define HAVE_FINITE 1
108192_ACEOF
108193
108194    cat >>confdefs.h <<\_ACEOF
108195#define HAVE_FINITEF 1
108196_ACEOF
108197
108198    cat >>confdefs.h <<\_ACEOF
108199#define HAVE_FREXPF 1
108200_ACEOF
108201
108202    cat >>confdefs.h <<\_ACEOF
108203#define HAVE_HYPOTF 1
108204_ACEOF
108205
108206    cat >>confdefs.h <<\_ACEOF
108207#define HAVE_ISINF 1
108208_ACEOF
108209
108210    cat >>confdefs.h <<\_ACEOF
108211#define HAVE_ISINFF 1
108212_ACEOF
108213
108214    cat >>confdefs.h <<\_ACEOF
108215#define HAVE_ISNAN 1
108216_ACEOF
108217
108218    cat >>confdefs.h <<\_ACEOF
108219#define HAVE_ISNANF 1
108220_ACEOF
108221
108222    cat >>confdefs.h <<\_ACEOF
108223#define HAVE_SINCOS 1
108224_ACEOF
108225
108226    cat >>confdefs.h <<\_ACEOF
108227#define HAVE_SINCOSF 1
108228_ACEOF
108229
108230    if test x"long_double_math_on_this_cpu" = x"yes"; then
108231      cat >>confdefs.h <<\_ACEOF
108232#define HAVE_FINITEL 1
108233_ACEOF
108234
108235      cat >>confdefs.h <<\_ACEOF
108236#define HAVE_HYPOTL 1
108237_ACEOF
108238
108239      cat >>confdefs.h <<\_ACEOF
108240#define HAVE_ISINFL 1
108241_ACEOF
108242
108243      cat >>confdefs.h <<\_ACEOF
108244#define HAVE_ISNANL 1
108245_ACEOF
108246
108247    fi
108248    ;;
108249  *-vxworks)
108250    cat >>confdefs.h <<\_ACEOF
108251#define HAVE_MMAP 1
108252_ACEOF
108253
108254    cat >>confdefs.h <<\_ACEOF
108255#define HAVE_ACOSF 1
108256_ACEOF
108257
108258    cat >>confdefs.h <<\_ACEOF
108259#define HAVE_ASINF 1
108260_ACEOF
108261
108262    cat >>confdefs.h <<\_ACEOF
108263#define HAVE_ATAN2F 1
108264_ACEOF
108265
108266    cat >>confdefs.h <<\_ACEOF
108267#define HAVE_ATANF 1
108268_ACEOF
108269
108270    cat >>confdefs.h <<\_ACEOF
108271#define HAVE_CEILF 1
108272_ACEOF
108273
108274    cat >>confdefs.h <<\_ACEOF
108275#define HAVE_COSF 1
108276_ACEOF
108277
108278    cat >>confdefs.h <<\_ACEOF
108279#define HAVE_COSHF 1
108280_ACEOF
108281
108282    cat >>confdefs.h <<\_ACEOF
108283#define HAVE_EXPF 1
108284_ACEOF
108285
108286    cat >>confdefs.h <<\_ACEOF
108287#define HAVE_FABSF 1
108288_ACEOF
108289
108290    cat >>confdefs.h <<\_ACEOF
108291#define HAVE_FLOORF 1
108292_ACEOF
108293
108294    cat >>confdefs.h <<\_ACEOF
108295#define HAVE_FMODF 1
108296_ACEOF
108297
108298    cat >>confdefs.h <<\_ACEOF
108299#define HAVE_HYPOT 1
108300_ACEOF
108301
108302    cat >>confdefs.h <<\_ACEOF
108303#define HAVE_LOG10F 1
108304_ACEOF
108305
108306    cat >>confdefs.h <<\_ACEOF
108307#define HAVE_LOGF 1
108308_ACEOF
108309
108310    cat >>confdefs.h <<\_ACEOF
108311#define HAVE_POWF 1
108312_ACEOF
108313
108314    cat >>confdefs.h <<\_ACEOF
108315#define HAVE_SINF 1
108316_ACEOF
108317
108318    cat >>confdefs.h <<\_ACEOF
108319#define HAVE_SINHF 1
108320_ACEOF
108321
108322    cat >>confdefs.h <<\_ACEOF
108323#define HAVE_SQRTF 1
108324_ACEOF
108325
108326    cat >>confdefs.h <<\_ACEOF
108327#define HAVE_TANF 1
108328_ACEOF
108329
108330    cat >>confdefs.h <<\_ACEOF
108331#define HAVE_TANHF 1
108332_ACEOF
108333
108334    ;;
108335  *-windiss*)
108336    cat >>confdefs.h <<\_ACEOF
108337#define HAVE_ACOSF 1
108338_ACEOF
108339
108340    cat >>confdefs.h <<\_ACEOF
108341#define HAVE_ACOSL 1
108342_ACEOF
108343
108344    cat >>confdefs.h <<\_ACEOF
108345#define HAVE_ASINF 1
108346_ACEOF
108347
108348    cat >>confdefs.h <<\_ACEOF
108349#define HAVE_ASINL 1
108350_ACEOF
108351
108352    cat >>confdefs.h <<\_ACEOF
108353#define HAVE_ATAN2F 1
108354_ACEOF
108355
108356    cat >>confdefs.h <<\_ACEOF
108357#define HAVE_ATAN2L 1
108358_ACEOF
108359
108360    cat >>confdefs.h <<\_ACEOF
108361#define HAVE_ATANF 1
108362_ACEOF
108363
108364    cat >>confdefs.h <<\_ACEOF
108365#define HAVE_ATANL 1
108366_ACEOF
108367
108368    cat >>confdefs.h <<\_ACEOF
108369#define HAVE_CEILF 1
108370_ACEOF
108371
108372    cat >>confdefs.h <<\_ACEOF
108373#define HAVE_CEILL 1
108374_ACEOF
108375
108376    cat >>confdefs.h <<\_ACEOF
108377#define HAVE_COPYSIGN 1
108378_ACEOF
108379
108380    cat >>confdefs.h <<\_ACEOF
108381#define HAVE_COPYSIGNF 1
108382_ACEOF
108383
108384    cat >>confdefs.h <<\_ACEOF
108385#define HAVE_COSF 1
108386_ACEOF
108387
108388    cat >>confdefs.h <<\_ACEOF
108389#define HAVE_COSL 1
108390_ACEOF
108391
108392    cat >>confdefs.h <<\_ACEOF
108393#define HAVE_COSHF 1
108394_ACEOF
108395
108396    cat >>confdefs.h <<\_ACEOF
108397#define HAVE_COSHL 1
108398_ACEOF
108399
108400    cat >>confdefs.h <<\_ACEOF
108401#define HAVE_EXPF 1
108402_ACEOF
108403
108404    cat >>confdefs.h <<\_ACEOF
108405#define HAVE_EXPL 1
108406_ACEOF
108407
108408    cat >>confdefs.h <<\_ACEOF
108409#define HAVE_FABSF 1
108410_ACEOF
108411
108412    cat >>confdefs.h <<\_ACEOF
108413#define HAVE_FABSL 1
108414_ACEOF
108415
108416    cat >>confdefs.h <<\_ACEOF
108417#define HAVE_FLOORF 1
108418_ACEOF
108419
108420    cat >>confdefs.h <<\_ACEOF
108421#define HAVE_FLOORL 1
108422_ACEOF
108423
108424    cat >>confdefs.h <<\_ACEOF
108425#define HAVE_FMODF 1
108426_ACEOF
108427
108428    cat >>confdefs.h <<\_ACEOF
108429#define HAVE_FMODL 1
108430_ACEOF
108431
108432    cat >>confdefs.h <<\_ACEOF
108433#define HAVE_FREXPF 1
108434_ACEOF
108435
108436    cat >>confdefs.h <<\_ACEOF
108437#define HAVE_FREXPL 1
108438_ACEOF
108439
108440    cat >>confdefs.h <<\_ACEOF
108441#define HAVE_LDEXPF 1
108442_ACEOF
108443
108444    cat >>confdefs.h <<\_ACEOF
108445#define HAVE_LDEXPL 1
108446_ACEOF
108447
108448    cat >>confdefs.h <<\_ACEOF
108449#define HAVE_LOG10F 1
108450_ACEOF
108451
108452    cat >>confdefs.h <<\_ACEOF
108453#define HAVE_LOG10L 1
108454_ACEOF
108455
108456    cat >>confdefs.h <<\_ACEOF
108457#define HAVE_LOGF 1
108458_ACEOF
108459
108460    cat >>confdefs.h <<\_ACEOF
108461#define HAVE_MODFF 1
108462_ACEOF
108463
108464    cat >>confdefs.h <<\_ACEOF
108465#define HAVE_MODFL 1
108466_ACEOF
108467
108468    cat >>confdefs.h <<\_ACEOF
108469#define HAVE_POWF 1
108470_ACEOF
108471
108472    cat >>confdefs.h <<\_ACEOF
108473#define HAVE_POWL 1
108474_ACEOF
108475
108476    cat >>confdefs.h <<\_ACEOF
108477#define HAVE_SINF 1
108478_ACEOF
108479
108480    cat >>confdefs.h <<\_ACEOF
108481#define HAVE_SINL 1
108482_ACEOF
108483
108484    cat >>confdefs.h <<\_ACEOF
108485#define HAVE_SINHF 1
108486_ACEOF
108487
108488    cat >>confdefs.h <<\_ACEOF
108489#define HAVE_SINHL 1
108490_ACEOF
108491
108492    cat >>confdefs.h <<\_ACEOF
108493#define HAVE_SQRTF 1
108494_ACEOF
108495
108496    cat >>confdefs.h <<\_ACEOF
108497#define HAVE_SQRTL 1
108498_ACEOF
108499
108500    cat >>confdefs.h <<\_ACEOF
108501#define HAVE_TANF 1
108502_ACEOF
108503
108504    cat >>confdefs.h <<\_ACEOF
108505#define HAVE_TANL 1
108506_ACEOF
108507
108508    cat >>confdefs.h <<\_ACEOF
108509#define HAVE_TANHF 1
108510_ACEOF
108511
108512    cat >>confdefs.h <<\_ACEOF
108513#define HAVE_TANHL 1
108514_ACEOF
108515
108516    ;;
108517  *)
108518    { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108519echo "$as_me: error: No support for this host/target combination." >&2;}
108520   { (exit 1); exit 1; }; }
108521   ;;
108522esac
108523
108524  fi
108525
108526  # At some point, we should differentiate between architectures
108527  # like x86, which have long double versions, and alpha/powerpc/etc.,
108528  # which don't. For the time being, punt.
108529  if test x"long_double_math_on_this_cpu" = x"yes"; then
108530    cat >>confdefs.h <<\_ACEOF
108531#define HAVE_ACOSL 1
108532_ACEOF
108533
108534    cat >>confdefs.h <<\_ACEOF
108535#define HAVE_ASINL 1
108536_ACEOF
108537
108538    cat >>confdefs.h <<\_ACEOF
108539#define HAVE_ATAN2L 1
108540_ACEOF
108541
108542    cat >>confdefs.h <<\_ACEOF
108543#define HAVE_ATANL 1
108544_ACEOF
108545
108546    cat >>confdefs.h <<\_ACEOF
108547#define HAVE_CEILL 1
108548_ACEOF
108549
108550    cat >>confdefs.h <<\_ACEOF
108551#define HAVE_COPYSIGNL 1
108552_ACEOF
108553
108554    cat >>confdefs.h <<\_ACEOF
108555#define HAVE_COSL 1
108556_ACEOF
108557
108558    cat >>confdefs.h <<\_ACEOF
108559#define HAVE_COSHL 1
108560_ACEOF
108561
108562    cat >>confdefs.h <<\_ACEOF
108563#define HAVE_EXPL 1
108564_ACEOF
108565
108566    cat >>confdefs.h <<\_ACEOF
108567#define HAVE_FABSL 1
108568_ACEOF
108569
108570    cat >>confdefs.h <<\_ACEOF
108571#define HAVE_FLOORL 1
108572_ACEOF
108573
108574    cat >>confdefs.h <<\_ACEOF
108575#define HAVE_FMODL 1
108576_ACEOF
108577
108578    cat >>confdefs.h <<\_ACEOF
108579#define HAVE_FREXPL 1
108580_ACEOF
108581
108582    cat >>confdefs.h <<\_ACEOF
108583#define HAVE_LDEXPL 1
108584_ACEOF
108585
108586    cat >>confdefs.h <<\_ACEOF
108587#define HAVE_LOG10L 1
108588_ACEOF
108589
108590    cat >>confdefs.h <<\_ACEOF
108591#define HAVE_LOGL 1
108592_ACEOF
108593
108594    cat >>confdefs.h <<\_ACEOF
108595#define HAVE_MODFL 1
108596_ACEOF
108597
108598    cat >>confdefs.h <<\_ACEOF
108599#define HAVE_POWL 1
108600_ACEOF
108601
108602    cat >>confdefs.h <<\_ACEOF
108603#define HAVE_SINCOSL 1
108604_ACEOF
108605
108606    cat >>confdefs.h <<\_ACEOF
108607#define HAVE_SINL 1
108608_ACEOF
108609
108610    cat >>confdefs.h <<\_ACEOF
108611#define HAVE_SINHL 1
108612_ACEOF
108613
108614    cat >>confdefs.h <<\_ACEOF
108615#define HAVE_SQRTL 1
108616_ACEOF
108617
108618    cat >>confdefs.h <<\_ACEOF
108619#define HAVE_TANL 1
108620_ACEOF
108621
108622    cat >>confdefs.h <<\_ACEOF
108623#define HAVE_TANHL 1
108624_ACEOF
108625
108626  fi
108627
108628  # Assume we have _Unwind_GetIPInfo for cross-compiles.
108629  cat >>confdefs.h <<\_ACEOF
108630#define HAVE_GETIPINFO 1
108631_ACEOF
108632
108633
108634fi
108635
108636# This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108637
108638
108639 # Check whether --enable-symvers or --disable-symvers was given.
108640if test "${enable_symvers+set}" = set; then
108641  enableval="$enable_symvers"
108642
108643      case "$enableval" in
108644       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108645       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108646echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108647   { (exit 1); exit 1; }; } ;;
108648                          esac
108649
108650else
108651  enable_symvers=yes
108652fi;
108653
108654
108655# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108656# don't know enough about $LD to do tricks...
108657
108658
108659# Turn a 'yes' into a suitable default.
108660if test x$enable_symvers = xyes ; then
108661  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
108662    enable_symvers=no
108663  else
108664    if test $with_gnu_ld = yes ; then
108665      enable_symvers=gnu
108666    else
108667      case ${target_os} in
108668        darwin*)
108669	  enable_symvers=darwin ;;
108670        *)
108671          enable_symvers=no ;;
108672      esac
108673    fi
108674  fi
108675fi
108676
108677# Check to see if 'darwin' or 'darwin-export' can win.
108678if test x$enable_symvers = xdarwin-export ; then
108679    enable_symvers=darwin
108680fi
108681
108682# Check to see if 'gnu' can win.
108683if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108684  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108685  echo "$as_me:$LINENO: checking for shared libgcc" >&5
108686echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108687  ac_save_CFLAGS="$CFLAGS"
108688  CFLAGS=' -lgcc_s'
108689  if test x$gcc_no_link = xyes; then
108690  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108691echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108692   { (exit 1); exit 1; }; }
108693fi
108694cat >conftest.$ac_ext <<_ACEOF
108695/* confdefs.h.  */
108696_ACEOF
108697cat confdefs.h >>conftest.$ac_ext
108698cat >>conftest.$ac_ext <<_ACEOF
108699/* end confdefs.h.  */
108700
108701int
108702main ()
108703{
108704return 0;
108705  ;
108706  return 0;
108707}
108708_ACEOF
108709rm -f conftest.$ac_objext conftest$ac_exeext
108710if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108711  (eval $ac_link) 2>conftest.er1
108712  ac_status=$?
108713  grep -v '^ *+' conftest.er1 >conftest.err
108714  rm -f conftest.er1
108715  cat conftest.err >&5
108716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108717  (exit $ac_status); } &&
108718	 { ac_try='test -z "$ac_c_werror_flag"
108719			 || test ! -s conftest.err'
108720  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108721  (eval $ac_try) 2>&5
108722  ac_status=$?
108723  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108724  (exit $ac_status); }; } &&
108725	 { ac_try='test -s conftest$ac_exeext'
108726  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108727  (eval $ac_try) 2>&5
108728  ac_status=$?
108729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108730  (exit $ac_status); }; }; then
108731  glibcxx_shared_libgcc=yes
108732else
108733  echo "$as_me: failed program was:" >&5
108734sed 's/^/| /' conftest.$ac_ext >&5
108735
108736glibcxx_shared_libgcc=no
108737fi
108738rm -f conftest.err conftest.$ac_objext \
108739      conftest$ac_exeext conftest.$ac_ext
108740  CFLAGS="$ac_save_CFLAGS"
108741  if test $glibcxx_shared_libgcc = no; then
108742    cat > conftest.c <<EOF
108743int main (void) { return 0; }
108744EOF
108745    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108746			     -shared -shared-libgcc -o conftest.so \
108747			     conftest.c -v 2>&1 >/dev/null \
108748			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108749    rm -f conftest.c conftest.so
108750    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108751      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108752      if test x$gcc_no_link = xyes; then
108753  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108754echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108755   { (exit 1); exit 1; }; }
108756fi
108757cat >conftest.$ac_ext <<_ACEOF
108758/* confdefs.h.  */
108759_ACEOF
108760cat confdefs.h >>conftest.$ac_ext
108761cat >>conftest.$ac_ext <<_ACEOF
108762/* end confdefs.h.  */
108763
108764int
108765main ()
108766{
108767return 0;
108768  ;
108769  return 0;
108770}
108771_ACEOF
108772rm -f conftest.$ac_objext conftest$ac_exeext
108773if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108774  (eval $ac_link) 2>conftest.er1
108775  ac_status=$?
108776  grep -v '^ *+' conftest.er1 >conftest.err
108777  rm -f conftest.er1
108778  cat conftest.err >&5
108779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108780  (exit $ac_status); } &&
108781	 { ac_try='test -z "$ac_c_werror_flag"
108782			 || test ! -s conftest.err'
108783  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108784  (eval $ac_try) 2>&5
108785  ac_status=$?
108786  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108787  (exit $ac_status); }; } &&
108788	 { ac_try='test -s conftest$ac_exeext'
108789  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108790  (eval $ac_try) 2>&5
108791  ac_status=$?
108792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108793  (exit $ac_status); }; }; then
108794  glibcxx_shared_libgcc=yes
108795else
108796  echo "$as_me: failed program was:" >&5
108797sed 's/^/| /' conftest.$ac_ext >&5
108798
108799fi
108800rm -f conftest.err conftest.$ac_objext \
108801      conftest$ac_exeext conftest.$ac_ext
108802      CFLAGS="$ac_save_CFLAGS"
108803    fi
108804  fi
108805  echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108806echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108807
108808  # For GNU ld, we need at least this version.  The format is described in
108809  # GLIBCXX_CHECK_LINKER_FEATURES above.
108810  glibcxx_min_gnu_ld_version=21400
108811
108812  # If no shared libgcc, can't win.
108813  if test $glibcxx_shared_libgcc != yes; then
108814      { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108815echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108816      { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108817echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108818      { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108819echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108820      enable_symvers=no
108821  elif test $with_gnu_ld != yes ; then
108822    # just fail for now
108823    { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108824echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108825    { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108826echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108827    { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108828echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108829    enable_symvers=no
108830  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108831    # The right tools, the right setup, but too old.  Fallbacks?
108832    { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108833echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108834    { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108835echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108836    { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108837echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108838    { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108839echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108840    { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108841echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108842    enable_symvers=no
108843  fi
108844fi
108845
108846# Everything parsed; figure out what file to use.
108847case $enable_symvers in
108848  no)
108849    SYMVER_FILE=config/abi/pre/none.ver
108850    ;;
108851  gnu)
108852    SYMVER_FILE=config/abi/pre/gnu.ver
108853
108854cat >>confdefs.h <<\_ACEOF
108855#define _GLIBCXX_SYMVER_GNU 1
108856_ACEOF
108857
108858    ;;
108859  gnu-versioned-namespace)
108860    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108861
108862cat >>confdefs.h <<\_ACEOF
108863#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108864_ACEOF
108865
108866    ;;
108867  darwin)
108868    SYMVER_FILE=config/abi/pre/gnu.ver
108869
108870cat >>confdefs.h <<\_ACEOF
108871#define _GLIBCXX_SYMVER_DARWIN 1
108872_ACEOF
108873
108874    ;;
108875esac
108876
108877if test x$enable_symvers != xno ; then
108878
108879cat >>confdefs.h <<\_ACEOF
108880#define _GLIBCXX_SYMVER 1
108881_ACEOF
108882
108883fi
108884
108885
108886
108887
108888
108889
108890
108891{ echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108892echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108893
108894# Now, set up compatibility support, if any.
108895# In addition, need this to deal with std::size_t mangling in
108896# src/compatibility.cc.  In a perfect world, could use
108897# typeid(std::size_t).name()[0] to do direct substitution.
108898echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108899echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108900ac_save_CFLAGS="$CFLAGS"
108901CFLAGS="-Werror"
108902cat >conftest.$ac_ext <<_ACEOF
108903/* confdefs.h.  */
108904_ACEOF
108905cat confdefs.h >>conftest.$ac_ext
108906cat >>conftest.$ac_ext <<_ACEOF
108907/* end confdefs.h.  */
108908
108909int
108910main ()
108911{
108912__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108913  ;
108914  return 0;
108915}
108916_ACEOF
108917rm -f conftest.$ac_objext
108918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108919  (eval $ac_compile) 2>conftest.er1
108920  ac_status=$?
108921  grep -v '^ *+' conftest.er1 >conftest.err
108922  rm -f conftest.er1
108923  cat conftest.err >&5
108924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108925  (exit $ac_status); } &&
108926	 { ac_try='test -z "$ac_c_werror_flag"
108927			 || test ! -s conftest.err'
108928  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108929  (eval $ac_try) 2>&5
108930  ac_status=$?
108931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108932  (exit $ac_status); }; } &&
108933	 { ac_try='test -s conftest.$ac_objext'
108934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108935  (eval $ac_try) 2>&5
108936  ac_status=$?
108937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108938  (exit $ac_status); }; }; then
108939  glibcxx_size_t_is_i=yes
108940else
108941  echo "$as_me: failed program was:" >&5
108942sed 's/^/| /' conftest.$ac_ext >&5
108943
108944glibcxx_size_t_is_i=no
108945fi
108946rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108947CFLAGS=$ac_save_CFLAGS
108948if test "$glibcxx_size_t_is_i" = yes; then
108949
108950cat >>confdefs.h <<\_ACEOF
108951#define _GLIBCXX_SIZE_T_IS_UINT 1
108952_ACEOF
108953
108954fi
108955echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
108956echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
108957
108958echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
108959echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
108960ac_save_CFLAGS="$CFLAGS"
108961CFLAGS="-Werror"
108962cat >conftest.$ac_ext <<_ACEOF
108963/* confdefs.h.  */
108964_ACEOF
108965cat confdefs.h >>conftest.$ac_ext
108966cat >>conftest.$ac_ext <<_ACEOF
108967/* end confdefs.h.  */
108968
108969int
108970main ()
108971{
108972__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
108973  ;
108974  return 0;
108975}
108976_ACEOF
108977rm -f conftest.$ac_objext
108978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108979  (eval $ac_compile) 2>conftest.er1
108980  ac_status=$?
108981  grep -v '^ *+' conftest.er1 >conftest.err
108982  rm -f conftest.er1
108983  cat conftest.err >&5
108984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108985  (exit $ac_status); } &&
108986	 { ac_try='test -z "$ac_c_werror_flag"
108987			 || test ! -s conftest.err'
108988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108989  (eval $ac_try) 2>&5
108990  ac_status=$?
108991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108992  (exit $ac_status); }; } &&
108993	 { ac_try='test -s conftest.$ac_objext'
108994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108995  (eval $ac_try) 2>&5
108996  ac_status=$?
108997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
108998  (exit $ac_status); }; }; then
108999  glibcxx_ptrdiff_t_is_i=yes
109000else
109001  echo "$as_me: failed program was:" >&5
109002sed 's/^/| /' conftest.$ac_ext >&5
109003
109004glibcxx_ptrdiff_t_is_i=no
109005fi
109006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109007CFLAGS=$ac_save_CFLAGS
109008if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109009
109010cat >>confdefs.h <<\_ACEOF
109011#define _GLIBCXX_PTRDIFF_T_IS_INT 1
109012_ACEOF
109013
109014fi
109015echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109016echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109017
109018
109019 # Check whether --enable-visibility or --disable-visibility was given.
109020if test "${enable_visibility+set}" = set; then
109021  enableval="$enable_visibility"
109022
109023      case "$enableval" in
109024       yes|no) ;;
109025       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
109026echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
109027   { (exit 1); exit 1; }; } ;;
109028      esac
109029
109030else
109031  enable_visibility=yes
109032fi;
109033
109034
109035if test x$enable_visibility = xyes ; then
109036      echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
109037echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
109038if test "${have_attribute_visibility+set}" = set; then
109039  echo $ECHO_N "(cached) $ECHO_C" >&6
109040else
109041
109042  save_CFLAGS="$CFLAGS"
109043  CFLAGS="$CFLAGS -Werror"
109044  cat >conftest.$ac_ext <<_ACEOF
109045/* confdefs.h.  */
109046_ACEOF
109047cat confdefs.h >>conftest.$ac_ext
109048cat >>conftest.$ac_ext <<_ACEOF
109049/* end confdefs.h.  */
109050void __attribute__((visibility("hidden"))) foo(void) { }
109051int
109052main ()
109053{
109054
109055  ;
109056  return 0;
109057}
109058_ACEOF
109059rm -f conftest.$ac_objext
109060if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109061  (eval $ac_compile) 2>conftest.er1
109062  ac_status=$?
109063  grep -v '^ *+' conftest.er1 >conftest.err
109064  rm -f conftest.er1
109065  cat conftest.err >&5
109066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109067  (exit $ac_status); } &&
109068	 { ac_try='test -z "$ac_c_werror_flag"
109069			 || test ! -s conftest.err'
109070  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109071  (eval $ac_try) 2>&5
109072  ac_status=$?
109073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109074  (exit $ac_status); }; } &&
109075	 { ac_try='test -s conftest.$ac_objext'
109076  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109077  (eval $ac_try) 2>&5
109078  ac_status=$?
109079  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109080  (exit $ac_status); }; }; then
109081  have_attribute_visibility=yes
109082else
109083  echo "$as_me: failed program was:" >&5
109084sed 's/^/| /' conftest.$ac_ext >&5
109085
109086have_attribute_visibility=no
109087fi
109088rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109089  CFLAGS="$save_CFLAGS"
109090fi
109091echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
109092echo "${ECHO_T}$have_attribute_visibility" >&6
109093  if test $have_attribute_visibility = no; then
109094    enable_visibility=no
109095  fi
109096fi
109097
109098
109099{ echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
109100echo "$as_me: visibility supported: $enable_visibility" >&6;}
109101
109102
109103ac_ldbl_compat=no
109104case "$target" in
109105  powerpc*-*-*gnu* | \
109106  sparc*-*-linux* | \
109107  s390*-*-linux* | \
109108  alpha*-*-linux*)
109109  cat >conftest.$ac_ext <<_ACEOF
109110/* confdefs.h.  */
109111_ACEOF
109112cat confdefs.h >>conftest.$ac_ext
109113cat >>conftest.$ac_ext <<_ACEOF
109114/* end confdefs.h.  */
109115
109116int
109117main ()
109118{
109119
109120#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109121#error no need for long double compatibility
109122#endif
109123
109124  ;
109125  return 0;
109126}
109127_ACEOF
109128rm -f conftest.$ac_objext
109129if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109130  (eval $ac_compile) 2>conftest.er1
109131  ac_status=$?
109132  grep -v '^ *+' conftest.er1 >conftest.err
109133  rm -f conftest.er1
109134  cat conftest.err >&5
109135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109136  (exit $ac_status); } &&
109137	 { ac_try='test -z "$ac_c_werror_flag"
109138			 || test ! -s conftest.err'
109139  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109140  (eval $ac_try) 2>&5
109141  ac_status=$?
109142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109143  (exit $ac_status); }; } &&
109144	 { ac_try='test -s conftest.$ac_objext'
109145  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109146  (eval $ac_try) 2>&5
109147  ac_status=$?
109148  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109149  (exit $ac_status); }; }; then
109150  ac_ldbl_compat=yes
109151else
109152  echo "$as_me: failed program was:" >&5
109153sed 's/^/| /' conftest.$ac_ext >&5
109154
109155ac_ldbl_compat=no
109156fi
109157rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109158  if test "$ac_ldbl_compat" = yes; then
109159
109160cat >>confdefs.h <<\_ACEOF
109161#define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109162_ACEOF
109163
109164    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109165  fi
109166esac
109167
109168
109169# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109170
109171  if $GLIBCXX_IS_NATIVE ; then
109172    # Do checks for resource limit functions.
109173
109174  setrlimit_have_headers=yes
109175
109176
109177
109178for ac_header in unistd.h sys/time.h sys/resource.h
109179do
109180as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109181if eval "test \"\${$as_ac_Header+set}\" = set"; then
109182  echo "$as_me:$LINENO: checking for $ac_header" >&5
109183echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109184if eval "test \"\${$as_ac_Header+set}\" = set"; then
109185  echo $ECHO_N "(cached) $ECHO_C" >&6
109186fi
109187echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109188echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109189else
109190  # Is the header compilable?
109191echo "$as_me:$LINENO: checking $ac_header usability" >&5
109192echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109193cat >conftest.$ac_ext <<_ACEOF
109194/* confdefs.h.  */
109195_ACEOF
109196cat confdefs.h >>conftest.$ac_ext
109197cat >>conftest.$ac_ext <<_ACEOF
109198/* end confdefs.h.  */
109199$ac_includes_default
109200#include <$ac_header>
109201_ACEOF
109202rm -f conftest.$ac_objext
109203if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109204  (eval $ac_compile) 2>conftest.er1
109205  ac_status=$?
109206  grep -v '^ *+' conftest.er1 >conftest.err
109207  rm -f conftest.er1
109208  cat conftest.err >&5
109209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109210  (exit $ac_status); } &&
109211	 { ac_try='test -z "$ac_c_werror_flag"
109212			 || test ! -s conftest.err'
109213  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109214  (eval $ac_try) 2>&5
109215  ac_status=$?
109216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109217  (exit $ac_status); }; } &&
109218	 { ac_try='test -s conftest.$ac_objext'
109219  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109220  (eval $ac_try) 2>&5
109221  ac_status=$?
109222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109223  (exit $ac_status); }; }; then
109224  ac_header_compiler=yes
109225else
109226  echo "$as_me: failed program was:" >&5
109227sed 's/^/| /' conftest.$ac_ext >&5
109228
109229ac_header_compiler=no
109230fi
109231rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109232echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109233echo "${ECHO_T}$ac_header_compiler" >&6
109234
109235# Is the header present?
109236echo "$as_me:$LINENO: checking $ac_header presence" >&5
109237echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109238cat >conftest.$ac_ext <<_ACEOF
109239/* confdefs.h.  */
109240_ACEOF
109241cat confdefs.h >>conftest.$ac_ext
109242cat >>conftest.$ac_ext <<_ACEOF
109243/* end confdefs.h.  */
109244#include <$ac_header>
109245_ACEOF
109246if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109247  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109248  ac_status=$?
109249  grep -v '^ *+' conftest.er1 >conftest.err
109250  rm -f conftest.er1
109251  cat conftest.err >&5
109252  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109253  (exit $ac_status); } >/dev/null; then
109254  if test -s conftest.err; then
109255    ac_cpp_err=$ac_c_preproc_warn_flag
109256    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109257  else
109258    ac_cpp_err=
109259  fi
109260else
109261  ac_cpp_err=yes
109262fi
109263if test -z "$ac_cpp_err"; then
109264  ac_header_preproc=yes
109265else
109266  echo "$as_me: failed program was:" >&5
109267sed 's/^/| /' conftest.$ac_ext >&5
109268
109269  ac_header_preproc=no
109270fi
109271rm -f conftest.err conftest.$ac_ext
109272echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109273echo "${ECHO_T}$ac_header_preproc" >&6
109274
109275# So?  What about this header?
109276case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109277  yes:no: )
109278    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109279echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109280    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109281echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109282    ac_header_preproc=yes
109283    ;;
109284  no:yes:* )
109285    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109286echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109287    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109288echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109289    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109290echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109291    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109292echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109293    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109294echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109295    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109296echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109297    (
109298      cat <<\_ASBOX
109299## ----------------------------------------- ##
109300## Report this to the package-unused lists.  ##
109301## ----------------------------------------- ##
109302_ASBOX
109303    ) |
109304      sed "s/^/$as_me: WARNING:     /" >&2
109305    ;;
109306esac
109307echo "$as_me:$LINENO: checking for $ac_header" >&5
109308echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109309if eval "test \"\${$as_ac_Header+set}\" = set"; then
109310  echo $ECHO_N "(cached) $ECHO_C" >&6
109311else
109312  eval "$as_ac_Header=\$ac_header_preproc"
109313fi
109314echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109315echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109316
109317fi
109318if test `eval echo '${'$as_ac_Header'}'` = yes; then
109319  cat >>confdefs.h <<_ACEOF
109320#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109321_ACEOF
109322
109323else
109324  setrlimit_have_headers=no
109325fi
109326
109327done
109328
109329  # If don't have the headers, then we can't run the tests now, and we
109330  # won't be seeing any of these during testsuite compilation.
109331  if test $setrlimit_have_headers = yes; then
109332    # Can't do these in a loop, else the resulting syntax is wrong.
109333
109334  echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109335echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109336  cat >conftest.$ac_ext <<_ACEOF
109337/* confdefs.h.  */
109338_ACEOF
109339cat confdefs.h >>conftest.$ac_ext
109340cat >>conftest.$ac_ext <<_ACEOF
109341/* end confdefs.h.  */
109342#include <unistd.h>
109343     #include <sys/time.h>
109344     #include <sys/resource.h>
109345
109346int
109347main ()
109348{
109349 int f = RLIMIT_DATA ;
109350  ;
109351  return 0;
109352}
109353_ACEOF
109354rm -f conftest.$ac_objext
109355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109356  (eval $ac_compile) 2>conftest.er1
109357  ac_status=$?
109358  grep -v '^ *+' conftest.er1 >conftest.err
109359  rm -f conftest.er1
109360  cat conftest.err >&5
109361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109362  (exit $ac_status); } &&
109363	 { ac_try='test -z "$ac_c_werror_flag"
109364			 || test ! -s conftest.err'
109365  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109366  (eval $ac_try) 2>&5
109367  ac_status=$?
109368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109369  (exit $ac_status); }; } &&
109370	 { ac_try='test -s conftest.$ac_objext'
109371  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109372  (eval $ac_try) 2>&5
109373  ac_status=$?
109374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109375  (exit $ac_status); }; }; then
109376  glibcxx_mresult=1
109377else
109378  echo "$as_me: failed program was:" >&5
109379sed 's/^/| /' conftest.$ac_ext >&5
109380
109381glibcxx_mresult=0
109382fi
109383rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109384
109385cat >>confdefs.h <<_ACEOF
109386#define HAVE_LIMIT_DATA $glibcxx_mresult
109387_ACEOF
109388
109389  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109390  echo "$as_me:$LINENO: result: $res" >&5
109391echo "${ECHO_T}$res" >&6
109392
109393
109394  echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109395echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109396  cat >conftest.$ac_ext <<_ACEOF
109397/* confdefs.h.  */
109398_ACEOF
109399cat confdefs.h >>conftest.$ac_ext
109400cat >>conftest.$ac_ext <<_ACEOF
109401/* end confdefs.h.  */
109402#include <unistd.h>
109403     #include <sys/time.h>
109404     #include <sys/resource.h>
109405
109406int
109407main ()
109408{
109409 int f = RLIMIT_RSS ;
109410  ;
109411  return 0;
109412}
109413_ACEOF
109414rm -f conftest.$ac_objext
109415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109416  (eval $ac_compile) 2>conftest.er1
109417  ac_status=$?
109418  grep -v '^ *+' conftest.er1 >conftest.err
109419  rm -f conftest.er1
109420  cat conftest.err >&5
109421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109422  (exit $ac_status); } &&
109423	 { ac_try='test -z "$ac_c_werror_flag"
109424			 || test ! -s conftest.err'
109425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109426  (eval $ac_try) 2>&5
109427  ac_status=$?
109428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109429  (exit $ac_status); }; } &&
109430	 { ac_try='test -s conftest.$ac_objext'
109431  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109432  (eval $ac_try) 2>&5
109433  ac_status=$?
109434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109435  (exit $ac_status); }; }; then
109436  glibcxx_mresult=1
109437else
109438  echo "$as_me: failed program was:" >&5
109439sed 's/^/| /' conftest.$ac_ext >&5
109440
109441glibcxx_mresult=0
109442fi
109443rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109444
109445cat >>confdefs.h <<_ACEOF
109446#define HAVE_LIMIT_RSS $glibcxx_mresult
109447_ACEOF
109448
109449  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109450  echo "$as_me:$LINENO: result: $res" >&5
109451echo "${ECHO_T}$res" >&6
109452
109453
109454  echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109455echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109456  cat >conftest.$ac_ext <<_ACEOF
109457/* confdefs.h.  */
109458_ACEOF
109459cat confdefs.h >>conftest.$ac_ext
109460cat >>conftest.$ac_ext <<_ACEOF
109461/* end confdefs.h.  */
109462#include <unistd.h>
109463     #include <sys/time.h>
109464     #include <sys/resource.h>
109465
109466int
109467main ()
109468{
109469 int f = RLIMIT_VMEM ;
109470  ;
109471  return 0;
109472}
109473_ACEOF
109474rm -f conftest.$ac_objext
109475if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109476  (eval $ac_compile) 2>conftest.er1
109477  ac_status=$?
109478  grep -v '^ *+' conftest.er1 >conftest.err
109479  rm -f conftest.er1
109480  cat conftest.err >&5
109481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109482  (exit $ac_status); } &&
109483	 { ac_try='test -z "$ac_c_werror_flag"
109484			 || test ! -s conftest.err'
109485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109486  (eval $ac_try) 2>&5
109487  ac_status=$?
109488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109489  (exit $ac_status); }; } &&
109490	 { ac_try='test -s conftest.$ac_objext'
109491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109492  (eval $ac_try) 2>&5
109493  ac_status=$?
109494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109495  (exit $ac_status); }; }; then
109496  glibcxx_mresult=1
109497else
109498  echo "$as_me: failed program was:" >&5
109499sed 's/^/| /' conftest.$ac_ext >&5
109500
109501glibcxx_mresult=0
109502fi
109503rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109504
109505cat >>confdefs.h <<_ACEOF
109506#define HAVE_LIMIT_VMEM $glibcxx_mresult
109507_ACEOF
109508
109509  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109510  echo "$as_me:$LINENO: result: $res" >&5
109511echo "${ECHO_T}$res" >&6
109512
109513
109514  echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109515echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109516  cat >conftest.$ac_ext <<_ACEOF
109517/* confdefs.h.  */
109518_ACEOF
109519cat confdefs.h >>conftest.$ac_ext
109520cat >>conftest.$ac_ext <<_ACEOF
109521/* end confdefs.h.  */
109522#include <unistd.h>
109523     #include <sys/time.h>
109524     #include <sys/resource.h>
109525
109526int
109527main ()
109528{
109529 int f = RLIMIT_AS ;
109530  ;
109531  return 0;
109532}
109533_ACEOF
109534rm -f conftest.$ac_objext
109535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109536  (eval $ac_compile) 2>conftest.er1
109537  ac_status=$?
109538  grep -v '^ *+' conftest.er1 >conftest.err
109539  rm -f conftest.er1
109540  cat conftest.err >&5
109541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109542  (exit $ac_status); } &&
109543	 { ac_try='test -z "$ac_c_werror_flag"
109544			 || test ! -s conftest.err'
109545  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109546  (eval $ac_try) 2>&5
109547  ac_status=$?
109548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109549  (exit $ac_status); }; } &&
109550	 { ac_try='test -s conftest.$ac_objext'
109551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109552  (eval $ac_try) 2>&5
109553  ac_status=$?
109554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109555  (exit $ac_status); }; }; then
109556  glibcxx_mresult=1
109557else
109558  echo "$as_me: failed program was:" >&5
109559sed 's/^/| /' conftest.$ac_ext >&5
109560
109561glibcxx_mresult=0
109562fi
109563rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109564
109565cat >>confdefs.h <<_ACEOF
109566#define HAVE_LIMIT_AS $glibcxx_mresult
109567_ACEOF
109568
109569  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109570  echo "$as_me:$LINENO: result: $res" >&5
109571echo "${ECHO_T}$res" >&6
109572
109573
109574  echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109575echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109576  cat >conftest.$ac_ext <<_ACEOF
109577/* confdefs.h.  */
109578_ACEOF
109579cat confdefs.h >>conftest.$ac_ext
109580cat >>conftest.$ac_ext <<_ACEOF
109581/* end confdefs.h.  */
109582#include <unistd.h>
109583     #include <sys/time.h>
109584     #include <sys/resource.h>
109585
109586int
109587main ()
109588{
109589 int f = RLIMIT_FSIZE ;
109590  ;
109591  return 0;
109592}
109593_ACEOF
109594rm -f conftest.$ac_objext
109595if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109596  (eval $ac_compile) 2>conftest.er1
109597  ac_status=$?
109598  grep -v '^ *+' conftest.er1 >conftest.err
109599  rm -f conftest.er1
109600  cat conftest.err >&5
109601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109602  (exit $ac_status); } &&
109603	 { ac_try='test -z "$ac_c_werror_flag"
109604			 || test ! -s conftest.err'
109605  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109606  (eval $ac_try) 2>&5
109607  ac_status=$?
109608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109609  (exit $ac_status); }; } &&
109610	 { ac_try='test -s conftest.$ac_objext'
109611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109612  (eval $ac_try) 2>&5
109613  ac_status=$?
109614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109615  (exit $ac_status); }; }; then
109616  glibcxx_mresult=1
109617else
109618  echo "$as_me: failed program was:" >&5
109619sed 's/^/| /' conftest.$ac_ext >&5
109620
109621glibcxx_mresult=0
109622fi
109623rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109624
109625cat >>confdefs.h <<_ACEOF
109626#define HAVE_LIMIT_FSIZE $glibcxx_mresult
109627_ACEOF
109628
109629  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109630  echo "$as_me:$LINENO: result: $res" >&5
109631echo "${ECHO_T}$res" >&6
109632
109633
109634    # Check for rlimit, setrlimit.
109635    if test "${ac_setrlimit+set}" = set; then
109636  echo $ECHO_N "(cached) $ECHO_C" >&6
109637else
109638
109639      cat >conftest.$ac_ext <<_ACEOF
109640/* confdefs.h.  */
109641_ACEOF
109642cat confdefs.h >>conftest.$ac_ext
109643cat >>conftest.$ac_ext <<_ACEOF
109644/* end confdefs.h.  */
109645#include <unistd.h>
109646         #include <sys/time.h>
109647         #include <sys/resource.h>
109648
109649int
109650main ()
109651{
109652struct rlimit r;
109653         setrlimit(0, &r);
109654  ;
109655  return 0;
109656}
109657_ACEOF
109658rm -f conftest.$ac_objext
109659if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109660  (eval $ac_compile) 2>conftest.er1
109661  ac_status=$?
109662  grep -v '^ *+' conftest.er1 >conftest.err
109663  rm -f conftest.er1
109664  cat conftest.err >&5
109665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109666  (exit $ac_status); } &&
109667	 { ac_try='test -z "$ac_c_werror_flag"
109668			 || test ! -s conftest.err'
109669  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109670  (eval $ac_try) 2>&5
109671  ac_status=$?
109672  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109673  (exit $ac_status); }; } &&
109674	 { ac_try='test -s conftest.$ac_objext'
109675  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109676  (eval $ac_try) 2>&5
109677  ac_status=$?
109678  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109679  (exit $ac_status); }; }; then
109680  ac_setrlimit=yes
109681else
109682  echo "$as_me: failed program was:" >&5
109683sed 's/^/| /' conftest.$ac_ext >&5
109684
109685ac_setrlimit=no
109686fi
109687rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109688
109689fi
109690
109691  fi
109692
109693  echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109694echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109695  if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109696    ac_res_limits=yes
109697
109698cat >>confdefs.h <<\_ACEOF
109699#define _GLIBCXX_RES_LIMITS 1
109700_ACEOF
109701
109702  else
109703    ac_res_limits=no
109704  fi
109705  echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109706echo "${ECHO_T}$ac_res_limits" >&6
109707
109708
109709    # Look for setenv, so that extended locale tests can be performed.
109710
109711  echo "$as_me:$LINENO: checking for setenv declaration" >&5
109712echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109713  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109714    if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109715  echo $ECHO_N "(cached) $ECHO_C" >&6
109716else
109717
109718
109719
109720      ac_ext=cc
109721ac_cpp='$CXXCPP $CPPFLAGS'
109722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109725
109726      cat >conftest.$ac_ext <<_ACEOF
109727/* confdefs.h.  */
109728_ACEOF
109729cat confdefs.h >>conftest.$ac_ext
109730cat >>conftest.$ac_ext <<_ACEOF
109731/* end confdefs.h.  */
109732#include <stdlib.h>
109733int
109734main ()
109735{
109736 setenv(0, 0, 0);
109737  ;
109738  return 0;
109739}
109740_ACEOF
109741rm -f conftest.$ac_objext
109742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109743  (eval $ac_compile) 2>conftest.er1
109744  ac_status=$?
109745  grep -v '^ *+' conftest.er1 >conftest.err
109746  rm -f conftest.er1
109747  cat conftest.err >&5
109748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109749  (exit $ac_status); } &&
109750	 { ac_try='test -z "$ac_cxx_werror_flag"
109751			 || test ! -s conftest.err'
109752  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109753  (eval $ac_try) 2>&5
109754  ac_status=$?
109755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109756  (exit $ac_status); }; } &&
109757	 { ac_try='test -s conftest.$ac_objext'
109758  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109759  (eval $ac_try) 2>&5
109760  ac_status=$?
109761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109762  (exit $ac_status); }; }; then
109763  glibcxx_cv_func_setenv_use=yes
109764else
109765  echo "$as_me: failed program was:" >&5
109766sed 's/^/| /' conftest.$ac_ext >&5
109767
109768glibcxx_cv_func_setenv_use=no
109769fi
109770rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109771      ac_ext=c
109772ac_cpp='$CPP $CPPFLAGS'
109773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109775ac_compiler_gnu=$ac_cv_c_compiler_gnu
109776
109777
109778fi
109779
109780  fi
109781  echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109782echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109783  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109784
109785for ac_func in setenv
109786do
109787as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109788echo "$as_me:$LINENO: checking for $ac_func" >&5
109789echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109790if eval "test \"\${$as_ac_var+set}\" = set"; then
109791  echo $ECHO_N "(cached) $ECHO_C" >&6
109792else
109793  if test x$gcc_no_link = xyes; then
109794  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109795echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109796   { (exit 1); exit 1; }; }
109797fi
109798cat >conftest.$ac_ext <<_ACEOF
109799/* confdefs.h.  */
109800_ACEOF
109801cat confdefs.h >>conftest.$ac_ext
109802cat >>conftest.$ac_ext <<_ACEOF
109803/* end confdefs.h.  */
109804/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109805   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109806#define $ac_func innocuous_$ac_func
109807
109808/* System header to define __stub macros and hopefully few prototypes,
109809    which can conflict with char $ac_func (); below.
109810    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109811    <limits.h> exists even on freestanding compilers.  */
109812
109813#ifdef __STDC__
109814# include <limits.h>
109815#else
109816# include <assert.h>
109817#endif
109818
109819#undef $ac_func
109820
109821/* Override any gcc2 internal prototype to avoid an error.  */
109822#ifdef __cplusplus
109823extern "C"
109824{
109825#endif
109826/* We use char because int might match the return type of a gcc2
109827   builtin and then its argument prototype would still apply.  */
109828char $ac_func ();
109829/* The GNU C library defines this for functions which it implements
109830    to always fail with ENOSYS.  Some functions are actually named
109831    something starting with __ and the normal name is an alias.  */
109832#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109833choke me
109834#else
109835char (*f) () = $ac_func;
109836#endif
109837#ifdef __cplusplus
109838}
109839#endif
109840
109841int
109842main ()
109843{
109844return f != $ac_func;
109845  ;
109846  return 0;
109847}
109848_ACEOF
109849rm -f conftest.$ac_objext conftest$ac_exeext
109850if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109851  (eval $ac_link) 2>conftest.er1
109852  ac_status=$?
109853  grep -v '^ *+' conftest.er1 >conftest.err
109854  rm -f conftest.er1
109855  cat conftest.err >&5
109856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109857  (exit $ac_status); } &&
109858	 { ac_try='test -z "$ac_c_werror_flag"
109859			 || test ! -s conftest.err'
109860  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109861  (eval $ac_try) 2>&5
109862  ac_status=$?
109863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109864  (exit $ac_status); }; } &&
109865	 { ac_try='test -s conftest$ac_exeext'
109866  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109867  (eval $ac_try) 2>&5
109868  ac_status=$?
109869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
109870  (exit $ac_status); }; }; then
109871  eval "$as_ac_var=yes"
109872else
109873  echo "$as_me: failed program was:" >&5
109874sed 's/^/| /' conftest.$ac_ext >&5
109875
109876eval "$as_ac_var=no"
109877fi
109878rm -f conftest.err conftest.$ac_objext \
109879      conftest$ac_exeext conftest.$ac_ext
109880fi
109881echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109882echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109883if test `eval echo '${'$as_ac_var'}'` = yes; then
109884  cat >>confdefs.h <<_ACEOF
109885#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109886_ACEOF
109887
109888fi
109889done
109890
109891  fi
109892
109893  fi
109894
109895  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109896     test $enable_symvers != no; then
109897    case "$host" in
109898      *-*-cygwin*)
109899        enable_abi_check=no ;;
109900      *)
109901        enable_abi_check=yes ;;
109902    esac
109903  else
109904    # Only build this as native, since automake does not understand
109905    # CXX_FOR_BUILD.
109906    enable_abi_check=no
109907  fi
109908
109909  # Export file names for ABI checking.
109910  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109911
109912
109913
109914# Propagate the target-specific source directories through the build chain.
109915ATOMICITY_SRCDIR=config/${atomicity_dir}
109916ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109917CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109918OS_INC_SRCDIR=config/${os_include_dir}
109919ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109920
109921
109922
109923
109924
109925
109926
109927# Determine cross-compile flags and AM_CONDITIONALs.
109928#AC_SUBST(GLIBCXX_IS_NATIVE)
109929#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109930# from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109931#AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
109932
109933
109934if test $is_hosted = yes; then
109935  GLIBCXX_HOSTED_TRUE=
109936  GLIBCXX_HOSTED_FALSE='#'
109937else
109938  GLIBCXX_HOSTED_TRUE='#'
109939  GLIBCXX_HOSTED_FALSE=
109940fi
109941
109942
109943
109944
109945if test $enable_libstdcxx_pch = yes; then
109946  GLIBCXX_BUILD_PCH_TRUE=
109947  GLIBCXX_BUILD_PCH_FALSE='#'
109948else
109949  GLIBCXX_BUILD_PCH_TRUE='#'
109950  GLIBCXX_BUILD_PCH_FALSE=
109951fi
109952
109953
109954
109955
109956if test $enable_cheaders = c; then
109957  GLIBCXX_C_HEADERS_C_TRUE=
109958  GLIBCXX_C_HEADERS_C_FALSE='#'
109959else
109960  GLIBCXX_C_HEADERS_C_TRUE='#'
109961  GLIBCXX_C_HEADERS_C_FALSE=
109962fi
109963
109964
109965
109966
109967if test $enable_cheaders = c_std; then
109968  GLIBCXX_C_HEADERS_C_STD_TRUE=
109969  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109970else
109971  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109972  GLIBCXX_C_HEADERS_C_STD_FALSE=
109973fi
109974
109975
109976
109977
109978if test $c_compatibility = yes; then
109979  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109980  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109981else
109982  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109983  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109984fi
109985
109986
109987
109988
109989if test $enable_libstdcxx_debug = yes; then
109990  GLIBCXX_BUILD_DEBUG_TRUE=
109991  GLIBCXX_BUILD_DEBUG_FALSE='#'
109992else
109993  GLIBCXX_BUILD_DEBUG_TRUE='#'
109994  GLIBCXX_BUILD_DEBUG_FALSE=
109995fi
109996
109997
109998
109999
110000if test $enable_symvers != no; then
110001  ENABLE_SYMVERS_TRUE=
110002  ENABLE_SYMVERS_FALSE='#'
110003else
110004  ENABLE_SYMVERS_TRUE='#'
110005  ENABLE_SYMVERS_FALSE=
110006fi
110007
110008
110009
110010
110011if test $enable_symvers = gnu; then
110012  ENABLE_SYMVERS_GNU_TRUE=
110013  ENABLE_SYMVERS_GNU_FALSE='#'
110014else
110015  ENABLE_SYMVERS_GNU_TRUE='#'
110016  ENABLE_SYMVERS_GNU_FALSE=
110017fi
110018
110019
110020
110021
110022if test $enable_symvers = gnu-versioned-namespace; then
110023  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
110024  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
110025else
110026  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
110027  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
110028fi
110029
110030
110031
110032
110033if test $enable_symvers = darwin; then
110034  ENABLE_SYMVERS_DARWIN_TRUE=
110035  ENABLE_SYMVERS_DARWIN_FALSE='#'
110036else
110037  ENABLE_SYMVERS_DARWIN_TRUE='#'
110038  ENABLE_SYMVERS_DARWIN_FALSE=
110039fi
110040
110041
110042
110043
110044if test $enable_visibility = yes; then
110045  ENABLE_VISIBILITY_TRUE=
110046  ENABLE_VISIBILITY_FALSE='#'
110047else
110048  ENABLE_VISIBILITY_TRUE='#'
110049  ENABLE_VISIBILITY_FALSE=
110050fi
110051
110052
110053
110054
110055if test $ac_ldbl_compat = yes; then
110056  GLIBCXX_LDBL_COMPAT_TRUE=
110057  GLIBCXX_LDBL_COMPAT_FALSE='#'
110058else
110059  GLIBCXX_LDBL_COMPAT_TRUE='#'
110060  GLIBCXX_LDBL_COMPAT_FALSE=
110061fi
110062
110063
110064
110065
110066cat >confcache <<\_ACEOF
110067# This file is a shell script that caches the results of configure
110068# tests run on this system so they can be shared between configure
110069# scripts and configure runs, see configure's option --config-cache.
110070# It is not useful on other systems.  If it contains results you don't
110071# want to keep, you may remove or edit it.
110072#
110073# config.status only pays attention to the cache file if you give it
110074# the --recheck option to rerun configure.
110075#
110076# `ac_cv_env_foo' variables (set or unset) will be overridden when
110077# loading this file, other *unset* `ac_cv_foo' will be assigned the
110078# following values.
110079
110080_ACEOF
110081
110082# The following way of writing the cache mishandles newlines in values,
110083# but we know of no workaround that is simple, portable, and efficient.
110084# So, don't put newlines in cache variables' values.
110085# Ultrix sh set writes to stderr and can't be redirected directly,
110086# and sets the high bit in the cache file unless we assign to the vars.
110087{
110088  (set) 2>&1 |
110089    case `(ac_space=' '; set | grep ac_space) 2>&1` in
110090    *ac_space=\ *)
110091      # `set' does not quote correctly, so add quotes (double-quote
110092      # substitution turns \\\\ into \\, and sed turns \\ into \).
110093      sed -n \
110094	"s/'/'\\\\''/g;
110095	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110096      ;;
110097    *)
110098      # `set' quotes correctly as required by POSIX, so do not add quotes.
110099      sed -n \
110100	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110101      ;;
110102    esac;
110103} |
110104  sed '
110105     t clear
110106     : clear
110107     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110108     t end
110109     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110110     : end' >>confcache
110111if diff $cache_file confcache >/dev/null 2>&1; then :; else
110112  if test -w $cache_file; then
110113    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110114    cat confcache >$cache_file
110115  else
110116    echo "not updating unwritable cache $cache_file"
110117  fi
110118fi
110119rm -f confcache
110120
110121if test ${multilib} = yes; then
110122  multilib_arg="--enable-multilib"
110123else
110124  multilib_arg=
110125fi
110126
110127# Export all the install information.
110128
110129  glibcxx_toolexecdir=no
110130  glibcxx_toolexeclibdir=no
110131  glibcxx_prefixdir=$prefix
110132
110133  echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110134echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110135
110136# Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110137if test "${with_gxx_include_dir+set}" = set; then
110138  withval="$with_gxx_include_dir"
110139  case "$withval" in
110140      yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110141echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110142   { (exit 1); exit 1; }; } ;;
110143      no)  gxx_include_dir=no ;;
110144      *)   gxx_include_dir=$withval ;;
110145     esac
110146else
110147  gxx_include_dir=no
110148fi;
110149  echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110150echo "${ECHO_T}$gxx_include_dir" >&6
110151
110152  echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110153echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110154  # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110155if test "${enable_version_specific_runtime_libs+set}" = set; then
110156  enableval="$enable_version_specific_runtime_libs"
110157  case "$enableval" in
110158      yes) version_specific_libs=yes ;;
110159      no)  version_specific_libs=no ;;
110160      *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110161echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110162   { (exit 1); exit 1; }; };;
110163     esac
110164else
110165  version_specific_libs=no
110166fi;
110167  echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110168echo "${ECHO_T}$version_specific_libs" >&6
110169
110170  # Default case for install directory for include files.
110171  if test $version_specific_libs = no && test $gxx_include_dir = no; then
110172    gxx_include_dir='include/c++/${gcc_version}'
110173    if test -n "$with_cross_host" &&
110174       test x"$with_cross_host" != x"no"; then
110175      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110176    else
110177      gxx_include_dir='${prefix}/'"$gxx_include_dir"
110178    fi
110179  fi
110180
110181  # Version-specific runtime libs processing.
110182  if test $version_specific_libs = yes; then
110183    # Need the gcc compiler version to know where to install libraries
110184    # and header files if --enable-version-specific-runtime-libs option
110185    # is selected.  FIXME: these variables are misnamed, there are
110186    # no executables installed in _toolexecdir or _toolexeclibdir.
110187    if test x"$gxx_include_dir" = x"no"; then
110188      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110189    fi
110190    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110191    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110192  fi
110193
110194  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110195  # Install a library built with a cross compiler in tooldir, not libdir.
110196  if test x"$glibcxx_toolexecdir" = x"no"; then
110197    if test -n "$with_cross_host" &&
110198       test x"$with_cross_host" != x"no"; then
110199      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110200      glibcxx_toolexeclibdir='${toolexecdir}/lib'
110201    else
110202      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110203      glibcxx_toolexeclibdir='${libdir}'
110204    fi
110205    multi_os_directory=`$CXX -print-multi-os-directory`
110206    case $multi_os_directory in
110207      .) ;; # Avoid trailing /.
110208      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110209    esac
110210  fi
110211
110212  echo "$as_me:$LINENO: checking for install location" >&5
110213echo $ECHO_N "checking for install location... $ECHO_C" >&6
110214  echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110215echo "${ECHO_T}$gxx_include_dir" >&6
110216
110217
110218
110219
110220
110221
110222
110223# Export all the include and flag information to Makefiles.
110224
110225  # Used for every C++ compile we perform.
110226  GLIBCXX_INCLUDES="\
110227-I$glibcxx_builddir/include/$host_alias \
110228-I$glibcxx_builddir/include \
110229-I$glibcxx_srcdir/libsupc++"
110230
110231  # For Canadian crosses, pick this up too.
110232  if test $CANADIAN = yes; then
110233    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110234  fi
110235
110236  # Stuff in the actual top level.  Currently only used by libsupc++ to
110237  # get unwind* headers from the gcc dir.
110238  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110239  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110240
110241  # Now, export this to all the little Makefiles....
110242
110243
110244
110245
110246  # Optimization flags that are probably a good idea for thrill-seekers. Just
110247  # uncomment the lines below and make, everything else is ready to go...
110248  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110249  OPTIMIZE_CXXFLAGS=
110250
110251
110252  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110253
110254
110255
110256if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110257   grep "enable shared" > /dev/null;
110258then
110259  LIBSUPCXX_PICFLAGS=-prefer-pic
110260else
110261  LIBSUPCXX_PICFLAGS=
110262fi
110263
110264
110265                                                                      ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110266
110267          ac_config_files="$ac_config_files scripts/testsuite_flags"
110268
110269
110270          ac_config_commands="$ac_config_commands default"
110271
110272
110273cat >confcache <<\_ACEOF
110274# This file is a shell script that caches the results of configure
110275# tests run on this system so they can be shared between configure
110276# scripts and configure runs, see configure's option --config-cache.
110277# It is not useful on other systems.  If it contains results you don't
110278# want to keep, you may remove or edit it.
110279#
110280# config.status only pays attention to the cache file if you give it
110281# the --recheck option to rerun configure.
110282#
110283# `ac_cv_env_foo' variables (set or unset) will be overridden when
110284# loading this file, other *unset* `ac_cv_foo' will be assigned the
110285# following values.
110286
110287_ACEOF
110288
110289# The following way of writing the cache mishandles newlines in values,
110290# but we know of no workaround that is simple, portable, and efficient.
110291# So, don't put newlines in cache variables' values.
110292# Ultrix sh set writes to stderr and can't be redirected directly,
110293# and sets the high bit in the cache file unless we assign to the vars.
110294{
110295  (set) 2>&1 |
110296    case `(ac_space=' '; set | grep ac_space) 2>&1` in
110297    *ac_space=\ *)
110298      # `set' does not quote correctly, so add quotes (double-quote
110299      # substitution turns \\\\ into \\, and sed turns \\ into \).
110300      sed -n \
110301	"s/'/'\\\\''/g;
110302	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110303      ;;
110304    *)
110305      # `set' quotes correctly as required by POSIX, so do not add quotes.
110306      sed -n \
110307	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110308      ;;
110309    esac;
110310} |
110311  sed '
110312     t clear
110313     : clear
110314     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110315     t end
110316     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110317     : end' >>confcache
110318if diff $cache_file confcache >/dev/null 2>&1; then :; else
110319  if test -w $cache_file; then
110320    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110321    cat confcache >$cache_file
110322  else
110323    echo "not updating unwritable cache $cache_file"
110324  fi
110325fi
110326rm -f confcache
110327
110328test "x$prefix" = xNONE && prefix=$ac_default_prefix
110329# Let make expand exec_prefix.
110330test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110331
110332# VPATH may cause trouble with some makes, so we remove $(srcdir),
110333# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110334# trailing colons and then remove the whole line if VPATH becomes empty
110335# (actually we leave an empty line to preserve line numbers).
110336if test "x$srcdir" = x.; then
110337  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
110338s/:*\$(srcdir):*/:/;
110339s/:*\${srcdir}:*/:/;
110340s/:*@srcdir@:*/:/;
110341s/^\([^=]*=[	 ]*\):*/\1/;
110342s/:*$//;
110343s/^[^=]*=[	 ]*$//;
110344}'
110345fi
110346
110347DEFS=-DHAVE_CONFIG_H
110348
110349ac_libobjs=
110350ac_ltlibobjs=
110351for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110352  # 1. Remove the extension, and $U if already installed.
110353  ac_i=`echo "$ac_i" |
110354	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110355  # 2. Add them.
110356  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110357  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110358done
110359LIBOBJS=$ac_libobjs
110360
110361LTLIBOBJS=$ac_ltlibobjs
110362
110363
110364if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110365  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110366Usually this means the macro was only invoked conditionally." >&5
110367echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110368Usually this means the macro was only invoked conditionally." >&2;}
110369   { (exit 1); exit 1; }; }
110370fi
110371if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110372  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110373Usually this means the macro was only invoked conditionally." >&5
110374echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110375Usually this means the macro was only invoked conditionally." >&2;}
110376   { (exit 1); exit 1; }; }
110377fi
110378if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110379  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110380Usually this means the macro was only invoked conditionally." >&5
110381echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110382Usually this means the macro was only invoked conditionally." >&2;}
110383   { (exit 1); exit 1; }; }
110384fi
110385if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110386  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110387Usually this means the macro was only invoked conditionally." >&5
110388echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110389Usually this means the macro was only invoked conditionally." >&2;}
110390   { (exit 1); exit 1; }; }
110391fi
110392if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110393  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110394Usually this means the macro was only invoked conditionally." >&5
110395echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110396Usually this means the macro was only invoked conditionally." >&2;}
110397   { (exit 1); exit 1; }; }
110398fi
110399if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110400  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110401Usually this means the macro was only invoked conditionally." >&5
110402echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110403Usually this means the macro was only invoked conditionally." >&2;}
110404   { (exit 1); exit 1; }; }
110405fi
110406if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110407  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110408Usually this means the macro was only invoked conditionally." >&5
110409echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110410Usually this means the macro was only invoked conditionally." >&2;}
110411   { (exit 1); exit 1; }; }
110412fi
110413if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110414  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110415Usually this means the macro was only invoked conditionally." >&5
110416echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110417Usually this means the macro was only invoked conditionally." >&2;}
110418   { (exit 1); exit 1; }; }
110419fi
110420if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110421  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110422Usually this means the macro was only invoked conditionally." >&5
110423echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110424Usually this means the macro was only invoked conditionally." >&2;}
110425   { (exit 1); exit 1; }; }
110426fi
110427if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110428  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110429Usually this means the macro was only invoked conditionally." >&5
110430echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110431Usually this means the macro was only invoked conditionally." >&2;}
110432   { (exit 1); exit 1; }; }
110433fi
110434if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110435  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110436Usually this means the macro was only invoked conditionally." >&5
110437echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110438Usually this means the macro was only invoked conditionally." >&2;}
110439   { (exit 1); exit 1; }; }
110440fi
110441if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110442  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110443Usually this means the macro was only invoked conditionally." >&5
110444echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110445Usually this means the macro was only invoked conditionally." >&2;}
110446   { (exit 1); exit 1; }; }
110447fi
110448if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110449  { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110450Usually this means the macro was only invoked conditionally." >&5
110451echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110452Usually this means the macro was only invoked conditionally." >&2;}
110453   { (exit 1); exit 1; }; }
110454fi
110455
110456: ${CONFIG_STATUS=./config.status}
110457ac_clean_files_save=$ac_clean_files
110458ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110459{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110460echo "$as_me: creating $CONFIG_STATUS" >&6;}
110461cat >$CONFIG_STATUS <<_ACEOF
110462#! $SHELL
110463# Generated by $as_me.
110464# Run this file to recreate the current configuration.
110465# Compiler output produced by configure, useful for debugging
110466# configure, is in config.log if it exists.
110467
110468debug=false
110469ac_cs_recheck=false
110470ac_cs_silent=false
110471SHELL=\${CONFIG_SHELL-$SHELL}
110472_ACEOF
110473
110474cat >>$CONFIG_STATUS <<\_ACEOF
110475## --------------------- ##
110476## M4sh Initialization.  ##
110477## --------------------- ##
110478
110479# Be Bourne compatible
110480if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110481  emulate sh
110482  NULLCMD=:
110483  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110484  # is contrary to our usage.  Disable this feature.
110485  alias -g '${1+"$@"}'='"$@"'
110486elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110487  set -o posix
110488fi
110489DUALCASE=1; export DUALCASE # for MKS sh
110490
110491# Support unset when possible.
110492if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110493  as_unset=unset
110494else
110495  as_unset=false
110496fi
110497
110498
110499# Work around bugs in pre-3.0 UWIN ksh.
110500$as_unset ENV MAIL MAILPATH
110501PS1='$ '
110502PS2='> '
110503PS4='+ '
110504
110505# NLS nuisances.
110506for as_var in \
110507  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110508  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110509  LC_TELEPHONE LC_TIME
110510do
110511  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110512    eval $as_var=C; export $as_var
110513  else
110514    $as_unset $as_var
110515  fi
110516done
110517
110518# Required to use basename.
110519if expr a : '\(a\)' >/dev/null 2>&1; then
110520  as_expr=expr
110521else
110522  as_expr=false
110523fi
110524
110525if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110526  as_basename=basename
110527else
110528  as_basename=false
110529fi
110530
110531
110532# Name of the executable.
110533as_me=`$as_basename "$0" ||
110534$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110535	 X"$0" : 'X\(//\)$' \| \
110536	 X"$0" : 'X\(/\)$' \| \
110537	 .     : '\(.\)' 2>/dev/null ||
110538echo X/"$0" |
110539    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110540  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
110541  	  /^X\/\(\/\).*/{ s//\1/; q; }
110542  	  s/.*/./; q'`
110543
110544
110545# PATH needs CR, and LINENO needs CR and PATH.
110546# Avoid depending upon Character Ranges.
110547as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110548as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110549as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110550as_cr_digits='0123456789'
110551as_cr_alnum=$as_cr_Letters$as_cr_digits
110552
110553# The user is always right.
110554if test "${PATH_SEPARATOR+set}" != set; then
110555  echo "#! /bin/sh" >conf$$.sh
110556  echo  "exit 0"   >>conf$$.sh
110557  chmod +x conf$$.sh
110558  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110559    PATH_SEPARATOR=';'
110560  else
110561    PATH_SEPARATOR=:
110562  fi
110563  rm -f conf$$.sh
110564fi
110565
110566
110567  as_lineno_1=$LINENO
110568  as_lineno_2=$LINENO
110569  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110570  test "x$as_lineno_1" != "x$as_lineno_2" &&
110571  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
110572  # Find who we are.  Look in the path if we contain no path at all
110573  # relative or not.
110574  case $0 in
110575    *[\\/]* ) as_myself=$0 ;;
110576    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110577for as_dir in $PATH
110578do
110579  IFS=$as_save_IFS
110580  test -z "$as_dir" && as_dir=.
110581  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110582done
110583
110584       ;;
110585  esac
110586  # We did not find ourselves, most probably we were run as `sh COMMAND'
110587  # in which case we are not to be found in the path.
110588  if test "x$as_myself" = x; then
110589    as_myself=$0
110590  fi
110591  if test ! -f "$as_myself"; then
110592    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110593echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110594   { (exit 1); exit 1; }; }
110595  fi
110596  case $CONFIG_SHELL in
110597  '')
110598    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110599for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110600do
110601  IFS=$as_save_IFS
110602  test -z "$as_dir" && as_dir=.
110603  for as_base in sh bash ksh sh5; do
110604	 case $as_dir in
110605	 /*)
110606	   if ("$as_dir/$as_base" -c '
110607  as_lineno_1=$LINENO
110608  as_lineno_2=$LINENO
110609  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110610  test "x$as_lineno_1" != "x$as_lineno_2" &&
110611  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
110612	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110613	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110614	     CONFIG_SHELL=$as_dir/$as_base
110615	     export CONFIG_SHELL
110616	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110617	   fi;;
110618	 esac
110619       done
110620done
110621;;
110622  esac
110623
110624  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110625  # uniformly replaced by the line number.  The first 'sed' inserts a
110626  # line-number line before each line; the second 'sed' does the real
110627  # work.  The second script uses 'N' to pair each line-number line
110628  # with the numbered line, and appends trailing '-' during
110629  # substitution so that $LINENO is not a special case at line end.
110630  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110631  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
110632  sed '=' <$as_myself |
110633    sed '
110634      N
110635      s,$,-,
110636      : loop
110637      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110638      t loop
110639      s,-$,,
110640      s,^['$as_cr_digits']*\n,,
110641    ' >$as_me.lineno &&
110642  chmod +x $as_me.lineno ||
110643    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110644echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110645   { (exit 1); exit 1; }; }
110646
110647  # Don't try to exec as it changes $[0], causing all sort of problems
110648  # (the dirname of $[0] is not the place where we might find the
110649  # original and so on.  Autoconf is especially sensible to this).
110650  . ./$as_me.lineno
110651  # Exit status is that of the last command.
110652  exit
110653}
110654
110655
110656case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110657  *c*,-n*) ECHO_N= ECHO_C='
110658' ECHO_T='	' ;;
110659  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110660  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
110661esac
110662
110663if expr a : '\(a\)' >/dev/null 2>&1; then
110664  as_expr=expr
110665else
110666  as_expr=false
110667fi
110668
110669rm -f conf$$ conf$$.exe conf$$.file
110670echo >conf$$.file
110671if ln -s conf$$.file conf$$ 2>/dev/null; then
110672  # We could just check for DJGPP; but this test a) works b) is more generic
110673  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110674  if test -f conf$$.exe; then
110675    # Don't use ln at all; we don't have any links
110676    as_ln_s='cp -p'
110677  else
110678    as_ln_s='ln -s'
110679  fi
110680elif ln conf$$.file conf$$ 2>/dev/null; then
110681  as_ln_s=ln
110682else
110683  as_ln_s='cp -p'
110684fi
110685rm -f conf$$ conf$$.exe conf$$.file
110686
110687if mkdir -p . 2>/dev/null; then
110688  as_mkdir_p=:
110689else
110690  test -d ./-p && rmdir ./-p
110691  as_mkdir_p=false
110692fi
110693
110694as_executable_p="test -f"
110695
110696# Sed expression to map a string onto a valid CPP name.
110697as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110698
110699# Sed expression to map a string onto a valid variable name.
110700as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110701
110702
110703# IFS
110704# We need space, tab and new line, in precisely that order.
110705as_nl='
110706'
110707IFS=" 	$as_nl"
110708
110709# CDPATH.
110710$as_unset CDPATH
110711
110712exec 6>&1
110713
110714# Open the log real soon, to keep \$[0] and so on meaningful, and to
110715# report actual input values of CONFIG_FILES etc. instead of their
110716# values after options handling.  Logging --version etc. is OK.
110717exec 5>>config.log
110718{
110719  echo
110720  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110721## Running $as_me. ##
110722_ASBOX
110723} >&5
110724cat >&5 <<_CSEOF
110725
110726This file was extended by package-unused $as_me version-unused, which was
110727generated by GNU Autoconf 2.59.  Invocation command line was
110728
110729  CONFIG_FILES    = $CONFIG_FILES
110730  CONFIG_HEADERS  = $CONFIG_HEADERS
110731  CONFIG_LINKS    = $CONFIG_LINKS
110732  CONFIG_COMMANDS = $CONFIG_COMMANDS
110733  $ $0 $@
110734
110735_CSEOF
110736echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110737echo >&5
110738_ACEOF
110739
110740# Files that config.status was made for.
110741if test -n "$ac_config_files"; then
110742  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110743fi
110744
110745if test -n "$ac_config_headers"; then
110746  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110747fi
110748
110749if test -n "$ac_config_links"; then
110750  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110751fi
110752
110753if test -n "$ac_config_commands"; then
110754  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110755fi
110756
110757cat >>$CONFIG_STATUS <<\_ACEOF
110758
110759ac_cs_usage="\
110760\`$as_me' instantiates files from templates according to the
110761current configuration.
110762
110763Usage: $0 [OPTIONS] [FILE]...
110764
110765  -h, --help       print this help, then exit
110766  -V, --version    print version number, then exit
110767  -q, --quiet      do not print progress messages
110768  -d, --debug      don't remove temporary files
110769      --recheck    update $as_me by reconfiguring in the same conditions
110770  --file=FILE[:TEMPLATE]
110771		   instantiate the configuration file FILE
110772  --header=FILE[:TEMPLATE]
110773		   instantiate the configuration header FILE
110774
110775Configuration files:
110776$config_files
110777
110778Configuration headers:
110779$config_headers
110780
110781Configuration commands:
110782$config_commands
110783
110784Report bugs to <bug-autoconf@gnu.org>."
110785_ACEOF
110786
110787cat >>$CONFIG_STATUS <<_ACEOF
110788ac_cs_version="\\
110789package-unused config.status version-unused
110790configured by $0, generated by GNU Autoconf 2.59,
110791  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110792
110793Copyright (C) 2003 Free Software Foundation, Inc.
110794This config.status script is free software; the Free Software Foundation
110795gives unlimited permission to copy, distribute and modify it."
110796srcdir=$srcdir
110797INSTALL="$INSTALL"
110798_ACEOF
110799
110800cat >>$CONFIG_STATUS <<\_ACEOF
110801# If no file are specified by the user, then we need to provide default
110802# value.  By we need to know if files were specified by the user.
110803ac_need_defaults=:
110804while test $# != 0
110805do
110806  case $1 in
110807  --*=*)
110808    ac_option=`expr "x$1" : 'x\([^=]*\)='`
110809    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110810    ac_shift=:
110811    ;;
110812  -*)
110813    ac_option=$1
110814    ac_optarg=$2
110815    ac_shift=shift
110816    ;;
110817  *) # This is not an option, so the user has probably given explicit
110818     # arguments.
110819     ac_option=$1
110820     ac_need_defaults=false;;
110821  esac
110822
110823  case $ac_option in
110824  # Handling of the options.
110825_ACEOF
110826cat >>$CONFIG_STATUS <<\_ACEOF
110827  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110828    ac_cs_recheck=: ;;
110829  --version | --vers* | -V )
110830    echo "$ac_cs_version"; exit 0 ;;
110831  --he | --h)
110832    # Conflict between --help and --header
110833    { { echo "$as_me:$LINENO: error: ambiguous option: $1
110834Try \`$0 --help' for more information." >&5
110835echo "$as_me: error: ambiguous option: $1
110836Try \`$0 --help' for more information." >&2;}
110837   { (exit 1); exit 1; }; };;
110838  --help | --hel | -h )
110839    echo "$ac_cs_usage"; exit 0 ;;
110840  --debug | --d* | -d )
110841    debug=: ;;
110842  --file | --fil | --fi | --f )
110843    $ac_shift
110844    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110845    ac_need_defaults=false;;
110846  --header | --heade | --head | --hea )
110847    $ac_shift
110848    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110849    ac_need_defaults=false;;
110850  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110851  | -silent | --silent | --silen | --sile | --sil | --si | --s)
110852    ac_cs_silent=: ;;
110853
110854  # This is an error.
110855  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110856Try \`$0 --help' for more information." >&5
110857echo "$as_me: error: unrecognized option: $1
110858Try \`$0 --help' for more information." >&2;}
110859   { (exit 1); exit 1; }; } ;;
110860
110861  *) ac_config_targets="$ac_config_targets $1" ;;
110862
110863  esac
110864  shift
110865done
110866
110867ac_configure_extra_args=
110868
110869if $ac_cs_silent; then
110870  exec 6>/dev/null
110871  ac_configure_extra_args="$ac_configure_extra_args --silent"
110872fi
110873
110874_ACEOF
110875cat >>$CONFIG_STATUS <<_ACEOF
110876if \$ac_cs_recheck; then
110877  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110878  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110879fi
110880
110881_ACEOF
110882
110883cat >>$CONFIG_STATUS <<_ACEOF
110884#
110885# INIT-COMMANDS section.
110886#
110887
110888
110889srcdir="$srcdir"
110890host="$host"
110891target="$target"
110892with_multisubdir="$with_multisubdir"
110893with_multisrctop="$with_multisrctop"
110894with_target_subdir="$with_target_subdir"
110895ac_configure_args="${multilib_arg} ${ac_configure_args}"
110896multi_basedir="$multi_basedir"
110897CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110898CC="$CC"
110899
110900# Variables needed in config.status (file generation) which aren't already
110901# passed by autoconf.
110902SUBDIRS="$SUBDIRS"
110903
110904
110905_ACEOF
110906
110907
110908
110909cat >>$CONFIG_STATUS <<\_ACEOF
110910for ac_config_target in $ac_config_targets
110911do
110912  case "$ac_config_target" in
110913  # Handling of arguments.
110914  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110915  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110916  "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110917  "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110918  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110919  "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110920  "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110921  "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110922  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110923  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110924  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110925  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110926echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110927   { (exit 1); exit 1; }; };;
110928  esac
110929done
110930
110931# If the user did not use the arguments to specify the items to instantiate,
110932# then the envvar interface is used.  Set only those that are not.
110933# We use the long form for the default assignment because of an extremely
110934# bizarre bug on SunOS 4.1.3.
110935if $ac_need_defaults; then
110936  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110937  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110938  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110939fi
110940
110941# Have a temporary directory for convenience.  Make it in the build tree
110942# simply because there is no reason to put it here, and in addition,
110943# creating and moving files from /tmp can sometimes cause problems.
110944# Create a temporary directory, and hook for its removal unless debugging.
110945$debug ||
110946{
110947  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110948  trap '{ (exit 1); exit 1; }' 1 2 13 15
110949}
110950
110951# Create a (secure) tmp directory for tmp files.
110952
110953{
110954  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110955  test -n "$tmp" && test -d "$tmp"
110956}  ||
110957{
110958  tmp=./confstat$$-$RANDOM
110959  (umask 077 && mkdir $tmp)
110960} ||
110961{
110962   echo "$me: cannot create a temporary directory in ." >&2
110963   { (exit 1); exit 1; }
110964}
110965
110966_ACEOF
110967
110968cat >>$CONFIG_STATUS <<_ACEOF
110969
110970#
110971# CONFIG_FILES section.
110972#
110973
110974# No need to generate the scripts if there are no CONFIG_FILES.
110975# This happens for instance when ./config.status config.h
110976if test -n "\$CONFIG_FILES"; then
110977  # Protect against being on the right side of a sed subst in config.status.
110978  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110979   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110980s,@SHELL@,$SHELL,;t t
110981s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110982s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110983s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110984s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110985s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110986s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110987s,@exec_prefix@,$exec_prefix,;t t
110988s,@prefix@,$prefix,;t t
110989s,@program_transform_name@,$program_transform_name,;t t
110990s,@bindir@,$bindir,;t t
110991s,@sbindir@,$sbindir,;t t
110992s,@libexecdir@,$libexecdir,;t t
110993s,@datadir@,$datadir,;t t
110994s,@sysconfdir@,$sysconfdir,;t t
110995s,@sharedstatedir@,$sharedstatedir,;t t
110996s,@localstatedir@,$localstatedir,;t t
110997s,@libdir@,$libdir,;t t
110998s,@includedir@,$includedir,;t t
110999s,@oldincludedir@,$oldincludedir,;t t
111000s,@infodir@,$infodir,;t t
111001s,@mandir@,$mandir,;t t
111002s,@build_alias@,$build_alias,;t t
111003s,@host_alias@,$host_alias,;t t
111004s,@target_alias@,$target_alias,;t t
111005s,@DEFS@,$DEFS,;t t
111006s,@ECHO_C@,$ECHO_C,;t t
111007s,@ECHO_N@,$ECHO_N,;t t
111008s,@ECHO_T@,$ECHO_T,;t t
111009s,@LIBS@,$LIBS,;t t
111010s,@libtool_VERSION@,$libtool_VERSION,;t t
111011s,@multi_basedir@,$multi_basedir,;t t
111012s,@build@,$build,;t t
111013s,@build_cpu@,$build_cpu,;t t
111014s,@build_vendor@,$build_vendor,;t t
111015s,@build_os@,$build_os,;t t
111016s,@host@,$host,;t t
111017s,@host_cpu@,$host_cpu,;t t
111018s,@host_vendor@,$host_vendor,;t t
111019s,@host_os@,$host_os,;t t
111020s,@target@,$target,;t t
111021s,@target_cpu@,$target_cpu,;t t
111022s,@target_vendor@,$target_vendor,;t t
111023s,@target_os@,$target_os,;t t
111024s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111025s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111026s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111027s,@CYGPATH_W@,$CYGPATH_W,;t t
111028s,@PACKAGE@,$PACKAGE,;t t
111029s,@VERSION@,$VERSION,;t t
111030s,@ACLOCAL@,$ACLOCAL,;t t
111031s,@AUTOCONF@,$AUTOCONF,;t t
111032s,@AUTOMAKE@,$AUTOMAKE,;t t
111033s,@AUTOHEADER@,$AUTOHEADER,;t t
111034s,@MAKEINFO@,$MAKEINFO,;t t
111035s,@install_sh@,$install_sh,;t t
111036s,@STRIP@,$STRIP,;t t
111037s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111038s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111039s,@mkdir_p@,$mkdir_p,;t t
111040s,@AWK@,$AWK,;t t
111041s,@SET_MAKE@,$SET_MAKE,;t t
111042s,@am__leading_dot@,$am__leading_dot,;t t
111043s,@AMTAR@,$AMTAR,;t t
111044s,@am__tar@,$am__tar,;t t
111045s,@am__untar@,$am__untar,;t t
111046s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111047s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111048s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111049s,@CC@,$CC,;t t
111050s,@ac_ct_CC@,$ac_ct_CC,;t t
111051s,@EXEEXT@,$EXEEXT,;t t
111052s,@OBJEXT@,$OBJEXT,;t t
111053s,@CXX@,$CXX,;t t
111054s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111055s,@CFLAGS@,$CFLAGS,;t t
111056s,@CXXFLAGS@,$CXXFLAGS,;t t
111057s,@LN_S@,$LN_S,;t t
111058s,@AS@,$AS,;t t
111059s,@ac_ct_AS@,$ac_ct_AS,;t t
111060s,@AR@,$AR,;t t
111061s,@ac_ct_AR@,$ac_ct_AR,;t t
111062s,@RANLIB@,$RANLIB,;t t
111063s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111064s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111065s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111066s,@MAINT@,$MAINT,;t t
111067s,@CPP@,$CPP,;t t
111068s,@CPPFLAGS@,$CPPFLAGS,;t t
111069s,@EGREP@,$EGREP,;t t
111070s,@LIBTOOL@,$LIBTOOL,;t t
111071s,@CXXCPP@,$CXXCPP,;t t
111072s,@enable_shared@,$enable_shared,;t t
111073s,@enable_static@,$enable_static,;t t
111074s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111075s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111076s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111077s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111078s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111079s,@CSTDIO_H@,$CSTDIO_H,;t t
111080s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111081s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111082s,@check_msgfmt@,$check_msgfmt,;t t
111083s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111084s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111085s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111086s,@USE_NLS@,$USE_NLS,;t t
111087s,@CLOCALE_H@,$CLOCALE_H,;t t
111088s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111089s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111090s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111091s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111092s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111093s,@CMONEY_CC@,$CMONEY_CC,;t t
111094s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111095s,@CTIME_H@,$CTIME_H,;t t
111096s,@CTIME_CC@,$CTIME_CC,;t t
111097s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111098s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111099s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111100s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111101s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111102s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111103s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111104s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111105s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111106s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111107s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111108s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111109s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111110s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111111s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111112s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111113s,@WERROR@,$WERROR,;t t
111114s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111115s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111116s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111117s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111118s,@LIBICONV@,$LIBICONV,;t t
111119s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111120s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111121s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111122s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111123s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111124s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111125s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111126s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111127s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111128s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111129s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
111130s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
111131s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111132s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111133s,@baseline_dir@,$baseline_dir,;t t
111134s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111135s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111136s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111137s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111138s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111139s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111140s,@gxx_include_dir@,$gxx_include_dir,;t t
111141s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111142s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111143s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111144s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111145s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111146s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111147s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111148s,@LIBOBJS@,$LIBOBJS,;t t
111149s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111150CEOF
111151
111152_ACEOF
111153
111154  cat >>$CONFIG_STATUS <<\_ACEOF
111155  # Split the substitutions into bite-sized pieces for seds with
111156  # small command number limits, like on Digital OSF/1 and HP-UX.
111157  ac_max_sed_lines=48
111158  ac_sed_frag=1 # Number of current file.
111159  ac_beg=1 # First line for current file.
111160  ac_end=$ac_max_sed_lines # Line after last line for current file.
111161  ac_more_lines=:
111162  ac_sed_cmds=
111163  while $ac_more_lines; do
111164    if test $ac_beg -gt 1; then
111165      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111166    else
111167      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111168    fi
111169    if test ! -s $tmp/subs.frag; then
111170      ac_more_lines=false
111171    else
111172      # The purpose of the label and of the branching condition is to
111173      # speed up the sed processing (if there are no `@' at all, there
111174      # is no need to browse any of the substitutions).
111175      # These are the two extra sed commands mentioned above.
111176      (echo ':t
111177  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111178      if test -z "$ac_sed_cmds"; then
111179	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111180      else
111181	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111182      fi
111183      ac_sed_frag=`expr $ac_sed_frag + 1`
111184      ac_beg=$ac_end
111185      ac_end=`expr $ac_end + $ac_max_sed_lines`
111186    fi
111187  done
111188  if test -z "$ac_sed_cmds"; then
111189    ac_sed_cmds=cat
111190  fi
111191fi # test -n "$CONFIG_FILES"
111192
111193_ACEOF
111194cat >>$CONFIG_STATUS <<\_ACEOF
111195for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111196  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111197  case $ac_file in
111198  - | *:- | *:-:* ) # input from stdin
111199	cat >$tmp/stdin
111200	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111201	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111202  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111203	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111204  * )   ac_file_in=$ac_file.in ;;
111205  esac
111206
111207  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111208  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111209$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111210	 X"$ac_file" : 'X\(//\)[^/]' \| \
111211	 X"$ac_file" : 'X\(//\)$' \| \
111212	 X"$ac_file" : 'X\(/\)' \| \
111213	 .     : '\(.\)' 2>/dev/null ||
111214echo X"$ac_file" |
111215    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111216  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111217  	  /^X\(\/\/\)$/{ s//\1/; q; }
111218  	  /^X\(\/\).*/{ s//\1/; q; }
111219  	  s/.*/./; q'`
111220  { if $as_mkdir_p; then
111221    mkdir -p "$ac_dir"
111222  else
111223    as_dir="$ac_dir"
111224    as_dirs=
111225    while test ! -d "$as_dir"; do
111226      as_dirs="$as_dir $as_dirs"
111227      as_dir=`(dirname "$as_dir") 2>/dev/null ||
111228$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111229	 X"$as_dir" : 'X\(//\)[^/]' \| \
111230	 X"$as_dir" : 'X\(//\)$' \| \
111231	 X"$as_dir" : 'X\(/\)' \| \
111232	 .     : '\(.\)' 2>/dev/null ||
111233echo X"$as_dir" |
111234    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111235  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111236  	  /^X\(\/\/\)$/{ s//\1/; q; }
111237  	  /^X\(\/\).*/{ s//\1/; q; }
111238  	  s/.*/./; q'`
111239    done
111240    test ! -n "$as_dirs" || mkdir $as_dirs
111241  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111242echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111243   { (exit 1); exit 1; }; }; }
111244
111245  ac_builddir=.
111246
111247if test "$ac_dir" != .; then
111248  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111249  # A "../" for each directory in $ac_dir_suffix.
111250  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111251else
111252  ac_dir_suffix= ac_top_builddir=
111253fi
111254
111255case $srcdir in
111256  .)  # No --srcdir option.  We are building in place.
111257    ac_srcdir=.
111258    if test -z "$ac_top_builddir"; then
111259       ac_top_srcdir=.
111260    else
111261       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111262    fi ;;
111263  [\\/]* | ?:[\\/]* )  # Absolute path.
111264    ac_srcdir=$srcdir$ac_dir_suffix;
111265    ac_top_srcdir=$srcdir ;;
111266  *) # Relative path.
111267    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111268    ac_top_srcdir=$ac_top_builddir$srcdir ;;
111269esac
111270
111271# Do not use `cd foo && pwd` to compute absolute paths, because
111272# the directories may not exist.
111273case `pwd` in
111274.) ac_abs_builddir="$ac_dir";;
111275*)
111276  case "$ac_dir" in
111277  .) ac_abs_builddir=`pwd`;;
111278  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111279  *) ac_abs_builddir=`pwd`/"$ac_dir";;
111280  esac;;
111281esac
111282case $ac_abs_builddir in
111283.) ac_abs_top_builddir=${ac_top_builddir}.;;
111284*)
111285  case ${ac_top_builddir}. in
111286  .) ac_abs_top_builddir=$ac_abs_builddir;;
111287  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111288  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111289  esac;;
111290esac
111291case $ac_abs_builddir in
111292.) ac_abs_srcdir=$ac_srcdir;;
111293*)
111294  case $ac_srcdir in
111295  .) ac_abs_srcdir=$ac_abs_builddir;;
111296  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111297  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111298  esac;;
111299esac
111300case $ac_abs_builddir in
111301.) ac_abs_top_srcdir=$ac_top_srcdir;;
111302*)
111303  case $ac_top_srcdir in
111304  .) ac_abs_top_srcdir=$ac_abs_builddir;;
111305  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111306  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111307  esac;;
111308esac
111309
111310
111311  case $INSTALL in
111312  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111313  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111314  esac
111315
111316  if test x"$ac_file" != x-; then
111317    { echo "$as_me:$LINENO: creating $ac_file" >&5
111318echo "$as_me: creating $ac_file" >&6;}
111319    rm -f "$ac_file"
111320  fi
111321  # Let's still pretend it is `configure' which instantiates (i.e., don't
111322  # use $as_me), people would be surprised to read:
111323  #    /* config.h.  Generated by config.status.  */
111324  if test x"$ac_file" = x-; then
111325    configure_input=
111326  else
111327    configure_input="$ac_file.  "
111328  fi
111329  configure_input=$configure_input"Generated from `echo $ac_file_in |
111330				     sed 's,.*/,,'` by configure."
111331
111332  # First look for the input files in the build tree, otherwise in the
111333  # src tree.
111334  ac_file_inputs=`IFS=:
111335    for f in $ac_file_in; do
111336      case $f in
111337      -) echo $tmp/stdin ;;
111338      [\\/$]*)
111339	 # Absolute (can't be DOS-style, as IFS=:)
111340	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111341echo "$as_me: error: cannot find input file: $f" >&2;}
111342   { (exit 1); exit 1; }; }
111343	 echo "$f";;
111344      *) # Relative
111345	 if test -f "$f"; then
111346	   # Build tree
111347	   echo "$f"
111348	 elif test -f "$srcdir/$f"; then
111349	   # Source tree
111350	   echo "$srcdir/$f"
111351	 else
111352	   # /dev/null tree
111353	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111354echo "$as_me: error: cannot find input file: $f" >&2;}
111355   { (exit 1); exit 1; }; }
111356	 fi;;
111357      esac
111358    done` || { (exit 1); exit 1; }
111359_ACEOF
111360cat >>$CONFIG_STATUS <<_ACEOF
111361  sed "$ac_vpsub
111362$extrasub
111363_ACEOF
111364cat >>$CONFIG_STATUS <<\_ACEOF
111365:t
111366/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111367s,@configure_input@,$configure_input,;t t
111368s,@srcdir@,$ac_srcdir,;t t
111369s,@abs_srcdir@,$ac_abs_srcdir,;t t
111370s,@top_srcdir@,$ac_top_srcdir,;t t
111371s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111372s,@builddir@,$ac_builddir,;t t
111373s,@abs_builddir@,$ac_abs_builddir,;t t
111374s,@top_builddir@,$ac_top_builddir,;t t
111375s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111376s,@INSTALL@,$ac_INSTALL,;t t
111377" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111378  rm -f $tmp/stdin
111379  if test x"$ac_file" != x-; then
111380    mv $tmp/out $ac_file
111381  else
111382    cat $tmp/out
111383    rm -f $tmp/out
111384  fi
111385
111386  # Run the commands associated with the file.
111387  case $ac_file in
111388    scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111389  esac
111390done
111391_ACEOF
111392cat >>$CONFIG_STATUS <<\_ACEOF
111393
111394#
111395# CONFIG_HEADER section.
111396#
111397
111398# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111399# NAME is the cpp macro being defined and VALUE is the value it is being given.
111400#
111401# ac_d sets the value in "#define NAME VALUE" lines.
111402ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
111403ac_dB='[	 ].*$,\1#\2'
111404ac_dC=' '
111405ac_dD=',;t'
111406# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111407ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
111408ac_uB='$,\1#\2define\3'
111409ac_uC=' '
111410ac_uD=',;t'
111411
111412for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111413  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111414  case $ac_file in
111415  - | *:- | *:-:* ) # input from stdin
111416	cat >$tmp/stdin
111417	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111418	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111419  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111420	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111421  * )   ac_file_in=$ac_file.in ;;
111422  esac
111423
111424  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111425echo "$as_me: creating $ac_file" >&6;}
111426
111427  # First look for the input files in the build tree, otherwise in the
111428  # src tree.
111429  ac_file_inputs=`IFS=:
111430    for f in $ac_file_in; do
111431      case $f in
111432      -) echo $tmp/stdin ;;
111433      [\\/$]*)
111434	 # Absolute (can't be DOS-style, as IFS=:)
111435	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111436echo "$as_me: error: cannot find input file: $f" >&2;}
111437   { (exit 1); exit 1; }; }
111438	 # Do quote $f, to prevent DOS paths from being IFS'd.
111439	 echo "$f";;
111440      *) # Relative
111441	 if test -f "$f"; then
111442	   # Build tree
111443	   echo "$f"
111444	 elif test -f "$srcdir/$f"; then
111445	   # Source tree
111446	   echo "$srcdir/$f"
111447	 else
111448	   # /dev/null tree
111449	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111450echo "$as_me: error: cannot find input file: $f" >&2;}
111451   { (exit 1); exit 1; }; }
111452	 fi;;
111453      esac
111454    done` || { (exit 1); exit 1; }
111455  # Remove the trailing spaces.
111456  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
111457
111458_ACEOF
111459
111460# Transform confdefs.h into two sed scripts, `conftest.defines' and
111461# `conftest.undefs', that substitutes the proper values into
111462# config.h.in to produce config.h.  The first handles `#define'
111463# templates, and the second `#undef' templates.
111464# And first: Protect against being on the right side of a sed subst in
111465# config.status.  Protect against being in an unquoted here document
111466# in config.status.
111467rm -f conftest.defines conftest.undefs
111468# Using a here document instead of a string reduces the quoting nightmare.
111469# Putting comments in sed scripts is not portable.
111470#
111471# `end' is used to avoid that the second main sed command (meant for
111472# 0-ary CPP macros) applies to n-ary macro definitions.
111473# See the Autoconf documentation for `clear'.
111474cat >confdef2sed.sed <<\_ACEOF
111475s/[\\&,]/\\&/g
111476s,[\\$`],\\&,g
111477t clear
111478: clear
111479s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111480t end
111481s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111482: end
111483_ACEOF
111484# If some macros were called several times there might be several times
111485# the same #defines, which is useless.  Nevertheless, we may not want to
111486# sort them, since we want the *last* AC-DEFINE to be honored.
111487uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111488sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111489rm -f confdef2sed.sed
111490
111491# This sed command replaces #undef with comments.  This is necessary, for
111492# example, in the case of _POSIX_SOURCE, which is predefined and required
111493# on some systems where configure will not decide to define it.
111494cat >>conftest.undefs <<\_ACEOF
111495s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111496_ACEOF
111497
111498# Break up conftest.defines because some shells have a limit on the size
111499# of here documents, and old seds have small limits too (100 cmds).
111500echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111501echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111502echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111503echo '  :' >>$CONFIG_STATUS
111504rm -f conftest.tail
111505while grep . conftest.defines >/dev/null
111506do
111507  # Write a limited-size here document to $tmp/defines.sed.
111508  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111509  # Speed up: don't consider the non `#define' lines.
111510  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
111511  # Work around the forget-to-reset-the-flag bug.
111512  echo 't clr' >>$CONFIG_STATUS
111513  echo ': clr' >>$CONFIG_STATUS
111514  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111515  echo 'CEOF
111516  sed -f $tmp/defines.sed $tmp/in >$tmp/out
111517  rm -f $tmp/in
111518  mv $tmp/out $tmp/in
111519' >>$CONFIG_STATUS
111520  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111521  rm -f conftest.defines
111522  mv conftest.tail conftest.defines
111523done
111524rm -f conftest.defines
111525echo '  fi # grep' >>$CONFIG_STATUS
111526echo >>$CONFIG_STATUS
111527
111528# Break up conftest.undefs because some shells have a limit on the size
111529# of here documents, and old seds have small limits too (100 cmds).
111530echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
111531rm -f conftest.tail
111532while grep . conftest.undefs >/dev/null
111533do
111534  # Write a limited-size here document to $tmp/undefs.sed.
111535  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111536  # Speed up: don't consider the non `#undef'
111537  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
111538  # Work around the forget-to-reset-the-flag bug.
111539  echo 't clr' >>$CONFIG_STATUS
111540  echo ': clr' >>$CONFIG_STATUS
111541  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111542  echo 'CEOF
111543  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111544  rm -f $tmp/in
111545  mv $tmp/out $tmp/in
111546' >>$CONFIG_STATUS
111547  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111548  rm -f conftest.undefs
111549  mv conftest.tail conftest.undefs
111550done
111551rm -f conftest.undefs
111552
111553cat >>$CONFIG_STATUS <<\_ACEOF
111554  # Let's still pretend it is `configure' which instantiates (i.e., don't
111555  # use $as_me), people would be surprised to read:
111556  #    /* config.h.  Generated by config.status.  */
111557  if test x"$ac_file" = x-; then
111558    echo "/* Generated by configure.  */" >$tmp/config.h
111559  else
111560    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
111561  fi
111562  cat $tmp/in >>$tmp/config.h
111563  rm -f $tmp/in
111564  if test x"$ac_file" != x-; then
111565    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111566      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111567echo "$as_me: $ac_file is unchanged" >&6;}
111568    else
111569      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111570$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111571	 X"$ac_file" : 'X\(//\)[^/]' \| \
111572	 X"$ac_file" : 'X\(//\)$' \| \
111573	 X"$ac_file" : 'X\(/\)' \| \
111574	 .     : '\(.\)' 2>/dev/null ||
111575echo X"$ac_file" |
111576    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111577  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111578  	  /^X\(\/\/\)$/{ s//\1/; q; }
111579  	  /^X\(\/\).*/{ s//\1/; q; }
111580  	  s/.*/./; q'`
111581      { if $as_mkdir_p; then
111582    mkdir -p "$ac_dir"
111583  else
111584    as_dir="$ac_dir"
111585    as_dirs=
111586    while test ! -d "$as_dir"; do
111587      as_dirs="$as_dir $as_dirs"
111588      as_dir=`(dirname "$as_dir") 2>/dev/null ||
111589$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111590	 X"$as_dir" : 'X\(//\)[^/]' \| \
111591	 X"$as_dir" : 'X\(//\)$' \| \
111592	 X"$as_dir" : 'X\(/\)' \| \
111593	 .     : '\(.\)' 2>/dev/null ||
111594echo X"$as_dir" |
111595    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111596  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111597  	  /^X\(\/\/\)$/{ s//\1/; q; }
111598  	  /^X\(\/\).*/{ s//\1/; q; }
111599  	  s/.*/./; q'`
111600    done
111601    test ! -n "$as_dirs" || mkdir $as_dirs
111602  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111603echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111604   { (exit 1); exit 1; }; }; }
111605
111606      rm -f $ac_file
111607      mv $tmp/config.h $ac_file
111608    fi
111609  else
111610    cat $tmp/config.h
111611    rm -f $tmp/config.h
111612  fi
111613# Compute $ac_file's index in $config_headers.
111614_am_stamp_count=1
111615for _am_header in $config_headers :; do
111616  case $_am_header in
111617    $ac_file | $ac_file:* )
111618      break ;;
111619    * )
111620      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111621  esac
111622done
111623echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111624$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111625	 X$ac_file : 'X\(//\)[^/]' \| \
111626	 X$ac_file : 'X\(//\)$' \| \
111627	 X$ac_file : 'X\(/\)' \| \
111628	 .     : '\(.\)' 2>/dev/null ||
111629echo X$ac_file |
111630    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111631  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111632  	  /^X\(\/\/\)$/{ s//\1/; q; }
111633  	  /^X\(\/\).*/{ s//\1/; q; }
111634  	  s/.*/./; q'`/stamp-h$_am_stamp_count
111635done
111636_ACEOF
111637cat >>$CONFIG_STATUS <<\_ACEOF
111638
111639#
111640# CONFIG_COMMANDS section.
111641#
111642for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111643  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111644  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111645  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111646$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111647	 X"$ac_dest" : 'X\(//\)[^/]' \| \
111648	 X"$ac_dest" : 'X\(//\)$' \| \
111649	 X"$ac_dest" : 'X\(/\)' \| \
111650	 .     : '\(.\)' 2>/dev/null ||
111651echo X"$ac_dest" |
111652    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111653  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111654  	  /^X\(\/\/\)$/{ s//\1/; q; }
111655  	  /^X\(\/\).*/{ s//\1/; q; }
111656  	  s/.*/./; q'`
111657  { if $as_mkdir_p; then
111658    mkdir -p "$ac_dir"
111659  else
111660    as_dir="$ac_dir"
111661    as_dirs=
111662    while test ! -d "$as_dir"; do
111663      as_dirs="$as_dir $as_dirs"
111664      as_dir=`(dirname "$as_dir") 2>/dev/null ||
111665$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111666	 X"$as_dir" : 'X\(//\)[^/]' \| \
111667	 X"$as_dir" : 'X\(//\)$' \| \
111668	 X"$as_dir" : 'X\(/\)' \| \
111669	 .     : '\(.\)' 2>/dev/null ||
111670echo X"$as_dir" |
111671    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111672  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111673  	  /^X\(\/\/\)$/{ s//\1/; q; }
111674  	  /^X\(\/\).*/{ s//\1/; q; }
111675  	  s/.*/./; q'`
111676    done
111677    test ! -n "$as_dirs" || mkdir $as_dirs
111678  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111679echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111680   { (exit 1); exit 1; }; }; }
111681
111682  ac_builddir=.
111683
111684if test "$ac_dir" != .; then
111685  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111686  # A "../" for each directory in $ac_dir_suffix.
111687  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111688else
111689  ac_dir_suffix= ac_top_builddir=
111690fi
111691
111692case $srcdir in
111693  .)  # No --srcdir option.  We are building in place.
111694    ac_srcdir=.
111695    if test -z "$ac_top_builddir"; then
111696       ac_top_srcdir=.
111697    else
111698       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111699    fi ;;
111700  [\\/]* | ?:[\\/]* )  # Absolute path.
111701    ac_srcdir=$srcdir$ac_dir_suffix;
111702    ac_top_srcdir=$srcdir ;;
111703  *) # Relative path.
111704    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111705    ac_top_srcdir=$ac_top_builddir$srcdir ;;
111706esac
111707
111708# Do not use `cd foo && pwd` to compute absolute paths, because
111709# the directories may not exist.
111710case `pwd` in
111711.) ac_abs_builddir="$ac_dir";;
111712*)
111713  case "$ac_dir" in
111714  .) ac_abs_builddir=`pwd`;;
111715  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111716  *) ac_abs_builddir=`pwd`/"$ac_dir";;
111717  esac;;
111718esac
111719case $ac_abs_builddir in
111720.) ac_abs_top_builddir=${ac_top_builddir}.;;
111721*)
111722  case ${ac_top_builddir}. in
111723  .) ac_abs_top_builddir=$ac_abs_builddir;;
111724  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111725  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111726  esac;;
111727esac
111728case $ac_abs_builddir in
111729.) ac_abs_srcdir=$ac_srcdir;;
111730*)
111731  case $ac_srcdir in
111732  .) ac_abs_srcdir=$ac_abs_builddir;;
111733  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111734  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111735  esac;;
111736esac
111737case $ac_abs_builddir in
111738.) ac_abs_top_srcdir=$ac_top_srcdir;;
111739*)
111740  case $ac_top_srcdir in
111741  .) ac_abs_top_srcdir=$ac_abs_builddir;;
111742  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111743  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111744  esac;;
111745esac
111746
111747
111748  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111749echo "$as_me: executing $ac_dest commands" >&6;}
111750  case $ac_dest in
111751    default-1 )
111752# Only add multilib support code if we just rebuilt the top-level
111753# Makefile.
111754case " $CONFIG_FILES " in
111755 *" Makefile "*)
111756   ac_file=Makefile . ${multi_basedir}/config-ml.in
111757   ;;
111758esac ;;
111759    default ) if test -n "$CONFIG_FILES"; then
111760   # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111761   # that multilib installs will end up installed in the correct place.
111762   # The testsuite needs it for multilib-aware ABI baseline files.
111763   # To work around this not being passed down from config-ml.in ->
111764   # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111765   # append it here.  Only modify Makefiles that have just been created.
111766   #
111767   # Also, get rid of this simulated-VPATH thing that automake does.
111768   cat > vpsed << \_EOF
111769s!`test -f '$<' || echo '$(srcdir)/'`!!
111770_EOF
111771   for i in $SUBDIRS; do
111772    case $CONFIG_FILES in
111773     *${i}/Makefile*)
111774       #echo "Adding MULTISUBDIR to $i/Makefile"
111775       sed -f vpsed $i/Makefile > tmp
111776       grep '^MULTISUBDIR =' Makefile >> tmp
111777       mv tmp $i/Makefile
111778       ;;
111779    esac
111780   done
111781   rm vpsed
111782 fi
111783 (cd include && ${MAKE-make})
111784 ;;
111785  esac
111786done
111787_ACEOF
111788
111789cat >>$CONFIG_STATUS <<\_ACEOF
111790
111791{ (exit 0); exit 0; }
111792_ACEOF
111793chmod +x $CONFIG_STATUS
111794ac_clean_files=$ac_clean_files_save
111795
111796
111797# configure is writing to config.log, and then calls config.status.
111798# config.status does its own redirection, appending to config.log.
111799# Unfortunately, on DOS this fails, as config.log is still kept open
111800# by configure, so config.status won't be able to write to it; its
111801# output is simply discarded.  So we exec the FD to /dev/null,
111802# effectively closing config.log, so it can be properly (re)opened and
111803# appended to by config.status.  When coming back to configure, we
111804# need to make the FD available again.
111805if test "$no_create" != yes; then
111806  ac_cs_success=:
111807  ac_config_status_args=
111808  test "$silent" = yes &&
111809    ac_config_status_args="$ac_config_status_args --quiet"
111810  exec 5>/dev/null
111811  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111812  exec 5>>config.log
111813  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111814  # would make configure fail if this is the last instruction.
111815  $ac_cs_success || { (exit 1); exit 1; }
111816fi
111817
111818