OSDN Git Service

2007-01-06 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.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
13 if 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+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for 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
43 do
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
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo 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.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if 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
97 fi
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
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
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
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
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
152 done
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
187 case `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= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if 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
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_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.
231 as_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.
236 as_nl='
237 '
238 IFS="   $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.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${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.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_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
312 ac_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'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_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.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
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
627 Try \`$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
650 done
651
652 if 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; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
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
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
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
679 done
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.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if 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
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if 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 ||
715 echo 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
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if 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
736 fi
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; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
765
766 #
767 # Report the --help message.
768 #
769 if 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
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
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
796 Installation 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
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine 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
826 Program 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
831 System 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
836 fi
837
838 if 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
844 Optional 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
898 Optional 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-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
908   --with-gxx-include-dir=DIR
909                           installation directory for include files
910
911 Some influential environment variables:
912   CC          C compiler command
913   CFLAGS      C compiler flags
914   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
915               nonstandard directory <lib dir>
916   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
917               headers in a nonstandard directory <include dir>
918   CXX         C++ compiler command
919   CXXFLAGS    C++ compiler flags
920   CPP         C preprocessor
921   CXXCPP      C++ preprocessor
922
923 Use these variables to override the choices made by `configure' or to help
924 it to find libraries and programs with nonstandard names/locations.
925
926 _ACEOF
927 fi
928
929 if test "$ac_init_help" = "recursive"; then
930   # If there are subdirs, report their specific --help.
931   ac_popdir=`pwd`
932   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
933     test -d $ac_dir || continue
934     ac_builddir=.
935
936 if test "$ac_dir" != .; then
937   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
938   # A "../" for each directory in $ac_dir_suffix.
939   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
940 else
941   ac_dir_suffix= ac_top_builddir=
942 fi
943
944 case $srcdir in
945   .)  # No --srcdir option.  We are building in place.
946     ac_srcdir=.
947     if test -z "$ac_top_builddir"; then
948        ac_top_srcdir=.
949     else
950        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
951     fi ;;
952   [\\/]* | ?:[\\/]* )  # Absolute path.
953     ac_srcdir=$srcdir$ac_dir_suffix;
954     ac_top_srcdir=$srcdir ;;
955   *) # Relative path.
956     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
957     ac_top_srcdir=$ac_top_builddir$srcdir ;;
958 esac
959
960 # Do not use `cd foo && pwd` to compute absolute paths, because
961 # the directories may not exist.
962 case `pwd` in
963 .) ac_abs_builddir="$ac_dir";;
964 *)
965   case "$ac_dir" in
966   .) ac_abs_builddir=`pwd`;;
967   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
968   *) ac_abs_builddir=`pwd`/"$ac_dir";;
969   esac;;
970 esac
971 case $ac_abs_builddir in
972 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 *)
974   case ${ac_top_builddir}. in
975   .) ac_abs_top_builddir=$ac_abs_builddir;;
976   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
977   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
978   esac;;
979 esac
980 case $ac_abs_builddir in
981 .) ac_abs_srcdir=$ac_srcdir;;
982 *)
983   case $ac_srcdir in
984   .) ac_abs_srcdir=$ac_abs_builddir;;
985   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
986   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
987   esac;;
988 esac
989 case $ac_abs_builddir in
990 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 *)
992   case $ac_top_srcdir in
993   .) ac_abs_top_srcdir=$ac_abs_builddir;;
994   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
995   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
996   esac;;
997 esac
998
999     cd $ac_dir
1000     # Check for guested configure; otherwise get Cygnus style configure.
1001     if test -f $ac_srcdir/configure.gnu; then
1002       echo
1003       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1004     elif test -f $ac_srcdir/configure; then
1005       echo
1006       $SHELL $ac_srcdir/configure  --help=recursive
1007     elif test -f $ac_srcdir/configure.ac ||
1008            test -f $ac_srcdir/configure.in; then
1009       echo
1010       $ac_configure --help
1011     else
1012       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013     fi
1014     cd $ac_popdir
1015   done
1016 fi
1017
1018 test -n "$ac_init_help" && exit 0
1019 if $ac_init_version; then
1020   cat <<\_ACEOF
1021 package-unused configure version-unused
1022 generated by GNU Autoconf 2.59
1023
1024 Copyright (C) 2003 Free Software Foundation, Inc.
1025 This configure script is free software; the Free Software Foundation
1026 gives unlimited permission to copy, distribute and modify it.
1027 _ACEOF
1028   exit 0
1029 fi
1030 exec 5>config.log
1031 cat >&5 <<_ACEOF
1032 This file contains any messages produced by compilers while
1033 running configure, to aid debugging if configure makes a mistake.
1034
1035 It was created by package-unused $as_me version-unused, which was
1036 generated by GNU Autoconf 2.59.  Invocation command line was
1037
1038   $ $0 $@
1039
1040 _ACEOF
1041 {
1042 cat <<_ASUNAME
1043 ## --------- ##
1044 ## Platform. ##
1045 ## --------- ##
1046
1047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052
1053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1054 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1055
1056 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1057 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1059 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1060 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1061 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1062 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1063
1064 _ASUNAME
1065
1066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1067 for as_dir in $PATH
1068 do
1069   IFS=$as_save_IFS
1070   test -z "$as_dir" && as_dir=.
1071   echo "PATH: $as_dir"
1072 done
1073
1074 } >&5
1075
1076 cat >&5 <<_ACEOF
1077
1078
1079 ## ----------- ##
1080 ## Core tests. ##
1081 ## ----------- ##
1082
1083 _ACEOF
1084
1085
1086 # Keep a trace of the command line.
1087 # Strip out --no-create and --no-recursion so they do not pile up.
1088 # Strip out --silent because we don't want to record it for future runs.
1089 # Also quote any args containing shell meta-characters.
1090 # Make two passes to allow for proper duplicate-argument suppression.
1091 ac_configure_args=
1092 ac_configure_args0=
1093 ac_configure_args1=
1094 ac_sep=
1095 ac_must_keep_next=false
1096 for ac_pass in 1 2
1097 do
1098   for ac_arg
1099   do
1100     case $ac_arg in
1101     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1102     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1103     | -silent | --silent | --silen | --sile | --sil)
1104       continue ;;
1105     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1106       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1107     esac
1108     case $ac_pass in
1109     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110     2)
1111       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1112       if test $ac_must_keep_next = true; then
1113         ac_must_keep_next=false # Got value, back to normal.
1114       else
1115         case $ac_arg in
1116           *=* | --config-cache | -C | -disable-* | --disable-* \
1117           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1118           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1119           | -with-* | --with-* | -without-* | --without-* | --x)
1120             case "$ac_configure_args0 " in
1121               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1122             esac
1123             ;;
1124           -* ) ac_must_keep_next=true ;;
1125         esac
1126       fi
1127       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1128       # Get rid of the leading space.
1129       ac_sep=" "
1130       ;;
1131     esac
1132   done
1133 done
1134 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1135 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136
1137 # When interrupted or exit'd, cleanup temporary files, and complete
1138 # config.log.  We remove comments because anyway the quotes in there
1139 # would cause problems or look ugly.
1140 # WARNING: Be sure not to use single quotes in there, as some shells,
1141 # such as our DU 5.0 friend, will then `close' the trap.
1142 trap 'exit_status=$?
1143   # Save into config.log some information that might help in debugging.
1144   {
1145     echo
1146
1147     cat <<\_ASBOX
1148 ## ---------------- ##
1149 ## Cache variables. ##
1150 ## ---------------- ##
1151 _ASBOX
1152     echo
1153     # The following way of writing the cache mishandles newlines in values,
1154 {
1155   (set) 2>&1 |
1156     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1157     *ac_space=\ *)
1158       sed -n \
1159         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1160           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1161       ;;
1162     *)
1163       sed -n \
1164         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165       ;;
1166     esac;
1167 }
1168     echo
1169
1170     cat <<\_ASBOX
1171 ## ----------------- ##
1172 ## Output variables. ##
1173 ## ----------------- ##
1174 _ASBOX
1175     echo
1176     for ac_var in $ac_subst_vars
1177     do
1178       eval ac_val=$`echo $ac_var`
1179       echo "$ac_var='"'"'$ac_val'"'"'"
1180     done | sort
1181     echo
1182
1183     if test -n "$ac_subst_files"; then
1184       cat <<\_ASBOX
1185 ## ------------- ##
1186 ## Output files. ##
1187 ## ------------- ##
1188 _ASBOX
1189       echo
1190       for ac_var in $ac_subst_files
1191       do
1192         eval ac_val=$`echo $ac_var`
1193         echo "$ac_var='"'"'$ac_val'"'"'"
1194       done | sort
1195       echo
1196     fi
1197
1198     if test -s confdefs.h; then
1199       cat <<\_ASBOX
1200 ## ----------- ##
1201 ## confdefs.h. ##
1202 ## ----------- ##
1203 _ASBOX
1204       echo
1205       sed "/^$/d" confdefs.h | sort
1206       echo
1207     fi
1208     test "$ac_signal" != 0 &&
1209       echo "$as_me: caught signal $ac_signal"
1210     echo "$as_me: exit $exit_status"
1211   } >&5
1212   rm -f core *.core &&
1213   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1214     exit $exit_status
1215      ' 0
1216 for ac_signal in 1 2 13 15; do
1217   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1218 done
1219 ac_signal=0
1220
1221 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1222 rm -rf conftest* confdefs.h
1223 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1224 echo >confdefs.h
1225
1226 # Predefined preprocessor variables.
1227
1228 cat >>confdefs.h <<_ACEOF
1229 #define PACKAGE_NAME "$PACKAGE_NAME"
1230 _ACEOF
1231
1232
1233 cat >>confdefs.h <<_ACEOF
1234 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1235 _ACEOF
1236
1237
1238 cat >>confdefs.h <<_ACEOF
1239 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1240 _ACEOF
1241
1242
1243 cat >>confdefs.h <<_ACEOF
1244 #define PACKAGE_STRING "$PACKAGE_STRING"
1245 _ACEOF
1246
1247
1248 cat >>confdefs.h <<_ACEOF
1249 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1250 _ACEOF
1251
1252
1253 # Let the site file select an alternate cache file if it wants to.
1254 # Prefer explicitly selected file to automatically selected ones.
1255 if test -z "$CONFIG_SITE"; then
1256   if test "x$prefix" != xNONE; then
1257     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1258   else
1259     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1260   fi
1261 fi
1262 for ac_site_file in $CONFIG_SITE; do
1263   if test -r "$ac_site_file"; then
1264     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1265 echo "$as_me: loading site script $ac_site_file" >&6;}
1266     sed 's/^/| /' "$ac_site_file" >&5
1267     . "$ac_site_file"
1268   fi
1269 done
1270
1271 if test -r "$cache_file"; then
1272   # Some versions of bash will fail to source /dev/null (special
1273   # files actually), so we avoid doing that.
1274   if test -f "$cache_file"; then
1275     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1276 echo "$as_me: loading cache $cache_file" >&6;}
1277     case $cache_file in
1278       [\\/]* | ?:[\\/]* ) . $cache_file;;
1279       *)                      . ./$cache_file;;
1280     esac
1281   fi
1282 else
1283   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1284 echo "$as_me: creating cache $cache_file" >&6;}
1285   >$cache_file
1286 fi
1287
1288 # Check that the precious variables saved in the cache have kept the same
1289 # value.
1290 ac_cache_corrupted=false
1291 for ac_var in `(set) 2>&1 |
1292                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1293   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1294   eval ac_new_set=\$ac_env_${ac_var}_set
1295   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1296   eval ac_new_val="\$ac_env_${ac_var}_value"
1297   case $ac_old_set,$ac_new_set in
1298     set,)
1299       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1300 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1301       ac_cache_corrupted=: ;;
1302     ,set)
1303       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1304 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1305       ac_cache_corrupted=: ;;
1306     ,);;
1307     *)
1308       if test "x$ac_old_val" != "x$ac_new_val"; then
1309         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1310 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1311         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1312 echo "$as_me:   former value:  $ac_old_val" >&2;}
1313         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1314 echo "$as_me:   current value: $ac_new_val" >&2;}
1315         ac_cache_corrupted=:
1316       fi;;
1317   esac
1318   # Pass precious variables to config.status.
1319   if test "$ac_new_set" = set; then
1320     case $ac_new_val in
1321     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1322       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1323     *) ac_arg=$ac_var=$ac_new_val ;;
1324     esac
1325     case " $ac_configure_args " in
1326       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1327       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1328     esac
1329   fi
1330 done
1331 if $ac_cache_corrupted; then
1332   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1333 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1334   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1335 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1336    { (exit 1); exit 1; }; }
1337 fi
1338
1339 ac_ext=c
1340 ac_cpp='$CPP $CPPFLAGS'
1341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1372           ac_config_headers="$ac_config_headers config.h"
1373
1374
1375 # This works around the fact that libtool configuration may change LD
1376 # for this particular configuration, but some shells, instead of
1377 # keeping the changes in LD private, export them just because LD is
1378 # exported.  Only used at the end of this file.
1379 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1380
1381 # For libtool versioning info, format is CURRENT:REVISION:AGE
1382 libtool_VERSION=6:10:0
1383
1384
1385 # Find the rest of the source tree framework.
1386 # Default to --enable-multilib
1387 # Check whether --enable-multilib or --disable-multilib was given.
1388 if test "${enable_multilib+set}" = set; then
1389   enableval="$enable_multilib"
1390   case "$enableval" in
1391   yes) multilib=yes ;;
1392   no)  multilib=no ;;
1393   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1394 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1395    { (exit 1); exit 1; }; } ;;
1396  esac
1397 else
1398   multilib=yes
1399 fi;
1400
1401 # We may get other options which we leave undocumented:
1402 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1403 # See config-ml.in if you want the gory details.
1404
1405 if test "$srcdir" = "."; then
1406   if test "$with_target_subdir" != "."; then
1407     multi_basedir="$srcdir/$with_multisrctop../.."
1408   else
1409     multi_basedir="$srcdir/$with_multisrctop.."
1410   fi
1411 else
1412   multi_basedir="$srcdir/.."
1413 fi
1414
1415
1416 # Even if the default multilib is not a cross compilation,
1417 # it may be that some of the other multilibs are.
1418 if test $cross_compiling = no && test $multilib = yes \
1419    && test "x${with_multisubdir}" != x ; then
1420    cross_compiling=maybe
1421 fi
1422
1423           ac_config_commands="$ac_config_commands default-1"
1424
1425
1426 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1427 #
1428 # You will slowly go insane if you do not grok the following fact:  when
1429 # building v3 as part of the compiler, the top-level /target/ becomes the
1430 # library's /host/.  configure then causes --target to default to --host,
1431 # exactly like any other package using autoconf.  Therefore, 'target' and
1432 # 'host' will always be the same.  This makes sense both for native and
1433 # cross compilers, just think about it for a little while.  :-)
1434 #
1435 # Also, if v3 is being configured as part of a cross compiler, the top-level
1436 # configure script will pass the "real" host as $with_cross_host.
1437 #
1438 # Do not delete or change the following two lines.  For why, see
1439 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1440 ac_aux_dir=
1441 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1442   if test -f $ac_dir/install-sh; then
1443     ac_aux_dir=$ac_dir
1444     ac_install_sh="$ac_aux_dir/install-sh -c"
1445     break
1446   elif test -f $ac_dir/install.sh; then
1447     ac_aux_dir=$ac_dir
1448     ac_install_sh="$ac_aux_dir/install.sh -c"
1449     break
1450   elif test -f $ac_dir/shtool; then
1451     ac_aux_dir=$ac_dir
1452     ac_install_sh="$ac_aux_dir/shtool install -c"
1453     break
1454   fi
1455 done
1456 if test -z "$ac_aux_dir"; then
1457   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1458 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1459    { (exit 1); exit 1; }; }
1460 fi
1461 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1462 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1463 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1464
1465 # Make sure we can run config.sub.
1466 $ac_config_sub sun4 >/dev/null 2>&1 ||
1467   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1468 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1469    { (exit 1); exit 1; }; }
1470
1471 echo "$as_me:$LINENO: checking build system type" >&5
1472 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1473 if test "${ac_cv_build+set}" = set; then
1474   echo $ECHO_N "(cached) $ECHO_C" >&6
1475 else
1476   ac_cv_build_alias=$build_alias
1477 test -z "$ac_cv_build_alias" &&
1478   ac_cv_build_alias=`$ac_config_guess`
1479 test -z "$ac_cv_build_alias" &&
1480   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1481 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1482    { (exit 1); exit 1; }; }
1483 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1484   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1485 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1486    { (exit 1); exit 1; }; }
1487
1488 fi
1489 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1490 echo "${ECHO_T}$ac_cv_build" >&6
1491 build=$ac_cv_build
1492 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1493 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1494 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1495
1496
1497 echo "$as_me:$LINENO: checking host system type" >&5
1498 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1499 if test "${ac_cv_host+set}" = set; then
1500   echo $ECHO_N "(cached) $ECHO_C" >&6
1501 else
1502   ac_cv_host_alias=$host_alias
1503 test -z "$ac_cv_host_alias" &&
1504   ac_cv_host_alias=$ac_cv_build_alias
1505 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1506   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1507 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1508    { (exit 1); exit 1; }; }
1509
1510 fi
1511 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1512 echo "${ECHO_T}$ac_cv_host" >&6
1513 host=$ac_cv_host
1514 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1515 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1516 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1517
1518
1519 echo "$as_me:$LINENO: checking target system type" >&5
1520 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1521 if test "${ac_cv_target+set}" = set; then
1522   echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524   ac_cv_target_alias=$target_alias
1525 test "x$ac_cv_target_alias" = "x" &&
1526   ac_cv_target_alias=$ac_cv_host_alias
1527 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1528   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1529 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1530    { (exit 1); exit 1; }; }
1531
1532 fi
1533 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1534 echo "${ECHO_T}$ac_cv_target" >&6
1535 target=$ac_cv_target
1536 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1537 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1538 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1539
1540
1541 # The aliases save the names the user supplied, while $host etc.
1542 # will get canonicalized.
1543 test -n "$target_alias" &&
1544   test "$program_prefix$program_suffix$program_transform_name" = \
1545     NONENONEs,x,x, &&
1546   program_prefix=${target_alias}-
1547 target_alias=${target_alias-$host_alias}
1548
1549 # Handy for debugging:
1550 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1551
1552 if test "$build" != "$host"; then
1553   # We are being configured with some form of cross compiler.
1554   GLIBCXX_IS_NATIVE=false
1555   case "$host","$target" in
1556     # Darwin crosses can use the host system's libraries and headers,
1557     # because of the fat library support.  Of course, it must be the
1558     # same version of Darwin on both sides.  Allow the user to
1559     # just say --target=foo-darwin without a version number to mean
1560     # "the version on this system".
1561       *-*-darwin*,*-*-darwin*)
1562         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1563         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1564         if test $hostos = $targetos -o $targetos = darwin ; then
1565           GLIBCXX_IS_NATIVE=true
1566         fi
1567         ;;
1568
1569       *)
1570
1571         ;;
1572   esac
1573 else
1574   GLIBCXX_IS_NATIVE=true
1575 fi
1576
1577 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1578 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1579 #  1.x:  minimum required version
1580 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1581 #              of other PACKAGE_* variables will, however, and there's nothing
1582 #              we can do about that; they come from AC_INIT).
1583 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1584 #            file in the top srcdir, etc, etc), so stop complaining.
1585 #  no-dependencies:  turns off auto dependency generation (just for now)
1586 #  -Wall:  turns on all automake warnings...
1587 #  -Wno-portability:  ...except this one, since GNU make is now required.
1588 am__api_version="1.9"
1589 # Find a good install program.  We prefer a C program (faster),
1590 # so one script is as good as another.  But avoid the broken or
1591 # incompatible versions:
1592 # SysV /etc/install, /usr/sbin/install
1593 # SunOS /usr/etc/install
1594 # IRIX /sbin/install
1595 # AIX /bin/install
1596 # AmigaOS /C/install, which installs bootblocks on floppy discs
1597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1600 # OS/2's system install, which has a completely different semantic
1601 # ./install, which can be erroneously created by make from ./install.sh.
1602 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1603 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1604 if test -z "$INSTALL"; then
1605 if test "${ac_cv_path_install+set}" = set; then
1606   echo $ECHO_N "(cached) $ECHO_C" >&6
1607 else
1608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1609 for as_dir in $PATH
1610 do
1611   IFS=$as_save_IFS
1612   test -z "$as_dir" && as_dir=.
1613   # Account for people who put trailing slashes in PATH elements.
1614 case $as_dir/ in
1615   ./ | .// | /cC/* | \
1616   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1617   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1618   /usr/ucb/* ) ;;
1619   *)
1620     # OSF1 and SCO ODT 3.0 have their own names for install.
1621     # Don't use installbsd from OSF since it installs stuff as root
1622     # by default.
1623     for ac_prog in ginstall scoinst install; do
1624       for ac_exec_ext in '' $ac_executable_extensions; do
1625         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1626           if test $ac_prog = install &&
1627             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1628             # AIX install.  It has an incompatible calling convention.
1629             :
1630           elif test $ac_prog = install &&
1631             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1632             # program-specific install script used by HP pwplus--don't use.
1633             :
1634           else
1635             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1636             break 3
1637           fi
1638         fi
1639       done
1640     done
1641     ;;
1642 esac
1643 done
1644
1645
1646 fi
1647   if test "${ac_cv_path_install+set}" = set; then
1648     INSTALL=$ac_cv_path_install
1649   else
1650     # As a last resort, use the slow shell script.  We don't cache a
1651     # path for INSTALL within a source directory, because that will
1652     # break other packages using the cache if that directory is
1653     # removed, or if the path is relative.
1654     INSTALL=$ac_install_sh
1655   fi
1656 fi
1657 echo "$as_me:$LINENO: result: $INSTALL" >&5
1658 echo "${ECHO_T}$INSTALL" >&6
1659
1660 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1661 # It thinks the first close brace ends the variable substitution.
1662 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1663
1664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1665
1666 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1667
1668 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1669 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1670 # Just in case
1671 sleep 1
1672 echo timestamp > conftest.file
1673 # Do `set' in a subshell so we don't clobber the current shell's
1674 # arguments.  Must try -L first in case configure is actually a
1675 # symlink; some systems play weird games with the mod time of symlinks
1676 # (eg FreeBSD returns the mod time of the symlink's containing
1677 # directory).
1678 if (
1679    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1680    if test "$*" = "X"; then
1681       # -L didn't work.
1682       set X `ls -t $srcdir/configure conftest.file`
1683    fi
1684    rm -f conftest.file
1685    if test "$*" != "X $srcdir/configure conftest.file" \
1686       && test "$*" != "X conftest.file $srcdir/configure"; then
1687
1688       # If neither matched, then we have a broken ls.  This can happen
1689       # if, for instance, CONFIG_SHELL is bash and it inherits a
1690       # broken ls alias from the environment.  This has actually
1691       # happened.  Such a system could not be considered "sane".
1692       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1693 alias in your environment" >&5
1694 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1695 alias in your environment" >&2;}
1696    { (exit 1); exit 1; }; }
1697    fi
1698
1699    test "$2" = conftest.file
1700    )
1701 then
1702    # Ok.
1703    :
1704 else
1705    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1706 Check your system clock" >&5
1707 echo "$as_me: error: newly created file is older than distributed files!
1708 Check your system clock" >&2;}
1709    { (exit 1); exit 1; }; }
1710 fi
1711 echo "$as_me:$LINENO: result: yes" >&5
1712 echo "${ECHO_T}yes" >&6
1713 test "$program_prefix" != NONE &&
1714   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1715 # Use a double $ so make ignores it.
1716 test "$program_suffix" != NONE &&
1717   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1718 # Double any \ or $.  echo might interpret backslashes.
1719 # By default was `s,x,x', remove it if useless.
1720 cat <<\_ACEOF >conftest.sed
1721 s/[\\$]/&&/g;s/;s,x,x,$//
1722 _ACEOF
1723 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1724 rm conftest.sed
1725
1726 # expand $ac_aux_dir to an absolute path
1727 am_aux_dir=`cd $ac_aux_dir && pwd`
1728
1729 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1730 # Use eval to expand $SHELL
1731 if eval "$MISSING --run true"; then
1732   am_missing_run="$MISSING --run "
1733 else
1734   am_missing_run=
1735   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1736 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1737 fi
1738
1739 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1740   # We used to keeping the `.' as first argument, in order to
1741   # allow $(mkdir_p) to be used without argument.  As in
1742   #   $(mkdir_p) $(somedir)
1743   # where $(somedir) is conditionally defined.  However this is wrong
1744   # for two reasons:
1745   #  1. if the package is installed by a user who cannot write `.'
1746   #     make install will fail,
1747   #  2. the above comment should most certainly read
1748   #     $(mkdir_p) $(DESTDIR)$(somedir)
1749   #     so it does not work when $(somedir) is undefined and
1750   #     $(DESTDIR) is not.
1751   #  To support the latter case, we have to write
1752   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1753   #  so the `.' trick is pointless.
1754   mkdir_p='mkdir -p --'
1755 else
1756   # On NextStep and OpenStep, the `mkdir' command does not
1757   # recognize any option.  It will interpret all options as
1758   # directories to create, and then abort because `.' already
1759   # exists.
1760   for d in ./-p ./--version;
1761   do
1762     test -d $d && rmdir $d
1763   done
1764   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1765   if test -f "$ac_aux_dir/mkinstalldirs"; then
1766     mkdir_p='$(mkinstalldirs)'
1767   else
1768     mkdir_p='$(install_sh) -d'
1769   fi
1770 fi
1771
1772 for ac_prog in gawk mawk nawk awk
1773 do
1774   # Extract the first word of "$ac_prog", so it can be a program name with args.
1775 set dummy $ac_prog; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_AWK+set}" = set; then
1779   echo $ECHO_N "(cached) $ECHO_C" >&6
1780 else
1781   if test -n "$AWK"; then
1782   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1783 else
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785 for as_dir in $PATH
1786 do
1787   IFS=$as_save_IFS
1788   test -z "$as_dir" && as_dir=.
1789   for ac_exec_ext in '' $ac_executable_extensions; do
1790   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791     ac_cv_prog_AWK="$ac_prog"
1792     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793     break 2
1794   fi
1795 done
1796 done
1797
1798 fi
1799 fi
1800 AWK=$ac_cv_prog_AWK
1801 if test -n "$AWK"; then
1802   echo "$as_me:$LINENO: result: $AWK" >&5
1803 echo "${ECHO_T}$AWK" >&6
1804 else
1805   echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1807 fi
1808
1809   test -n "$AWK" && break
1810 done
1811
1812 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1813 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1814 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1815 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1816   echo $ECHO_N "(cached) $ECHO_C" >&6
1817 else
1818   cat >conftest.make <<\_ACEOF
1819 all:
1820         @echo 'ac_maketemp="$(MAKE)"'
1821 _ACEOF
1822 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1823 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1824 if test -n "$ac_maketemp"; then
1825   eval ac_cv_prog_make_${ac_make}_set=yes
1826 else
1827   eval ac_cv_prog_make_${ac_make}_set=no
1828 fi
1829 rm -f conftest.make
1830 fi
1831 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1832   echo "$as_me:$LINENO: result: yes" >&5
1833 echo "${ECHO_T}yes" >&6
1834   SET_MAKE=
1835 else
1836   echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6
1838   SET_MAKE="MAKE=${MAKE-make}"
1839 fi
1840
1841 rm -rf .tst 2>/dev/null
1842 mkdir .tst 2>/dev/null
1843 if test -d .tst; then
1844   am__leading_dot=.
1845 else
1846   am__leading_dot=_
1847 fi
1848 rmdir .tst 2>/dev/null
1849
1850 # test to see if srcdir already configured
1851 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1852    test -f $srcdir/config.status; then
1853   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1854 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1855    { (exit 1); exit 1; }; }
1856 fi
1857
1858 # test whether we have cygpath
1859 if test -z "$CYGPATH_W"; then
1860   if (cygpath --version) >/dev/null 2>/dev/null; then
1861     CYGPATH_W='cygpath -w'
1862   else
1863     CYGPATH_W=echo
1864   fi
1865 fi
1866
1867
1868 # Define the identity of the package.
1869  PACKAGE='libstdc++'
1870  VERSION='version-unused'
1871
1872
1873 # Some tools Automake needs.
1874
1875 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1876
1877
1878 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1879
1880
1881 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1882
1883
1884 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1885
1886
1887 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888
1889 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890
1891 # Installed binaries are usually stripped using `strip' when the user
1892 # run `make install-strip'.  However `strip' might not be the right
1893 # tool to use in cross-compilation environments, therefore Automake
1894 # will honor the `STRIP' environment variable to overrule this program.
1895 if test "$cross_compiling" != no; then
1896   if test -n "$ac_tool_prefix"; then
1897   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1898 set dummy ${ac_tool_prefix}strip; ac_word=$2
1899 echo "$as_me:$LINENO: checking for $ac_word" >&5
1900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1901 if test "${ac_cv_prog_STRIP+set}" = set; then
1902   echo $ECHO_N "(cached) $ECHO_C" >&6
1903 else
1904   if test -n "$STRIP"; then
1905   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1906 else
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 for as_dir in $PATH
1909 do
1910   IFS=$as_save_IFS
1911   test -z "$as_dir" && as_dir=.
1912   for ac_exec_ext in '' $ac_executable_extensions; do
1913   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1915     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916     break 2
1917   fi
1918 done
1919 done
1920
1921 fi
1922 fi
1923 STRIP=$ac_cv_prog_STRIP
1924 if test -n "$STRIP"; then
1925   echo "$as_me:$LINENO: result: $STRIP" >&5
1926 echo "${ECHO_T}$STRIP" >&6
1927 else
1928   echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1930 fi
1931
1932 fi
1933 if test -z "$ac_cv_prog_STRIP"; then
1934   ac_ct_STRIP=$STRIP
1935   # Extract the first word of "strip", so it can be a program name with args.
1936 set dummy strip; ac_word=$2
1937 echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1940   echo $ECHO_N "(cached) $ECHO_C" >&6
1941 else
1942   if test -n "$ac_ct_STRIP"; then
1943   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1944 else
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946 for as_dir in $PATH
1947 do
1948   IFS=$as_save_IFS
1949   test -z "$as_dir" && as_dir=.
1950   for ac_exec_ext in '' $ac_executable_extensions; do
1951   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1952     ac_cv_prog_ac_ct_STRIP="strip"
1953     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954     break 2
1955   fi
1956 done
1957 done
1958
1959   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1960 fi
1961 fi
1962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1963 if test -n "$ac_ct_STRIP"; then
1964   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1965 echo "${ECHO_T}$ac_ct_STRIP" >&6
1966 else
1967   echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1969 fi
1970
1971   STRIP=$ac_ct_STRIP
1972 else
1973   STRIP="$ac_cv_prog_STRIP"
1974 fi
1975
1976 fi
1977 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978
1979 # We need awk for the "check" target.  The system "awk" is bad on
1980 # some platforms.
1981 # Always define AMTAR for backward compatibility.
1982
1983 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984
1985 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1997 # up critical shell variables.
1998
1999 ac_ext=c
2000 ac_cpp='$CPP $CPPFLAGS'
2001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2004 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2005 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2006 # On Suns, sometimes $CPP names a directory.
2007 if test -n "$CPP" && test -d "$CPP"; then
2008   CPP=
2009 fi
2010 if test -z "$CPP"; then
2011   if test "${ac_cv_prog_CPP+set}" = set; then
2012   echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014       # Double quotes because CPP needs to be expanded
2015     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2016     do
2017       ac_preproc_ok=false
2018 for ac_c_preproc_warn_flag in '' yes
2019 do
2020   # Use a header file that comes with gcc, so configuring glibc
2021   # with a fresh cross-compiler works.
2022   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2023   # <limits.h> exists even on freestanding compilers.
2024   # On the NeXT, cc -E runs the code through the compiler's parser,
2025   # not just through cpp. "Syntax error" is here to catch this case.
2026   cat >conftest.$ac_ext <<_ACEOF
2027 /* confdefs.h.  */
2028 _ACEOF
2029 cat confdefs.h >>conftest.$ac_ext
2030 cat >>conftest.$ac_ext <<_ACEOF
2031 /* end confdefs.h.  */
2032 #ifdef __STDC__
2033 # include <limits.h>
2034 #else
2035 # include <assert.h>
2036 #endif
2037                      Syntax error
2038 _ACEOF
2039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2040   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2041   ac_status=$?
2042   grep -v '^ *+' conftest.er1 >conftest.err
2043   rm -f conftest.er1
2044   cat conftest.err >&5
2045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046   (exit $ac_status); } >/dev/null; then
2047   if test -s conftest.err; then
2048     ac_cpp_err=$ac_c_preproc_warn_flag
2049     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2050   else
2051     ac_cpp_err=
2052   fi
2053 else
2054   ac_cpp_err=yes
2055 fi
2056 if test -z "$ac_cpp_err"; then
2057   :
2058 else
2059   echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.$ac_ext >&5
2061
2062   # Broken: fails on valid input.
2063 continue
2064 fi
2065 rm -f conftest.err conftest.$ac_ext
2066
2067   # OK, works on sane cases.  Now check whether non-existent headers
2068   # can be detected and how.
2069   cat >conftest.$ac_ext <<_ACEOF
2070 /* confdefs.h.  */
2071 _ACEOF
2072 cat confdefs.h >>conftest.$ac_ext
2073 cat >>conftest.$ac_ext <<_ACEOF
2074 /* end confdefs.h.  */
2075 #include <ac_nonexistent.h>
2076 _ACEOF
2077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2078   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2079   ac_status=$?
2080   grep -v '^ *+' conftest.er1 >conftest.err
2081   rm -f conftest.er1
2082   cat conftest.err >&5
2083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084   (exit $ac_status); } >/dev/null; then
2085   if test -s conftest.err; then
2086     ac_cpp_err=$ac_c_preproc_warn_flag
2087     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2088   else
2089     ac_cpp_err=
2090   fi
2091 else
2092   ac_cpp_err=yes
2093 fi
2094 if test -z "$ac_cpp_err"; then
2095   # Broken: success on invalid input.
2096 continue
2097 else
2098   echo "$as_me: failed program was:" >&5
2099 sed 's/^/| /' conftest.$ac_ext >&5
2100
2101   # Passes both tests.
2102 ac_preproc_ok=:
2103 break
2104 fi
2105 rm -f conftest.err conftest.$ac_ext
2106
2107 done
2108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2109 rm -f conftest.err conftest.$ac_ext
2110 if $ac_preproc_ok; then
2111   break
2112 fi
2113
2114     done
2115     ac_cv_prog_CPP=$CPP
2116
2117 fi
2118   CPP=$ac_cv_prog_CPP
2119 else
2120   ac_cv_prog_CPP=$CPP
2121 fi
2122 echo "$as_me:$LINENO: result: $CPP" >&5
2123 echo "${ECHO_T}$CPP" >&6
2124 ac_preproc_ok=false
2125 for ac_c_preproc_warn_flag in '' yes
2126 do
2127   # Use a header file that comes with gcc, so configuring glibc
2128   # with a fresh cross-compiler works.
2129   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2130   # <limits.h> exists even on freestanding compilers.
2131   # On the NeXT, cc -E runs the code through the compiler's parser,
2132   # not just through cpp. "Syntax error" is here to catch this case.
2133   cat >conftest.$ac_ext <<_ACEOF
2134 /* confdefs.h.  */
2135 _ACEOF
2136 cat confdefs.h >>conftest.$ac_ext
2137 cat >>conftest.$ac_ext <<_ACEOF
2138 /* end confdefs.h.  */
2139 #ifdef __STDC__
2140 # include <limits.h>
2141 #else
2142 # include <assert.h>
2143 #endif
2144                      Syntax error
2145 _ACEOF
2146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2147   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2148   ac_status=$?
2149   grep -v '^ *+' conftest.er1 >conftest.err
2150   rm -f conftest.er1
2151   cat conftest.err >&5
2152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153   (exit $ac_status); } >/dev/null; then
2154   if test -s conftest.err; then
2155     ac_cpp_err=$ac_c_preproc_warn_flag
2156     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2157   else
2158     ac_cpp_err=
2159   fi
2160 else
2161   ac_cpp_err=yes
2162 fi
2163 if test -z "$ac_cpp_err"; then
2164   :
2165 else
2166   echo "$as_me: failed program was:" >&5
2167 sed 's/^/| /' conftest.$ac_ext >&5
2168
2169   # Broken: fails on valid input.
2170 continue
2171 fi
2172 rm -f conftest.err conftest.$ac_ext
2173
2174   # OK, works on sane cases.  Now check whether non-existent headers
2175   # can be detected and how.
2176   cat >conftest.$ac_ext <<_ACEOF
2177 /* confdefs.h.  */
2178 _ACEOF
2179 cat confdefs.h >>conftest.$ac_ext
2180 cat >>conftest.$ac_ext <<_ACEOF
2181 /* end confdefs.h.  */
2182 #include <ac_nonexistent.h>
2183 _ACEOF
2184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2185   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2186   ac_status=$?
2187   grep -v '^ *+' conftest.er1 >conftest.err
2188   rm -f conftest.er1
2189   cat conftest.err >&5
2190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191   (exit $ac_status); } >/dev/null; then
2192   if test -s conftest.err; then
2193     ac_cpp_err=$ac_c_preproc_warn_flag
2194     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2195   else
2196     ac_cpp_err=
2197   fi
2198 else
2199   ac_cpp_err=yes
2200 fi
2201 if test -z "$ac_cpp_err"; then
2202   # Broken: success on invalid input.
2203 continue
2204 else
2205   echo "$as_me: failed program was:" >&5
2206 sed 's/^/| /' conftest.$ac_ext >&5
2207
2208   # Passes both tests.
2209 ac_preproc_ok=:
2210 break
2211 fi
2212 rm -f conftest.err conftest.$ac_ext
2213
2214 done
2215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2216 rm -f conftest.err conftest.$ac_ext
2217 if $ac_preproc_ok; then
2218   :
2219 else
2220   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2221 See \`config.log' for more details." >&5
2222 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2223 See \`config.log' for more details." >&2;}
2224    { (exit 1); exit 1; }; }
2225 fi
2226
2227 ac_ext=c
2228 ac_cpp='$CPP $CPPFLAGS'
2229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2232
2233
2234 echo "$as_me:$LINENO: checking for egrep" >&5
2235 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2236 if test "${ac_cv_prog_egrep+set}" = set; then
2237   echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2240     then ac_cv_prog_egrep='grep -E'
2241     else ac_cv_prog_egrep='egrep'
2242     fi
2243 fi
2244 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2245 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2246  EGREP=$ac_cv_prog_egrep
2247
2248
2249
2250   # Keep these sync'd with the list in Makefile.am.  The first provides an
2251   # expandable list at autoconf time; the second provides an expandable list
2252   # (i.e., shell variable) at configure time.
2253
2254   SUBDIRS='include libmath libsupc++ src po testsuite'
2255
2256   # These need to be absolute paths, yet at the same time need to
2257   # canonicalize only relative paths, because then amd will not unmount
2258   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2259   glibcxx_builddir=`${PWDCMD-pwd}`
2260   case $srcdir in
2261     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2262     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2263   esac
2264   toplevel_srcdir=${glibcxx_srcdir}/..
2265
2266
2267
2268
2269   # We use these options to decide which functions to include.  They are
2270   # set from the top level.
2271
2272 # Check whether --with-target-subdir or --without-target-subdir was given.
2273 if test "${with_target_subdir+set}" = set; then
2274   withval="$with_target_subdir"
2275
2276 fi;
2277
2278
2279 # Check whether --with-cross-host or --without-cross-host was given.
2280 if test "${with_cross_host+set}" = set; then
2281   withval="$with_cross_host"
2282
2283 fi;
2284
2285
2286 # Check whether --with-newlib or --without-newlib was given.
2287 if test "${with_newlib+set}" = set; then
2288   withval="$with_newlib"
2289
2290 fi;
2291
2292   # We're almost certainly being configured before anything else which uses
2293   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2294   # we not cache the value of CXX that we "discover" here, because it's set
2295   # to something unique for us and libjava.  Other target libraries need to
2296   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2297   # process by sneakily renaming the cache variable.  This also lets us debug
2298   # the value of "our" CXX in postmortems.
2299   #
2300   # We must also force CXX to /not/ be a precious variable, otherwise the
2301   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2302   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2303   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2304   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2305   #
2306   # -fno-builtin must be present here so that a non-conflicting form of
2307   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2308
2309
2310
2311
2312   save_CXXFLAGS="$CXXFLAGS"
2313   CXXFLAGS="$CXXFLAGS -fno-builtin"
2314   ac_ext=c
2315 ac_cpp='$CPP $CPPFLAGS'
2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319 if test -n "$ac_tool_prefix"; then
2320   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2321 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_CC+set}" = set; then
2325   echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327   if test -n "$CC"; then
2328   ac_cv_prog_CC="$CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2332 do
2333   IFS=$as_save_IFS
2334   test -z "$as_dir" && as_dir=.
2335   for ac_exec_ext in '' $ac_executable_extensions; do
2336   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2338     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339     break 2
2340   fi
2341 done
2342 done
2343
2344 fi
2345 fi
2346 CC=$ac_cv_prog_CC
2347 if test -n "$CC"; then
2348   echo "$as_me:$LINENO: result: $CC" >&5
2349 echo "${ECHO_T}$CC" >&6
2350 else
2351   echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2353 fi
2354
2355 fi
2356 if test -z "$ac_cv_prog_CC"; then
2357   ac_ct_CC=$CC
2358   # Extract the first word of "gcc", so it can be a program name with args.
2359 set dummy gcc; ac_word=$2
2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2362 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2363   echo $ECHO_N "(cached) $ECHO_C" >&6
2364 else
2365   if test -n "$ac_ct_CC"; then
2366   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2367 else
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 for as_dir in $PATH
2370 do
2371   IFS=$as_save_IFS
2372   test -z "$as_dir" && as_dir=.
2373   for ac_exec_ext in '' $ac_executable_extensions; do
2374   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2375     ac_cv_prog_ac_ct_CC="gcc"
2376     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377     break 2
2378   fi
2379 done
2380 done
2381
2382 fi
2383 fi
2384 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2385 if test -n "$ac_ct_CC"; then
2386   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2387 echo "${ECHO_T}$ac_ct_CC" >&6
2388 else
2389   echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2391 fi
2392
2393   CC=$ac_ct_CC
2394 else
2395   CC="$ac_cv_prog_CC"
2396 fi
2397
2398 if test -z "$CC"; then
2399   if test -n "$ac_tool_prefix"; then
2400   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2401 set dummy ${ac_tool_prefix}cc; ac_word=$2
2402 echo "$as_me:$LINENO: checking for $ac_word" >&5
2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2404 if test "${ac_cv_prog_CC+set}" = set; then
2405   echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407   if test -n "$CC"; then
2408   ac_cv_prog_CC="$CC" # Let the user override the test.
2409 else
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 for as_dir in $PATH
2412 do
2413   IFS=$as_save_IFS
2414   test -z "$as_dir" && as_dir=.
2415   for ac_exec_ext in '' $ac_executable_extensions; do
2416   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417     ac_cv_prog_CC="${ac_tool_prefix}cc"
2418     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419     break 2
2420   fi
2421 done
2422 done
2423
2424 fi
2425 fi
2426 CC=$ac_cv_prog_CC
2427 if test -n "$CC"; then
2428   echo "$as_me:$LINENO: result: $CC" >&5
2429 echo "${ECHO_T}$CC" >&6
2430 else
2431   echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2433 fi
2434
2435 fi
2436 if test -z "$ac_cv_prog_CC"; then
2437   ac_ct_CC=$CC
2438   # Extract the first word of "cc", so it can be a program name with args.
2439 set dummy cc; ac_word=$2
2440 echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2443   echo $ECHO_N "(cached) $ECHO_C" >&6
2444 else
2445   if test -n "$ac_ct_CC"; then
2446   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2447 else
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 for as_dir in $PATH
2450 do
2451   IFS=$as_save_IFS
2452   test -z "$as_dir" && as_dir=.
2453   for ac_exec_ext in '' $ac_executable_extensions; do
2454   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455     ac_cv_prog_ac_ct_CC="cc"
2456     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457     break 2
2458   fi
2459 done
2460 done
2461
2462 fi
2463 fi
2464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2465 if test -n "$ac_ct_CC"; then
2466   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2467 echo "${ECHO_T}$ac_ct_CC" >&6
2468 else
2469   echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473   CC=$ac_ct_CC
2474 else
2475   CC="$ac_cv_prog_CC"
2476 fi
2477
2478 fi
2479 if test -z "$CC"; then
2480   # Extract the first word of "cc", so it can be a program name with args.
2481 set dummy cc; ac_word=$2
2482 echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2484 if test "${ac_cv_prog_CC+set}" = set; then
2485   echo $ECHO_N "(cached) $ECHO_C" >&6
2486 else
2487   if test -n "$CC"; then
2488   ac_cv_prog_CC="$CC" # Let the user override the test.
2489 else
2490   ac_prog_rejected=no
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2493 do
2494   IFS=$as_save_IFS
2495   test -z "$as_dir" && as_dir=.
2496   for ac_exec_ext in '' $ac_executable_extensions; do
2497   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2499        ac_prog_rejected=yes
2500        continue
2501      fi
2502     ac_cv_prog_CC="cc"
2503     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504     break 2
2505   fi
2506 done
2507 done
2508
2509 if test $ac_prog_rejected = yes; then
2510   # We found a bogon in the path, so make sure we never use it.
2511   set dummy $ac_cv_prog_CC
2512   shift
2513   if test $# != 0; then
2514     # We chose a different compiler from the bogus one.
2515     # However, it has the same basename, so the bogon will be chosen
2516     # first if we set CC to just the basename; use the full file name.
2517     shift
2518     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2519   fi
2520 fi
2521 fi
2522 fi
2523 CC=$ac_cv_prog_CC
2524 if test -n "$CC"; then
2525   echo "$as_me:$LINENO: result: $CC" >&5
2526 echo "${ECHO_T}$CC" >&6
2527 else
2528   echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2530 fi
2531
2532 fi
2533 if test -z "$CC"; then
2534   if test -n "$ac_tool_prefix"; then
2535   for ac_prog in cl
2536   do
2537     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2539 echo "$as_me:$LINENO: checking for $ac_word" >&5
2540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2541 if test "${ac_cv_prog_CC+set}" = set; then
2542   echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544   if test -n "$CC"; then
2545   ac_cv_prog_CC="$CC" # Let the user override the test.
2546 else
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 for as_dir in $PATH
2549 do
2550   IFS=$as_save_IFS
2551   test -z "$as_dir" && as_dir=.
2552   for ac_exec_ext in '' $ac_executable_extensions; do
2553   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556     break 2
2557   fi
2558 done
2559 done
2560
2561 fi
2562 fi
2563 CC=$ac_cv_prog_CC
2564 if test -n "$CC"; then
2565   echo "$as_me:$LINENO: result: $CC" >&5
2566 echo "${ECHO_T}$CC" >&6
2567 else
2568   echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2570 fi
2571
2572     test -n "$CC" && break
2573   done
2574 fi
2575 if test -z "$CC"; then
2576   ac_ct_CC=$CC
2577   for ac_prog in cl
2578 do
2579   # Extract the first word of "$ac_prog", so it can be a program name with args.
2580 set dummy $ac_prog; ac_word=$2
2581 echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2584   echo $ECHO_N "(cached) $ECHO_C" >&6
2585 else
2586   if test -n "$ac_ct_CC"; then
2587   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2588 else
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 for as_dir in $PATH
2591 do
2592   IFS=$as_save_IFS
2593   test -z "$as_dir" && as_dir=.
2594   for ac_exec_ext in '' $ac_executable_extensions; do
2595   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596     ac_cv_prog_ac_ct_CC="$ac_prog"
2597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598     break 2
2599   fi
2600 done
2601 done
2602
2603 fi
2604 fi
2605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2608 echo "${ECHO_T}$ac_ct_CC" >&6
2609 else
2610   echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2612 fi
2613
2614   test -n "$ac_ct_CC" && break
2615 done
2616
2617   CC=$ac_ct_CC
2618 fi
2619
2620 fi
2621
2622
2623 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2624 See \`config.log' for more details." >&5
2625 echo "$as_me: error: no acceptable C compiler found in \$PATH
2626 See \`config.log' for more details." >&2;}
2627    { (exit 1); exit 1; }; }
2628
2629 # Provide some information about the compiler.
2630 echo "$as_me:$LINENO:" \
2631      "checking for C compiler version" >&5
2632 ac_compiler=`set X $ac_compile; echo $2`
2633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2634   (eval $ac_compiler --version </dev/null >&5) 2>&5
2635   ac_status=$?
2636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637   (exit $ac_status); }
2638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2639   (eval $ac_compiler -v </dev/null >&5) 2>&5
2640   ac_status=$?
2641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642   (exit $ac_status); }
2643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2644   (eval $ac_compiler -V </dev/null >&5) 2>&5
2645   ac_status=$?
2646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647   (exit $ac_status); }
2648
2649 cat >conftest.$ac_ext <<_ACEOF
2650 /* confdefs.h.  */
2651 _ACEOF
2652 cat confdefs.h >>conftest.$ac_ext
2653 cat >>conftest.$ac_ext <<_ACEOF
2654 /* end confdefs.h.  */
2655
2656 int
2657 main ()
2658 {
2659
2660   ;
2661   return 0;
2662 }
2663 _ACEOF
2664 # FIXME: Cleanup?
2665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2666   (eval $ac_link) 2>&5
2667   ac_status=$?
2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669   (exit $ac_status); }; then
2670   gcc_no_link=no
2671 else
2672   gcc_no_link=yes
2673 fi
2674
2675 if test x$gcc_no_link = xyes; then
2676   # Setting cross_compile will disable run tests; it will
2677   # also disable AC_CHECK_FILE but that's generally
2678   # correct if we can't link.
2679   cross_compiling=yes
2680   EXEEXT=
2681 else
2682   cat >conftest.$ac_ext <<_ACEOF
2683 /* confdefs.h.  */
2684 _ACEOF
2685 cat confdefs.h >>conftest.$ac_ext
2686 cat >>conftest.$ac_ext <<_ACEOF
2687 /* end confdefs.h.  */
2688
2689 int
2690 main ()
2691 {
2692
2693   ;
2694   return 0;
2695 }
2696 _ACEOF
2697 ac_clean_files_save=$ac_clean_files
2698 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2699 # Try to create an executable without -o first, disregard a.out.
2700 # It will help us diagnose broken compilers, and finding out an intuition
2701 # of exeext.
2702 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2703 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2704 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2705 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2706   (eval $ac_link_default) 2>&5
2707   ac_status=$?
2708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709   (exit $ac_status); }; then
2710   # Find the output, starting from the most likely.  This scheme is
2711 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2712 # resort.
2713
2714 # Be careful to initialize this variable, since it used to be cached.
2715 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2716 ac_cv_exeext=
2717 # b.out is created by i960 compilers.
2718 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2719 do
2720   test -f "$ac_file" || continue
2721   case $ac_file in
2722     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2723         ;;
2724     conftest.$ac_ext )
2725         # This is the source file.
2726         ;;
2727     [ab].out )
2728         # We found the default executable, but exeext='' is most
2729         # certainly right.
2730         break;;
2731     *.* )
2732         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2733         # FIXME: I believe we export ac_cv_exeext for Libtool,
2734         # but it would be cool to find out if it's true.  Does anybody
2735         # maintain Libtool? --akim.
2736         export ac_cv_exeext
2737         break;;
2738     * )
2739         break;;
2740   esac
2741 done
2742 else
2743   echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2745
2746 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2747 See \`config.log' for more details." >&5
2748 echo "$as_me: error: C compiler cannot create executables
2749 See \`config.log' for more details." >&2;}
2750    { (exit 77); exit 77; }; }
2751 fi
2752
2753 ac_exeext=$ac_cv_exeext
2754 echo "$as_me:$LINENO: result: $ac_file" >&5
2755 echo "${ECHO_T}$ac_file" >&6
2756
2757 # Check the compiler produces executables we can run.  If not, either
2758 # the compiler is broken, or we cross compile.
2759 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2760 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2761 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2762 # If not cross compiling, check that we can run a simple program.
2763 if test "$cross_compiling" != yes; then
2764   if { ac_try='./$ac_file'
2765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766   (eval $ac_try) 2>&5
2767   ac_status=$?
2768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769   (exit $ac_status); }; }; then
2770     cross_compiling=no
2771   else
2772     if test "$cross_compiling" = maybe; then
2773         cross_compiling=yes
2774     else
2775         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot run C compiled programs.
2779 If you meant to cross compile, use \`--host'.
2780 See \`config.log' for more details." >&2;}
2781    { (exit 1); exit 1; }; }
2782     fi
2783   fi
2784 fi
2785 echo "$as_me:$LINENO: result: yes" >&5
2786 echo "${ECHO_T}yes" >&6
2787
2788 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2789 ac_clean_files=$ac_clean_files_save
2790 # Check the compiler produces executables we can run.  If not, either
2791 # the compiler is broken, or we cross compile.
2792 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2793 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2794 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2795 echo "${ECHO_T}$cross_compiling" >&6
2796
2797 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2798 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2800   (eval $ac_link) 2>&5
2801   ac_status=$?
2802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803   (exit $ac_status); }; then
2804   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2805 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2806 # work properly (i.e., refer to `conftest.exe'), while it won't with
2807 # `rm'.
2808 for ac_file in conftest.exe conftest conftest.*; do
2809   test -f "$ac_file" || continue
2810   case $ac_file in
2811     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2812     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2813           export ac_cv_exeext
2814           break;;
2815     * ) break;;
2816   esac
2817 done
2818 else
2819   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2820 See \`config.log' for more details." >&5
2821 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&2;}
2823    { (exit 1); exit 1; }; }
2824 fi
2825
2826 rm -f conftest$ac_cv_exeext
2827 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2828 echo "${ECHO_T}$ac_cv_exeext" >&6
2829
2830 rm -f conftest.$ac_ext
2831 EXEEXT=$ac_cv_exeext
2832 ac_exeext=$EXEEXT
2833 fi
2834 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2835 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2836 if test "${ac_cv_objext+set}" = set; then
2837   echo $ECHO_N "(cached) $ECHO_C" >&6
2838 else
2839   cat >conftest.$ac_ext <<_ACEOF
2840 /* confdefs.h.  */
2841 _ACEOF
2842 cat confdefs.h >>conftest.$ac_ext
2843 cat >>conftest.$ac_ext <<_ACEOF
2844 /* end confdefs.h.  */
2845
2846 int
2847 main ()
2848 {
2849
2850   ;
2851   return 0;
2852 }
2853 _ACEOF
2854 rm -f conftest.o conftest.obj
2855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2856   (eval $ac_compile) 2>&5
2857   ac_status=$?
2858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859   (exit $ac_status); }; then
2860   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2861   case $ac_file in
2862     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2863     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2864        break;;
2865   esac
2866 done
2867 else
2868   echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2870
2871 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2872 See \`config.log' for more details." >&5
2873 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details." >&2;}
2875    { (exit 1); exit 1; }; }
2876 fi
2877
2878 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2879 fi
2880 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2881 echo "${ECHO_T}$ac_cv_objext" >&6
2882 OBJEXT=$ac_cv_objext
2883 ac_objext=$OBJEXT
2884 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2885 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2886 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2887   echo $ECHO_N "(cached) $ECHO_C" >&6
2888 else
2889   cat >conftest.$ac_ext <<_ACEOF
2890 /* confdefs.h.  */
2891 _ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h.  */
2895
2896 int
2897 main ()
2898 {
2899 #ifndef __GNUC__
2900        choke me
2901 #endif
2902
2903   ;
2904   return 0;
2905 }
2906 _ACEOF
2907 rm -f conftest.$ac_objext
2908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2909   (eval $ac_compile) 2>conftest.er1
2910   ac_status=$?
2911   grep -v '^ *+' conftest.er1 >conftest.err
2912   rm -f conftest.er1
2913   cat conftest.err >&5
2914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915   (exit $ac_status); } &&
2916          { ac_try='test -z "$ac_c_werror_flag"
2917                          || test ! -s conftest.err'
2918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919   (eval $ac_try) 2>&5
2920   ac_status=$?
2921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922   (exit $ac_status); }; } &&
2923          { ac_try='test -s conftest.$ac_objext'
2924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925   (eval $ac_try) 2>&5
2926   ac_status=$?
2927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928   (exit $ac_status); }; }; then
2929   ac_compiler_gnu=yes
2930 else
2931   echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2933
2934 ac_compiler_gnu=no
2935 fi
2936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2937 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2938
2939 fi
2940 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2941 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2942 GCC=`test $ac_compiler_gnu = yes && echo yes`
2943 ac_test_CFLAGS=${CFLAGS+set}
2944 ac_save_CFLAGS=$CFLAGS
2945 CFLAGS="-g"
2946 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2947 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2948 if test "${ac_cv_prog_cc_g+set}" = set; then
2949   echo $ECHO_N "(cached) $ECHO_C" >&6
2950 else
2951   cat >conftest.$ac_ext <<_ACEOF
2952 /* confdefs.h.  */
2953 _ACEOF
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h.  */
2957
2958 int
2959 main ()
2960 {
2961
2962   ;
2963   return 0;
2964 }
2965 _ACEOF
2966 rm -f conftest.$ac_objext
2967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2968   (eval $ac_compile) 2>conftest.er1
2969   ac_status=$?
2970   grep -v '^ *+' conftest.er1 >conftest.err
2971   rm -f conftest.er1
2972   cat conftest.err >&5
2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974   (exit $ac_status); } &&
2975          { ac_try='test -z "$ac_c_werror_flag"
2976                          || test ! -s conftest.err'
2977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978   (eval $ac_try) 2>&5
2979   ac_status=$?
2980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981   (exit $ac_status); }; } &&
2982          { ac_try='test -s conftest.$ac_objext'
2983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984   (eval $ac_try) 2>&5
2985   ac_status=$?
2986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987   (exit $ac_status); }; }; then
2988   ac_cv_prog_cc_g=yes
2989 else
2990   echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2992
2993 ac_cv_prog_cc_g=no
2994 fi
2995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2996 fi
2997 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2998 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2999 if test "$ac_test_CFLAGS" = set; then
3000   CFLAGS=$ac_save_CFLAGS
3001 elif test $ac_cv_prog_cc_g = yes; then
3002   if test "$GCC" = yes; then
3003     CFLAGS="-g -O2"
3004   else
3005     CFLAGS="-g"
3006   fi
3007 else
3008   if test "$GCC" = yes; then
3009     CFLAGS="-O2"
3010   else
3011     CFLAGS=
3012   fi
3013 fi
3014 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3015 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3016 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3017   echo $ECHO_N "(cached) $ECHO_C" >&6
3018 else
3019   ac_cv_prog_cc_stdc=no
3020 ac_save_CC=$CC
3021 cat >conftest.$ac_ext <<_ACEOF
3022 /* confdefs.h.  */
3023 _ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h.  */
3027 #include <stdarg.h>
3028 #include <stdio.h>
3029 #include <sys/types.h>
3030 #include <sys/stat.h>
3031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3032 struct buf { int x; };
3033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3034 static char *e (p, i)
3035      char **p;
3036      int i;
3037 {
3038   return p[i];
3039 }
3040 static char *f (char * (*g) (char **, int), char **p, ...)
3041 {
3042   char *s;
3043   va_list v;
3044   va_start (v,p);
3045   s = g (p, va_arg (v,int));
3046   va_end (v);
3047   return s;
3048 }
3049
3050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3051    function prototypes and stuff, but not '\xHH' hex character constants.
3052    These don't provoke an error unfortunately, instead are silently treated
3053    as 'x'.  The following induces an error, until -std1 is added to get
3054    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3055    array size at least.  It's necessary to write '\x00'==0 to get something
3056    that's true only with -std1.  */
3057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3058
3059 int test (int i, double x);
3060 struct s1 {int (*f) (int a);};
3061 struct s2 {int (*f) (double a);};
3062 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3063 int argc;
3064 char **argv;
3065 int
3066 main ()
3067 {
3068 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3069   ;
3070   return 0;
3071 }
3072 _ACEOF
3073 # Don't try gcc -ansi; that turns off useful extensions and
3074 # breaks some systems' header files.
3075 # AIX                   -qlanglvl=ansi
3076 # Ultrix and OSF/1      -std1
3077 # HP-UX 10.20 and later -Ae
3078 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3079 # SVR4                  -Xc -D__EXTENSIONS__
3080 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3081 do
3082   CC="$ac_save_CC $ac_arg"
3083   rm -f conftest.$ac_objext
3084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3085   (eval $ac_compile) 2>conftest.er1
3086   ac_status=$?
3087   grep -v '^ *+' conftest.er1 >conftest.err
3088   rm -f conftest.er1
3089   cat conftest.err >&5
3090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091   (exit $ac_status); } &&
3092          { ac_try='test -z "$ac_c_werror_flag"
3093                          || test ! -s conftest.err'
3094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095   (eval $ac_try) 2>&5
3096   ac_status=$?
3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098   (exit $ac_status); }; } &&
3099          { ac_try='test -s conftest.$ac_objext'
3100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101   (eval $ac_try) 2>&5
3102   ac_status=$?
3103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104   (exit $ac_status); }; }; then
3105   ac_cv_prog_cc_stdc=$ac_arg
3106 break
3107 else
3108   echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3110
3111 fi
3112 rm -f conftest.err conftest.$ac_objext
3113 done
3114 rm -f conftest.$ac_ext conftest.$ac_objext
3115 CC=$ac_save_CC
3116
3117 fi
3118
3119 case "x$ac_cv_prog_cc_stdc" in
3120   x|xno)
3121     echo "$as_me:$LINENO: result: none needed" >&5
3122 echo "${ECHO_T}none needed" >&6 ;;
3123   *)
3124     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3125 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3126     CC="$CC $ac_cv_prog_cc_stdc" ;;
3127 esac
3128
3129 # Some people use a C++ compiler to compile C.  Since we use `exit',
3130 # in C++ we need to declare it.  In case someone uses the same compiler
3131 # for both compiling C and C++ we need to have the C++ compiler decide
3132 # the declaration of exit, since it's the most demanding environment.
3133 cat >conftest.$ac_ext <<_ACEOF
3134 #ifndef __cplusplus
3135   choke me
3136 #endif
3137 _ACEOF
3138 rm -f conftest.$ac_objext
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140   (eval $ac_compile) 2>conftest.er1
3141   ac_status=$?
3142   grep -v '^ *+' conftest.er1 >conftest.err
3143   rm -f conftest.er1
3144   cat conftest.err >&5
3145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146   (exit $ac_status); } &&
3147          { ac_try='test -z "$ac_c_werror_flag"
3148                          || test ! -s conftest.err'
3149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150   (eval $ac_try) 2>&5
3151   ac_status=$?
3152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153   (exit $ac_status); }; } &&
3154          { ac_try='test -s conftest.$ac_objext'
3155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156   (eval $ac_try) 2>&5
3157   ac_status=$?
3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159   (exit $ac_status); }; }; then
3160   for ac_declaration in \
3161    '' \
3162    'extern "C" void std::exit (int) throw (); using std::exit;' \
3163    'extern "C" void std::exit (int); using std::exit;' \
3164    'extern "C" void exit (int) throw ();' \
3165    'extern "C" void exit (int);' \
3166    'void exit (int);'
3167 do
3168   cat >conftest.$ac_ext <<_ACEOF
3169 /* confdefs.h.  */
3170 _ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h.  */
3174 $ac_declaration
3175 #include <stdlib.h>
3176 int
3177 main ()
3178 {
3179 exit (42);
3180   ;
3181   return 0;
3182 }
3183 _ACEOF
3184 rm -f conftest.$ac_objext
3185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3186   (eval $ac_compile) 2>conftest.er1
3187   ac_status=$?
3188   grep -v '^ *+' conftest.er1 >conftest.err
3189   rm -f conftest.er1
3190   cat conftest.err >&5
3191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192   (exit $ac_status); } &&
3193          { ac_try='test -z "$ac_c_werror_flag"
3194                          || test ! -s conftest.err'
3195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196   (eval $ac_try) 2>&5
3197   ac_status=$?
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); }; } &&
3200          { ac_try='test -s conftest.$ac_objext'
3201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202   (eval $ac_try) 2>&5
3203   ac_status=$?
3204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205   (exit $ac_status); }; }; then
3206   :
3207 else
3208   echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3210
3211 continue
3212 fi
3213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3214   cat >conftest.$ac_ext <<_ACEOF
3215 /* confdefs.h.  */
3216 _ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h.  */
3220 $ac_declaration
3221 int
3222 main ()
3223 {
3224 exit (42);
3225   ;
3226   return 0;
3227 }
3228 _ACEOF
3229 rm -f conftest.$ac_objext
3230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3231   (eval $ac_compile) 2>conftest.er1
3232   ac_status=$?
3233   grep -v '^ *+' conftest.er1 >conftest.err
3234   rm -f conftest.er1
3235   cat conftest.err >&5
3236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237   (exit $ac_status); } &&
3238          { ac_try='test -z "$ac_c_werror_flag"
3239                          || test ! -s conftest.err'
3240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241   (eval $ac_try) 2>&5
3242   ac_status=$?
3243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244   (exit $ac_status); }; } &&
3245          { ac_try='test -s conftest.$ac_objext'
3246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247   (eval $ac_try) 2>&5
3248   ac_status=$?
3249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250   (exit $ac_status); }; }; then
3251   break
3252 else
3253   echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3255
3256 fi
3257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3258 done
3259 rm -f conftest*
3260 if test -n "$ac_declaration"; then
3261   echo '#ifdef __cplusplus' >>confdefs.h
3262   echo $ac_declaration      >>confdefs.h
3263   echo '#endif'             >>confdefs.h
3264 fi
3265
3266 else
3267   echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3269
3270 fi
3271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3272 ac_ext=c
3273 ac_cpp='$CPP $CPPFLAGS'
3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277
3278   ac_ext=cc
3279 ac_cpp='$CXXCPP $CPPFLAGS'
3280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3283 if test -n "$ac_tool_prefix"; then
3284   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3285   do
3286     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3288 echo "$as_me:$LINENO: checking for $ac_word" >&5
3289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3290 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3291   echo $ECHO_N "(cached) $ECHO_C" >&6
3292 else
3293   if test -n "$CXX"; then
3294   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3298 do
3299   IFS=$as_save_IFS
3300   test -z "$as_dir" && as_dir=.
3301   for ac_exec_ext in '' $ac_executable_extensions; do
3302   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3303     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3304     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3305     break 2
3306   fi
3307 done
3308 done
3309
3310 fi
3311 fi
3312 CXX=$glibcxx_cv_prog_CXX
3313 if test -n "$CXX"; then
3314   echo "$as_me:$LINENO: result: $CXX" >&5
3315 echo "${ECHO_T}$CXX" >&6
3316 else
3317   echo "$as_me:$LINENO: result: no" >&5
3318 echo "${ECHO_T}no" >&6
3319 fi
3320
3321     test -n "$CXX" && break
3322   done
3323 fi
3324 if test -z "$CXX"; then
3325   ac_ct_CXX=$CXX
3326   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3327 do
3328   # Extract the first word of "$ac_prog", so it can be a program name with args.
3329 set dummy $ac_prog; ac_word=$2
3330 echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3332 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3333   echo $ECHO_N "(cached) $ECHO_C" >&6
3334 else
3335   if test -n "$ac_ct_CXX"; then
3336   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3337 else
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 for as_dir in $PATH
3340 do
3341   IFS=$as_save_IFS
3342   test -z "$as_dir" && as_dir=.
3343   for ac_exec_ext in '' $ac_executable_extensions; do
3344   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345     ac_cv_prog_ac_ct_CXX="$ac_prog"
3346     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3347     break 2
3348   fi
3349 done
3350 done
3351
3352 fi
3353 fi
3354 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3355 if test -n "$ac_ct_CXX"; then
3356   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3357 echo "${ECHO_T}$ac_ct_CXX" >&6
3358 else
3359   echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3361 fi
3362
3363   test -n "$ac_ct_CXX" && break
3364 done
3365 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3366
3367   CXX=$ac_ct_CXX
3368 fi
3369
3370
3371 # Provide some information about the compiler.
3372 echo "$as_me:$LINENO:" \
3373      "checking for C++ compiler version" >&5
3374 ac_compiler=`set X $ac_compile; echo $2`
3375 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3376   (eval $ac_compiler --version </dev/null >&5) 2>&5
3377   ac_status=$?
3378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379   (exit $ac_status); }
3380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3381   (eval $ac_compiler -v </dev/null >&5) 2>&5
3382   ac_status=$?
3383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384   (exit $ac_status); }
3385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3386   (eval $ac_compiler -V </dev/null >&5) 2>&5
3387   ac_status=$?
3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389   (exit $ac_status); }
3390
3391 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3392 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3393 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3394   echo $ECHO_N "(cached) $ECHO_C" >&6
3395 else
3396   cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h.  */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h.  */
3402
3403 int
3404 main ()
3405 {
3406 #ifndef __GNUC__
3407        choke me
3408 #endif
3409
3410   ;
3411   return 0;
3412 }
3413 _ACEOF
3414 rm -f conftest.$ac_objext
3415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3416   (eval $ac_compile) 2>conftest.er1
3417   ac_status=$?
3418   grep -v '^ *+' conftest.er1 >conftest.err
3419   rm -f conftest.er1
3420   cat conftest.err >&5
3421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422   (exit $ac_status); } &&
3423          { ac_try='test -z "$ac_cxx_werror_flag"
3424                          || test ! -s conftest.err'
3425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426   (eval $ac_try) 2>&5
3427   ac_status=$?
3428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429   (exit $ac_status); }; } &&
3430          { ac_try='test -s conftest.$ac_objext'
3431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432   (eval $ac_try) 2>&5
3433   ac_status=$?
3434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435   (exit $ac_status); }; }; then
3436   ac_compiler_gnu=yes
3437 else
3438   echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3440
3441 ac_compiler_gnu=no
3442 fi
3443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3445
3446 fi
3447 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3448 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3449 GXX=`test $ac_compiler_gnu = yes && echo yes`
3450 ac_test_CXXFLAGS=${CXXFLAGS+set}
3451 ac_save_CXXFLAGS=$CXXFLAGS
3452 CXXFLAGS="-g"
3453 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3454 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3455 if test "${ac_cv_prog_cxx_g+set}" = set; then
3456   echo $ECHO_N "(cached) $ECHO_C" >&6
3457 else
3458   cat >conftest.$ac_ext <<_ACEOF
3459 /* confdefs.h.  */
3460 _ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h.  */
3464
3465 int
3466 main ()
3467 {
3468
3469   ;
3470   return 0;
3471 }
3472 _ACEOF
3473 rm -f conftest.$ac_objext
3474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475   (eval $ac_compile) 2>conftest.er1
3476   ac_status=$?
3477   grep -v '^ *+' conftest.er1 >conftest.err
3478   rm -f conftest.er1
3479   cat conftest.err >&5
3480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481   (exit $ac_status); } &&
3482          { ac_try='test -z "$ac_cxx_werror_flag"
3483                          || test ! -s conftest.err'
3484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485   (eval $ac_try) 2>&5
3486   ac_status=$?
3487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488   (exit $ac_status); }; } &&
3489          { ac_try='test -s conftest.$ac_objext'
3490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491   (eval $ac_try) 2>&5
3492   ac_status=$?
3493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494   (exit $ac_status); }; }; then
3495   ac_cv_prog_cxx_g=yes
3496 else
3497   echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3499
3500 ac_cv_prog_cxx_g=no
3501 fi
3502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3503 fi
3504 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3505 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3506 if test "$ac_test_CXXFLAGS" = set; then
3507   CXXFLAGS=$ac_save_CXXFLAGS
3508 elif test $ac_cv_prog_cxx_g = yes; then
3509   if test "$GXX" = yes; then
3510     CXXFLAGS="-g -O2"
3511   else
3512     CXXFLAGS="-g"
3513   fi
3514 else
3515   if test "$GXX" = yes; then
3516     CXXFLAGS="-O2"
3517   else
3518     CXXFLAGS=
3519   fi
3520 fi
3521 for ac_declaration in \
3522    '' \
3523    'extern "C" void std::exit (int) throw (); using std::exit;' \
3524    'extern "C" void std::exit (int); using std::exit;' \
3525    'extern "C" void exit (int) throw ();' \
3526    'extern "C" void exit (int);' \
3527    'void exit (int);'
3528 do
3529   cat >conftest.$ac_ext <<_ACEOF
3530 /* confdefs.h.  */
3531 _ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h.  */
3535 $ac_declaration
3536 #include <stdlib.h>
3537 int
3538 main ()
3539 {
3540 exit (42);
3541   ;
3542   return 0;
3543 }
3544 _ACEOF
3545 rm -f conftest.$ac_objext
3546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3547   (eval $ac_compile) 2>conftest.er1
3548   ac_status=$?
3549   grep -v '^ *+' conftest.er1 >conftest.err
3550   rm -f conftest.er1
3551   cat conftest.err >&5
3552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553   (exit $ac_status); } &&
3554          { ac_try='test -z "$ac_cxx_werror_flag"
3555                          || test ! -s conftest.err'
3556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557   (eval $ac_try) 2>&5
3558   ac_status=$?
3559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560   (exit $ac_status); }; } &&
3561          { ac_try='test -s conftest.$ac_objext'
3562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563   (eval $ac_try) 2>&5
3564   ac_status=$?
3565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566   (exit $ac_status); }; }; then
3567   :
3568 else
3569   echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.$ac_ext >&5
3571
3572 continue
3573 fi
3574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3575   cat >conftest.$ac_ext <<_ACEOF
3576 /* confdefs.h.  */
3577 _ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h.  */
3581 $ac_declaration
3582 int
3583 main ()
3584 {
3585 exit (42);
3586   ;
3587   return 0;
3588 }
3589 _ACEOF
3590 rm -f conftest.$ac_objext
3591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3592   (eval $ac_compile) 2>conftest.er1
3593   ac_status=$?
3594   grep -v '^ *+' conftest.er1 >conftest.err
3595   rm -f conftest.er1
3596   cat conftest.err >&5
3597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598   (exit $ac_status); } &&
3599          { ac_try='test -z "$ac_cxx_werror_flag"
3600                          || test ! -s conftest.err'
3601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602   (eval $ac_try) 2>&5
3603   ac_status=$?
3604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605   (exit $ac_status); }; } &&
3606          { ac_try='test -s conftest.$ac_objext'
3607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608   (eval $ac_try) 2>&5
3609   ac_status=$?
3610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611   (exit $ac_status); }; }; then
3612   break
3613 else
3614   echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3616
3617 fi
3618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3619 done
3620 rm -f conftest*
3621 if test -n "$ac_declaration"; then
3622   echo '#ifdef __cplusplus' >>confdefs.h
3623   echo $ac_declaration      >>confdefs.h
3624   echo '#endif'             >>confdefs.h
3625 fi
3626
3627 ac_ext=c
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632
3633   CXXFLAGS="$save_CXXFLAGS"
3634
3635
3636
3637
3638   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3639   # available).  Uncomment the next line to force a particular method.
3640   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3641 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3642 LN_S=$as_ln_s
3643 if test "$LN_S" = "ln -s"; then
3644   echo "$as_me:$LINENO: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6
3646 else
3647   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3648 echo "${ECHO_T}no, using $LN_S" >&6
3649 fi
3650
3651   #LN_S='cp -p'
3652
3653   if test -n "$ac_tool_prefix"; then
3654   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3655 set dummy ${ac_tool_prefix}as; ac_word=$2
3656 echo "$as_me:$LINENO: checking for $ac_word" >&5
3657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3658 if test "${ac_cv_prog_AS+set}" = set; then
3659   echo $ECHO_N "(cached) $ECHO_C" >&6
3660 else
3661   if test -n "$AS"; then
3662   ac_cv_prog_AS="$AS" # Let the user override the test.
3663 else
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 for as_dir in $PATH
3666 do
3667   IFS=$as_save_IFS
3668   test -z "$as_dir" && as_dir=.
3669   for ac_exec_ext in '' $ac_executable_extensions; do
3670   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3671     ac_cv_prog_AS="${ac_tool_prefix}as"
3672     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3673     break 2
3674   fi
3675 done
3676 done
3677
3678 fi
3679 fi
3680 AS=$ac_cv_prog_AS
3681 if test -n "$AS"; then
3682   echo "$as_me:$LINENO: result: $AS" >&5
3683 echo "${ECHO_T}$AS" >&6
3684 else
3685   echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3687 fi
3688
3689 fi
3690 if test -z "$ac_cv_prog_AS"; then
3691   ac_ct_AS=$AS
3692   # Extract the first word of "as", so it can be a program name with args.
3693 set dummy as; ac_word=$2
3694 echo "$as_me:$LINENO: checking for $ac_word" >&5
3695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3696 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3697   echo $ECHO_N "(cached) $ECHO_C" >&6
3698 else
3699   if test -n "$ac_ct_AS"; then
3700   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3701 else
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3704 do
3705   IFS=$as_save_IFS
3706   test -z "$as_dir" && as_dir=.
3707   for ac_exec_ext in '' $ac_executable_extensions; do
3708   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709     ac_cv_prog_ac_ct_AS="as"
3710     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711     break 2
3712   fi
3713 done
3714 done
3715
3716 fi
3717 fi
3718 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3719 if test -n "$ac_ct_AS"; then
3720   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3721 echo "${ECHO_T}$ac_ct_AS" >&6
3722 else
3723   echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 fi
3726
3727   AS=$ac_ct_AS
3728 else
3729   AS="$ac_cv_prog_AS"
3730 fi
3731
3732   if test -n "$ac_tool_prefix"; then
3733   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3734 set dummy ${ac_tool_prefix}ar; ac_word=$2
3735 echo "$as_me:$LINENO: checking for $ac_word" >&5
3736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3737 if test "${ac_cv_prog_AR+set}" = set; then
3738   echo $ECHO_N "(cached) $ECHO_C" >&6
3739 else
3740   if test -n "$AR"; then
3741   ac_cv_prog_AR="$AR" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3745 do
3746   IFS=$as_save_IFS
3747   test -z "$as_dir" && as_dir=.
3748   for ac_exec_ext in '' $ac_executable_extensions; do
3749   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750     ac_cv_prog_AR="${ac_tool_prefix}ar"
3751     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3752     break 2
3753   fi
3754 done
3755 done
3756
3757 fi
3758 fi
3759 AR=$ac_cv_prog_AR
3760 if test -n "$AR"; then
3761   echo "$as_me:$LINENO: result: $AR" >&5
3762 echo "${ECHO_T}$AR" >&6
3763 else
3764   echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3766 fi
3767
3768 fi
3769 if test -z "$ac_cv_prog_AR"; then
3770   ac_ct_AR=$AR
3771   # Extract the first word of "ar", so it can be a program name with args.
3772 set dummy ar; ac_word=$2
3773 echo "$as_me:$LINENO: checking for $ac_word" >&5
3774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3775 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3776   echo $ECHO_N "(cached) $ECHO_C" >&6
3777 else
3778   if test -n "$ac_ct_AR"; then
3779   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3780 else
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3783 do
3784   IFS=$as_save_IFS
3785   test -z "$as_dir" && as_dir=.
3786   for ac_exec_ext in '' $ac_executable_extensions; do
3787   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788     ac_cv_prog_ac_ct_AR="ar"
3789     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3790     break 2
3791   fi
3792 done
3793 done
3794
3795 fi
3796 fi
3797 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3798 if test -n "$ac_ct_AR"; then
3799   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3800 echo "${ECHO_T}$ac_ct_AR" >&6
3801 else
3802   echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6
3804 fi
3805
3806   AR=$ac_ct_AR
3807 else
3808   AR="$ac_cv_prog_AR"
3809 fi
3810
3811   if test -n "$ac_tool_prefix"; then
3812   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3814 echo "$as_me:$LINENO: checking for $ac_word" >&5
3815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3816 if test "${ac_cv_prog_RANLIB+set}" = set; then
3817   echo $ECHO_N "(cached) $ECHO_C" >&6
3818 else
3819   if test -n "$RANLIB"; then
3820   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3821 else
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3824 do
3825   IFS=$as_save_IFS
3826   test -z "$as_dir" && as_dir=.
3827   for ac_exec_ext in '' $ac_executable_extensions; do
3828   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3830     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3831     break 2
3832   fi
3833 done
3834 done
3835
3836 fi
3837 fi
3838 RANLIB=$ac_cv_prog_RANLIB
3839 if test -n "$RANLIB"; then
3840   echo "$as_me:$LINENO: result: $RANLIB" >&5
3841 echo "${ECHO_T}$RANLIB" >&6
3842 else
3843   echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3845 fi
3846
3847 fi
3848 if test -z "$ac_cv_prog_RANLIB"; then
3849   ac_ct_RANLIB=$RANLIB
3850   # Extract the first word of "ranlib", so it can be a program name with args.
3851 set dummy ranlib; ac_word=$2
3852 echo "$as_me:$LINENO: checking for $ac_word" >&5
3853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3854 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3855   echo $ECHO_N "(cached) $ECHO_C" >&6
3856 else
3857   if test -n "$ac_ct_RANLIB"; then
3858   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3859 else
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH
3862 do
3863   IFS=$as_save_IFS
3864   test -z "$as_dir" && as_dir=.
3865   for ac_exec_ext in '' $ac_executable_extensions; do
3866   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867     ac_cv_prog_ac_ct_RANLIB="ranlib"
3868     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3869     break 2
3870   fi
3871 done
3872 done
3873
3874   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3875 fi
3876 fi
3877 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3878 if test -n "$ac_ct_RANLIB"; then
3879   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3880 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3881 else
3882   echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3884 fi
3885
3886   RANLIB=$ac_ct_RANLIB
3887 else
3888   RANLIB="$ac_cv_prog_RANLIB"
3889 fi
3890
3891
3892   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3893 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3894     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3895 if test "${enable_maintainer_mode+set}" = set; then
3896   enableval="$enable_maintainer_mode"
3897   USE_MAINTAINER_MODE=$enableval
3898 else
3899   USE_MAINTAINER_MODE=no
3900 fi;
3901   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3902 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3903
3904
3905 if test $USE_MAINTAINER_MODE = yes; then
3906   MAINTAINER_MODE_TRUE=
3907   MAINTAINER_MODE_FALSE='#'
3908 else
3909   MAINTAINER_MODE_TRUE='#'
3910   MAINTAINER_MODE_FALSE=
3911 fi
3912
3913   MAINT=$MAINTAINER_MODE_TRUE
3914
3915
3916
3917   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3918   # which are themselves conditionally expanded.
3919   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3920   ## other macros from doing the same.  This should be automated.)  -pme
3921   need_libmath=no
3922
3923   # Check for uClibc since Linux platforms use different configuration
3924   # directories depending on the C library in use.
3925   cat >conftest.$ac_ext <<_ACEOF
3926 /* confdefs.h.  */
3927 _ACEOF
3928 cat confdefs.h >>conftest.$ac_ext
3929 cat >>conftest.$ac_ext <<_ACEOF
3930 /* end confdefs.h.  */
3931
3932   #include <stdio.h>
3933   #if __UCLIBC__
3934     _using_uclibc
3935   #endif
3936
3937 _ACEOF
3938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3939   $EGREP "_using_uclibc" >/dev/null 2>&1; then
3940   uclibc=yes
3941 else
3942   uclibc=no
3943 fi
3944 rm -f conftest*
3945
3946
3947   # Find platform-specific directories containing configuration info.
3948   # Also possibly modify flags used elsewhere, as needed by the platform.
3949
3950   . $glibcxx_srcdir/configure.host
3951   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3952 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3953   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3954 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3955
3956
3957
3958
3959 # Check whether --enable-shared or --disable-shared was given.
3960 if test "${enable_shared+set}" = set; then
3961   enableval="$enable_shared"
3962   p=${PACKAGE-default}
3963 case $enableval in
3964 yes) enable_shared=yes ;;
3965 no) enable_shared=no ;;
3966 *)
3967   enable_shared=no
3968   # Look at the argument we got.  We use all the common list separators.
3969   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3970   for pkg in $enableval; do
3971     if test "X$pkg" = "X$p"; then
3972       enable_shared=yes
3973     fi
3974   done
3975   IFS="$ac_save_ifs"
3976   ;;
3977 esac
3978 else
3979   enable_shared=yes
3980 fi;
3981 # Check whether --enable-static or --disable-static was given.
3982 if test "${enable_static+set}" = set; then
3983   enableval="$enable_static"
3984   p=${PACKAGE-default}
3985 case $enableval in
3986 yes) enable_static=yes ;;
3987 no) enable_static=no ;;
3988 *)
3989   enable_static=no
3990   # Look at the argument we got.  We use all the common list separators.
3991   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3992   for pkg in $enableval; do
3993     if test "X$pkg" = "X$p"; then
3994       enable_static=yes
3995     fi
3996   done
3997   IFS="$ac_save_ifs"
3998   ;;
3999 esac
4000 else
4001   enable_static=yes
4002 fi;
4003 # Check whether --enable-fast-install or --disable-fast-install was given.
4004 if test "${enable_fast_install+set}" = set; then
4005   enableval="$enable_fast_install"
4006   p=${PACKAGE-default}
4007 case $enableval in
4008 yes) enable_fast_install=yes ;;
4009 no) enable_fast_install=no ;;
4010 *)
4011   enable_fast_install=no
4012   # Look at the argument we got.  We use all the common list separators.
4013   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4014   for pkg in $enableval; do
4015     if test "X$pkg" = "X$p"; then
4016       enable_fast_install=yes
4017     fi
4018   done
4019   IFS="$ac_save_ifs"
4020   ;;
4021 esac
4022 else
4023   enable_fast_install=yes
4024 fi;
4025
4026 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4027 if test "${with_gnu_ld+set}" = set; then
4028   withval="$with_gnu_ld"
4029   test "$withval" = no || with_gnu_ld=yes
4030 else
4031   with_gnu_ld=no
4032 fi;
4033 ac_prog=ld
4034 if test "$GCC" = yes; then
4035   # Check if gcc -print-prog-name=ld gives a path.
4036   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4037 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4038   case $host in
4039   *-*-mingw*)
4040     # gcc leaves a trailing carriage return which upsets mingw
4041     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4042   *)
4043     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4044   esac
4045   case $ac_prog in
4046     # Accept absolute paths.
4047     [\\/]* | [A-Za-z]:[\\/]*)
4048       re_direlt='/[^/][^/]*/\.\./'
4049       # Canonicalize the path of ld
4050       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4051       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4052         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4053       done
4054       test -z "$LD" && LD="$ac_prog"
4055       ;;
4056   "")
4057     # If it fails, then pretend we aren't using GCC.
4058     ac_prog=ld
4059     ;;
4060   *)
4061     # If it is relative, then search for the first ld in PATH.
4062     with_gnu_ld=unknown
4063     ;;
4064   esac
4065 elif test "$with_gnu_ld" = yes; then
4066   echo "$as_me:$LINENO: checking for GNU ld" >&5
4067 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4068 else
4069   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4070 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4071 fi
4072 if test "${lt_cv_path_LD+set}" = set; then
4073   echo $ECHO_N "(cached) $ECHO_C" >&6
4074 else
4075   if test -z "$LD"; then
4076   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4077   for ac_dir in $PATH; do
4078     test -z "$ac_dir" && ac_dir=.
4079     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4080       lt_cv_path_LD="$ac_dir/$ac_prog"
4081       # Check to see if the program is GNU ld.  I'd rather use --version,
4082       # but apparently some GNU ld's only accept -v.
4083       # Break only if it was the GNU/non-GNU ld that we prefer.
4084       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4085         test "$with_gnu_ld" != no && break
4086       else
4087         test "$with_gnu_ld" != yes && break
4088       fi
4089     fi
4090   done
4091   IFS="$ac_save_ifs"
4092 else
4093   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4094 fi
4095 fi
4096
4097 LD="$lt_cv_path_LD"
4098 if test -n "$LD"; then
4099   echo "$as_me:$LINENO: result: $LD" >&5
4100 echo "${ECHO_T}$LD" >&6
4101 else
4102   echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4104 fi
4105 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4106 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4107    { (exit 1); exit 1; }; }
4108 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4109 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4110 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4111   echo $ECHO_N "(cached) $ECHO_C" >&6
4112 else
4113   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4114 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4115   lt_cv_prog_gnu_ld=yes
4116 else
4117   lt_cv_prog_gnu_ld=no
4118 fi
4119 fi
4120 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4121 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4122 with_gnu_ld=$lt_cv_prog_gnu_ld
4123
4124
4125 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4126 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4127 if test "${lt_cv_ld_reload_flag+set}" = set; then
4128   echo $ECHO_N "(cached) $ECHO_C" >&6
4129 else
4130   lt_cv_ld_reload_flag='-r'
4131 fi
4132 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4133 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4134 reload_flag=$lt_cv_ld_reload_flag
4135 test -n "$reload_flag" && reload_flag=" $reload_flag"
4136
4137 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4138 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4139 if test "${lt_cv_path_NM+set}" = set; then
4140   echo $ECHO_N "(cached) $ECHO_C" >&6
4141 else
4142   if test -n "$NM"; then
4143   # Let the user override the test.
4144   lt_cv_path_NM="$NM"
4145 else
4146   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4147   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4148     test -z "$ac_dir" && ac_dir=.
4149     tmp_nm=$ac_dir/${ac_tool_prefix}nm
4150     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4151       # Check to see if the nm accepts a BSD-compat flag.
4152       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4153       #   nm: unknown option "B" ignored
4154       # Tru64's nm complains that /dev/null is an invalid object file
4155       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4156         lt_cv_path_NM="$tmp_nm -B"
4157         break
4158       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4159         lt_cv_path_NM="$tmp_nm -p"
4160         break
4161       else
4162         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4163         continue # so that we can try to find one that supports BSD flags
4164       fi
4165     fi
4166   done
4167   IFS="$ac_save_ifs"
4168   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4169 fi
4170 fi
4171
4172 NM="$lt_cv_path_NM"
4173 echo "$as_me:$LINENO: result: $NM" >&5
4174 echo "${ECHO_T}$NM" >&6
4175
4176 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4177 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4178 if test "${lt_cv_deplibs_check_method+set}" = set; then
4179   echo $ECHO_N "(cached) $ECHO_C" >&6
4180 else
4181   lt_cv_file_magic_cmd='$MAGIC_CMD'
4182 lt_cv_file_magic_test_file=
4183 lt_cv_deplibs_check_method='unknown'
4184 # Need to set the preceding variable on all platforms that support
4185 # interlibrary dependencies.
4186 # 'none' -- dependencies not supported.
4187 # `unknown' -- same as none, but documents that we really don't know.
4188 # 'pass_all' -- all dependencies passed with no checks.
4189 # 'test_compile' -- check by making test program.
4190 # 'file_magic [regex]' -- check by looking for files in library path
4191 # which responds to the $file_magic_cmd with a given egrep regex.
4192 # If you have `file' or equivalent on your system and you're not sure
4193 # whether `pass_all' will *always* work, you probably want this one.
4194
4195 case $host_os in
4196 aix*)
4197   lt_cv_deplibs_check_method=pass_all
4198   ;;
4199
4200 beos*)
4201   lt_cv_deplibs_check_method=pass_all
4202   ;;
4203
4204 bsdi4*)
4205   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4206   lt_cv_file_magic_cmd='/usr/bin/file -L'
4207   lt_cv_file_magic_test_file=/shlib/libc.so
4208   ;;
4209
4210 cygwin* | mingw* |pw32*)
4211   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4212   lt_cv_file_magic_cmd='$OBJDUMP -f'
4213   ;;
4214
4215 darwin* | rhapsody*)
4216   # this will be overwritten by pass_all, but leave it in just in case
4217   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4218   lt_cv_file_magic_cmd='/usr/bin/file -L'
4219   case "$host_os" in
4220   rhapsody* | darwin1.012)
4221     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4222     ;;
4223   *) # Darwin 1.3 on
4224     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4225     ;;
4226   esac
4227   lt_cv_deplibs_check_method=pass_all
4228   ;;
4229
4230 freebsd* | kfreebsd*-gnu)
4231   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4232     case $host_cpu in
4233     i*86 )
4234       # Not sure whether the presence of OpenBSD here was a mistake.
4235       # Let's accept both of them until this is cleared up.
4236       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4237       lt_cv_file_magic_cmd=/usr/bin/file
4238       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4239       ;;
4240     esac
4241   else
4242     lt_cv_deplibs_check_method=pass_all
4243   fi
4244   ;;
4245
4246 gnu*)
4247   lt_cv_deplibs_check_method=pass_all
4248   ;;
4249
4250 hpux10.20*|hpux11*)
4251   case $host_cpu in
4252   hppa*)
4253     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4254     lt_cv_file_magic_cmd=/usr/bin/file
4255     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4256     ;;
4257   ia64*)
4258     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4259     lt_cv_file_magic_cmd=/usr/bin/file
4260     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4261     ;;
4262   esac
4263   ;;
4264
4265 irix5* | irix6*)
4266   case $host_os in
4267   irix5*)
4268     # this will be overridden with pass_all, but let us keep it just in case
4269     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4270     ;;
4271   *)
4272     case $LD in
4273     *-32|*"-32 ") libmagic=32-bit;;
4274     *-n32|*"-n32 ") libmagic=N32;;
4275     *-64|*"-64 ") libmagic=64-bit;;
4276     *) libmagic=never-match;;
4277     esac
4278     # this will be overridden with pass_all, but let us keep it just in case
4279     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4280     ;;
4281   esac
4282   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4283   lt_cv_deplibs_check_method=pass_all
4284   ;;
4285
4286 # This must be Linux ELF.
4287 linux-gnu*)
4288   lt_cv_deplibs_check_method=pass_all
4289   ;;
4290
4291 netbsd* | knetbsd*-gnu)
4292   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4293     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4294   else
4295     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4296   fi
4297   ;;
4298
4299 newsos6)
4300   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4301   lt_cv_file_magic_cmd=/usr/bin/file
4302   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4303   ;;
4304
4305 osf3* | osf4* | osf5*)
4306   # this will be overridden with pass_all, but let us keep it just in case
4307   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4308   lt_cv_file_magic_test_file=/shlib/libc.so
4309   lt_cv_deplibs_check_method=pass_all
4310   ;;
4311
4312 sco3.2v5*)
4313   lt_cv_deplibs_check_method=pass_all
4314   ;;
4315
4316 solaris*)
4317   lt_cv_deplibs_check_method=pass_all
4318   lt_cv_file_magic_test_file=/lib/libc.so
4319   ;;
4320
4321 sysv5uw[78]* | sysv4*uw2*)
4322   lt_cv_deplibs_check_method=pass_all
4323   ;;
4324
4325 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4326   case $host_vendor in
4327   ncr)
4328     lt_cv_deplibs_check_method=pass_all
4329     ;;
4330   motorola)
4331     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]'
4332     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4333     ;;
4334   esac
4335   ;;
4336 esac
4337
4338 fi
4339 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4340 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4341 file_magic_cmd=$lt_cv_file_magic_cmd
4342 deplibs_check_method=$lt_cv_deplibs_check_method
4343
4344
4345
4346
4347 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4348
4349 # find the maximum length of command line arguments
4350 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4351 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4352 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4353   echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355     i=0
4356   teststring="ABCD"
4357
4358   case $build_os in
4359   msdosdjgpp*)
4360     # On DJGPP, this test can blow up pretty badly due to problems in libc
4361     # (any single argument exceeding 2000 bytes causes a buffer overrun
4362     # during glob expansion).  Even if it were fixed, the result of this
4363     # check would be larger than it should be.
4364     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4365     ;;
4366
4367   cygwin* | mingw*)
4368     # On Win9x/ME, this test blows up -- it succeeds, but takes
4369     # about 5 minutes as the teststring grows exponentially.
4370     # Worse, since 9x/ME are not pre-emptively multitasking,
4371     # you end up with a "frozen" computer, even though with patience
4372     # the test eventually succeeds (with a max line length of 256k).
4373     # Instead, let's just punt: use the minimum linelength reported by
4374     # all of the supported platforms: 8192 (on NT/2K/XP).
4375     lt_cv_sys_max_cmd_len=8192;
4376     ;;
4377
4378   amigaos*)
4379     # On AmigaOS with pdksh, this test takes hours, literally.
4380     # So we just punt and use a minimum line length of 8192.
4381     lt_cv_sys_max_cmd_len=8192;
4382     ;;
4383
4384   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4385     # This has been around since 386BSD, at least.  Likely further.
4386     if test -x /sbin/sysctl; then
4387       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4388     elif test -x /usr/sbin/sysctl; then
4389       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4390     else
4391       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4392     fi
4393     # And add a safety zone
4394     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4395     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4396     ;;
4397   esac
4398
4399 fi
4400
4401 if test -n "$lt_cv_sys_max_cmd_len" ; then
4402   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4403 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4404 else
4405   echo "$as_me:$LINENO: result: none" >&5
4406 echo "${ECHO_T}none" >&6
4407 fi
4408
4409
4410 # Only perform the check for file, if the check method requires it
4411 case $deplibs_check_method in
4412 file_magic*)
4413   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4414     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4415 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4417   echo $ECHO_N "(cached) $ECHO_C" >&6
4418 else
4419   case $MAGIC_CMD in
4420   /*)
4421   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4422   ;;
4423   ?:/*)
4424   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4425   ;;
4426   *)
4427   ac_save_MAGIC_CMD="$MAGIC_CMD"
4428   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4429   ac_dummy="/usr/bin:$PATH"
4430   for ac_dir in $ac_dummy; do
4431     test -z "$ac_dir" && ac_dir=.
4432     if test -f $ac_dir/${ac_tool_prefix}file; then
4433       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4434       if test -n "$file_magic_test_file"; then
4435         case $deplibs_check_method in
4436         "file_magic "*)
4437           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4438           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4439           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4440             egrep "$file_magic_regex" > /dev/null; then
4441             :
4442           else
4443             cat <<EOF 1>&2
4444
4445 *** Warning: the command libtool uses to detect shared libraries,
4446 *** $file_magic_cmd, produces output that libtool cannot recognize.
4447 *** The result is that libtool may fail to recognize shared libraries
4448 *** as such.  This will affect the creation of libtool libraries that
4449 *** depend on shared libraries, but programs linked with such libtool
4450 *** libraries will work regardless of this problem.  Nevertheless, you
4451 *** may want to report the problem to your system manager and/or to
4452 *** bug-libtool@gnu.org
4453
4454 EOF
4455           fi ;;
4456         esac
4457       fi
4458       break
4459     fi
4460   done
4461   IFS="$ac_save_ifs"
4462   MAGIC_CMD="$ac_save_MAGIC_CMD"
4463   ;;
4464 esac
4465 fi
4466
4467 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4468 if test -n "$MAGIC_CMD"; then
4469   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4470 echo "${ECHO_T}$MAGIC_CMD" >&6
4471 else
4472   echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4474 fi
4475
4476 if test -z "$lt_cv_path_MAGIC_CMD"; then
4477   if test -n "$ac_tool_prefix"; then
4478     echo "$as_me:$LINENO: checking for file" >&5
4479 echo $ECHO_N "checking for file... $ECHO_C" >&6
4480 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4481   echo $ECHO_N "(cached) $ECHO_C" >&6
4482 else
4483   case $MAGIC_CMD in
4484   /*)
4485   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4486   ;;
4487   ?:/*)
4488   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4489   ;;
4490   *)
4491   ac_save_MAGIC_CMD="$MAGIC_CMD"
4492   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4493   ac_dummy="/usr/bin:$PATH"
4494   for ac_dir in $ac_dummy; do
4495     test -z "$ac_dir" && ac_dir=.
4496     if test -f $ac_dir/file; then
4497       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4498       if test -n "$file_magic_test_file"; then
4499         case $deplibs_check_method in
4500         "file_magic "*)
4501           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4502           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4503           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4504             egrep "$file_magic_regex" > /dev/null; then
4505             :
4506           else
4507             cat <<EOF 1>&2
4508
4509 *** Warning: the command libtool uses to detect shared libraries,
4510 *** $file_magic_cmd, produces output that libtool cannot recognize.
4511 *** The result is that libtool may fail to recognize shared libraries
4512 *** as such.  This will affect the creation of libtool libraries that
4513 *** depend on shared libraries, but programs linked with such libtool
4514 *** libraries will work regardless of this problem.  Nevertheless, you
4515 *** may want to report the problem to your system manager and/or to
4516 *** bug-libtool@gnu.org
4517
4518 EOF
4519           fi ;;
4520         esac
4521       fi
4522       break
4523     fi
4524   done
4525   IFS="$ac_save_ifs"
4526   MAGIC_CMD="$ac_save_MAGIC_CMD"
4527   ;;
4528 esac
4529 fi
4530
4531 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4532 if test -n "$MAGIC_CMD"; then
4533   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4534 echo "${ECHO_T}$MAGIC_CMD" >&6
4535 else
4536   echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4538 fi
4539
4540   else
4541     MAGIC_CMD=:
4542   fi
4543 fi
4544
4545   fi
4546   ;;
4547 esac
4548
4549 if test -n "$ac_tool_prefix"; then
4550   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4551 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4552 echo "$as_me:$LINENO: checking for $ac_word" >&5
4553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4554 if test "${ac_cv_prog_RANLIB+set}" = set; then
4555   echo $ECHO_N "(cached) $ECHO_C" >&6
4556 else
4557   if test -n "$RANLIB"; then
4558   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4562 do
4563   IFS=$as_save_IFS
4564   test -z "$as_dir" && as_dir=.
4565   for ac_exec_ext in '' $ac_executable_extensions; do
4566   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4568     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4569     break 2
4570   fi
4571 done
4572 done
4573
4574 fi
4575 fi
4576 RANLIB=$ac_cv_prog_RANLIB
4577 if test -n "$RANLIB"; then
4578   echo "$as_me:$LINENO: result: $RANLIB" >&5
4579 echo "${ECHO_T}$RANLIB" >&6
4580 else
4581   echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4583 fi
4584
4585 fi
4586 if test -z "$ac_cv_prog_RANLIB"; then
4587   ac_ct_RANLIB=$RANLIB
4588   # Extract the first word of "ranlib", so it can be a program name with args.
4589 set dummy ranlib; ac_word=$2
4590 echo "$as_me:$LINENO: checking for $ac_word" >&5
4591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4592 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4593   echo $ECHO_N "(cached) $ECHO_C" >&6
4594 else
4595   if test -n "$ac_ct_RANLIB"; then
4596   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4600 do
4601   IFS=$as_save_IFS
4602   test -z "$as_dir" && as_dir=.
4603   for ac_exec_ext in '' $ac_executable_extensions; do
4604   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605     ac_cv_prog_ac_ct_RANLIB="ranlib"
4606     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607     break 2
4608   fi
4609 done
4610 done
4611
4612   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4613 fi
4614 fi
4615 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4616 if test -n "$ac_ct_RANLIB"; then
4617   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4618 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4619 else
4620   echo "$as_me:$LINENO: result: no" >&5
4621 echo "${ECHO_T}no" >&6
4622 fi
4623
4624   RANLIB=$ac_ct_RANLIB
4625 else
4626   RANLIB="$ac_cv_prog_RANLIB"
4627 fi
4628
4629 if test -n "$ac_tool_prefix"; then
4630   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4631 set dummy ${ac_tool_prefix}strip; ac_word=$2
4632 echo "$as_me:$LINENO: checking for $ac_word" >&5
4633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4634 if test "${ac_cv_prog_STRIP+set}" = set; then
4635   echo $ECHO_N "(cached) $ECHO_C" >&6
4636 else
4637   if test -n "$STRIP"; then
4638   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4642 do
4643   IFS=$as_save_IFS
4644   test -z "$as_dir" && as_dir=.
4645   for ac_exec_ext in '' $ac_executable_extensions; do
4646   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4647     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4648     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649     break 2
4650   fi
4651 done
4652 done
4653
4654 fi
4655 fi
4656 STRIP=$ac_cv_prog_STRIP
4657 if test -n "$STRIP"; then
4658   echo "$as_me:$LINENO: result: $STRIP" >&5
4659 echo "${ECHO_T}$STRIP" >&6
4660 else
4661   echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665 fi
4666 if test -z "$ac_cv_prog_STRIP"; then
4667   ac_ct_STRIP=$STRIP
4668   # Extract the first word of "strip", so it can be a program name with args.
4669 set dummy strip; ac_word=$2
4670 echo "$as_me:$LINENO: checking for $ac_word" >&5
4671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4673   echo $ECHO_N "(cached) $ECHO_C" >&6
4674 else
4675   if test -n "$ac_ct_STRIP"; then
4676   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4677 else
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4680 do
4681   IFS=$as_save_IFS
4682   test -z "$as_dir" && as_dir=.
4683   for ac_exec_ext in '' $ac_executable_extensions; do
4684   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4685     ac_cv_prog_ac_ct_STRIP="strip"
4686     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4687     break 2
4688   fi
4689 done
4690 done
4691
4692   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4693 fi
4694 fi
4695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4696 if test -n "$ac_ct_STRIP"; then
4697   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4698 echo "${ECHO_T}$ac_ct_STRIP" >&6
4699 else
4700   echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704   STRIP=$ac_ct_STRIP
4705 else
4706   STRIP="$ac_cv_prog_STRIP"
4707 fi
4708
4709
4710 # Check for any special flags to pass to ltconfig.
4711 libtool_flags="--cache-file=$cache_file"
4712 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4713 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4714 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4715 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4716 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4717
4718
4719 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4720 if test "${enable_libtool_lock+set}" = set; then
4721   enableval="$enable_libtool_lock"
4722
4723 fi;
4724 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4725 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4726
4727
4728 # Check whether --with-pic or --without-pic was given.
4729 if test "${with_pic+set}" = set; then
4730   withval="$with_pic"
4731   pic_mode="$withval"
4732 else
4733   pic_mode=default
4734 fi;
4735 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4736 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4737
4738 # Some flags need to be propagated to the compiler or linker for good
4739 # libtool support.
4740 case $host in
4741 *-*-irix6*)
4742   # Find out which ABI we are using.
4743   echo '#line 4743 "configure"' > conftest.$ac_ext
4744   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4745   (eval $ac_compile) 2>&5
4746   ac_status=$?
4747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748   (exit $ac_status); }; then
4749    if test "$lt_cv_prog_gnu_ld" = yes; then
4750     case `/usr/bin/file conftest.$ac_objext` in
4751     *32-bit*)
4752       LD="${LD-ld} -melf32bsmip"
4753       ;;
4754     *N32*)
4755       LD="${LD-ld} -melf32bmipn32"
4756       ;;
4757     *64-bit*)
4758       LD="${LD-ld} -melf64bmip"
4759       ;;
4760     esac
4761    else
4762     case `/usr/bin/file conftest.$ac_objext` in
4763     *32-bit*)
4764       LD="${LD-ld} -32"
4765       ;;
4766     *N32*)
4767       LD="${LD-ld} -n32"
4768       ;;
4769     *64-bit*)
4770       LD="${LD-ld} -64"
4771       ;;
4772     esac
4773    fi
4774   fi
4775   rm -rf conftest*
4776   ;;
4777
4778 ia64-*-hpux*)
4779   # Find out which ABI we are using.
4780   echo 'int i;' > conftest.$ac_ext
4781   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4782   (eval $ac_compile) 2>&5
4783   ac_status=$?
4784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785   (exit $ac_status); }; then
4786     case "`/usr/bin/file conftest.o`" in
4787     *ELF-32*)
4788       HPUX_IA64_MODE="32"
4789       ;;
4790     *ELF-64*)
4791       HPUX_IA64_MODE="64"
4792       ;;
4793     esac
4794   fi
4795   rm -rf conftest*
4796   ;;
4797
4798 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4799   # Find out which ABI we are using.
4800   echo 'int i;' > conftest.$ac_ext
4801   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4802   (eval $ac_compile) 2>&5
4803   ac_status=$?
4804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805   (exit $ac_status); }; then
4806     case "`/usr/bin/file conftest.o`" in
4807     *32-bit*)
4808       case $host in
4809         x86_64-*linux*)
4810           LD="${LD-ld} -m elf_i386"
4811           ;;
4812         ppc64-*linux*|powerpc64-*linux*)
4813           LD="${LD-ld} -m elf32ppclinux"
4814           ;;
4815         s390x-*linux*)
4816           LD="${LD-ld} -m elf_s390"
4817           ;;
4818         sparc64-*linux*)
4819           LD="${LD-ld} -m elf32_sparc"
4820           ;;
4821       esac
4822       ;;
4823     *64-bit*)
4824       case $host in
4825         x86_64-*linux*)
4826           LD="${LD-ld} -m elf_x86_64"
4827           ;;
4828         ppc*-*linux*|powerpc*-*linux*)
4829           LD="${LD-ld} -m elf64ppc"
4830           ;;
4831         s390*-*linux*)
4832           LD="${LD-ld} -m elf64_s390"
4833           ;;
4834         sparc*-*linux*)
4835           LD="${LD-ld} -m elf64_sparc"
4836           ;;
4837       esac
4838       ;;
4839     esac
4840   fi
4841   rm -rf conftest*
4842   ;;
4843
4844 *-*-sco3.2v5*)
4845   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4846   SAVE_CFLAGS="$CFLAGS"
4847   CFLAGS="$CFLAGS -belf"
4848   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4849 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4850 if test "${lt_cv_cc_needs_belf+set}" = set; then
4851   echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853
4854
4855      ac_ext=c
4856 ac_cpp='$CPP $CPPFLAGS'
4857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860
4861      if test x$gcc_no_link = xyes; then
4862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4864    { (exit 1); exit 1; }; }
4865 fi
4866 cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h.  */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h.  */
4872
4873 int
4874 main ()
4875 {
4876
4877   ;
4878   return 0;
4879 }
4880 _ACEOF
4881 rm -f conftest.$ac_objext conftest$ac_exeext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4883   (eval $ac_link) 2>conftest.er1
4884   ac_status=$?
4885   grep -v '^ *+' conftest.er1 >conftest.err
4886   rm -f conftest.er1
4887   cat conftest.err >&5
4888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889   (exit $ac_status); } &&
4890          { ac_try='test -z "$ac_c_werror_flag"
4891                          || test ! -s conftest.err'
4892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893   (eval $ac_try) 2>&5
4894   ac_status=$?
4895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896   (exit $ac_status); }; } &&
4897          { ac_try='test -s conftest$ac_exeext'
4898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4899   (eval $ac_try) 2>&5
4900   ac_status=$?
4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902   (exit $ac_status); }; }; then
4903   lt_cv_cc_needs_belf=yes
4904 else
4905   echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.$ac_ext >&5
4907
4908 lt_cv_cc_needs_belf=no
4909 fi
4910 rm -f conftest.err conftest.$ac_objext \
4911       conftest$ac_exeext conftest.$ac_ext
4912      ac_ext=c
4913 ac_cpp='$CPP $CPPFLAGS'
4914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4917
4918 fi
4919 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4920 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4921   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4922     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4923     CFLAGS="$SAVE_CFLAGS"
4924   fi
4925   ;;
4926
4927
4928 esac
4929
4930
4931 # Save cache, so that ltconfig can load it
4932 cat >confcache <<\_ACEOF
4933 # This file is a shell script that caches the results of configure
4934 # tests run on this system so they can be shared between configure
4935 # scripts and configure runs, see configure's option --config-cache.
4936 # It is not useful on other systems.  If it contains results you don't
4937 # want to keep, you may remove or edit it.
4938 #
4939 # config.status only pays attention to the cache file if you give it
4940 # the --recheck option to rerun configure.
4941 #
4942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4944 # following values.
4945
4946 _ACEOF
4947
4948 # The following way of writing the cache mishandles newlines in values,
4949 # but we know of no workaround that is simple, portable, and efficient.
4950 # So, don't put newlines in cache variables' values.
4951 # Ultrix sh set writes to stderr and can't be redirected directly,
4952 # and sets the high bit in the cache file unless we assign to the vars.
4953 {
4954   (set) 2>&1 |
4955     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4956     *ac_space=\ *)
4957       # `set' does not quote correctly, so add quotes (double-quote
4958       # substitution turns \\\\ into \\, and sed turns \\ into \).
4959       sed -n \
4960         "s/'/'\\\\''/g;
4961           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4962       ;;
4963     *)
4964       # `set' quotes correctly as required by POSIX, so do not add quotes.
4965       sed -n \
4966         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4967       ;;
4968     esac;
4969 } |
4970   sed '
4971      t clear
4972      : clear
4973      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4974      t end
4975      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4976      : end' >>confcache
4977 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4978   if test -w $cache_file; then
4979     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4980     cat confcache >$cache_file
4981   else
4982     echo "not updating unwritable cache $cache_file"
4983   fi
4984 fi
4985 rm -f confcache
4986
4987 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4988 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4989 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4990 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4991 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4992 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4993 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4994 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4995 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4996 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4997 echo "$as_me: error: libtool configure failed" >&2;}
4998    { (exit 1); exit 1; }; }
4999
5000 # Reload cache, that may have been modified by ltconfig
5001 if test -r "$cache_file"; then
5002   # Some versions of bash will fail to source /dev/null (special
5003   # files actually), so we avoid doing that.
5004   if test -f "$cache_file"; then
5005     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5006 echo "$as_me: loading cache $cache_file" >&6;}
5007     case $cache_file in
5008       [\\/]* | ?:[\\/]* ) . $cache_file;;
5009       *)                      . ./$cache_file;;
5010     esac
5011   fi
5012 else
5013   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5014 echo "$as_me: creating cache $cache_file" >&6;}
5015   >$cache_file
5016 fi
5017
5018
5019 # This can be used to rebuild libtool when needed
5020 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5021
5022 # Always use our own libtool.
5023 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5024
5025 # Redirect the config.log output again, so that the ltconfig log is not
5026 # clobbered by the next message.
5027 exec 5>>./config.log
5028
5029 ac_ext=cc
5030 ac_cpp='$CXXCPP $CPPFLAGS'
5031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5034 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5035 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5036 if test -z "$CXXCPP"; then
5037   if test "${ac_cv_prog_CXXCPP+set}" = set; then
5038   echo $ECHO_N "(cached) $ECHO_C" >&6
5039 else
5040       # Double quotes because CXXCPP needs to be expanded
5041     for CXXCPP in "$CXX -E" "/lib/cpp"
5042     do
5043       ac_preproc_ok=false
5044 for ac_cxx_preproc_warn_flag in '' yes
5045 do
5046   # Use a header file that comes with gcc, so configuring glibc
5047   # with a fresh cross-compiler works.
5048   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5049   # <limits.h> exists even on freestanding compilers.
5050   # On the NeXT, cc -E runs the code through the compiler's parser,
5051   # not just through cpp. "Syntax error" is here to catch this case.
5052   cat >conftest.$ac_ext <<_ACEOF
5053 /* confdefs.h.  */
5054 _ACEOF
5055 cat confdefs.h >>conftest.$ac_ext
5056 cat >>conftest.$ac_ext <<_ACEOF
5057 /* end confdefs.h.  */
5058 #ifdef __STDC__
5059 # include <limits.h>
5060 #else
5061 # include <assert.h>
5062 #endif
5063                      Syntax error
5064 _ACEOF
5065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5066   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5067   ac_status=$?
5068   grep -v '^ *+' conftest.er1 >conftest.err
5069   rm -f conftest.er1
5070   cat conftest.err >&5
5071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072   (exit $ac_status); } >/dev/null; then
5073   if test -s conftest.err; then
5074     ac_cpp_err=$ac_cxx_preproc_warn_flag
5075     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5076   else
5077     ac_cpp_err=
5078   fi
5079 else
5080   ac_cpp_err=yes
5081 fi
5082 if test -z "$ac_cpp_err"; then
5083   :
5084 else
5085   echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5087
5088   # Broken: fails on valid input.
5089 continue
5090 fi
5091 rm -f conftest.err conftest.$ac_ext
5092
5093   # OK, works on sane cases.  Now check whether non-existent headers
5094   # can be detected and how.
5095   cat >conftest.$ac_ext <<_ACEOF
5096 /* confdefs.h.  */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h.  */
5101 #include <ac_nonexistent.h>
5102 _ACEOF
5103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5104   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5105   ac_status=$?
5106   grep -v '^ *+' conftest.er1 >conftest.err
5107   rm -f conftest.er1
5108   cat conftest.err >&5
5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110   (exit $ac_status); } >/dev/null; then
5111   if test -s conftest.err; then
5112     ac_cpp_err=$ac_cxx_preproc_warn_flag
5113     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5114   else
5115     ac_cpp_err=
5116   fi
5117 else
5118   ac_cpp_err=yes
5119 fi
5120 if test -z "$ac_cpp_err"; then
5121   # Broken: success on invalid input.
5122 continue
5123 else
5124   echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5126
5127   # Passes both tests.
5128 ac_preproc_ok=:
5129 break
5130 fi
5131 rm -f conftest.err conftest.$ac_ext
5132
5133 done
5134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5135 rm -f conftest.err conftest.$ac_ext
5136 if $ac_preproc_ok; then
5137   break
5138 fi
5139
5140     done
5141     ac_cv_prog_CXXCPP=$CXXCPP
5142
5143 fi
5144   CXXCPP=$ac_cv_prog_CXXCPP
5145 else
5146   ac_cv_prog_CXXCPP=$CXXCPP
5147 fi
5148 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5149 echo "${ECHO_T}$CXXCPP" >&6
5150 ac_preproc_ok=false
5151 for ac_cxx_preproc_warn_flag in '' yes
5152 do
5153   # Use a header file that comes with gcc, so configuring glibc
5154   # with a fresh cross-compiler works.
5155   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5156   # <limits.h> exists even on freestanding compilers.
5157   # On the NeXT, cc -E runs the code through the compiler's parser,
5158   # not just through cpp. "Syntax error" is here to catch this case.
5159   cat >conftest.$ac_ext <<_ACEOF
5160 /* confdefs.h.  */
5161 _ACEOF
5162 cat confdefs.h >>conftest.$ac_ext
5163 cat >>conftest.$ac_ext <<_ACEOF
5164 /* end confdefs.h.  */
5165 #ifdef __STDC__
5166 # include <limits.h>
5167 #else
5168 # include <assert.h>
5169 #endif
5170                      Syntax error
5171 _ACEOF
5172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5173   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5174   ac_status=$?
5175   grep -v '^ *+' conftest.er1 >conftest.err
5176   rm -f conftest.er1
5177   cat conftest.err >&5
5178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179   (exit $ac_status); } >/dev/null; then
5180   if test -s conftest.err; then
5181     ac_cpp_err=$ac_cxx_preproc_warn_flag
5182     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5183   else
5184     ac_cpp_err=
5185   fi
5186 else
5187   ac_cpp_err=yes
5188 fi
5189 if test -z "$ac_cpp_err"; then
5190   :
5191 else
5192   echo "$as_me: failed program was:" >&5
5193 sed 's/^/| /' conftest.$ac_ext >&5
5194
5195   # Broken: fails on valid input.
5196 continue
5197 fi
5198 rm -f conftest.err conftest.$ac_ext
5199
5200   # OK, works on sane cases.  Now check whether non-existent headers
5201   # can be detected and how.
5202   cat >conftest.$ac_ext <<_ACEOF
5203 /* confdefs.h.  */
5204 _ACEOF
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h.  */
5208 #include <ac_nonexistent.h>
5209 _ACEOF
5210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5211   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5212   ac_status=$?
5213   grep -v '^ *+' conftest.er1 >conftest.err
5214   rm -f conftest.er1
5215   cat conftest.err >&5
5216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217   (exit $ac_status); } >/dev/null; then
5218   if test -s conftest.err; then
5219     ac_cpp_err=$ac_cxx_preproc_warn_flag
5220     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5221   else
5222     ac_cpp_err=
5223   fi
5224 else
5225   ac_cpp_err=yes
5226 fi
5227 if test -z "$ac_cpp_err"; then
5228   # Broken: success on invalid input.
5229 continue
5230 else
5231   echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5233
5234   # Passes both tests.
5235 ac_preproc_ok=:
5236 break
5237 fi
5238 rm -f conftest.err conftest.$ac_ext
5239
5240 done
5241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5242 rm -f conftest.err conftest.$ac_ext
5243 if $ac_preproc_ok; then
5244   :
5245 else
5246   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5247 See \`config.log' for more details." >&5
5248 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5249 See \`config.log' for more details." >&2;}
5250    { (exit 1); exit 1; }; }
5251 fi
5252
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258
5259
5260
5261 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5262 lt_save_CC="$CC"
5263 lt_save_CFLAGS="$CFLAGS"
5264 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5265 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5266 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5267 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5268 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5269 deplibs_check_method="$deplibs_check_method" \
5270 file_magic_cmd="$file_magic_cmd" \
5271 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5272 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5273 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5274 echo "$as_me: error: libtool tag configuration failed" >&2;}
5275    { (exit 1); exit 1; }; }
5276 CC="$lt_save_CC"
5277 CFLAGS="$lt_save_CFLAGS"
5278
5279 # Redirect the config.log output again, so that the ltconfig log is not
5280 # clobbered by the next message.
5281 exec 5>>./config.log
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291 # Possibly disable most of the library.
5292 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5293 ## than just ignoring the results.  Faster /and/ more correct, win win.
5294
5295   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5296 if test "${enable_hosted_libstdcxx+set}" = set; then
5297   enableval="$enable_hosted_libstdcxx"
5298
5299 else
5300   case "$host" in
5301         arm*-*-symbianelf*)
5302             enable_hosted_libstdcxx=no
5303             ;;
5304         *)
5305             enable_hosted_libstdcxx=yes
5306             ;;
5307      esac
5308 fi;
5309   if test "$enable_hosted_libstdcxx" = no; then
5310     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5311 echo "$as_me: Only freestanding libraries will be built" >&6;}
5312     is_hosted=no
5313     hosted_define=0
5314     enable_abi_check=no
5315     enable_libstdcxx_pch=no
5316   else
5317     is_hosted=yes
5318     hosted_define=1
5319   fi
5320
5321
5322 cat >>confdefs.h <<_ACEOF
5323 #define _GLIBCXX_HOSTED $hosted_define
5324 _ACEOF
5325
5326
5327
5328 # Check for compiler support that doesn't require linking.
5329
5330   echo "$as_me:$LINENO: checking for exception model to use" >&5
5331 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5332
5333
5334   ac_ext=cc
5335 ac_cpp='$CXXCPP $CPPFLAGS'
5336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5339
5340    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5341 if test "${enable_sjlj_exceptions+set}" = set; then
5342   enableval="$enable_sjlj_exceptions"
5343
5344       case "$enableval" in
5345        yes|no|auto) ;;
5346        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5347 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5348    { (exit 1); exit 1; }; } ;;
5349                           esac
5350
5351 else
5352   enable_sjlj_exceptions=auto
5353 fi;
5354
5355
5356   if test $enable_sjlj_exceptions = auto; then
5357     # Botheration.  Now we've got to detect the exception model.  Link tests
5358     # against libgcc.a are problematic since we've not been given proper -L
5359     # bits for single-tree newlib and libgloss.
5360     #
5361     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5362     cat > conftest.$ac_ext << EOF
5363 #line 5363 "configure"
5364 struct S { ~S(); };
5365 void bar();
5366 void foo()
5367 {
5368   S s;
5369   bar();
5370 }
5371 EOF
5372     old_CXXFLAGS="$CXXFLAGS"
5373     CXXFLAGS=-S
5374     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375   (eval $ac_compile) 2>&5
5376   ac_status=$?
5377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378   (exit $ac_status); }; then
5379       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5380         enable_sjlj_exceptions=yes
5381       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5382         enable_sjlj_exceptions=no
5383       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5384         enable_sjlj_exceptions=no
5385       fi
5386     fi
5387     CXXFLAGS="$old_CXXFLAGS"
5388     rm -f conftest*
5389   fi
5390
5391   # This is a tad weird, for hysterical raisins.  We have to map
5392   # enable/disable to two different models.
5393   case $enable_sjlj_exceptions in
5394     yes)
5395
5396 cat >>confdefs.h <<\_ACEOF
5397 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5398 _ACEOF
5399
5400       ac_exception_model_name=sjlj
5401       ;;
5402     no)
5403       ac_exception_model_name="call frame"
5404       ;;
5405     *)
5406       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5407 echo "$as_me: error: unable to detect exception model" >&2;}
5408    { (exit 1); exit 1; }; }
5409       ;;
5410   esac
5411  ac_ext=c
5412 ac_cpp='$CPP $CPPFLAGS'
5413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5416
5417  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5418 echo "${ECHO_T}$ac_exception_model_name" >&6
5419
5420
5421    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5422 if test "${enable_libstdcxx_pch+set}" = set; then
5423   enableval="$enable_libstdcxx_pch"
5424
5425       case "$enableval" in
5426        yes|no) ;;
5427        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5428 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5429    { (exit 1); exit 1; }; } ;;
5430       esac
5431
5432 else
5433   enable_libstdcxx_pch=$is_hosted
5434 fi;
5435
5436   if test $enable_libstdcxx_pch = yes; then
5437     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5438 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5439 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5440   echo $ECHO_N "(cached) $ECHO_C" >&6
5441 else
5442   ac_save_CXXFLAGS="$CXXFLAGS"
5443        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5444
5445
5446        ac_ext=cc
5447 ac_cpp='$CXXCPP $CPPFLAGS'
5448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5451
5452        echo '#include <math.h>' > conftest.h
5453        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5454                           -o conftest.h.gch 1>&5 2>&1 &&
5455                 echo '#error "pch failed"' > conftest.h &&
5456           echo '#include "conftest.h"' > conftest.cc &&
5457                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5458        then
5459          glibcxx_cv_prog_CXX_pch=yes
5460        else
5461          glibcxx_cv_prog_CXX_pch=no
5462        fi
5463        rm -f conftest*
5464        CXXFLAGS=$ac_save_CXXFLAGS
5465        ac_ext=c
5466 ac_cpp='$CPP $CPPFLAGS'
5467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5470
5471
5472 fi
5473 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5474 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5475     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5476   fi
5477
5478   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5479 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5480   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5481 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5482
5483
5484   if test $enable_libstdcxx_pch = yes; then
5485     glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5486   else
5487     glibcxx_PCHFLAGS=""
5488   fi
5489
5490
5491
5492 # Enable all the variable C++ runtime options.
5493
5494   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5495 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5496    # Check whether --enable-cstdio or --disable-cstdio was given.
5497 if test "${enable_cstdio+set}" = set; then
5498   enableval="$enable_cstdio"
5499
5500       case "$enableval" in
5501        stdio) ;;
5502        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5503 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5504    { (exit 1); exit 1; }; } ;;
5505                           esac
5506
5507 else
5508   enable_cstdio=stdio
5509 fi;
5510
5511
5512   # Now that libio has been removed, you can have any color you want as long
5513   # as it's black.  This is one big no-op until other packages are added, but
5514   # showing the framework never hurts.
5515   case ${enable_cstdio} in
5516     stdio)
5517       CSTDIO_H=config/io/c_io_stdio.h
5518       BASIC_FILE_H=config/io/basic_file_stdio.h
5519       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5520       echo "$as_me:$LINENO: result: stdio" >&5
5521 echo "${ECHO_T}stdio" >&6
5522       ;;
5523   esac
5524
5525
5526
5527
5528
5529 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5530 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5531 if test "${ac_cv_header_stdc+set}" = set; then
5532   echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534   cat >conftest.$ac_ext <<_ACEOF
5535 /* confdefs.h.  */
5536 _ACEOF
5537 cat confdefs.h >>conftest.$ac_ext
5538 cat >>conftest.$ac_ext <<_ACEOF
5539 /* end confdefs.h.  */
5540 #include <stdlib.h>
5541 #include <stdarg.h>
5542 #include <string.h>
5543 #include <float.h>
5544
5545 int
5546 main ()
5547 {
5548
5549   ;
5550   return 0;
5551 }
5552 _ACEOF
5553 rm -f conftest.$ac_objext
5554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5555   (eval $ac_compile) 2>conftest.er1
5556   ac_status=$?
5557   grep -v '^ *+' conftest.er1 >conftest.err
5558   rm -f conftest.er1
5559   cat conftest.err >&5
5560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561   (exit $ac_status); } &&
5562          { ac_try='test -z "$ac_c_werror_flag"
5563                          || test ! -s conftest.err'
5564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5565   (eval $ac_try) 2>&5
5566   ac_status=$?
5567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568   (exit $ac_status); }; } &&
5569          { ac_try='test -s conftest.$ac_objext'
5570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571   (eval $ac_try) 2>&5
5572   ac_status=$?
5573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574   (exit $ac_status); }; }; then
5575   ac_cv_header_stdc=yes
5576 else
5577   echo "$as_me: failed program was:" >&5
5578 sed 's/^/| /' conftest.$ac_ext >&5
5579
5580 ac_cv_header_stdc=no
5581 fi
5582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5583
5584 if test $ac_cv_header_stdc = yes; then
5585   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5586   cat >conftest.$ac_ext <<_ACEOF
5587 /* confdefs.h.  */
5588 _ACEOF
5589 cat confdefs.h >>conftest.$ac_ext
5590 cat >>conftest.$ac_ext <<_ACEOF
5591 /* end confdefs.h.  */
5592 #include <string.h>
5593
5594 _ACEOF
5595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5596   $EGREP "memchr" >/dev/null 2>&1; then
5597   :
5598 else
5599   ac_cv_header_stdc=no
5600 fi
5601 rm -f conftest*
5602
5603 fi
5604
5605 if test $ac_cv_header_stdc = yes; then
5606   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5607   cat >conftest.$ac_ext <<_ACEOF
5608 /* confdefs.h.  */
5609 _ACEOF
5610 cat confdefs.h >>conftest.$ac_ext
5611 cat >>conftest.$ac_ext <<_ACEOF
5612 /* end confdefs.h.  */
5613 #include <stdlib.h>
5614
5615 _ACEOF
5616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5617   $EGREP "free" >/dev/null 2>&1; then
5618   :
5619 else
5620   ac_cv_header_stdc=no
5621 fi
5622 rm -f conftest*
5623
5624 fi
5625
5626 if test $ac_cv_header_stdc = yes; then
5627   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5628   if test "$cross_compiling" = yes; then
5629   :
5630 else
5631   cat >conftest.$ac_ext <<_ACEOF
5632 /* confdefs.h.  */
5633 _ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h.  */
5637 #include <ctype.h>
5638 #if ((' ' & 0x0FF) == 0x020)
5639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5641 #else
5642 # define ISLOWER(c) \
5643                    (('a' <= (c) && (c) <= 'i') \
5644                      || ('j' <= (c) && (c) <= 'r') \
5645                      || ('s' <= (c) && (c) <= 'z'))
5646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5647 #endif
5648
5649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5650 int
5651 main ()
5652 {
5653   int i;
5654   for (i = 0; i < 256; i++)
5655     if (XOR (islower (i), ISLOWER (i))
5656         || toupper (i) != TOUPPER (i))
5657       exit(2);
5658   exit (0);
5659 }
5660 _ACEOF
5661 rm -f conftest$ac_exeext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5663   (eval $ac_link) 2>&5
5664   ac_status=$?
5665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668   (eval $ac_try) 2>&5
5669   ac_status=$?
5670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671   (exit $ac_status); }; }; then
5672   :
5673 else
5674   echo "$as_me: program exited with status $ac_status" >&5
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5677
5678 ( exit $ac_status )
5679 ac_cv_header_stdc=no
5680 fi
5681 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5682 fi
5683 fi
5684 fi
5685 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5686 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5687 if test $ac_cv_header_stdc = yes; then
5688
5689 cat >>confdefs.h <<\_ACEOF
5690 #define STDC_HEADERS 1
5691 _ACEOF
5692
5693 fi
5694
5695 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5706                   inttypes.h stdint.h unistd.h
5707 do
5708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5709 echo "$as_me:$LINENO: checking for $ac_header" >&5
5710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5712   echo $ECHO_N "(cached) $ECHO_C" >&6
5713 else
5714   cat >conftest.$ac_ext <<_ACEOF
5715 /* confdefs.h.  */
5716 _ACEOF
5717 cat confdefs.h >>conftest.$ac_ext
5718 cat >>conftest.$ac_ext <<_ACEOF
5719 /* end confdefs.h.  */
5720 $ac_includes_default
5721
5722 #include <$ac_header>
5723 _ACEOF
5724 rm -f conftest.$ac_objext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5726   (eval $ac_compile) 2>conftest.er1
5727   ac_status=$?
5728   grep -v '^ *+' conftest.er1 >conftest.err
5729   rm -f conftest.er1
5730   cat conftest.err >&5
5731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732   (exit $ac_status); } &&
5733          { ac_try='test -z "$ac_c_werror_flag"
5734                          || test ! -s conftest.err'
5735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5736   (eval $ac_try) 2>&5
5737   ac_status=$?
5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739   (exit $ac_status); }; } &&
5740          { ac_try='test -s conftest.$ac_objext'
5741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742   (eval $ac_try) 2>&5
5743   ac_status=$?
5744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745   (exit $ac_status); }; }; then
5746   eval "$as_ac_Header=yes"
5747 else
5748   echo "$as_me: failed program was:" >&5
5749 sed 's/^/| /' conftest.$ac_ext >&5
5750
5751 eval "$as_ac_Header=no"
5752 fi
5753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5754 fi
5755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5758   cat >>confdefs.h <<_ACEOF
5759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5760 _ACEOF
5761
5762 fi
5763
5764 done
5765
5766
5767
5768   echo "$as_me:$LINENO: checking for C locale to use" >&5
5769 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5770    # Check whether --enable-clocale or --disable-clocale was given.
5771 if test "${enable_clocale+set}" = set; then
5772   enableval="$enable_clocale"
5773
5774       case "$enableval" in
5775        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5776        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5777 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5778    { (exit 1); exit 1; }; } ;;
5779                           esac
5780
5781 else
5782   enable_clocale=auto
5783 fi;
5784
5785
5786   # If they didn't use this option switch, or if they specified --enable
5787   # with no specific model, we'll have to look for one.  If they
5788   # specified --disable (???), do likewise.
5789   if test $enable_clocale = no || test $enable_clocale = yes; then
5790      enable_clocale=auto
5791   fi
5792
5793   # Either a known package, or "auto"
5794   enable_clocale_flag=$enable_clocale
5795
5796   # Probe for locale support if no specific model is specified.
5797   # Default to "generic".
5798   if test $enable_clocale_flag = auto; then
5799     case ${target_os} in
5800       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5801         cat >conftest.$ac_ext <<_ACEOF
5802 /* confdefs.h.  */
5803 _ACEOF
5804 cat confdefs.h >>conftest.$ac_ext
5805 cat >>conftest.$ac_ext <<_ACEOF
5806 /* end confdefs.h.  */
5807
5808         #include <features.h>
5809         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5810           _GLIBCXX_ok
5811         #endif
5812
5813 _ACEOF
5814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5815   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5816   enable_clocale_flag=gnu
5817 else
5818   enable_clocale_flag=generic
5819 fi
5820 rm -f conftest*
5821
5822
5823         # Test for bugs early in glibc-2.2.x series
5824           if test $enable_clocale_flag = gnu; then
5825           if test "$cross_compiling" = yes; then
5826   enable_clocale_flag=generic
5827 else
5828   cat >conftest.$ac_ext <<_ACEOF
5829 /* confdefs.h.  */
5830 _ACEOF
5831 cat confdefs.h >>conftest.$ac_ext
5832 cat >>conftest.$ac_ext <<_ACEOF
5833 /* end confdefs.h.  */
5834
5835           #define _GNU_SOURCE 1
5836           #include <locale.h>
5837           #include <string.h>
5838           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5839           extern __typeof(newlocale) __newlocale;
5840           extern __typeof(duplocale) __duplocale;
5841           extern __typeof(strcoll_l) __strcoll_l;
5842           #endif
5843           int main()
5844           {
5845               const char __one[] = "Äuglein Augmen";
5846               const char __two[] = "Äuglein";
5847               int i;
5848               int j;
5849               __locale_t        loc;
5850                __locale_t        loc_dup;
5851               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5852               loc_dup = __duplocale(loc);
5853               i = __strcoll_l(__one, __two, loc);
5854               j = __strcoll_l(__one, __two, loc_dup);
5855               return 0;
5856           }
5857
5858 _ACEOF
5859 rm -f conftest$ac_exeext
5860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5861   (eval $ac_link) 2>&5
5862   ac_status=$?
5863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866   (eval $ac_try) 2>&5
5867   ac_status=$?
5868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869   (exit $ac_status); }; }; then
5870   enable_clocale_flag=gnu
5871 else
5872   echo "$as_me: program exited with status $ac_status" >&5
5873 echo "$as_me: failed program was:" >&5
5874 sed 's/^/| /' conftest.$ac_ext >&5
5875
5876 ( exit $ac_status )
5877 enable_clocale_flag=generic
5878 fi
5879 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5880 fi
5881           fi
5882
5883         # ... at some point put __strxfrm_l tests in as well.
5884         ;;
5885       darwin* | freebsd*)
5886         enable_clocale_flag=darwin
5887         ;;
5888       *)
5889         enable_clocale_flag=generic
5890         ;;
5891     esac
5892   fi
5893
5894   # Deal with gettext issues.  Default to not using it (=no) until we detect
5895   # support for it later.  Let the user turn it off via --e/d, but let that
5896   # default to on for easier handling.
5897   USE_NLS=no
5898   # Check whether --enable-nls or --disable-nls was given.
5899 if test "${enable_nls+set}" = set; then
5900   enableval="$enable_nls"
5901
5902 else
5903   enable_nls=yes
5904 fi;
5905
5906   # Set configure bits for specified locale package
5907   case ${enable_clocale_flag} in
5908     generic)
5909       echo "$as_me:$LINENO: result: generic" >&5
5910 echo "${ECHO_T}generic" >&6
5911
5912       CLOCALE_H=config/locale/generic/c_locale.h
5913       CLOCALE_CC=config/locale/generic/c_locale.cc
5914       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5915       CCOLLATE_CC=config/locale/generic/collate_members.cc
5916       CCTYPE_CC=config/locale/generic/ctype_members.cc
5917       CMESSAGES_H=config/locale/generic/messages_members.h
5918       CMESSAGES_CC=config/locale/generic/messages_members.cc
5919       CMONEY_CC=config/locale/generic/monetary_members.cc
5920       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5921       CTIME_H=config/locale/generic/time_members.h
5922       CTIME_CC=config/locale/generic/time_members.cc
5923       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5924       ;;
5925     darwin)
5926       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5927 echo "${ECHO_T}darwin or freebsd" >&6
5928
5929       CLOCALE_H=config/locale/generic/c_locale.h
5930       CLOCALE_CC=config/locale/generic/c_locale.cc
5931       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5932       CCOLLATE_CC=config/locale/generic/collate_members.cc
5933       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5934       CMESSAGES_H=config/locale/generic/messages_members.h
5935       CMESSAGES_CC=config/locale/generic/messages_members.cc
5936       CMONEY_CC=config/locale/generic/monetary_members.cc
5937       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5938       CTIME_H=config/locale/generic/time_members.h
5939       CTIME_CC=config/locale/generic/time_members.cc
5940       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5941       ;;
5942
5943     gnu)
5944       echo "$as_me:$LINENO: result: gnu" >&5
5945 echo "${ECHO_T}gnu" >&6
5946
5947       # Declare intention to use gettext, and add support for specific
5948       # languages.
5949       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5950       ALL_LINGUAS="de fr"
5951
5952       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5953       # Extract the first word of "msgfmt", so it can be a program name with args.
5954 set dummy msgfmt; ac_word=$2
5955 echo "$as_me:$LINENO: checking for $ac_word" >&5
5956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5957 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5958   echo $ECHO_N "(cached) $ECHO_C" >&6
5959 else
5960   if test -n "$check_msgfmt"; then
5961   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5965 do
5966   IFS=$as_save_IFS
5967   test -z "$as_dir" && as_dir=.
5968   for ac_exec_ext in '' $ac_executable_extensions; do
5969   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970     ac_cv_prog_check_msgfmt="yes"
5971     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972     break 2
5973   fi
5974 done
5975 done
5976
5977   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5978 fi
5979 fi
5980 check_msgfmt=$ac_cv_prog_check_msgfmt
5981 if test -n "$check_msgfmt"; then
5982   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5983 echo "${ECHO_T}$check_msgfmt" >&6
5984 else
5985   echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5987 fi
5988
5989       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5990         USE_NLS=yes
5991       fi
5992       # Export the build objects.
5993       for ling in $ALL_LINGUAS; do \
5994         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5995         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5996       done
5997
5998
5999
6000       CLOCALE_H=config/locale/gnu/c_locale.h
6001       CLOCALE_CC=config/locale/gnu/c_locale.cc
6002       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6003       CCOLLATE_CC=config/locale/gnu/collate_members.cc
6004       CCTYPE_CC=config/locale/gnu/ctype_members.cc
6005       CMESSAGES_H=config/locale/gnu/messages_members.h
6006       CMESSAGES_CC=config/locale/gnu/messages_members.cc
6007       CMONEY_CC=config/locale/gnu/monetary_members.cc
6008       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6009       CTIME_H=config/locale/gnu/time_members.h
6010       CTIME_CC=config/locale/gnu/time_members.cc
6011       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6012       ;;
6013     ieee_1003.1-2001)
6014       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6015 echo "${ECHO_T}IEEE 1003.1" >&6
6016
6017       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6018       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6019       CCODECVT_CC=config/locale/generic/codecvt_members.cc
6020       CCOLLATE_CC=config/locale/generic/collate_members.cc
6021       CCTYPE_CC=config/locale/generic/ctype_members.cc
6022       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6023       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6024       CMONEY_CC=config/locale/generic/monetary_members.cc
6025       CNUMERIC_CC=config/locale/generic/numeric_members.cc
6026       CTIME_H=config/locale/generic/time_members.h
6027       CTIME_CC=config/locale/generic/time_members.cc
6028       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6029       ;;
6030   esac
6031
6032   # This is where the testsuite looks for locale catalogs, using the
6033   # -DLOCALEDIR define during testsuite compilation.
6034   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6035
6036
6037   # A standalone libintl (e.g., GNU libintl) may be in use.
6038   if test $USE_NLS = yes; then
6039
6040 for ac_header in libintl.h
6041 do
6042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6044   echo "$as_me:$LINENO: checking for $ac_header" >&5
6045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6047   echo $ECHO_N "(cached) $ECHO_C" >&6
6048 fi
6049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6051 else
6052   # Is the header compilable?
6053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6055 cat >conftest.$ac_ext <<_ACEOF
6056 /* confdefs.h.  */
6057 _ACEOF
6058 cat confdefs.h >>conftest.$ac_ext
6059 cat >>conftest.$ac_ext <<_ACEOF
6060 /* end confdefs.h.  */
6061 $ac_includes_default
6062 #include <$ac_header>
6063 _ACEOF
6064 rm -f conftest.$ac_objext
6065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6066   (eval $ac_compile) 2>conftest.er1
6067   ac_status=$?
6068   grep -v '^ *+' conftest.er1 >conftest.err
6069   rm -f conftest.er1
6070   cat conftest.err >&5
6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072   (exit $ac_status); } &&
6073          { ac_try='test -z "$ac_c_werror_flag"
6074                          || test ! -s conftest.err'
6075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076   (eval $ac_try) 2>&5
6077   ac_status=$?
6078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079   (exit $ac_status); }; } &&
6080          { ac_try='test -s conftest.$ac_objext'
6081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082   (eval $ac_try) 2>&5
6083   ac_status=$?
6084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085   (exit $ac_status); }; }; then
6086   ac_header_compiler=yes
6087 else
6088   echo "$as_me: failed program was:" >&5
6089 sed 's/^/| /' conftest.$ac_ext >&5
6090
6091 ac_header_compiler=no
6092 fi
6093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6095 echo "${ECHO_T}$ac_header_compiler" >&6
6096
6097 # Is the header present?
6098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6100 cat >conftest.$ac_ext <<_ACEOF
6101 /* confdefs.h.  */
6102 _ACEOF
6103 cat confdefs.h >>conftest.$ac_ext
6104 cat >>conftest.$ac_ext <<_ACEOF
6105 /* end confdefs.h.  */
6106 #include <$ac_header>
6107 _ACEOF
6108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6109   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6110   ac_status=$?
6111   grep -v '^ *+' conftest.er1 >conftest.err
6112   rm -f conftest.er1
6113   cat conftest.err >&5
6114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115   (exit $ac_status); } >/dev/null; then
6116   if test -s conftest.err; then
6117     ac_cpp_err=$ac_c_preproc_warn_flag
6118     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6119   else
6120     ac_cpp_err=
6121   fi
6122 else
6123   ac_cpp_err=yes
6124 fi
6125 if test -z "$ac_cpp_err"; then
6126   ac_header_preproc=yes
6127 else
6128   echo "$as_me: failed program was:" >&5
6129 sed 's/^/| /' conftest.$ac_ext >&5
6130
6131   ac_header_preproc=no
6132 fi
6133 rm -f conftest.err conftest.$ac_ext
6134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6135 echo "${ECHO_T}$ac_header_preproc" >&6
6136
6137 # So?  What about this header?
6138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6139   yes:no: )
6140     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6142     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6144     ac_header_preproc=yes
6145     ;;
6146   no:yes:* )
6147     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6149     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6150 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6151     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6153     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6154 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6155     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6157     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6159     (
6160       cat <<\_ASBOX
6161 ## ----------------------------------------- ##
6162 ## Report this to the package-unused lists.  ##
6163 ## ----------------------------------------- ##
6164 _ASBOX
6165     ) |
6166       sed "s/^/$as_me: WARNING:     /" >&2
6167     ;;
6168 esac
6169 echo "$as_me:$LINENO: checking for $ac_header" >&5
6170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6172   echo $ECHO_N "(cached) $ECHO_C" >&6
6173 else
6174   eval "$as_ac_Header=\$ac_header_preproc"
6175 fi
6176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6178
6179 fi
6180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6181   cat >>confdefs.h <<_ACEOF
6182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6183 _ACEOF
6184
6185 else
6186   USE_NLS=no
6187 fi
6188
6189 done
6190
6191     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6192 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6193 if test "${ac_cv_search_gettext+set}" = set; then
6194   echo $ECHO_N "(cached) $ECHO_C" >&6
6195 else
6196   ac_func_search_save_LIBS=$LIBS
6197 ac_cv_search_gettext=no
6198 if test x$gcc_no_link = xyes; then
6199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6201    { (exit 1); exit 1; }; }
6202 fi
6203 cat >conftest.$ac_ext <<_ACEOF
6204 /* confdefs.h.  */
6205 _ACEOF
6206 cat confdefs.h >>conftest.$ac_ext
6207 cat >>conftest.$ac_ext <<_ACEOF
6208 /* end confdefs.h.  */
6209
6210 /* Override any gcc2 internal prototype to avoid an error.  */
6211 #ifdef __cplusplus
6212 extern "C"
6213 #endif
6214 /* We use char because int might match the return type of a gcc2
6215    builtin and then its argument prototype would still apply.  */
6216 char gettext ();
6217 int
6218 main ()
6219 {
6220 gettext ();
6221   ;
6222   return 0;
6223 }
6224 _ACEOF
6225 rm -f conftest.$ac_objext conftest$ac_exeext
6226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6227   (eval $ac_link) 2>conftest.er1
6228   ac_status=$?
6229   grep -v '^ *+' conftest.er1 >conftest.err
6230   rm -f conftest.er1
6231   cat conftest.err >&5
6232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233   (exit $ac_status); } &&
6234          { ac_try='test -z "$ac_c_werror_flag"
6235                          || test ! -s conftest.err'
6236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237   (eval $ac_try) 2>&5
6238   ac_status=$?
6239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240   (exit $ac_status); }; } &&
6241          { ac_try='test -s conftest$ac_exeext'
6242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243   (eval $ac_try) 2>&5
6244   ac_status=$?
6245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246   (exit $ac_status); }; }; then
6247   ac_cv_search_gettext="none required"
6248 else
6249   echo "$as_me: failed program was:" >&5
6250 sed 's/^/| /' conftest.$ac_ext >&5
6251
6252 fi
6253 rm -f conftest.err conftest.$ac_objext \
6254       conftest$ac_exeext conftest.$ac_ext
6255 if test "$ac_cv_search_gettext" = no; then
6256   for ac_lib in intl; do
6257     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6258     if test x$gcc_no_link = xyes; then
6259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6261    { (exit 1); exit 1; }; }
6262 fi
6263 cat >conftest.$ac_ext <<_ACEOF
6264 /* confdefs.h.  */
6265 _ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h.  */
6269
6270 /* Override any gcc2 internal prototype to avoid an error.  */
6271 #ifdef __cplusplus
6272 extern "C"
6273 #endif
6274 /* We use char because int might match the return type of a gcc2
6275    builtin and then its argument prototype would still apply.  */
6276 char gettext ();
6277 int
6278 main ()
6279 {
6280 gettext ();
6281   ;
6282   return 0;
6283 }
6284 _ACEOF
6285 rm -f conftest.$ac_objext conftest$ac_exeext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6287   (eval $ac_link) 2>conftest.er1
6288   ac_status=$?
6289   grep -v '^ *+' conftest.er1 >conftest.err
6290   rm -f conftest.er1
6291   cat conftest.err >&5
6292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293   (exit $ac_status); } &&
6294          { ac_try='test -z "$ac_c_werror_flag"
6295                          || test ! -s conftest.err'
6296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6297   (eval $ac_try) 2>&5
6298   ac_status=$?
6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300   (exit $ac_status); }; } &&
6301          { ac_try='test -s conftest$ac_exeext'
6302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303   (eval $ac_try) 2>&5
6304   ac_status=$?
6305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306   (exit $ac_status); }; }; then
6307   ac_cv_search_gettext="-l$ac_lib"
6308 break
6309 else
6310   echo "$as_me: failed program was:" >&5
6311 sed 's/^/| /' conftest.$ac_ext >&5
6312
6313 fi
6314 rm -f conftest.err conftest.$ac_objext \
6315       conftest$ac_exeext conftest.$ac_ext
6316   done
6317 fi
6318 LIBS=$ac_func_search_save_LIBS
6319 fi
6320 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6321 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6322 if test "$ac_cv_search_gettext" != no; then
6323   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6324
6325 else
6326   USE_NLS=no
6327 fi
6328
6329   fi
6330   if test $USE_NLS = yes; then
6331
6332 cat >>confdefs.h <<\_ACEOF
6333 #define _GLIBCXX_USE_NLS 1
6334 _ACEOF
6335
6336   fi
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6354 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6355    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6356 if test "${enable_libstdcxx_allocator+set}" = set; then
6357   enableval="$enable_libstdcxx_allocator"
6358
6359       case "$enableval" in
6360        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6361        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6362 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6363    { (exit 1); exit 1; }; } ;;
6364                           esac
6365
6366 else
6367   enable_libstdcxx_allocator=auto
6368 fi;
6369
6370
6371   # If they didn't use this option switch, or if they specified --enable
6372   # with no specific model, we'll have to look for one.  If they
6373   # specified --disable (???), do likewise.
6374   if test $enable_libstdcxx_allocator = no ||
6375      test $enable_libstdcxx_allocator = yes;
6376   then
6377      enable_libstdcxx_allocator=auto
6378   fi
6379
6380   # Either a known package, or "auto". Auto implies the default choice
6381   # for a particular platform.
6382   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6383
6384   # Probe for host-specific support if no specific model is specified.
6385   # Default to "new".
6386   if test $enable_libstdcxx_allocator_flag = auto; then
6387     case ${target_os} in
6388       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6389         enable_libstdcxx_allocator_flag=new
6390         ;;
6391       *)
6392         enable_libstdcxx_allocator_flag=new
6393         ;;
6394     esac
6395   fi
6396   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6397 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6398
6399
6400   # Set configure bits for specified locale package
6401   case ${enable_libstdcxx_allocator_flag} in
6402     bitmap)
6403       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6404       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6405       ;;
6406     malloc)
6407       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6408       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6409       ;;
6410     mt)
6411       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6412       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6413       ;;
6414     new)
6415       ALLOCATOR_H=config/allocator/new_allocator_base.h
6416       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6417       ;;
6418     pool)
6419       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6420       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6421       ;;
6422   esac
6423
6424
6425
6426
6427
6428    # Check whether --enable-cheaders or --disable-cheaders was given.
6429 if test "${enable_cheaders+set}" = set; then
6430   enableval="$enable_cheaders"
6431
6432       case "$enableval" in
6433        c|c_std) ;;
6434        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6435 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6436    { (exit 1); exit 1; }; } ;;
6437                           esac
6438
6439 else
6440   enable_cheaders=$c_model
6441 fi;
6442
6443   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6444 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6445
6446   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6447
6448
6449
6450
6451
6452
6453    # Check whether --enable-long-long or --disable-long-long was given.
6454 if test "${enable_long_long+set}" = set; then
6455   enableval="$enable_long_long"
6456
6457       case "$enableval" in
6458        yes|no) ;;
6459        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6460 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6461    { (exit 1); exit 1; }; } ;;
6462       esac
6463
6464 else
6465   enable_long_long=yes
6466 fi;
6467
6468   if test $enable_long_long = yes; then
6469
6470 cat >>confdefs.h <<\_ACEOF
6471 #define _GLIBCXX_USE_LONG_LONG 1
6472 _ACEOF
6473
6474   fi
6475   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6476 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6477   echo "$as_me:$LINENO: result: $enable_long_long" >&5
6478 echo "${ECHO_T}$enable_long_long" >&6
6479
6480
6481
6482    # Check whether --enable-wchar_t or --disable-wchar_t was given.
6483 if test "${enable_wchar_t+set}" = set; then
6484   enableval="$enable_wchar_t"
6485
6486       case "$enableval" in
6487        yes|no) ;;
6488        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6489 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6490    { (exit 1); exit 1; }; } ;;
6491       esac
6492
6493 else
6494   enable_wchar_t=yes
6495 fi;
6496
6497
6498   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6499
6500 for ac_header in wchar.h
6501 do
6502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6504   echo "$as_me:$LINENO: checking for $ac_header" >&5
6505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6507   echo $ECHO_N "(cached) $ECHO_C" >&6
6508 fi
6509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6511 else
6512   # Is the header compilable?
6513 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6515 cat >conftest.$ac_ext <<_ACEOF
6516 /* confdefs.h.  */
6517 _ACEOF
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h.  */
6521 $ac_includes_default
6522 #include <$ac_header>
6523 _ACEOF
6524 rm -f conftest.$ac_objext
6525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6526   (eval $ac_compile) 2>conftest.er1
6527   ac_status=$?
6528   grep -v '^ *+' conftest.er1 >conftest.err
6529   rm -f conftest.er1
6530   cat conftest.err >&5
6531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532   (exit $ac_status); } &&
6533          { ac_try='test -z "$ac_c_werror_flag"
6534                          || test ! -s conftest.err'
6535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536   (eval $ac_try) 2>&5
6537   ac_status=$?
6538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539   (exit $ac_status); }; } &&
6540          { ac_try='test -s conftest.$ac_objext'
6541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542   (eval $ac_try) 2>&5
6543   ac_status=$?
6544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545   (exit $ac_status); }; }; then
6546   ac_header_compiler=yes
6547 else
6548   echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6550
6551 ac_header_compiler=no
6552 fi
6553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6555 echo "${ECHO_T}$ac_header_compiler" >&6
6556
6557 # Is the header present?
6558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6560 cat >conftest.$ac_ext <<_ACEOF
6561 /* confdefs.h.  */
6562 _ACEOF
6563 cat confdefs.h >>conftest.$ac_ext
6564 cat >>conftest.$ac_ext <<_ACEOF
6565 /* end confdefs.h.  */
6566 #include <$ac_header>
6567 _ACEOF
6568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6569   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6570   ac_status=$?
6571   grep -v '^ *+' conftest.er1 >conftest.err
6572   rm -f conftest.er1
6573   cat conftest.err >&5
6574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575   (exit $ac_status); } >/dev/null; then
6576   if test -s conftest.err; then
6577     ac_cpp_err=$ac_c_preproc_warn_flag
6578     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6579   else
6580     ac_cpp_err=
6581   fi
6582 else
6583   ac_cpp_err=yes
6584 fi
6585 if test -z "$ac_cpp_err"; then
6586   ac_header_preproc=yes
6587 else
6588   echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.$ac_ext >&5
6590
6591   ac_header_preproc=no
6592 fi
6593 rm -f conftest.err conftest.$ac_ext
6594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6595 echo "${ECHO_T}$ac_header_preproc" >&6
6596
6597 # So?  What about this header?
6598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6599   yes:no: )
6600     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6602     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6604     ac_header_preproc=yes
6605     ;;
6606   no:yes:* )
6607     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6609     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6610 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6611     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6613     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6614 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6615     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6617     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6619     (
6620       cat <<\_ASBOX
6621 ## ----------------------------------------- ##
6622 ## Report this to the package-unused lists.  ##
6623 ## ----------------------------------------- ##
6624 _ASBOX
6625     ) |
6626       sed "s/^/$as_me: WARNING:     /" >&2
6627     ;;
6628 esac
6629 echo "$as_me:$LINENO: checking for $ac_header" >&5
6630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6632   echo $ECHO_N "(cached) $ECHO_C" >&6
6633 else
6634   eval "$as_ac_Header=\$ac_header_preproc"
6635 fi
6636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6638
6639 fi
6640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6641   cat >>confdefs.h <<_ACEOF
6642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6643 _ACEOF
6644  ac_has_wchar_h=yes
6645 else
6646   ac_has_wchar_h=no
6647 fi
6648
6649 done
6650
6651   echo "$as_me:$LINENO: checking for mbstate_t" >&5
6652 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6653   cat >conftest.$ac_ext <<_ACEOF
6654 /* confdefs.h.  */
6655 _ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h.  */
6659 #include <wchar.h>
6660 int
6661 main ()
6662 {
6663 mbstate_t teststate;
6664   ;
6665   return 0;
6666 }
6667 _ACEOF
6668 rm -f conftest.$ac_objext
6669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6670   (eval $ac_compile) 2>conftest.er1
6671   ac_status=$?
6672   grep -v '^ *+' conftest.er1 >conftest.err
6673   rm -f conftest.er1
6674   cat conftest.err >&5
6675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676   (exit $ac_status); } &&
6677          { ac_try='test -z "$ac_c_werror_flag"
6678                          || test ! -s conftest.err'
6679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680   (eval $ac_try) 2>&5
6681   ac_status=$?
6682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683   (exit $ac_status); }; } &&
6684          { ac_try='test -s conftest.$ac_objext'
6685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686   (eval $ac_try) 2>&5
6687   ac_status=$?
6688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689   (exit $ac_status); }; }; then
6690   have_mbstate_t=yes
6691 else
6692   echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6694
6695 have_mbstate_t=no
6696 fi
6697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6698   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6699 echo "${ECHO_T}$have_mbstate_t" >&6
6700   if test x"$have_mbstate_t" = xyes; then
6701
6702 cat >>confdefs.h <<\_ACEOF
6703 #define HAVE_MBSTATE_T 1
6704 _ACEOF
6705
6706   fi
6707
6708   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6709   # ac_has_wchar_h.
6710
6711 for ac_header in wctype.h
6712 do
6713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6715   echo "$as_me:$LINENO: checking for $ac_header" >&5
6716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6718   echo $ECHO_N "(cached) $ECHO_C" >&6
6719 fi
6720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6722 else
6723   # Is the header compilable?
6724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6726 cat >conftest.$ac_ext <<_ACEOF
6727 /* confdefs.h.  */
6728 _ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h.  */
6732 $ac_includes_default
6733 #include <$ac_header>
6734 _ACEOF
6735 rm -f conftest.$ac_objext
6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6737   (eval $ac_compile) 2>conftest.er1
6738   ac_status=$?
6739   grep -v '^ *+' conftest.er1 >conftest.err
6740   rm -f conftest.er1
6741   cat conftest.err >&5
6742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743   (exit $ac_status); } &&
6744          { ac_try='test -z "$ac_c_werror_flag"
6745                          || test ! -s conftest.err'
6746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747   (eval $ac_try) 2>&5
6748   ac_status=$?
6749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750   (exit $ac_status); }; } &&
6751          { ac_try='test -s conftest.$ac_objext'
6752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753   (eval $ac_try) 2>&5
6754   ac_status=$?
6755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756   (exit $ac_status); }; }; then
6757   ac_header_compiler=yes
6758 else
6759   echo "$as_me: failed program was:" >&5
6760 sed 's/^/| /' conftest.$ac_ext >&5
6761
6762 ac_header_compiler=no
6763 fi
6764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6766 echo "${ECHO_T}$ac_header_compiler" >&6
6767
6768 # Is the header present?
6769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6771 cat >conftest.$ac_ext <<_ACEOF
6772 /* confdefs.h.  */
6773 _ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h.  */
6777 #include <$ac_header>
6778 _ACEOF
6779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6780   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6781   ac_status=$?
6782   grep -v '^ *+' conftest.er1 >conftest.err
6783   rm -f conftest.er1
6784   cat conftest.err >&5
6785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786   (exit $ac_status); } >/dev/null; then
6787   if test -s conftest.err; then
6788     ac_cpp_err=$ac_c_preproc_warn_flag
6789     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6790   else
6791     ac_cpp_err=
6792   fi
6793 else
6794   ac_cpp_err=yes
6795 fi
6796 if test -z "$ac_cpp_err"; then
6797   ac_header_preproc=yes
6798 else
6799   echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6801
6802   ac_header_preproc=no
6803 fi
6804 rm -f conftest.err conftest.$ac_ext
6805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6806 echo "${ECHO_T}$ac_header_preproc" >&6
6807
6808 # So?  What about this header?
6809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6810   yes:no: )
6811     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6813     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6815     ac_header_preproc=yes
6816     ;;
6817   no:yes:* )
6818     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6820     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6821 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6822     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6824     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6825 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6826     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6828     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6830     (
6831       cat <<\_ASBOX
6832 ## ----------------------------------------- ##
6833 ## Report this to the package-unused lists.  ##
6834 ## ----------------------------------------- ##
6835 _ASBOX
6836     ) |
6837       sed "s/^/$as_me: WARNING:     /" >&2
6838     ;;
6839 esac
6840 echo "$as_me:$LINENO: checking for $ac_header" >&5
6841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6843   echo $ECHO_N "(cached) $ECHO_C" >&6
6844 else
6845   eval "$as_ac_Header=\$ac_header_preproc"
6846 fi
6847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6849
6850 fi
6851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6852   cat >>confdefs.h <<_ACEOF
6853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6854 _ACEOF
6855  ac_has_wctype_h=yes
6856 else
6857   ac_has_wctype_h=no
6858 fi
6859
6860 done
6861
6862
6863   if test x"$enable_wchar_t" = x"yes"; then
6864
6865
6866
6867     ac_ext=cc
6868 ac_cpp='$CXXCPP $CPPFLAGS'
6869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6872
6873
6874     if test x"$ac_has_wchar_h" = xyes &&
6875        test x"$ac_has_wctype_h" = xyes; then
6876       cat >conftest.$ac_ext <<_ACEOF
6877 /* confdefs.h.  */
6878 _ACEOF
6879 cat confdefs.h >>conftest.$ac_ext
6880 cat >>conftest.$ac_ext <<_ACEOF
6881 /* end confdefs.h.  */
6882 #include <wchar.h>
6883                       #include <stddef.h>
6884                       wint_t i;
6885                       long l = WEOF;
6886                       long j = WCHAR_MIN;
6887                       long k = WCHAR_MAX;
6888                       namespace test
6889                       {
6890                         using ::btowc;
6891                         using ::fgetwc;
6892                         using ::fgetws;
6893                         using ::fputwc;
6894                         using ::fputws;
6895                         using ::fwide;
6896                         using ::fwprintf;
6897                         using ::fwscanf;
6898                         using ::getwc;
6899                         using ::getwchar;
6900                         using ::mbrlen;
6901                         using ::mbrtowc;
6902                         using ::mbsinit;
6903                         using ::mbsrtowcs;
6904                         using ::putwc;
6905                         using ::putwchar;
6906                         using ::swprintf;
6907                         using ::swscanf;
6908                         using ::ungetwc;
6909                         using ::vfwprintf;
6910                         using ::vswprintf;
6911                         using ::vwprintf;
6912                         using ::wcrtomb;
6913                         using ::wcscat;
6914                         using ::wcschr;
6915                         using ::wcscmp;
6916                         using ::wcscoll;
6917                         using ::wcscpy;
6918                         using ::wcscspn;
6919                         using ::wcsftime;
6920                         using ::wcslen;
6921                         using ::wcsncat;
6922                         using ::wcsncmp;
6923                         using ::wcsncpy;
6924                         using ::wcspbrk;
6925                         using ::wcsrchr;
6926                         using ::wcsrtombs;
6927                         using ::wcsspn;
6928                         using ::wcsstr;
6929                         using ::wcstod;
6930                         using ::wcstok;
6931                         using ::wcstol;
6932                         using ::wcstoul;
6933                         using ::wcsxfrm;
6934                         using ::wctob;
6935                         using ::wmemchr;
6936                         using ::wmemcmp;
6937                         using ::wmemcpy;
6938                         using ::wmemmove;
6939                         using ::wmemset;
6940                         using ::wprintf;
6941                         using ::wscanf;
6942                       }
6943
6944 int
6945 main ()
6946 {
6947
6948   ;
6949   return 0;
6950 }
6951 _ACEOF
6952 rm -f conftest.$ac_objext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6954   (eval $ac_compile) 2>conftest.er1
6955   ac_status=$?
6956   grep -v '^ *+' conftest.er1 >conftest.err
6957   rm -f conftest.er1
6958   cat conftest.err >&5
6959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960   (exit $ac_status); } &&
6961          { ac_try='test -z "$ac_cxx_werror_flag"
6962                          || test ! -s conftest.err'
6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964   (eval $ac_try) 2>&5
6965   ac_status=$?
6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967   (exit $ac_status); }; } &&
6968          { ac_try='test -s conftest.$ac_objext'
6969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970   (eval $ac_try) 2>&5
6971   ac_status=$?
6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973   (exit $ac_status); }; }; then
6974   :
6975 else
6976   echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6978
6979 enable_wchar_t=no
6980 fi
6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6982     else
6983       enable_wchar_t=no
6984     fi
6985
6986     ac_ext=c
6987 ac_cpp='$CPP $CPPFLAGS'
6988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6991
6992   fi
6993
6994   if test x"$enable_wchar_t" = x"yes"; then
6995
6996 cat >>confdefs.h <<\_ACEOF
6997 #define _GLIBCXX_USE_WCHAR_T 1
6998 _ACEOF
6999
7000   fi
7001
7002   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7003 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7004   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7005 echo "${ECHO_T}$enable_wchar_t" >&6
7006
7007
7008
7009    # Check whether --enable-c99 or --disable-c99 was given.
7010 if test "${enable_c99+set}" = set; then
7011   enableval="$enable_c99"
7012
7013       case "$enableval" in
7014        yes|no) ;;
7015        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7016 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7017    { (exit 1); exit 1; }; } ;;
7018       esac
7019
7020 else
7021   enable_c99=yes
7022 fi;
7023
7024
7025   if test x"$enable_c99" = x"yes"; then
7026
7027
7028
7029   ac_ext=cc
7030 ac_cpp='$CXXCPP $CPPFLAGS'
7031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7034
7035
7036   # Check for the existence of <math.h> functions used if C99 is enabled.
7037   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7038 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7039   if test "${ac_c99_math+set}" = set; then
7040   echo $ECHO_N "(cached) $ECHO_C" >&6
7041 else
7042
7043   cat >conftest.$ac_ext <<_ACEOF
7044 /* confdefs.h.  */
7045 _ACEOF
7046 cat confdefs.h >>conftest.$ac_ext
7047 cat >>conftest.$ac_ext <<_ACEOF
7048 /* end confdefs.h.  */
7049 #include <math.h>
7050 int
7051 main ()
7052 {
7053 fpclassify(0.0);
7054                   isfinite(0.0);
7055                   isinf(0.0);
7056                   isnan(0.0);
7057                   isnormal(0.0);
7058                   signbit(0.0);
7059                   isgreater(0.0,0.0);
7060                   isgreaterequal(0.0,0.0);
7061                   isless(0.0,0.0);
7062                   islessequal(0.0,0.0);
7063                   islessgreater(0.0,0.0);
7064                   islessgreater(0.0,0.0);
7065                   isunordered(0.0,0.0);
7066
7067   ;
7068   return 0;
7069 }
7070 _ACEOF
7071 rm -f conftest.$ac_objext
7072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7073   (eval $ac_compile) 2>conftest.er1
7074   ac_status=$?
7075   grep -v '^ *+' conftest.er1 >conftest.err
7076   rm -f conftest.er1
7077   cat conftest.err >&5
7078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079   (exit $ac_status); } &&
7080          { ac_try='test -z "$ac_cxx_werror_flag"
7081                          || test ! -s conftest.err'
7082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083   (eval $ac_try) 2>&5
7084   ac_status=$?
7085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086   (exit $ac_status); }; } &&
7087          { ac_try='test -s conftest.$ac_objext'
7088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089   (eval $ac_try) 2>&5
7090   ac_status=$?
7091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092   (exit $ac_status); }; }; then
7093   ac_c99_math=yes
7094 else
7095   echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7097
7098 ac_c99_math=no
7099 fi
7100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7101
7102 fi
7103
7104   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7105 echo "${ECHO_T}$ac_c99_math" >&6
7106   if test x"$ac_c99_math" = x"yes"; then
7107
7108 cat >>confdefs.h <<\_ACEOF
7109 #define _GLIBCXX_USE_C99_MATH 1
7110 _ACEOF
7111
7112   fi
7113
7114   # Check for the existence of <complex.h> complex math functions.
7115   # This is necessary even though libstdc++ uses the builtin versions
7116   # of these functions, because if the builtin cannot be used, a reference
7117   # to the library function is emitted.
7118
7119 for ac_header in complex.h
7120 do
7121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7123   echo "$as_me:$LINENO: checking for $ac_header" >&5
7124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7126   echo $ECHO_N "(cached) $ECHO_C" >&6
7127 fi
7128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7130 else
7131   # Is the header compilable?
7132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7134 cat >conftest.$ac_ext <<_ACEOF
7135 /* confdefs.h.  */
7136 _ACEOF
7137 cat confdefs.h >>conftest.$ac_ext
7138 cat >>conftest.$ac_ext <<_ACEOF
7139 /* end confdefs.h.  */
7140 $ac_includes_default
7141 #include <$ac_header>
7142 _ACEOF
7143 rm -f conftest.$ac_objext
7144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7145   (eval $ac_compile) 2>conftest.er1
7146   ac_status=$?
7147   grep -v '^ *+' conftest.er1 >conftest.err
7148   rm -f conftest.er1
7149   cat conftest.err >&5
7150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151   (exit $ac_status); } &&
7152          { ac_try='test -z "$ac_cxx_werror_flag"
7153                          || test ! -s conftest.err'
7154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155   (eval $ac_try) 2>&5
7156   ac_status=$?
7157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158   (exit $ac_status); }; } &&
7159          { ac_try='test -s conftest.$ac_objext'
7160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161   (eval $ac_try) 2>&5
7162   ac_status=$?
7163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164   (exit $ac_status); }; }; then
7165   ac_header_compiler=yes
7166 else
7167   echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7169
7170 ac_header_compiler=no
7171 fi
7172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7174 echo "${ECHO_T}$ac_header_compiler" >&6
7175
7176 # Is the header present?
7177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7180 /* confdefs.h.  */
7181 _ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h.  */
7185 #include <$ac_header>
7186 _ACEOF
7187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7188   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7189   ac_status=$?
7190   grep -v '^ *+' conftest.er1 >conftest.err
7191   rm -f conftest.er1
7192   cat conftest.err >&5
7193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194   (exit $ac_status); } >/dev/null; then
7195   if test -s conftest.err; then
7196     ac_cpp_err=$ac_cxx_preproc_warn_flag
7197     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7198   else
7199     ac_cpp_err=
7200   fi
7201 else
7202   ac_cpp_err=yes
7203 fi
7204 if test -z "$ac_cpp_err"; then
7205   ac_header_preproc=yes
7206 else
7207   echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5
7209
7210   ac_header_preproc=no
7211 fi
7212 rm -f conftest.err conftest.$ac_ext
7213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7214 echo "${ECHO_T}$ac_header_preproc" >&6
7215
7216 # So?  What about this header?
7217 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7218   yes:no: )
7219     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7221     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7223     ac_header_preproc=yes
7224     ;;
7225   no:yes:* )
7226     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7228     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7229 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7230     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7232     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7233 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7234     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7236     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7238     (
7239       cat <<\_ASBOX
7240 ## ----------------------------------------- ##
7241 ## Report this to the package-unused lists.  ##
7242 ## ----------------------------------------- ##
7243 _ASBOX
7244     ) |
7245       sed "s/^/$as_me: WARNING:     /" >&2
7246     ;;
7247 esac
7248 echo "$as_me:$LINENO: checking for $ac_header" >&5
7249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7251   echo $ECHO_N "(cached) $ECHO_C" >&6
7252 else
7253   eval "$as_ac_Header=\$ac_header_preproc"
7254 fi
7255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7257
7258 fi
7259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7260   cat >>confdefs.h <<_ACEOF
7261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7262 _ACEOF
7263  ac_has_complex_h=yes
7264 else
7265   ac_has_complex_h=no
7266 fi
7267
7268 done
7269
7270   ac_c99_complex=no;
7271   if test x"$ac_has_complex_h" = x"yes"; then
7272     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7273 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7274     cat >conftest.$ac_ext <<_ACEOF
7275 /* confdefs.h.  */
7276 _ACEOF
7277 cat confdefs.h >>conftest.$ac_ext
7278 cat >>conftest.$ac_ext <<_ACEOF
7279 /* end confdefs.h.  */
7280 #include <complex.h>
7281 int
7282 main ()
7283 {
7284 typedef __complex__ float float_type; float_type tmpf;
7285                     cabsf(tmpf);
7286                     cargf(tmpf);
7287                     ccosf(tmpf);
7288                     ccoshf(tmpf);
7289                     cexpf(tmpf);
7290                     clogf(tmpf);
7291                     csinf(tmpf);
7292                     csinhf(tmpf);
7293                     csqrtf(tmpf);
7294                     ctanf(tmpf);
7295                     ctanhf(tmpf);
7296                     cpowf(tmpf, tmpf);
7297                     typedef __complex__ double double_type; double_type tmpd;
7298                     cabs(tmpd);
7299                     carg(tmpd);
7300                     ccos(tmpd);
7301                     ccosh(tmpd);
7302                     cexp(tmpd);
7303                     clog(tmpd);
7304                     csin(tmpd);
7305                     csinh(tmpd);
7306                     csqrt(tmpd);
7307                     ctan(tmpd);
7308                     ctanh(tmpd);
7309                     cpow(tmpd, tmpd);
7310                     typedef __complex__ long double ld_type; ld_type tmpld;
7311                     cabsl(tmpld);
7312                     cargl(tmpld);
7313                     ccosl(tmpld);
7314                     ccoshl(tmpld);
7315                     cexpl(tmpld);
7316                     clogl(tmpld);
7317                     csinl(tmpld);
7318                     csinhl(tmpld);
7319                     csqrtl(tmpld);
7320                     ctanl(tmpld);
7321                     ctanhl(tmpld);
7322                     cpowl(tmpld, tmpld);
7323
7324   ;
7325   return 0;
7326 }
7327 _ACEOF
7328 rm -f conftest.$ac_objext
7329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7330   (eval $ac_compile) 2>conftest.er1
7331   ac_status=$?
7332   grep -v '^ *+' conftest.er1 >conftest.err
7333   rm -f conftest.er1
7334   cat conftest.err >&5
7335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336   (exit $ac_status); } &&
7337          { ac_try='test -z "$ac_cxx_werror_flag"
7338                          || test ! -s conftest.err'
7339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7340   (eval $ac_try) 2>&5
7341   ac_status=$?
7342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343   (exit $ac_status); }; } &&
7344          { ac_try='test -s conftest.$ac_objext'
7345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346   (eval $ac_try) 2>&5
7347   ac_status=$?
7348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349   (exit $ac_status); }; }; then
7350   ac_c99_complex=yes
7351 else
7352   echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7354
7355 ac_c99_complex=no
7356 fi
7357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7358   fi
7359   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7360 echo "${ECHO_T}$ac_c99_complex" >&6
7361   if test x"$ac_c99_complex" = x"yes"; then
7362
7363 cat >>confdefs.h <<\_ACEOF
7364 #define _GLIBCXX_USE_C99_COMPLEX 1
7365 _ACEOF
7366
7367   fi
7368
7369   # Check for the existence in <stdio.h> of vscanf, et. al.
7370   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7371 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7372   if test "${ac_c99_stdio+set}" = set; then
7373   echo $ECHO_N "(cached) $ECHO_C" >&6
7374 else
7375
7376   cat >conftest.$ac_ext <<_ACEOF
7377 /* confdefs.h.  */
7378 _ACEOF
7379 cat confdefs.h >>conftest.$ac_ext
7380 cat >>conftest.$ac_ext <<_ACEOF
7381 /* end confdefs.h.  */
7382 #include <stdio.h>
7383                   #include <stdarg.h>
7384                   void foo(char* fmt, ...)
7385                   {
7386                     va_list args; va_start(args, fmt);
7387                     vfscanf(stderr, "%i", args);
7388                     vscanf("%i", args);
7389                     vsnprintf(fmt, 0, "%i", args);
7390                     vsscanf(fmt, "%i", args);
7391                   }
7392 int
7393 main ()
7394 {
7395 snprintf("12", 0, "%i");
7396   ;
7397   return 0;
7398 }
7399 _ACEOF
7400 rm -f conftest.$ac_objext
7401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7402   (eval $ac_compile) 2>conftest.er1
7403   ac_status=$?
7404   grep -v '^ *+' conftest.er1 >conftest.err
7405   rm -f conftest.er1
7406   cat conftest.err >&5
7407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408   (exit $ac_status); } &&
7409          { ac_try='test -z "$ac_cxx_werror_flag"
7410                          || test ! -s conftest.err'
7411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7412   (eval $ac_try) 2>&5
7413   ac_status=$?
7414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415   (exit $ac_status); }; } &&
7416          { ac_try='test -s conftest.$ac_objext'
7417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7418   (eval $ac_try) 2>&5
7419   ac_status=$?
7420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421   (exit $ac_status); }; }; then
7422   ac_c99_stdio=yes
7423 else
7424   echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7426
7427 ac_c99_stdio=no
7428 fi
7429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7430
7431 fi
7432
7433   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7434 echo "${ECHO_T}$ac_c99_stdio" >&6
7435
7436   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7437   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7438 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7439   if test "${ac_c99_stdlib+set}" = set; then
7440   echo $ECHO_N "(cached) $ECHO_C" >&6
7441 else
7442
7443   cat >conftest.$ac_ext <<_ACEOF
7444 /* confdefs.h.  */
7445 _ACEOF
7446 cat confdefs.h >>conftest.$ac_ext
7447 cat >>conftest.$ac_ext <<_ACEOF
7448 /* end confdefs.h.  */
7449 #include <stdlib.h>
7450 int
7451 main ()
7452 {
7453 char* tmp;
7454                   strtof("gnu", &tmp);
7455                   strtold("gnu", &tmp);
7456                   strtoll("gnu", &tmp, 10);
7457                   strtoull("gnu", &tmp, 10);
7458                   llabs(10);
7459                   lldiv(10,1);
7460                   atoll("10");
7461                   _Exit(0);
7462                   lldiv_t mydivt;
7463   ;
7464   return 0;
7465 }
7466 _ACEOF
7467 rm -f conftest.$ac_objext
7468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7469   (eval $ac_compile) 2>conftest.er1
7470   ac_status=$?
7471   grep -v '^ *+' conftest.er1 >conftest.err
7472   rm -f conftest.er1
7473   cat conftest.err >&5
7474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475   (exit $ac_status); } &&
7476          { ac_try='test -z "$ac_cxx_werror_flag"
7477                          || test ! -s conftest.err'
7478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479   (eval $ac_try) 2>&5
7480   ac_status=$?
7481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482   (exit $ac_status); }; } &&
7483          { ac_try='test -s conftest.$ac_objext'
7484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485   (eval $ac_try) 2>&5
7486   ac_status=$?
7487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488   (exit $ac_status); }; }; then
7489   ac_c99_stdlib=yes
7490 else
7491   echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.$ac_ext >&5
7493
7494 ac_c99_stdlib=no
7495 fi
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7497
7498 fi
7499
7500   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7501 echo "${ECHO_T}$ac_c99_stdlib" >&6
7502
7503   # Check for the existence in <wchar.h> of wcstold, etc.
7504   ac_c99_wchar=no;
7505   if test x"$ac_has_wchar_h" = xyes &&
7506      test x"$ac_has_wctype_h" = xyes; then
7507     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7508 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7509     cat >conftest.$ac_ext <<_ACEOF
7510 /* confdefs.h.  */
7511 _ACEOF
7512 cat confdefs.h >>conftest.$ac_ext
7513 cat >>conftest.$ac_ext <<_ACEOF
7514 /* end confdefs.h.  */
7515 #include <wchar.h>
7516                     namespace test
7517                     {
7518                       using ::wcstold;
7519                       using ::wcstoll;
7520                       using ::wcstoull;
7521                     }
7522
7523 int
7524 main ()
7525 {
7526
7527   ;
7528   return 0;
7529 }
7530 _ACEOF
7531 rm -f conftest.$ac_objext
7532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7533   (eval $ac_compile) 2>conftest.er1
7534   ac_status=$?
7535   grep -v '^ *+' conftest.er1 >conftest.err
7536   rm -f conftest.er1
7537   cat conftest.err >&5
7538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539   (exit $ac_status); } &&
7540          { ac_try='test -z "$ac_cxx_werror_flag"
7541                          || test ! -s conftest.err'
7542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543   (eval $ac_try) 2>&5
7544   ac_status=$?
7545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546   (exit $ac_status); }; } &&
7547          { ac_try='test -s conftest.$ac_objext'
7548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549   (eval $ac_try) 2>&5
7550   ac_status=$?
7551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552   (exit $ac_status); }; }; then
7553   ac_c99_wchar=yes
7554 else
7555   echo "$as_me: failed program was:" >&5
7556 sed 's/^/| /' conftest.$ac_ext >&5
7557
7558 ac_c99_wchar=no
7559 fi
7560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7561
7562     # Checks for wide character functions that may not be present.
7563     # Injection of these is wrapped with guard macros.
7564     # NB: only put functions here, instead of immediately above, if
7565     # absolutely necessary.
7566     cat >conftest.$ac_ext <<_ACEOF
7567 /* confdefs.h.  */
7568 _ACEOF
7569 cat confdefs.h >>conftest.$ac_ext
7570 cat >>conftest.$ac_ext <<_ACEOF
7571 /* end confdefs.h.  */
7572 #include <wchar.h>
7573                     namespace test { using ::vfwscanf; }
7574 int
7575 main ()
7576 {
7577
7578   ;
7579   return 0;
7580 }
7581 _ACEOF
7582 rm -f conftest.$ac_objext
7583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7584   (eval $ac_compile) 2>conftest.er1
7585   ac_status=$?
7586   grep -v '^ *+' conftest.er1 >conftest.err
7587   rm -f conftest.er1
7588   cat conftest.err >&5
7589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590   (exit $ac_status); } &&
7591          { ac_try='test -z "$ac_cxx_werror_flag"
7592                          || test ! -s conftest.err'
7593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594   (eval $ac_try) 2>&5
7595   ac_status=$?
7596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597   (exit $ac_status); }; } &&
7598          { ac_try='test -s conftest.$ac_objext'
7599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600   (eval $ac_try) 2>&5
7601   ac_status=$?
7602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603   (exit $ac_status); }; }; then
7604
7605 cat >>confdefs.h <<\_ACEOF
7606 #define HAVE_VFWSCANF 1
7607 _ACEOF
7608
7609 else
7610   echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7612
7613 fi
7614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7615
7616     cat >conftest.$ac_ext <<_ACEOF
7617 /* confdefs.h.  */
7618 _ACEOF
7619 cat confdefs.h >>conftest.$ac_ext
7620 cat >>conftest.$ac_ext <<_ACEOF
7621 /* end confdefs.h.  */
7622 #include <wchar.h>
7623                     namespace test { using ::vswscanf; }
7624 int
7625 main ()
7626 {
7627
7628   ;
7629   return 0;
7630 }
7631 _ACEOF
7632 rm -f conftest.$ac_objext
7633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7634   (eval $ac_compile) 2>conftest.er1
7635   ac_status=$?
7636   grep -v '^ *+' conftest.er1 >conftest.err
7637   rm -f conftest.er1
7638   cat conftest.err >&5
7639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640   (exit $ac_status); } &&
7641          { ac_try='test -z "$ac_cxx_werror_flag"
7642                          || test ! -s conftest.err'
7643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644   (eval $ac_try) 2>&5
7645   ac_status=$?
7646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647   (exit $ac_status); }; } &&
7648          { ac_try='test -s conftest.$ac_objext'
7649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650   (eval $ac_try) 2>&5
7651   ac_status=$?
7652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653   (exit $ac_status); }; }; then
7654
7655 cat >>confdefs.h <<\_ACEOF
7656 #define HAVE_VSWSCANF 1
7657 _ACEOF
7658
7659 else
7660   echo "$as_me: failed program was:" >&5
7661 sed 's/^/| /' conftest.$ac_ext >&5
7662
7663 fi
7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665
7666     cat >conftest.$ac_ext <<_ACEOF
7667 /* confdefs.h.  */
7668 _ACEOF
7669 cat confdefs.h >>conftest.$ac_ext
7670 cat >>conftest.$ac_ext <<_ACEOF
7671 /* end confdefs.h.  */
7672 #include <wchar.h>
7673                     namespace test { using ::vwscanf; }
7674 int
7675 main ()
7676 {
7677
7678   ;
7679   return 0;
7680 }
7681 _ACEOF
7682 rm -f conftest.$ac_objext
7683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7684   (eval $ac_compile) 2>conftest.er1
7685   ac_status=$?
7686   grep -v '^ *+' conftest.er1 >conftest.err
7687   rm -f conftest.er1
7688   cat conftest.err >&5
7689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690   (exit $ac_status); } &&
7691          { ac_try='test -z "$ac_cxx_werror_flag"
7692                          || test ! -s conftest.err'
7693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7694   (eval $ac_try) 2>&5
7695   ac_status=$?
7696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697   (exit $ac_status); }; } &&
7698          { ac_try='test -s conftest.$ac_objext'
7699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700   (eval $ac_try) 2>&5
7701   ac_status=$?
7702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703   (exit $ac_status); }; }; then
7704
7705 cat >>confdefs.h <<\_ACEOF
7706 #define HAVE_VWSCANF 1
7707 _ACEOF
7708
7709 else
7710   echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.$ac_ext >&5
7712
7713 fi
7714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7715
7716     cat >conftest.$ac_ext <<_ACEOF
7717 /* confdefs.h.  */
7718 _ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h.  */
7722 #include <wchar.h>
7723                     namespace test { using ::wcstof; }
7724 int
7725 main ()
7726 {
7727
7728   ;
7729   return 0;
7730 }
7731 _ACEOF
7732 rm -f conftest.$ac_objext
7733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7734   (eval $ac_compile) 2>conftest.er1
7735   ac_status=$?
7736   grep -v '^ *+' conftest.er1 >conftest.err
7737   rm -f conftest.er1
7738   cat conftest.err >&5
7739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740   (exit $ac_status); } &&
7741          { ac_try='test -z "$ac_cxx_werror_flag"
7742                          || test ! -s conftest.err'
7743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744   (eval $ac_try) 2>&5
7745   ac_status=$?
7746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747   (exit $ac_status); }; } &&
7748          { ac_try='test -s conftest.$ac_objext'
7749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750   (eval $ac_try) 2>&5
7751   ac_status=$?
7752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753   (exit $ac_status); }; }; then
7754
7755 cat >>confdefs.h <<\_ACEOF
7756 #define HAVE_WCSTOF 1
7757 _ACEOF
7758
7759 else
7760   echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.$ac_ext >&5
7762
7763 fi
7764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7765
7766     cat >conftest.$ac_ext <<_ACEOF
7767 /* confdefs.h.  */
7768 _ACEOF
7769 cat confdefs.h >>conftest.$ac_ext
7770 cat >>conftest.$ac_ext <<_ACEOF
7771 /* end confdefs.h.  */
7772 #include <wctype.h>
7773 int
7774 main ()
7775 {
7776  wint_t t; int i = iswblank(t);
7777   ;
7778   return 0;
7779 }
7780 _ACEOF
7781 rm -f conftest.$ac_objext
7782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7783   (eval $ac_compile) 2>conftest.er1
7784   ac_status=$?
7785   grep -v '^ *+' conftest.er1 >conftest.err
7786   rm -f conftest.er1
7787   cat conftest.err >&5
7788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789   (exit $ac_status); } &&
7790          { ac_try='test -z "$ac_cxx_werror_flag"
7791                          || test ! -s conftest.err'
7792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7793   (eval $ac_try) 2>&5
7794   ac_status=$?
7795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796   (exit $ac_status); }; } &&
7797          { ac_try='test -s conftest.$ac_objext'
7798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7799   (eval $ac_try) 2>&5
7800   ac_status=$?
7801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802   (exit $ac_status); }; }; then
7803
7804 cat >>confdefs.h <<\_ACEOF
7805 #define HAVE_ISWBLANK 1
7806 _ACEOF
7807
7808 else
7809   echo "$as_me: failed program was:" >&5
7810 sed 's/^/| /' conftest.$ac_ext >&5
7811
7812 fi
7813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7814
7815     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7816 echo "${ECHO_T}$ac_c99_wchar" >&6
7817   fi
7818
7819   # Option parsed, now set things appropriately.
7820   if test x"$ac_c99_math" = x"no" ||
7821      test x"$ac_c99_complex" = x"no" ||
7822      test x"$ac_c99_stdio" = x"no" ||
7823      test x"$ac_c99_stdlib" = x"no" ||
7824      test x"$ac_c99_wchar" = x"no"; then
7825     enable_c99=no;
7826   else
7827
7828 cat >>confdefs.h <<\_ACEOF
7829 #define _GLIBCXX_USE_C99 1
7830 _ACEOF
7831
7832   fi
7833
7834   ac_ext=c
7835 ac_cpp='$CPP $CPPFLAGS'
7836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7839
7840   fi
7841
7842   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7843 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7844   echo "$as_me:$LINENO: result: $enable_c99" >&5
7845 echo "${ECHO_T}$enable_c99" >&6
7846
7847
7848    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7849 if test "${enable_concept_checks+set}" = set; then
7850   enableval="$enable_concept_checks"
7851
7852       case "$enableval" in
7853        yes|no) ;;
7854        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7855 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7856    { (exit 1); exit 1; }; } ;;
7857       esac
7858
7859 else
7860   enable_concept_checks=no
7861 fi;
7862
7863   if test $enable_concept_checks = yes; then
7864
7865 cat >>confdefs.h <<\_ACEOF
7866 #define _GLIBCXX_CONCEPT_CHECKS 1
7867 _ACEOF
7868
7869   fi
7870
7871
7872    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7873 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7874   enableval="$enable_libstdcxx_debug_flags"
7875   case "x$enable_libstdcxx_debug_flags" in
7876       xno | x)    enable_libstdcxx_debug_flags= ;;
7877       x-*)        ;;
7878       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7879 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7880    { (exit 1); exit 1; }; } ;;
7881      esac
7882 else
7883   enable_libstdcxx_debug_flags="-g3 -O0"
7884 fi;
7885
7886
7887   # Option parsed, now set things appropriately
7888   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7889
7890
7891   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7892 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7893
7894
7895   echo "$as_me:$LINENO: checking for additional debug build" >&5
7896 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7897    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7898 if test "${enable_libstdcxx_debug+set}" = set; then
7899   enableval="$enable_libstdcxx_debug"
7900
7901       case "$enableval" in
7902        yes|no) ;;
7903        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7904 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7905    { (exit 1); exit 1; }; } ;;
7906       esac
7907
7908 else
7909   enable_libstdcxx_debug=no
7910 fi;
7911
7912   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7913 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7914
7915
7916   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7917 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7918    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7919 if test "${enable_cxx_flags+set}" = set; then
7920   enableval="$enable_cxx_flags"
7921   case "x$enable_cxx_flags" in
7922       xno | x)   enable_cxx_flags= ;;
7923       x-*)       ;;
7924       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7925 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7926    { (exit 1); exit 1; }; } ;;
7927      esac
7928 else
7929   enable_cxx_flags=
7930 fi;
7931
7932
7933   # Run through flags (either default or command-line) and set anything
7934   # extra (e.g., #defines) that must accompany particular g++ options.
7935   if test -n "$enable_cxx_flags"; then
7936     for f in $enable_cxx_flags; do
7937       case "$f" in
7938         -fhonor-std)  ;;
7939         -*)  ;;
7940         *)   # and we're trying to pass /what/ exactly?
7941              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7942 echo "$as_me: error: compiler flags start with a -" >&2;}
7943    { (exit 1); exit 1; }; } ;;
7944       esac
7945     done
7946   fi
7947
7948   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7949   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7950 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7951
7952
7953
7954    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7955 if test "${enable_fully_dynamic_string+set}" = set; then
7956   enableval="$enable_fully_dynamic_string"
7957
7958       case "$enableval" in
7959        yes|no) ;;
7960        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7961 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7962    { (exit 1); exit 1; }; } ;;
7963       esac
7964
7965 else
7966   enable_fully_dynamic_string=no
7967 fi;
7968
7969   if test $enable_fully_dynamic_string = yes; then
7970
7971 cat >>confdefs.h <<\_ACEOF
7972 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7973 _ACEOF
7974
7975   fi
7976
7977
7978 # No surprises, no surprises...
7979
7980   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7981 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7982   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7983   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7984 echo "${ECHO_T}$target_thread_file" >&6
7985
7986   if test $target_thread_file != single; then
7987
7988 cat >>confdefs.h <<\_ACEOF
7989 #define HAVE_GTHR_DEFAULT 1
7990 _ACEOF
7991
7992   fi
7993
7994   glibcxx_thread_h=gthr-$target_thread_file.h
7995
7996     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7997   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7998     enable_thread=yes
7999   else
8000    enable_thread=no
8001   fi
8002
8003
8004
8005
8006   echo "$as_me:$LINENO: checking for atomic builtins" >&5
8007 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8008
8009
8010   ac_ext=cc
8011 ac_cpp='$CXXCPP $CPPFLAGS'
8012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8015
8016
8017   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
8018     cat > conftest.$ac_ext << EOF
8019 #line 8019 "configure"
8020 int main()
8021 {
8022   // NB: _Atomic_word not necessarily int.
8023   typedef int atomic_type;
8024   atomic_type c1;
8025   atomic_type c2;
8026   const atomic_type c3(0);
8027   if (__sync_fetch_and_add(&c1, c2) == c3)
8028     {
8029       // Do something.
8030     }
8031    return 0;
8032 }
8033 EOF
8034     old_CXXFLAGS="$CXXFLAGS"
8035     CXXFLAGS=-S
8036     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8037   (eval $ac_compile) 2>&5
8038   ac_status=$?
8039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040   (exit $ac_status); }; then
8041       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8042         enable_atomic_builtins=no
8043       else
8044
8045 cat >>confdefs.h <<\_ACEOF
8046 #define _GLIBCXX_ATOMIC_BUILTINS 1
8047 _ACEOF
8048
8049         enable_atomic_builtins=yes
8050         atomicity_dir=cpu/generic/atomicity_builtins
8051       fi
8052     fi
8053     CXXFLAGS="$old_CXXFLAGS"
8054     rm -f conftest*
8055
8056    # Now, if still generic, set to mutex.
8057   if test $atomicity_dir = "cpu/generic" ; then
8058         atomicity_dir=cpu/generic/atomicity_mutex
8059   fi
8060  ac_ext=c
8061 ac_cpp='$CPP $CPPFLAGS'
8062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8065
8066  echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8067 echo "${ECHO_T}$enable_atomic_builtins" >&6
8068
8069 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8070   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8071 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8072   if test $target_thread_file = single; then
8073     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8074 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8075     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8076 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8077   else
8078     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8079 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8080     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8081 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8082   fi
8083 fi
8084
8085
8086   # All these tests are for C++; save the language and the compiler flags.
8087   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8088   # found in GLIBCXX_CONFIGURE.
8089
8090
8091   ac_ext=cc
8092 ac_cpp='$CXXCPP $CPPFLAGS'
8093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8096
8097   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8098   ac_save_CXXFLAGS="$CXXFLAGS"
8099
8100   # Check for maintainer-mode bits.
8101   if test x"$USE_MAINTAINER_MODE" = xno; then
8102     WERROR=''
8103   else
8104     WERROR='-Werror'
8105   fi
8106
8107   # Check for -ffunction-sections -fdata-sections
8108   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8110   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8111   cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h.  */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h.  */
8117
8118 int
8119 main ()
8120 {
8121 int foo;
8122   ;
8123   return 0;
8124 }
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128   (eval $ac_compile) 2>conftest.er1
8129   ac_status=$?
8130   grep -v '^ *+' conftest.er1 >conftest.err
8131   rm -f conftest.er1
8132   cat conftest.err >&5
8133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134   (exit $ac_status); } &&
8135          { ac_try='test -z "$ac_cxx_werror_flag"
8136                          || test ! -s conftest.err'
8137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138   (eval $ac_try) 2>&5
8139   ac_status=$?
8140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141   (exit $ac_status); }; } &&
8142          { ac_try='test -s conftest.$ac_objext'
8143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144   (eval $ac_try) 2>&5
8145   ac_status=$?
8146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147   (exit $ac_status); }; }; then
8148   ac_fdsections=yes
8149 else
8150   echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8152
8153 ac_fdsections=no
8154 fi
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156   if test "$ac_test_CXXFLAGS" = set; then
8157     CXXFLAGS="$ac_save_CXXFLAGS"
8158   else
8159     # this is the suspicious part
8160     CXXFLAGS=''
8161   fi
8162   if test x"$ac_fdsections" = x"yes"; then
8163     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8164   fi
8165   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8166 echo "${ECHO_T}$ac_fdsections" >&6
8167
8168   ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8173
8174
8175
8176
8177
8178 if $GLIBCXX_IS_NATIVE; then
8179
8180   # We can do more elaborate tests that assume a working linker.
8181   CANADIAN=no
8182
8183   # Check for available headers.
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8200   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8201   sys/types.h sys/ipc.h sys/sem.h
8202 do
8203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8205   echo "$as_me:$LINENO: checking for $ac_header" >&5
8206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8208   echo $ECHO_N "(cached) $ECHO_C" >&6
8209 fi
8210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8212 else
8213   # Is the header compilable?
8214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8216 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h.  */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h.  */
8222 $ac_includes_default
8223 #include <$ac_header>
8224 _ACEOF
8225 rm -f conftest.$ac_objext
8226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8227   (eval $ac_compile) 2>conftest.er1
8228   ac_status=$?
8229   grep -v '^ *+' conftest.er1 >conftest.err
8230   rm -f conftest.er1
8231   cat conftest.err >&5
8232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233   (exit $ac_status); } &&
8234          { ac_try='test -z "$ac_c_werror_flag"
8235                          || test ! -s conftest.err'
8236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237   (eval $ac_try) 2>&5
8238   ac_status=$?
8239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240   (exit $ac_status); }; } &&
8241          { ac_try='test -s conftest.$ac_objext'
8242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243   (eval $ac_try) 2>&5
8244   ac_status=$?
8245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246   (exit $ac_status); }; }; then
8247   ac_header_compiler=yes
8248 else
8249   echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8251
8252 ac_header_compiler=no
8253 fi
8254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8256 echo "${ECHO_T}$ac_header_compiler" >&6
8257
8258 # Is the header present?
8259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8261 cat >conftest.$ac_ext <<_ACEOF
8262 /* confdefs.h.  */
8263 _ACEOF
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h.  */
8267 #include <$ac_header>
8268 _ACEOF
8269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8270   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8271   ac_status=$?
8272   grep -v '^ *+' conftest.er1 >conftest.err
8273   rm -f conftest.er1
8274   cat conftest.err >&5
8275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276   (exit $ac_status); } >/dev/null; then
8277   if test -s conftest.err; then
8278     ac_cpp_err=$ac_c_preproc_warn_flag
8279     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8280   else
8281     ac_cpp_err=
8282   fi
8283 else
8284   ac_cpp_err=yes
8285 fi
8286 if test -z "$ac_cpp_err"; then
8287   ac_header_preproc=yes
8288 else
8289   echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.$ac_ext >&5
8291
8292   ac_header_preproc=no
8293 fi
8294 rm -f conftest.err conftest.$ac_ext
8295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8296 echo "${ECHO_T}$ac_header_preproc" >&6
8297
8298 # So?  What about this header?
8299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8300   yes:no: )
8301     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8303     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8305     ac_header_preproc=yes
8306     ;;
8307   no:yes:* )
8308     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8310     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8311 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8312     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8314     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8315 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8318     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8320     (
8321       cat <<\_ASBOX
8322 ## ----------------------------------------- ##
8323 ## Report this to the package-unused lists.  ##
8324 ## ----------------------------------------- ##
8325 _ASBOX
8326     ) |
8327       sed "s/^/$as_me: WARNING:     /" >&2
8328     ;;
8329 esac
8330 echo "$as_me:$LINENO: checking for $ac_header" >&5
8331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8333   echo $ECHO_N "(cached) $ECHO_C" >&6
8334 else
8335   eval "$as_ac_Header=\$ac_header_preproc"
8336 fi
8337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8339
8340 fi
8341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8342   cat >>confdefs.h <<_ACEOF
8343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8344 _ACEOF
8345
8346 fi
8347
8348 done
8349
8350
8351
8352   # If we're not using GNU ld, then there's no point in even trying these
8353   # tests.  Check for that first.  We should have already tested for gld
8354   # by now (in libtool), but require it now just to be safe...
8355   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8356   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8357
8358
8359
8360   # The name set by libtool depends on the version of libtool.  Shame on us
8361   # for depending on an impl detail, but c'est la vie.  Older versions used
8362   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8363   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8364   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8365   # set (hence we're using an older libtool), then set it.
8366   if test x${with_gnu_ld+set} != xset; then
8367     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8368       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8369       with_gnu_ld=no
8370     else
8371       with_gnu_ld=$ac_cv_prog_gnu_ld
8372     fi
8373   fi
8374
8375   # Start by getting the version number.  I think the libtool test already
8376   # does some of this, but throws away the result.
8377   if test x"$with_gnu_ld" = x"yes"; then
8378     echo "$as_me:$LINENO: checking for ld version" >&5
8379 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8380
8381     ldver=`$LD --version 2>/dev/null | head -1 | \
8382            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8383
8384     glibcxx_gnu_ld_version=`echo $ldver | \
8385            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8386     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8387 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8388   fi
8389
8390   # Set --gc-sections.
8391   glibcxx_gcsections_min_ld=21602
8392   if test x"$with_gnu_ld" = x"yes" &&
8393         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8394
8395     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
8396     # NB: This flag only works reliably after 2.16.1. Configure tests
8397     # for this are difficult, so hard wire a value that should work.
8398
8399     # All these tests are for C++, but run with the "C" compiler driver.
8400     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8401     ac_test_CFLAGS="${CFLAGS+set}"
8402     ac_save_CFLAGS="$CFLAGS"
8403     CFLAGS='-x c++ -Wl,--gc-sections'
8404
8405     # Check for -Wl,--gc-sections
8406     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8407 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8408     if test x$gcc_no_link = xyes; then
8409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8411    { (exit 1); exit 1; }; }
8412 fi
8413 cat >conftest.$ac_ext <<_ACEOF
8414 /* confdefs.h.  */
8415 _ACEOF
8416 cat confdefs.h >>conftest.$ac_ext
8417 cat >>conftest.$ac_ext <<_ACEOF
8418 /* end confdefs.h.  */
8419  int one(void) { return 1; }
8420      int two(void) { return 2; }
8421
8422 int
8423 main ()
8424 {
8425  two();
8426   ;
8427   return 0;
8428 }
8429 _ACEOF
8430 rm -f conftest.$ac_objext conftest$ac_exeext
8431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8432   (eval $ac_link) 2>conftest.er1
8433   ac_status=$?
8434   grep -v '^ *+' conftest.er1 >conftest.err
8435   rm -f conftest.er1
8436   cat conftest.err >&5
8437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438   (exit $ac_status); } &&
8439          { ac_try='test -z "$ac_c_werror_flag"
8440                          || test ! -s conftest.err'
8441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442   (eval $ac_try) 2>&5
8443   ac_status=$?
8444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445   (exit $ac_status); }; } &&
8446          { ac_try='test -s conftest$ac_exeext'
8447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8448   (eval $ac_try) 2>&5
8449   ac_status=$?
8450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451   (exit $ac_status); }; }; then
8452   ac_gcsections=yes
8453 else
8454   echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8456
8457 ac_gcsections=no
8458 fi
8459 rm -f conftest.err conftest.$ac_objext \
8460       conftest$ac_exeext conftest.$ac_ext
8461     if test "$ac_gcsections" = "yes"; then
8462       rm -f conftest.c
8463       touch conftest.c
8464       if $CC -c conftest.c; then
8465         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8466            grep "Warning: gc-sections option ignored" > /dev/null; then
8467           ac_gcsections=no
8468         fi
8469       fi
8470       rm -f conftest.c conftest.o conftest
8471     fi
8472     if test "$ac_gcsections" = "yes"; then
8473       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8474     fi
8475     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8476 echo "${ECHO_T}$ac_gcsections" >&6
8477
8478     if test "$ac_test_CFLAGS" = set; then
8479       CFLAGS="$ac_save_CFLAGS"
8480     else
8481       # this is the suspicious part
8482       CFLAGS=''
8483     fi
8484   fi
8485
8486   # Set -z,relro.
8487   # Note this is only for shared objects.
8488   ac_ld_relro=no
8489   if test x"$with_gnu_ld" = x"yes"; then
8490     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8491 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8492     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8493     if test -n "$cxx_z_relo"; then
8494       OPT_LDFLAGS="-Wl,-z,relro"
8495       ac_ld_relro=yes
8496     fi
8497     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8498 echo "${ECHO_T}$ac_ld_relro" >&6
8499   fi
8500
8501   # Set linker optimization flags.
8502   if test x"$with_gnu_ld" = x"yes"; then
8503     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8504   fi
8505
8506
8507
8508
8509
8510   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8511   ac_save_CXXFLAGS="$CXXFLAGS"
8512   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8513
8514     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8515 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8516 if test "${ac_cv_lib_m_sin+set}" = set; then
8517   echo $ECHO_N "(cached) $ECHO_C" >&6
8518 else
8519   ac_check_lib_save_LIBS=$LIBS
8520 LIBS="-lm  $LIBS"
8521 if test x$gcc_no_link = xyes; then
8522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8524    { (exit 1); exit 1; }; }
8525 fi
8526 cat >conftest.$ac_ext <<_ACEOF
8527 /* confdefs.h.  */
8528 _ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h.  */
8532
8533 /* Override any gcc2 internal prototype to avoid an error.  */
8534 #ifdef __cplusplus
8535 extern "C"
8536 #endif
8537 /* We use char because int might match the return type of a gcc2
8538    builtin and then its argument prototype would still apply.  */
8539 char sin ();
8540 int
8541 main ()
8542 {
8543 sin ();
8544   ;
8545   return 0;
8546 }
8547 _ACEOF
8548 rm -f conftest.$ac_objext conftest$ac_exeext
8549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8550   (eval $ac_link) 2>conftest.er1
8551   ac_status=$?
8552   grep -v '^ *+' conftest.er1 >conftest.err
8553   rm -f conftest.er1
8554   cat conftest.err >&5
8555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556   (exit $ac_status); } &&
8557          { ac_try='test -z "$ac_c_werror_flag"
8558                          || test ! -s conftest.err'
8559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560   (eval $ac_try) 2>&5
8561   ac_status=$?
8562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563   (exit $ac_status); }; } &&
8564          { ac_try='test -s conftest$ac_exeext'
8565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566   (eval $ac_try) 2>&5
8567   ac_status=$?
8568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569   (exit $ac_status); }; }; then
8570   ac_cv_lib_m_sin=yes
8571 else
8572   echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8574
8575 ac_cv_lib_m_sin=no
8576 fi
8577 rm -f conftest.err conftest.$ac_objext \
8578       conftest$ac_exeext conftest.$ac_ext
8579 LIBS=$ac_check_lib_save_LIBS
8580 fi
8581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8582 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8583 if test $ac_cv_lib_m_sin = yes; then
8584   libm="-lm"
8585 fi
8586
8587   ac_save_LIBS="$LIBS"
8588   LIBS="$LIBS $libm"
8589
8590
8591
8592   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8593 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8594   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8595     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8596   echo $ECHO_N "(cached) $ECHO_C" >&6
8597 else
8598
8599
8600
8601       ac_ext=cc
8602 ac_cpp='$CXXCPP $CPPFLAGS'
8603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8606
8607       cat >conftest.$ac_ext <<_ACEOF
8608 /* confdefs.h.  */
8609 _ACEOF
8610 cat confdefs.h >>conftest.$ac_ext
8611 cat >>conftest.$ac_ext <<_ACEOF
8612 /* end confdefs.h.  */
8613 #include <math.h>
8614                       #ifdef HAVE_IEEEFP_H
8615                       #include <ieeefp.h>
8616                       #endif
8617
8618 int
8619 main ()
8620 {
8621  isinf(0);
8622   ;
8623   return 0;
8624 }
8625 _ACEOF
8626 rm -f conftest.$ac_objext
8627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8628   (eval $ac_compile) 2>conftest.er1
8629   ac_status=$?
8630   grep -v '^ *+' conftest.er1 >conftest.err
8631   rm -f conftest.er1
8632   cat conftest.err >&5
8633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634   (exit $ac_status); } &&
8635          { ac_try='test -z "$ac_cxx_werror_flag"
8636                          || test ! -s conftest.err'
8637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8638   (eval $ac_try) 2>&5
8639   ac_status=$?
8640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641   (exit $ac_status); }; } &&
8642          { ac_try='test -s conftest.$ac_objext'
8643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644   (eval $ac_try) 2>&5
8645   ac_status=$?
8646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647   (exit $ac_status); }; }; then
8648   glibcxx_cv_func_isinf_use=yes
8649 else
8650   echo "$as_me: failed program was:" >&5
8651 sed 's/^/| /' conftest.$ac_ext >&5
8652
8653 glibcxx_cv_func_isinf_use=no
8654 fi
8655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8656       ac_ext=c
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8661
8662
8663 fi
8664
8665   fi
8666   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8667 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8668
8669   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8670
8671 for ac_func in isinf
8672 do
8673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8674 echo "$as_me:$LINENO: checking for $ac_func" >&5
8675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8676 if eval "test \"\${$as_ac_var+set}\" = set"; then
8677   echo $ECHO_N "(cached) $ECHO_C" >&6
8678 else
8679   if test x$gcc_no_link = xyes; then
8680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8682    { (exit 1); exit 1; }; }
8683 fi
8684 cat >conftest.$ac_ext <<_ACEOF
8685 /* confdefs.h.  */
8686 _ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h.  */
8690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8692 #define $ac_func innocuous_$ac_func
8693
8694 /* System header to define __stub macros and hopefully few prototypes,
8695     which can conflict with char $ac_func (); below.
8696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8697     <limits.h> exists even on freestanding compilers.  */
8698
8699 #ifdef __STDC__
8700 # include <limits.h>
8701 #else
8702 # include <assert.h>
8703 #endif
8704
8705 #undef $ac_func
8706
8707 /* Override any gcc2 internal prototype to avoid an error.  */
8708 #ifdef __cplusplus
8709 extern "C"
8710 {
8711 #endif
8712 /* We use char because int might match the return type of a gcc2
8713    builtin and then its argument prototype would still apply.  */
8714 char $ac_func ();
8715 /* The GNU C library defines this for functions which it implements
8716     to always fail with ENOSYS.  Some functions are actually named
8717     something starting with __ and the normal name is an alias.  */
8718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8719 choke me
8720 #else
8721 char (*f) () = $ac_func;
8722 #endif
8723 #ifdef __cplusplus
8724 }
8725 #endif
8726
8727 int
8728 main ()
8729 {
8730 return f != $ac_func;
8731   ;
8732   return 0;
8733 }
8734 _ACEOF
8735 rm -f conftest.$ac_objext conftest$ac_exeext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8737   (eval $ac_link) 2>conftest.er1
8738   ac_status=$?
8739   grep -v '^ *+' conftest.er1 >conftest.err
8740   rm -f conftest.er1
8741   cat conftest.err >&5
8742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743   (exit $ac_status); } &&
8744          { ac_try='test -z "$ac_c_werror_flag"
8745                          || test ! -s conftest.err'
8746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747   (eval $ac_try) 2>&5
8748   ac_status=$?
8749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750   (exit $ac_status); }; } &&
8751          { ac_try='test -s conftest$ac_exeext'
8752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753   (eval $ac_try) 2>&5
8754   ac_status=$?
8755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756   (exit $ac_status); }; }; then
8757   eval "$as_ac_var=yes"
8758 else
8759   echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8761
8762 eval "$as_ac_var=no"
8763 fi
8764 rm -f conftest.err conftest.$ac_objext \
8765       conftest$ac_exeext conftest.$ac_ext
8766 fi
8767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8769 if test `eval echo '${'$as_ac_var'}'` = yes; then
8770   cat >>confdefs.h <<_ACEOF
8771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8772 _ACEOF
8773
8774 fi
8775 done
8776
8777   else
8778
8779   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8780 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8781   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8782     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8783   echo $ECHO_N "(cached) $ECHO_C" >&6
8784 else
8785
8786
8787
8788       ac_ext=cc
8789 ac_cpp='$CXXCPP $CPPFLAGS'
8790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8793
8794       cat >conftest.$ac_ext <<_ACEOF
8795 /* confdefs.h.  */
8796 _ACEOF
8797 cat confdefs.h >>conftest.$ac_ext
8798 cat >>conftest.$ac_ext <<_ACEOF
8799 /* end confdefs.h.  */
8800 #include <math.h>
8801                       #ifdef HAVE_IEEEFP_H
8802                       #include <ieeefp.h>
8803                       #endif
8804
8805 int
8806 main ()
8807 {
8808  _isinf(0);
8809   ;
8810   return 0;
8811 }
8812 _ACEOF
8813 rm -f conftest.$ac_objext
8814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8815   (eval $ac_compile) 2>conftest.er1
8816   ac_status=$?
8817   grep -v '^ *+' conftest.er1 >conftest.err
8818   rm -f conftest.er1
8819   cat conftest.err >&5
8820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821   (exit $ac_status); } &&
8822          { ac_try='test -z "$ac_cxx_werror_flag"
8823                          || test ! -s conftest.err'
8824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825   (eval $ac_try) 2>&5
8826   ac_status=$?
8827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828   (exit $ac_status); }; } &&
8829          { ac_try='test -s conftest.$ac_objext'
8830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831   (eval $ac_try) 2>&5
8832   ac_status=$?
8833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834   (exit $ac_status); }; }; then
8835   glibcxx_cv_func__isinf_use=yes
8836 else
8837   echo "$as_me: failed program was:" >&5
8838 sed 's/^/| /' conftest.$ac_ext >&5
8839
8840 glibcxx_cv_func__isinf_use=no
8841 fi
8842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8843       ac_ext=c
8844 ac_cpp='$CPP $CPPFLAGS'
8845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8848
8849
8850 fi
8851
8852   fi
8853   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8854 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8855
8856     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8857
8858 for ac_func in _isinf
8859 do
8860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8861 echo "$as_me:$LINENO: checking for $ac_func" >&5
8862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8863 if eval "test \"\${$as_ac_var+set}\" = set"; then
8864   echo $ECHO_N "(cached) $ECHO_C" >&6
8865 else
8866   if test x$gcc_no_link = xyes; then
8867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8869    { (exit 1); exit 1; }; }
8870 fi
8871 cat >conftest.$ac_ext <<_ACEOF
8872 /* confdefs.h.  */
8873 _ACEOF
8874 cat confdefs.h >>conftest.$ac_ext
8875 cat >>conftest.$ac_ext <<_ACEOF
8876 /* end confdefs.h.  */
8877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8879 #define $ac_func innocuous_$ac_func
8880
8881 /* System header to define __stub macros and hopefully few prototypes,
8882     which can conflict with char $ac_func (); below.
8883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8884     <limits.h> exists even on freestanding compilers.  */
8885
8886 #ifdef __STDC__
8887 # include <limits.h>
8888 #else
8889 # include <assert.h>
8890 #endif
8891
8892 #undef $ac_func
8893
8894 /* Override any gcc2 internal prototype to avoid an error.  */
8895 #ifdef __cplusplus
8896 extern "C"
8897 {
8898 #endif
8899 /* We use char because int might match the return type of a gcc2
8900    builtin and then its argument prototype would still apply.  */
8901 char $ac_func ();
8902 /* The GNU C library defines this for functions which it implements
8903     to always fail with ENOSYS.  Some functions are actually named
8904     something starting with __ and the normal name is an alias.  */
8905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8906 choke me
8907 #else
8908 char (*f) () = $ac_func;
8909 #endif
8910 #ifdef __cplusplus
8911 }
8912 #endif
8913
8914 int
8915 main ()
8916 {
8917 return f != $ac_func;
8918   ;
8919   return 0;
8920 }
8921 _ACEOF
8922 rm -f conftest.$ac_objext conftest$ac_exeext
8923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8924   (eval $ac_link) 2>conftest.er1
8925   ac_status=$?
8926   grep -v '^ *+' conftest.er1 >conftest.err
8927   rm -f conftest.er1
8928   cat conftest.err >&5
8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930   (exit $ac_status); } &&
8931          { ac_try='test -z "$ac_c_werror_flag"
8932                          || test ! -s conftest.err'
8933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934   (eval $ac_try) 2>&5
8935   ac_status=$?
8936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937   (exit $ac_status); }; } &&
8938          { ac_try='test -s conftest$ac_exeext'
8939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8940   (eval $ac_try) 2>&5
8941   ac_status=$?
8942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943   (exit $ac_status); }; }; then
8944   eval "$as_ac_var=yes"
8945 else
8946   echo "$as_me: failed program was:" >&5
8947 sed 's/^/| /' conftest.$ac_ext >&5
8948
8949 eval "$as_ac_var=no"
8950 fi
8951 rm -f conftest.err conftest.$ac_objext \
8952       conftest$ac_exeext conftest.$ac_ext
8953 fi
8954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8956 if test `eval echo '${'$as_ac_var'}'` = yes; then
8957   cat >>confdefs.h <<_ACEOF
8958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8959 _ACEOF
8960
8961 fi
8962 done
8963
8964     fi
8965   fi
8966
8967
8968
8969
8970
8971
8972   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8973 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8974   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8975     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8976   echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978
8979
8980
8981       ac_ext=cc
8982 ac_cpp='$CXXCPP $CPPFLAGS'
8983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8986
8987       cat >conftest.$ac_ext <<_ACEOF
8988 /* confdefs.h.  */
8989 _ACEOF
8990 cat confdefs.h >>conftest.$ac_ext
8991 cat >>conftest.$ac_ext <<_ACEOF
8992 /* end confdefs.h.  */
8993 #include <math.h>
8994                       #ifdef HAVE_IEEEFP_H
8995                       #include <ieeefp.h>
8996                       #endif
8997
8998 int
8999 main ()
9000 {
9001  isnan(0);
9002   ;
9003   return 0;
9004 }
9005 _ACEOF
9006 rm -f conftest.$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008   (eval $ac_compile) 2>conftest.er1
9009   ac_status=$?
9010   grep -v '^ *+' conftest.er1 >conftest.err
9011   rm -f conftest.er1
9012   cat conftest.err >&5
9013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014   (exit $ac_status); } &&
9015          { ac_try='test -z "$ac_cxx_werror_flag"
9016                          || test ! -s conftest.err'
9017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9018   (eval $ac_try) 2>&5
9019   ac_status=$?
9020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021   (exit $ac_status); }; } &&
9022          { ac_try='test -s conftest.$ac_objext'
9023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024   (eval $ac_try) 2>&5
9025   ac_status=$?
9026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027   (exit $ac_status); }; }; then
9028   glibcxx_cv_func_isnan_use=yes
9029 else
9030   echo "$as_me: failed program was:" >&5
9031 sed 's/^/| /' conftest.$ac_ext >&5
9032
9033 glibcxx_cv_func_isnan_use=no
9034 fi
9035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9036       ac_ext=c
9037 ac_cpp='$CPP $CPPFLAGS'
9038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9041
9042
9043 fi
9044
9045   fi
9046   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9047 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9048
9049   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9050
9051 for ac_func in isnan
9052 do
9053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9054 echo "$as_me:$LINENO: checking for $ac_func" >&5
9055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9056 if eval "test \"\${$as_ac_var+set}\" = set"; then
9057   echo $ECHO_N "(cached) $ECHO_C" >&6
9058 else
9059   if test x$gcc_no_link = xyes; then
9060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9062    { (exit 1); exit 1; }; }
9063 fi
9064 cat >conftest.$ac_ext <<_ACEOF
9065 /* confdefs.h.  */
9066 _ACEOF
9067 cat confdefs.h >>conftest.$ac_ext
9068 cat >>conftest.$ac_ext <<_ACEOF
9069 /* end confdefs.h.  */
9070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9072 #define $ac_func innocuous_$ac_func
9073
9074 /* System header to define __stub macros and hopefully few prototypes,
9075     which can conflict with char $ac_func (); below.
9076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9077     <limits.h> exists even on freestanding compilers.  */
9078
9079 #ifdef __STDC__
9080 # include <limits.h>
9081 #else
9082 # include <assert.h>
9083 #endif
9084
9085 #undef $ac_func
9086
9087 /* Override any gcc2 internal prototype to avoid an error.  */
9088 #ifdef __cplusplus
9089 extern "C"
9090 {
9091 #endif
9092 /* We use char because int might match the return type of a gcc2
9093    builtin and then its argument prototype would still apply.  */
9094 char $ac_func ();
9095 /* The GNU C library defines this for functions which it implements
9096     to always fail with ENOSYS.  Some functions are actually named
9097     something starting with __ and the normal name is an alias.  */
9098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9099 choke me
9100 #else
9101 char (*f) () = $ac_func;
9102 #endif
9103 #ifdef __cplusplus
9104 }
9105 #endif
9106
9107 int
9108 main ()
9109 {
9110 return f != $ac_func;
9111   ;
9112   return 0;
9113 }
9114 _ACEOF
9115 rm -f conftest.$ac_objext conftest$ac_exeext
9116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117   (eval $ac_link) 2>conftest.er1
9118   ac_status=$?
9119   grep -v '^ *+' conftest.er1 >conftest.err
9120   rm -f conftest.er1
9121   cat conftest.err >&5
9122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123   (exit $ac_status); } &&
9124          { ac_try='test -z "$ac_c_werror_flag"
9125                          || test ! -s conftest.err'
9126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127   (eval $ac_try) 2>&5
9128   ac_status=$?
9129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130   (exit $ac_status); }; } &&
9131          { ac_try='test -s conftest$ac_exeext'
9132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133   (eval $ac_try) 2>&5
9134   ac_status=$?
9135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136   (exit $ac_status); }; }; then
9137   eval "$as_ac_var=yes"
9138 else
9139   echo "$as_me: failed program was:" >&5
9140 sed 's/^/| /' conftest.$ac_ext >&5
9141
9142 eval "$as_ac_var=no"
9143 fi
9144 rm -f conftest.err conftest.$ac_objext \
9145       conftest$ac_exeext conftest.$ac_ext
9146 fi
9147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9149 if test `eval echo '${'$as_ac_var'}'` = yes; then
9150   cat >>confdefs.h <<_ACEOF
9151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9152 _ACEOF
9153
9154 fi
9155 done
9156
9157   else
9158
9159   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9160 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9161   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9162     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9163   echo $ECHO_N "(cached) $ECHO_C" >&6
9164 else
9165
9166
9167
9168       ac_ext=cc
9169 ac_cpp='$CXXCPP $CPPFLAGS'
9170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9173
9174       cat >conftest.$ac_ext <<_ACEOF
9175 /* confdefs.h.  */
9176 _ACEOF
9177 cat confdefs.h >>conftest.$ac_ext
9178 cat >>conftest.$ac_ext <<_ACEOF
9179 /* end confdefs.h.  */
9180 #include <math.h>
9181                       #ifdef HAVE_IEEEFP_H
9182                       #include <ieeefp.h>
9183                       #endif
9184
9185 int
9186 main ()
9187 {
9188  _isnan(0);
9189   ;
9190   return 0;
9191 }
9192 _ACEOF
9193 rm -f conftest.$ac_objext
9194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9195   (eval $ac_compile) 2>conftest.er1
9196   ac_status=$?
9197   grep -v '^ *+' conftest.er1 >conftest.err
9198   rm -f conftest.er1
9199   cat conftest.err >&5
9200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201   (exit $ac_status); } &&
9202          { ac_try='test -z "$ac_cxx_werror_flag"
9203                          || test ! -s conftest.err'
9204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205   (eval $ac_try) 2>&5
9206   ac_status=$?
9207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208   (exit $ac_status); }; } &&
9209          { ac_try='test -s conftest.$ac_objext'
9210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9211   (eval $ac_try) 2>&5
9212   ac_status=$?
9213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214   (exit $ac_status); }; }; then
9215   glibcxx_cv_func__isnan_use=yes
9216 else
9217   echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.$ac_ext >&5
9219
9220 glibcxx_cv_func__isnan_use=no
9221 fi
9222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9223       ac_ext=c
9224 ac_cpp='$CPP $CPPFLAGS'
9225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9228
9229
9230 fi
9231
9232   fi
9233   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9234 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9235
9236     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9237
9238 for ac_func in _isnan
9239 do
9240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9241 echo "$as_me:$LINENO: checking for $ac_func" >&5
9242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9243 if eval "test \"\${$as_ac_var+set}\" = set"; then
9244   echo $ECHO_N "(cached) $ECHO_C" >&6
9245 else
9246   if test x$gcc_no_link = xyes; then
9247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9249    { (exit 1); exit 1; }; }
9250 fi
9251 cat >conftest.$ac_ext <<_ACEOF
9252 /* confdefs.h.  */
9253 _ACEOF
9254 cat confdefs.h >>conftest.$ac_ext
9255 cat >>conftest.$ac_ext <<_ACEOF
9256 /* end confdefs.h.  */
9257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9259 #define $ac_func innocuous_$ac_func
9260
9261 /* System header to define __stub macros and hopefully few prototypes,
9262     which can conflict with char $ac_func (); below.
9263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9264     <limits.h> exists even on freestanding compilers.  */
9265
9266 #ifdef __STDC__
9267 # include <limits.h>
9268 #else
9269 # include <assert.h>
9270 #endif
9271
9272 #undef $ac_func
9273
9274 /* Override any gcc2 internal prototype to avoid an error.  */
9275 #ifdef __cplusplus
9276 extern "C"
9277 {
9278 #endif
9279 /* We use char because int might match the return type of a gcc2
9280    builtin and then its argument prototype would still apply.  */
9281 char $ac_func ();
9282 /* The GNU C library defines this for functions which it implements
9283     to always fail with ENOSYS.  Some functions are actually named
9284     something starting with __ and the normal name is an alias.  */
9285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9286 choke me
9287 #else
9288 char (*f) () = $ac_func;
9289 #endif
9290 #ifdef __cplusplus
9291 }
9292 #endif
9293
9294 int
9295 main ()
9296 {
9297 return f != $ac_func;
9298   ;
9299   return 0;
9300 }
9301 _ACEOF
9302 rm -f conftest.$ac_objext conftest$ac_exeext
9303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9304   (eval $ac_link) 2>conftest.er1
9305   ac_status=$?
9306   grep -v '^ *+' conftest.er1 >conftest.err
9307   rm -f conftest.er1
9308   cat conftest.err >&5
9309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310   (exit $ac_status); } &&
9311          { ac_try='test -z "$ac_c_werror_flag"
9312                          || test ! -s conftest.err'
9313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314   (eval $ac_try) 2>&5
9315   ac_status=$?
9316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317   (exit $ac_status); }; } &&
9318          { ac_try='test -s conftest$ac_exeext'
9319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9320   (eval $ac_try) 2>&5
9321   ac_status=$?
9322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323   (exit $ac_status); }; }; then
9324   eval "$as_ac_var=yes"
9325 else
9326   echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.$ac_ext >&5
9328
9329 eval "$as_ac_var=no"
9330 fi
9331 rm -f conftest.err conftest.$ac_objext \
9332       conftest$ac_exeext conftest.$ac_ext
9333 fi
9334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9336 if test `eval echo '${'$as_ac_var'}'` = yes; then
9337   cat >>confdefs.h <<_ACEOF
9338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9339 _ACEOF
9340
9341 fi
9342 done
9343
9344     fi
9345   fi
9346
9347
9348
9349
9350
9351
9352   echo "$as_me:$LINENO: checking for finite declaration" >&5
9353 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9354   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9355     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9356   echo $ECHO_N "(cached) $ECHO_C" >&6
9357 else
9358
9359
9360
9361       ac_ext=cc
9362 ac_cpp='$CXXCPP $CPPFLAGS'
9363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9366
9367       cat >conftest.$ac_ext <<_ACEOF
9368 /* confdefs.h.  */
9369 _ACEOF
9370 cat confdefs.h >>conftest.$ac_ext
9371 cat >>conftest.$ac_ext <<_ACEOF
9372 /* end confdefs.h.  */
9373 #include <math.h>
9374                       #ifdef HAVE_IEEEFP_H
9375                       #include <ieeefp.h>
9376                       #endif
9377
9378 int
9379 main ()
9380 {
9381  finite(0);
9382   ;
9383   return 0;
9384 }
9385 _ACEOF
9386 rm -f conftest.$ac_objext
9387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9388   (eval $ac_compile) 2>conftest.er1
9389   ac_status=$?
9390   grep -v '^ *+' conftest.er1 >conftest.err
9391   rm -f conftest.er1
9392   cat conftest.err >&5
9393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394   (exit $ac_status); } &&
9395          { ac_try='test -z "$ac_cxx_werror_flag"
9396                          || test ! -s conftest.err'
9397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398   (eval $ac_try) 2>&5
9399   ac_status=$?
9400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401   (exit $ac_status); }; } &&
9402          { ac_try='test -s conftest.$ac_objext'
9403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9404   (eval $ac_try) 2>&5
9405   ac_status=$?
9406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407   (exit $ac_status); }; }; then
9408   glibcxx_cv_func_finite_use=yes
9409 else
9410   echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.$ac_ext >&5
9412
9413 glibcxx_cv_func_finite_use=no
9414 fi
9415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9416       ac_ext=c
9417 ac_cpp='$CPP $CPPFLAGS'
9418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9421
9422
9423 fi
9424
9425   fi
9426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9427 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9428
9429   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9430
9431 for ac_func in finite
9432 do
9433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9434 echo "$as_me:$LINENO: checking for $ac_func" >&5
9435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9436 if eval "test \"\${$as_ac_var+set}\" = set"; then
9437   echo $ECHO_N "(cached) $ECHO_C" >&6
9438 else
9439   if test x$gcc_no_link = xyes; then
9440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9442    { (exit 1); exit 1; }; }
9443 fi
9444 cat >conftest.$ac_ext <<_ACEOF
9445 /* confdefs.h.  */
9446 _ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h.  */
9450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9452 #define $ac_func innocuous_$ac_func
9453
9454 /* System header to define __stub macros and hopefully few prototypes,
9455     which can conflict with char $ac_func (); below.
9456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9457     <limits.h> exists even on freestanding compilers.  */
9458
9459 #ifdef __STDC__
9460 # include <limits.h>
9461 #else
9462 # include <assert.h>
9463 #endif
9464
9465 #undef $ac_func
9466
9467 /* Override any gcc2 internal prototype to avoid an error.  */
9468 #ifdef __cplusplus
9469 extern "C"
9470 {
9471 #endif
9472 /* We use char because int might match the return type of a gcc2
9473    builtin and then its argument prototype would still apply.  */
9474 char $ac_func ();
9475 /* The GNU C library defines this for functions which it implements
9476     to always fail with ENOSYS.  Some functions are actually named
9477     something starting with __ and the normal name is an alias.  */
9478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9479 choke me
9480 #else
9481 char (*f) () = $ac_func;
9482 #endif
9483 #ifdef __cplusplus
9484 }
9485 #endif
9486
9487 int
9488 main ()
9489 {
9490 return f != $ac_func;
9491   ;
9492   return 0;
9493 }
9494 _ACEOF
9495 rm -f conftest.$ac_objext conftest$ac_exeext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9497   (eval $ac_link) 2>conftest.er1
9498   ac_status=$?
9499   grep -v '^ *+' conftest.er1 >conftest.err
9500   rm -f conftest.er1
9501   cat conftest.err >&5
9502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503   (exit $ac_status); } &&
9504          { ac_try='test -z "$ac_c_werror_flag"
9505                          || test ! -s conftest.err'
9506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507   (eval $ac_try) 2>&5
9508   ac_status=$?
9509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510   (exit $ac_status); }; } &&
9511          { ac_try='test -s conftest$ac_exeext'
9512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513   (eval $ac_try) 2>&5
9514   ac_status=$?
9515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516   (exit $ac_status); }; }; then
9517   eval "$as_ac_var=yes"
9518 else
9519   echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.$ac_ext >&5
9521
9522 eval "$as_ac_var=no"
9523 fi
9524 rm -f conftest.err conftest.$ac_objext \
9525       conftest$ac_exeext conftest.$ac_ext
9526 fi
9527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9529 if test `eval echo '${'$as_ac_var'}'` = yes; then
9530   cat >>confdefs.h <<_ACEOF
9531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9532 _ACEOF
9533
9534 fi
9535 done
9536
9537   else
9538
9539   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9540 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9541   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9542     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9543   echo $ECHO_N "(cached) $ECHO_C" >&6
9544 else
9545
9546
9547
9548       ac_ext=cc
9549 ac_cpp='$CXXCPP $CPPFLAGS'
9550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9553
9554       cat >conftest.$ac_ext <<_ACEOF
9555 /* confdefs.h.  */
9556 _ACEOF
9557 cat confdefs.h >>conftest.$ac_ext
9558 cat >>conftest.$ac_ext <<_ACEOF
9559 /* end confdefs.h.  */
9560 #include <math.h>
9561                       #ifdef HAVE_IEEEFP_H
9562                       #include <ieeefp.h>
9563                       #endif
9564
9565 int
9566 main ()
9567 {
9568  _finite(0);
9569   ;
9570   return 0;
9571 }
9572 _ACEOF
9573 rm -f conftest.$ac_objext
9574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9575   (eval $ac_compile) 2>conftest.er1
9576   ac_status=$?
9577   grep -v '^ *+' conftest.er1 >conftest.err
9578   rm -f conftest.er1
9579   cat conftest.err >&5
9580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581   (exit $ac_status); } &&
9582          { ac_try='test -z "$ac_cxx_werror_flag"
9583                          || test ! -s conftest.err'
9584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585   (eval $ac_try) 2>&5
9586   ac_status=$?
9587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588   (exit $ac_status); }; } &&
9589          { ac_try='test -s conftest.$ac_objext'
9590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591   (eval $ac_try) 2>&5
9592   ac_status=$?
9593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594   (exit $ac_status); }; }; then
9595   glibcxx_cv_func__finite_use=yes
9596 else
9597   echo "$as_me: failed program was:" >&5
9598 sed 's/^/| /' conftest.$ac_ext >&5
9599
9600 glibcxx_cv_func__finite_use=no
9601 fi
9602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9603       ac_ext=c
9604 ac_cpp='$CPP $CPPFLAGS'
9605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9608
9609
9610 fi
9611
9612   fi
9613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9614 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9615
9616     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9617
9618 for ac_func in _finite
9619 do
9620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9621 echo "$as_me:$LINENO: checking for $ac_func" >&5
9622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9623 if eval "test \"\${$as_ac_var+set}\" = set"; then
9624   echo $ECHO_N "(cached) $ECHO_C" >&6
9625 else
9626   if test x$gcc_no_link = xyes; then
9627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9629    { (exit 1); exit 1; }; }
9630 fi
9631 cat >conftest.$ac_ext <<_ACEOF
9632 /* confdefs.h.  */
9633 _ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h.  */
9637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9639 #define $ac_func innocuous_$ac_func
9640
9641 /* System header to define __stub macros and hopefully few prototypes,
9642     which can conflict with char $ac_func (); below.
9643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9644     <limits.h> exists even on freestanding compilers.  */
9645
9646 #ifdef __STDC__
9647 # include <limits.h>
9648 #else
9649 # include <assert.h>
9650 #endif
9651
9652 #undef $ac_func
9653
9654 /* Override any gcc2 internal prototype to avoid an error.  */
9655 #ifdef __cplusplus
9656 extern "C"
9657 {
9658 #endif
9659 /* We use char because int might match the return type of a gcc2
9660    builtin and then its argument prototype would still apply.  */
9661 char $ac_func ();
9662 /* The GNU C library defines this for functions which it implements
9663     to always fail with ENOSYS.  Some functions are actually named
9664     something starting with __ and the normal name is an alias.  */
9665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9666 choke me
9667 #else
9668 char (*f) () = $ac_func;
9669 #endif
9670 #ifdef __cplusplus
9671 }
9672 #endif
9673
9674 int
9675 main ()
9676 {
9677 return f != $ac_func;
9678   ;
9679   return 0;
9680 }
9681 _ACEOF
9682 rm -f conftest.$ac_objext conftest$ac_exeext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684   (eval $ac_link) 2>conftest.er1
9685   ac_status=$?
9686   grep -v '^ *+' conftest.er1 >conftest.err
9687   rm -f conftest.er1
9688   cat conftest.err >&5
9689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690   (exit $ac_status); } &&
9691          { ac_try='test -z "$ac_c_werror_flag"
9692                          || test ! -s conftest.err'
9693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694   (eval $ac_try) 2>&5
9695   ac_status=$?
9696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697   (exit $ac_status); }; } &&
9698          { ac_try='test -s conftest$ac_exeext'
9699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700   (eval $ac_try) 2>&5
9701   ac_status=$?
9702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703   (exit $ac_status); }; }; then
9704   eval "$as_ac_var=yes"
9705 else
9706   echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.$ac_ext >&5
9708
9709 eval "$as_ac_var=no"
9710 fi
9711 rm -f conftest.err conftest.$ac_objext \
9712       conftest$ac_exeext conftest.$ac_ext
9713 fi
9714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9716 if test `eval echo '${'$as_ac_var'}'` = yes; then
9717   cat >>confdefs.h <<_ACEOF
9718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9719 _ACEOF
9720
9721 fi
9722 done
9723
9724     fi
9725   fi
9726
9727
9728
9729
9730
9731
9732   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9733 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9734   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9735     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9736   echo $ECHO_N "(cached) $ECHO_C" >&6
9737 else
9738
9739
9740
9741       ac_ext=cc
9742 ac_cpp='$CXXCPP $CPPFLAGS'
9743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9746
9747       cat >conftest.$ac_ext <<_ACEOF
9748 /* confdefs.h.  */
9749 _ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h.  */
9753 #include <math.h>
9754 int
9755 main ()
9756 {
9757  copysign(0, 0);
9758   ;
9759   return 0;
9760 }
9761 _ACEOF
9762 rm -f conftest.$ac_objext
9763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9764   (eval $ac_compile) 2>conftest.er1
9765   ac_status=$?
9766   grep -v '^ *+' conftest.er1 >conftest.err
9767   rm -f conftest.er1
9768   cat conftest.err >&5
9769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770   (exit $ac_status); } &&
9771          { ac_try='test -z "$ac_cxx_werror_flag"
9772                          || test ! -s conftest.err'
9773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774   (eval $ac_try) 2>&5
9775   ac_status=$?
9776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777   (exit $ac_status); }; } &&
9778          { ac_try='test -s conftest.$ac_objext'
9779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780   (eval $ac_try) 2>&5
9781   ac_status=$?
9782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783   (exit $ac_status); }; }; then
9784   glibcxx_cv_func_copysign_use=yes
9785 else
9786   echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9788
9789 glibcxx_cv_func_copysign_use=no
9790 fi
9791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9792       ac_ext=c
9793 ac_cpp='$CPP $CPPFLAGS'
9794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9797
9798
9799 fi
9800
9801   fi
9802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9803 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9804
9805   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9806
9807 for ac_func in copysign
9808 do
9809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9810 echo "$as_me:$LINENO: checking for $ac_func" >&5
9811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9812 if eval "test \"\${$as_ac_var+set}\" = set"; then
9813   echo $ECHO_N "(cached) $ECHO_C" >&6
9814 else
9815   if test x$gcc_no_link = xyes; then
9816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9818    { (exit 1); exit 1; }; }
9819 fi
9820 cat >conftest.$ac_ext <<_ACEOF
9821 /* confdefs.h.  */
9822 _ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h.  */
9826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9828 #define $ac_func innocuous_$ac_func
9829
9830 /* System header to define __stub macros and hopefully few prototypes,
9831     which can conflict with char $ac_func (); below.
9832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9833     <limits.h> exists even on freestanding compilers.  */
9834
9835 #ifdef __STDC__
9836 # include <limits.h>
9837 #else
9838 # include <assert.h>
9839 #endif
9840
9841 #undef $ac_func
9842
9843 /* Override any gcc2 internal prototype to avoid an error.  */
9844 #ifdef __cplusplus
9845 extern "C"
9846 {
9847 #endif
9848 /* We use char because int might match the return type of a gcc2
9849    builtin and then its argument prototype would still apply.  */
9850 char $ac_func ();
9851 /* The GNU C library defines this for functions which it implements
9852     to always fail with ENOSYS.  Some functions are actually named
9853     something starting with __ and the normal name is an alias.  */
9854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9855 choke me
9856 #else
9857 char (*f) () = $ac_func;
9858 #endif
9859 #ifdef __cplusplus
9860 }
9861 #endif
9862
9863 int
9864 main ()
9865 {
9866 return f != $ac_func;
9867   ;
9868   return 0;
9869 }
9870 _ACEOF
9871 rm -f conftest.$ac_objext conftest$ac_exeext
9872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9873   (eval $ac_link) 2>conftest.er1
9874   ac_status=$?
9875   grep -v '^ *+' conftest.er1 >conftest.err
9876   rm -f conftest.er1
9877   cat conftest.err >&5
9878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879   (exit $ac_status); } &&
9880          { ac_try='test -z "$ac_c_werror_flag"
9881                          || test ! -s conftest.err'
9882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883   (eval $ac_try) 2>&5
9884   ac_status=$?
9885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886   (exit $ac_status); }; } &&
9887          { ac_try='test -s conftest$ac_exeext'
9888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889   (eval $ac_try) 2>&5
9890   ac_status=$?
9891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892   (exit $ac_status); }; }; then
9893   eval "$as_ac_var=yes"
9894 else
9895   echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9897
9898 eval "$as_ac_var=no"
9899 fi
9900 rm -f conftest.err conftest.$ac_objext \
9901       conftest$ac_exeext conftest.$ac_ext
9902 fi
9903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9905 if test `eval echo '${'$as_ac_var'}'` = yes; then
9906   cat >>confdefs.h <<_ACEOF
9907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9908 _ACEOF
9909
9910 fi
9911 done
9912
9913   else
9914
9915   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9916 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9917   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9918     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9919   echo $ECHO_N "(cached) $ECHO_C" >&6
9920 else
9921
9922
9923
9924       ac_ext=cc
9925 ac_cpp='$CXXCPP $CPPFLAGS'
9926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9929
9930       cat >conftest.$ac_ext <<_ACEOF
9931 /* confdefs.h.  */
9932 _ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h.  */
9936 #include <math.h>
9937 int
9938 main ()
9939 {
9940  _copysign(0, 0);
9941   ;
9942   return 0;
9943 }
9944 _ACEOF
9945 rm -f conftest.$ac_objext
9946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9947   (eval $ac_compile) 2>conftest.er1
9948   ac_status=$?
9949   grep -v '^ *+' conftest.er1 >conftest.err
9950   rm -f conftest.er1
9951   cat conftest.err >&5
9952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953   (exit $ac_status); } &&
9954          { ac_try='test -z "$ac_cxx_werror_flag"
9955                          || test ! -s conftest.err'
9956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9957   (eval $ac_try) 2>&5
9958   ac_status=$?
9959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960   (exit $ac_status); }; } &&
9961          { ac_try='test -s conftest.$ac_objext'
9962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9963   (eval $ac_try) 2>&5
9964   ac_status=$?
9965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966   (exit $ac_status); }; }; then
9967   glibcxx_cv_func__copysign_use=yes
9968 else
9969   echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.$ac_ext >&5
9971
9972 glibcxx_cv_func__copysign_use=no
9973 fi
9974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9975       ac_ext=c
9976 ac_cpp='$CPP $CPPFLAGS'
9977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9980
9981
9982 fi
9983
9984   fi
9985   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9986 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9987
9988     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9989
9990 for ac_func in _copysign
9991 do
9992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9993 echo "$as_me:$LINENO: checking for $ac_func" >&5
9994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9995 if eval "test \"\${$as_ac_var+set}\" = set"; then
9996   echo $ECHO_N "(cached) $ECHO_C" >&6
9997 else
9998   if test x$gcc_no_link = xyes; then
9999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10001    { (exit 1); exit 1; }; }
10002 fi
10003 cat >conftest.$ac_ext <<_ACEOF
10004 /* confdefs.h.  */
10005 _ACEOF
10006 cat confdefs.h >>conftest.$ac_ext
10007 cat >>conftest.$ac_ext <<_ACEOF
10008 /* end confdefs.h.  */
10009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10011 #define $ac_func innocuous_$ac_func
10012
10013 /* System header to define __stub macros and hopefully few prototypes,
10014     which can conflict with char $ac_func (); below.
10015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10016     <limits.h> exists even on freestanding compilers.  */
10017
10018 #ifdef __STDC__
10019 # include <limits.h>
10020 #else
10021 # include <assert.h>
10022 #endif
10023
10024 #undef $ac_func
10025
10026 /* Override any gcc2 internal prototype to avoid an error.  */
10027 #ifdef __cplusplus
10028 extern "C"
10029 {
10030 #endif
10031 /* We use char because int might match the return type of a gcc2
10032    builtin and then its argument prototype would still apply.  */
10033 char $ac_func ();
10034 /* The GNU C library defines this for functions which it implements
10035     to always fail with ENOSYS.  Some functions are actually named
10036     something starting with __ and the normal name is an alias.  */
10037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10038 choke me
10039 #else
10040 char (*f) () = $ac_func;
10041 #endif
10042 #ifdef __cplusplus
10043 }
10044 #endif
10045
10046 int
10047 main ()
10048 {
10049 return f != $ac_func;
10050   ;
10051   return 0;
10052 }
10053 _ACEOF
10054 rm -f conftest.$ac_objext conftest$ac_exeext
10055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10056   (eval $ac_link) 2>conftest.er1
10057   ac_status=$?
10058   grep -v '^ *+' conftest.er1 >conftest.err
10059   rm -f conftest.er1
10060   cat conftest.err >&5
10061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062   (exit $ac_status); } &&
10063          { ac_try='test -z "$ac_c_werror_flag"
10064                          || test ! -s conftest.err'
10065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066   (eval $ac_try) 2>&5
10067   ac_status=$?
10068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069   (exit $ac_status); }; } &&
10070          { ac_try='test -s conftest$ac_exeext'
10071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072   (eval $ac_try) 2>&5
10073   ac_status=$?
10074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075   (exit $ac_status); }; }; then
10076   eval "$as_ac_var=yes"
10077 else
10078   echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10080
10081 eval "$as_ac_var=no"
10082 fi
10083 rm -f conftest.err conftest.$ac_objext \
10084       conftest$ac_exeext conftest.$ac_ext
10085 fi
10086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10088 if test `eval echo '${'$as_ac_var'}'` = yes; then
10089   cat >>confdefs.h <<_ACEOF
10090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10091 _ACEOF
10092
10093 fi
10094 done
10095
10096     fi
10097   fi
10098
10099
10100
10101
10102
10103
10104   echo "$as_me:$LINENO: checking for sincos declaration" >&5
10105 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10106   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10107     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10108   echo $ECHO_N "(cached) $ECHO_C" >&6
10109 else
10110
10111
10112
10113       ac_ext=cc
10114 ac_cpp='$CXXCPP $CPPFLAGS'
10115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10118
10119       cat >conftest.$ac_ext <<_ACEOF
10120 /* confdefs.h.  */
10121 _ACEOF
10122 cat confdefs.h >>conftest.$ac_ext
10123 cat >>conftest.$ac_ext <<_ACEOF
10124 /* end confdefs.h.  */
10125 #include <math.h>
10126 int
10127 main ()
10128 {
10129  sincos(0, 0, 0);
10130   ;
10131   return 0;
10132 }
10133 _ACEOF
10134 rm -f conftest.$ac_objext
10135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10136   (eval $ac_compile) 2>conftest.er1
10137   ac_status=$?
10138   grep -v '^ *+' conftest.er1 >conftest.err
10139   rm -f conftest.er1
10140   cat conftest.err >&5
10141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142   (exit $ac_status); } &&
10143          { ac_try='test -z "$ac_cxx_werror_flag"
10144                          || test ! -s conftest.err'
10145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10146   (eval $ac_try) 2>&5
10147   ac_status=$?
10148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149   (exit $ac_status); }; } &&
10150          { ac_try='test -s conftest.$ac_objext'
10151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152   (eval $ac_try) 2>&5
10153   ac_status=$?
10154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155   (exit $ac_status); }; }; then
10156   glibcxx_cv_func_sincos_use=yes
10157 else
10158   echo "$as_me: failed program was:" >&5
10159 sed 's/^/| /' conftest.$ac_ext >&5
10160
10161 glibcxx_cv_func_sincos_use=no
10162 fi
10163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10164       ac_ext=c
10165 ac_cpp='$CPP $CPPFLAGS'
10166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10169
10170
10171 fi
10172
10173   fi
10174   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10175 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10176
10177   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10178
10179 for ac_func in sincos
10180 do
10181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10182 echo "$as_me:$LINENO: checking for $ac_func" >&5
10183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10184 if eval "test \"\${$as_ac_var+set}\" = set"; then
10185   echo $ECHO_N "(cached) $ECHO_C" >&6
10186 else
10187   if test x$gcc_no_link = xyes; then
10188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10190    { (exit 1); exit 1; }; }
10191 fi
10192 cat >conftest.$ac_ext <<_ACEOF
10193 /* confdefs.h.  */
10194 _ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h.  */
10198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10200 #define $ac_func innocuous_$ac_func
10201
10202 /* System header to define __stub macros and hopefully few prototypes,
10203     which can conflict with char $ac_func (); below.
10204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10205     <limits.h> exists even on freestanding compilers.  */
10206
10207 #ifdef __STDC__
10208 # include <limits.h>
10209 #else
10210 # include <assert.h>
10211 #endif
10212
10213 #undef $ac_func
10214
10215 /* Override any gcc2 internal prototype to avoid an error.  */
10216 #ifdef __cplusplus
10217 extern "C"
10218 {
10219 #endif
10220 /* We use char because int might match the return type of a gcc2
10221    builtin and then its argument prototype would still apply.  */
10222 char $ac_func ();
10223 /* The GNU C library defines this for functions which it implements
10224     to always fail with ENOSYS.  Some functions are actually named
10225     something starting with __ and the normal name is an alias.  */
10226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10227 choke me
10228 #else
10229 char (*f) () = $ac_func;
10230 #endif
10231 #ifdef __cplusplus
10232 }
10233 #endif
10234
10235 int
10236 main ()
10237 {
10238 return f != $ac_func;
10239   ;
10240   return 0;
10241 }
10242 _ACEOF
10243 rm -f conftest.$ac_objext conftest$ac_exeext
10244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10245   (eval $ac_link) 2>conftest.er1
10246   ac_status=$?
10247   grep -v '^ *+' conftest.er1 >conftest.err
10248   rm -f conftest.er1
10249   cat conftest.err >&5
10250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251   (exit $ac_status); } &&
10252          { ac_try='test -z "$ac_c_werror_flag"
10253                          || test ! -s conftest.err'
10254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255   (eval $ac_try) 2>&5
10256   ac_status=$?
10257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258   (exit $ac_status); }; } &&
10259          { ac_try='test -s conftest$ac_exeext'
10260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261   (eval $ac_try) 2>&5
10262   ac_status=$?
10263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264   (exit $ac_status); }; }; then
10265   eval "$as_ac_var=yes"
10266 else
10267   echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10269
10270 eval "$as_ac_var=no"
10271 fi
10272 rm -f conftest.err conftest.$ac_objext \
10273       conftest$ac_exeext conftest.$ac_ext
10274 fi
10275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10277 if test `eval echo '${'$as_ac_var'}'` = yes; then
10278   cat >>confdefs.h <<_ACEOF
10279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10280 _ACEOF
10281
10282 fi
10283 done
10284
10285   else
10286
10287   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10288 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10289   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10290     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10291   echo $ECHO_N "(cached) $ECHO_C" >&6
10292 else
10293
10294
10295
10296       ac_ext=cc
10297 ac_cpp='$CXXCPP $CPPFLAGS'
10298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10301
10302       cat >conftest.$ac_ext <<_ACEOF
10303 /* confdefs.h.  */
10304 _ACEOF
10305 cat confdefs.h >>conftest.$ac_ext
10306 cat >>conftest.$ac_ext <<_ACEOF
10307 /* end confdefs.h.  */
10308 #include <math.h>
10309 int
10310 main ()
10311 {
10312  _sincos(0, 0, 0);
10313   ;
10314   return 0;
10315 }
10316 _ACEOF
10317 rm -f conftest.$ac_objext
10318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10319   (eval $ac_compile) 2>conftest.er1
10320   ac_status=$?
10321   grep -v '^ *+' conftest.er1 >conftest.err
10322   rm -f conftest.er1
10323   cat conftest.err >&5
10324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325   (exit $ac_status); } &&
10326          { ac_try='test -z "$ac_cxx_werror_flag"
10327                          || test ! -s conftest.err'
10328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329   (eval $ac_try) 2>&5
10330   ac_status=$?
10331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332   (exit $ac_status); }; } &&
10333          { ac_try='test -s conftest.$ac_objext'
10334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335   (eval $ac_try) 2>&5
10336   ac_status=$?
10337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338   (exit $ac_status); }; }; then
10339   glibcxx_cv_func__sincos_use=yes
10340 else
10341   echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.$ac_ext >&5
10343
10344 glibcxx_cv_func__sincos_use=no
10345 fi
10346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10347       ac_ext=c
10348 ac_cpp='$CPP $CPPFLAGS'
10349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10352
10353
10354 fi
10355
10356   fi
10357   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10358 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10359
10360     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10361
10362 for ac_func in _sincos
10363 do
10364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10365 echo "$as_me:$LINENO: checking for $ac_func" >&5
10366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10367 if eval "test \"\${$as_ac_var+set}\" = set"; then
10368   echo $ECHO_N "(cached) $ECHO_C" >&6
10369 else
10370   if test x$gcc_no_link = xyes; then
10371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10373    { (exit 1); exit 1; }; }
10374 fi
10375 cat >conftest.$ac_ext <<_ACEOF
10376 /* confdefs.h.  */
10377 _ACEOF
10378 cat confdefs.h >>conftest.$ac_ext
10379 cat >>conftest.$ac_ext <<_ACEOF
10380 /* end confdefs.h.  */
10381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10383 #define $ac_func innocuous_$ac_func
10384
10385 /* System header to define __stub macros and hopefully few prototypes,
10386     which can conflict with char $ac_func (); below.
10387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10388     <limits.h> exists even on freestanding compilers.  */
10389
10390 #ifdef __STDC__
10391 # include <limits.h>
10392 #else
10393 # include <assert.h>
10394 #endif
10395
10396 #undef $ac_func
10397
10398 /* Override any gcc2 internal prototype to avoid an error.  */
10399 #ifdef __cplusplus
10400 extern "C"
10401 {
10402 #endif
10403 /* We use char because int might match the return type of a gcc2
10404    builtin and then its argument prototype would still apply.  */
10405 char $ac_func ();
10406 /* The GNU C library defines this for functions which it implements
10407     to always fail with ENOSYS.  Some functions are actually named
10408     something starting with __ and the normal name is an alias.  */
10409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10410 choke me
10411 #else
10412 char (*f) () = $ac_func;
10413 #endif
10414 #ifdef __cplusplus
10415 }
10416 #endif
10417
10418 int
10419 main ()
10420 {
10421 return f != $ac_func;
10422   ;
10423   return 0;
10424 }
10425 _ACEOF
10426 rm -f conftest.$ac_objext conftest$ac_exeext
10427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10428   (eval $ac_link) 2>conftest.er1
10429   ac_status=$?
10430   grep -v '^ *+' conftest.er1 >conftest.err
10431   rm -f conftest.er1
10432   cat conftest.err >&5
10433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434   (exit $ac_status); } &&
10435          { ac_try='test -z "$ac_c_werror_flag"
10436                          || test ! -s conftest.err'
10437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438   (eval $ac_try) 2>&5
10439   ac_status=$?
10440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441   (exit $ac_status); }; } &&
10442          { ac_try='test -s conftest$ac_exeext'
10443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444   (eval $ac_try) 2>&5
10445   ac_status=$?
10446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447   (exit $ac_status); }; }; then
10448   eval "$as_ac_var=yes"
10449 else
10450   echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.$ac_ext >&5
10452
10453 eval "$as_ac_var=no"
10454 fi
10455 rm -f conftest.err conftest.$ac_objext \
10456       conftest$ac_exeext conftest.$ac_ext
10457 fi
10458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10460 if test `eval echo '${'$as_ac_var'}'` = yes; then
10461   cat >>confdefs.h <<_ACEOF
10462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10463 _ACEOF
10464
10465 fi
10466 done
10467
10468     fi
10469   fi
10470
10471
10472
10473
10474
10475
10476   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10477 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10478   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10479     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10480   echo $ECHO_N "(cached) $ECHO_C" >&6
10481 else
10482
10483
10484
10485       ac_ext=cc
10486 ac_cpp='$CXXCPP $CPPFLAGS'
10487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10490
10491       cat >conftest.$ac_ext <<_ACEOF
10492 /* confdefs.h.  */
10493 _ACEOF
10494 cat confdefs.h >>conftest.$ac_ext
10495 cat >>conftest.$ac_ext <<_ACEOF
10496 /* end confdefs.h.  */
10497 #include <math.h>
10498                       #ifdef HAVE_IEEEFP_H
10499                       #include <ieeefp.h>
10500                       #endif
10501
10502 int
10503 main ()
10504 {
10505  fpclass(0);
10506   ;
10507   return 0;
10508 }
10509 _ACEOF
10510 rm -f conftest.$ac_objext
10511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10512   (eval $ac_compile) 2>conftest.er1
10513   ac_status=$?
10514   grep -v '^ *+' conftest.er1 >conftest.err
10515   rm -f conftest.er1
10516   cat conftest.err >&5
10517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518   (exit $ac_status); } &&
10519          { ac_try='test -z "$ac_cxx_werror_flag"
10520                          || test ! -s conftest.err'
10521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10522   (eval $ac_try) 2>&5
10523   ac_status=$?
10524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525   (exit $ac_status); }; } &&
10526          { ac_try='test -s conftest.$ac_objext'
10527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10528   (eval $ac_try) 2>&5
10529   ac_status=$?
10530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531   (exit $ac_status); }; }; then
10532   glibcxx_cv_func_fpclass_use=yes
10533 else
10534   echo "$as_me: failed program was:" >&5
10535 sed 's/^/| /' conftest.$ac_ext >&5
10536
10537 glibcxx_cv_func_fpclass_use=no
10538 fi
10539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10540       ac_ext=c
10541 ac_cpp='$CPP $CPPFLAGS'
10542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10545
10546
10547 fi
10548
10549   fi
10550   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10551 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10552
10553   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10554
10555 for ac_func in fpclass
10556 do
10557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10558 echo "$as_me:$LINENO: checking for $ac_func" >&5
10559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10560 if eval "test \"\${$as_ac_var+set}\" = set"; then
10561   echo $ECHO_N "(cached) $ECHO_C" >&6
10562 else
10563   if test x$gcc_no_link = xyes; then
10564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10566    { (exit 1); exit 1; }; }
10567 fi
10568 cat >conftest.$ac_ext <<_ACEOF
10569 /* confdefs.h.  */
10570 _ACEOF
10571 cat confdefs.h >>conftest.$ac_ext
10572 cat >>conftest.$ac_ext <<_ACEOF
10573 /* end confdefs.h.  */
10574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10576 #define $ac_func innocuous_$ac_func
10577
10578 /* System header to define __stub macros and hopefully few prototypes,
10579     which can conflict with char $ac_func (); below.
10580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10581     <limits.h> exists even on freestanding compilers.  */
10582
10583 #ifdef __STDC__
10584 # include <limits.h>
10585 #else
10586 # include <assert.h>
10587 #endif
10588
10589 #undef $ac_func
10590
10591 /* Override any gcc2 internal prototype to avoid an error.  */
10592 #ifdef __cplusplus
10593 extern "C"
10594 {
10595 #endif
10596 /* We use char because int might match the return type of a gcc2
10597    builtin and then its argument prototype would still apply.  */
10598 char $ac_func ();
10599 /* The GNU C library defines this for functions which it implements
10600     to always fail with ENOSYS.  Some functions are actually named
10601     something starting with __ and the normal name is an alias.  */
10602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10603 choke me
10604 #else
10605 char (*f) () = $ac_func;
10606 #endif
10607 #ifdef __cplusplus
10608 }
10609 #endif
10610
10611 int
10612 main ()
10613 {
10614 return f != $ac_func;
10615   ;
10616   return 0;
10617 }
10618 _ACEOF
10619 rm -f conftest.$ac_objext conftest$ac_exeext
10620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10621   (eval $ac_link) 2>conftest.er1
10622   ac_status=$?
10623   grep -v '^ *+' conftest.er1 >conftest.err
10624   rm -f conftest.er1
10625   cat conftest.err >&5
10626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627   (exit $ac_status); } &&
10628          { ac_try='test -z "$ac_c_werror_flag"
10629                          || test ! -s conftest.err'
10630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10631   (eval $ac_try) 2>&5
10632   ac_status=$?
10633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634   (exit $ac_status); }; } &&
10635          { ac_try='test -s conftest$ac_exeext'
10636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10637   (eval $ac_try) 2>&5
10638   ac_status=$?
10639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640   (exit $ac_status); }; }; then
10641   eval "$as_ac_var=yes"
10642 else
10643   echo "$as_me: failed program was:" >&5
10644 sed 's/^/| /' conftest.$ac_ext >&5
10645
10646 eval "$as_ac_var=no"
10647 fi
10648 rm -f conftest.err conftest.$ac_objext \
10649       conftest$ac_exeext conftest.$ac_ext
10650 fi
10651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10653 if test `eval echo '${'$as_ac_var'}'` = yes; then
10654   cat >>confdefs.h <<_ACEOF
10655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10656 _ACEOF
10657
10658 fi
10659 done
10660
10661   else
10662
10663   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10664 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10665   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10666     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10667   echo $ECHO_N "(cached) $ECHO_C" >&6
10668 else
10669
10670
10671
10672       ac_ext=cc
10673 ac_cpp='$CXXCPP $CPPFLAGS'
10674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10677
10678       cat >conftest.$ac_ext <<_ACEOF
10679 /* confdefs.h.  */
10680 _ACEOF
10681 cat confdefs.h >>conftest.$ac_ext
10682 cat >>conftest.$ac_ext <<_ACEOF
10683 /* end confdefs.h.  */
10684 #include <math.h>
10685                       #ifdef HAVE_IEEEFP_H
10686                       #include <ieeefp.h>
10687                       #endif
10688
10689 int
10690 main ()
10691 {
10692  _fpclass(0);
10693   ;
10694   return 0;
10695 }
10696 _ACEOF
10697 rm -f conftest.$ac_objext
10698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10699   (eval $ac_compile) 2>conftest.er1
10700   ac_status=$?
10701   grep -v '^ *+' conftest.er1 >conftest.err
10702   rm -f conftest.er1
10703   cat conftest.err >&5
10704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705   (exit $ac_status); } &&
10706          { ac_try='test -z "$ac_cxx_werror_flag"
10707                          || test ! -s conftest.err'
10708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709   (eval $ac_try) 2>&5
10710   ac_status=$?
10711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712   (exit $ac_status); }; } &&
10713          { ac_try='test -s conftest.$ac_objext'
10714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715   (eval $ac_try) 2>&5
10716   ac_status=$?
10717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718   (exit $ac_status); }; }; then
10719   glibcxx_cv_func__fpclass_use=yes
10720 else
10721   echo "$as_me: failed program was:" >&5
10722 sed 's/^/| /' conftest.$ac_ext >&5
10723
10724 glibcxx_cv_func__fpclass_use=no
10725 fi
10726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10727       ac_ext=c
10728 ac_cpp='$CPP $CPPFLAGS'
10729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10732
10733
10734 fi
10735
10736   fi
10737   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10738 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10739
10740     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10741
10742 for ac_func in _fpclass
10743 do
10744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10745 echo "$as_me:$LINENO: checking for $ac_func" >&5
10746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10747 if eval "test \"\${$as_ac_var+set}\" = set"; then
10748   echo $ECHO_N "(cached) $ECHO_C" >&6
10749 else
10750   if test x$gcc_no_link = xyes; then
10751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10753    { (exit 1); exit 1; }; }
10754 fi
10755 cat >conftest.$ac_ext <<_ACEOF
10756 /* confdefs.h.  */
10757 _ACEOF
10758 cat confdefs.h >>conftest.$ac_ext
10759 cat >>conftest.$ac_ext <<_ACEOF
10760 /* end confdefs.h.  */
10761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10763 #define $ac_func innocuous_$ac_func
10764
10765 /* System header to define __stub macros and hopefully few prototypes,
10766     which can conflict with char $ac_func (); below.
10767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10768     <limits.h> exists even on freestanding compilers.  */
10769
10770 #ifdef __STDC__
10771 # include <limits.h>
10772 #else
10773 # include <assert.h>
10774 #endif
10775
10776 #undef $ac_func
10777
10778 /* Override any gcc2 internal prototype to avoid an error.  */
10779 #ifdef __cplusplus
10780 extern "C"
10781 {
10782 #endif
10783 /* We use char because int might match the return type of a gcc2
10784    builtin and then its argument prototype would still apply.  */
10785 char $ac_func ();
10786 /* The GNU C library defines this for functions which it implements
10787     to always fail with ENOSYS.  Some functions are actually named
10788     something starting with __ and the normal name is an alias.  */
10789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10790 choke me
10791 #else
10792 char (*f) () = $ac_func;
10793 #endif
10794 #ifdef __cplusplus
10795 }
10796 #endif
10797
10798 int
10799 main ()
10800 {
10801 return f != $ac_func;
10802   ;
10803   return 0;
10804 }
10805 _ACEOF
10806 rm -f conftest.$ac_objext conftest$ac_exeext
10807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10808   (eval $ac_link) 2>conftest.er1
10809   ac_status=$?
10810   grep -v '^ *+' conftest.er1 >conftest.err
10811   rm -f conftest.er1
10812   cat conftest.err >&5
10813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814   (exit $ac_status); } &&
10815          { ac_try='test -z "$ac_c_werror_flag"
10816                          || test ! -s conftest.err'
10817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818   (eval $ac_try) 2>&5
10819   ac_status=$?
10820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821   (exit $ac_status); }; } &&
10822          { ac_try='test -s conftest$ac_exeext'
10823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10824   (eval $ac_try) 2>&5
10825   ac_status=$?
10826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827   (exit $ac_status); }; }; then
10828   eval "$as_ac_var=yes"
10829 else
10830   echo "$as_me: failed program was:" >&5
10831 sed 's/^/| /' conftest.$ac_ext >&5
10832
10833 eval "$as_ac_var=no"
10834 fi
10835 rm -f conftest.err conftest.$ac_objext \
10836       conftest$ac_exeext conftest.$ac_ext
10837 fi
10838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10840 if test `eval echo '${'$as_ac_var'}'` = yes; then
10841   cat >>confdefs.h <<_ACEOF
10842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10843 _ACEOF
10844
10845 fi
10846 done
10847
10848     fi
10849   fi
10850
10851
10852
10853
10854
10855
10856   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10857 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10858   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10859     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10860   echo $ECHO_N "(cached) $ECHO_C" >&6
10861 else
10862
10863
10864
10865       ac_ext=cc
10866 ac_cpp='$CXXCPP $CPPFLAGS'
10867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10870
10871       cat >conftest.$ac_ext <<_ACEOF
10872 /* confdefs.h.  */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h.  */
10877 #include <math.h>
10878                       #ifdef HAVE_IEEEFP_H
10879                       #include <ieeefp.h>
10880                       #endif
10881
10882 int
10883 main ()
10884 {
10885  qfpclass(0);
10886   ;
10887   return 0;
10888 }
10889 _ACEOF
10890 rm -f conftest.$ac_objext
10891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10892   (eval $ac_compile) 2>conftest.er1
10893   ac_status=$?
10894   grep -v '^ *+' conftest.er1 >conftest.err
10895   rm -f conftest.er1
10896   cat conftest.err >&5
10897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898   (exit $ac_status); } &&
10899          { ac_try='test -z "$ac_cxx_werror_flag"
10900                          || test ! -s conftest.err'
10901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902   (eval $ac_try) 2>&5
10903   ac_status=$?
10904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905   (exit $ac_status); }; } &&
10906          { ac_try='test -s conftest.$ac_objext'
10907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10908   (eval $ac_try) 2>&5
10909   ac_status=$?
10910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911   (exit $ac_status); }; }; then
10912   glibcxx_cv_func_qfpclass_use=yes
10913 else
10914   echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.$ac_ext >&5
10916
10917 glibcxx_cv_func_qfpclass_use=no
10918 fi
10919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10920       ac_ext=c
10921 ac_cpp='$CPP $CPPFLAGS'
10922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10925
10926
10927 fi
10928
10929   fi
10930   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10931 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10932
10933   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10934
10935 for ac_func in qfpclass
10936 do
10937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10938 echo "$as_me:$LINENO: checking for $ac_func" >&5
10939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10940 if eval "test \"\${$as_ac_var+set}\" = set"; then
10941   echo $ECHO_N "(cached) $ECHO_C" >&6
10942 else
10943   if test x$gcc_no_link = xyes; then
10944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10946    { (exit 1); exit 1; }; }
10947 fi
10948 cat >conftest.$ac_ext <<_ACEOF
10949 /* confdefs.h.  */
10950 _ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h.  */
10954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10956 #define $ac_func innocuous_$ac_func
10957
10958 /* System header to define __stub macros and hopefully few prototypes,
10959     which can conflict with char $ac_func (); below.
10960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10961     <limits.h> exists even on freestanding compilers.  */
10962
10963 #ifdef __STDC__
10964 # include <limits.h>
10965 #else
10966 # include <assert.h>
10967 #endif
10968
10969 #undef $ac_func
10970
10971 /* Override any gcc2 internal prototype to avoid an error.  */
10972 #ifdef __cplusplus
10973 extern "C"
10974 {
10975 #endif
10976 /* We use char because int might match the return type of a gcc2
10977    builtin and then its argument prototype would still apply.  */
10978 char $ac_func ();
10979 /* The GNU C library defines this for functions which it implements
10980     to always fail with ENOSYS.  Some functions are actually named
10981     something starting with __ and the normal name is an alias.  */
10982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10983 choke me
10984 #else
10985 char (*f) () = $ac_func;
10986 #endif
10987 #ifdef __cplusplus
10988 }
10989 #endif
10990
10991 int
10992 main ()
10993 {
10994 return f != $ac_func;
10995   ;
10996   return 0;
10997 }
10998 _ACEOF
10999 rm -f conftest.$ac_objext conftest$ac_exeext
11000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11001   (eval $ac_link) 2>conftest.er1
11002   ac_status=$?
11003   grep -v '^ *+' conftest.er1 >conftest.err
11004   rm -f conftest.er1
11005   cat conftest.err >&5
11006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007   (exit $ac_status); } &&
11008          { ac_try='test -z "$ac_c_werror_flag"
11009                          || test ! -s conftest.err'
11010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011   (eval $ac_try) 2>&5
11012   ac_status=$?
11013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014   (exit $ac_status); }; } &&
11015          { ac_try='test -s conftest$ac_exeext'
11016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11017   (eval $ac_try) 2>&5
11018   ac_status=$?
11019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020   (exit $ac_status); }; }; then
11021   eval "$as_ac_var=yes"
11022 else
11023   echo "$as_me: failed program was:" >&5
11024 sed 's/^/| /' conftest.$ac_ext >&5
11025
11026 eval "$as_ac_var=no"
11027 fi
11028 rm -f conftest.err conftest.$ac_objext \
11029       conftest$ac_exeext conftest.$ac_ext
11030 fi
11031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11033 if test `eval echo '${'$as_ac_var'}'` = yes; then
11034   cat >>confdefs.h <<_ACEOF
11035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11036 _ACEOF
11037
11038 fi
11039 done
11040
11041   else
11042
11043   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11044 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11045   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11046     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11047   echo $ECHO_N "(cached) $ECHO_C" >&6
11048 else
11049
11050
11051
11052       ac_ext=cc
11053 ac_cpp='$CXXCPP $CPPFLAGS'
11054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11057
11058       cat >conftest.$ac_ext <<_ACEOF
11059 /* confdefs.h.  */
11060 _ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h.  */
11064 #include <math.h>
11065                       #ifdef HAVE_IEEEFP_H
11066                       #include <ieeefp.h>
11067                       #endif
11068
11069 int
11070 main ()
11071 {
11072  _qfpclass(0);
11073   ;
11074   return 0;
11075 }
11076 _ACEOF
11077 rm -f conftest.$ac_objext
11078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11079   (eval $ac_compile) 2>conftest.er1
11080   ac_status=$?
11081   grep -v '^ *+' conftest.er1 >conftest.err
11082   rm -f conftest.er1
11083   cat conftest.err >&5
11084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085   (exit $ac_status); } &&
11086          { ac_try='test -z "$ac_cxx_werror_flag"
11087                          || test ! -s conftest.err'
11088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11089   (eval $ac_try) 2>&5
11090   ac_status=$?
11091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092   (exit $ac_status); }; } &&
11093          { ac_try='test -s conftest.$ac_objext'
11094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095   (eval $ac_try) 2>&5
11096   ac_status=$?
11097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098   (exit $ac_status); }; }; then
11099   glibcxx_cv_func__qfpclass_use=yes
11100 else
11101   echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.$ac_ext >&5
11103
11104 glibcxx_cv_func__qfpclass_use=no
11105 fi
11106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11107       ac_ext=c
11108 ac_cpp='$CPP $CPPFLAGS'
11109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11112
11113
11114 fi
11115
11116   fi
11117   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11118 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11119
11120     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11121
11122 for ac_func in _qfpclass
11123 do
11124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11125 echo "$as_me:$LINENO: checking for $ac_func" >&5
11126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11127 if eval "test \"\${$as_ac_var+set}\" = set"; then
11128   echo $ECHO_N "(cached) $ECHO_C" >&6
11129 else
11130   if test x$gcc_no_link = xyes; then
11131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11133    { (exit 1); exit 1; }; }
11134 fi
11135 cat >conftest.$ac_ext <<_ACEOF
11136 /* confdefs.h.  */
11137 _ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h.  */
11141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11143 #define $ac_func innocuous_$ac_func
11144
11145 /* System header to define __stub macros and hopefully few prototypes,
11146     which can conflict with char $ac_func (); below.
11147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11148     <limits.h> exists even on freestanding compilers.  */
11149
11150 #ifdef __STDC__
11151 # include <limits.h>
11152 #else
11153 # include <assert.h>
11154 #endif
11155
11156 #undef $ac_func
11157
11158 /* Override any gcc2 internal prototype to avoid an error.  */
11159 #ifdef __cplusplus
11160 extern "C"
11161 {
11162 #endif
11163 /* We use char because int might match the return type of a gcc2
11164    builtin and then its argument prototype would still apply.  */
11165 char $ac_func ();
11166 /* The GNU C library defines this for functions which it implements
11167     to always fail with ENOSYS.  Some functions are actually named
11168     something starting with __ and the normal name is an alias.  */
11169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11170 choke me
11171 #else
11172 char (*f) () = $ac_func;
11173 #endif
11174 #ifdef __cplusplus
11175 }
11176 #endif
11177
11178 int
11179 main ()
11180 {
11181 return f != $ac_func;
11182   ;
11183   return 0;
11184 }
11185 _ACEOF
11186 rm -f conftest.$ac_objext conftest$ac_exeext
11187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11188   (eval $ac_link) 2>conftest.er1
11189   ac_status=$?
11190   grep -v '^ *+' conftest.er1 >conftest.err
11191   rm -f conftest.er1
11192   cat conftest.err >&5
11193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194   (exit $ac_status); } &&
11195          { ac_try='test -z "$ac_c_werror_flag"
11196                          || test ! -s conftest.err'
11197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198   (eval $ac_try) 2>&5
11199   ac_status=$?
11200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201   (exit $ac_status); }; } &&
11202          { ac_try='test -s conftest$ac_exeext'
11203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204   (eval $ac_try) 2>&5
11205   ac_status=$?
11206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207   (exit $ac_status); }; }; then
11208   eval "$as_ac_var=yes"
11209 else
11210   echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11212
11213 eval "$as_ac_var=no"
11214 fi
11215 rm -f conftest.err conftest.$ac_objext \
11216       conftest$ac_exeext conftest.$ac_ext
11217 fi
11218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11220 if test `eval echo '${'$as_ac_var'}'` = yes; then
11221   cat >>confdefs.h <<_ACEOF
11222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11223 _ACEOF
11224
11225 fi
11226 done
11227
11228     fi
11229   fi
11230
11231
11232
11233
11234
11235
11236   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11237 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11238   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11239     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11240   echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242
11243
11244
11245       ac_ext=cc
11246 ac_cpp='$CXXCPP $CPPFLAGS'
11247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11250
11251       cat >conftest.$ac_ext <<_ACEOF
11252 /* confdefs.h.  */
11253 _ACEOF
11254 cat confdefs.h >>conftest.$ac_ext
11255 cat >>conftest.$ac_ext <<_ACEOF
11256 /* end confdefs.h.  */
11257 #include <math.h>
11258 int
11259 main ()
11260 {
11261  hypot(0, 0);
11262   ;
11263   return 0;
11264 }
11265 _ACEOF
11266 rm -f conftest.$ac_objext
11267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11268   (eval $ac_compile) 2>conftest.er1
11269   ac_status=$?
11270   grep -v '^ *+' conftest.er1 >conftest.err
11271   rm -f conftest.er1
11272   cat conftest.err >&5
11273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274   (exit $ac_status); } &&
11275          { ac_try='test -z "$ac_cxx_werror_flag"
11276                          || test ! -s conftest.err'
11277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278   (eval $ac_try) 2>&5
11279   ac_status=$?
11280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281   (exit $ac_status); }; } &&
11282          { ac_try='test -s conftest.$ac_objext'
11283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284   (eval $ac_try) 2>&5
11285   ac_status=$?
11286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287   (exit $ac_status); }; }; then
11288   glibcxx_cv_func_hypot_use=yes
11289 else
11290   echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.$ac_ext >&5
11292
11293 glibcxx_cv_func_hypot_use=no
11294 fi
11295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11296       ac_ext=c
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11301
11302
11303 fi
11304
11305   fi
11306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11307 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11308
11309   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11310
11311 for ac_func in hypot
11312 do
11313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11314 echo "$as_me:$LINENO: checking for $ac_func" >&5
11315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11316 if eval "test \"\${$as_ac_var+set}\" = set"; then
11317   echo $ECHO_N "(cached) $ECHO_C" >&6
11318 else
11319   if test x$gcc_no_link = xyes; then
11320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11322    { (exit 1); exit 1; }; }
11323 fi
11324 cat >conftest.$ac_ext <<_ACEOF
11325 /* confdefs.h.  */
11326 _ACEOF
11327 cat confdefs.h >>conftest.$ac_ext
11328 cat >>conftest.$ac_ext <<_ACEOF
11329 /* end confdefs.h.  */
11330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11332 #define $ac_func innocuous_$ac_func
11333
11334 /* System header to define __stub macros and hopefully few prototypes,
11335     which can conflict with char $ac_func (); below.
11336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11337     <limits.h> exists even on freestanding compilers.  */
11338
11339 #ifdef __STDC__
11340 # include <limits.h>
11341 #else
11342 # include <assert.h>
11343 #endif
11344
11345 #undef $ac_func
11346
11347 /* Override any gcc2 internal prototype to avoid an error.  */
11348 #ifdef __cplusplus
11349 extern "C"
11350 {
11351 #endif
11352 /* We use char because int might match the return type of a gcc2
11353    builtin and then its argument prototype would still apply.  */
11354 char $ac_func ();
11355 /* The GNU C library defines this for functions which it implements
11356     to always fail with ENOSYS.  Some functions are actually named
11357     something starting with __ and the normal name is an alias.  */
11358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11359 choke me
11360 #else
11361 char (*f) () = $ac_func;
11362 #endif
11363 #ifdef __cplusplus
11364 }
11365 #endif
11366
11367 int
11368 main ()
11369 {
11370 return f != $ac_func;
11371   ;
11372   return 0;
11373 }
11374 _ACEOF
11375 rm -f conftest.$ac_objext conftest$ac_exeext
11376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11377   (eval $ac_link) 2>conftest.er1
11378   ac_status=$?
11379   grep -v '^ *+' conftest.er1 >conftest.err
11380   rm -f conftest.er1
11381   cat conftest.err >&5
11382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383   (exit $ac_status); } &&
11384          { ac_try='test -z "$ac_c_werror_flag"
11385                          || test ! -s conftest.err'
11386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387   (eval $ac_try) 2>&5
11388   ac_status=$?
11389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390   (exit $ac_status); }; } &&
11391          { ac_try='test -s conftest$ac_exeext'
11392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393   (eval $ac_try) 2>&5
11394   ac_status=$?
11395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396   (exit $ac_status); }; }; then
11397   eval "$as_ac_var=yes"
11398 else
11399   echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11401
11402 eval "$as_ac_var=no"
11403 fi
11404 rm -f conftest.err conftest.$ac_objext \
11405       conftest$ac_exeext conftest.$ac_ext
11406 fi
11407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11409 if test `eval echo '${'$as_ac_var'}'` = yes; then
11410   cat >>confdefs.h <<_ACEOF
11411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11412 _ACEOF
11413
11414 fi
11415 done
11416
11417   else
11418
11419   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11420 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11421   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11422     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11423   echo $ECHO_N "(cached) $ECHO_C" >&6
11424 else
11425
11426
11427
11428       ac_ext=cc
11429 ac_cpp='$CXXCPP $CPPFLAGS'
11430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11433
11434       cat >conftest.$ac_ext <<_ACEOF
11435 /* confdefs.h.  */
11436 _ACEOF
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h.  */
11440 #include <math.h>
11441 int
11442 main ()
11443 {
11444  _hypot(0, 0);
11445   ;
11446   return 0;
11447 }
11448 _ACEOF
11449 rm -f conftest.$ac_objext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11451   (eval $ac_compile) 2>conftest.er1
11452   ac_status=$?
11453   grep -v '^ *+' conftest.er1 >conftest.err
11454   rm -f conftest.er1
11455   cat conftest.err >&5
11456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457   (exit $ac_status); } &&
11458          { ac_try='test -z "$ac_cxx_werror_flag"
11459                          || test ! -s conftest.err'
11460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461   (eval $ac_try) 2>&5
11462   ac_status=$?
11463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464   (exit $ac_status); }; } &&
11465          { ac_try='test -s conftest.$ac_objext'
11466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467   (eval $ac_try) 2>&5
11468   ac_status=$?
11469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470   (exit $ac_status); }; }; then
11471   glibcxx_cv_func__hypot_use=yes
11472 else
11473   echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.$ac_ext >&5
11475
11476 glibcxx_cv_func__hypot_use=no
11477 fi
11478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11479       ac_ext=c
11480 ac_cpp='$CPP $CPPFLAGS'
11481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11484
11485
11486 fi
11487
11488   fi
11489   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11490 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11491
11492     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11493
11494 for ac_func in _hypot
11495 do
11496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11497 echo "$as_me:$LINENO: checking for $ac_func" >&5
11498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11499 if eval "test \"\${$as_ac_var+set}\" = set"; then
11500   echo $ECHO_N "(cached) $ECHO_C" >&6
11501 else
11502   if test x$gcc_no_link = xyes; then
11503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11505    { (exit 1); exit 1; }; }
11506 fi
11507 cat >conftest.$ac_ext <<_ACEOF
11508 /* confdefs.h.  */
11509 _ACEOF
11510 cat confdefs.h >>conftest.$ac_ext
11511 cat >>conftest.$ac_ext <<_ACEOF
11512 /* end confdefs.h.  */
11513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11515 #define $ac_func innocuous_$ac_func
11516
11517 /* System header to define __stub macros and hopefully few prototypes,
11518     which can conflict with char $ac_func (); below.
11519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11520     <limits.h> exists even on freestanding compilers.  */
11521
11522 #ifdef __STDC__
11523 # include <limits.h>
11524 #else
11525 # include <assert.h>
11526 #endif
11527
11528 #undef $ac_func
11529
11530 /* Override any gcc2 internal prototype to avoid an error.  */
11531 #ifdef __cplusplus
11532 extern "C"
11533 {
11534 #endif
11535 /* We use char because int might match the return type of a gcc2
11536    builtin and then its argument prototype would still apply.  */
11537 char $ac_func ();
11538 /* The GNU C library defines this for functions which it implements
11539     to always fail with ENOSYS.  Some functions are actually named
11540     something starting with __ and the normal name is an alias.  */
11541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11542 choke me
11543 #else
11544 char (*f) () = $ac_func;
11545 #endif
11546 #ifdef __cplusplus
11547 }
11548 #endif
11549
11550 int
11551 main ()
11552 {
11553 return f != $ac_func;
11554   ;
11555   return 0;
11556 }
11557 _ACEOF
11558 rm -f conftest.$ac_objext conftest$ac_exeext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11560   (eval $ac_link) 2>conftest.er1
11561   ac_status=$?
11562   grep -v '^ *+' conftest.er1 >conftest.err
11563   rm -f conftest.er1
11564   cat conftest.err >&5
11565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566   (exit $ac_status); } &&
11567          { ac_try='test -z "$ac_c_werror_flag"
11568                          || test ! -s conftest.err'
11569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570   (eval $ac_try) 2>&5
11571   ac_status=$?
11572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573   (exit $ac_status); }; } &&
11574          { ac_try='test -s conftest$ac_exeext'
11575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576   (eval $ac_try) 2>&5
11577   ac_status=$?
11578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579   (exit $ac_status); }; }; then
11580   eval "$as_ac_var=yes"
11581 else
11582   echo "$as_me: failed program was:" >&5
11583 sed 's/^/| /' conftest.$ac_ext >&5
11584
11585 eval "$as_ac_var=no"
11586 fi
11587 rm -f conftest.err conftest.$ac_objext \
11588       conftest$ac_exeext conftest.$ac_ext
11589 fi
11590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11592 if test `eval echo '${'$as_ac_var'}'` = yes; then
11593   cat >>confdefs.h <<_ACEOF
11594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11595 _ACEOF
11596
11597 fi
11598 done
11599
11600     fi
11601   fi
11602
11603
11604
11605
11606
11607
11608     echo "$as_me:$LINENO: checking for float trig functions" >&5
11609 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11610   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11611   echo $ECHO_N "(cached) $ECHO_C" >&6
11612 else
11613
11614
11615
11616     ac_ext=cc
11617 ac_cpp='$CXXCPP $CPPFLAGS'
11618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11621
11622     cat >conftest.$ac_ext <<_ACEOF
11623 /* confdefs.h.  */
11624 _ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h.  */
11628 #include <math.h>
11629 int
11630 main ()
11631 {
11632 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11633   ;
11634   return 0;
11635 }
11636 _ACEOF
11637 rm -f conftest.$ac_objext
11638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11639   (eval $ac_compile) 2>conftest.er1
11640   ac_status=$?
11641   grep -v '^ *+' conftest.er1 >conftest.err
11642   rm -f conftest.er1
11643   cat conftest.err >&5
11644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645   (exit $ac_status); } &&
11646          { ac_try='test -z "$ac_cxx_werror_flag"
11647                          || test ! -s conftest.err'
11648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11649   (eval $ac_try) 2>&5
11650   ac_status=$?
11651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652   (exit $ac_status); }; } &&
11653          { ac_try='test -s conftest.$ac_objext'
11654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655   (eval $ac_try) 2>&5
11656   ac_status=$?
11657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658   (exit $ac_status); }; }; then
11659   glibcxx_cv_func_float_trig_use=yes
11660 else
11661   echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.$ac_ext >&5
11663
11664 glibcxx_cv_func_float_trig_use=no
11665 fi
11666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11667     ac_ext=c
11668 ac_cpp='$CPP $CPPFLAGS'
11669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11672
11673 fi
11674
11675   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11676 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11677   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11688 do
11689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11690 echo "$as_me:$LINENO: checking for $ac_func" >&5
11691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11692 if eval "test \"\${$as_ac_var+set}\" = set"; then
11693   echo $ECHO_N "(cached) $ECHO_C" >&6
11694 else
11695   if test x$gcc_no_link = xyes; then
11696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11698    { (exit 1); exit 1; }; }
11699 fi
11700 cat >conftest.$ac_ext <<_ACEOF
11701 /* confdefs.h.  */
11702 _ACEOF
11703 cat confdefs.h >>conftest.$ac_ext
11704 cat >>conftest.$ac_ext <<_ACEOF
11705 /* end confdefs.h.  */
11706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11708 #define $ac_func innocuous_$ac_func
11709
11710 /* System header to define __stub macros and hopefully few prototypes,
11711     which can conflict with char $ac_func (); below.
11712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11713     <limits.h> exists even on freestanding compilers.  */
11714
11715 #ifdef __STDC__
11716 # include <limits.h>
11717 #else
11718 # include <assert.h>
11719 #endif
11720
11721 #undef $ac_func
11722
11723 /* Override any gcc2 internal prototype to avoid an error.  */
11724 #ifdef __cplusplus
11725 extern "C"
11726 {
11727 #endif
11728 /* We use char because int might match the return type of a gcc2
11729    builtin and then its argument prototype would still apply.  */
11730 char $ac_func ();
11731 /* The GNU C library defines this for functions which it implements
11732     to always fail with ENOSYS.  Some functions are actually named
11733     something starting with __ and the normal name is an alias.  */
11734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11735 choke me
11736 #else
11737 char (*f) () = $ac_func;
11738 #endif
11739 #ifdef __cplusplus
11740 }
11741 #endif
11742
11743 int
11744 main ()
11745 {
11746 return f != $ac_func;
11747   ;
11748   return 0;
11749 }
11750 _ACEOF
11751 rm -f conftest.$ac_objext conftest$ac_exeext
11752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11753   (eval $ac_link) 2>conftest.er1
11754   ac_status=$?
11755   grep -v '^ *+' conftest.er1 >conftest.err
11756   rm -f conftest.er1
11757   cat conftest.err >&5
11758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759   (exit $ac_status); } &&
11760          { ac_try='test -z "$ac_c_werror_flag"
11761                          || test ! -s conftest.err'
11762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763   (eval $ac_try) 2>&5
11764   ac_status=$?
11765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766   (exit $ac_status); }; } &&
11767          { ac_try='test -s conftest$ac_exeext'
11768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769   (eval $ac_try) 2>&5
11770   ac_status=$?
11771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772   (exit $ac_status); }; }; then
11773   eval "$as_ac_var=yes"
11774 else
11775   echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.$ac_ext >&5
11777
11778 eval "$as_ac_var=no"
11779 fi
11780 rm -f conftest.err conftest.$ac_objext \
11781       conftest$ac_exeext conftest.$ac_ext
11782 fi
11783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11785 if test `eval echo '${'$as_ac_var'}'` = yes; then
11786   cat >>confdefs.h <<_ACEOF
11787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11788 _ACEOF
11789
11790 fi
11791 done
11792
11793   else
11794     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11795 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11796     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11797   echo $ECHO_N "(cached) $ECHO_C" >&6
11798 else
11799
11800
11801
11802       ac_ext=cc
11803 ac_cpp='$CXXCPP $CPPFLAGS'
11804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11807
11808       cat >conftest.$ac_ext <<_ACEOF
11809 /* confdefs.h.  */
11810 _ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h.  */
11814 #include <math.h>
11815 int
11816 main ()
11817 {
11818 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11819   ;
11820   return 0;
11821 }
11822 _ACEOF
11823 rm -f conftest.$ac_objext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11825   (eval $ac_compile) 2>conftest.er1
11826   ac_status=$?
11827   grep -v '^ *+' conftest.er1 >conftest.err
11828   rm -f conftest.er1
11829   cat conftest.err >&5
11830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831   (exit $ac_status); } &&
11832          { ac_try='test -z "$ac_cxx_werror_flag"
11833                          || test ! -s conftest.err'
11834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835   (eval $ac_try) 2>&5
11836   ac_status=$?
11837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838   (exit $ac_status); }; } &&
11839          { ac_try='test -s conftest.$ac_objext'
11840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841   (eval $ac_try) 2>&5
11842   ac_status=$?
11843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844   (exit $ac_status); }; }; then
11845   glibcxx_cv_func__float_trig_use=yes
11846 else
11847   echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.$ac_ext >&5
11849
11850 glibcxx_cv_func__float_trig_use=no
11851 fi
11852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11853       ac_ext=c
11854 ac_cpp='$CPP $CPPFLAGS'
11855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11858
11859 fi
11860
11861     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11862 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11863     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11874 do
11875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11876 echo "$as_me:$LINENO: checking for $ac_func" >&5
11877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11878 if eval "test \"\${$as_ac_var+set}\" = set"; then
11879   echo $ECHO_N "(cached) $ECHO_C" >&6
11880 else
11881   if test x$gcc_no_link = xyes; then
11882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11884    { (exit 1); exit 1; }; }
11885 fi
11886 cat >conftest.$ac_ext <<_ACEOF
11887 /* confdefs.h.  */
11888 _ACEOF
11889 cat confdefs.h >>conftest.$ac_ext
11890 cat >>conftest.$ac_ext <<_ACEOF
11891 /* end confdefs.h.  */
11892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11894 #define $ac_func innocuous_$ac_func
11895
11896 /* System header to define __stub macros and hopefully few prototypes,
11897     which can conflict with char $ac_func (); below.
11898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11899     <limits.h> exists even on freestanding compilers.  */
11900
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906
11907 #undef $ac_func
11908
11909 /* Override any gcc2 internal prototype to avoid an error.  */
11910 #ifdef __cplusplus
11911 extern "C"
11912 {
11913 #endif
11914 /* We use char because int might match the return type of a gcc2
11915    builtin and then its argument prototype would still apply.  */
11916 char $ac_func ();
11917 /* The GNU C library defines this for functions which it implements
11918     to always fail with ENOSYS.  Some functions are actually named
11919     something starting with __ and the normal name is an alias.  */
11920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11921 choke me
11922 #else
11923 char (*f) () = $ac_func;
11924 #endif
11925 #ifdef __cplusplus
11926 }
11927 #endif
11928
11929 int
11930 main ()
11931 {
11932 return f != $ac_func;
11933   ;
11934   return 0;
11935 }
11936 _ACEOF
11937 rm -f conftest.$ac_objext conftest$ac_exeext
11938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11939   (eval $ac_link) 2>conftest.er1
11940   ac_status=$?
11941   grep -v '^ *+' conftest.er1 >conftest.err
11942   rm -f conftest.er1
11943   cat conftest.err >&5
11944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945   (exit $ac_status); } &&
11946          { ac_try='test -z "$ac_c_werror_flag"
11947                          || test ! -s conftest.err'
11948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949   (eval $ac_try) 2>&5
11950   ac_status=$?
11951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952   (exit $ac_status); }; } &&
11953          { ac_try='test -s conftest$ac_exeext'
11954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955   (eval $ac_try) 2>&5
11956   ac_status=$?
11957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958   (exit $ac_status); }; }; then
11959   eval "$as_ac_var=yes"
11960 else
11961   echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11963
11964 eval "$as_ac_var=no"
11965 fi
11966 rm -f conftest.err conftest.$ac_objext \
11967       conftest$ac_exeext conftest.$ac_ext
11968 fi
11969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11971 if test `eval echo '${'$as_ac_var'}'` = yes; then
11972   cat >>confdefs.h <<_ACEOF
11973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11974 _ACEOF
11975
11976 fi
11977 done
11978
11979     fi
11980   fi
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995     echo "$as_me:$LINENO: checking for float round functions" >&5
11996 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11997   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11998   echo $ECHO_N "(cached) $ECHO_C" >&6
11999 else
12000
12001
12002
12003     ac_ext=cc
12004 ac_cpp='$CXXCPP $CPPFLAGS'
12005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12008
12009     cat >conftest.$ac_ext <<_ACEOF
12010 /* confdefs.h.  */
12011 _ACEOF
12012 cat confdefs.h >>conftest.$ac_ext
12013 cat >>conftest.$ac_ext <<_ACEOF
12014 /* end confdefs.h.  */
12015 #include <math.h>
12016 int
12017 main ()
12018 {
12019 ceilf (0); floorf (0);
12020   ;
12021   return 0;
12022 }
12023 _ACEOF
12024 rm -f conftest.$ac_objext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12026   (eval $ac_compile) 2>conftest.er1
12027   ac_status=$?
12028   grep -v '^ *+' conftest.er1 >conftest.err
12029   rm -f conftest.er1
12030   cat conftest.err >&5
12031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032   (exit $ac_status); } &&
12033          { ac_try='test -z "$ac_cxx_werror_flag"
12034                          || test ! -s conftest.err'
12035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036   (eval $ac_try) 2>&5
12037   ac_status=$?
12038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039   (exit $ac_status); }; } &&
12040          { ac_try='test -s conftest.$ac_objext'
12041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12042   (eval $ac_try) 2>&5
12043   ac_status=$?
12044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045   (exit $ac_status); }; }; then
12046   glibcxx_cv_func_float_round_use=yes
12047 else
12048   echo "$as_me: failed program was:" >&5
12049 sed 's/^/| /' conftest.$ac_ext >&5
12050
12051 glibcxx_cv_func_float_round_use=no
12052 fi
12053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12054     ac_ext=c
12055 ac_cpp='$CPP $CPPFLAGS'
12056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059
12060 fi
12061
12062   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12063 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12064   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12065
12066
12067 for ac_func in ceilf floorf
12068 do
12069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12070 echo "$as_me:$LINENO: checking for $ac_func" >&5
12071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12072 if eval "test \"\${$as_ac_var+set}\" = set"; then
12073   echo $ECHO_N "(cached) $ECHO_C" >&6
12074 else
12075   if test x$gcc_no_link = xyes; then
12076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12078    { (exit 1); exit 1; }; }
12079 fi
12080 cat >conftest.$ac_ext <<_ACEOF
12081 /* confdefs.h.  */
12082 _ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h.  */
12086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12088 #define $ac_func innocuous_$ac_func
12089
12090 /* System header to define __stub macros and hopefully few prototypes,
12091     which can conflict with char $ac_func (); below.
12092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12093     <limits.h> exists even on freestanding compilers.  */
12094
12095 #ifdef __STDC__
12096 # include <limits.h>
12097 #else
12098 # include <assert.h>
12099 #endif
12100
12101 #undef $ac_func
12102
12103 /* Override any gcc2 internal prototype to avoid an error.  */
12104 #ifdef __cplusplus
12105 extern "C"
12106 {
12107 #endif
12108 /* We use char because int might match the return type of a gcc2
12109    builtin and then its argument prototype would still apply.  */
12110 char $ac_func ();
12111 /* The GNU C library defines this for functions which it implements
12112     to always fail with ENOSYS.  Some functions are actually named
12113     something starting with __ and the normal name is an alias.  */
12114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12115 choke me
12116 #else
12117 char (*f) () = $ac_func;
12118 #endif
12119 #ifdef __cplusplus
12120 }
12121 #endif
12122
12123 int
12124 main ()
12125 {
12126 return f != $ac_func;
12127   ;
12128   return 0;
12129 }
12130 _ACEOF
12131 rm -f conftest.$ac_objext conftest$ac_exeext
12132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12133   (eval $ac_link) 2>conftest.er1
12134   ac_status=$?
12135   grep -v '^ *+' conftest.er1 >conftest.err
12136   rm -f conftest.er1
12137   cat conftest.err >&5
12138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139   (exit $ac_status); } &&
12140          { ac_try='test -z "$ac_c_werror_flag"
12141                          || test ! -s conftest.err'
12142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143   (eval $ac_try) 2>&5
12144   ac_status=$?
12145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146   (exit $ac_status); }; } &&
12147          { ac_try='test -s conftest$ac_exeext'
12148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12149   (eval $ac_try) 2>&5
12150   ac_status=$?
12151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152   (exit $ac_status); }; }; then
12153   eval "$as_ac_var=yes"
12154 else
12155   echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.$ac_ext >&5
12157
12158 eval "$as_ac_var=no"
12159 fi
12160 rm -f conftest.err conftest.$ac_objext \
12161       conftest$ac_exeext conftest.$ac_ext
12162 fi
12163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12165 if test `eval echo '${'$as_ac_var'}'` = yes; then
12166   cat >>confdefs.h <<_ACEOF
12167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12168 _ACEOF
12169
12170 fi
12171 done
12172
12173   else
12174     echo "$as_me:$LINENO: checking for _float round functions" >&5
12175 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12176     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12177   echo $ECHO_N "(cached) $ECHO_C" >&6
12178 else
12179
12180
12181
12182       ac_ext=cc
12183 ac_cpp='$CXXCPP $CPPFLAGS'
12184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12187
12188       cat >conftest.$ac_ext <<_ACEOF
12189 /* confdefs.h.  */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h.  */
12194 #include <math.h>
12195 int
12196 main ()
12197 {
12198 _ceilf (0); _floorf (0);
12199   ;
12200   return 0;
12201 }
12202 _ACEOF
12203 rm -f conftest.$ac_objext
12204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12205   (eval $ac_compile) 2>conftest.er1
12206   ac_status=$?
12207   grep -v '^ *+' conftest.er1 >conftest.err
12208   rm -f conftest.er1
12209   cat conftest.err >&5
12210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211   (exit $ac_status); } &&
12212          { ac_try='test -z "$ac_cxx_werror_flag"
12213                          || test ! -s conftest.err'
12214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215   (eval $ac_try) 2>&5
12216   ac_status=$?
12217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218   (exit $ac_status); }; } &&
12219          { ac_try='test -s conftest.$ac_objext'
12220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221   (eval $ac_try) 2>&5
12222   ac_status=$?
12223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224   (exit $ac_status); }; }; then
12225   glibcxx_cv_func__float_round_use=yes
12226 else
12227   echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.$ac_ext >&5
12229
12230 glibcxx_cv_func__float_round_use=no
12231 fi
12232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12233       ac_ext=c
12234 ac_cpp='$CPP $CPPFLAGS'
12235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12238
12239 fi
12240
12241     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12242 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12243     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12244
12245
12246 for ac_func in _ceilf _floorf
12247 do
12248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12249 echo "$as_me:$LINENO: checking for $ac_func" >&5
12250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12251 if eval "test \"\${$as_ac_var+set}\" = set"; then
12252   echo $ECHO_N "(cached) $ECHO_C" >&6
12253 else
12254   if test x$gcc_no_link = xyes; then
12255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12257    { (exit 1); exit 1; }; }
12258 fi
12259 cat >conftest.$ac_ext <<_ACEOF
12260 /* confdefs.h.  */
12261 _ACEOF
12262 cat confdefs.h >>conftest.$ac_ext
12263 cat >>conftest.$ac_ext <<_ACEOF
12264 /* end confdefs.h.  */
12265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12267 #define $ac_func innocuous_$ac_func
12268
12269 /* System header to define __stub macros and hopefully few prototypes,
12270     which can conflict with char $ac_func (); below.
12271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12272     <limits.h> exists even on freestanding compilers.  */
12273
12274 #ifdef __STDC__
12275 # include <limits.h>
12276 #else
12277 # include <assert.h>
12278 #endif
12279
12280 #undef $ac_func
12281
12282 /* Override any gcc2 internal prototype to avoid an error.  */
12283 #ifdef __cplusplus
12284 extern "C"
12285 {
12286 #endif
12287 /* We use char because int might match the return type of a gcc2
12288    builtin and then its argument prototype would still apply.  */
12289 char $ac_func ();
12290 /* The GNU C library defines this for functions which it implements
12291     to always fail with ENOSYS.  Some functions are actually named
12292     something starting with __ and the normal name is an alias.  */
12293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12294 choke me
12295 #else
12296 char (*f) () = $ac_func;
12297 #endif
12298 #ifdef __cplusplus
12299 }
12300 #endif
12301
12302 int
12303 main ()
12304 {
12305 return f != $ac_func;
12306   ;
12307   return 0;
12308 }
12309 _ACEOF
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12312   (eval $ac_link) 2>conftest.er1
12313   ac_status=$?
12314   grep -v '^ *+' conftest.er1 >conftest.err
12315   rm -f conftest.er1
12316   cat conftest.err >&5
12317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318   (exit $ac_status); } &&
12319          { ac_try='test -z "$ac_c_werror_flag"
12320                          || test ! -s conftest.err'
12321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322   (eval $ac_try) 2>&5
12323   ac_status=$?
12324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325   (exit $ac_status); }; } &&
12326          { ac_try='test -s conftest$ac_exeext'
12327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328   (eval $ac_try) 2>&5
12329   ac_status=$?
12330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331   (exit $ac_status); }; }; then
12332   eval "$as_ac_var=yes"
12333 else
12334   echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12336
12337 eval "$as_ac_var=no"
12338 fi
12339 rm -f conftest.err conftest.$ac_objext \
12340       conftest$ac_exeext conftest.$ac_ext
12341 fi
12342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12344 if test `eval echo '${'$as_ac_var'}'` = yes; then
12345   cat >>confdefs.h <<_ACEOF
12346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12347 _ACEOF
12348
12349 fi
12350 done
12351
12352     fi
12353   fi
12354
12355
12356
12357
12358
12359
12360
12361
12362   echo "$as_me:$LINENO: checking for expf declaration" >&5
12363 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12364   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12365     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12366   echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368
12369
12370
12371       ac_ext=cc
12372 ac_cpp='$CXXCPP $CPPFLAGS'
12373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12376
12377       cat >conftest.$ac_ext <<_ACEOF
12378 /* confdefs.h.  */
12379 _ACEOF
12380 cat confdefs.h >>conftest.$ac_ext
12381 cat >>conftest.$ac_ext <<_ACEOF
12382 /* end confdefs.h.  */
12383 #include <math.h>
12384                       #ifdef HAVE_IEEEFP_H
12385                       #include <ieeefp.h>
12386                       #endif
12387
12388 int
12389 main ()
12390 {
12391  expf(0);
12392   ;
12393   return 0;
12394 }
12395 _ACEOF
12396 rm -f conftest.$ac_objext
12397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12398   (eval $ac_compile) 2>conftest.er1
12399   ac_status=$?
12400   grep -v '^ *+' conftest.er1 >conftest.err
12401   rm -f conftest.er1
12402   cat conftest.err >&5
12403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404   (exit $ac_status); } &&
12405          { ac_try='test -z "$ac_cxx_werror_flag"
12406                          || test ! -s conftest.err'
12407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408   (eval $ac_try) 2>&5
12409   ac_status=$?
12410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411   (exit $ac_status); }; } &&
12412          { ac_try='test -s conftest.$ac_objext'
12413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12414   (eval $ac_try) 2>&5
12415   ac_status=$?
12416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417   (exit $ac_status); }; }; then
12418   glibcxx_cv_func_expf_use=yes
12419 else
12420   echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.$ac_ext >&5
12422
12423 glibcxx_cv_func_expf_use=no
12424 fi
12425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12426       ac_ext=c
12427 ac_cpp='$CPP $CPPFLAGS'
12428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12431
12432
12433 fi
12434
12435   fi
12436   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12437 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12438
12439   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12440
12441 for ac_func in expf
12442 do
12443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12444 echo "$as_me:$LINENO: checking for $ac_func" >&5
12445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12446 if eval "test \"\${$as_ac_var+set}\" = set"; then
12447   echo $ECHO_N "(cached) $ECHO_C" >&6
12448 else
12449   if test x$gcc_no_link = xyes; then
12450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12452    { (exit 1); exit 1; }; }
12453 fi
12454 cat >conftest.$ac_ext <<_ACEOF
12455 /* confdefs.h.  */
12456 _ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h.  */
12460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12462 #define $ac_func innocuous_$ac_func
12463
12464 /* System header to define __stub macros and hopefully few prototypes,
12465     which can conflict with char $ac_func (); below.
12466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12467     <limits.h> exists even on freestanding compilers.  */
12468
12469 #ifdef __STDC__
12470 # include <limits.h>
12471 #else
12472 # include <assert.h>
12473 #endif
12474
12475 #undef $ac_func
12476
12477 /* Override any gcc2 internal prototype to avoid an error.  */
12478 #ifdef __cplusplus
12479 extern "C"
12480 {
12481 #endif
12482 /* We use char because int might match the return type of a gcc2
12483    builtin and then its argument prototype would still apply.  */
12484 char $ac_func ();
12485 /* The GNU C library defines this for functions which it implements
12486     to always fail with ENOSYS.  Some functions are actually named
12487     something starting with __ and the normal name is an alias.  */
12488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12489 choke me
12490 #else
12491 char (*f) () = $ac_func;
12492 #endif
12493 #ifdef __cplusplus
12494 }
12495 #endif
12496
12497 int
12498 main ()
12499 {
12500 return f != $ac_func;
12501   ;
12502   return 0;
12503 }
12504 _ACEOF
12505 rm -f conftest.$ac_objext conftest$ac_exeext
12506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12507   (eval $ac_link) 2>conftest.er1
12508   ac_status=$?
12509   grep -v '^ *+' conftest.er1 >conftest.err
12510   rm -f conftest.er1
12511   cat conftest.err >&5
12512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513   (exit $ac_status); } &&
12514          { ac_try='test -z "$ac_c_werror_flag"
12515                          || test ! -s conftest.err'
12516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517   (eval $ac_try) 2>&5
12518   ac_status=$?
12519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520   (exit $ac_status); }; } &&
12521          { ac_try='test -s conftest$ac_exeext'
12522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523   (eval $ac_try) 2>&5
12524   ac_status=$?
12525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526   (exit $ac_status); }; }; then
12527   eval "$as_ac_var=yes"
12528 else
12529   echo "$as_me: failed program was:" >&5
12530 sed 's/^/| /' conftest.$ac_ext >&5
12531
12532 eval "$as_ac_var=no"
12533 fi
12534 rm -f conftest.err conftest.$ac_objext \
12535       conftest$ac_exeext conftest.$ac_ext
12536 fi
12537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12539 if test `eval echo '${'$as_ac_var'}'` = yes; then
12540   cat >>confdefs.h <<_ACEOF
12541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12542 _ACEOF
12543
12544 fi
12545 done
12546
12547   else
12548
12549   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12550 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12551   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12552     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12553   echo $ECHO_N "(cached) $ECHO_C" >&6
12554 else
12555
12556
12557
12558       ac_ext=cc
12559 ac_cpp='$CXXCPP $CPPFLAGS'
12560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12563
12564       cat >conftest.$ac_ext <<_ACEOF
12565 /* confdefs.h.  */
12566 _ACEOF
12567 cat confdefs.h >>conftest.$ac_ext
12568 cat >>conftest.$ac_ext <<_ACEOF
12569 /* end confdefs.h.  */
12570 #include <math.h>
12571                       #ifdef HAVE_IEEEFP_H
12572                       #include <ieeefp.h>
12573                       #endif
12574
12575 int
12576 main ()
12577 {
12578  _expf(0);
12579   ;
12580   return 0;
12581 }
12582 _ACEOF
12583 rm -f conftest.$ac_objext
12584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12585   (eval $ac_compile) 2>conftest.er1
12586   ac_status=$?
12587   grep -v '^ *+' conftest.er1 >conftest.err
12588   rm -f conftest.er1
12589   cat conftest.err >&5
12590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591   (exit $ac_status); } &&
12592          { ac_try='test -z "$ac_cxx_werror_flag"
12593                          || test ! -s conftest.err'
12594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595   (eval $ac_try) 2>&5
12596   ac_status=$?
12597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598   (exit $ac_status); }; } &&
12599          { ac_try='test -s conftest.$ac_objext'
12600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601   (eval $ac_try) 2>&5
12602   ac_status=$?
12603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604   (exit $ac_status); }; }; then
12605   glibcxx_cv_func__expf_use=yes
12606 else
12607   echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 glibcxx_cv_func__expf_use=no
12611 fi
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613       ac_ext=c
12614 ac_cpp='$CPP $CPPFLAGS'
12615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12618
12619
12620 fi
12621
12622   fi
12623   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12624 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12625
12626     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12627
12628 for ac_func in _expf
12629 do
12630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12631 echo "$as_me:$LINENO: checking for $ac_func" >&5
12632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12633 if eval "test \"\${$as_ac_var+set}\" = set"; then
12634   echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636   if test x$gcc_no_link = xyes; then
12637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12639    { (exit 1); exit 1; }; }
12640 fi
12641 cat >conftest.$ac_ext <<_ACEOF
12642 /* confdefs.h.  */
12643 _ACEOF
12644 cat confdefs.h >>conftest.$ac_ext
12645 cat >>conftest.$ac_ext <<_ACEOF
12646 /* end confdefs.h.  */
12647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12649 #define $ac_func innocuous_$ac_func
12650
12651 /* System header to define __stub macros and hopefully few prototypes,
12652     which can conflict with char $ac_func (); below.
12653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12654     <limits.h> exists even on freestanding compilers.  */
12655
12656 #ifdef __STDC__
12657 # include <limits.h>
12658 #else
12659 # include <assert.h>
12660 #endif
12661
12662 #undef $ac_func
12663
12664 /* Override any gcc2 internal prototype to avoid an error.  */
12665 #ifdef __cplusplus
12666 extern "C"
12667 {
12668 #endif
12669 /* We use char because int might match the return type of a gcc2
12670    builtin and then its argument prototype would still apply.  */
12671 char $ac_func ();
12672 /* The GNU C library defines this for functions which it implements
12673     to always fail with ENOSYS.  Some functions are actually named
12674     something starting with __ and the normal name is an alias.  */
12675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12676 choke me
12677 #else
12678 char (*f) () = $ac_func;
12679 #endif
12680 #ifdef __cplusplus
12681 }
12682 #endif
12683
12684 int
12685 main ()
12686 {
12687 return f != $ac_func;
12688   ;
12689   return 0;
12690 }
12691 _ACEOF
12692 rm -f conftest.$ac_objext conftest$ac_exeext
12693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12694   (eval $ac_link) 2>conftest.er1
12695   ac_status=$?
12696   grep -v '^ *+' conftest.er1 >conftest.err
12697   rm -f conftest.er1
12698   cat conftest.err >&5
12699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700   (exit $ac_status); } &&
12701          { ac_try='test -z "$ac_c_werror_flag"
12702                          || test ! -s conftest.err'
12703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704   (eval $ac_try) 2>&5
12705   ac_status=$?
12706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707   (exit $ac_status); }; } &&
12708          { ac_try='test -s conftest$ac_exeext'
12709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710   (eval $ac_try) 2>&5
12711   ac_status=$?
12712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713   (exit $ac_status); }; }; then
12714   eval "$as_ac_var=yes"
12715 else
12716   echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.$ac_ext >&5
12718
12719 eval "$as_ac_var=no"
12720 fi
12721 rm -f conftest.err conftest.$ac_objext \
12722       conftest$ac_exeext conftest.$ac_ext
12723 fi
12724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12726 if test `eval echo '${'$as_ac_var'}'` = yes; then
12727   cat >>confdefs.h <<_ACEOF
12728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12729 _ACEOF
12730
12731 fi
12732 done
12733
12734     fi
12735   fi
12736
12737
12738
12739
12740
12741
12742   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12743 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12744   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12745     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12746   echo $ECHO_N "(cached) $ECHO_C" >&6
12747 else
12748
12749
12750
12751       ac_ext=cc
12752 ac_cpp='$CXXCPP $CPPFLAGS'
12753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12756
12757       cat >conftest.$ac_ext <<_ACEOF
12758 /* confdefs.h.  */
12759 _ACEOF
12760 cat confdefs.h >>conftest.$ac_ext
12761 cat >>conftest.$ac_ext <<_ACEOF
12762 /* end confdefs.h.  */
12763 #include <math.h>
12764                       #ifdef HAVE_IEEEFP_H
12765                       #include <ieeefp.h>
12766                       #endif
12767
12768 int
12769 main ()
12770 {
12771  isnanf(0);
12772   ;
12773   return 0;
12774 }
12775 _ACEOF
12776 rm -f conftest.$ac_objext
12777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12778   (eval $ac_compile) 2>conftest.er1
12779   ac_status=$?
12780   grep -v '^ *+' conftest.er1 >conftest.err
12781   rm -f conftest.er1
12782   cat conftest.err >&5
12783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784   (exit $ac_status); } &&
12785          { ac_try='test -z "$ac_cxx_werror_flag"
12786                          || test ! -s conftest.err'
12787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788   (eval $ac_try) 2>&5
12789   ac_status=$?
12790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791   (exit $ac_status); }; } &&
12792          { ac_try='test -s conftest.$ac_objext'
12793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794   (eval $ac_try) 2>&5
12795   ac_status=$?
12796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797   (exit $ac_status); }; }; then
12798   glibcxx_cv_func_isnanf_use=yes
12799 else
12800   echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.$ac_ext >&5
12802
12803 glibcxx_cv_func_isnanf_use=no
12804 fi
12805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12806       ac_ext=c
12807 ac_cpp='$CPP $CPPFLAGS'
12808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12811
12812
12813 fi
12814
12815   fi
12816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12817 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12818
12819   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12820
12821 for ac_func in isnanf
12822 do
12823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12824 echo "$as_me:$LINENO: checking for $ac_func" >&5
12825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12826 if eval "test \"\${$as_ac_var+set}\" = set"; then
12827   echo $ECHO_N "(cached) $ECHO_C" >&6
12828 else
12829   if test x$gcc_no_link = xyes; then
12830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12832    { (exit 1); exit 1; }; }
12833 fi
12834 cat >conftest.$ac_ext <<_ACEOF
12835 /* confdefs.h.  */
12836 _ACEOF
12837 cat confdefs.h >>conftest.$ac_ext
12838 cat >>conftest.$ac_ext <<_ACEOF
12839 /* end confdefs.h.  */
12840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12842 #define $ac_func innocuous_$ac_func
12843
12844 /* System header to define __stub macros and hopefully few prototypes,
12845     which can conflict with char $ac_func (); below.
12846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12847     <limits.h> exists even on freestanding compilers.  */
12848
12849 #ifdef __STDC__
12850 # include <limits.h>
12851 #else
12852 # include <assert.h>
12853 #endif
12854
12855 #undef $ac_func
12856
12857 /* Override any gcc2 internal prototype to avoid an error.  */
12858 #ifdef __cplusplus
12859 extern "C"
12860 {
12861 #endif
12862 /* We use char because int might match the return type of a gcc2
12863    builtin and then its argument prototype would still apply.  */
12864 char $ac_func ();
12865 /* The GNU C library defines this for functions which it implements
12866     to always fail with ENOSYS.  Some functions are actually named
12867     something starting with __ and the normal name is an alias.  */
12868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12869 choke me
12870 #else
12871 char (*f) () = $ac_func;
12872 #endif
12873 #ifdef __cplusplus
12874 }
12875 #endif
12876
12877 int
12878 main ()
12879 {
12880 return f != $ac_func;
12881   ;
12882   return 0;
12883 }
12884 _ACEOF
12885 rm -f conftest.$ac_objext conftest$ac_exeext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12887   (eval $ac_link) 2>conftest.er1
12888   ac_status=$?
12889   grep -v '^ *+' conftest.er1 >conftest.err
12890   rm -f conftest.er1
12891   cat conftest.err >&5
12892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893   (exit $ac_status); } &&
12894          { ac_try='test -z "$ac_c_werror_flag"
12895                          || test ! -s conftest.err'
12896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897   (eval $ac_try) 2>&5
12898   ac_status=$?
12899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900   (exit $ac_status); }; } &&
12901          { ac_try='test -s conftest$ac_exeext'
12902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903   (eval $ac_try) 2>&5
12904   ac_status=$?
12905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906   (exit $ac_status); }; }; then
12907   eval "$as_ac_var=yes"
12908 else
12909   echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.$ac_ext >&5
12911
12912 eval "$as_ac_var=no"
12913 fi
12914 rm -f conftest.err conftest.$ac_objext \
12915       conftest$ac_exeext conftest.$ac_ext
12916 fi
12917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12919 if test `eval echo '${'$as_ac_var'}'` = yes; then
12920   cat >>confdefs.h <<_ACEOF
12921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12922 _ACEOF
12923
12924 fi
12925 done
12926
12927   else
12928
12929   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12930 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12931   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12932     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12933   echo $ECHO_N "(cached) $ECHO_C" >&6
12934 else
12935
12936
12937
12938       ac_ext=cc
12939 ac_cpp='$CXXCPP $CPPFLAGS'
12940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12943
12944       cat >conftest.$ac_ext <<_ACEOF
12945 /* confdefs.h.  */
12946 _ACEOF
12947 cat confdefs.h >>conftest.$ac_ext
12948 cat >>conftest.$ac_ext <<_ACEOF
12949 /* end confdefs.h.  */
12950 #include <math.h>
12951                       #ifdef HAVE_IEEEFP_H
12952                       #include <ieeefp.h>
12953                       #endif
12954
12955 int
12956 main ()
12957 {
12958  _isnanf(0);
12959   ;
12960   return 0;
12961 }
12962 _ACEOF
12963 rm -f conftest.$ac_objext
12964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12965   (eval $ac_compile) 2>conftest.er1
12966   ac_status=$?
12967   grep -v '^ *+' conftest.er1 >conftest.err
12968   rm -f conftest.er1
12969   cat conftest.err >&5
12970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971   (exit $ac_status); } &&
12972          { ac_try='test -z "$ac_cxx_werror_flag"
12973                          || test ! -s conftest.err'
12974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975   (eval $ac_try) 2>&5
12976   ac_status=$?
12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978   (exit $ac_status); }; } &&
12979          { ac_try='test -s conftest.$ac_objext'
12980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981   (eval $ac_try) 2>&5
12982   ac_status=$?
12983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984   (exit $ac_status); }; }; then
12985   glibcxx_cv_func__isnanf_use=yes
12986 else
12987   echo "$as_me: failed program was:" >&5
12988 sed 's/^/| /' conftest.$ac_ext >&5
12989
12990 glibcxx_cv_func__isnanf_use=no
12991 fi
12992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12993       ac_ext=c
12994 ac_cpp='$CPP $CPPFLAGS'
12995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12998
12999
13000 fi
13001
13002   fi
13003   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13004 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13005
13006     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13007
13008 for ac_func in _isnanf
13009 do
13010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13011 echo "$as_me:$LINENO: checking for $ac_func" >&5
13012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13013 if eval "test \"\${$as_ac_var+set}\" = set"; then
13014   echo $ECHO_N "(cached) $ECHO_C" >&6
13015 else
13016   if test x$gcc_no_link = xyes; then
13017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13019    { (exit 1); exit 1; }; }
13020 fi
13021 cat >conftest.$ac_ext <<_ACEOF
13022 /* confdefs.h.  */
13023 _ACEOF
13024 cat confdefs.h >>conftest.$ac_ext
13025 cat >>conftest.$ac_ext <<_ACEOF
13026 /* end confdefs.h.  */
13027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13029 #define $ac_func innocuous_$ac_func
13030
13031 /* System header to define __stub macros and hopefully few prototypes,
13032     which can conflict with char $ac_func (); below.
13033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13034     <limits.h> exists even on freestanding compilers.  */
13035
13036 #ifdef __STDC__
13037 # include <limits.h>
13038 #else
13039 # include <assert.h>
13040 #endif
13041
13042 #undef $ac_func
13043
13044 /* Override any gcc2 internal prototype to avoid an error.  */
13045 #ifdef __cplusplus
13046 extern "C"
13047 {
13048 #endif
13049 /* We use char because int might match the return type of a gcc2
13050    builtin and then its argument prototype would still apply.  */
13051 char $ac_func ();
13052 /* The GNU C library defines this for functions which it implements
13053     to always fail with ENOSYS.  Some functions are actually named
13054     something starting with __ and the normal name is an alias.  */
13055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13056 choke me
13057 #else
13058 char (*f) () = $ac_func;
13059 #endif
13060 #ifdef __cplusplus
13061 }
13062 #endif
13063
13064 int
13065 main ()
13066 {
13067 return f != $ac_func;
13068   ;
13069   return 0;
13070 }
13071 _ACEOF
13072 rm -f conftest.$ac_objext conftest$ac_exeext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13074   (eval $ac_link) 2>conftest.er1
13075   ac_status=$?
13076   grep -v '^ *+' conftest.er1 >conftest.err
13077   rm -f conftest.er1
13078   cat conftest.err >&5
13079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080   (exit $ac_status); } &&
13081          { ac_try='test -z "$ac_c_werror_flag"
13082                          || test ! -s conftest.err'
13083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13084   (eval $ac_try) 2>&5
13085   ac_status=$?
13086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087   (exit $ac_status); }; } &&
13088          { ac_try='test -s conftest$ac_exeext'
13089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090   (eval $ac_try) 2>&5
13091   ac_status=$?
13092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093   (exit $ac_status); }; }; then
13094   eval "$as_ac_var=yes"
13095 else
13096   echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13098
13099 eval "$as_ac_var=no"
13100 fi
13101 rm -f conftest.err conftest.$ac_objext \
13102       conftest$ac_exeext conftest.$ac_ext
13103 fi
13104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13106 if test `eval echo '${'$as_ac_var'}'` = yes; then
13107   cat >>confdefs.h <<_ACEOF
13108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13109 _ACEOF
13110
13111 fi
13112 done
13113
13114     fi
13115   fi
13116
13117
13118
13119
13120
13121
13122   echo "$as_me:$LINENO: checking for isinff declaration" >&5
13123 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13124   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13125     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13126   echo $ECHO_N "(cached) $ECHO_C" >&6
13127 else
13128
13129
13130
13131       ac_ext=cc
13132 ac_cpp='$CXXCPP $CPPFLAGS'
13133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13136
13137       cat >conftest.$ac_ext <<_ACEOF
13138 /* confdefs.h.  */
13139 _ACEOF
13140 cat confdefs.h >>conftest.$ac_ext
13141 cat >>conftest.$ac_ext <<_ACEOF
13142 /* end confdefs.h.  */
13143 #include <math.h>
13144                       #ifdef HAVE_IEEEFP_H
13145                       #include <ieeefp.h>
13146                       #endif
13147
13148 int
13149 main ()
13150 {
13151  isinff(0);
13152   ;
13153   return 0;
13154 }
13155 _ACEOF
13156 rm -f conftest.$ac_objext
13157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13158   (eval $ac_compile) 2>conftest.er1
13159   ac_status=$?
13160   grep -v '^ *+' conftest.er1 >conftest.err
13161   rm -f conftest.er1
13162   cat conftest.err >&5
13163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164   (exit $ac_status); } &&
13165          { ac_try='test -z "$ac_cxx_werror_flag"
13166                          || test ! -s conftest.err'
13167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13168   (eval $ac_try) 2>&5
13169   ac_status=$?
13170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171   (exit $ac_status); }; } &&
13172          { ac_try='test -s conftest.$ac_objext'
13173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13174   (eval $ac_try) 2>&5
13175   ac_status=$?
13176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177   (exit $ac_status); }; }; then
13178   glibcxx_cv_func_isinff_use=yes
13179 else
13180   echo "$as_me: failed program was:" >&5
13181 sed 's/^/| /' conftest.$ac_ext >&5
13182
13183 glibcxx_cv_func_isinff_use=no
13184 fi
13185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13186       ac_ext=c
13187 ac_cpp='$CPP $CPPFLAGS'
13188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13191
13192
13193 fi
13194
13195   fi
13196   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13197 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13198
13199   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13200
13201 for ac_func in isinff
13202 do
13203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13204 echo "$as_me:$LINENO: checking for $ac_func" >&5
13205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13206 if eval "test \"\${$as_ac_var+set}\" = set"; then
13207   echo $ECHO_N "(cached) $ECHO_C" >&6
13208 else
13209   if test x$gcc_no_link = xyes; then
13210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13212    { (exit 1); exit 1; }; }
13213 fi
13214 cat >conftest.$ac_ext <<_ACEOF
13215 /* confdefs.h.  */
13216 _ACEOF
13217 cat confdefs.h >>conftest.$ac_ext
13218 cat >>conftest.$ac_ext <<_ACEOF
13219 /* end confdefs.h.  */
13220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13221    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13222 #define $ac_func innocuous_$ac_func
13223
13224 /* System header to define __stub macros and hopefully few prototypes,
13225     which can conflict with char $ac_func (); below.
13226     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13227     <limits.h> exists even on freestanding compilers.  */
13228
13229 #ifdef __STDC__
13230 # include <limits.h>
13231 #else
13232 # include <assert.h>
13233 #endif
13234
13235 #undef $ac_func
13236
13237 /* Override any gcc2 internal prototype to avoid an error.  */
13238 #ifdef __cplusplus
13239 extern "C"
13240 {
13241 #endif
13242 /* We use char because int might match the return type of a gcc2
13243    builtin and then its argument prototype would still apply.  */
13244 char $ac_func ();
13245 /* The GNU C library defines this for functions which it implements
13246     to always fail with ENOSYS.  Some functions are actually named
13247     something starting with __ and the normal name is an alias.  */
13248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13249 choke me
13250 #else
13251 char (*f) () = $ac_func;
13252 #endif
13253 #ifdef __cplusplus
13254 }
13255 #endif
13256
13257 int
13258 main ()
13259 {
13260 return f != $ac_func;
13261   ;
13262   return 0;
13263 }
13264 _ACEOF
13265 rm -f conftest.$ac_objext conftest$ac_exeext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13267   (eval $ac_link) 2>conftest.er1
13268   ac_status=$?
13269   grep -v '^ *+' conftest.er1 >conftest.err
13270   rm -f conftest.er1
13271   cat conftest.err >&5
13272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273   (exit $ac_status); } &&
13274          { ac_try='test -z "$ac_c_werror_flag"
13275                          || test ! -s conftest.err'
13276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277   (eval $ac_try) 2>&5
13278   ac_status=$?
13279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280   (exit $ac_status); }; } &&
13281          { ac_try='test -s conftest$ac_exeext'
13282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283   (eval $ac_try) 2>&5
13284   ac_status=$?
13285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286   (exit $ac_status); }; }; then
13287   eval "$as_ac_var=yes"
13288 else
13289   echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 eval "$as_ac_var=no"
13293 fi
13294 rm -f conftest.err conftest.$ac_objext \
13295       conftest$ac_exeext conftest.$ac_ext
13296 fi
13297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13299 if test `eval echo '${'$as_ac_var'}'` = yes; then
13300   cat >>confdefs.h <<_ACEOF
13301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13302 _ACEOF
13303
13304 fi
13305 done
13306
13307   else
13308
13309   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13310 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13311   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13312     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13313   echo $ECHO_N "(cached) $ECHO_C" >&6
13314 else
13315
13316
13317
13318       ac_ext=cc
13319 ac_cpp='$CXXCPP $CPPFLAGS'
13320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13323
13324       cat >conftest.$ac_ext <<_ACEOF
13325 /* confdefs.h.  */
13326 _ACEOF
13327 cat confdefs.h >>conftest.$ac_ext
13328 cat >>conftest.$ac_ext <<_ACEOF
13329 /* end confdefs.h.  */
13330 #include <math.h>
13331                       #ifdef HAVE_IEEEFP_H
13332                       #include <ieeefp.h>
13333                       #endif
13334
13335 int
13336 main ()
13337 {
13338  _isinff(0);
13339   ;
13340   return 0;
13341 }
13342 _ACEOF
13343 rm -f conftest.$ac_objext
13344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13345   (eval $ac_compile) 2>conftest.er1
13346   ac_status=$?
13347   grep -v '^ *+' conftest.er1 >conftest.err
13348   rm -f conftest.er1
13349   cat conftest.err >&5
13350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351   (exit $ac_status); } &&
13352          { ac_try='test -z "$ac_cxx_werror_flag"
13353                          || test ! -s conftest.err'
13354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13355   (eval $ac_try) 2>&5
13356   ac_status=$?
13357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358   (exit $ac_status); }; } &&
13359          { ac_try='test -s conftest.$ac_objext'
13360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361   (eval $ac_try) 2>&5
13362   ac_status=$?
13363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364   (exit $ac_status); }; }; then
13365   glibcxx_cv_func__isinff_use=yes
13366 else
13367   echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.$ac_ext >&5
13369
13370 glibcxx_cv_func__isinff_use=no
13371 fi
13372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13373       ac_ext=c
13374 ac_cpp='$CPP $CPPFLAGS'
13375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13378
13379
13380 fi
13381
13382   fi
13383   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13384 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13385
13386     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13387
13388 for ac_func in _isinff
13389 do
13390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 echo "$as_me:$LINENO: checking for $ac_func" >&5
13392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13393 if eval "test \"\${$as_ac_var+set}\" = set"; then
13394   echo $ECHO_N "(cached) $ECHO_C" >&6
13395 else
13396   if test x$gcc_no_link = xyes; then
13397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13399    { (exit 1); exit 1; }; }
13400 fi
13401 cat >conftest.$ac_ext <<_ACEOF
13402 /* confdefs.h.  */
13403 _ACEOF
13404 cat confdefs.h >>conftest.$ac_ext
13405 cat >>conftest.$ac_ext <<_ACEOF
13406 /* end confdefs.h.  */
13407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13409 #define $ac_func innocuous_$ac_func
13410
13411 /* System header to define __stub macros and hopefully few prototypes,
13412     which can conflict with char $ac_func (); below.
13413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13414     <limits.h> exists even on freestanding compilers.  */
13415
13416 #ifdef __STDC__
13417 # include <limits.h>
13418 #else
13419 # include <assert.h>
13420 #endif
13421
13422 #undef $ac_func
13423
13424 /* Override any gcc2 internal prototype to avoid an error.  */
13425 #ifdef __cplusplus
13426 extern "C"
13427 {
13428 #endif
13429 /* We use char because int might match the return type of a gcc2
13430    builtin and then its argument prototype would still apply.  */
13431 char $ac_func ();
13432 /* The GNU C library defines this for functions which it implements
13433     to always fail with ENOSYS.  Some functions are actually named
13434     something starting with __ and the normal name is an alias.  */
13435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13436 choke me
13437 #else
13438 char (*f) () = $ac_func;
13439 #endif
13440 #ifdef __cplusplus
13441 }
13442 #endif
13443
13444 int
13445 main ()
13446 {
13447 return f != $ac_func;
13448   ;
13449   return 0;
13450 }
13451 _ACEOF
13452 rm -f conftest.$ac_objext conftest$ac_exeext
13453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13454   (eval $ac_link) 2>conftest.er1
13455   ac_status=$?
13456   grep -v '^ *+' conftest.er1 >conftest.err
13457   rm -f conftest.er1
13458   cat conftest.err >&5
13459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460   (exit $ac_status); } &&
13461          { ac_try='test -z "$ac_c_werror_flag"
13462                          || test ! -s conftest.err'
13463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464   (eval $ac_try) 2>&5
13465   ac_status=$?
13466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467   (exit $ac_status); }; } &&
13468          { ac_try='test -s conftest$ac_exeext'
13469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470   (eval $ac_try) 2>&5
13471   ac_status=$?
13472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473   (exit $ac_status); }; }; then
13474   eval "$as_ac_var=yes"
13475 else
13476   echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13478
13479 eval "$as_ac_var=no"
13480 fi
13481 rm -f conftest.err conftest.$ac_objext \
13482       conftest$ac_exeext conftest.$ac_ext
13483 fi
13484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13486 if test `eval echo '${'$as_ac_var'}'` = yes; then
13487   cat >>confdefs.h <<_ACEOF
13488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13489 _ACEOF
13490
13491 fi
13492 done
13493
13494     fi
13495   fi
13496
13497
13498
13499
13500
13501
13502   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13503 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13504   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13505     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13506   echo $ECHO_N "(cached) $ECHO_C" >&6
13507 else
13508
13509
13510
13511       ac_ext=cc
13512 ac_cpp='$CXXCPP $CPPFLAGS'
13513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13516
13517       cat >conftest.$ac_ext <<_ACEOF
13518 /* confdefs.h.  */
13519 _ACEOF
13520 cat confdefs.h >>conftest.$ac_ext
13521 cat >>conftest.$ac_ext <<_ACEOF
13522 /* end confdefs.h.  */
13523 #include <math.h>
13524 int
13525 main ()
13526 {
13527  atan2f(0, 0);
13528   ;
13529   return 0;
13530 }
13531 _ACEOF
13532 rm -f conftest.$ac_objext
13533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13534   (eval $ac_compile) 2>conftest.er1
13535   ac_status=$?
13536   grep -v '^ *+' conftest.er1 >conftest.err
13537   rm -f conftest.er1
13538   cat conftest.err >&5
13539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540   (exit $ac_status); } &&
13541          { ac_try='test -z "$ac_cxx_werror_flag"
13542                          || test ! -s conftest.err'
13543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544   (eval $ac_try) 2>&5
13545   ac_status=$?
13546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547   (exit $ac_status); }; } &&
13548          { ac_try='test -s conftest.$ac_objext'
13549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550   (eval $ac_try) 2>&5
13551   ac_status=$?
13552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553   (exit $ac_status); }; }; then
13554   glibcxx_cv_func_atan2f_use=yes
13555 else
13556   echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13558
13559 glibcxx_cv_func_atan2f_use=no
13560 fi
13561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13562       ac_ext=c
13563 ac_cpp='$CPP $CPPFLAGS'
13564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13567
13568
13569 fi
13570
13571   fi
13572   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13573 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13574
13575   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13576
13577 for ac_func in atan2f
13578 do
13579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13580 echo "$as_me:$LINENO: checking for $ac_func" >&5
13581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13582 if eval "test \"\${$as_ac_var+set}\" = set"; then
13583   echo $ECHO_N "(cached) $ECHO_C" >&6
13584 else
13585   if test x$gcc_no_link = xyes; then
13586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13588    { (exit 1); exit 1; }; }
13589 fi
13590 cat >conftest.$ac_ext <<_ACEOF
13591 /* confdefs.h.  */
13592 _ACEOF
13593 cat confdefs.h >>conftest.$ac_ext
13594 cat >>conftest.$ac_ext <<_ACEOF
13595 /* end confdefs.h.  */
13596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13598 #define $ac_func innocuous_$ac_func
13599
13600 /* System header to define __stub macros and hopefully few prototypes,
13601     which can conflict with char $ac_func (); below.
13602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13603     <limits.h> exists even on freestanding compilers.  */
13604
13605 #ifdef __STDC__
13606 # include <limits.h>
13607 #else
13608 # include <assert.h>
13609 #endif
13610
13611 #undef $ac_func
13612
13613 /* Override any gcc2 internal prototype to avoid an error.  */
13614 #ifdef __cplusplus
13615 extern "C"
13616 {
13617 #endif
13618 /* We use char because int might match the return type of a gcc2
13619    builtin and then its argument prototype would still apply.  */
13620 char $ac_func ();
13621 /* The GNU C library defines this for functions which it implements
13622     to always fail with ENOSYS.  Some functions are actually named
13623     something starting with __ and the normal name is an alias.  */
13624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13625 choke me
13626 #else
13627 char (*f) () = $ac_func;
13628 #endif
13629 #ifdef __cplusplus
13630 }
13631 #endif
13632
13633 int
13634 main ()
13635 {
13636 return f != $ac_func;
13637   ;
13638   return 0;
13639 }
13640 _ACEOF
13641 rm -f conftest.$ac_objext conftest$ac_exeext
13642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13643   (eval $ac_link) 2>conftest.er1
13644   ac_status=$?
13645   grep -v '^ *+' conftest.er1 >conftest.err
13646   rm -f conftest.er1
13647   cat conftest.err >&5
13648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649   (exit $ac_status); } &&
13650          { ac_try='test -z "$ac_c_werror_flag"
13651                          || test ! -s conftest.err'
13652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653   (eval $ac_try) 2>&5
13654   ac_status=$?
13655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656   (exit $ac_status); }; } &&
13657          { ac_try='test -s conftest$ac_exeext'
13658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659   (eval $ac_try) 2>&5
13660   ac_status=$?
13661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662   (exit $ac_status); }; }; then
13663   eval "$as_ac_var=yes"
13664 else
13665   echo "$as_me: failed program was:" >&5
13666 sed 's/^/| /' conftest.$ac_ext >&5
13667
13668 eval "$as_ac_var=no"
13669 fi
13670 rm -f conftest.err conftest.$ac_objext \
13671       conftest$ac_exeext conftest.$ac_ext
13672 fi
13673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13675 if test `eval echo '${'$as_ac_var'}'` = yes; then
13676   cat >>confdefs.h <<_ACEOF
13677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13678 _ACEOF
13679
13680 fi
13681 done
13682
13683   else
13684
13685   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13686 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13687   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13688     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13689   echo $ECHO_N "(cached) $ECHO_C" >&6
13690 else
13691
13692
13693
13694       ac_ext=cc
13695 ac_cpp='$CXXCPP $CPPFLAGS'
13696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13699
13700       cat >conftest.$ac_ext <<_ACEOF
13701 /* confdefs.h.  */
13702 _ACEOF
13703 cat confdefs.h >>conftest.$ac_ext
13704 cat >>conftest.$ac_ext <<_ACEOF
13705 /* end confdefs.h.  */
13706 #include <math.h>
13707 int
13708 main ()
13709 {
13710  _atan2f(0, 0);
13711   ;
13712   return 0;
13713 }
13714 _ACEOF
13715 rm -f conftest.$ac_objext
13716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13717   (eval $ac_compile) 2>conftest.er1
13718   ac_status=$?
13719   grep -v '^ *+' conftest.er1 >conftest.err
13720   rm -f conftest.er1
13721   cat conftest.err >&5
13722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723   (exit $ac_status); } &&
13724          { ac_try='test -z "$ac_cxx_werror_flag"
13725                          || test ! -s conftest.err'
13726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13727   (eval $ac_try) 2>&5
13728   ac_status=$?
13729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730   (exit $ac_status); }; } &&
13731          { ac_try='test -s conftest.$ac_objext'
13732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733   (eval $ac_try) 2>&5
13734   ac_status=$?
13735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736   (exit $ac_status); }; }; then
13737   glibcxx_cv_func__atan2f_use=yes
13738 else
13739   echo "$as_me: failed program was:" >&5
13740 sed 's/^/| /' conftest.$ac_ext >&5
13741
13742 glibcxx_cv_func__atan2f_use=no
13743 fi
13744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13745       ac_ext=c
13746 ac_cpp='$CPP $CPPFLAGS'
13747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13750
13751
13752 fi
13753
13754   fi
13755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13756 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13757
13758     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13759
13760 for ac_func in _atan2f
13761 do
13762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13763 echo "$as_me:$LINENO: checking for $ac_func" >&5
13764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13765 if eval "test \"\${$as_ac_var+set}\" = set"; then
13766   echo $ECHO_N "(cached) $ECHO_C" >&6
13767 else
13768   if test x$gcc_no_link = xyes; then
13769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13771    { (exit 1); exit 1; }; }
13772 fi
13773 cat >conftest.$ac_ext <<_ACEOF
13774 /* confdefs.h.  */
13775 _ACEOF
13776 cat confdefs.h >>conftest.$ac_ext
13777 cat >>conftest.$ac_ext <<_ACEOF
13778 /* end confdefs.h.  */
13779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13781 #define $ac_func innocuous_$ac_func
13782
13783 /* System header to define __stub macros and hopefully few prototypes,
13784     which can conflict with char $ac_func (); below.
13785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13786     <limits.h> exists even on freestanding compilers.  */
13787
13788 #ifdef __STDC__
13789 # include <limits.h>
13790 #else
13791 # include <assert.h>
13792 #endif
13793
13794 #undef $ac_func
13795
13796 /* Override any gcc2 internal prototype to avoid an error.  */
13797 #ifdef __cplusplus
13798 extern "C"
13799 {
13800 #endif
13801 /* We use char because int might match the return type of a gcc2
13802    builtin and then its argument prototype would still apply.  */
13803 char $ac_func ();
13804 /* The GNU C library defines this for functions which it implements
13805     to always fail with ENOSYS.  Some functions are actually named
13806     something starting with __ and the normal name is an alias.  */
13807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13808 choke me
13809 #else
13810 char (*f) () = $ac_func;
13811 #endif
13812 #ifdef __cplusplus
13813 }
13814 #endif
13815
13816 int
13817 main ()
13818 {
13819 return f != $ac_func;
13820   ;
13821   return 0;
13822 }
13823 _ACEOF
13824 rm -f conftest.$ac_objext conftest$ac_exeext
13825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13826   (eval $ac_link) 2>conftest.er1
13827   ac_status=$?
13828   grep -v '^ *+' conftest.er1 >conftest.err
13829   rm -f conftest.er1
13830   cat conftest.err >&5
13831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832   (exit $ac_status); } &&
13833          { ac_try='test -z "$ac_c_werror_flag"
13834                          || test ! -s conftest.err'
13835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836   (eval $ac_try) 2>&5
13837   ac_status=$?
13838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839   (exit $ac_status); }; } &&
13840          { ac_try='test -s conftest$ac_exeext'
13841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842   (eval $ac_try) 2>&5
13843   ac_status=$?
13844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845   (exit $ac_status); }; }; then
13846   eval "$as_ac_var=yes"
13847 else
13848   echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13850
13851 eval "$as_ac_var=no"
13852 fi
13853 rm -f conftest.err conftest.$ac_objext \
13854       conftest$ac_exeext conftest.$ac_ext
13855 fi
13856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13858 if test `eval echo '${'$as_ac_var'}'` = yes; then
13859   cat >>confdefs.h <<_ACEOF
13860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13861 _ACEOF
13862
13863 fi
13864 done
13865
13866     fi
13867   fi
13868
13869
13870
13871
13872
13873
13874   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13875 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13876   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13877     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13878   echo $ECHO_N "(cached) $ECHO_C" >&6
13879 else
13880
13881
13882
13883       ac_ext=cc
13884 ac_cpp='$CXXCPP $CPPFLAGS'
13885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13888
13889       cat >conftest.$ac_ext <<_ACEOF
13890 /* confdefs.h.  */
13891 _ACEOF
13892 cat confdefs.h >>conftest.$ac_ext
13893 cat >>conftest.$ac_ext <<_ACEOF
13894 /* end confdefs.h.  */
13895 #include <math.h>
13896                       #ifdef HAVE_IEEEFP_H
13897                       #include <ieeefp.h>
13898                       #endif
13899
13900 int
13901 main ()
13902 {
13903  fabsf(0);
13904   ;
13905   return 0;
13906 }
13907 _ACEOF
13908 rm -f conftest.$ac_objext
13909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13910   (eval $ac_compile) 2>conftest.er1
13911   ac_status=$?
13912   grep -v '^ *+' conftest.er1 >conftest.err
13913   rm -f conftest.er1
13914   cat conftest.err >&5
13915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916   (exit $ac_status); } &&
13917          { ac_try='test -z "$ac_cxx_werror_flag"
13918                          || test ! -s conftest.err'
13919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920   (eval $ac_try) 2>&5
13921   ac_status=$?
13922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923   (exit $ac_status); }; } &&
13924          { ac_try='test -s conftest.$ac_objext'
13925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926   (eval $ac_try) 2>&5
13927   ac_status=$?
13928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929   (exit $ac_status); }; }; then
13930   glibcxx_cv_func_fabsf_use=yes
13931 else
13932   echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.$ac_ext >&5
13934
13935 glibcxx_cv_func_fabsf_use=no
13936 fi
13937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13938       ac_ext=c
13939 ac_cpp='$CPP $CPPFLAGS'
13940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13943
13944
13945 fi
13946
13947   fi
13948   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13949 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13950
13951   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13952
13953 for ac_func in fabsf
13954 do
13955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13956 echo "$as_me:$LINENO: checking for $ac_func" >&5
13957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13958 if eval "test \"\${$as_ac_var+set}\" = set"; then
13959   echo $ECHO_N "(cached) $ECHO_C" >&6
13960 else
13961   if test x$gcc_no_link = xyes; then
13962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13964    { (exit 1); exit 1; }; }
13965 fi
13966 cat >conftest.$ac_ext <<_ACEOF
13967 /* confdefs.h.  */
13968 _ACEOF
13969 cat confdefs.h >>conftest.$ac_ext
13970 cat >>conftest.$ac_ext <<_ACEOF
13971 /* end confdefs.h.  */
13972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13974 #define $ac_func innocuous_$ac_func
13975
13976 /* System header to define __stub macros and hopefully few prototypes,
13977     which can conflict with char $ac_func (); below.
13978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13979     <limits.h> exists even on freestanding compilers.  */
13980
13981 #ifdef __STDC__
13982 # include <limits.h>
13983 #else
13984 # include <assert.h>
13985 #endif
13986
13987 #undef $ac_func
13988
13989 /* Override any gcc2 internal prototype to avoid an error.  */
13990 #ifdef __cplusplus
13991 extern "C"
13992 {
13993 #endif
13994 /* We use char because int might match the return type of a gcc2
13995    builtin and then its argument prototype would still apply.  */
13996 char $ac_func ();
13997 /* The GNU C library defines this for functions which it implements
13998     to always fail with ENOSYS.  Some functions are actually named
13999     something starting with __ and the normal name is an alias.  */
14000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14001 choke me
14002 #else
14003 char (*f) () = $ac_func;
14004 #endif
14005 #ifdef __cplusplus
14006 }
14007 #endif
14008
14009 int
14010 main ()
14011 {
14012 return f != $ac_func;
14013   ;
14014   return 0;
14015 }
14016 _ACEOF
14017 rm -f conftest.$ac_objext conftest$ac_exeext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14019   (eval $ac_link) 2>conftest.er1
14020   ac_status=$?
14021   grep -v '^ *+' conftest.er1 >conftest.err
14022   rm -f conftest.er1
14023   cat conftest.err >&5
14024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025   (exit $ac_status); } &&
14026          { ac_try='test -z "$ac_c_werror_flag"
14027                          || test ! -s conftest.err'
14028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029   (eval $ac_try) 2>&5
14030   ac_status=$?
14031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032   (exit $ac_status); }; } &&
14033          { ac_try='test -s conftest$ac_exeext'
14034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035   (eval $ac_try) 2>&5
14036   ac_status=$?
14037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038   (exit $ac_status); }; }; then
14039   eval "$as_ac_var=yes"
14040 else
14041   echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.$ac_ext >&5
14043
14044 eval "$as_ac_var=no"
14045 fi
14046 rm -f conftest.err conftest.$ac_objext \
14047       conftest$ac_exeext conftest.$ac_ext
14048 fi
14049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14051 if test `eval echo '${'$as_ac_var'}'` = yes; then
14052   cat >>confdefs.h <<_ACEOF
14053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14054 _ACEOF
14055
14056 fi
14057 done
14058
14059   else
14060
14061   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14062 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14063   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14064     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14065   echo $ECHO_N "(cached) $ECHO_C" >&6
14066 else
14067
14068
14069
14070       ac_ext=cc
14071 ac_cpp='$CXXCPP $CPPFLAGS'
14072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14075
14076       cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h.  */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h.  */
14082 #include <math.h>
14083                       #ifdef HAVE_IEEEFP_H
14084                       #include <ieeefp.h>
14085                       #endif
14086
14087 int
14088 main ()
14089 {
14090  _fabsf(0);
14091   ;
14092   return 0;
14093 }
14094 _ACEOF
14095 rm -f conftest.$ac_objext
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097   (eval $ac_compile) 2>conftest.er1
14098   ac_status=$?
14099   grep -v '^ *+' conftest.er1 >conftest.err
14100   rm -f conftest.er1
14101   cat conftest.err >&5
14102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103   (exit $ac_status); } &&
14104          { ac_try='test -z "$ac_cxx_werror_flag"
14105                          || test ! -s conftest.err'
14106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107   (eval $ac_try) 2>&5
14108   ac_status=$?
14109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110   (exit $ac_status); }; } &&
14111          { ac_try='test -s conftest.$ac_objext'
14112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113   (eval $ac_try) 2>&5
14114   ac_status=$?
14115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116   (exit $ac_status); }; }; then
14117   glibcxx_cv_func__fabsf_use=yes
14118 else
14119   echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14121
14122 glibcxx_cv_func__fabsf_use=no
14123 fi
14124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14125       ac_ext=c
14126 ac_cpp='$CPP $CPPFLAGS'
14127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14130
14131
14132 fi
14133
14134   fi
14135   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14136 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14137
14138     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14139
14140 for ac_func in _fabsf
14141 do
14142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14143 echo "$as_me:$LINENO: checking for $ac_func" >&5
14144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14145 if eval "test \"\${$as_ac_var+set}\" = set"; then
14146   echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148   if test x$gcc_no_link = xyes; then
14149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14151    { (exit 1); exit 1; }; }
14152 fi
14153 cat >conftest.$ac_ext <<_ACEOF
14154 /* confdefs.h.  */
14155 _ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h.  */
14159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14161 #define $ac_func innocuous_$ac_func
14162
14163 /* System header to define __stub macros and hopefully few prototypes,
14164     which can conflict with char $ac_func (); below.
14165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14166     <limits.h> exists even on freestanding compilers.  */
14167
14168 #ifdef __STDC__
14169 # include <limits.h>
14170 #else
14171 # include <assert.h>
14172 #endif
14173
14174 #undef $ac_func
14175
14176 /* Override any gcc2 internal prototype to avoid an error.  */
14177 #ifdef __cplusplus
14178 extern "C"
14179 {
14180 #endif
14181 /* We use char because int might match the return type of a gcc2
14182    builtin and then its argument prototype would still apply.  */
14183 char $ac_func ();
14184 /* The GNU C library defines this for functions which it implements
14185     to always fail with ENOSYS.  Some functions are actually named
14186     something starting with __ and the normal name is an alias.  */
14187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14188 choke me
14189 #else
14190 char (*f) () = $ac_func;
14191 #endif
14192 #ifdef __cplusplus
14193 }
14194 #endif
14195
14196 int
14197 main ()
14198 {
14199 return f != $ac_func;
14200   ;
14201   return 0;
14202 }
14203 _ACEOF
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206   (eval $ac_link) 2>conftest.er1
14207   ac_status=$?
14208   grep -v '^ *+' conftest.er1 >conftest.err
14209   rm -f conftest.er1
14210   cat conftest.err >&5
14211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212   (exit $ac_status); } &&
14213          { ac_try='test -z "$ac_c_werror_flag"
14214                          || test ! -s conftest.err'
14215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216   (eval $ac_try) 2>&5
14217   ac_status=$?
14218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219   (exit $ac_status); }; } &&
14220          { ac_try='test -s conftest$ac_exeext'
14221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222   (eval $ac_try) 2>&5
14223   ac_status=$?
14224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225   (exit $ac_status); }; }; then
14226   eval "$as_ac_var=yes"
14227 else
14228   echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14230
14231 eval "$as_ac_var=no"
14232 fi
14233 rm -f conftest.err conftest.$ac_objext \
14234       conftest$ac_exeext conftest.$ac_ext
14235 fi
14236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14238 if test `eval echo '${'$as_ac_var'}'` = yes; then
14239   cat >>confdefs.h <<_ACEOF
14240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14241 _ACEOF
14242
14243 fi
14244 done
14245
14246     fi
14247   fi
14248
14249
14250
14251
14252
14253
14254   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14255 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14256   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14257     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14258   echo $ECHO_N "(cached) $ECHO_C" >&6
14259 else
14260
14261
14262
14263       ac_ext=cc
14264 ac_cpp='$CXXCPP $CPPFLAGS'
14265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14268
14269       cat >conftest.$ac_ext <<_ACEOF
14270 /* confdefs.h.  */
14271 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h.  */
14275 #include <math.h>
14276 int
14277 main ()
14278 {
14279  fmodf(0, 0);
14280   ;
14281   return 0;
14282 }
14283 _ACEOF
14284 rm -f conftest.$ac_objext
14285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14286   (eval $ac_compile) 2>conftest.er1
14287   ac_status=$?
14288   grep -v '^ *+' conftest.er1 >conftest.err
14289   rm -f conftest.er1
14290   cat conftest.err >&5
14291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292   (exit $ac_status); } &&
14293          { ac_try='test -z "$ac_cxx_werror_flag"
14294                          || test ! -s conftest.err'
14295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296   (eval $ac_try) 2>&5
14297   ac_status=$?
14298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299   (exit $ac_status); }; } &&
14300          { ac_try='test -s conftest.$ac_objext'
14301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302   (eval $ac_try) 2>&5
14303   ac_status=$?
14304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305   (exit $ac_status); }; }; then
14306   glibcxx_cv_func_fmodf_use=yes
14307 else
14308   echo "$as_me: failed program was:" >&5
14309 sed 's/^/| /' conftest.$ac_ext >&5
14310
14311 glibcxx_cv_func_fmodf_use=no
14312 fi
14313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14314       ac_ext=c
14315 ac_cpp='$CPP $CPPFLAGS'
14316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14319
14320
14321 fi
14322
14323   fi
14324   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14325 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14326
14327   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14328
14329 for ac_func in fmodf
14330 do
14331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14332 echo "$as_me:$LINENO: checking for $ac_func" >&5
14333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14334 if eval "test \"\${$as_ac_var+set}\" = set"; then
14335   echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337   if test x$gcc_no_link = xyes; then
14338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14340    { (exit 1); exit 1; }; }
14341 fi
14342 cat >conftest.$ac_ext <<_ACEOF
14343 /* confdefs.h.  */
14344 _ACEOF
14345 cat confdefs.h >>conftest.$ac_ext
14346 cat >>conftest.$ac_ext <<_ACEOF
14347 /* end confdefs.h.  */
14348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14350 #define $ac_func innocuous_$ac_func
14351
14352 /* System header to define __stub macros and hopefully few prototypes,
14353     which can conflict with char $ac_func (); below.
14354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14355     <limits.h> exists even on freestanding compilers.  */
14356
14357 #ifdef __STDC__
14358 # include <limits.h>
14359 #else
14360 # include <assert.h>
14361 #endif
14362
14363 #undef $ac_func
14364
14365 /* Override any gcc2 internal prototype to avoid an error.  */
14366 #ifdef __cplusplus
14367 extern "C"
14368 {
14369 #endif
14370 /* We use char because int might match the return type of a gcc2
14371    builtin and then its argument prototype would still apply.  */
14372 char $ac_func ();
14373 /* The GNU C library defines this for functions which it implements
14374     to always fail with ENOSYS.  Some functions are actually named
14375     something starting with __ and the normal name is an alias.  */
14376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14377 choke me
14378 #else
14379 char (*f) () = $ac_func;
14380 #endif
14381 #ifdef __cplusplus
14382 }
14383 #endif
14384
14385 int
14386 main ()
14387 {
14388 return f != $ac_func;
14389   ;
14390   return 0;
14391 }
14392 _ACEOF
14393 rm -f conftest.$ac_objext conftest$ac_exeext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14395   (eval $ac_link) 2>conftest.er1
14396   ac_status=$?
14397   grep -v '^ *+' conftest.er1 >conftest.err
14398   rm -f conftest.er1
14399   cat conftest.err >&5
14400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401   (exit $ac_status); } &&
14402          { ac_try='test -z "$ac_c_werror_flag"
14403                          || test ! -s conftest.err'
14404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405   (eval $ac_try) 2>&5
14406   ac_status=$?
14407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408   (exit $ac_status); }; } &&
14409          { ac_try='test -s conftest$ac_exeext'
14410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411   (eval $ac_try) 2>&5
14412   ac_status=$?
14413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414   (exit $ac_status); }; }; then
14415   eval "$as_ac_var=yes"
14416 else
14417   echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14419
14420 eval "$as_ac_var=no"
14421 fi
14422 rm -f conftest.err conftest.$ac_objext \
14423       conftest$ac_exeext conftest.$ac_ext
14424 fi
14425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14427 if test `eval echo '${'$as_ac_var'}'` = yes; then
14428   cat >>confdefs.h <<_ACEOF
14429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14430 _ACEOF
14431
14432 fi
14433 done
14434
14435   else
14436
14437   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14438 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14439   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14440     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14441   echo $ECHO_N "(cached) $ECHO_C" >&6
14442 else
14443
14444
14445
14446       ac_ext=cc
14447 ac_cpp='$CXXCPP $CPPFLAGS'
14448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14451
14452       cat >conftest.$ac_ext <<_ACEOF
14453 /* confdefs.h.  */
14454 _ACEOF
14455 cat confdefs.h >>conftest.$ac_ext
14456 cat >>conftest.$ac_ext <<_ACEOF
14457 /* end confdefs.h.  */
14458 #include <math.h>
14459 int
14460 main ()
14461 {
14462  _fmodf(0, 0);
14463   ;
14464   return 0;
14465 }
14466 _ACEOF
14467 rm -f conftest.$ac_objext
14468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14469   (eval $ac_compile) 2>conftest.er1
14470   ac_status=$?
14471   grep -v '^ *+' conftest.er1 >conftest.err
14472   rm -f conftest.er1
14473   cat conftest.err >&5
14474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475   (exit $ac_status); } &&
14476          { ac_try='test -z "$ac_cxx_werror_flag"
14477                          || test ! -s conftest.err'
14478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479   (eval $ac_try) 2>&5
14480   ac_status=$?
14481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482   (exit $ac_status); }; } &&
14483          { ac_try='test -s conftest.$ac_objext'
14484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485   (eval $ac_try) 2>&5
14486   ac_status=$?
14487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488   (exit $ac_status); }; }; then
14489   glibcxx_cv_func__fmodf_use=yes
14490 else
14491   echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14493
14494 glibcxx_cv_func__fmodf_use=no
14495 fi
14496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14497       ac_ext=c
14498 ac_cpp='$CPP $CPPFLAGS'
14499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14502
14503
14504 fi
14505
14506   fi
14507   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14508 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14509
14510     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14511
14512 for ac_func in _fmodf
14513 do
14514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14515 echo "$as_me:$LINENO: checking for $ac_func" >&5
14516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14517 if eval "test \"\${$as_ac_var+set}\" = set"; then
14518   echo $ECHO_N "(cached) $ECHO_C" >&6
14519 else
14520   if test x$gcc_no_link = xyes; then
14521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14523    { (exit 1); exit 1; }; }
14524 fi
14525 cat >conftest.$ac_ext <<_ACEOF
14526 /* confdefs.h.  */
14527 _ACEOF
14528 cat confdefs.h >>conftest.$ac_ext
14529 cat >>conftest.$ac_ext <<_ACEOF
14530 /* end confdefs.h.  */
14531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14533 #define $ac_func innocuous_$ac_func
14534
14535 /* System header to define __stub macros and hopefully few prototypes,
14536     which can conflict with char $ac_func (); below.
14537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14538     <limits.h> exists even on freestanding compilers.  */
14539
14540 #ifdef __STDC__
14541 # include <limits.h>
14542 #else
14543 # include <assert.h>
14544 #endif
14545
14546 #undef $ac_func
14547
14548 /* Override any gcc2 internal prototype to avoid an error.  */
14549 #ifdef __cplusplus
14550 extern "C"
14551 {
14552 #endif
14553 /* We use char because int might match the return type of a gcc2
14554    builtin and then its argument prototype would still apply.  */
14555 char $ac_func ();
14556 /* The GNU C library defines this for functions which it implements
14557     to always fail with ENOSYS.  Some functions are actually named
14558     something starting with __ and the normal name is an alias.  */
14559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14560 choke me
14561 #else
14562 char (*f) () = $ac_func;
14563 #endif
14564 #ifdef __cplusplus
14565 }
14566 #endif
14567
14568 int
14569 main ()
14570 {
14571 return f != $ac_func;
14572   ;
14573   return 0;
14574 }
14575 _ACEOF
14576 rm -f conftest.$ac_objext conftest$ac_exeext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578   (eval $ac_link) 2>conftest.er1
14579   ac_status=$?
14580   grep -v '^ *+' conftest.er1 >conftest.err
14581   rm -f conftest.er1
14582   cat conftest.err >&5
14583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584   (exit $ac_status); } &&
14585          { ac_try='test -z "$ac_c_werror_flag"
14586                          || test ! -s conftest.err'
14587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588   (eval $ac_try) 2>&5
14589   ac_status=$?
14590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591   (exit $ac_status); }; } &&
14592          { ac_try='test -s conftest$ac_exeext'
14593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594   (eval $ac_try) 2>&5
14595   ac_status=$?
14596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597   (exit $ac_status); }; }; then
14598   eval "$as_ac_var=yes"
14599 else
14600   echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 eval "$as_ac_var=no"
14604 fi
14605 rm -f conftest.err conftest.$ac_objext \
14606       conftest$ac_exeext conftest.$ac_ext
14607 fi
14608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14610 if test `eval echo '${'$as_ac_var'}'` = yes; then
14611   cat >>confdefs.h <<_ACEOF
14612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14613 _ACEOF
14614
14615 fi
14616 done
14617
14618     fi
14619   fi
14620
14621
14622
14623
14624
14625
14626   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14627 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14628   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14629     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14630   echo $ECHO_N "(cached) $ECHO_C" >&6
14631 else
14632
14633
14634
14635       ac_ext=cc
14636 ac_cpp='$CXXCPP $CPPFLAGS'
14637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14640
14641       cat >conftest.$ac_ext <<_ACEOF
14642 /* confdefs.h.  */
14643 _ACEOF
14644 cat confdefs.h >>conftest.$ac_ext
14645 cat >>conftest.$ac_ext <<_ACEOF
14646 /* end confdefs.h.  */
14647 #include <math.h>
14648 int
14649 main ()
14650 {
14651  frexpf(0, 0);
14652   ;
14653   return 0;
14654 }
14655 _ACEOF
14656 rm -f conftest.$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658   (eval $ac_compile) 2>conftest.er1
14659   ac_status=$?
14660   grep -v '^ *+' conftest.er1 >conftest.err
14661   rm -f conftest.er1
14662   cat conftest.err >&5
14663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664   (exit $ac_status); } &&
14665          { ac_try='test -z "$ac_cxx_werror_flag"
14666                          || test ! -s conftest.err'
14667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668   (eval $ac_try) 2>&5
14669   ac_status=$?
14670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671   (exit $ac_status); }; } &&
14672          { ac_try='test -s conftest.$ac_objext'
14673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674   (eval $ac_try) 2>&5
14675   ac_status=$?
14676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677   (exit $ac_status); }; }; then
14678   glibcxx_cv_func_frexpf_use=yes
14679 else
14680   echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 glibcxx_cv_func_frexpf_use=no
14684 fi
14685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14686       ac_ext=c
14687 ac_cpp='$CPP $CPPFLAGS'
14688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14691
14692
14693 fi
14694
14695   fi
14696   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14697 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14698
14699   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14700
14701 for ac_func in frexpf
14702 do
14703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14704 echo "$as_me:$LINENO: checking for $ac_func" >&5
14705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14706 if eval "test \"\${$as_ac_var+set}\" = set"; then
14707   echo $ECHO_N "(cached) $ECHO_C" >&6
14708 else
14709   if test x$gcc_no_link = xyes; then
14710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14712    { (exit 1); exit 1; }; }
14713 fi
14714 cat >conftest.$ac_ext <<_ACEOF
14715 /* confdefs.h.  */
14716 _ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h.  */
14720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14722 #define $ac_func innocuous_$ac_func
14723
14724 /* System header to define __stub macros and hopefully few prototypes,
14725     which can conflict with char $ac_func (); below.
14726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14727     <limits.h> exists even on freestanding compilers.  */
14728
14729 #ifdef __STDC__
14730 # include <limits.h>
14731 #else
14732 # include <assert.h>
14733 #endif
14734
14735 #undef $ac_func
14736
14737 /* Override any gcc2 internal prototype to avoid an error.  */
14738 #ifdef __cplusplus
14739 extern "C"
14740 {
14741 #endif
14742 /* We use char because int might match the return type of a gcc2
14743    builtin and then its argument prototype would still apply.  */
14744 char $ac_func ();
14745 /* The GNU C library defines this for functions which it implements
14746     to always fail with ENOSYS.  Some functions are actually named
14747     something starting with __ and the normal name is an alias.  */
14748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14749 choke me
14750 #else
14751 char (*f) () = $ac_func;
14752 #endif
14753 #ifdef __cplusplus
14754 }
14755 #endif
14756
14757 int
14758 main ()
14759 {
14760 return f != $ac_func;
14761   ;
14762   return 0;
14763 }
14764 _ACEOF
14765 rm -f conftest.$ac_objext conftest$ac_exeext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14767   (eval $ac_link) 2>conftest.er1
14768   ac_status=$?
14769   grep -v '^ *+' conftest.er1 >conftest.err
14770   rm -f conftest.er1
14771   cat conftest.err >&5
14772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773   (exit $ac_status); } &&
14774          { ac_try='test -z "$ac_c_werror_flag"
14775                          || test ! -s conftest.err'
14776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777   (eval $ac_try) 2>&5
14778   ac_status=$?
14779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780   (exit $ac_status); }; } &&
14781          { ac_try='test -s conftest$ac_exeext'
14782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783   (eval $ac_try) 2>&5
14784   ac_status=$?
14785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786   (exit $ac_status); }; }; then
14787   eval "$as_ac_var=yes"
14788 else
14789   echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14791
14792 eval "$as_ac_var=no"
14793 fi
14794 rm -f conftest.err conftest.$ac_objext \
14795       conftest$ac_exeext conftest.$ac_ext
14796 fi
14797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14799 if test `eval echo '${'$as_ac_var'}'` = yes; then
14800   cat >>confdefs.h <<_ACEOF
14801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14802 _ACEOF
14803
14804 fi
14805 done
14806
14807   else
14808
14809   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14810 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14811   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14812     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14813   echo $ECHO_N "(cached) $ECHO_C" >&6
14814 else
14815
14816
14817
14818       ac_ext=cc
14819 ac_cpp='$CXXCPP $CPPFLAGS'
14820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14823
14824       cat >conftest.$ac_ext <<_ACEOF
14825 /* confdefs.h.  */
14826 _ACEOF
14827 cat confdefs.h >>conftest.$ac_ext
14828 cat >>conftest.$ac_ext <<_ACEOF
14829 /* end confdefs.h.  */
14830 #include <math.h>
14831 int
14832 main ()
14833 {
14834  _frexpf(0, 0);
14835   ;
14836   return 0;
14837 }
14838 _ACEOF
14839 rm -f conftest.$ac_objext
14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841   (eval $ac_compile) 2>conftest.er1
14842   ac_status=$?
14843   grep -v '^ *+' conftest.er1 >conftest.err
14844   rm -f conftest.er1
14845   cat conftest.err >&5
14846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847   (exit $ac_status); } &&
14848          { ac_try='test -z "$ac_cxx_werror_flag"
14849                          || test ! -s conftest.err'
14850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851   (eval $ac_try) 2>&5
14852   ac_status=$?
14853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854   (exit $ac_status); }; } &&
14855          { ac_try='test -s conftest.$ac_objext'
14856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857   (eval $ac_try) 2>&5
14858   ac_status=$?
14859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860   (exit $ac_status); }; }; then
14861   glibcxx_cv_func__frexpf_use=yes
14862 else
14863   echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14865
14866 glibcxx_cv_func__frexpf_use=no
14867 fi
14868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14869       ac_ext=c
14870 ac_cpp='$CPP $CPPFLAGS'
14871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14874
14875
14876 fi
14877
14878   fi
14879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14880 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14881
14882     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14883
14884 for ac_func in _frexpf
14885 do
14886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14887 echo "$as_me:$LINENO: checking for $ac_func" >&5
14888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14889 if eval "test \"\${$as_ac_var+set}\" = set"; then
14890   echo $ECHO_N "(cached) $ECHO_C" >&6
14891 else
14892   if test x$gcc_no_link = xyes; then
14893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14895    { (exit 1); exit 1; }; }
14896 fi
14897 cat >conftest.$ac_ext <<_ACEOF
14898 /* confdefs.h.  */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h.  */
14903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14905 #define $ac_func innocuous_$ac_func
14906
14907 /* System header to define __stub macros and hopefully few prototypes,
14908     which can conflict with char $ac_func (); below.
14909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14910     <limits.h> exists even on freestanding compilers.  */
14911
14912 #ifdef __STDC__
14913 # include <limits.h>
14914 #else
14915 # include <assert.h>
14916 #endif
14917
14918 #undef $ac_func
14919
14920 /* Override any gcc2 internal prototype to avoid an error.  */
14921 #ifdef __cplusplus
14922 extern "C"
14923 {
14924 #endif
14925 /* We use char because int might match the return type of a gcc2
14926    builtin and then its argument prototype would still apply.  */
14927 char $ac_func ();
14928 /* The GNU C library defines this for functions which it implements
14929     to always fail with ENOSYS.  Some functions are actually named
14930     something starting with __ and the normal name is an alias.  */
14931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14932 choke me
14933 #else
14934 char (*f) () = $ac_func;
14935 #endif
14936 #ifdef __cplusplus
14937 }
14938 #endif
14939
14940 int
14941 main ()
14942 {
14943 return f != $ac_func;
14944   ;
14945   return 0;
14946 }
14947 _ACEOF
14948 rm -f conftest.$ac_objext conftest$ac_exeext
14949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14950   (eval $ac_link) 2>conftest.er1
14951   ac_status=$?
14952   grep -v '^ *+' conftest.er1 >conftest.err
14953   rm -f conftest.er1
14954   cat conftest.err >&5
14955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956   (exit $ac_status); } &&
14957          { ac_try='test -z "$ac_c_werror_flag"
14958                          || test ! -s conftest.err'
14959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960   (eval $ac_try) 2>&5
14961   ac_status=$?
14962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963   (exit $ac_status); }; } &&
14964          { ac_try='test -s conftest$ac_exeext'
14965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966   (eval $ac_try) 2>&5
14967   ac_status=$?
14968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969   (exit $ac_status); }; }; then
14970   eval "$as_ac_var=yes"
14971 else
14972   echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.$ac_ext >&5
14974
14975 eval "$as_ac_var=no"
14976 fi
14977 rm -f conftest.err conftest.$ac_objext \
14978       conftest$ac_exeext conftest.$ac_ext
14979 fi
14980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14982 if test `eval echo '${'$as_ac_var'}'` = yes; then
14983   cat >>confdefs.h <<_ACEOF
14984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14985 _ACEOF
14986
14987 fi
14988 done
14989
14990     fi
14991   fi
14992
14993
14994
14995
14996
14997
14998   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14999 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15000   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15001     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15002   echo $ECHO_N "(cached) $ECHO_C" >&6
15003 else
15004
15005
15006
15007       ac_ext=cc
15008 ac_cpp='$CXXCPP $CPPFLAGS'
15009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15012
15013       cat >conftest.$ac_ext <<_ACEOF
15014 /* confdefs.h.  */
15015 _ACEOF
15016 cat confdefs.h >>conftest.$ac_ext
15017 cat >>conftest.$ac_ext <<_ACEOF
15018 /* end confdefs.h.  */
15019 #include <math.h>
15020 int
15021 main ()
15022 {
15023  hypotf(0, 0);
15024   ;
15025   return 0;
15026 }
15027 _ACEOF
15028 rm -f conftest.$ac_objext
15029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15030   (eval $ac_compile) 2>conftest.er1
15031   ac_status=$?
15032   grep -v '^ *+' conftest.er1 >conftest.err
15033   rm -f conftest.er1
15034   cat conftest.err >&5
15035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036   (exit $ac_status); } &&
15037          { ac_try='test -z "$ac_cxx_werror_flag"
15038                          || test ! -s conftest.err'
15039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040   (eval $ac_try) 2>&5
15041   ac_status=$?
15042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043   (exit $ac_status); }; } &&
15044          { ac_try='test -s conftest.$ac_objext'
15045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046   (eval $ac_try) 2>&5
15047   ac_status=$?
15048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049   (exit $ac_status); }; }; then
15050   glibcxx_cv_func_hypotf_use=yes
15051 else
15052   echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.$ac_ext >&5
15054
15055 glibcxx_cv_func_hypotf_use=no
15056 fi
15057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15058       ac_ext=c
15059 ac_cpp='$CPP $CPPFLAGS'
15060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15063
15064
15065 fi
15066
15067   fi
15068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15069 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15070
15071   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15072
15073 for ac_func in hypotf
15074 do
15075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15076 echo "$as_me:$LINENO: checking for $ac_func" >&5
15077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15078 if eval "test \"\${$as_ac_var+set}\" = set"; then
15079   echo $ECHO_N "(cached) $ECHO_C" >&6
15080 else
15081   if test x$gcc_no_link = xyes; then
15082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15084    { (exit 1); exit 1; }; }
15085 fi
15086 cat >conftest.$ac_ext <<_ACEOF
15087 /* confdefs.h.  */
15088 _ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h.  */
15092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15094 #define $ac_func innocuous_$ac_func
15095
15096 /* System header to define __stub macros and hopefully few prototypes,
15097     which can conflict with char $ac_func (); below.
15098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15099     <limits.h> exists even on freestanding compilers.  */
15100
15101 #ifdef __STDC__
15102 # include <limits.h>
15103 #else
15104 # include <assert.h>
15105 #endif
15106
15107 #undef $ac_func
15108
15109 /* Override any gcc2 internal prototype to avoid an error.  */
15110 #ifdef __cplusplus
15111 extern "C"
15112 {
15113 #endif
15114 /* We use char because int might match the return type of a gcc2
15115    builtin and then its argument prototype would still apply.  */
15116 char $ac_func ();
15117 /* The GNU C library defines this for functions which it implements
15118     to always fail with ENOSYS.  Some functions are actually named
15119     something starting with __ and the normal name is an alias.  */
15120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15121 choke me
15122 #else
15123 char (*f) () = $ac_func;
15124 #endif
15125 #ifdef __cplusplus
15126 }
15127 #endif
15128
15129 int
15130 main ()
15131 {
15132 return f != $ac_func;
15133   ;
15134   return 0;
15135 }
15136 _ACEOF
15137 rm -f conftest.$ac_objext conftest$ac_exeext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15139   (eval $ac_link) 2>conftest.er1
15140   ac_status=$?
15141   grep -v '^ *+' conftest.er1 >conftest.err
15142   rm -f conftest.er1
15143   cat conftest.err >&5
15144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145   (exit $ac_status); } &&
15146          { ac_try='test -z "$ac_c_werror_flag"
15147                          || test ! -s conftest.err'
15148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149   (eval $ac_try) 2>&5
15150   ac_status=$?
15151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152   (exit $ac_status); }; } &&
15153          { ac_try='test -s conftest$ac_exeext'
15154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155   (eval $ac_try) 2>&5
15156   ac_status=$?
15157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158   (exit $ac_status); }; }; then
15159   eval "$as_ac_var=yes"
15160 else
15161   echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15163
15164 eval "$as_ac_var=no"
15165 fi
15166 rm -f conftest.err conftest.$ac_objext \
15167       conftest$ac_exeext conftest.$ac_ext
15168 fi
15169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15171 if test `eval echo '${'$as_ac_var'}'` = yes; then
15172   cat >>confdefs.h <<_ACEOF
15173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15174 _ACEOF
15175
15176 fi
15177 done
15178
15179   else
15180
15181   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15182 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15183   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15184     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15185   echo $ECHO_N "(cached) $ECHO_C" >&6
15186 else
15187
15188
15189
15190       ac_ext=cc
15191 ac_cpp='$CXXCPP $CPPFLAGS'
15192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15195
15196       cat >conftest.$ac_ext <<_ACEOF
15197 /* confdefs.h.  */
15198 _ACEOF
15199 cat confdefs.h >>conftest.$ac_ext
15200 cat >>conftest.$ac_ext <<_ACEOF
15201 /* end confdefs.h.  */
15202 #include <math.h>
15203 int
15204 main ()
15205 {
15206  _hypotf(0, 0);
15207   ;
15208   return 0;
15209 }
15210 _ACEOF
15211 rm -f conftest.$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213   (eval $ac_compile) 2>conftest.er1
15214   ac_status=$?
15215   grep -v '^ *+' conftest.er1 >conftest.err
15216   rm -f conftest.er1
15217   cat conftest.err >&5
15218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219   (exit $ac_status); } &&
15220          { ac_try='test -z "$ac_cxx_werror_flag"
15221                          || test ! -s conftest.err'
15222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223   (eval $ac_try) 2>&5
15224   ac_status=$?
15225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226   (exit $ac_status); }; } &&
15227          { ac_try='test -s conftest.$ac_objext'
15228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229   (eval $ac_try) 2>&5
15230   ac_status=$?
15231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232   (exit $ac_status); }; }; then
15233   glibcxx_cv_func__hypotf_use=yes
15234 else
15235   echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15237
15238 glibcxx_cv_func__hypotf_use=no
15239 fi
15240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15241       ac_ext=c
15242 ac_cpp='$CPP $CPPFLAGS'
15243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15246
15247
15248 fi
15249
15250   fi
15251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15252 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15253
15254     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15255
15256 for ac_func in _hypotf
15257 do
15258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15259 echo "$as_me:$LINENO: checking for $ac_func" >&5
15260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15261 if eval "test \"\${$as_ac_var+set}\" = set"; then
15262   echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264   if test x$gcc_no_link = xyes; then
15265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15267    { (exit 1); exit 1; }; }
15268 fi
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h.  */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h.  */
15275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15277 #define $ac_func innocuous_$ac_func
15278
15279 /* System header to define __stub macros and hopefully few prototypes,
15280     which can conflict with char $ac_func (); below.
15281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15282     <limits.h> exists even on freestanding compilers.  */
15283
15284 #ifdef __STDC__
15285 # include <limits.h>
15286 #else
15287 # include <assert.h>
15288 #endif
15289
15290 #undef $ac_func
15291
15292 /* Override any gcc2 internal prototype to avoid an error.  */
15293 #ifdef __cplusplus
15294 extern "C"
15295 {
15296 #endif
15297 /* We use char because int might match the return type of a gcc2
15298    builtin and then its argument prototype would still apply.  */
15299 char $ac_func ();
15300 /* The GNU C library defines this for functions which it implements
15301     to always fail with ENOSYS.  Some functions are actually named
15302     something starting with __ and the normal name is an alias.  */
15303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15304 choke me
15305 #else
15306 char (*f) () = $ac_func;
15307 #endif
15308 #ifdef __cplusplus
15309 }
15310 #endif
15311
15312 int
15313 main ()
15314 {
15315 return f != $ac_func;
15316   ;
15317   return 0;
15318 }
15319 _ACEOF
15320 rm -f conftest.$ac_objext conftest$ac_exeext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15322   (eval $ac_link) 2>conftest.er1
15323   ac_status=$?
15324   grep -v '^ *+' conftest.er1 >conftest.err
15325   rm -f conftest.er1
15326   cat conftest.err >&5
15327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328   (exit $ac_status); } &&
15329          { ac_try='test -z "$ac_c_werror_flag"
15330                          || test ! -s conftest.err'
15331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332   (eval $ac_try) 2>&5
15333   ac_status=$?
15334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335   (exit $ac_status); }; } &&
15336          { ac_try='test -s conftest$ac_exeext'
15337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338   (eval $ac_try) 2>&5
15339   ac_status=$?
15340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341   (exit $ac_status); }; }; then
15342   eval "$as_ac_var=yes"
15343 else
15344   echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15346
15347 eval "$as_ac_var=no"
15348 fi
15349 rm -f conftest.err conftest.$ac_objext \
15350       conftest$ac_exeext conftest.$ac_ext
15351 fi
15352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15354 if test `eval echo '${'$as_ac_var'}'` = yes; then
15355   cat >>confdefs.h <<_ACEOF
15356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15357 _ACEOF
15358
15359 fi
15360 done
15361
15362     fi
15363   fi
15364
15365
15366
15367
15368
15369
15370   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15371 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15372   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15373     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15374   echo $ECHO_N "(cached) $ECHO_C" >&6
15375 else
15376
15377
15378
15379       ac_ext=cc
15380 ac_cpp='$CXXCPP $CPPFLAGS'
15381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15384
15385       cat >conftest.$ac_ext <<_ACEOF
15386 /* confdefs.h.  */
15387 _ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h.  */
15391 #include <math.h>
15392 int
15393 main ()
15394 {
15395  ldexpf(0, 0);
15396   ;
15397   return 0;
15398 }
15399 _ACEOF
15400 rm -f conftest.$ac_objext
15401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15402   (eval $ac_compile) 2>conftest.er1
15403   ac_status=$?
15404   grep -v '^ *+' conftest.er1 >conftest.err
15405   rm -f conftest.er1
15406   cat conftest.err >&5
15407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408   (exit $ac_status); } &&
15409          { ac_try='test -z "$ac_cxx_werror_flag"
15410                          || test ! -s conftest.err'
15411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412   (eval $ac_try) 2>&5
15413   ac_status=$?
15414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415   (exit $ac_status); }; } &&
15416          { ac_try='test -s conftest.$ac_objext'
15417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15418   (eval $ac_try) 2>&5
15419   ac_status=$?
15420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421   (exit $ac_status); }; }; then
15422   glibcxx_cv_func_ldexpf_use=yes
15423 else
15424   echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15426
15427 glibcxx_cv_func_ldexpf_use=no
15428 fi
15429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15430       ac_ext=c
15431 ac_cpp='$CPP $CPPFLAGS'
15432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15435
15436
15437 fi
15438
15439   fi
15440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15441 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15442
15443   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15444
15445 for ac_func in ldexpf
15446 do
15447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15448 echo "$as_me:$LINENO: checking for $ac_func" >&5
15449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15450 if eval "test \"\${$as_ac_var+set}\" = set"; then
15451   echo $ECHO_N "(cached) $ECHO_C" >&6
15452 else
15453   if test x$gcc_no_link = xyes; then
15454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15456    { (exit 1); exit 1; }; }
15457 fi
15458 cat >conftest.$ac_ext <<_ACEOF
15459 /* confdefs.h.  */
15460 _ACEOF
15461 cat confdefs.h >>conftest.$ac_ext
15462 cat >>conftest.$ac_ext <<_ACEOF
15463 /* end confdefs.h.  */
15464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15466 #define $ac_func innocuous_$ac_func
15467
15468 /* System header to define __stub macros and hopefully few prototypes,
15469     which can conflict with char $ac_func (); below.
15470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15471     <limits.h> exists even on freestanding compilers.  */
15472
15473 #ifdef __STDC__
15474 # include <limits.h>
15475 #else
15476 # include <assert.h>
15477 #endif
15478
15479 #undef $ac_func
15480
15481 /* Override any gcc2 internal prototype to avoid an error.  */
15482 #ifdef __cplusplus
15483 extern "C"
15484 {
15485 #endif
15486 /* We use char because int might match the return type of a gcc2
15487    builtin and then its argument prototype would still apply.  */
15488 char $ac_func ();
15489 /* The GNU C library defines this for functions which it implements
15490     to always fail with ENOSYS.  Some functions are actually named
15491     something starting with __ and the normal name is an alias.  */
15492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15493 choke me
15494 #else
15495 char (*f) () = $ac_func;
15496 #endif
15497 #ifdef __cplusplus
15498 }
15499 #endif
15500
15501 int
15502 main ()
15503 {
15504 return f != $ac_func;
15505   ;
15506   return 0;
15507 }
15508 _ACEOF
15509 rm -f conftest.$ac_objext conftest$ac_exeext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15511   (eval $ac_link) 2>conftest.er1
15512   ac_status=$?
15513   grep -v '^ *+' conftest.er1 >conftest.err
15514   rm -f conftest.er1
15515   cat conftest.err >&5
15516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517   (exit $ac_status); } &&
15518          { ac_try='test -z "$ac_c_werror_flag"
15519                          || test ! -s conftest.err'
15520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15521   (eval $ac_try) 2>&5
15522   ac_status=$?
15523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524   (exit $ac_status); }; } &&
15525          { ac_try='test -s conftest$ac_exeext'
15526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527   (eval $ac_try) 2>&5
15528   ac_status=$?
15529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530   (exit $ac_status); }; }; then
15531   eval "$as_ac_var=yes"
15532 else
15533   echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.$ac_ext >&5
15535
15536 eval "$as_ac_var=no"
15537 fi
15538 rm -f conftest.err conftest.$ac_objext \
15539       conftest$ac_exeext conftest.$ac_ext
15540 fi
15541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15543 if test `eval echo '${'$as_ac_var'}'` = yes; then
15544   cat >>confdefs.h <<_ACEOF
15545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15546 _ACEOF
15547
15548 fi
15549 done
15550
15551   else
15552
15553   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15554 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15555   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15556     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15557   echo $ECHO_N "(cached) $ECHO_C" >&6
15558 else
15559
15560
15561
15562       ac_ext=cc
15563 ac_cpp='$CXXCPP $CPPFLAGS'
15564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15567
15568       cat >conftest.$ac_ext <<_ACEOF
15569 /* confdefs.h.  */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h.  */
15574 #include <math.h>
15575 int
15576 main ()
15577 {
15578  _ldexpf(0, 0);
15579   ;
15580   return 0;
15581 }
15582 _ACEOF
15583 rm -f conftest.$ac_objext
15584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15585   (eval $ac_compile) 2>conftest.er1
15586   ac_status=$?
15587   grep -v '^ *+' conftest.er1 >conftest.err
15588   rm -f conftest.er1
15589   cat conftest.err >&5
15590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591   (exit $ac_status); } &&
15592          { ac_try='test -z "$ac_cxx_werror_flag"
15593                          || test ! -s conftest.err'
15594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15595   (eval $ac_try) 2>&5
15596   ac_status=$?
15597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598   (exit $ac_status); }; } &&
15599          { ac_try='test -s conftest.$ac_objext'
15600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601   (eval $ac_try) 2>&5
15602   ac_status=$?
15603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604   (exit $ac_status); }; }; then
15605   glibcxx_cv_func__ldexpf_use=yes
15606 else
15607   echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15609
15610 glibcxx_cv_func__ldexpf_use=no
15611 fi
15612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15613       ac_ext=c
15614 ac_cpp='$CPP $CPPFLAGS'
15615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15618
15619
15620 fi
15621
15622   fi
15623   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15624 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15625
15626     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15627
15628 for ac_func in _ldexpf
15629 do
15630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15631 echo "$as_me:$LINENO: checking for $ac_func" >&5
15632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15633 if eval "test \"\${$as_ac_var+set}\" = set"; then
15634   echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15636   if test x$gcc_no_link = xyes; then
15637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15639    { (exit 1); exit 1; }; }
15640 fi
15641 cat >conftest.$ac_ext <<_ACEOF
15642 /* confdefs.h.  */
15643 _ACEOF
15644 cat confdefs.h >>conftest.$ac_ext
15645 cat >>conftest.$ac_ext <<_ACEOF
15646 /* end confdefs.h.  */
15647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15649 #define $ac_func innocuous_$ac_func
15650
15651 /* System header to define __stub macros and hopefully few prototypes,
15652     which can conflict with char $ac_func (); below.
15653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15654     <limits.h> exists even on freestanding compilers.  */
15655
15656 #ifdef __STDC__
15657 # include <limits.h>
15658 #else
15659 # include <assert.h>
15660 #endif
15661
15662 #undef $ac_func
15663
15664 /* Override any gcc2 internal prototype to avoid an error.  */
15665 #ifdef __cplusplus
15666 extern "C"
15667 {
15668 #endif
15669 /* We use char because int might match the return type of a gcc2
15670    builtin and then its argument prototype would still apply.  */
15671 char $ac_func ();
15672 /* The GNU C library defines this for functions which it implements
15673     to always fail with ENOSYS.  Some functions are actually named
15674     something starting with __ and the normal name is an alias.  */
15675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15676 choke me
15677 #else
15678 char (*f) () = $ac_func;
15679 #endif
15680 #ifdef __cplusplus
15681 }
15682 #endif
15683
15684 int
15685 main ()
15686 {
15687 return f != $ac_func;
15688   ;
15689   return 0;
15690 }
15691 _ACEOF
15692 rm -f conftest.$ac_objext conftest$ac_exeext
15693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15694   (eval $ac_link) 2>conftest.er1
15695   ac_status=$?
15696   grep -v '^ *+' conftest.er1 >conftest.err
15697   rm -f conftest.er1
15698   cat conftest.err >&5
15699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700   (exit $ac_status); } &&
15701          { ac_try='test -z "$ac_c_werror_flag"
15702                          || test ! -s conftest.err'
15703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704   (eval $ac_try) 2>&5
15705   ac_status=$?
15706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707   (exit $ac_status); }; } &&
15708          { ac_try='test -s conftest$ac_exeext'
15709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710   (eval $ac_try) 2>&5
15711   ac_status=$?
15712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713   (exit $ac_status); }; }; then
15714   eval "$as_ac_var=yes"
15715 else
15716   echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15718
15719 eval "$as_ac_var=no"
15720 fi
15721 rm -f conftest.err conftest.$ac_objext \
15722       conftest$ac_exeext conftest.$ac_ext
15723 fi
15724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15726 if test `eval echo '${'$as_ac_var'}'` = yes; then
15727   cat >>confdefs.h <<_ACEOF
15728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15729 _ACEOF
15730
15731 fi
15732 done
15733
15734     fi
15735   fi
15736
15737
15738
15739
15740
15741
15742   echo "$as_me:$LINENO: checking for logf declaration" >&5
15743 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15744   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15745     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15746   echo $ECHO_N "(cached) $ECHO_C" >&6
15747 else
15748
15749
15750
15751       ac_ext=cc
15752 ac_cpp='$CXXCPP $CPPFLAGS'
15753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15756
15757       cat >conftest.$ac_ext <<_ACEOF
15758 /* confdefs.h.  */
15759 _ACEOF
15760 cat confdefs.h >>conftest.$ac_ext
15761 cat >>conftest.$ac_ext <<_ACEOF
15762 /* end confdefs.h.  */
15763 #include <math.h>
15764                       #ifdef HAVE_IEEEFP_H
15765                       #include <ieeefp.h>
15766                       #endif
15767
15768 int
15769 main ()
15770 {
15771  logf(0);
15772   ;
15773   return 0;
15774 }
15775 _ACEOF
15776 rm -f conftest.$ac_objext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15778   (eval $ac_compile) 2>conftest.er1
15779   ac_status=$?
15780   grep -v '^ *+' conftest.er1 >conftest.err
15781   rm -f conftest.er1
15782   cat conftest.err >&5
15783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784   (exit $ac_status); } &&
15785          { ac_try='test -z "$ac_cxx_werror_flag"
15786                          || test ! -s conftest.err'
15787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788   (eval $ac_try) 2>&5
15789   ac_status=$?
15790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791   (exit $ac_status); }; } &&
15792          { ac_try='test -s conftest.$ac_objext'
15793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794   (eval $ac_try) 2>&5
15795   ac_status=$?
15796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797   (exit $ac_status); }; }; then
15798   glibcxx_cv_func_logf_use=yes
15799 else
15800   echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15802
15803 glibcxx_cv_func_logf_use=no
15804 fi
15805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15806       ac_ext=c
15807 ac_cpp='$CPP $CPPFLAGS'
15808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15811
15812
15813 fi
15814
15815   fi
15816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15817 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15818
15819   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15820
15821 for ac_func in logf
15822 do
15823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15824 echo "$as_me:$LINENO: checking for $ac_func" >&5
15825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15826 if eval "test \"\${$as_ac_var+set}\" = set"; then
15827   echo $ECHO_N "(cached) $ECHO_C" >&6
15828 else
15829   if test x$gcc_no_link = xyes; then
15830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15832    { (exit 1); exit 1; }; }
15833 fi
15834 cat >conftest.$ac_ext <<_ACEOF
15835 /* confdefs.h.  */
15836 _ACEOF
15837 cat confdefs.h >>conftest.$ac_ext
15838 cat >>conftest.$ac_ext <<_ACEOF
15839 /* end confdefs.h.  */
15840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15842 #define $ac_func innocuous_$ac_func
15843
15844 /* System header to define __stub macros and hopefully few prototypes,
15845     which can conflict with char $ac_func (); below.
15846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15847     <limits.h> exists even on freestanding compilers.  */
15848
15849 #ifdef __STDC__
15850 # include <limits.h>
15851 #else
15852 # include <assert.h>
15853 #endif
15854
15855 #undef $ac_func
15856
15857 /* Override any gcc2 internal prototype to avoid an error.  */
15858 #ifdef __cplusplus
15859 extern "C"
15860 {
15861 #endif
15862 /* We use char because int might match the return type of a gcc2
15863    builtin and then its argument prototype would still apply.  */
15864 char $ac_func ();
15865 /* The GNU C library defines this for functions which it implements
15866     to always fail with ENOSYS.  Some functions are actually named
15867     something starting with __ and the normal name is an alias.  */
15868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15869 choke me
15870 #else
15871 char (*f) () = $ac_func;
15872 #endif
15873 #ifdef __cplusplus
15874 }
15875 #endif
15876
15877 int
15878 main ()
15879 {
15880 return f != $ac_func;
15881   ;
15882   return 0;
15883 }
15884 _ACEOF
15885 rm -f conftest.$ac_objext conftest$ac_exeext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15887   (eval $ac_link) 2>conftest.er1
15888   ac_status=$?
15889   grep -v '^ *+' conftest.er1 >conftest.err
15890   rm -f conftest.er1
15891   cat conftest.err >&5
15892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893   (exit $ac_status); } &&
15894          { ac_try='test -z "$ac_c_werror_flag"
15895                          || test ! -s conftest.err'
15896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897   (eval $ac_try) 2>&5
15898   ac_status=$?
15899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900   (exit $ac_status); }; } &&
15901          { ac_try='test -s conftest$ac_exeext'
15902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903   (eval $ac_try) 2>&5
15904   ac_status=$?
15905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906   (exit $ac_status); }; }; then
15907   eval "$as_ac_var=yes"
15908 else
15909   echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15911
15912 eval "$as_ac_var=no"
15913 fi
15914 rm -f conftest.err conftest.$ac_objext \
15915       conftest$ac_exeext conftest.$ac_ext
15916 fi
15917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15919 if test `eval echo '${'$as_ac_var'}'` = yes; then
15920   cat >>confdefs.h <<_ACEOF
15921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15922 _ACEOF
15923
15924 fi
15925 done
15926
15927   else
15928
15929   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15930 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15931   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15932     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15933   echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935
15936
15937
15938       ac_ext=cc
15939 ac_cpp='$CXXCPP $CPPFLAGS'
15940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15943
15944       cat >conftest.$ac_ext <<_ACEOF
15945 /* confdefs.h.  */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h.  */
15950 #include <math.h>
15951                       #ifdef HAVE_IEEEFP_H
15952                       #include <ieeefp.h>
15953                       #endif
15954
15955 int
15956 main ()
15957 {
15958  _logf(0);
15959   ;
15960   return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965   (eval $ac_compile) 2>conftest.er1
15966   ac_status=$?
15967   grep -v '^ *+' conftest.er1 >conftest.err
15968   rm -f conftest.er1
15969   cat conftest.err >&5
15970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971   (exit $ac_status); } &&
15972          { ac_try='test -z "$ac_cxx_werror_flag"
15973                          || test ! -s conftest.err'
15974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975   (eval $ac_try) 2>&5
15976   ac_status=$?
15977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978   (exit $ac_status); }; } &&
15979          { ac_try='test -s conftest.$ac_objext'
15980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981   (eval $ac_try) 2>&5
15982   ac_status=$?
15983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984   (exit $ac_status); }; }; then
15985   glibcxx_cv_func__logf_use=yes
15986 else
15987   echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15989
15990 glibcxx_cv_func__logf_use=no
15991 fi
15992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15993       ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15998
15999
16000 fi
16001
16002   fi
16003   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16004 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16005
16006     if test x$glibcxx_cv_func__logf_use = x"yes"; then
16007
16008 for ac_func in _logf
16009 do
16010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16011 echo "$as_me:$LINENO: checking for $ac_func" >&5
16012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16013 if eval "test \"\${$as_ac_var+set}\" = set"; then
16014   echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016   if test x$gcc_no_link = xyes; then
16017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16019    { (exit 1); exit 1; }; }
16020 fi
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h.  */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h.  */
16027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16029 #define $ac_func innocuous_$ac_func
16030
16031 /* System header to define __stub macros and hopefully few prototypes,
16032     which can conflict with char $ac_func (); below.
16033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16034     <limits.h> exists even on freestanding compilers.  */
16035
16036 #ifdef __STDC__
16037 # include <limits.h>
16038 #else
16039 # include <assert.h>
16040 #endif
16041
16042 #undef $ac_func
16043
16044 /* Override any gcc2 internal prototype to avoid an error.  */
16045 #ifdef __cplusplus
16046 extern "C"
16047 {
16048 #endif
16049 /* We use char because int might match the return type of a gcc2
16050    builtin and then its argument prototype would still apply.  */
16051 char $ac_func ();
16052 /* The GNU C library defines this for functions which it implements
16053     to always fail with ENOSYS.  Some functions are actually named
16054     something starting with __ and the normal name is an alias.  */
16055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 choke me
16057 #else
16058 char (*f) () = $ac_func;
16059 #endif
16060 #ifdef __cplusplus
16061 }
16062 #endif
16063
16064 int
16065 main ()
16066 {
16067 return f != $ac_func;
16068   ;
16069   return 0;
16070 }
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16074   (eval $ac_link) 2>conftest.er1
16075   ac_status=$?
16076   grep -v '^ *+' conftest.er1 >conftest.err
16077   rm -f conftest.er1
16078   cat conftest.err >&5
16079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080   (exit $ac_status); } &&
16081          { ac_try='test -z "$ac_c_werror_flag"
16082                          || test ! -s conftest.err'
16083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084   (eval $ac_try) 2>&5
16085   ac_status=$?
16086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087   (exit $ac_status); }; } &&
16088          { ac_try='test -s conftest$ac_exeext'
16089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090   (eval $ac_try) 2>&5
16091   ac_status=$?
16092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093   (exit $ac_status); }; }; then
16094   eval "$as_ac_var=yes"
16095 else
16096   echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16098
16099 eval "$as_ac_var=no"
16100 fi
16101 rm -f conftest.err conftest.$ac_objext \
16102       conftest$ac_exeext conftest.$ac_ext
16103 fi
16104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16106 if test `eval echo '${'$as_ac_var'}'` = yes; then
16107   cat >>confdefs.h <<_ACEOF
16108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16109 _ACEOF
16110
16111 fi
16112 done
16113
16114     fi
16115   fi
16116
16117
16118
16119
16120
16121
16122   echo "$as_me:$LINENO: checking for log10f declaration" >&5
16123 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16124   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16125     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16126   echo $ECHO_N "(cached) $ECHO_C" >&6
16127 else
16128
16129
16130
16131       ac_ext=cc
16132 ac_cpp='$CXXCPP $CPPFLAGS'
16133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16136
16137       cat >conftest.$ac_ext <<_ACEOF
16138 /* confdefs.h.  */
16139 _ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h.  */
16143 #include <math.h>
16144                       #ifdef HAVE_IEEEFP_H
16145                       #include <ieeefp.h>
16146                       #endif
16147
16148 int
16149 main ()
16150 {
16151  log10f(0);
16152   ;
16153   return 0;
16154 }
16155 _ACEOF
16156 rm -f conftest.$ac_objext
16157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16158   (eval $ac_compile) 2>conftest.er1
16159   ac_status=$?
16160   grep -v '^ *+' conftest.er1 >conftest.err
16161   rm -f conftest.er1
16162   cat conftest.err >&5
16163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164   (exit $ac_status); } &&
16165          { ac_try='test -z "$ac_cxx_werror_flag"
16166                          || test ! -s conftest.err'
16167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168   (eval $ac_try) 2>&5
16169   ac_status=$?
16170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171   (exit $ac_status); }; } &&
16172          { ac_try='test -s conftest.$ac_objext'
16173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174   (eval $ac_try) 2>&5
16175   ac_status=$?
16176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177   (exit $ac_status); }; }; then
16178   glibcxx_cv_func_log10f_use=yes
16179 else
16180   echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16182
16183 glibcxx_cv_func_log10f_use=no
16184 fi
16185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16186       ac_ext=c
16187 ac_cpp='$CPP $CPPFLAGS'
16188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16191
16192
16193 fi
16194
16195   fi
16196   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16197 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16198
16199   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16200
16201 for ac_func in log10f
16202 do
16203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16204 echo "$as_me:$LINENO: checking for $ac_func" >&5
16205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16206 if eval "test \"\${$as_ac_var+set}\" = set"; then
16207   echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209   if test x$gcc_no_link = xyes; then
16210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16212    { (exit 1); exit 1; }; }
16213 fi
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h.  */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h.  */
16220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16221    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16222 #define $ac_func innocuous_$ac_func
16223
16224 /* System header to define __stub macros and hopefully few prototypes,
16225     which can conflict with char $ac_func (); below.
16226     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16227     <limits.h> exists even on freestanding compilers.  */
16228
16229 #ifdef __STDC__
16230 # include <limits.h>
16231 #else
16232 # include <assert.h>
16233 #endif
16234
16235 #undef $ac_func
16236
16237 /* Override any gcc2 internal prototype to avoid an error.  */
16238 #ifdef __cplusplus
16239 extern "C"
16240 {
16241 #endif
16242 /* We use char because int might match the return type of a gcc2
16243    builtin and then its argument prototype would still apply.  */
16244 char $ac_func ();
16245 /* The GNU C library defines this for functions which it implements
16246     to always fail with ENOSYS.  Some functions are actually named
16247     something starting with __ and the normal name is an alias.  */
16248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16249 choke me
16250 #else
16251 char (*f) () = $ac_func;
16252 #endif
16253 #ifdef __cplusplus
16254 }
16255 #endif
16256
16257 int
16258 main ()
16259 {
16260 return f != $ac_func;
16261   ;
16262   return 0;
16263 }
16264 _ACEOF
16265 rm -f conftest.$ac_objext conftest$ac_exeext
16266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16267   (eval $ac_link) 2>conftest.er1
16268   ac_status=$?
16269   grep -v '^ *+' conftest.er1 >conftest.err
16270   rm -f conftest.er1
16271   cat conftest.err >&5
16272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273   (exit $ac_status); } &&
16274          { ac_try='test -z "$ac_c_werror_flag"
16275                          || test ! -s conftest.err'
16276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277   (eval $ac_try) 2>&5
16278   ac_status=$?
16279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280   (exit $ac_status); }; } &&
16281          { ac_try='test -s conftest$ac_exeext'
16282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283   (eval $ac_try) 2>&5
16284   ac_status=$?
16285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286   (exit $ac_status); }; }; then
16287   eval "$as_ac_var=yes"
16288 else
16289   echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.$ac_ext >&5
16291
16292 eval "$as_ac_var=no"
16293 fi
16294 rm -f conftest.err conftest.$ac_objext \
16295       conftest$ac_exeext conftest.$ac_ext
16296 fi
16297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16299 if test `eval echo '${'$as_ac_var'}'` = yes; then
16300   cat >>confdefs.h <<_ACEOF
16301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16302 _ACEOF
16303
16304 fi
16305 done
16306
16307   else
16308
16309   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16310 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16311   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16312     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16313   echo $ECHO_N "(cached) $ECHO_C" >&6
16314 else
16315
16316
16317
16318       ac_ext=cc
16319 ac_cpp='$CXXCPP $CPPFLAGS'
16320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16323
16324       cat >conftest.$ac_ext <<_ACEOF
16325 /* confdefs.h.  */
16326 _ACEOF
16327 cat confdefs.h >>conftest.$ac_ext
16328 cat >>conftest.$ac_ext <<_ACEOF
16329 /* end confdefs.h.  */
16330 #include <math.h>
16331                       #ifdef HAVE_IEEEFP_H
16332                       #include <ieeefp.h>
16333                       #endif
16334
16335 int
16336 main ()
16337 {
16338  _log10f(0);
16339   ;
16340   return 0;
16341 }
16342 _ACEOF
16343 rm -f conftest.$ac_objext
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345   (eval $ac_compile) 2>conftest.er1
16346   ac_status=$?
16347   grep -v '^ *+' conftest.er1 >conftest.err
16348   rm -f conftest.er1
16349   cat conftest.err >&5
16350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351   (exit $ac_status); } &&
16352          { ac_try='test -z "$ac_cxx_werror_flag"
16353                          || test ! -s conftest.err'
16354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355   (eval $ac_try) 2>&5
16356   ac_status=$?
16357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358   (exit $ac_status); }; } &&
16359          { ac_try='test -s conftest.$ac_objext'
16360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361   (eval $ac_try) 2>&5
16362   ac_status=$?
16363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364   (exit $ac_status); }; }; then
16365   glibcxx_cv_func__log10f_use=yes
16366 else
16367   echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16369
16370 glibcxx_cv_func__log10f_use=no
16371 fi
16372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16373       ac_ext=c
16374 ac_cpp='$CPP $CPPFLAGS'
16375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16378
16379
16380 fi
16381
16382   fi
16383   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16384 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16385
16386     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16387
16388 for ac_func in _log10f
16389 do
16390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16391 echo "$as_me:$LINENO: checking for $ac_func" >&5
16392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16393 if eval "test \"\${$as_ac_var+set}\" = set"; then
16394   echo $ECHO_N "(cached) $ECHO_C" >&6
16395 else
16396   if test x$gcc_no_link = xyes; then
16397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16399    { (exit 1); exit 1; }; }
16400 fi
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h.  */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h.  */
16407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16409 #define $ac_func innocuous_$ac_func
16410
16411 /* System header to define __stub macros and hopefully few prototypes,
16412     which can conflict with char $ac_func (); below.
16413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16414     <limits.h> exists even on freestanding compilers.  */
16415
16416 #ifdef __STDC__
16417 # include <limits.h>
16418 #else
16419 # include <assert.h>
16420 #endif
16421
16422 #undef $ac_func
16423
16424 /* Override any gcc2 internal prototype to avoid an error.  */
16425 #ifdef __cplusplus
16426 extern "C"
16427 {
16428 #endif
16429 /* We use char because int might match the return type of a gcc2
16430    builtin and then its argument prototype would still apply.  */
16431 char $ac_func ();
16432 /* The GNU C library defines this for functions which it implements
16433     to always fail with ENOSYS.  Some functions are actually named
16434     something starting with __ and the normal name is an alias.  */
16435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16436 choke me
16437 #else
16438 char (*f) () = $ac_func;
16439 #endif
16440 #ifdef __cplusplus
16441 }
16442 #endif
16443
16444 int
16445 main ()
16446 {
16447 return f != $ac_func;
16448   ;
16449   return 0;
16450 }
16451 _ACEOF
16452 rm -f conftest.$ac_objext conftest$ac_exeext
16453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16454   (eval $ac_link) 2>conftest.er1
16455   ac_status=$?
16456   grep -v '^ *+' conftest.er1 >conftest.err
16457   rm -f conftest.er1
16458   cat conftest.err >&5
16459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460   (exit $ac_status); } &&
16461          { ac_try='test -z "$ac_c_werror_flag"
16462                          || test ! -s conftest.err'
16463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464   (eval $ac_try) 2>&5
16465   ac_status=$?
16466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467   (exit $ac_status); }; } &&
16468          { ac_try='test -s conftest$ac_exeext'
16469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470   (eval $ac_try) 2>&5
16471   ac_status=$?
16472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473   (exit $ac_status); }; }; then
16474   eval "$as_ac_var=yes"
16475 else
16476   echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16478
16479 eval "$as_ac_var=no"
16480 fi
16481 rm -f conftest.err conftest.$ac_objext \
16482       conftest$ac_exeext conftest.$ac_ext
16483 fi
16484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16486 if test `eval echo '${'$as_ac_var'}'` = yes; then
16487   cat >>confdefs.h <<_ACEOF
16488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16489 _ACEOF
16490
16491 fi
16492 done
16493
16494     fi
16495   fi
16496
16497
16498
16499
16500
16501
16502   echo "$as_me:$LINENO: checking for modff declaration" >&5
16503 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16504   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16505     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16506   echo $ECHO_N "(cached) $ECHO_C" >&6
16507 else
16508
16509
16510
16511       ac_ext=cc
16512 ac_cpp='$CXXCPP $CPPFLAGS'
16513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16516
16517       cat >conftest.$ac_ext <<_ACEOF
16518 /* confdefs.h.  */
16519 _ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h.  */
16523 #include <math.h>
16524 int
16525 main ()
16526 {
16527  modff(0, 0);
16528   ;
16529   return 0;
16530 }
16531 _ACEOF
16532 rm -f conftest.$ac_objext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16534   (eval $ac_compile) 2>conftest.er1
16535   ac_status=$?
16536   grep -v '^ *+' conftest.er1 >conftest.err
16537   rm -f conftest.er1
16538   cat conftest.err >&5
16539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540   (exit $ac_status); } &&
16541          { ac_try='test -z "$ac_cxx_werror_flag"
16542                          || test ! -s conftest.err'
16543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544   (eval $ac_try) 2>&5
16545   ac_status=$?
16546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547   (exit $ac_status); }; } &&
16548          { ac_try='test -s conftest.$ac_objext'
16549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550   (eval $ac_try) 2>&5
16551   ac_status=$?
16552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553   (exit $ac_status); }; }; then
16554   glibcxx_cv_func_modff_use=yes
16555 else
16556   echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16558
16559 glibcxx_cv_func_modff_use=no
16560 fi
16561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16562       ac_ext=c
16563 ac_cpp='$CPP $CPPFLAGS'
16564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16567
16568
16569 fi
16570
16571   fi
16572   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16573 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16574
16575   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16576
16577 for ac_func in modff
16578 do
16579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16580 echo "$as_me:$LINENO: checking for $ac_func" >&5
16581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16582 if eval "test \"\${$as_ac_var+set}\" = set"; then
16583   echo $ECHO_N "(cached) $ECHO_C" >&6
16584 else
16585   if test x$gcc_no_link = xyes; then
16586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16588    { (exit 1); exit 1; }; }
16589 fi
16590 cat >conftest.$ac_ext <<_ACEOF
16591 /* confdefs.h.  */
16592 _ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h.  */
16596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16598 #define $ac_func innocuous_$ac_func
16599
16600 /* System header to define __stub macros and hopefully few prototypes,
16601     which can conflict with char $ac_func (); below.
16602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16603     <limits.h> exists even on freestanding compilers.  */
16604
16605 #ifdef __STDC__
16606 # include <limits.h>
16607 #else
16608 # include <assert.h>
16609 #endif
16610
16611 #undef $ac_func
16612
16613 /* Override any gcc2 internal prototype to avoid an error.  */
16614 #ifdef __cplusplus
16615 extern "C"
16616 {
16617 #endif
16618 /* We use char because int might match the return type of a gcc2
16619    builtin and then its argument prototype would still apply.  */
16620 char $ac_func ();
16621 /* The GNU C library defines this for functions which it implements
16622     to always fail with ENOSYS.  Some functions are actually named
16623     something starting with __ and the normal name is an alias.  */
16624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16625 choke me
16626 #else
16627 char (*f) () = $ac_func;
16628 #endif
16629 #ifdef __cplusplus
16630 }
16631 #endif
16632
16633 int
16634 main ()
16635 {
16636 return f != $ac_func;
16637   ;
16638   return 0;
16639 }
16640 _ACEOF
16641 rm -f conftest.$ac_objext conftest$ac_exeext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16643   (eval $ac_link) 2>conftest.er1
16644   ac_status=$?
16645   grep -v '^ *+' conftest.er1 >conftest.err
16646   rm -f conftest.er1
16647   cat conftest.err >&5
16648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649   (exit $ac_status); } &&
16650          { ac_try='test -z "$ac_c_werror_flag"
16651                          || test ! -s conftest.err'
16652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653   (eval $ac_try) 2>&5
16654   ac_status=$?
16655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656   (exit $ac_status); }; } &&
16657          { ac_try='test -s conftest$ac_exeext'
16658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659   (eval $ac_try) 2>&5
16660   ac_status=$?
16661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662   (exit $ac_status); }; }; then
16663   eval "$as_ac_var=yes"
16664 else
16665   echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16667
16668 eval "$as_ac_var=no"
16669 fi
16670 rm -f conftest.err conftest.$ac_objext \
16671       conftest$ac_exeext conftest.$ac_ext
16672 fi
16673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16675 if test `eval echo '${'$as_ac_var'}'` = yes; then
16676   cat >>confdefs.h <<_ACEOF
16677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16678 _ACEOF
16679
16680 fi
16681 done
16682
16683   else
16684
16685   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16686 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16687   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16688     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16689   echo $ECHO_N "(cached) $ECHO_C" >&6
16690 else
16691
16692
16693
16694       ac_ext=cc
16695 ac_cpp='$CXXCPP $CPPFLAGS'
16696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16699
16700       cat >conftest.$ac_ext <<_ACEOF
16701 /* confdefs.h.  */
16702 _ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h.  */
16706 #include <math.h>
16707 int
16708 main ()
16709 {
16710  _modff(0, 0);
16711   ;
16712   return 0;
16713 }
16714 _ACEOF
16715 rm -f conftest.$ac_objext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717   (eval $ac_compile) 2>conftest.er1
16718   ac_status=$?
16719   grep -v '^ *+' conftest.er1 >conftest.err
16720   rm -f conftest.er1
16721   cat conftest.err >&5
16722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723   (exit $ac_status); } &&
16724          { ac_try='test -z "$ac_cxx_werror_flag"
16725                          || test ! -s conftest.err'
16726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727   (eval $ac_try) 2>&5
16728   ac_status=$?
16729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730   (exit $ac_status); }; } &&
16731          { ac_try='test -s conftest.$ac_objext'
16732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733   (eval $ac_try) 2>&5
16734   ac_status=$?
16735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736   (exit $ac_status); }; }; then
16737   glibcxx_cv_func__modff_use=yes
16738 else
16739   echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16741
16742 glibcxx_cv_func__modff_use=no
16743 fi
16744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16745       ac_ext=c
16746 ac_cpp='$CPP $CPPFLAGS'
16747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16750
16751
16752 fi
16753
16754   fi
16755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16756 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16757
16758     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16759
16760 for ac_func in _modff
16761 do
16762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16763 echo "$as_me:$LINENO: checking for $ac_func" >&5
16764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16765 if eval "test \"\${$as_ac_var+set}\" = set"; then
16766   echo $ECHO_N "(cached) $ECHO_C" >&6
16767 else
16768   if test x$gcc_no_link = xyes; then
16769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16771    { (exit 1); exit 1; }; }
16772 fi
16773 cat >conftest.$ac_ext <<_ACEOF
16774 /* confdefs.h.  */
16775 _ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h.  */
16779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16781 #define $ac_func innocuous_$ac_func
16782
16783 /* System header to define __stub macros and hopefully few prototypes,
16784     which can conflict with char $ac_func (); below.
16785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16786     <limits.h> exists even on freestanding compilers.  */
16787
16788 #ifdef __STDC__
16789 # include <limits.h>
16790 #else
16791 # include <assert.h>
16792 #endif
16793
16794 #undef $ac_func
16795
16796 /* Override any gcc2 internal prototype to avoid an error.  */
16797 #ifdef __cplusplus
16798 extern "C"
16799 {
16800 #endif
16801 /* We use char because int might match the return type of a gcc2
16802    builtin and then its argument prototype would still apply.  */
16803 char $ac_func ();
16804 /* The GNU C library defines this for functions which it implements
16805     to always fail with ENOSYS.  Some functions are actually named
16806     something starting with __ and the normal name is an alias.  */
16807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16808 choke me
16809 #else
16810 char (*f) () = $ac_func;
16811 #endif
16812 #ifdef __cplusplus
16813 }
16814 #endif
16815
16816 int
16817 main ()
16818 {
16819 return f != $ac_func;
16820   ;
16821   return 0;
16822 }
16823 _ACEOF
16824 rm -f conftest.$ac_objext conftest$ac_exeext
16825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16826   (eval $ac_link) 2>conftest.er1
16827   ac_status=$?
16828   grep -v '^ *+' conftest.er1 >conftest.err
16829   rm -f conftest.er1
16830   cat conftest.err >&5
16831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832   (exit $ac_status); } &&
16833          { ac_try='test -z "$ac_c_werror_flag"
16834                          || test ! -s conftest.err'
16835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836   (eval $ac_try) 2>&5
16837   ac_status=$?
16838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839   (exit $ac_status); }; } &&
16840          { ac_try='test -s conftest$ac_exeext'
16841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842   (eval $ac_try) 2>&5
16843   ac_status=$?
16844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845   (exit $ac_status); }; }; then
16846   eval "$as_ac_var=yes"
16847 else
16848   echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 eval "$as_ac_var=no"
16852 fi
16853 rm -f conftest.err conftest.$ac_objext \
16854       conftest$ac_exeext conftest.$ac_ext
16855 fi
16856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16858 if test `eval echo '${'$as_ac_var'}'` = yes; then
16859   cat >>confdefs.h <<_ACEOF
16860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16861 _ACEOF
16862
16863 fi
16864 done
16865
16866     fi
16867   fi
16868
16869
16870
16871
16872
16873
16874   echo "$as_me:$LINENO: checking for modf declaration" >&5
16875 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16876   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16877     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16878   echo $ECHO_N "(cached) $ECHO_C" >&6
16879 else
16880
16881
16882
16883       ac_ext=cc
16884 ac_cpp='$CXXCPP $CPPFLAGS'
16885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16888
16889       cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h.  */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h.  */
16895 #include <math.h>
16896 int
16897 main ()
16898 {
16899  modf(0, 0);
16900   ;
16901   return 0;
16902 }
16903 _ACEOF
16904 rm -f conftest.$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906   (eval $ac_compile) 2>conftest.er1
16907   ac_status=$?
16908   grep -v '^ *+' conftest.er1 >conftest.err
16909   rm -f conftest.er1
16910   cat conftest.err >&5
16911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912   (exit $ac_status); } &&
16913          { ac_try='test -z "$ac_cxx_werror_flag"
16914                          || test ! -s conftest.err'
16915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916   (eval $ac_try) 2>&5
16917   ac_status=$?
16918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919   (exit $ac_status); }; } &&
16920          { ac_try='test -s conftest.$ac_objext'
16921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922   (eval $ac_try) 2>&5
16923   ac_status=$?
16924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925   (exit $ac_status); }; }; then
16926   glibcxx_cv_func_modf_use=yes
16927 else
16928   echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 glibcxx_cv_func_modf_use=no
16932 fi
16933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16934       ac_ext=c
16935 ac_cpp='$CPP $CPPFLAGS'
16936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16939
16940
16941 fi
16942
16943   fi
16944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16945 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16946
16947   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16948
16949 for ac_func in modf
16950 do
16951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16952 echo "$as_me:$LINENO: checking for $ac_func" >&5
16953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16954 if eval "test \"\${$as_ac_var+set}\" = set"; then
16955   echo $ECHO_N "(cached) $ECHO_C" >&6
16956 else
16957   if test x$gcc_no_link = xyes; then
16958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16960    { (exit 1); exit 1; }; }
16961 fi
16962 cat >conftest.$ac_ext <<_ACEOF
16963 /* confdefs.h.  */
16964 _ACEOF
16965 cat confdefs.h >>conftest.$ac_ext
16966 cat >>conftest.$ac_ext <<_ACEOF
16967 /* end confdefs.h.  */
16968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16970 #define $ac_func innocuous_$ac_func
16971
16972 /* System header to define __stub macros and hopefully few prototypes,
16973     which can conflict with char $ac_func (); below.
16974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16975     <limits.h> exists even on freestanding compilers.  */
16976
16977 #ifdef __STDC__
16978 # include <limits.h>
16979 #else
16980 # include <assert.h>
16981 #endif
16982
16983 #undef $ac_func
16984
16985 /* Override any gcc2 internal prototype to avoid an error.  */
16986 #ifdef __cplusplus
16987 extern "C"
16988 {
16989 #endif
16990 /* We use char because int might match the return type of a gcc2
16991    builtin and then its argument prototype would still apply.  */
16992 char $ac_func ();
16993 /* The GNU C library defines this for functions which it implements
16994     to always fail with ENOSYS.  Some functions are actually named
16995     something starting with __ and the normal name is an alias.  */
16996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16997 choke me
16998 #else
16999 char (*f) () = $ac_func;
17000 #endif
17001 #ifdef __cplusplus
17002 }
17003 #endif
17004
17005 int
17006 main ()
17007 {
17008 return f != $ac_func;
17009   ;
17010   return 0;
17011 }
17012 _ACEOF
17013 rm -f conftest.$ac_objext conftest$ac_exeext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17015   (eval $ac_link) 2>conftest.er1
17016   ac_status=$?
17017   grep -v '^ *+' conftest.er1 >conftest.err
17018   rm -f conftest.er1
17019   cat conftest.err >&5
17020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021   (exit $ac_status); } &&
17022          { ac_try='test -z "$ac_c_werror_flag"
17023                          || test ! -s conftest.err'
17024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025   (eval $ac_try) 2>&5
17026   ac_status=$?
17027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028   (exit $ac_status); }; } &&
17029          { ac_try='test -s conftest$ac_exeext'
17030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031   (eval $ac_try) 2>&5
17032   ac_status=$?
17033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034   (exit $ac_status); }; }; then
17035   eval "$as_ac_var=yes"
17036 else
17037   echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17039
17040 eval "$as_ac_var=no"
17041 fi
17042 rm -f conftest.err conftest.$ac_objext \
17043       conftest$ac_exeext conftest.$ac_ext
17044 fi
17045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17047 if test `eval echo '${'$as_ac_var'}'` = yes; then
17048   cat >>confdefs.h <<_ACEOF
17049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17050 _ACEOF
17051
17052 fi
17053 done
17054
17055   else
17056
17057   echo "$as_me:$LINENO: checking for _modf declaration" >&5
17058 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17059   if test x${glibcxx_cv_func__modf_use+set} != xset; then
17060     if test "${glibcxx_cv_func__modf_use+set}" = set; then
17061   echo $ECHO_N "(cached) $ECHO_C" >&6
17062 else
17063
17064
17065
17066       ac_ext=cc
17067 ac_cpp='$CXXCPP $CPPFLAGS'
17068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17071
17072       cat >conftest.$ac_ext <<_ACEOF
17073 /* confdefs.h.  */
17074 _ACEOF
17075 cat confdefs.h >>conftest.$ac_ext
17076 cat >>conftest.$ac_ext <<_ACEOF
17077 /* end confdefs.h.  */
17078 #include <math.h>
17079 int
17080 main ()
17081 {
17082  _modf(0, 0);
17083   ;
17084   return 0;
17085 }
17086 _ACEOF
17087 rm -f conftest.$ac_objext
17088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17089   (eval $ac_compile) 2>conftest.er1
17090   ac_status=$?
17091   grep -v '^ *+' conftest.er1 >conftest.err
17092   rm -f conftest.er1
17093   cat conftest.err >&5
17094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095   (exit $ac_status); } &&
17096          { ac_try='test -z "$ac_cxx_werror_flag"
17097                          || test ! -s conftest.err'
17098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099   (eval $ac_try) 2>&5
17100   ac_status=$?
17101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102   (exit $ac_status); }; } &&
17103          { ac_try='test -s conftest.$ac_objext'
17104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105   (eval $ac_try) 2>&5
17106   ac_status=$?
17107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108   (exit $ac_status); }; }; then
17109   glibcxx_cv_func__modf_use=yes
17110 else
17111   echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 glibcxx_cv_func__modf_use=no
17115 fi
17116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17117       ac_ext=c
17118 ac_cpp='$CPP $CPPFLAGS'
17119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17122
17123
17124 fi
17125
17126   fi
17127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17128 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17129
17130     if test x$glibcxx_cv_func__modf_use = x"yes"; then
17131
17132 for ac_func in _modf
17133 do
17134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17135 echo "$as_me:$LINENO: checking for $ac_func" >&5
17136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17137 if eval "test \"\${$as_ac_var+set}\" = set"; then
17138   echo $ECHO_N "(cached) $ECHO_C" >&6
17139 else
17140   if test x$gcc_no_link = xyes; then
17141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17143    { (exit 1); exit 1; }; }
17144 fi
17145 cat >conftest.$ac_ext <<_ACEOF
17146 /* confdefs.h.  */
17147 _ACEOF
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h.  */
17151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17153 #define $ac_func innocuous_$ac_func
17154
17155 /* System header to define __stub macros and hopefully few prototypes,
17156     which can conflict with char $ac_func (); below.
17157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17158     <limits.h> exists even on freestanding compilers.  */
17159
17160 #ifdef __STDC__
17161 # include <limits.h>
17162 #else
17163 # include <assert.h>
17164 #endif
17165
17166 #undef $ac_func
17167
17168 /* Override any gcc2 internal prototype to avoid an error.  */
17169 #ifdef __cplusplus
17170 extern "C"
17171 {
17172 #endif
17173 /* We use char because int might match the return type of a gcc2
17174    builtin and then its argument prototype would still apply.  */
17175 char $ac_func ();
17176 /* The GNU C library defines this for functions which it implements
17177     to always fail with ENOSYS.  Some functions are actually named
17178     something starting with __ and the normal name is an alias.  */
17179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17180 choke me
17181 #else
17182 char (*f) () = $ac_func;
17183 #endif
17184 #ifdef __cplusplus
17185 }
17186 #endif
17187
17188 int
17189 main ()
17190 {
17191 return f != $ac_func;
17192   ;
17193   return 0;
17194 }
17195 _ACEOF
17196 rm -f conftest.$ac_objext conftest$ac_exeext
17197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17198   (eval $ac_link) 2>conftest.er1
17199   ac_status=$?
17200   grep -v '^ *+' conftest.er1 >conftest.err
17201   rm -f conftest.er1
17202   cat conftest.err >&5
17203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204   (exit $ac_status); } &&
17205          { ac_try='test -z "$ac_c_werror_flag"
17206                          || test ! -s conftest.err'
17207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208   (eval $ac_try) 2>&5
17209   ac_status=$?
17210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211   (exit $ac_status); }; } &&
17212          { ac_try='test -s conftest$ac_exeext'
17213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214   (eval $ac_try) 2>&5
17215   ac_status=$?
17216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217   (exit $ac_status); }; }; then
17218   eval "$as_ac_var=yes"
17219 else
17220   echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.$ac_ext >&5
17222
17223 eval "$as_ac_var=no"
17224 fi
17225 rm -f conftest.err conftest.$ac_objext \
17226       conftest$ac_exeext conftest.$ac_ext
17227 fi
17228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17230 if test `eval echo '${'$as_ac_var'}'` = yes; then
17231   cat >>confdefs.h <<_ACEOF
17232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17233 _ACEOF
17234
17235 fi
17236 done
17237
17238     fi
17239   fi
17240
17241
17242
17243
17244
17245
17246   echo "$as_me:$LINENO: checking for powf declaration" >&5
17247 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17248   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17249     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17250   echo $ECHO_N "(cached) $ECHO_C" >&6
17251 else
17252
17253
17254
17255       ac_ext=cc
17256 ac_cpp='$CXXCPP $CPPFLAGS'
17257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17260
17261       cat >conftest.$ac_ext <<_ACEOF
17262 /* confdefs.h.  */
17263 _ACEOF
17264 cat confdefs.h >>conftest.$ac_ext
17265 cat >>conftest.$ac_ext <<_ACEOF
17266 /* end confdefs.h.  */
17267 #include <math.h>
17268 int
17269 main ()
17270 {
17271  powf(0, 0);
17272   ;
17273   return 0;
17274 }
17275 _ACEOF
17276 rm -f conftest.$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278   (eval $ac_compile) 2>conftest.er1
17279   ac_status=$?
17280   grep -v '^ *+' conftest.er1 >conftest.err
17281   rm -f conftest.er1
17282   cat conftest.err >&5
17283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284   (exit $ac_status); } &&
17285          { ac_try='test -z "$ac_cxx_werror_flag"
17286                          || test ! -s conftest.err'
17287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288   (eval $ac_try) 2>&5
17289   ac_status=$?
17290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291   (exit $ac_status); }; } &&
17292          { ac_try='test -s conftest.$ac_objext'
17293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294   (eval $ac_try) 2>&5
17295   ac_status=$?
17296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297   (exit $ac_status); }; }; then
17298   glibcxx_cv_func_powf_use=yes
17299 else
17300   echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.$ac_ext >&5
17302
17303 glibcxx_cv_func_powf_use=no
17304 fi
17305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17306       ac_ext=c
17307 ac_cpp='$CPP $CPPFLAGS'
17308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17311
17312
17313 fi
17314
17315   fi
17316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17317 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17318
17319   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17320
17321 for ac_func in powf
17322 do
17323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17324 echo "$as_me:$LINENO: checking for $ac_func" >&5
17325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17326 if eval "test \"\${$as_ac_var+set}\" = set"; then
17327   echo $ECHO_N "(cached) $ECHO_C" >&6
17328 else
17329   if test x$gcc_no_link = xyes; then
17330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17332    { (exit 1); exit 1; }; }
17333 fi
17334 cat >conftest.$ac_ext <<_ACEOF
17335 /* confdefs.h.  */
17336 _ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h.  */
17340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17342 #define $ac_func innocuous_$ac_func
17343
17344 /* System header to define __stub macros and hopefully few prototypes,
17345     which can conflict with char $ac_func (); below.
17346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17347     <limits.h> exists even on freestanding compilers.  */
17348
17349 #ifdef __STDC__
17350 # include <limits.h>
17351 #else
17352 # include <assert.h>
17353 #endif
17354
17355 #undef $ac_func
17356
17357 /* Override any gcc2 internal prototype to avoid an error.  */
17358 #ifdef __cplusplus
17359 extern "C"
17360 {
17361 #endif
17362 /* We use char because int might match the return type of a gcc2
17363    builtin and then its argument prototype would still apply.  */
17364 char $ac_func ();
17365 /* The GNU C library defines this for functions which it implements
17366     to always fail with ENOSYS.  Some functions are actually named
17367     something starting with __ and the normal name is an alias.  */
17368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17369 choke me
17370 #else
17371 char (*f) () = $ac_func;
17372 #endif
17373 #ifdef __cplusplus
17374 }
17375 #endif
17376
17377 int
17378 main ()
17379 {
17380 return f != $ac_func;
17381   ;
17382   return 0;
17383 }
17384 _ACEOF
17385 rm -f conftest.$ac_objext conftest$ac_exeext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17387   (eval $ac_link) 2>conftest.er1
17388   ac_status=$?
17389   grep -v '^ *+' conftest.er1 >conftest.err
17390   rm -f conftest.er1
17391   cat conftest.err >&5
17392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393   (exit $ac_status); } &&
17394          { ac_try='test -z "$ac_c_werror_flag"
17395                          || test ! -s conftest.err'
17396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397   (eval $ac_try) 2>&5
17398   ac_status=$?
17399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400   (exit $ac_status); }; } &&
17401          { ac_try='test -s conftest$ac_exeext'
17402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403   (eval $ac_try) 2>&5
17404   ac_status=$?
17405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406   (exit $ac_status); }; }; then
17407   eval "$as_ac_var=yes"
17408 else
17409   echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 eval "$as_ac_var=no"
17413 fi
17414 rm -f conftest.err conftest.$ac_objext \
17415       conftest$ac_exeext conftest.$ac_ext
17416 fi
17417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17419 if test `eval echo '${'$as_ac_var'}'` = yes; then
17420   cat >>confdefs.h <<_ACEOF
17421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17422 _ACEOF
17423
17424 fi
17425 done
17426
17427   else
17428
17429   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17430 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17431   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17432     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17433   echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435
17436
17437
17438       ac_ext=cc
17439 ac_cpp='$CXXCPP $CPPFLAGS'
17440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17443
17444       cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h.  */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h.  */
17450 #include <math.h>
17451 int
17452 main ()
17453 {
17454  _powf(0, 0);
17455   ;
17456   return 0;
17457 }
17458 _ACEOF
17459 rm -f conftest.$ac_objext
17460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17461   (eval $ac_compile) 2>conftest.er1
17462   ac_status=$?
17463   grep -v '^ *+' conftest.er1 >conftest.err
17464   rm -f conftest.er1
17465   cat conftest.err >&5
17466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467   (exit $ac_status); } &&
17468          { ac_try='test -z "$ac_cxx_werror_flag"
17469                          || test ! -s conftest.err'
17470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471   (eval $ac_try) 2>&5
17472   ac_status=$?
17473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474   (exit $ac_status); }; } &&
17475          { ac_try='test -s conftest.$ac_objext'
17476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477   (eval $ac_try) 2>&5
17478   ac_status=$?
17479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480   (exit $ac_status); }; }; then
17481   glibcxx_cv_func__powf_use=yes
17482 else
17483   echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.$ac_ext >&5
17485
17486 glibcxx_cv_func__powf_use=no
17487 fi
17488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17489       ac_ext=c
17490 ac_cpp='$CPP $CPPFLAGS'
17491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494
17495
17496 fi
17497
17498   fi
17499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17500 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17501
17502     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17503
17504 for ac_func in _powf
17505 do
17506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17507 echo "$as_me:$LINENO: checking for $ac_func" >&5
17508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17509 if eval "test \"\${$as_ac_var+set}\" = set"; then
17510   echo $ECHO_N "(cached) $ECHO_C" >&6
17511 else
17512   if test x$gcc_no_link = xyes; then
17513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17515    { (exit 1); exit 1; }; }
17516 fi
17517 cat >conftest.$ac_ext <<_ACEOF
17518 /* confdefs.h.  */
17519 _ACEOF
17520 cat confdefs.h >>conftest.$ac_ext
17521 cat >>conftest.$ac_ext <<_ACEOF
17522 /* end confdefs.h.  */
17523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17525 #define $ac_func innocuous_$ac_func
17526
17527 /* System header to define __stub macros and hopefully few prototypes,
17528     which can conflict with char $ac_func (); below.
17529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17530     <limits.h> exists even on freestanding compilers.  */
17531
17532 #ifdef __STDC__
17533 # include <limits.h>
17534 #else
17535 # include <assert.h>
17536 #endif
17537
17538 #undef $ac_func
17539
17540 /* Override any gcc2 internal prototype to avoid an error.  */
17541 #ifdef __cplusplus
17542 extern "C"
17543 {
17544 #endif
17545 /* We use char because int might match the return type of a gcc2
17546    builtin and then its argument prototype would still apply.  */
17547 char $ac_func ();
17548 /* The GNU C library defines this for functions which it implements
17549     to always fail with ENOSYS.  Some functions are actually named
17550     something starting with __ and the normal name is an alias.  */
17551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17552 choke me
17553 #else
17554 char (*f) () = $ac_func;
17555 #endif
17556 #ifdef __cplusplus
17557 }
17558 #endif
17559
17560 int
17561 main ()
17562 {
17563 return f != $ac_func;
17564   ;
17565   return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext conftest$ac_exeext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17570   (eval $ac_link) 2>conftest.er1
17571   ac_status=$?
17572   grep -v '^ *+' conftest.er1 >conftest.err
17573   rm -f conftest.er1
17574   cat conftest.err >&5
17575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576   (exit $ac_status); } &&
17577          { ac_try='test -z "$ac_c_werror_flag"
17578                          || test ! -s conftest.err'
17579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580   (eval $ac_try) 2>&5
17581   ac_status=$?
17582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583   (exit $ac_status); }; } &&
17584          { ac_try='test -s conftest$ac_exeext'
17585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586   (eval $ac_try) 2>&5
17587   ac_status=$?
17588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589   (exit $ac_status); }; }; then
17590   eval "$as_ac_var=yes"
17591 else
17592   echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17594
17595 eval "$as_ac_var=no"
17596 fi
17597 rm -f conftest.err conftest.$ac_objext \
17598       conftest$ac_exeext conftest.$ac_ext
17599 fi
17600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17602 if test `eval echo '${'$as_ac_var'}'` = yes; then
17603   cat >>confdefs.h <<_ACEOF
17604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17605 _ACEOF
17606
17607 fi
17608 done
17609
17610     fi
17611   fi
17612
17613
17614
17615
17616
17617
17618   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17619 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17620   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17621     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17622   echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17624
17625
17626
17627       ac_ext=cc
17628 ac_cpp='$CXXCPP $CPPFLAGS'
17629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17632
17633       cat >conftest.$ac_ext <<_ACEOF
17634 /* confdefs.h.  */
17635 _ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h.  */
17639 #include <math.h>
17640                       #ifdef HAVE_IEEEFP_H
17641                       #include <ieeefp.h>
17642                       #endif
17643
17644 int
17645 main ()
17646 {
17647  sqrtf(0);
17648   ;
17649   return 0;
17650 }
17651 _ACEOF
17652 rm -f conftest.$ac_objext
17653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17654   (eval $ac_compile) 2>conftest.er1
17655   ac_status=$?
17656   grep -v '^ *+' conftest.er1 >conftest.err
17657   rm -f conftest.er1
17658   cat conftest.err >&5
17659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660   (exit $ac_status); } &&
17661          { ac_try='test -z "$ac_cxx_werror_flag"
17662                          || test ! -s conftest.err'
17663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664   (eval $ac_try) 2>&5
17665   ac_status=$?
17666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667   (exit $ac_status); }; } &&
17668          { ac_try='test -s conftest.$ac_objext'
17669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670   (eval $ac_try) 2>&5
17671   ac_status=$?
17672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673   (exit $ac_status); }; }; then
17674   glibcxx_cv_func_sqrtf_use=yes
17675 else
17676   echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17678
17679 glibcxx_cv_func_sqrtf_use=no
17680 fi
17681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17682       ac_ext=c
17683 ac_cpp='$CPP $CPPFLAGS'
17684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17687
17688
17689 fi
17690
17691   fi
17692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17693 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17694
17695   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17696
17697 for ac_func in sqrtf
17698 do
17699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17700 echo "$as_me:$LINENO: checking for $ac_func" >&5
17701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17702 if eval "test \"\${$as_ac_var+set}\" = set"; then
17703   echo $ECHO_N "(cached) $ECHO_C" >&6
17704 else
17705   if test x$gcc_no_link = xyes; then
17706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17708    { (exit 1); exit 1; }; }
17709 fi
17710 cat >conftest.$ac_ext <<_ACEOF
17711 /* confdefs.h.  */
17712 _ACEOF
17713 cat confdefs.h >>conftest.$ac_ext
17714 cat >>conftest.$ac_ext <<_ACEOF
17715 /* end confdefs.h.  */
17716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17718 #define $ac_func innocuous_$ac_func
17719
17720 /* System header to define __stub macros and hopefully few prototypes,
17721     which can conflict with char $ac_func (); below.
17722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17723     <limits.h> exists even on freestanding compilers.  */
17724
17725 #ifdef __STDC__
17726 # include <limits.h>
17727 #else
17728 # include <assert.h>
17729 #endif
17730
17731 #undef $ac_func
17732
17733 /* Override any gcc2 internal prototype to avoid an error.  */
17734 #ifdef __cplusplus
17735 extern "C"
17736 {
17737 #endif
17738 /* We use char because int might match the return type of a gcc2
17739    builtin and then its argument prototype would still apply.  */
17740 char $ac_func ();
17741 /* The GNU C library defines this for functions which it implements
17742     to always fail with ENOSYS.  Some functions are actually named
17743     something starting with __ and the normal name is an alias.  */
17744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17745 choke me
17746 #else
17747 char (*f) () = $ac_func;
17748 #endif
17749 #ifdef __cplusplus
17750 }
17751 #endif
17752
17753 int
17754 main ()
17755 {
17756 return f != $ac_func;
17757   ;
17758   return 0;
17759 }
17760 _ACEOF
17761 rm -f conftest.$ac_objext conftest$ac_exeext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17763   (eval $ac_link) 2>conftest.er1
17764   ac_status=$?
17765   grep -v '^ *+' conftest.er1 >conftest.err
17766   rm -f conftest.er1
17767   cat conftest.err >&5
17768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769   (exit $ac_status); } &&
17770          { ac_try='test -z "$ac_c_werror_flag"
17771                          || test ! -s conftest.err'
17772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773   (eval $ac_try) 2>&5
17774   ac_status=$?
17775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776   (exit $ac_status); }; } &&
17777          { ac_try='test -s conftest$ac_exeext'
17778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779   (eval $ac_try) 2>&5
17780   ac_status=$?
17781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782   (exit $ac_status); }; }; then
17783   eval "$as_ac_var=yes"
17784 else
17785   echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17787
17788 eval "$as_ac_var=no"
17789 fi
17790 rm -f conftest.err conftest.$ac_objext \
17791       conftest$ac_exeext conftest.$ac_ext
17792 fi
17793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17795 if test `eval echo '${'$as_ac_var'}'` = yes; then
17796   cat >>confdefs.h <<_ACEOF
17797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17798 _ACEOF
17799
17800 fi
17801 done
17802
17803   else
17804
17805   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17806 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17807   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17808     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17809   echo $ECHO_N "(cached) $ECHO_C" >&6
17810 else
17811
17812
17813
17814       ac_ext=cc
17815 ac_cpp='$CXXCPP $CPPFLAGS'
17816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17819
17820       cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h.  */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h.  */
17826 #include <math.h>
17827                       #ifdef HAVE_IEEEFP_H
17828                       #include <ieeefp.h>
17829                       #endif
17830
17831 int
17832 main ()
17833 {
17834  _sqrtf(0);
17835   ;
17836   return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest.$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841   (eval $ac_compile) 2>conftest.er1
17842   ac_status=$?
17843   grep -v '^ *+' conftest.er1 >conftest.err
17844   rm -f conftest.er1
17845   cat conftest.err >&5
17846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847   (exit $ac_status); } &&
17848          { ac_try='test -z "$ac_cxx_werror_flag"
17849                          || test ! -s conftest.err'
17850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851   (eval $ac_try) 2>&5
17852   ac_status=$?
17853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854   (exit $ac_status); }; } &&
17855          { ac_try='test -s conftest.$ac_objext'
17856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857   (eval $ac_try) 2>&5
17858   ac_status=$?
17859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860   (exit $ac_status); }; }; then
17861   glibcxx_cv_func__sqrtf_use=yes
17862 else
17863   echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.$ac_ext >&5
17865
17866 glibcxx_cv_func__sqrtf_use=no
17867 fi
17868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17869       ac_ext=c
17870 ac_cpp='$CPP $CPPFLAGS'
17871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17874
17875
17876 fi
17877
17878   fi
17879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17880 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17881
17882     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17883
17884 for ac_func in _sqrtf
17885 do
17886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17887 echo "$as_me:$LINENO: checking for $ac_func" >&5
17888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17889 if eval "test \"\${$as_ac_var+set}\" = set"; then
17890   echo $ECHO_N "(cached) $ECHO_C" >&6
17891 else
17892   if test x$gcc_no_link = xyes; then
17893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17895    { (exit 1); exit 1; }; }
17896 fi
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h.  */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h.  */
17903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17905 #define $ac_func innocuous_$ac_func
17906
17907 /* System header to define __stub macros and hopefully few prototypes,
17908     which can conflict with char $ac_func (); below.
17909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17910     <limits.h> exists even on freestanding compilers.  */
17911
17912 #ifdef __STDC__
17913 # include <limits.h>
17914 #else
17915 # include <assert.h>
17916 #endif
17917
17918 #undef $ac_func
17919
17920 /* Override any gcc2 internal prototype to avoid an error.  */
17921 #ifdef __cplusplus
17922 extern "C"
17923 {
17924 #endif
17925 /* We use char because int might match the return type of a gcc2
17926    builtin and then its argument prototype would still apply.  */
17927 char $ac_func ();
17928 /* The GNU C library defines this for functions which it implements
17929     to always fail with ENOSYS.  Some functions are actually named
17930     something starting with __ and the normal name is an alias.  */
17931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17932 choke me
17933 #else
17934 char (*f) () = $ac_func;
17935 #endif
17936 #ifdef __cplusplus
17937 }
17938 #endif
17939
17940 int
17941 main ()
17942 {
17943 return f != $ac_func;
17944   ;
17945   return 0;
17946 }
17947 _ACEOF
17948 rm -f conftest.$ac_objext conftest$ac_exeext
17949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17950   (eval $ac_link) 2>conftest.er1
17951   ac_status=$?
17952   grep -v '^ *+' conftest.er1 >conftest.err
17953   rm -f conftest.er1
17954   cat conftest.err >&5
17955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956   (exit $ac_status); } &&
17957          { ac_try='test -z "$ac_c_werror_flag"
17958                          || test ! -s conftest.err'
17959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960   (eval $ac_try) 2>&5
17961   ac_status=$?
17962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963   (exit $ac_status); }; } &&
17964          { ac_try='test -s conftest$ac_exeext'
17965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966   (eval $ac_try) 2>&5
17967   ac_status=$?
17968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969   (exit $ac_status); }; }; then
17970   eval "$as_ac_var=yes"
17971 else
17972   echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 eval "$as_ac_var=no"
17976 fi
17977 rm -f conftest.err conftest.$ac_objext \
17978       conftest$ac_exeext conftest.$ac_ext
17979 fi
17980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17982 if test `eval echo '${'$as_ac_var'}'` = yes; then
17983   cat >>confdefs.h <<_ACEOF
17984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17985 _ACEOF
17986
17987 fi
17988 done
17989
17990     fi
17991   fi
17992
17993
17994
17995
17996
17997
17998   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17999 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18000   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18001     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18002   echo $ECHO_N "(cached) $ECHO_C" >&6
18003 else
18004
18005
18006
18007       ac_ext=cc
18008 ac_cpp='$CXXCPP $CPPFLAGS'
18009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18012
18013       cat >conftest.$ac_ext <<_ACEOF
18014 /* confdefs.h.  */
18015 _ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h.  */
18019 #include <math.h>
18020 int
18021 main ()
18022 {
18023  sincosf(0, 0, 0);
18024   ;
18025   return 0;
18026 }
18027 _ACEOF
18028 rm -f conftest.$ac_objext
18029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18030   (eval $ac_compile) 2>conftest.er1
18031   ac_status=$?
18032   grep -v '^ *+' conftest.er1 >conftest.err
18033   rm -f conftest.er1
18034   cat conftest.err >&5
18035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036   (exit $ac_status); } &&
18037          { ac_try='test -z "$ac_cxx_werror_flag"
18038                          || test ! -s conftest.err'
18039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040   (eval $ac_try) 2>&5
18041   ac_status=$?
18042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043   (exit $ac_status); }; } &&
18044          { ac_try='test -s conftest.$ac_objext'
18045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046   (eval $ac_try) 2>&5
18047   ac_status=$?
18048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049   (exit $ac_status); }; }; then
18050   glibcxx_cv_func_sincosf_use=yes
18051 else
18052   echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18054
18055 glibcxx_cv_func_sincosf_use=no
18056 fi
18057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18058       ac_ext=c
18059 ac_cpp='$CPP $CPPFLAGS'
18060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18063
18064
18065 fi
18066
18067   fi
18068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18069 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18070
18071   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18072
18073 for ac_func in sincosf
18074 do
18075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18076 echo "$as_me:$LINENO: checking for $ac_func" >&5
18077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18078 if eval "test \"\${$as_ac_var+set}\" = set"; then
18079   echo $ECHO_N "(cached) $ECHO_C" >&6
18080 else
18081   if test x$gcc_no_link = xyes; then
18082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18084    { (exit 1); exit 1; }; }
18085 fi
18086 cat >conftest.$ac_ext <<_ACEOF
18087 /* confdefs.h.  */
18088 _ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h.  */
18092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18094 #define $ac_func innocuous_$ac_func
18095
18096 /* System header to define __stub macros and hopefully few prototypes,
18097     which can conflict with char $ac_func (); below.
18098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18099     <limits.h> exists even on freestanding compilers.  */
18100
18101 #ifdef __STDC__
18102 # include <limits.h>
18103 #else
18104 # include <assert.h>
18105 #endif
18106
18107 #undef $ac_func
18108
18109 /* Override any gcc2 internal prototype to avoid an error.  */
18110 #ifdef __cplusplus
18111 extern "C"
18112 {
18113 #endif
18114 /* We use char because int might match the return type of a gcc2
18115    builtin and then its argument prototype would still apply.  */
18116 char $ac_func ();
18117 /* The GNU C library defines this for functions which it implements
18118     to always fail with ENOSYS.  Some functions are actually named
18119     something starting with __ and the normal name is an alias.  */
18120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18121 choke me
18122 #else
18123 char (*f) () = $ac_func;
18124 #endif
18125 #ifdef __cplusplus
18126 }
18127 #endif
18128
18129 int
18130 main ()
18131 {
18132 return f != $ac_func;
18133   ;
18134   return 0;
18135 }
18136 _ACEOF
18137 rm -f conftest.$ac_objext conftest$ac_exeext
18138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18139   (eval $ac_link) 2>conftest.er1
18140   ac_status=$?
18141   grep -v '^ *+' conftest.er1 >conftest.err
18142   rm -f conftest.er1
18143   cat conftest.err >&5
18144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145   (exit $ac_status); } &&
18146          { ac_try='test -z "$ac_c_werror_flag"
18147                          || test ! -s conftest.err'
18148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149   (eval $ac_try) 2>&5
18150   ac_status=$?
18151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152   (exit $ac_status); }; } &&
18153          { ac_try='test -s conftest$ac_exeext'
18154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155   (eval $ac_try) 2>&5
18156   ac_status=$?
18157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158   (exit $ac_status); }; }; then
18159   eval "$as_ac_var=yes"
18160 else
18161   echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18163
18164 eval "$as_ac_var=no"
18165 fi
18166 rm -f conftest.err conftest.$ac_objext \
18167       conftest$ac_exeext conftest.$ac_ext
18168 fi
18169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18171 if test `eval echo '${'$as_ac_var'}'` = yes; then
18172   cat >>confdefs.h <<_ACEOF
18173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18174 _ACEOF
18175
18176 fi
18177 done
18178
18179   else
18180
18181   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18182 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18183   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18184     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18185   echo $ECHO_N "(cached) $ECHO_C" >&6
18186 else
18187
18188
18189
18190       ac_ext=cc
18191 ac_cpp='$CXXCPP $CPPFLAGS'
18192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18195
18196       cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h.  */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h.  */
18202 #include <math.h>
18203 int
18204 main ()
18205 {
18206  _sincosf(0, 0, 0);
18207   ;
18208   return 0;
18209 }
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213   (eval $ac_compile) 2>conftest.er1
18214   ac_status=$?
18215   grep -v '^ *+' conftest.er1 >conftest.err
18216   rm -f conftest.er1
18217   cat conftest.err >&5
18218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219   (exit $ac_status); } &&
18220          { ac_try='test -z "$ac_cxx_werror_flag"
18221                          || test ! -s conftest.err'
18222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223   (eval $ac_try) 2>&5
18224   ac_status=$?
18225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226   (exit $ac_status); }; } &&
18227          { ac_try='test -s conftest.$ac_objext'
18228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229   (eval $ac_try) 2>&5
18230   ac_status=$?
18231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232   (exit $ac_status); }; }; then
18233   glibcxx_cv_func__sincosf_use=yes
18234 else
18235   echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.$ac_ext >&5
18237
18238 glibcxx_cv_func__sincosf_use=no
18239 fi
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18241       ac_ext=c
18242 ac_cpp='$CPP $CPPFLAGS'
18243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246
18247
18248 fi
18249
18250   fi
18251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18252 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18253
18254     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18255
18256 for ac_func in _sincosf
18257 do
18258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18259 echo "$as_me:$LINENO: checking for $ac_func" >&5
18260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18261 if eval "test \"\${$as_ac_var+set}\" = set"; then
18262   echo $ECHO_N "(cached) $ECHO_C" >&6
18263 else
18264   if test x$gcc_no_link = xyes; then
18265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18267    { (exit 1); exit 1; }; }
18268 fi
18269 cat >conftest.$ac_ext <<_ACEOF
18270 /* confdefs.h.  */
18271 _ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h.  */
18275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18277 #define $ac_func innocuous_$ac_func
18278
18279 /* System header to define __stub macros and hopefully few prototypes,
18280     which can conflict with char $ac_func (); below.
18281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18282     <limits.h> exists even on freestanding compilers.  */
18283
18284 #ifdef __STDC__
18285 # include <limits.h>
18286 #else
18287 # include <assert.h>
18288 #endif
18289
18290 #undef $ac_func
18291
18292 /* Override any gcc2 internal prototype to avoid an error.  */
18293 #ifdef __cplusplus
18294 extern "C"
18295 {
18296 #endif
18297 /* We use char because int might match the return type of a gcc2
18298    builtin and then its argument prototype would still apply.  */
18299 char $ac_func ();
18300 /* The GNU C library defines this for functions which it implements
18301     to always fail with ENOSYS.  Some functions are actually named
18302     something starting with __ and the normal name is an alias.  */
18303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18304 choke me
18305 #else
18306 char (*f) () = $ac_func;
18307 #endif
18308 #ifdef __cplusplus
18309 }
18310 #endif
18311
18312 int
18313 main ()
18314 {
18315 return f != $ac_func;
18316   ;
18317   return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext conftest$ac_exeext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18322   (eval $ac_link) 2>conftest.er1
18323   ac_status=$?
18324   grep -v '^ *+' conftest.er1 >conftest.err
18325   rm -f conftest.er1
18326   cat conftest.err >&5
18327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328   (exit $ac_status); } &&
18329          { ac_try='test -z "$ac_c_werror_flag"
18330                          || test ! -s conftest.err'
18331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332   (eval $ac_try) 2>&5
18333   ac_status=$?
18334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335   (exit $ac_status); }; } &&
18336          { ac_try='test -s conftest$ac_exeext'
18337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338   (eval $ac_try) 2>&5
18339   ac_status=$?
18340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341   (exit $ac_status); }; }; then
18342   eval "$as_ac_var=yes"
18343 else
18344   echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18346
18347 eval "$as_ac_var=no"
18348 fi
18349 rm -f conftest.err conftest.$ac_objext \
18350       conftest$ac_exeext conftest.$ac_ext
18351 fi
18352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18354 if test `eval echo '${'$as_ac_var'}'` = yes; then
18355   cat >>confdefs.h <<_ACEOF
18356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18357 _ACEOF
18358
18359 fi
18360 done
18361
18362     fi
18363   fi
18364
18365
18366
18367
18368
18369
18370   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18371 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18372   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18373     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18374   echo $ECHO_N "(cached) $ECHO_C" >&6
18375 else
18376
18377
18378
18379       ac_ext=cc
18380 ac_cpp='$CXXCPP $CPPFLAGS'
18381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18384
18385       cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h.  */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h.  */
18391 #include <math.h>
18392                       #ifdef HAVE_IEEEFP_H
18393                       #include <ieeefp.h>
18394                       #endif
18395
18396 int
18397 main ()
18398 {
18399  finitef(0);
18400   ;
18401   return 0;
18402 }
18403 _ACEOF
18404 rm -f conftest.$ac_objext
18405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18406   (eval $ac_compile) 2>conftest.er1
18407   ac_status=$?
18408   grep -v '^ *+' conftest.er1 >conftest.err
18409   rm -f conftest.er1
18410   cat conftest.err >&5
18411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412   (exit $ac_status); } &&
18413          { ac_try='test -z "$ac_cxx_werror_flag"
18414                          || test ! -s conftest.err'
18415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416   (eval $ac_try) 2>&5
18417   ac_status=$?
18418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419   (exit $ac_status); }; } &&
18420          { ac_try='test -s conftest.$ac_objext'
18421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422   (eval $ac_try) 2>&5
18423   ac_status=$?
18424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425   (exit $ac_status); }; }; then
18426   glibcxx_cv_func_finitef_use=yes
18427 else
18428   echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 glibcxx_cv_func_finitef_use=no
18432 fi
18433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18434       ac_ext=c
18435 ac_cpp='$CPP $CPPFLAGS'
18436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439
18440
18441 fi
18442
18443   fi
18444   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18445 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18446
18447   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18448
18449 for ac_func in finitef
18450 do
18451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18452 echo "$as_me:$LINENO: checking for $ac_func" >&5
18453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18454 if eval "test \"\${$as_ac_var+set}\" = set"; then
18455   echo $ECHO_N "(cached) $ECHO_C" >&6
18456 else
18457   if test x$gcc_no_link = xyes; then
18458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18460    { (exit 1); exit 1; }; }
18461 fi
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h.  */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h.  */
18468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18470 #define $ac_func innocuous_$ac_func
18471
18472 /* System header to define __stub macros and hopefully few prototypes,
18473     which can conflict with char $ac_func (); below.
18474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18475     <limits.h> exists even on freestanding compilers.  */
18476
18477 #ifdef __STDC__
18478 # include <limits.h>
18479 #else
18480 # include <assert.h>
18481 #endif
18482
18483 #undef $ac_func
18484
18485 /* Override any gcc2 internal prototype to avoid an error.  */
18486 #ifdef __cplusplus
18487 extern "C"
18488 {
18489 #endif
18490 /* We use char because int might match the return type of a gcc2
18491    builtin and then its argument prototype would still apply.  */
18492 char $ac_func ();
18493 /* The GNU C library defines this for functions which it implements
18494     to always fail with ENOSYS.  Some functions are actually named
18495     something starting with __ and the normal name is an alias.  */
18496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18497 choke me
18498 #else
18499 char (*f) () = $ac_func;
18500 #endif
18501 #ifdef __cplusplus
18502 }
18503 #endif
18504
18505 int
18506 main ()
18507 {
18508 return f != $ac_func;
18509   ;
18510   return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext conftest$ac_exeext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18515   (eval $ac_link) 2>conftest.er1
18516   ac_status=$?
18517   grep -v '^ *+' conftest.er1 >conftest.err
18518   rm -f conftest.er1
18519   cat conftest.err >&5
18520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521   (exit $ac_status); } &&
18522          { ac_try='test -z "$ac_c_werror_flag"
18523                          || test ! -s conftest.err'
18524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525   (eval $ac_try) 2>&5
18526   ac_status=$?
18527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528   (exit $ac_status); }; } &&
18529          { ac_try='test -s conftest$ac_exeext'
18530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531   (eval $ac_try) 2>&5
18532   ac_status=$?
18533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534   (exit $ac_status); }; }; then
18535   eval "$as_ac_var=yes"
18536 else
18537   echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18539
18540 eval "$as_ac_var=no"
18541 fi
18542 rm -f conftest.err conftest.$ac_objext \
18543       conftest$ac_exeext conftest.$ac_ext
18544 fi
18545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18547 if test `eval echo '${'$as_ac_var'}'` = yes; then
18548   cat >>confdefs.h <<_ACEOF
18549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18550 _ACEOF
18551
18552 fi
18553 done
18554
18555   else
18556
18557   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18558 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18559   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18560     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18561   echo $ECHO_N "(cached) $ECHO_C" >&6
18562 else
18563
18564
18565
18566       ac_ext=cc
18567 ac_cpp='$CXXCPP $CPPFLAGS'
18568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18571
18572       cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h.  */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h.  */
18578 #include <math.h>
18579                       #ifdef HAVE_IEEEFP_H
18580                       #include <ieeefp.h>
18581                       #endif
18582
18583 int
18584 main ()
18585 {
18586  _finitef(0);
18587   ;
18588   return 0;
18589 }
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593   (eval $ac_compile) 2>conftest.er1
18594   ac_status=$?
18595   grep -v '^ *+' conftest.er1 >conftest.err
18596   rm -f conftest.er1
18597   cat conftest.err >&5
18598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599   (exit $ac_status); } &&
18600          { ac_try='test -z "$ac_cxx_werror_flag"
18601                          || test ! -s conftest.err'
18602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603   (eval $ac_try) 2>&5
18604   ac_status=$?
18605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606   (exit $ac_status); }; } &&
18607          { ac_try='test -s conftest.$ac_objext'
18608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609   (eval $ac_try) 2>&5
18610   ac_status=$?
18611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612   (exit $ac_status); }; }; then
18613   glibcxx_cv_func__finitef_use=yes
18614 else
18615   echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18617
18618 glibcxx_cv_func__finitef_use=no
18619 fi
18620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18621       ac_ext=c
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18626
18627
18628 fi
18629
18630   fi
18631   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18632 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18633
18634     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18635
18636 for ac_func in _finitef
18637 do
18638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18639 echo "$as_me:$LINENO: checking for $ac_func" >&5
18640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18641 if eval "test \"\${$as_ac_var+set}\" = set"; then
18642   echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644   if test x$gcc_no_link = xyes; then
18645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18647    { (exit 1); exit 1; }; }
18648 fi
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h.  */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h.  */
18655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18657 #define $ac_func innocuous_$ac_func
18658
18659 /* System header to define __stub macros and hopefully few prototypes,
18660     which can conflict with char $ac_func (); below.
18661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18662     <limits.h> exists even on freestanding compilers.  */
18663
18664 #ifdef __STDC__
18665 # include <limits.h>
18666 #else
18667 # include <assert.h>
18668 #endif
18669
18670 #undef $ac_func
18671
18672 /* Override any gcc2 internal prototype to avoid an error.  */
18673 #ifdef __cplusplus
18674 extern "C"
18675 {
18676 #endif
18677 /* We use char because int might match the return type of a gcc2
18678    builtin and then its argument prototype would still apply.  */
18679 char $ac_func ();
18680 /* The GNU C library defines this for functions which it implements
18681     to always fail with ENOSYS.  Some functions are actually named
18682     something starting with __ and the normal name is an alias.  */
18683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18684 choke me
18685 #else
18686 char (*f) () = $ac_func;
18687 #endif
18688 #ifdef __cplusplus
18689 }
18690 #endif
18691
18692 int
18693 main ()
18694 {
18695 return f != $ac_func;
18696   ;
18697   return 0;
18698 }
18699 _ACEOF
18700 rm -f conftest.$ac_objext conftest$ac_exeext
18701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18702   (eval $ac_link) 2>conftest.er1
18703   ac_status=$?
18704   grep -v '^ *+' conftest.er1 >conftest.err
18705   rm -f conftest.er1
18706   cat conftest.err >&5
18707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708   (exit $ac_status); } &&
18709          { ac_try='test -z "$ac_c_werror_flag"
18710                          || test ! -s conftest.err'
18711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712   (eval $ac_try) 2>&5
18713   ac_status=$?
18714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715   (exit $ac_status); }; } &&
18716          { ac_try='test -s conftest$ac_exeext'
18717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718   (eval $ac_try) 2>&5
18719   ac_status=$?
18720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721   (exit $ac_status); }; }; then
18722   eval "$as_ac_var=yes"
18723 else
18724   echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 eval "$as_ac_var=no"
18728 fi
18729 rm -f conftest.err conftest.$ac_objext \
18730       conftest$ac_exeext conftest.$ac_ext
18731 fi
18732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18734 if test `eval echo '${'$as_ac_var'}'` = yes; then
18735   cat >>confdefs.h <<_ACEOF
18736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18737 _ACEOF
18738
18739 fi
18740 done
18741
18742     fi
18743   fi
18744
18745
18746
18747
18748
18749
18750     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18751 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18752   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18753   echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755
18756
18757
18758     ac_ext=cc
18759 ac_cpp='$CXXCPP $CPPFLAGS'
18760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18763
18764     cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h.  */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h.  */
18770 #include <math.h>
18771 int
18772 main ()
18773 {
18774 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18775   ;
18776   return 0;
18777 }
18778 _ACEOF
18779 rm -f conftest.$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781   (eval $ac_compile) 2>conftest.er1
18782   ac_status=$?
18783   grep -v '^ *+' conftest.er1 >conftest.err
18784   rm -f conftest.er1
18785   cat conftest.err >&5
18786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787   (exit $ac_status); } &&
18788          { ac_try='test -z "$ac_cxx_werror_flag"
18789                          || test ! -s conftest.err'
18790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791   (eval $ac_try) 2>&5
18792   ac_status=$?
18793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794   (exit $ac_status); }; } &&
18795          { ac_try='test -s conftest.$ac_objext'
18796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797   (eval $ac_try) 2>&5
18798   ac_status=$?
18799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800   (exit $ac_status); }; }; then
18801   glibcxx_cv_func_long_double_trig_use=yes
18802 else
18803   echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18805
18806 glibcxx_cv_func_long_double_trig_use=no
18807 fi
18808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18809     ac_ext=c
18810 ac_cpp='$CPP $CPPFLAGS'
18811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18814
18815 fi
18816
18817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18818 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18819   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18830 do
18831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18832 echo "$as_me:$LINENO: checking for $ac_func" >&5
18833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18834 if eval "test \"\${$as_ac_var+set}\" = set"; then
18835   echo $ECHO_N "(cached) $ECHO_C" >&6
18836 else
18837   if test x$gcc_no_link = xyes; then
18838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18840    { (exit 1); exit 1; }; }
18841 fi
18842 cat >conftest.$ac_ext <<_ACEOF
18843 /* confdefs.h.  */
18844 _ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h.  */
18848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18850 #define $ac_func innocuous_$ac_func
18851
18852 /* System header to define __stub macros and hopefully few prototypes,
18853     which can conflict with char $ac_func (); below.
18854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18855     <limits.h> exists even on freestanding compilers.  */
18856
18857 #ifdef __STDC__
18858 # include <limits.h>
18859 #else
18860 # include <assert.h>
18861 #endif
18862
18863 #undef $ac_func
18864
18865 /* Override any gcc2 internal prototype to avoid an error.  */
18866 #ifdef __cplusplus
18867 extern "C"
18868 {
18869 #endif
18870 /* We use char because int might match the return type of a gcc2
18871    builtin and then its argument prototype would still apply.  */
18872 char $ac_func ();
18873 /* The GNU C library defines this for functions which it implements
18874     to always fail with ENOSYS.  Some functions are actually named
18875     something starting with __ and the normal name is an alias.  */
18876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18877 choke me
18878 #else
18879 char (*f) () = $ac_func;
18880 #endif
18881 #ifdef __cplusplus
18882 }
18883 #endif
18884
18885 int
18886 main ()
18887 {
18888 return f != $ac_func;
18889   ;
18890   return 0;
18891 }
18892 _ACEOF
18893 rm -f conftest.$ac_objext conftest$ac_exeext
18894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18895   (eval $ac_link) 2>conftest.er1
18896   ac_status=$?
18897   grep -v '^ *+' conftest.er1 >conftest.err
18898   rm -f conftest.er1
18899   cat conftest.err >&5
18900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901   (exit $ac_status); } &&
18902          { ac_try='test -z "$ac_c_werror_flag"
18903                          || test ! -s conftest.err'
18904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905   (eval $ac_try) 2>&5
18906   ac_status=$?
18907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908   (exit $ac_status); }; } &&
18909          { ac_try='test -s conftest$ac_exeext'
18910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911   (eval $ac_try) 2>&5
18912   ac_status=$?
18913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914   (exit $ac_status); }; }; then
18915   eval "$as_ac_var=yes"
18916 else
18917   echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18919
18920 eval "$as_ac_var=no"
18921 fi
18922 rm -f conftest.err conftest.$ac_objext \
18923       conftest$ac_exeext conftest.$ac_ext
18924 fi
18925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18927 if test `eval echo '${'$as_ac_var'}'` = yes; then
18928   cat >>confdefs.h <<_ACEOF
18929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18930 _ACEOF
18931
18932 fi
18933 done
18934
18935   else
18936     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18937 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18938     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18939   echo $ECHO_N "(cached) $ECHO_C" >&6
18940 else
18941
18942
18943
18944       ac_ext=cc
18945 ac_cpp='$CXXCPP $CPPFLAGS'
18946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18949
18950       cat >conftest.$ac_ext <<_ACEOF
18951 /* confdefs.h.  */
18952 _ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h.  */
18956 #include <math.h>
18957 int
18958 main ()
18959 {
18960 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18961   ;
18962   return 0;
18963 }
18964 _ACEOF
18965 rm -f conftest.$ac_objext
18966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18967   (eval $ac_compile) 2>conftest.er1
18968   ac_status=$?
18969   grep -v '^ *+' conftest.er1 >conftest.err
18970   rm -f conftest.er1
18971   cat conftest.err >&5
18972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973   (exit $ac_status); } &&
18974          { ac_try='test -z "$ac_cxx_werror_flag"
18975                          || test ! -s conftest.err'
18976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977   (eval $ac_try) 2>&5
18978   ac_status=$?
18979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980   (exit $ac_status); }; } &&
18981          { ac_try='test -s conftest.$ac_objext'
18982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983   (eval $ac_try) 2>&5
18984   ac_status=$?
18985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986   (exit $ac_status); }; }; then
18987   glibcxx_cv_func__long_double_trig_use=yes
18988 else
18989   echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18991
18992 glibcxx_cv_func__long_double_trig_use=no
18993 fi
18994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18995       ac_ext=c
18996 ac_cpp='$CPP $CPPFLAGS'
18997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19000
19001 fi
19002
19003     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19004 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19005     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19016 do
19017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19018 echo "$as_me:$LINENO: checking for $ac_func" >&5
19019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19020 if eval "test \"\${$as_ac_var+set}\" = set"; then
19021   echo $ECHO_N "(cached) $ECHO_C" >&6
19022 else
19023   if test x$gcc_no_link = xyes; then
19024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19026    { (exit 1); exit 1; }; }
19027 fi
19028 cat >conftest.$ac_ext <<_ACEOF
19029 /* confdefs.h.  */
19030 _ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h.  */
19034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19036 #define $ac_func innocuous_$ac_func
19037
19038 /* System header to define __stub macros and hopefully few prototypes,
19039     which can conflict with char $ac_func (); below.
19040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19041     <limits.h> exists even on freestanding compilers.  */
19042
19043 #ifdef __STDC__
19044 # include <limits.h>
19045 #else
19046 # include <assert.h>
19047 #endif
19048
19049 #undef $ac_func
19050
19051 /* Override any gcc2 internal prototype to avoid an error.  */
19052 #ifdef __cplusplus
19053 extern "C"
19054 {
19055 #endif
19056 /* We use char because int might match the return type of a gcc2
19057    builtin and then its argument prototype would still apply.  */
19058 char $ac_func ();
19059 /* The GNU C library defines this for functions which it implements
19060     to always fail with ENOSYS.  Some functions are actually named
19061     something starting with __ and the normal name is an alias.  */
19062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19063 choke me
19064 #else
19065 char (*f) () = $ac_func;
19066 #endif
19067 #ifdef __cplusplus
19068 }
19069 #endif
19070
19071 int
19072 main ()
19073 {
19074 return f != $ac_func;
19075   ;
19076   return 0;
19077 }
19078 _ACEOF
19079 rm -f conftest.$ac_objext conftest$ac_exeext
19080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19081   (eval $ac_link) 2>conftest.er1
19082   ac_status=$?
19083   grep -v '^ *+' conftest.er1 >conftest.err
19084   rm -f conftest.er1
19085   cat conftest.err >&5
19086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087   (exit $ac_status); } &&
19088          { ac_try='test -z "$ac_c_werror_flag"
19089                          || test ! -s conftest.err'
19090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091   (eval $ac_try) 2>&5
19092   ac_status=$?
19093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094   (exit $ac_status); }; } &&
19095          { ac_try='test -s conftest$ac_exeext'
19096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097   (eval $ac_try) 2>&5
19098   ac_status=$?
19099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100   (exit $ac_status); }; }; then
19101   eval "$as_ac_var=yes"
19102 else
19103   echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.$ac_ext >&5
19105
19106 eval "$as_ac_var=no"
19107 fi
19108 rm -f conftest.err conftest.$ac_objext \
19109       conftest$ac_exeext conftest.$ac_ext
19110 fi
19111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19113 if test `eval echo '${'$as_ac_var'}'` = yes; then
19114   cat >>confdefs.h <<_ACEOF
19115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19116 _ACEOF
19117
19118 fi
19119 done
19120
19121     fi
19122   fi
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137     echo "$as_me:$LINENO: checking for long double round functions" >&5
19138 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19139   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19140   echo $ECHO_N "(cached) $ECHO_C" >&6
19141 else
19142
19143
19144
19145     ac_ext=cc
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19150
19151     cat >conftest.$ac_ext <<_ACEOF
19152 /* confdefs.h.  */
19153 _ACEOF
19154 cat confdefs.h >>conftest.$ac_ext
19155 cat >>conftest.$ac_ext <<_ACEOF
19156 /* end confdefs.h.  */
19157 #include <math.h>
19158 int
19159 main ()
19160 {
19161 ceill (0); floorl (0);
19162   ;
19163   return 0;
19164 }
19165 _ACEOF
19166 rm -f conftest.$ac_objext
19167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19168   (eval $ac_compile) 2>conftest.er1
19169   ac_status=$?
19170   grep -v '^ *+' conftest.er1 >conftest.err
19171   rm -f conftest.er1
19172   cat conftest.err >&5
19173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174   (exit $ac_status); } &&
19175          { ac_try='test -z "$ac_cxx_werror_flag"
19176                          || test ! -s conftest.err'
19177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178   (eval $ac_try) 2>&5
19179   ac_status=$?
19180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181   (exit $ac_status); }; } &&
19182          { ac_try='test -s conftest.$ac_objext'
19183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184   (eval $ac_try) 2>&5
19185   ac_status=$?
19186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187   (exit $ac_status); }; }; then
19188   glibcxx_cv_func_long_double_round_use=yes
19189 else
19190   echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19192
19193 glibcxx_cv_func_long_double_round_use=no
19194 fi
19195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19196     ac_ext=c
19197 ac_cpp='$CPP $CPPFLAGS'
19198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19201
19202 fi
19203
19204   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19205 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19206   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19207
19208
19209 for ac_func in ceill floorl
19210 do
19211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19212 echo "$as_me:$LINENO: checking for $ac_func" >&5
19213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19214 if eval "test \"\${$as_ac_var+set}\" = set"; then
19215   echo $ECHO_N "(cached) $ECHO_C" >&6
19216 else
19217   if test x$gcc_no_link = xyes; then
19218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19220    { (exit 1); exit 1; }; }
19221 fi
19222 cat >conftest.$ac_ext <<_ACEOF
19223 /* confdefs.h.  */
19224 _ACEOF
19225 cat confdefs.h >>conftest.$ac_ext
19226 cat >>conftest.$ac_ext <<_ACEOF
19227 /* end confdefs.h.  */
19228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19230 #define $ac_func innocuous_$ac_func
19231
19232 /* System header to define __stub macros and hopefully few prototypes,
19233     which can conflict with char $ac_func (); below.
19234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19235     <limits.h> exists even on freestanding compilers.  */
19236
19237 #ifdef __STDC__
19238 # include <limits.h>
19239 #else
19240 # include <assert.h>
19241 #endif
19242
19243 #undef $ac_func
19244
19245 /* Override any gcc2 internal prototype to avoid an error.  */
19246 #ifdef __cplusplus
19247 extern "C"
19248 {
19249 #endif
19250 /* We use char because int might match the return type of a gcc2
19251    builtin and then its argument prototype would still apply.  */
19252 char $ac_func ();
19253 /* The GNU C library defines this for functions which it implements
19254     to always fail with ENOSYS.  Some functions are actually named
19255     something starting with __ and the normal name is an alias.  */
19256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19257 choke me
19258 #else
19259 char (*f) () = $ac_func;
19260 #endif
19261 #ifdef __cplusplus
19262 }
19263 #endif
19264
19265 int
19266 main ()
19267 {
19268 return f != $ac_func;
19269   ;
19270   return 0;
19271 }
19272 _ACEOF
19273 rm -f conftest.$ac_objext conftest$ac_exeext
19274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19275   (eval $ac_link) 2>conftest.er1
19276   ac_status=$?
19277   grep -v '^ *+' conftest.er1 >conftest.err
19278   rm -f conftest.er1
19279   cat conftest.err >&5
19280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281   (exit $ac_status); } &&
19282          { ac_try='test -z "$ac_c_werror_flag"
19283                          || test ! -s conftest.err'
19284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285   (eval $ac_try) 2>&5
19286   ac_status=$?
19287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288   (exit $ac_status); }; } &&
19289          { ac_try='test -s conftest$ac_exeext'
19290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19291   (eval $ac_try) 2>&5
19292   ac_status=$?
19293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294   (exit $ac_status); }; }; then
19295   eval "$as_ac_var=yes"
19296 else
19297   echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19299
19300 eval "$as_ac_var=no"
19301 fi
19302 rm -f conftest.err conftest.$ac_objext \
19303       conftest$ac_exeext conftest.$ac_ext
19304 fi
19305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19307 if test `eval echo '${'$as_ac_var'}'` = yes; then
19308   cat >>confdefs.h <<_ACEOF
19309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19310 _ACEOF
19311
19312 fi
19313 done
19314
19315   else
19316     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19317 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19318     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19319   echo $ECHO_N "(cached) $ECHO_C" >&6
19320 else
19321
19322
19323
19324       ac_ext=cc
19325 ac_cpp='$CXXCPP $CPPFLAGS'
19326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19329
19330       cat >conftest.$ac_ext <<_ACEOF
19331 /* confdefs.h.  */
19332 _ACEOF
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h.  */
19336 #include <math.h>
19337 int
19338 main ()
19339 {
19340 _ceill (0); _floorl (0);
19341   ;
19342   return 0;
19343 }
19344 _ACEOF
19345 rm -f conftest.$ac_objext
19346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19347   (eval $ac_compile) 2>conftest.er1
19348   ac_status=$?
19349   grep -v '^ *+' conftest.er1 >conftest.err
19350   rm -f conftest.er1
19351   cat conftest.err >&5
19352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353   (exit $ac_status); } &&
19354          { ac_try='test -z "$ac_cxx_werror_flag"
19355                          || test ! -s conftest.err'
19356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357   (eval $ac_try) 2>&5
19358   ac_status=$?
19359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360   (exit $ac_status); }; } &&
19361          { ac_try='test -s conftest.$ac_objext'
19362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363   (eval $ac_try) 2>&5
19364   ac_status=$?
19365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366   (exit $ac_status); }; }; then
19367   glibcxx_cv_func__long_double_round_use=yes
19368 else
19369   echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.$ac_ext >&5
19371
19372 glibcxx_cv_func__long_double_round_use=no
19373 fi
19374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19375       ac_ext=c
19376 ac_cpp='$CPP $CPPFLAGS'
19377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19380
19381 fi
19382
19383     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19384 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19385     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19386
19387
19388 for ac_func in _ceill _floorl
19389 do
19390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19391 echo "$as_me:$LINENO: checking for $ac_func" >&5
19392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19393 if eval "test \"\${$as_ac_var+set}\" = set"; then
19394   echo $ECHO_N "(cached) $ECHO_C" >&6
19395 else
19396   if test x$gcc_no_link = xyes; then
19397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19399    { (exit 1); exit 1; }; }
19400 fi
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h.  */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h.  */
19407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19409 #define $ac_func innocuous_$ac_func
19410
19411 /* System header to define __stub macros and hopefully few prototypes,
19412     which can conflict with char $ac_func (); below.
19413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19414     <limits.h> exists even on freestanding compilers.  */
19415
19416 #ifdef __STDC__
19417 # include <limits.h>
19418 #else
19419 # include <assert.h>
19420 #endif
19421
19422 #undef $ac_func
19423
19424 /* Override any gcc2 internal prototype to avoid an error.  */
19425 #ifdef __cplusplus
19426 extern "C"
19427 {
19428 #endif
19429 /* We use char because int might match the return type of a gcc2
19430    builtin and then its argument prototype would still apply.  */
19431 char $ac_func ();
19432 /* The GNU C library defines this for functions which it implements
19433     to always fail with ENOSYS.  Some functions are actually named
19434     something starting with __ and the normal name is an alias.  */
19435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19436 choke me
19437 #else
19438 char (*f) () = $ac_func;
19439 #endif
19440 #ifdef __cplusplus
19441 }
19442 #endif
19443
19444 int
19445 main ()
19446 {
19447 return f != $ac_func;
19448   ;
19449   return 0;
19450 }
19451 _ACEOF
19452 rm -f conftest.$ac_objext conftest$ac_exeext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19454   (eval $ac_link) 2>conftest.er1
19455   ac_status=$?
19456   grep -v '^ *+' conftest.er1 >conftest.err
19457   rm -f conftest.er1
19458   cat conftest.err >&5
19459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460   (exit $ac_status); } &&
19461          { ac_try='test -z "$ac_c_werror_flag"
19462                          || test ! -s conftest.err'
19463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464   (eval $ac_try) 2>&5
19465   ac_status=$?
19466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467   (exit $ac_status); }; } &&
19468          { ac_try='test -s conftest$ac_exeext'
19469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470   (eval $ac_try) 2>&5
19471   ac_status=$?
19472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473   (exit $ac_status); }; }; then
19474   eval "$as_ac_var=yes"
19475 else
19476   echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19478
19479 eval "$as_ac_var=no"
19480 fi
19481 rm -f conftest.err conftest.$ac_objext \
19482       conftest$ac_exeext conftest.$ac_ext
19483 fi
19484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19486 if test `eval echo '${'$as_ac_var'}'` = yes; then
19487   cat >>confdefs.h <<_ACEOF
19488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19489 _ACEOF
19490
19491 fi
19492 done
19493
19494     fi
19495   fi
19496
19497
19498
19499
19500
19501
19502
19503
19504   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19505 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19506   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19507     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19508   echo $ECHO_N "(cached) $ECHO_C" >&6
19509 else
19510
19511
19512
19513       ac_ext=cc
19514 ac_cpp='$CXXCPP $CPPFLAGS'
19515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19518
19519       cat >conftest.$ac_ext <<_ACEOF
19520 /* confdefs.h.  */
19521 _ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h.  */
19525 #include <math.h>
19526                       #ifdef HAVE_IEEEFP_H
19527                       #include <ieeefp.h>
19528                       #endif
19529
19530 int
19531 main ()
19532 {
19533  isnanl(0);
19534   ;
19535   return 0;
19536 }
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19540   (eval $ac_compile) 2>conftest.er1
19541   ac_status=$?
19542   grep -v '^ *+' conftest.er1 >conftest.err
19543   rm -f conftest.er1
19544   cat conftest.err >&5
19545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546   (exit $ac_status); } &&
19547          { ac_try='test -z "$ac_cxx_werror_flag"
19548                          || test ! -s conftest.err'
19549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550   (eval $ac_try) 2>&5
19551   ac_status=$?
19552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553   (exit $ac_status); }; } &&
19554          { ac_try='test -s conftest.$ac_objext'
19555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556   (eval $ac_try) 2>&5
19557   ac_status=$?
19558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559   (exit $ac_status); }; }; then
19560   glibcxx_cv_func_isnanl_use=yes
19561 else
19562   echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19564
19565 glibcxx_cv_func_isnanl_use=no
19566 fi
19567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19568       ac_ext=c
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19573
19574
19575 fi
19576
19577   fi
19578   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19579 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19580
19581   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19582
19583 for ac_func in isnanl
19584 do
19585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19586 echo "$as_me:$LINENO: checking for $ac_func" >&5
19587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19588 if eval "test \"\${$as_ac_var+set}\" = set"; then
19589   echo $ECHO_N "(cached) $ECHO_C" >&6
19590 else
19591   if test x$gcc_no_link = xyes; then
19592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19594    { (exit 1); exit 1; }; }
19595 fi
19596 cat >conftest.$ac_ext <<_ACEOF
19597 /* confdefs.h.  */
19598 _ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h.  */
19602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19604 #define $ac_func innocuous_$ac_func
19605
19606 /* System header to define __stub macros and hopefully few prototypes,
19607     which can conflict with char $ac_func (); below.
19608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19609     <limits.h> exists even on freestanding compilers.  */
19610
19611 #ifdef __STDC__
19612 # include <limits.h>
19613 #else
19614 # include <assert.h>
19615 #endif
19616
19617 #undef $ac_func
19618
19619 /* Override any gcc2 internal prototype to avoid an error.  */
19620 #ifdef __cplusplus
19621 extern "C"
19622 {
19623 #endif
19624 /* We use char because int might match the return type of a gcc2
19625    builtin and then its argument prototype would still apply.  */
19626 char $ac_func ();
19627 /* The GNU C library defines this for functions which it implements
19628     to always fail with ENOSYS.  Some functions are actually named
19629     something starting with __ and the normal name is an alias.  */
19630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19631 choke me
19632 #else
19633 char (*f) () = $ac_func;
19634 #endif
19635 #ifdef __cplusplus
19636 }
19637 #endif
19638
19639 int
19640 main ()
19641 {
19642 return f != $ac_func;
19643   ;
19644   return 0;
19645 }
19646 _ACEOF
19647 rm -f conftest.$ac_objext conftest$ac_exeext
19648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19649   (eval $ac_link) 2>conftest.er1
19650   ac_status=$?
19651   grep -v '^ *+' conftest.er1 >conftest.err
19652   rm -f conftest.er1
19653   cat conftest.err >&5
19654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655   (exit $ac_status); } &&
19656          { ac_try='test -z "$ac_c_werror_flag"
19657                          || test ! -s conftest.err'
19658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659   (eval $ac_try) 2>&5
19660   ac_status=$?
19661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662   (exit $ac_status); }; } &&
19663          { ac_try='test -s conftest$ac_exeext'
19664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665   (eval $ac_try) 2>&5
19666   ac_status=$?
19667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668   (exit $ac_status); }; }; then
19669   eval "$as_ac_var=yes"
19670 else
19671   echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 eval "$as_ac_var=no"
19675 fi
19676 rm -f conftest.err conftest.$ac_objext \
19677       conftest$ac_exeext conftest.$ac_ext
19678 fi
19679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19681 if test `eval echo '${'$as_ac_var'}'` = yes; then
19682   cat >>confdefs.h <<_ACEOF
19683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19684 _ACEOF
19685
19686 fi
19687 done
19688
19689   else
19690
19691   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19692 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19693   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19694     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19695   echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else
19697
19698
19699
19700       ac_ext=cc
19701 ac_cpp='$CXXCPP $CPPFLAGS'
19702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19705
19706       cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h.  */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h.  */
19712 #include <math.h>
19713                       #ifdef HAVE_IEEEFP_H
19714                       #include <ieeefp.h>
19715                       #endif
19716
19717 int
19718 main ()
19719 {
19720  _isnanl(0);
19721   ;
19722   return 0;
19723 }
19724 _ACEOF
19725 rm -f conftest.$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727   (eval $ac_compile) 2>conftest.er1
19728   ac_status=$?
19729   grep -v '^ *+' conftest.er1 >conftest.err
19730   rm -f conftest.er1
19731   cat conftest.err >&5
19732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733   (exit $ac_status); } &&
19734          { ac_try='test -z "$ac_cxx_werror_flag"
19735                          || test ! -s conftest.err'
19736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737   (eval $ac_try) 2>&5
19738   ac_status=$?
19739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740   (exit $ac_status); }; } &&
19741          { ac_try='test -s conftest.$ac_objext'
19742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743   (eval $ac_try) 2>&5
19744   ac_status=$?
19745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746   (exit $ac_status); }; }; then
19747   glibcxx_cv_func__isnanl_use=yes
19748 else
19749   echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 glibcxx_cv_func__isnanl_use=no
19753 fi
19754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19755       ac_ext=c
19756 ac_cpp='$CPP $CPPFLAGS'
19757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19760
19761
19762 fi
19763
19764   fi
19765   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19766 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19767
19768     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19769
19770 for ac_func in _isnanl
19771 do
19772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19773 echo "$as_me:$LINENO: checking for $ac_func" >&5
19774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19775 if eval "test \"\${$as_ac_var+set}\" = set"; then
19776   echo $ECHO_N "(cached) $ECHO_C" >&6
19777 else
19778   if test x$gcc_no_link = xyes; then
19779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19781    { (exit 1); exit 1; }; }
19782 fi
19783 cat >conftest.$ac_ext <<_ACEOF
19784 /* confdefs.h.  */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h.  */
19789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19791 #define $ac_func innocuous_$ac_func
19792
19793 /* System header to define __stub macros and hopefully few prototypes,
19794     which can conflict with char $ac_func (); below.
19795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19796     <limits.h> exists even on freestanding compilers.  */
19797
19798 #ifdef __STDC__
19799 # include <limits.h>
19800 #else
19801 # include <assert.h>
19802 #endif
19803
19804 #undef $ac_func
19805
19806 /* Override any gcc2 internal prototype to avoid an error.  */
19807 #ifdef __cplusplus
19808 extern "C"
19809 {
19810 #endif
19811 /* We use char because int might match the return type of a gcc2
19812    builtin and then its argument prototype would still apply.  */
19813 char $ac_func ();
19814 /* The GNU C library defines this for functions which it implements
19815     to always fail with ENOSYS.  Some functions are actually named
19816     something starting with __ and the normal name is an alias.  */
19817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19818 choke me
19819 #else
19820 char (*f) () = $ac_func;
19821 #endif
19822 #ifdef __cplusplus
19823 }
19824 #endif
19825
19826 int
19827 main ()
19828 {
19829 return f != $ac_func;
19830   ;
19831   return 0;
19832 }
19833 _ACEOF
19834 rm -f conftest.$ac_objext conftest$ac_exeext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19836   (eval $ac_link) 2>conftest.er1
19837   ac_status=$?
19838   grep -v '^ *+' conftest.er1 >conftest.err
19839   rm -f conftest.er1
19840   cat conftest.err >&5
19841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842   (exit $ac_status); } &&
19843          { ac_try='test -z "$ac_c_werror_flag"
19844                          || test ! -s conftest.err'
19845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846   (eval $ac_try) 2>&5
19847   ac_status=$?
19848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849   (exit $ac_status); }; } &&
19850          { ac_try='test -s conftest$ac_exeext'
19851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852   (eval $ac_try) 2>&5
19853   ac_status=$?
19854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855   (exit $ac_status); }; }; then
19856   eval "$as_ac_var=yes"
19857 else
19858   echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.$ac_ext >&5
19860
19861 eval "$as_ac_var=no"
19862 fi
19863 rm -f conftest.err conftest.$ac_objext \
19864       conftest$ac_exeext conftest.$ac_ext
19865 fi
19866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19868 if test `eval echo '${'$as_ac_var'}'` = yes; then
19869   cat >>confdefs.h <<_ACEOF
19870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19871 _ACEOF
19872
19873 fi
19874 done
19875
19876     fi
19877   fi
19878
19879
19880
19881
19882
19883
19884   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19885 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19886   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19887     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19888   echo $ECHO_N "(cached) $ECHO_C" >&6
19889 else
19890
19891
19892
19893       ac_ext=cc
19894 ac_cpp='$CXXCPP $CPPFLAGS'
19895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19898
19899       cat >conftest.$ac_ext <<_ACEOF
19900 /* confdefs.h.  */
19901 _ACEOF
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h.  */
19905 #include <math.h>
19906                       #ifdef HAVE_IEEEFP_H
19907                       #include <ieeefp.h>
19908                       #endif
19909
19910 int
19911 main ()
19912 {
19913  isinfl(0);
19914   ;
19915   return 0;
19916 }
19917 _ACEOF
19918 rm -f conftest.$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920   (eval $ac_compile) 2>conftest.er1
19921   ac_status=$?
19922   grep -v '^ *+' conftest.er1 >conftest.err
19923   rm -f conftest.er1
19924   cat conftest.err >&5
19925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926   (exit $ac_status); } &&
19927          { ac_try='test -z "$ac_cxx_werror_flag"
19928                          || test ! -s conftest.err'
19929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930   (eval $ac_try) 2>&5
19931   ac_status=$?
19932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933   (exit $ac_status); }; } &&
19934          { ac_try='test -s conftest.$ac_objext'
19935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936   (eval $ac_try) 2>&5
19937   ac_status=$?
19938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939   (exit $ac_status); }; }; then
19940   glibcxx_cv_func_isinfl_use=yes
19941 else
19942   echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19944
19945 glibcxx_cv_func_isinfl_use=no
19946 fi
19947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19948       ac_ext=c
19949 ac_cpp='$CPP $CPPFLAGS'
19950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19953
19954
19955 fi
19956
19957   fi
19958   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19959 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19960
19961   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19962
19963 for ac_func in isinfl
19964 do
19965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19966 echo "$as_me:$LINENO: checking for $ac_func" >&5
19967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19968 if eval "test \"\${$as_ac_var+set}\" = set"; then
19969   echo $ECHO_N "(cached) $ECHO_C" >&6
19970 else
19971   if test x$gcc_no_link = xyes; then
19972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19974    { (exit 1); exit 1; }; }
19975 fi
19976 cat >conftest.$ac_ext <<_ACEOF
19977 /* confdefs.h.  */
19978 _ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h.  */
19982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19984 #define $ac_func innocuous_$ac_func
19985
19986 /* System header to define __stub macros and hopefully few prototypes,
19987     which can conflict with char $ac_func (); below.
19988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19989     <limits.h> exists even on freestanding compilers.  */
19990
19991 #ifdef __STDC__
19992 # include <limits.h>
19993 #else
19994 # include <assert.h>
19995 #endif
19996
19997 #undef $ac_func
19998
19999 /* Override any gcc2 internal prototype to avoid an error.  */
20000 #ifdef __cplusplus
20001 extern "C"
20002 {
20003 #endif
20004 /* We use char because int might match the return type of a gcc2
20005    builtin and then its argument prototype would still apply.  */
20006 char $ac_func ();
20007 /* The GNU C library defines this for functions which it implements
20008     to always fail with ENOSYS.  Some functions are actually named
20009     something starting with __ and the normal name is an alias.  */
20010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20011 choke me
20012 #else
20013 char (*f) () = $ac_func;
20014 #endif
20015 #ifdef __cplusplus
20016 }
20017 #endif
20018
20019 int
20020 main ()
20021 {
20022 return f != $ac_func;
20023   ;
20024   return 0;
20025 }
20026 _ACEOF
20027 rm -f conftest.$ac_objext conftest$ac_exeext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20029   (eval $ac_link) 2>conftest.er1
20030   ac_status=$?
20031   grep -v '^ *+' conftest.er1 >conftest.err
20032   rm -f conftest.er1
20033   cat conftest.err >&5
20034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035   (exit $ac_status); } &&
20036          { ac_try='test -z "$ac_c_werror_flag"
20037                          || test ! -s conftest.err'
20038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039   (eval $ac_try) 2>&5
20040   ac_status=$?
20041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042   (exit $ac_status); }; } &&
20043          { ac_try='test -s conftest$ac_exeext'
20044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045   (eval $ac_try) 2>&5
20046   ac_status=$?
20047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048   (exit $ac_status); }; }; then
20049   eval "$as_ac_var=yes"
20050 else
20051   echo "$as_me: failed program was:" >&5
20052 sed 's/^/| /' conftest.$ac_ext >&5
20053
20054 eval "$as_ac_var=no"
20055 fi
20056 rm -f conftest.err conftest.$ac_objext \
20057       conftest$ac_exeext conftest.$ac_ext
20058 fi
20059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20061 if test `eval echo '${'$as_ac_var'}'` = yes; then
20062   cat >>confdefs.h <<_ACEOF
20063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20064 _ACEOF
20065
20066 fi
20067 done
20068
20069   else
20070
20071   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20072 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20073   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20074     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20075   echo $ECHO_N "(cached) $ECHO_C" >&6
20076 else
20077
20078
20079
20080       ac_ext=cc
20081 ac_cpp='$CXXCPP $CPPFLAGS'
20082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20085
20086       cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h.  */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h.  */
20092 #include <math.h>
20093                       #ifdef HAVE_IEEEFP_H
20094                       #include <ieeefp.h>
20095                       #endif
20096
20097 int
20098 main ()
20099 {
20100  _isinfl(0);
20101   ;
20102   return 0;
20103 }
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20107   (eval $ac_compile) 2>conftest.er1
20108   ac_status=$?
20109   grep -v '^ *+' conftest.er1 >conftest.err
20110   rm -f conftest.er1
20111   cat conftest.err >&5
20112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113   (exit $ac_status); } &&
20114          { ac_try='test -z "$ac_cxx_werror_flag"
20115                          || test ! -s conftest.err'
20116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117   (eval $ac_try) 2>&5
20118   ac_status=$?
20119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120   (exit $ac_status); }; } &&
20121          { ac_try='test -s conftest.$ac_objext'
20122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123   (eval $ac_try) 2>&5
20124   ac_status=$?
20125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126   (exit $ac_status); }; }; then
20127   glibcxx_cv_func__isinfl_use=yes
20128 else
20129   echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.$ac_ext >&5
20131
20132 glibcxx_cv_func__isinfl_use=no
20133 fi
20134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20135       ac_ext=c
20136 ac_cpp='$CPP $CPPFLAGS'
20137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20140
20141
20142 fi
20143
20144   fi
20145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20146 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20147
20148     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20149
20150 for ac_func in _isinfl
20151 do
20152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20153 echo "$as_me:$LINENO: checking for $ac_func" >&5
20154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20155 if eval "test \"\${$as_ac_var+set}\" = set"; then
20156   echo $ECHO_N "(cached) $ECHO_C" >&6
20157 else
20158   if test x$gcc_no_link = xyes; then
20159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20161    { (exit 1); exit 1; }; }
20162 fi
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h.  */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h.  */
20169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20171 #define $ac_func innocuous_$ac_func
20172
20173 /* System header to define __stub macros and hopefully few prototypes,
20174     which can conflict with char $ac_func (); below.
20175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20176     <limits.h> exists even on freestanding compilers.  */
20177
20178 #ifdef __STDC__
20179 # include <limits.h>
20180 #else
20181 # include <assert.h>
20182 #endif
20183
20184 #undef $ac_func
20185
20186 /* Override any gcc2 internal prototype to avoid an error.  */
20187 #ifdef __cplusplus
20188 extern "C"
20189 {
20190 #endif
20191 /* We use char because int might match the return type of a gcc2
20192    builtin and then its argument prototype would still apply.  */
20193 char $ac_func ();
20194 /* The GNU C library defines this for functions which it implements
20195     to always fail with ENOSYS.  Some functions are actually named
20196     something starting with __ and the normal name is an alias.  */
20197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20198 choke me
20199 #else
20200 char (*f) () = $ac_func;
20201 #endif
20202 #ifdef __cplusplus
20203 }
20204 #endif
20205
20206 int
20207 main ()
20208 {
20209 return f != $ac_func;
20210   ;
20211   return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext conftest$ac_exeext
20215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20216   (eval $ac_link) 2>conftest.er1
20217   ac_status=$?
20218   grep -v '^ *+' conftest.er1 >conftest.err
20219   rm -f conftest.er1
20220   cat conftest.err >&5
20221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222   (exit $ac_status); } &&
20223          { ac_try='test -z "$ac_c_werror_flag"
20224                          || test ! -s conftest.err'
20225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226   (eval $ac_try) 2>&5
20227   ac_status=$?
20228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229   (exit $ac_status); }; } &&
20230          { ac_try='test -s conftest$ac_exeext'
20231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232   (eval $ac_try) 2>&5
20233   ac_status=$?
20234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235   (exit $ac_status); }; }; then
20236   eval "$as_ac_var=yes"
20237 else
20238   echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20240
20241 eval "$as_ac_var=no"
20242 fi
20243 rm -f conftest.err conftest.$ac_objext \
20244       conftest$ac_exeext conftest.$ac_ext
20245 fi
20246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20248 if test `eval echo '${'$as_ac_var'}'` = yes; then
20249   cat >>confdefs.h <<_ACEOF
20250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20251 _ACEOF
20252
20253 fi
20254 done
20255
20256     fi
20257   fi
20258
20259
20260
20261
20262
20263
20264   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20265 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20266   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20267     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20268   echo $ECHO_N "(cached) $ECHO_C" >&6
20269 else
20270
20271
20272
20273       ac_ext=cc
20274 ac_cpp='$CXXCPP $CPPFLAGS'
20275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20278
20279       cat >conftest.$ac_ext <<_ACEOF
20280 /* confdefs.h.  */
20281 _ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h.  */
20285 #include <math.h>
20286 int
20287 main ()
20288 {
20289  copysignl(0, 0);
20290   ;
20291   return 0;
20292 }
20293 _ACEOF
20294 rm -f conftest.$ac_objext
20295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20296   (eval $ac_compile) 2>conftest.er1
20297   ac_status=$?
20298   grep -v '^ *+' conftest.er1 >conftest.err
20299   rm -f conftest.er1
20300   cat conftest.err >&5
20301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302   (exit $ac_status); } &&
20303          { ac_try='test -z "$ac_cxx_werror_flag"
20304                          || test ! -s conftest.err'
20305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306   (eval $ac_try) 2>&5
20307   ac_status=$?
20308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309   (exit $ac_status); }; } &&
20310          { ac_try='test -s conftest.$ac_objext'
20311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312   (eval $ac_try) 2>&5
20313   ac_status=$?
20314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315   (exit $ac_status); }; }; then
20316   glibcxx_cv_func_copysignl_use=yes
20317 else
20318   echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.$ac_ext >&5
20320
20321 glibcxx_cv_func_copysignl_use=no
20322 fi
20323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20324       ac_ext=c
20325 ac_cpp='$CPP $CPPFLAGS'
20326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329
20330
20331 fi
20332
20333   fi
20334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20335 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20336
20337   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20338
20339 for ac_func in copysignl
20340 do
20341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20342 echo "$as_me:$LINENO: checking for $ac_func" >&5
20343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20344 if eval "test \"\${$as_ac_var+set}\" = set"; then
20345   echo $ECHO_N "(cached) $ECHO_C" >&6
20346 else
20347   if test x$gcc_no_link = xyes; then
20348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20350    { (exit 1); exit 1; }; }
20351 fi
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h.  */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h.  */
20358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20360 #define $ac_func innocuous_$ac_func
20361
20362 /* System header to define __stub macros and hopefully few prototypes,
20363     which can conflict with char $ac_func (); below.
20364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20365     <limits.h> exists even on freestanding compilers.  */
20366
20367 #ifdef __STDC__
20368 # include <limits.h>
20369 #else
20370 # include <assert.h>
20371 #endif
20372
20373 #undef $ac_func
20374
20375 /* Override any gcc2 internal prototype to avoid an error.  */
20376 #ifdef __cplusplus
20377 extern "C"
20378 {
20379 #endif
20380 /* We use char because int might match the return type of a gcc2
20381    builtin and then its argument prototype would still apply.  */
20382 char $ac_func ();
20383 /* The GNU C library defines this for functions which it implements
20384     to always fail with ENOSYS.  Some functions are actually named
20385     something starting with __ and the normal name is an alias.  */
20386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20387 choke me
20388 #else
20389 char (*f) () = $ac_func;
20390 #endif
20391 #ifdef __cplusplus
20392 }
20393 #endif
20394
20395 int
20396 main ()
20397 {
20398 return f != $ac_func;
20399   ;
20400   return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext conftest$ac_exeext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405   (eval $ac_link) 2>conftest.er1
20406   ac_status=$?
20407   grep -v '^ *+' conftest.er1 >conftest.err
20408   rm -f conftest.er1
20409   cat conftest.err >&5
20410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411   (exit $ac_status); } &&
20412          { ac_try='test -z "$ac_c_werror_flag"
20413                          || test ! -s conftest.err'
20414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415   (eval $ac_try) 2>&5
20416   ac_status=$?
20417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418   (exit $ac_status); }; } &&
20419          { ac_try='test -s conftest$ac_exeext'
20420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421   (eval $ac_try) 2>&5
20422   ac_status=$?
20423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424   (exit $ac_status); }; }; then
20425   eval "$as_ac_var=yes"
20426 else
20427   echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 eval "$as_ac_var=no"
20431 fi
20432 rm -f conftest.err conftest.$ac_objext \
20433       conftest$ac_exeext conftest.$ac_ext
20434 fi
20435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20437 if test `eval echo '${'$as_ac_var'}'` = yes; then
20438   cat >>confdefs.h <<_ACEOF
20439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20440 _ACEOF
20441
20442 fi
20443 done
20444
20445   else
20446
20447   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20448 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20449   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20450     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20451   echo $ECHO_N "(cached) $ECHO_C" >&6
20452 else
20453
20454
20455
20456       ac_ext=cc
20457 ac_cpp='$CXXCPP $CPPFLAGS'
20458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20461
20462       cat >conftest.$ac_ext <<_ACEOF
20463 /* confdefs.h.  */
20464 _ACEOF
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h.  */
20468 #include <math.h>
20469 int
20470 main ()
20471 {
20472  _copysignl(0, 0);
20473   ;
20474   return 0;
20475 }
20476 _ACEOF
20477 rm -f conftest.$ac_objext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20479   (eval $ac_compile) 2>conftest.er1
20480   ac_status=$?
20481   grep -v '^ *+' conftest.er1 >conftest.err
20482   rm -f conftest.er1
20483   cat conftest.err >&5
20484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485   (exit $ac_status); } &&
20486          { ac_try='test -z "$ac_cxx_werror_flag"
20487                          || test ! -s conftest.err'
20488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489   (eval $ac_try) 2>&5
20490   ac_status=$?
20491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492   (exit $ac_status); }; } &&
20493          { ac_try='test -s conftest.$ac_objext'
20494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495   (eval $ac_try) 2>&5
20496   ac_status=$?
20497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498   (exit $ac_status); }; }; then
20499   glibcxx_cv_func__copysignl_use=yes
20500 else
20501   echo "$as_me: failed program was:" >&5
20502 sed 's/^/| /' conftest.$ac_ext >&5
20503
20504 glibcxx_cv_func__copysignl_use=no
20505 fi
20506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20507       ac_ext=c
20508 ac_cpp='$CPP $CPPFLAGS'
20509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20512
20513
20514 fi
20515
20516   fi
20517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20518 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20519
20520     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20521
20522 for ac_func in _copysignl
20523 do
20524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20525 echo "$as_me:$LINENO: checking for $ac_func" >&5
20526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20527 if eval "test \"\${$as_ac_var+set}\" = set"; then
20528   echo $ECHO_N "(cached) $ECHO_C" >&6
20529 else
20530   if test x$gcc_no_link = xyes; then
20531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20533    { (exit 1); exit 1; }; }
20534 fi
20535 cat >conftest.$ac_ext <<_ACEOF
20536 /* confdefs.h.  */
20537 _ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h.  */
20541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20543 #define $ac_func innocuous_$ac_func
20544
20545 /* System header to define __stub macros and hopefully few prototypes,
20546     which can conflict with char $ac_func (); below.
20547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20548     <limits.h> exists even on freestanding compilers.  */
20549
20550 #ifdef __STDC__
20551 # include <limits.h>
20552 #else
20553 # include <assert.h>
20554 #endif
20555
20556 #undef $ac_func
20557
20558 /* Override any gcc2 internal prototype to avoid an error.  */
20559 #ifdef __cplusplus
20560 extern "C"
20561 {
20562 #endif
20563 /* We use char because int might match the return type of a gcc2
20564    builtin and then its argument prototype would still apply.  */
20565 char $ac_func ();
20566 /* The GNU C library defines this for functions which it implements
20567     to always fail with ENOSYS.  Some functions are actually named
20568     something starting with __ and the normal name is an alias.  */
20569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20570 choke me
20571 #else
20572 char (*f) () = $ac_func;
20573 #endif
20574 #ifdef __cplusplus
20575 }
20576 #endif
20577
20578 int
20579 main ()
20580 {
20581 return f != $ac_func;
20582   ;
20583   return 0;
20584 }
20585 _ACEOF
20586 rm -f conftest.$ac_objext conftest$ac_exeext
20587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20588   (eval $ac_link) 2>conftest.er1
20589   ac_status=$?
20590   grep -v '^ *+' conftest.er1 >conftest.err
20591   rm -f conftest.er1
20592   cat conftest.err >&5
20593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594   (exit $ac_status); } &&
20595          { ac_try='test -z "$ac_c_werror_flag"
20596                          || test ! -s conftest.err'
20597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598   (eval $ac_try) 2>&5
20599   ac_status=$?
20600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601   (exit $ac_status); }; } &&
20602          { ac_try='test -s conftest$ac_exeext'
20603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604   (eval $ac_try) 2>&5
20605   ac_status=$?
20606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607   (exit $ac_status); }; }; then
20608   eval "$as_ac_var=yes"
20609 else
20610   echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20612
20613 eval "$as_ac_var=no"
20614 fi
20615 rm -f conftest.err conftest.$ac_objext \
20616       conftest$ac_exeext conftest.$ac_ext
20617 fi
20618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20620 if test `eval echo '${'$as_ac_var'}'` = yes; then
20621   cat >>confdefs.h <<_ACEOF
20622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20623 _ACEOF
20624
20625 fi
20626 done
20627
20628     fi
20629   fi
20630
20631
20632
20633
20634
20635
20636   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20637 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20638   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20639     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20640   echo $ECHO_N "(cached) $ECHO_C" >&6
20641 else
20642
20643
20644
20645       ac_ext=cc
20646 ac_cpp='$CXXCPP $CPPFLAGS'
20647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20650
20651       cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h.  */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h.  */
20657 #include <math.h>
20658 int
20659 main ()
20660 {
20661  atan2l(0, 0);
20662   ;
20663   return 0;
20664 }
20665 _ACEOF
20666 rm -f conftest.$ac_objext
20667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20668   (eval $ac_compile) 2>conftest.er1
20669   ac_status=$?
20670   grep -v '^ *+' conftest.er1 >conftest.err
20671   rm -f conftest.er1
20672   cat conftest.err >&5
20673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674   (exit $ac_status); } &&
20675          { ac_try='test -z "$ac_cxx_werror_flag"
20676                          || test ! -s conftest.err'
20677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20678   (eval $ac_try) 2>&5
20679   ac_status=$?
20680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681   (exit $ac_status); }; } &&
20682          { ac_try='test -s conftest.$ac_objext'
20683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684   (eval $ac_try) 2>&5
20685   ac_status=$?
20686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687   (exit $ac_status); }; }; then
20688   glibcxx_cv_func_atan2l_use=yes
20689 else
20690   echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20692
20693 glibcxx_cv_func_atan2l_use=no
20694 fi
20695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20696       ac_ext=c
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20701
20702
20703 fi
20704
20705   fi
20706   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20707 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20708
20709   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20710
20711 for ac_func in atan2l
20712 do
20713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20714 echo "$as_me:$LINENO: checking for $ac_func" >&5
20715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20716 if eval "test \"\${$as_ac_var+set}\" = set"; then
20717   echo $ECHO_N "(cached) $ECHO_C" >&6
20718 else
20719   if test x$gcc_no_link = xyes; then
20720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20722    { (exit 1); exit 1; }; }
20723 fi
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h.  */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h.  */
20730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20732 #define $ac_func innocuous_$ac_func
20733
20734 /* System header to define __stub macros and hopefully few prototypes,
20735     which can conflict with char $ac_func (); below.
20736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20737     <limits.h> exists even on freestanding compilers.  */
20738
20739 #ifdef __STDC__
20740 # include <limits.h>
20741 #else
20742 # include <assert.h>
20743 #endif
20744
20745 #undef $ac_func
20746
20747 /* Override any gcc2 internal prototype to avoid an error.  */
20748 #ifdef __cplusplus
20749 extern "C"
20750 {
20751 #endif
20752 /* We use char because int might match the return type of a gcc2
20753    builtin and then its argument prototype would still apply.  */
20754 char $ac_func ();
20755 /* The GNU C library defines this for functions which it implements
20756     to always fail with ENOSYS.  Some functions are actually named
20757     something starting with __ and the normal name is an alias.  */
20758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20759 choke me
20760 #else
20761 char (*f) () = $ac_func;
20762 #endif
20763 #ifdef __cplusplus
20764 }
20765 #endif
20766
20767 int
20768 main ()
20769 {
20770 return f != $ac_func;
20771   ;
20772   return 0;
20773 }
20774 _ACEOF
20775 rm -f conftest.$ac_objext conftest$ac_exeext
20776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20777   (eval $ac_link) 2>conftest.er1
20778   ac_status=$?
20779   grep -v '^ *+' conftest.er1 >conftest.err
20780   rm -f conftest.er1
20781   cat conftest.err >&5
20782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783   (exit $ac_status); } &&
20784          { ac_try='test -z "$ac_c_werror_flag"
20785                          || test ! -s conftest.err'
20786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787   (eval $ac_try) 2>&5
20788   ac_status=$?
20789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790   (exit $ac_status); }; } &&
20791          { ac_try='test -s conftest$ac_exeext'
20792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793   (eval $ac_try) 2>&5
20794   ac_status=$?
20795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796   (exit $ac_status); }; }; then
20797   eval "$as_ac_var=yes"
20798 else
20799   echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20801
20802 eval "$as_ac_var=no"
20803 fi
20804 rm -f conftest.err conftest.$ac_objext \
20805       conftest$ac_exeext conftest.$ac_ext
20806 fi
20807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20809 if test `eval echo '${'$as_ac_var'}'` = yes; then
20810   cat >>confdefs.h <<_ACEOF
20811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20812 _ACEOF
20813
20814 fi
20815 done
20816
20817   else
20818
20819   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20820 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20821   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20822     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20823   echo $ECHO_N "(cached) $ECHO_C" >&6
20824 else
20825
20826
20827
20828       ac_ext=cc
20829 ac_cpp='$CXXCPP $CPPFLAGS'
20830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20833
20834       cat >conftest.$ac_ext <<_ACEOF
20835 /* confdefs.h.  */
20836 _ACEOF
20837 cat confdefs.h >>conftest.$ac_ext
20838 cat >>conftest.$ac_ext <<_ACEOF
20839 /* end confdefs.h.  */
20840 #include <math.h>
20841 int
20842 main ()
20843 {
20844  _atan2l(0, 0);
20845   ;
20846   return 0;
20847 }
20848 _ACEOF
20849 rm -f conftest.$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851   (eval $ac_compile) 2>conftest.er1
20852   ac_status=$?
20853   grep -v '^ *+' conftest.er1 >conftest.err
20854   rm -f conftest.er1
20855   cat conftest.err >&5
20856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857   (exit $ac_status); } &&
20858          { ac_try='test -z "$ac_cxx_werror_flag"
20859                          || test ! -s conftest.err'
20860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861   (eval $ac_try) 2>&5
20862   ac_status=$?
20863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864   (exit $ac_status); }; } &&
20865          { ac_try='test -s conftest.$ac_objext'
20866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867   (eval $ac_try) 2>&5
20868   ac_status=$?
20869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870   (exit $ac_status); }; }; then
20871   glibcxx_cv_func__atan2l_use=yes
20872 else
20873   echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20875
20876 glibcxx_cv_func__atan2l_use=no
20877 fi
20878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20879       ac_ext=c
20880 ac_cpp='$CPP $CPPFLAGS'
20881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20884
20885
20886 fi
20887
20888   fi
20889   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20890 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20891
20892     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20893
20894 for ac_func in _atan2l
20895 do
20896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20897 echo "$as_me:$LINENO: checking for $ac_func" >&5
20898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20899 if eval "test \"\${$as_ac_var+set}\" = set"; then
20900   echo $ECHO_N "(cached) $ECHO_C" >&6
20901 else
20902   if test x$gcc_no_link = xyes; then
20903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20905    { (exit 1); exit 1; }; }
20906 fi
20907 cat >conftest.$ac_ext <<_ACEOF
20908 /* confdefs.h.  */
20909 _ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h.  */
20913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20915 #define $ac_func innocuous_$ac_func
20916
20917 /* System header to define __stub macros and hopefully few prototypes,
20918     which can conflict with char $ac_func (); below.
20919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20920     <limits.h> exists even on freestanding compilers.  */
20921
20922 #ifdef __STDC__
20923 # include <limits.h>
20924 #else
20925 # include <assert.h>
20926 #endif
20927
20928 #undef $ac_func
20929
20930 /* Override any gcc2 internal prototype to avoid an error.  */
20931 #ifdef __cplusplus
20932 extern "C"
20933 {
20934 #endif
20935 /* We use char because int might match the return type of a gcc2
20936    builtin and then its argument prototype would still apply.  */
20937 char $ac_func ();
20938 /* The GNU C library defines this for functions which it implements
20939     to always fail with ENOSYS.  Some functions are actually named
20940     something starting with __ and the normal name is an alias.  */
20941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20942 choke me
20943 #else
20944 char (*f) () = $ac_func;
20945 #endif
20946 #ifdef __cplusplus
20947 }
20948 #endif
20949
20950 int
20951 main ()
20952 {
20953 return f != $ac_func;
20954   ;
20955   return 0;
20956 }
20957 _ACEOF
20958 rm -f conftest.$ac_objext conftest$ac_exeext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20960   (eval $ac_link) 2>conftest.er1
20961   ac_status=$?
20962   grep -v '^ *+' conftest.er1 >conftest.err
20963   rm -f conftest.er1
20964   cat conftest.err >&5
20965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966   (exit $ac_status); } &&
20967          { ac_try='test -z "$ac_c_werror_flag"
20968                          || test ! -s conftest.err'
20969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970   (eval $ac_try) 2>&5
20971   ac_status=$?
20972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973   (exit $ac_status); }; } &&
20974          { ac_try='test -s conftest$ac_exeext'
20975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976   (eval $ac_try) 2>&5
20977   ac_status=$?
20978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979   (exit $ac_status); }; }; then
20980   eval "$as_ac_var=yes"
20981 else
20982   echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20984
20985 eval "$as_ac_var=no"
20986 fi
20987 rm -f conftest.err conftest.$ac_objext \
20988       conftest$ac_exeext conftest.$ac_ext
20989 fi
20990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20992 if test `eval echo '${'$as_ac_var'}'` = yes; then
20993   cat >>confdefs.h <<_ACEOF
20994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20995 _ACEOF
20996
20997 fi
20998 done
20999
21000     fi
21001   fi
21002
21003
21004
21005
21006
21007
21008   echo "$as_me:$LINENO: checking for expl declaration" >&5
21009 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21010   if test x${glibcxx_cv_func_expl_use+set} != xset; then
21011     if test "${glibcxx_cv_func_expl_use+set}" = set; then
21012   echo $ECHO_N "(cached) $ECHO_C" >&6
21013 else
21014
21015
21016
21017       ac_ext=cc
21018 ac_cpp='$CXXCPP $CPPFLAGS'
21019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21022
21023       cat >conftest.$ac_ext <<_ACEOF
21024 /* confdefs.h.  */
21025 _ACEOF
21026 cat confdefs.h >>conftest.$ac_ext
21027 cat >>conftest.$ac_ext <<_ACEOF
21028 /* end confdefs.h.  */
21029 #include <math.h>
21030                       #ifdef HAVE_IEEEFP_H
21031                       #include <ieeefp.h>
21032                       #endif
21033
21034 int
21035 main ()
21036 {
21037  expl(0);
21038   ;
21039   return 0;
21040 }
21041 _ACEOF
21042 rm -f conftest.$ac_objext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21044   (eval $ac_compile) 2>conftest.er1
21045   ac_status=$?
21046   grep -v '^ *+' conftest.er1 >conftest.err
21047   rm -f conftest.er1
21048   cat conftest.err >&5
21049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050   (exit $ac_status); } &&
21051          { ac_try='test -z "$ac_cxx_werror_flag"
21052                          || test ! -s conftest.err'
21053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054   (eval $ac_try) 2>&5
21055   ac_status=$?
21056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057   (exit $ac_status); }; } &&
21058          { ac_try='test -s conftest.$ac_objext'
21059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060   (eval $ac_try) 2>&5
21061   ac_status=$?
21062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063   (exit $ac_status); }; }; then
21064   glibcxx_cv_func_expl_use=yes
21065 else
21066   echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.$ac_ext >&5
21068
21069 glibcxx_cv_func_expl_use=no
21070 fi
21071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21072       ac_ext=c
21073 ac_cpp='$CPP $CPPFLAGS'
21074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21077
21078
21079 fi
21080
21081   fi
21082   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21083 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21084
21085   if test x$glibcxx_cv_func_expl_use = x"yes"; then
21086
21087 for ac_func in expl
21088 do
21089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21090 echo "$as_me:$LINENO: checking for $ac_func" >&5
21091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21092 if eval "test \"\${$as_ac_var+set}\" = set"; then
21093   echo $ECHO_N "(cached) $ECHO_C" >&6
21094 else
21095   if test x$gcc_no_link = xyes; then
21096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21098    { (exit 1); exit 1; }; }
21099 fi
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h.  */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h.  */
21106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21108 #define $ac_func innocuous_$ac_func
21109
21110 /* System header to define __stub macros and hopefully few prototypes,
21111     which can conflict with char $ac_func (); below.
21112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21113     <limits.h> exists even on freestanding compilers.  */
21114
21115 #ifdef __STDC__
21116 # include <limits.h>
21117 #else
21118 # include <assert.h>
21119 #endif
21120
21121 #undef $ac_func
21122
21123 /* Override any gcc2 internal prototype to avoid an error.  */
21124 #ifdef __cplusplus
21125 extern "C"
21126 {
21127 #endif
21128 /* We use char because int might match the return type of a gcc2
21129    builtin and then its argument prototype would still apply.  */
21130 char $ac_func ();
21131 /* The GNU C library defines this for functions which it implements
21132     to always fail with ENOSYS.  Some functions are actually named
21133     something starting with __ and the normal name is an alias.  */
21134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21135 choke me
21136 #else
21137 char (*f) () = $ac_func;
21138 #endif
21139 #ifdef __cplusplus
21140 }
21141 #endif
21142
21143 int
21144 main ()
21145 {
21146 return f != $ac_func;
21147   ;
21148   return 0;
21149 }
21150 _ACEOF
21151 rm -f conftest.$ac_objext conftest$ac_exeext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21153   (eval $ac_link) 2>conftest.er1
21154   ac_status=$?
21155   grep -v '^ *+' conftest.er1 >conftest.err
21156   rm -f conftest.er1
21157   cat conftest.err >&5
21158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159   (exit $ac_status); } &&
21160          { ac_try='test -z "$ac_c_werror_flag"
21161                          || test ! -s conftest.err'
21162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163   (eval $ac_try) 2>&5
21164   ac_status=$?
21165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166   (exit $ac_status); }; } &&
21167          { ac_try='test -s conftest$ac_exeext'
21168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169   (eval $ac_try) 2>&5
21170   ac_status=$?
21171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172   (exit $ac_status); }; }; then
21173   eval "$as_ac_var=yes"
21174 else
21175   echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 eval "$as_ac_var=no"
21179 fi
21180 rm -f conftest.err conftest.$ac_objext \
21181       conftest$ac_exeext conftest.$ac_ext
21182 fi
21183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21185 if test `eval echo '${'$as_ac_var'}'` = yes; then
21186   cat >>confdefs.h <<_ACEOF
21187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21188 _ACEOF
21189
21190 fi
21191 done
21192
21193   else
21194
21195   echo "$as_me:$LINENO: checking for _expl declaration" >&5
21196 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21197   if test x${glibcxx_cv_func__expl_use+set} != xset; then
21198     if test "${glibcxx_cv_func__expl_use+set}" = set; then
21199   echo $ECHO_N "(cached) $ECHO_C" >&6
21200 else
21201
21202
21203
21204       ac_ext=cc
21205 ac_cpp='$CXXCPP $CPPFLAGS'
21206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21209
21210       cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h.  */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h.  */
21216 #include <math.h>
21217                       #ifdef HAVE_IEEEFP_H
21218                       #include <ieeefp.h>
21219                       #endif
21220
21221 int
21222 main ()
21223 {
21224  _expl(0);
21225   ;
21226   return 0;
21227 }
21228 _ACEOF
21229 rm -f conftest.$ac_objext
21230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21231   (eval $ac_compile) 2>conftest.er1
21232   ac_status=$?
21233   grep -v '^ *+' conftest.er1 >conftest.err
21234   rm -f conftest.er1
21235   cat conftest.err >&5
21236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237   (exit $ac_status); } &&
21238          { ac_try='test -z "$ac_cxx_werror_flag"
21239                          || test ! -s conftest.err'
21240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241   (eval $ac_try) 2>&5
21242   ac_status=$?
21243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244   (exit $ac_status); }; } &&
21245          { ac_try='test -s conftest.$ac_objext'
21246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247   (eval $ac_try) 2>&5
21248   ac_status=$?
21249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250   (exit $ac_status); }; }; then
21251   glibcxx_cv_func__expl_use=yes
21252 else
21253   echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.$ac_ext >&5
21255
21256 glibcxx_cv_func__expl_use=no
21257 fi
21258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21259       ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264
21265
21266 fi
21267
21268   fi
21269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21270 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21271
21272     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21273
21274 for ac_func in _expl
21275 do
21276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21277 echo "$as_me:$LINENO: checking for $ac_func" >&5
21278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21279 if eval "test \"\${$as_ac_var+set}\" = set"; then
21280   echo $ECHO_N "(cached) $ECHO_C" >&6
21281 else
21282   if test x$gcc_no_link = xyes; then
21283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21285    { (exit 1); exit 1; }; }
21286 fi
21287 cat >conftest.$ac_ext <<_ACEOF
21288 /* confdefs.h.  */
21289 _ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h.  */
21293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21295 #define $ac_func innocuous_$ac_func
21296
21297 /* System header to define __stub macros and hopefully few prototypes,
21298     which can conflict with char $ac_func (); below.
21299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21300     <limits.h> exists even on freestanding compilers.  */
21301
21302 #ifdef __STDC__
21303 # include <limits.h>
21304 #else
21305 # include <assert.h>
21306 #endif
21307
21308 #undef $ac_func
21309
21310 /* Override any gcc2 internal prototype to avoid an error.  */
21311 #ifdef __cplusplus
21312 extern "C"
21313 {
21314 #endif
21315 /* We use char because int might match the return type of a gcc2
21316    builtin and then its argument prototype would still apply.  */
21317 char $ac_func ();
21318 /* The GNU C library defines this for functions which it implements
21319     to always fail with ENOSYS.  Some functions are actually named
21320     something starting with __ and the normal name is an alias.  */
21321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21322 choke me
21323 #else
21324 char (*f) () = $ac_func;
21325 #endif
21326 #ifdef __cplusplus
21327 }
21328 #endif
21329
21330 int
21331 main ()
21332 {
21333 return f != $ac_func;
21334   ;
21335   return 0;
21336 }
21337 _ACEOF
21338 rm -f conftest.$ac_objext conftest$ac_exeext
21339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21340   (eval $ac_link) 2>conftest.er1
21341   ac_status=$?
21342   grep -v '^ *+' conftest.er1 >conftest.err
21343   rm -f conftest.er1
21344   cat conftest.err >&5
21345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346   (exit $ac_status); } &&
21347          { ac_try='test -z "$ac_c_werror_flag"
21348                          || test ! -s conftest.err'
21349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21350   (eval $ac_try) 2>&5
21351   ac_status=$?
21352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353   (exit $ac_status); }; } &&
21354          { ac_try='test -s conftest$ac_exeext'
21355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356   (eval $ac_try) 2>&5
21357   ac_status=$?
21358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359   (exit $ac_status); }; }; then
21360   eval "$as_ac_var=yes"
21361 else
21362   echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5
21364
21365 eval "$as_ac_var=no"
21366 fi
21367 rm -f conftest.err conftest.$ac_objext \
21368       conftest$ac_exeext conftest.$ac_ext
21369 fi
21370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21372 if test `eval echo '${'$as_ac_var'}'` = yes; then
21373   cat >>confdefs.h <<_ACEOF
21374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21375 _ACEOF
21376
21377 fi
21378 done
21379
21380     fi
21381   fi
21382
21383
21384
21385
21386
21387
21388   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21389 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21390   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21391     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21392   echo $ECHO_N "(cached) $ECHO_C" >&6
21393 else
21394
21395
21396
21397       ac_ext=cc
21398 ac_cpp='$CXXCPP $CPPFLAGS'
21399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21402
21403       cat >conftest.$ac_ext <<_ACEOF
21404 /* confdefs.h.  */
21405 _ACEOF
21406 cat confdefs.h >>conftest.$ac_ext
21407 cat >>conftest.$ac_ext <<_ACEOF
21408 /* end confdefs.h.  */
21409 #include <math.h>
21410                       #ifdef HAVE_IEEEFP_H
21411                       #include <ieeefp.h>
21412                       #endif
21413
21414 int
21415 main ()
21416 {
21417  fabsl(0);
21418   ;
21419   return 0;
21420 }
21421 _ACEOF
21422 rm -f conftest.$ac_objext
21423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21424   (eval $ac_compile) 2>conftest.er1
21425   ac_status=$?
21426   grep -v '^ *+' conftest.er1 >conftest.err
21427   rm -f conftest.er1
21428   cat conftest.err >&5
21429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430   (exit $ac_status); } &&
21431          { ac_try='test -z "$ac_cxx_werror_flag"
21432                          || test ! -s conftest.err'
21433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21434   (eval $ac_try) 2>&5
21435   ac_status=$?
21436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437   (exit $ac_status); }; } &&
21438          { ac_try='test -s conftest.$ac_objext'
21439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440   (eval $ac_try) 2>&5
21441   ac_status=$?
21442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443   (exit $ac_status); }; }; then
21444   glibcxx_cv_func_fabsl_use=yes
21445 else
21446   echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.$ac_ext >&5
21448
21449 glibcxx_cv_func_fabsl_use=no
21450 fi
21451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21452       ac_ext=c
21453 ac_cpp='$CPP $CPPFLAGS'
21454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21457
21458
21459 fi
21460
21461   fi
21462   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21463 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21464
21465   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21466
21467 for ac_func in fabsl
21468 do
21469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21470 echo "$as_me:$LINENO: checking for $ac_func" >&5
21471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21472 if eval "test \"\${$as_ac_var+set}\" = set"; then
21473   echo $ECHO_N "(cached) $ECHO_C" >&6
21474 else
21475   if test x$gcc_no_link = xyes; then
21476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21478    { (exit 1); exit 1; }; }
21479 fi
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h.  */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h.  */
21486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21488 #define $ac_func innocuous_$ac_func
21489
21490 /* System header to define __stub macros and hopefully few prototypes,
21491     which can conflict with char $ac_func (); below.
21492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21493     <limits.h> exists even on freestanding compilers.  */
21494
21495 #ifdef __STDC__
21496 # include <limits.h>
21497 #else
21498 # include <assert.h>
21499 #endif
21500
21501 #undef $ac_func
21502
21503 /* Override any gcc2 internal prototype to avoid an error.  */
21504 #ifdef __cplusplus
21505 extern "C"
21506 {
21507 #endif
21508 /* We use char because int might match the return type of a gcc2
21509    builtin and then its argument prototype would still apply.  */
21510 char $ac_func ();
21511 /* The GNU C library defines this for functions which it implements
21512     to always fail with ENOSYS.  Some functions are actually named
21513     something starting with __ and the normal name is an alias.  */
21514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21515 choke me
21516 #else
21517 char (*f) () = $ac_func;
21518 #endif
21519 #ifdef __cplusplus
21520 }
21521 #endif
21522
21523 int
21524 main ()
21525 {
21526 return f != $ac_func;
21527   ;
21528   return 0;
21529 }
21530 _ACEOF
21531 rm -f conftest.$ac_objext conftest$ac_exeext
21532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21533   (eval $ac_link) 2>conftest.er1
21534   ac_status=$?
21535   grep -v '^ *+' conftest.er1 >conftest.err
21536   rm -f conftest.er1
21537   cat conftest.err >&5
21538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539   (exit $ac_status); } &&
21540          { ac_try='test -z "$ac_c_werror_flag"
21541                          || test ! -s conftest.err'
21542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543   (eval $ac_try) 2>&5
21544   ac_status=$?
21545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546   (exit $ac_status); }; } &&
21547          { ac_try='test -s conftest$ac_exeext'
21548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21549   (eval $ac_try) 2>&5
21550   ac_status=$?
21551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552   (exit $ac_status); }; }; then
21553   eval "$as_ac_var=yes"
21554 else
21555   echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21557
21558 eval "$as_ac_var=no"
21559 fi
21560 rm -f conftest.err conftest.$ac_objext \
21561       conftest$ac_exeext conftest.$ac_ext
21562 fi
21563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21565 if test `eval echo '${'$as_ac_var'}'` = yes; then
21566   cat >>confdefs.h <<_ACEOF
21567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21568 _ACEOF
21569
21570 fi
21571 done
21572
21573   else
21574
21575   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21576 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21577   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21578     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21579   echo $ECHO_N "(cached) $ECHO_C" >&6
21580 else
21581
21582
21583
21584       ac_ext=cc
21585 ac_cpp='$CXXCPP $CPPFLAGS'
21586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21589
21590       cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h.  */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h.  */
21596 #include <math.h>
21597                       #ifdef HAVE_IEEEFP_H
21598                       #include <ieeefp.h>
21599                       #endif
21600
21601 int
21602 main ()
21603 {
21604  _fabsl(0);
21605   ;
21606   return 0;
21607 }
21608 _ACEOF
21609 rm -f conftest.$ac_objext
21610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21611   (eval $ac_compile) 2>conftest.er1
21612   ac_status=$?
21613   grep -v '^ *+' conftest.er1 >conftest.err
21614   rm -f conftest.er1
21615   cat conftest.err >&5
21616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617   (exit $ac_status); } &&
21618          { ac_try='test -z "$ac_cxx_werror_flag"
21619                          || test ! -s conftest.err'
21620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621   (eval $ac_try) 2>&5
21622   ac_status=$?
21623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624   (exit $ac_status); }; } &&
21625          { ac_try='test -s conftest.$ac_objext'
21626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627   (eval $ac_try) 2>&5
21628   ac_status=$?
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); }; }; then
21631   glibcxx_cv_func__fabsl_use=yes
21632 else
21633   echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 glibcxx_cv_func__fabsl_use=no
21637 fi
21638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21639       ac_ext=c
21640 ac_cpp='$CPP $CPPFLAGS'
21641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21644
21645
21646 fi
21647
21648   fi
21649   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21650 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21651
21652     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21653
21654 for ac_func in _fabsl
21655 do
21656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21657 echo "$as_me:$LINENO: checking for $ac_func" >&5
21658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21659 if eval "test \"\${$as_ac_var+set}\" = set"; then
21660   echo $ECHO_N "(cached) $ECHO_C" >&6
21661 else
21662   if test x$gcc_no_link = xyes; then
21663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21665    { (exit 1); exit 1; }; }
21666 fi
21667 cat >conftest.$ac_ext <<_ACEOF
21668 /* confdefs.h.  */
21669 _ACEOF
21670 cat confdefs.h >>conftest.$ac_ext
21671 cat >>conftest.$ac_ext <<_ACEOF
21672 /* end confdefs.h.  */
21673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21675 #define $ac_func innocuous_$ac_func
21676
21677 /* System header to define __stub macros and hopefully few prototypes,
21678     which can conflict with char $ac_func (); below.
21679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21680     <limits.h> exists even on freestanding compilers.  */
21681
21682 #ifdef __STDC__
21683 # include <limits.h>
21684 #else
21685 # include <assert.h>
21686 #endif
21687
21688 #undef $ac_func
21689
21690 /* Override any gcc2 internal prototype to avoid an error.  */
21691 #ifdef __cplusplus
21692 extern "C"
21693 {
21694 #endif
21695 /* We use char because int might match the return type of a gcc2
21696    builtin and then its argument prototype would still apply.  */
21697 char $ac_func ();
21698 /* The GNU C library defines this for functions which it implements
21699     to always fail with ENOSYS.  Some functions are actually named
21700     something starting with __ and the normal name is an alias.  */
21701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21702 choke me
21703 #else
21704 char (*f) () = $ac_func;
21705 #endif
21706 #ifdef __cplusplus
21707 }
21708 #endif
21709
21710 int
21711 main ()
21712 {
21713 return f != $ac_func;
21714   ;
21715   return 0;
21716 }
21717 _ACEOF
21718 rm -f conftest.$ac_objext conftest$ac_exeext
21719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21720   (eval $ac_link) 2>conftest.er1
21721   ac_status=$?
21722   grep -v '^ *+' conftest.er1 >conftest.err
21723   rm -f conftest.er1
21724   cat conftest.err >&5
21725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726   (exit $ac_status); } &&
21727          { ac_try='test -z "$ac_c_werror_flag"
21728                          || test ! -s conftest.err'
21729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730   (eval $ac_try) 2>&5
21731   ac_status=$?
21732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733   (exit $ac_status); }; } &&
21734          { ac_try='test -s conftest$ac_exeext'
21735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736   (eval $ac_try) 2>&5
21737   ac_status=$?
21738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739   (exit $ac_status); }; }; then
21740   eval "$as_ac_var=yes"
21741 else
21742   echo "$as_me: failed program was:" >&5
21743 sed 's/^/| /' conftest.$ac_ext >&5
21744
21745 eval "$as_ac_var=no"
21746 fi
21747 rm -f conftest.err conftest.$ac_objext \
21748       conftest$ac_exeext conftest.$ac_ext
21749 fi
21750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21752 if test `eval echo '${'$as_ac_var'}'` = yes; then
21753   cat >>confdefs.h <<_ACEOF
21754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21755 _ACEOF
21756
21757 fi
21758 done
21759
21760     fi
21761   fi
21762
21763
21764
21765
21766
21767
21768   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21769 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21770   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21771     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21772   echo $ECHO_N "(cached) $ECHO_C" >&6
21773 else
21774
21775
21776
21777       ac_ext=cc
21778 ac_cpp='$CXXCPP $CPPFLAGS'
21779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21782
21783       cat >conftest.$ac_ext <<_ACEOF
21784 /* confdefs.h.  */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h.  */
21789 #include <math.h>
21790 int
21791 main ()
21792 {
21793  fmodl(0, 0);
21794   ;
21795   return 0;
21796 }
21797 _ACEOF
21798 rm -f conftest.$ac_objext
21799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21800   (eval $ac_compile) 2>conftest.er1
21801   ac_status=$?
21802   grep -v '^ *+' conftest.er1 >conftest.err
21803   rm -f conftest.er1
21804   cat conftest.err >&5
21805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806   (exit $ac_status); } &&
21807          { ac_try='test -z "$ac_cxx_werror_flag"
21808                          || test ! -s conftest.err'
21809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810   (eval $ac_try) 2>&5
21811   ac_status=$?
21812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813   (exit $ac_status); }; } &&
21814          { ac_try='test -s conftest.$ac_objext'
21815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816   (eval $ac_try) 2>&5
21817   ac_status=$?
21818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819   (exit $ac_status); }; }; then
21820   glibcxx_cv_func_fmodl_use=yes
21821 else
21822   echo "$as_me: failed program was:" >&5
21823 sed 's/^/| /' conftest.$ac_ext >&5
21824
21825 glibcxx_cv_func_fmodl_use=no
21826 fi
21827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21828       ac_ext=c
21829 ac_cpp='$CPP $CPPFLAGS'
21830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21833
21834
21835 fi
21836
21837   fi
21838   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21839 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21840
21841   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21842
21843 for ac_func in fmodl
21844 do
21845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21846 echo "$as_me:$LINENO: checking for $ac_func" >&5
21847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21848 if eval "test \"\${$as_ac_var+set}\" = set"; then
21849   echo $ECHO_N "(cached) $ECHO_C" >&6
21850 else
21851   if test x$gcc_no_link = xyes; then
21852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21854    { (exit 1); exit 1; }; }
21855 fi
21856 cat >conftest.$ac_ext <<_ACEOF
21857 /* confdefs.h.  */
21858 _ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h.  */
21862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21864 #define $ac_func innocuous_$ac_func
21865
21866 /* System header to define __stub macros and hopefully few prototypes,
21867     which can conflict with char $ac_func (); below.
21868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21869     <limits.h> exists even on freestanding compilers.  */
21870
21871 #ifdef __STDC__
21872 # include <limits.h>
21873 #else
21874 # include <assert.h>
21875 #endif
21876
21877 #undef $ac_func
21878
21879 /* Override any gcc2 internal prototype to avoid an error.  */
21880 #ifdef __cplusplus
21881 extern "C"
21882 {
21883 #endif
21884 /* We use char because int might match the return type of a gcc2
21885    builtin and then its argument prototype would still apply.  */
21886 char $ac_func ();
21887 /* The GNU C library defines this for functions which it implements
21888     to always fail with ENOSYS.  Some functions are actually named
21889     something starting with __ and the normal name is an alias.  */
21890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21891 choke me
21892 #else
21893 char (*f) () = $ac_func;
21894 #endif
21895 #ifdef __cplusplus
21896 }
21897 #endif
21898
21899 int
21900 main ()
21901 {
21902 return f != $ac_func;
21903   ;
21904   return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest.$ac_objext conftest$ac_exeext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21909   (eval $ac_link) 2>conftest.er1
21910   ac_status=$?
21911   grep -v '^ *+' conftest.er1 >conftest.err
21912   rm -f conftest.er1
21913   cat conftest.err >&5
21914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915   (exit $ac_status); } &&
21916          { ac_try='test -z "$ac_c_werror_flag"
21917                          || test ! -s conftest.err'
21918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919   (eval $ac_try) 2>&5
21920   ac_status=$?
21921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922   (exit $ac_status); }; } &&
21923          { ac_try='test -s conftest$ac_exeext'
21924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925   (eval $ac_try) 2>&5
21926   ac_status=$?
21927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928   (exit $ac_status); }; }; then
21929   eval "$as_ac_var=yes"
21930 else
21931   echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21933
21934 eval "$as_ac_var=no"
21935 fi
21936 rm -f conftest.err conftest.$ac_objext \
21937       conftest$ac_exeext conftest.$ac_ext
21938 fi
21939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21941 if test `eval echo '${'$as_ac_var'}'` = yes; then
21942   cat >>confdefs.h <<_ACEOF
21943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21944 _ACEOF
21945
21946 fi
21947 done
21948
21949   else
21950
21951   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21952 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21953   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21954     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21955   echo $ECHO_N "(cached) $ECHO_C" >&6
21956 else
21957
21958
21959
21960       ac_ext=cc
21961 ac_cpp='$CXXCPP $CPPFLAGS'
21962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21965
21966       cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h.  */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h.  */
21972 #include <math.h>
21973 int
21974 main ()
21975 {
21976  _fmodl(0, 0);
21977   ;
21978   return 0;
21979 }
21980 _ACEOF
21981 rm -f conftest.$ac_objext
21982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21983   (eval $ac_compile) 2>conftest.er1
21984   ac_status=$?
21985   grep -v '^ *+' conftest.er1 >conftest.err
21986   rm -f conftest.er1
21987   cat conftest.err >&5
21988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989   (exit $ac_status); } &&
21990          { ac_try='test -z "$ac_cxx_werror_flag"
21991                          || test ! -s conftest.err'
21992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21993   (eval $ac_try) 2>&5
21994   ac_status=$?
21995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996   (exit $ac_status); }; } &&
21997          { ac_try='test -s conftest.$ac_objext'
21998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999   (eval $ac_try) 2>&5
22000   ac_status=$?
22001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002   (exit $ac_status); }; }; then
22003   glibcxx_cv_func__fmodl_use=yes
22004 else
22005   echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 glibcxx_cv_func__fmodl_use=no
22009 fi
22010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22011       ac_ext=c
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22016
22017
22018 fi
22019
22020   fi
22021   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22022 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22023
22024     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22025
22026 for ac_func in _fmodl
22027 do
22028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22029 echo "$as_me:$LINENO: checking for $ac_func" >&5
22030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22031 if eval "test \"\${$as_ac_var+set}\" = set"; then
22032   echo $ECHO_N "(cached) $ECHO_C" >&6
22033 else
22034   if test x$gcc_no_link = xyes; then
22035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22037    { (exit 1); exit 1; }; }
22038 fi
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h.  */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h.  */
22045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22047 #define $ac_func innocuous_$ac_func
22048
22049 /* System header to define __stub macros and hopefully few prototypes,
22050     which can conflict with char $ac_func (); below.
22051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22052     <limits.h> exists even on freestanding compilers.  */
22053
22054 #ifdef __STDC__
22055 # include <limits.h>
22056 #else
22057 # include <assert.h>
22058 #endif
22059
22060 #undef $ac_func
22061
22062 /* Override any gcc2 internal prototype to avoid an error.  */
22063 #ifdef __cplusplus
22064 extern "C"
22065 {
22066 #endif
22067 /* We use char because int might match the return type of a gcc2
22068    builtin and then its argument prototype would still apply.  */
22069 char $ac_func ();
22070 /* The GNU C library defines this for functions which it implements
22071     to always fail with ENOSYS.  Some functions are actually named
22072     something starting with __ and the normal name is an alias.  */
22073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22074 choke me
22075 #else
22076 char (*f) () = $ac_func;
22077 #endif
22078 #ifdef __cplusplus
22079 }
22080 #endif
22081
22082 int
22083 main ()
22084 {
22085 return f != $ac_func;
22086   ;
22087   return 0;
22088 }
22089 _ACEOF
22090 rm -f conftest.$ac_objext conftest$ac_exeext
22091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22092   (eval $ac_link) 2>conftest.er1
22093   ac_status=$?
22094   grep -v '^ *+' conftest.er1 >conftest.err
22095   rm -f conftest.er1
22096   cat conftest.err >&5
22097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098   (exit $ac_status); } &&
22099          { ac_try='test -z "$ac_c_werror_flag"
22100                          || test ! -s conftest.err'
22101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22102   (eval $ac_try) 2>&5
22103   ac_status=$?
22104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105   (exit $ac_status); }; } &&
22106          { ac_try='test -s conftest$ac_exeext'
22107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108   (eval $ac_try) 2>&5
22109   ac_status=$?
22110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111   (exit $ac_status); }; }; then
22112   eval "$as_ac_var=yes"
22113 else
22114   echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117 eval "$as_ac_var=no"
22118 fi
22119 rm -f conftest.err conftest.$ac_objext \
22120       conftest$ac_exeext conftest.$ac_ext
22121 fi
22122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22124 if test `eval echo '${'$as_ac_var'}'` = yes; then
22125   cat >>confdefs.h <<_ACEOF
22126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22127 _ACEOF
22128
22129 fi
22130 done
22131
22132     fi
22133   fi
22134
22135
22136
22137
22138
22139
22140   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22141 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22142   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22143     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22144   echo $ECHO_N "(cached) $ECHO_C" >&6
22145 else
22146
22147
22148
22149       ac_ext=cc
22150 ac_cpp='$CXXCPP $CPPFLAGS'
22151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22154
22155       cat >conftest.$ac_ext <<_ACEOF
22156 /* confdefs.h.  */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h.  */
22161 #include <math.h>
22162 int
22163 main ()
22164 {
22165  frexpl(0, 0);
22166   ;
22167   return 0;
22168 }
22169 _ACEOF
22170 rm -f conftest.$ac_objext
22171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22172   (eval $ac_compile) 2>conftest.er1
22173   ac_status=$?
22174   grep -v '^ *+' conftest.er1 >conftest.err
22175   rm -f conftest.er1
22176   cat conftest.err >&5
22177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178   (exit $ac_status); } &&
22179          { ac_try='test -z "$ac_cxx_werror_flag"
22180                          || test ! -s conftest.err'
22181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182   (eval $ac_try) 2>&5
22183   ac_status=$?
22184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185   (exit $ac_status); }; } &&
22186          { ac_try='test -s conftest.$ac_objext'
22187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188   (eval $ac_try) 2>&5
22189   ac_status=$?
22190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191   (exit $ac_status); }; }; then
22192   glibcxx_cv_func_frexpl_use=yes
22193 else
22194   echo "$as_me: failed program was:" >&5
22195 sed 's/^/| /' conftest.$ac_ext >&5
22196
22197 glibcxx_cv_func_frexpl_use=no
22198 fi
22199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22200       ac_ext=c
22201 ac_cpp='$CPP $CPPFLAGS'
22202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22205
22206
22207 fi
22208
22209   fi
22210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22211 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22212
22213   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22214
22215 for ac_func in frexpl
22216 do
22217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22218 echo "$as_me:$LINENO: checking for $ac_func" >&5
22219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22220 if eval "test \"\${$as_ac_var+set}\" = set"; then
22221   echo $ECHO_N "(cached) $ECHO_C" >&6
22222 else
22223   if test x$gcc_no_link = xyes; then
22224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22226    { (exit 1); exit 1; }; }
22227 fi
22228 cat >conftest.$ac_ext <<_ACEOF
22229 /* confdefs.h.  */
22230 _ACEOF
22231 cat confdefs.h >>conftest.$ac_ext
22232 cat >>conftest.$ac_ext <<_ACEOF
22233 /* end confdefs.h.  */
22234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22236 #define $ac_func innocuous_$ac_func
22237
22238 /* System header to define __stub macros and hopefully few prototypes,
22239     which can conflict with char $ac_func (); below.
22240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22241     <limits.h> exists even on freestanding compilers.  */
22242
22243 #ifdef __STDC__
22244 # include <limits.h>
22245 #else
22246 # include <assert.h>
22247 #endif
22248
22249 #undef $ac_func
22250
22251 /* Override any gcc2 internal prototype to avoid an error.  */
22252 #ifdef __cplusplus
22253 extern "C"
22254 {
22255 #endif
22256 /* We use char because int might match the return type of a gcc2
22257    builtin and then its argument prototype would still apply.  */
22258 char $ac_func ();
22259 /* The GNU C library defines this for functions which it implements
22260     to always fail with ENOSYS.  Some functions are actually named
22261     something starting with __ and the normal name is an alias.  */
22262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22263 choke me
22264 #else
22265 char (*f) () = $ac_func;
22266 #endif
22267 #ifdef __cplusplus
22268 }
22269 #endif
22270
22271 int
22272 main ()
22273 {
22274 return f != $ac_func;
22275   ;
22276   return 0;
22277 }
22278 _ACEOF
22279 rm -f conftest.$ac_objext conftest$ac_exeext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281   (eval $ac_link) 2>conftest.er1
22282   ac_status=$?
22283   grep -v '^ *+' conftest.er1 >conftest.err
22284   rm -f conftest.er1
22285   cat conftest.err >&5
22286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287   (exit $ac_status); } &&
22288          { ac_try='test -z "$ac_c_werror_flag"
22289                          || test ! -s conftest.err'
22290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291   (eval $ac_try) 2>&5
22292   ac_status=$?
22293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294   (exit $ac_status); }; } &&
22295          { ac_try='test -s conftest$ac_exeext'
22296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297   (eval $ac_try) 2>&5
22298   ac_status=$?
22299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300   (exit $ac_status); }; }; then
22301   eval "$as_ac_var=yes"
22302 else
22303   echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22305
22306 eval "$as_ac_var=no"
22307 fi
22308 rm -f conftest.err conftest.$ac_objext \
22309       conftest$ac_exeext conftest.$ac_ext
22310 fi
22311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22313 if test `eval echo '${'$as_ac_var'}'` = yes; then
22314   cat >>confdefs.h <<_ACEOF
22315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22316 _ACEOF
22317
22318 fi
22319 done
22320
22321   else
22322
22323   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22324 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22325   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22326     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22327   echo $ECHO_N "(cached) $ECHO_C" >&6
22328 else
22329
22330
22331
22332       ac_ext=cc
22333 ac_cpp='$CXXCPP $CPPFLAGS'
22334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22337
22338       cat >conftest.$ac_ext <<_ACEOF
22339 /* confdefs.h.  */
22340 _ACEOF
22341 cat confdefs.h >>conftest.$ac_ext
22342 cat >>conftest.$ac_ext <<_ACEOF
22343 /* end confdefs.h.  */
22344 #include <math.h>
22345 int
22346 main ()
22347 {
22348  _frexpl(0, 0);
22349   ;
22350   return 0;
22351 }
22352 _ACEOF
22353 rm -f conftest.$ac_objext
22354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22355   (eval $ac_compile) 2>conftest.er1
22356   ac_status=$?
22357   grep -v '^ *+' conftest.er1 >conftest.err
22358   rm -f conftest.er1
22359   cat conftest.err >&5
22360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361   (exit $ac_status); } &&
22362          { ac_try='test -z "$ac_cxx_werror_flag"
22363                          || test ! -s conftest.err'
22364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365   (eval $ac_try) 2>&5
22366   ac_status=$?
22367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368   (exit $ac_status); }; } &&
22369          { ac_try='test -s conftest.$ac_objext'
22370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22371   (eval $ac_try) 2>&5
22372   ac_status=$?
22373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374   (exit $ac_status); }; }; then
22375   glibcxx_cv_func__frexpl_use=yes
22376 else
22377   echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5
22379
22380 glibcxx_cv_func__frexpl_use=no
22381 fi
22382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22383       ac_ext=c
22384 ac_cpp='$CPP $CPPFLAGS'
22385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22388
22389
22390 fi
22391
22392   fi
22393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22394 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22395
22396     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22397
22398 for ac_func in _frexpl
22399 do
22400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22401 echo "$as_me:$LINENO: checking for $ac_func" >&5
22402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22403 if eval "test \"\${$as_ac_var+set}\" = set"; then
22404   echo $ECHO_N "(cached) $ECHO_C" >&6
22405 else
22406   if test x$gcc_no_link = xyes; then
22407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22409    { (exit 1); exit 1; }; }
22410 fi
22411 cat >conftest.$ac_ext <<_ACEOF
22412 /* confdefs.h.  */
22413 _ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h.  */
22417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22419 #define $ac_func innocuous_$ac_func
22420
22421 /* System header to define __stub macros and hopefully few prototypes,
22422     which can conflict with char $ac_func (); below.
22423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22424     <limits.h> exists even on freestanding compilers.  */
22425
22426 #ifdef __STDC__
22427 # include <limits.h>
22428 #else
22429 # include <assert.h>
22430 #endif
22431
22432 #undef $ac_func
22433
22434 /* Override any gcc2 internal prototype to avoid an error.  */
22435 #ifdef __cplusplus
22436 extern "C"
22437 {
22438 #endif
22439 /* We use char because int might match the return type of a gcc2
22440    builtin and then its argument prototype would still apply.  */
22441 char $ac_func ();
22442 /* The GNU C library defines this for functions which it implements
22443     to always fail with ENOSYS.  Some functions are actually named
22444     something starting with __ and the normal name is an alias.  */
22445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22446 choke me
22447 #else
22448 char (*f) () = $ac_func;
22449 #endif
22450 #ifdef __cplusplus
22451 }
22452 #endif
22453
22454 int
22455 main ()
22456 {
22457 return f != $ac_func;
22458   ;
22459   return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext conftest$ac_exeext
22463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22464   (eval $ac_link) 2>conftest.er1
22465   ac_status=$?
22466   grep -v '^ *+' conftest.er1 >conftest.err
22467   rm -f conftest.er1
22468   cat conftest.err >&5
22469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470   (exit $ac_status); } &&
22471          { ac_try='test -z "$ac_c_werror_flag"
22472                          || test ! -s conftest.err'
22473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474   (eval $ac_try) 2>&5
22475   ac_status=$?
22476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477   (exit $ac_status); }; } &&
22478          { ac_try='test -s conftest$ac_exeext'
22479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480   (eval $ac_try) 2>&5
22481   ac_status=$?
22482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483   (exit $ac_status); }; }; then
22484   eval "$as_ac_var=yes"
22485 else
22486   echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.$ac_ext >&5
22488
22489 eval "$as_ac_var=no"
22490 fi
22491 rm -f conftest.err conftest.$ac_objext \
22492       conftest$ac_exeext conftest.$ac_ext
22493 fi
22494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22496 if test `eval echo '${'$as_ac_var'}'` = yes; then
22497   cat >>confdefs.h <<_ACEOF
22498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22499 _ACEOF
22500
22501 fi
22502 done
22503
22504     fi
22505   fi
22506
22507
22508
22509
22510
22511
22512   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22513 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22514   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22515     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22516   echo $ECHO_N "(cached) $ECHO_C" >&6
22517 else
22518
22519
22520
22521       ac_ext=cc
22522 ac_cpp='$CXXCPP $CPPFLAGS'
22523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22526
22527       cat >conftest.$ac_ext <<_ACEOF
22528 /* confdefs.h.  */
22529 _ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h.  */
22533 #include <math.h>
22534 int
22535 main ()
22536 {
22537  hypotl(0, 0);
22538   ;
22539   return 0;
22540 }
22541 _ACEOF
22542 rm -f conftest.$ac_objext
22543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22544   (eval $ac_compile) 2>conftest.er1
22545   ac_status=$?
22546   grep -v '^ *+' conftest.er1 >conftest.err
22547   rm -f conftest.er1
22548   cat conftest.err >&5
22549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550   (exit $ac_status); } &&
22551          { ac_try='test -z "$ac_cxx_werror_flag"
22552                          || test ! -s conftest.err'
22553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22554   (eval $ac_try) 2>&5
22555   ac_status=$?
22556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557   (exit $ac_status); }; } &&
22558          { ac_try='test -s conftest.$ac_objext'
22559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560   (eval $ac_try) 2>&5
22561   ac_status=$?
22562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563   (exit $ac_status); }; }; then
22564   glibcxx_cv_func_hypotl_use=yes
22565 else
22566   echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.$ac_ext >&5
22568
22569 glibcxx_cv_func_hypotl_use=no
22570 fi
22571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22572       ac_ext=c
22573 ac_cpp='$CPP $CPPFLAGS'
22574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22577
22578
22579 fi
22580
22581   fi
22582   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22583 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22584
22585   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22586
22587 for ac_func in hypotl
22588 do
22589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22590 echo "$as_me:$LINENO: checking for $ac_func" >&5
22591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22592 if eval "test \"\${$as_ac_var+set}\" = set"; then
22593   echo $ECHO_N "(cached) $ECHO_C" >&6
22594 else
22595   if test x$gcc_no_link = xyes; then
22596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22598    { (exit 1); exit 1; }; }
22599 fi
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h.  */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h.  */
22606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22608 #define $ac_func innocuous_$ac_func
22609
22610 /* System header to define __stub macros and hopefully few prototypes,
22611     which can conflict with char $ac_func (); below.
22612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22613     <limits.h> exists even on freestanding compilers.  */
22614
22615 #ifdef __STDC__
22616 # include <limits.h>
22617 #else
22618 # include <assert.h>
22619 #endif
22620
22621 #undef $ac_func
22622
22623 /* Override any gcc2 internal prototype to avoid an error.  */
22624 #ifdef __cplusplus
22625 extern "C"
22626 {
22627 #endif
22628 /* We use char because int might match the return type of a gcc2
22629    builtin and then its argument prototype would still apply.  */
22630 char $ac_func ();
22631 /* The GNU C library defines this for functions which it implements
22632     to always fail with ENOSYS.  Some functions are actually named
22633     something starting with __ and the normal name is an alias.  */
22634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22635 choke me
22636 #else
22637 char (*f) () = $ac_func;
22638 #endif
22639 #ifdef __cplusplus
22640 }
22641 #endif
22642
22643 int
22644 main ()
22645 {
22646 return f != $ac_func;
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 rm -f conftest.$ac_objext conftest$ac_exeext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22653   (eval $ac_link) 2>conftest.er1
22654   ac_status=$?
22655   grep -v '^ *+' conftest.er1 >conftest.err
22656   rm -f conftest.er1
22657   cat conftest.err >&5
22658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659   (exit $ac_status); } &&
22660          { ac_try='test -z "$ac_c_werror_flag"
22661                          || test ! -s conftest.err'
22662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663   (eval $ac_try) 2>&5
22664   ac_status=$?
22665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666   (exit $ac_status); }; } &&
22667          { ac_try='test -s conftest$ac_exeext'
22668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669   (eval $ac_try) 2>&5
22670   ac_status=$?
22671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672   (exit $ac_status); }; }; then
22673   eval "$as_ac_var=yes"
22674 else
22675   echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22677
22678 eval "$as_ac_var=no"
22679 fi
22680 rm -f conftest.err conftest.$ac_objext \
22681       conftest$ac_exeext conftest.$ac_ext
22682 fi
22683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22685 if test `eval echo '${'$as_ac_var'}'` = yes; then
22686   cat >>confdefs.h <<_ACEOF
22687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22688 _ACEOF
22689
22690 fi
22691 done
22692
22693   else
22694
22695   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22696 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22697   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22698     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22699   echo $ECHO_N "(cached) $ECHO_C" >&6
22700 else
22701
22702
22703
22704       ac_ext=cc
22705 ac_cpp='$CXXCPP $CPPFLAGS'
22706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22709
22710       cat >conftest.$ac_ext <<_ACEOF
22711 /* confdefs.h.  */
22712 _ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h.  */
22716 #include <math.h>
22717 int
22718 main ()
22719 {
22720  _hypotl(0, 0);
22721   ;
22722   return 0;
22723 }
22724 _ACEOF
22725 rm -f conftest.$ac_objext
22726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22727   (eval $ac_compile) 2>conftest.er1
22728   ac_status=$?
22729   grep -v '^ *+' conftest.er1 >conftest.err
22730   rm -f conftest.er1
22731   cat conftest.err >&5
22732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733   (exit $ac_status); } &&
22734          { ac_try='test -z "$ac_cxx_werror_flag"
22735                          || test ! -s conftest.err'
22736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22737   (eval $ac_try) 2>&5
22738   ac_status=$?
22739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740   (exit $ac_status); }; } &&
22741          { ac_try='test -s conftest.$ac_objext'
22742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22743   (eval $ac_try) 2>&5
22744   ac_status=$?
22745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746   (exit $ac_status); }; }; then
22747   glibcxx_cv_func__hypotl_use=yes
22748 else
22749   echo "$as_me: failed program was:" >&5
22750 sed 's/^/| /' conftest.$ac_ext >&5
22751
22752 glibcxx_cv_func__hypotl_use=no
22753 fi
22754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22755       ac_ext=c
22756 ac_cpp='$CPP $CPPFLAGS'
22757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22760
22761
22762 fi
22763
22764   fi
22765   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22766 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22767
22768     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22769
22770 for ac_func in _hypotl
22771 do
22772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22773 echo "$as_me:$LINENO: checking for $ac_func" >&5
22774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22775 if eval "test \"\${$as_ac_var+set}\" = set"; then
22776   echo $ECHO_N "(cached) $ECHO_C" >&6
22777 else
22778   if test x$gcc_no_link = xyes; then
22779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22781    { (exit 1); exit 1; }; }
22782 fi
22783 cat >conftest.$ac_ext <<_ACEOF
22784 /* confdefs.h.  */
22785 _ACEOF
22786 cat confdefs.h >>conftest.$ac_ext
22787 cat >>conftest.$ac_ext <<_ACEOF
22788 /* end confdefs.h.  */
22789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22791 #define $ac_func innocuous_$ac_func
22792
22793 /* System header to define __stub macros and hopefully few prototypes,
22794     which can conflict with char $ac_func (); below.
22795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22796     <limits.h> exists even on freestanding compilers.  */
22797
22798 #ifdef __STDC__
22799 # include <limits.h>
22800 #else
22801 # include <assert.h>
22802 #endif
22803
22804 #undef $ac_func
22805
22806 /* Override any gcc2 internal prototype to avoid an error.  */
22807 #ifdef __cplusplus
22808 extern "C"
22809 {
22810 #endif
22811 /* We use char because int might match the return type of a gcc2
22812    builtin and then its argument prototype would still apply.  */
22813 char $ac_func ();
22814 /* The GNU C library defines this for functions which it implements
22815     to always fail with ENOSYS.  Some functions are actually named
22816     something starting with __ and the normal name is an alias.  */
22817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22818 choke me
22819 #else
22820 char (*f) () = $ac_func;
22821 #endif
22822 #ifdef __cplusplus
22823 }
22824 #endif
22825
22826 int
22827 main ()
22828 {
22829 return f != $ac_func;
22830   ;
22831   return 0;
22832 }
22833 _ACEOF
22834 rm -f conftest.$ac_objext conftest$ac_exeext
22835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22836   (eval $ac_link) 2>conftest.er1
22837   ac_status=$?
22838   grep -v '^ *+' conftest.er1 >conftest.err
22839   rm -f conftest.er1
22840   cat conftest.err >&5
22841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842   (exit $ac_status); } &&
22843          { ac_try='test -z "$ac_c_werror_flag"
22844                          || test ! -s conftest.err'
22845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846   (eval $ac_try) 2>&5
22847   ac_status=$?
22848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849   (exit $ac_status); }; } &&
22850          { ac_try='test -s conftest$ac_exeext'
22851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852   (eval $ac_try) 2>&5
22853   ac_status=$?
22854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855   (exit $ac_status); }; }; then
22856   eval "$as_ac_var=yes"
22857 else
22858   echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22860
22861 eval "$as_ac_var=no"
22862 fi
22863 rm -f conftest.err conftest.$ac_objext \
22864       conftest$ac_exeext conftest.$ac_ext
22865 fi
22866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22868 if test `eval echo '${'$as_ac_var'}'` = yes; then
22869   cat >>confdefs.h <<_ACEOF
22870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22871 _ACEOF
22872
22873 fi
22874 done
22875
22876     fi
22877   fi
22878
22879
22880
22881
22882
22883
22884   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22885 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22886   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22887     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22888   echo $ECHO_N "(cached) $ECHO_C" >&6
22889 else
22890
22891
22892
22893       ac_ext=cc
22894 ac_cpp='$CXXCPP $CPPFLAGS'
22895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22898
22899       cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h.  */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h.  */
22905 #include <math.h>
22906 int
22907 main ()
22908 {
22909  ldexpl(0, 0);
22910   ;
22911   return 0;
22912 }
22913 _ACEOF
22914 rm -f conftest.$ac_objext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22916   (eval $ac_compile) 2>conftest.er1
22917   ac_status=$?
22918   grep -v '^ *+' conftest.er1 >conftest.err
22919   rm -f conftest.er1
22920   cat conftest.err >&5
22921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922   (exit $ac_status); } &&
22923          { ac_try='test -z "$ac_cxx_werror_flag"
22924                          || test ! -s conftest.err'
22925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926   (eval $ac_try) 2>&5
22927   ac_status=$?
22928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929   (exit $ac_status); }; } &&
22930          { ac_try='test -s conftest.$ac_objext'
22931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932   (eval $ac_try) 2>&5
22933   ac_status=$?
22934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935   (exit $ac_status); }; }; then
22936   glibcxx_cv_func_ldexpl_use=yes
22937 else
22938   echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22940
22941 glibcxx_cv_func_ldexpl_use=no
22942 fi
22943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22944       ac_ext=c
22945 ac_cpp='$CPP $CPPFLAGS'
22946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22949
22950
22951 fi
22952
22953   fi
22954   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22955 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22956
22957   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22958
22959 for ac_func in ldexpl
22960 do
22961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22962 echo "$as_me:$LINENO: checking for $ac_func" >&5
22963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22964 if eval "test \"\${$as_ac_var+set}\" = set"; then
22965   echo $ECHO_N "(cached) $ECHO_C" >&6
22966 else
22967   if test x$gcc_no_link = xyes; then
22968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22970    { (exit 1); exit 1; }; }
22971 fi
22972 cat >conftest.$ac_ext <<_ACEOF
22973 /* confdefs.h.  */
22974 _ACEOF
22975 cat confdefs.h >>conftest.$ac_ext
22976 cat >>conftest.$ac_ext <<_ACEOF
22977 /* end confdefs.h.  */
22978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22980 #define $ac_func innocuous_$ac_func
22981
22982 /* System header to define __stub macros and hopefully few prototypes,
22983     which can conflict with char $ac_func (); below.
22984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22985     <limits.h> exists even on freestanding compilers.  */
22986
22987 #ifdef __STDC__
22988 # include <limits.h>
22989 #else
22990 # include <assert.h>
22991 #endif
22992
22993 #undef $ac_func
22994
22995 /* Override any gcc2 internal prototype to avoid an error.  */
22996 #ifdef __cplusplus
22997 extern "C"
22998 {
22999 #endif
23000 /* We use char because int might match the return type of a gcc2
23001    builtin and then its argument prototype would still apply.  */
23002 char $ac_func ();
23003 /* The GNU C library defines this for functions which it implements
23004     to always fail with ENOSYS.  Some functions are actually named
23005     something starting with __ and the normal name is an alias.  */
23006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23007 choke me
23008 #else
23009 char (*f) () = $ac_func;
23010 #endif
23011 #ifdef __cplusplus
23012 }
23013 #endif
23014
23015 int
23016 main ()
23017 {
23018 return f != $ac_func;
23019   ;
23020   return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext conftest$ac_exeext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23025   (eval $ac_link) 2>conftest.er1
23026   ac_status=$?
23027   grep -v '^ *+' conftest.er1 >conftest.err
23028   rm -f conftest.er1
23029   cat conftest.err >&5
23030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031   (exit $ac_status); } &&
23032          { ac_try='test -z "$ac_c_werror_flag"
23033                          || test ! -s conftest.err'
23034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035   (eval $ac_try) 2>&5
23036   ac_status=$?
23037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038   (exit $ac_status); }; } &&
23039          { ac_try='test -s conftest$ac_exeext'
23040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041   (eval $ac_try) 2>&5
23042   ac_status=$?
23043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044   (exit $ac_status); }; }; then
23045   eval "$as_ac_var=yes"
23046 else
23047   echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23049
23050 eval "$as_ac_var=no"
23051 fi
23052 rm -f conftest.err conftest.$ac_objext \
23053       conftest$ac_exeext conftest.$ac_ext
23054 fi
23055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23057 if test `eval echo '${'$as_ac_var'}'` = yes; then
23058   cat >>confdefs.h <<_ACEOF
23059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23060 _ACEOF
23061
23062 fi
23063 done
23064
23065   else
23066
23067   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23068 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23069   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23070     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23071   echo $ECHO_N "(cached) $ECHO_C" >&6
23072 else
23073
23074
23075
23076       ac_ext=cc
23077 ac_cpp='$CXXCPP $CPPFLAGS'
23078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23081
23082       cat >conftest.$ac_ext <<_ACEOF
23083 /* confdefs.h.  */
23084 _ACEOF
23085 cat confdefs.h >>conftest.$ac_ext
23086 cat >>conftest.$ac_ext <<_ACEOF
23087 /* end confdefs.h.  */
23088 #include <math.h>
23089 int
23090 main ()
23091 {
23092  _ldexpl(0, 0);
23093   ;
23094   return 0;
23095 }
23096 _ACEOF
23097 rm -f conftest.$ac_objext
23098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23099   (eval $ac_compile) 2>conftest.er1
23100   ac_status=$?
23101   grep -v '^ *+' conftest.er1 >conftest.err
23102   rm -f conftest.er1
23103   cat conftest.err >&5
23104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105   (exit $ac_status); } &&
23106          { ac_try='test -z "$ac_cxx_werror_flag"
23107                          || test ! -s conftest.err'
23108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109   (eval $ac_try) 2>&5
23110   ac_status=$?
23111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112   (exit $ac_status); }; } &&
23113          { ac_try='test -s conftest.$ac_objext'
23114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115   (eval $ac_try) 2>&5
23116   ac_status=$?
23117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118   (exit $ac_status); }; }; then
23119   glibcxx_cv_func__ldexpl_use=yes
23120 else
23121   echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.$ac_ext >&5
23123
23124 glibcxx_cv_func__ldexpl_use=no
23125 fi
23126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23127       ac_ext=c
23128 ac_cpp='$CPP $CPPFLAGS'
23129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23132
23133
23134 fi
23135
23136   fi
23137   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23138 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23139
23140     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23141
23142 for ac_func in _ldexpl
23143 do
23144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23145 echo "$as_me:$LINENO: checking for $ac_func" >&5
23146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23147 if eval "test \"\${$as_ac_var+set}\" = set"; then
23148   echo $ECHO_N "(cached) $ECHO_C" >&6
23149 else
23150   if test x$gcc_no_link = xyes; then
23151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23153    { (exit 1); exit 1; }; }
23154 fi
23155 cat >conftest.$ac_ext <<_ACEOF
23156 /* confdefs.h.  */
23157 _ACEOF
23158 cat confdefs.h >>conftest.$ac_ext
23159 cat >>conftest.$ac_ext <<_ACEOF
23160 /* end confdefs.h.  */
23161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23163 #define $ac_func innocuous_$ac_func
23164
23165 /* System header to define __stub macros and hopefully few prototypes,
23166     which can conflict with char $ac_func (); below.
23167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23168     <limits.h> exists even on freestanding compilers.  */
23169
23170 #ifdef __STDC__
23171 # include <limits.h>
23172 #else
23173 # include <assert.h>
23174 #endif
23175
23176 #undef $ac_func
23177
23178 /* Override any gcc2 internal prototype to avoid an error.  */
23179 #ifdef __cplusplus
23180 extern "C"
23181 {
23182 #endif
23183 /* We use char because int might match the return type of a gcc2
23184    builtin and then its argument prototype would still apply.  */
23185 char $ac_func ();
23186 /* The GNU C library defines this for functions which it implements
23187     to always fail with ENOSYS.  Some functions are actually named
23188     something starting with __ and the normal name is an alias.  */
23189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23190 choke me
23191 #else
23192 char (*f) () = $ac_func;
23193 #endif
23194 #ifdef __cplusplus
23195 }
23196 #endif
23197
23198 int
23199 main ()
23200 {
23201 return f != $ac_func;
23202   ;
23203   return 0;
23204 }
23205 _ACEOF
23206 rm -f conftest.$ac_objext conftest$ac_exeext
23207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23208   (eval $ac_link) 2>conftest.er1
23209   ac_status=$?
23210   grep -v '^ *+' conftest.er1 >conftest.err
23211   rm -f conftest.er1
23212   cat conftest.err >&5
23213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214   (exit $ac_status); } &&
23215          { ac_try='test -z "$ac_c_werror_flag"
23216                          || test ! -s conftest.err'
23217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23218   (eval $ac_try) 2>&5
23219   ac_status=$?
23220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221   (exit $ac_status); }; } &&
23222          { ac_try='test -s conftest$ac_exeext'
23223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224   (eval $ac_try) 2>&5
23225   ac_status=$?
23226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227   (exit $ac_status); }; }; then
23228   eval "$as_ac_var=yes"
23229 else
23230   echo "$as_me: failed program was:" >&5
23231 sed 's/^/| /' conftest.$ac_ext >&5
23232
23233 eval "$as_ac_var=no"
23234 fi
23235 rm -f conftest.err conftest.$ac_objext \
23236       conftest$ac_exeext conftest.$ac_ext
23237 fi
23238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23240 if test `eval echo '${'$as_ac_var'}'` = yes; then
23241   cat >>confdefs.h <<_ACEOF
23242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23243 _ACEOF
23244
23245 fi
23246 done
23247
23248     fi
23249   fi
23250
23251
23252
23253
23254
23255
23256   echo "$as_me:$LINENO: checking for logl declaration" >&5
23257 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23258   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23259     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23260   echo $ECHO_N "(cached) $ECHO_C" >&6
23261 else
23262
23263
23264
23265       ac_ext=cc
23266 ac_cpp='$CXXCPP $CPPFLAGS'
23267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23270
23271       cat >conftest.$ac_ext <<_ACEOF
23272 /* confdefs.h.  */
23273 _ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h.  */
23277 #include <math.h>
23278                       #ifdef HAVE_IEEEFP_H
23279                       #include <ieeefp.h>
23280                       #endif
23281
23282 int
23283 main ()
23284 {
23285  logl(0);
23286   ;
23287   return 0;
23288 }
23289 _ACEOF
23290 rm -f conftest.$ac_objext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23292   (eval $ac_compile) 2>conftest.er1
23293   ac_status=$?
23294   grep -v '^ *+' conftest.er1 >conftest.err
23295   rm -f conftest.er1
23296   cat conftest.err >&5
23297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298   (exit $ac_status); } &&
23299          { ac_try='test -z "$ac_cxx_werror_flag"
23300                          || test ! -s conftest.err'
23301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302   (eval $ac_try) 2>&5
23303   ac_status=$?
23304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305   (exit $ac_status); }; } &&
23306          { ac_try='test -s conftest.$ac_objext'
23307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308   (eval $ac_try) 2>&5
23309   ac_status=$?
23310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311   (exit $ac_status); }; }; then
23312   glibcxx_cv_func_logl_use=yes
23313 else
23314   echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.$ac_ext >&5
23316
23317 glibcxx_cv_func_logl_use=no
23318 fi
23319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23320       ac_ext=c
23321 ac_cpp='$CPP $CPPFLAGS'
23322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23325
23326
23327 fi
23328
23329   fi
23330   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23331 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23332
23333   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23334
23335 for ac_func in logl
23336 do
23337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23338 echo "$as_me:$LINENO: checking for $ac_func" >&5
23339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23340 if eval "test \"\${$as_ac_var+set}\" = set"; then
23341   echo $ECHO_N "(cached) $ECHO_C" >&6
23342 else
23343   if test x$gcc_no_link = xyes; then
23344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23346    { (exit 1); exit 1; }; }
23347 fi
23348 cat >conftest.$ac_ext <<_ACEOF
23349 /* confdefs.h.  */
23350 _ACEOF
23351 cat confdefs.h >>conftest.$ac_ext
23352 cat >>conftest.$ac_ext <<_ACEOF
23353 /* end confdefs.h.  */
23354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23356 #define $ac_func innocuous_$ac_func
23357
23358 /* System header to define __stub macros and hopefully few prototypes,
23359     which can conflict with char $ac_func (); below.
23360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23361     <limits.h> exists even on freestanding compilers.  */
23362
23363 #ifdef __STDC__
23364 # include <limits.h>
23365 #else
23366 # include <assert.h>
23367 #endif
23368
23369 #undef $ac_func
23370
23371 /* Override any gcc2 internal prototype to avoid an error.  */
23372 #ifdef __cplusplus
23373 extern "C"
23374 {
23375 #endif
23376 /* We use char because int might match the return type of a gcc2
23377    builtin and then its argument prototype would still apply.  */
23378 char $ac_func ();
23379 /* The GNU C library defines this for functions which it implements
23380     to always fail with ENOSYS.  Some functions are actually named
23381     something starting with __ and the normal name is an alias.  */
23382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23383 choke me
23384 #else
23385 char (*f) () = $ac_func;
23386 #endif
23387 #ifdef __cplusplus
23388 }
23389 #endif
23390
23391 int
23392 main ()
23393 {
23394 return f != $ac_func;
23395   ;
23396   return 0;
23397 }
23398 _ACEOF
23399 rm -f conftest.$ac_objext conftest$ac_exeext
23400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23401   (eval $ac_link) 2>conftest.er1
23402   ac_status=$?
23403   grep -v '^ *+' conftest.er1 >conftest.err
23404   rm -f conftest.er1
23405   cat conftest.err >&5
23406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407   (exit $ac_status); } &&
23408          { ac_try='test -z "$ac_c_werror_flag"
23409                          || test ! -s conftest.err'
23410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411   (eval $ac_try) 2>&5
23412   ac_status=$?
23413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414   (exit $ac_status); }; } &&
23415          { ac_try='test -s conftest$ac_exeext'
23416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417   (eval $ac_try) 2>&5
23418   ac_status=$?
23419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420   (exit $ac_status); }; }; then
23421   eval "$as_ac_var=yes"
23422 else
23423   echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.$ac_ext >&5
23425
23426 eval "$as_ac_var=no"
23427 fi
23428 rm -f conftest.err conftest.$ac_objext \
23429       conftest$ac_exeext conftest.$ac_ext
23430 fi
23431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23433 if test `eval echo '${'$as_ac_var'}'` = yes; then
23434   cat >>confdefs.h <<_ACEOF
23435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23436 _ACEOF
23437
23438 fi
23439 done
23440
23441   else
23442
23443   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23444 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23445   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23446     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23447   echo $ECHO_N "(cached) $ECHO_C" >&6
23448 else
23449
23450
23451
23452       ac_ext=cc
23453 ac_cpp='$CXXCPP $CPPFLAGS'
23454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23457
23458       cat >conftest.$ac_ext <<_ACEOF
23459 /* confdefs.h.  */
23460 _ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h.  */
23464 #include <math.h>
23465                       #ifdef HAVE_IEEEFP_H
23466                       #include <ieeefp.h>
23467                       #endif
23468
23469 int
23470 main ()
23471 {
23472  _logl(0);
23473   ;
23474   return 0;
23475 }
23476 _ACEOF
23477 rm -f conftest.$ac_objext
23478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23479   (eval $ac_compile) 2>conftest.er1
23480   ac_status=$?
23481   grep -v '^ *+' conftest.er1 >conftest.err
23482   rm -f conftest.er1
23483   cat conftest.err >&5
23484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485   (exit $ac_status); } &&
23486          { ac_try='test -z "$ac_cxx_werror_flag"
23487                          || test ! -s conftest.err'
23488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489   (eval $ac_try) 2>&5
23490   ac_status=$?
23491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492   (exit $ac_status); }; } &&
23493          { ac_try='test -s conftest.$ac_objext'
23494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495   (eval $ac_try) 2>&5
23496   ac_status=$?
23497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498   (exit $ac_status); }; }; then
23499   glibcxx_cv_func__logl_use=yes
23500 else
23501   echo "$as_me: failed program was:" >&5
23502 sed 's/^/| /' conftest.$ac_ext >&5
23503
23504 glibcxx_cv_func__logl_use=no
23505 fi
23506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23507       ac_ext=c
23508 ac_cpp='$CPP $CPPFLAGS'
23509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23512
23513
23514 fi
23515
23516   fi
23517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23518 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23519
23520     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23521
23522 for ac_func in _logl
23523 do
23524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23525 echo "$as_me:$LINENO: checking for $ac_func" >&5
23526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23527 if eval "test \"\${$as_ac_var+set}\" = set"; then
23528   echo $ECHO_N "(cached) $ECHO_C" >&6
23529 else
23530   if test x$gcc_no_link = xyes; then
23531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23533    { (exit 1); exit 1; }; }
23534 fi
23535 cat >conftest.$ac_ext <<_ACEOF
23536 /* confdefs.h.  */
23537 _ACEOF
23538 cat confdefs.h >>conftest.$ac_ext
23539 cat >>conftest.$ac_ext <<_ACEOF
23540 /* end confdefs.h.  */
23541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23543 #define $ac_func innocuous_$ac_func
23544
23545 /* System header to define __stub macros and hopefully few prototypes,
23546     which can conflict with char $ac_func (); below.
23547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23548     <limits.h> exists even on freestanding compilers.  */
23549
23550 #ifdef __STDC__
23551 # include <limits.h>
23552 #else
23553 # include <assert.h>
23554 #endif
23555
23556 #undef $ac_func
23557
23558 /* Override any gcc2 internal prototype to avoid an error.  */
23559 #ifdef __cplusplus
23560 extern "C"
23561 {
23562 #endif
23563 /* We use char because int might match the return type of a gcc2
23564    builtin and then its argument prototype would still apply.  */
23565 char $ac_func ();
23566 /* The GNU C library defines this for functions which it implements
23567     to always fail with ENOSYS.  Some functions are actually named
23568     something starting with __ and the normal name is an alias.  */
23569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23570 choke me
23571 #else
23572 char (*f) () = $ac_func;
23573 #endif
23574 #ifdef __cplusplus
23575 }
23576 #endif
23577
23578 int
23579 main ()
23580 {
23581 return f != $ac_func;
23582   ;
23583   return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext conftest$ac_exeext
23587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23588   (eval $ac_link) 2>conftest.er1
23589   ac_status=$?
23590   grep -v '^ *+' conftest.er1 >conftest.err
23591   rm -f conftest.er1
23592   cat conftest.err >&5
23593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594   (exit $ac_status); } &&
23595          { ac_try='test -z "$ac_c_werror_flag"
23596                          || test ! -s conftest.err'
23597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598   (eval $ac_try) 2>&5
23599   ac_status=$?
23600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601   (exit $ac_status); }; } &&
23602          { ac_try='test -s conftest$ac_exeext'
23603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604   (eval $ac_try) 2>&5
23605   ac_status=$?
23606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607   (exit $ac_status); }; }; then
23608   eval "$as_ac_var=yes"
23609 else
23610   echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23612
23613 eval "$as_ac_var=no"
23614 fi
23615 rm -f conftest.err conftest.$ac_objext \
23616       conftest$ac_exeext conftest.$ac_ext
23617 fi
23618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23620 if test `eval echo '${'$as_ac_var'}'` = yes; then
23621   cat >>confdefs.h <<_ACEOF
23622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23623 _ACEOF
23624
23625 fi
23626 done
23627
23628     fi
23629   fi
23630
23631
23632
23633
23634
23635
23636   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23637 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23638   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23639     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23640   echo $ECHO_N "(cached) $ECHO_C" >&6
23641 else
23642
23643
23644
23645       ac_ext=cc
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651       cat >conftest.$ac_ext <<_ACEOF
23652 /* confdefs.h.  */
23653 _ACEOF
23654 cat confdefs.h >>conftest.$ac_ext
23655 cat >>conftest.$ac_ext <<_ACEOF
23656 /* end confdefs.h.  */
23657 #include <math.h>
23658                       #ifdef HAVE_IEEEFP_H
23659                       #include <ieeefp.h>
23660                       #endif
23661
23662 int
23663 main ()
23664 {
23665  log10l(0);
23666   ;
23667   return 0;
23668 }
23669 _ACEOF
23670 rm -f conftest.$ac_objext
23671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23672   (eval $ac_compile) 2>conftest.er1
23673   ac_status=$?
23674   grep -v '^ *+' conftest.er1 >conftest.err
23675   rm -f conftest.er1
23676   cat conftest.err >&5
23677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678   (exit $ac_status); } &&
23679          { ac_try='test -z "$ac_cxx_werror_flag"
23680                          || test ! -s conftest.err'
23681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682   (eval $ac_try) 2>&5
23683   ac_status=$?
23684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685   (exit $ac_status); }; } &&
23686          { ac_try='test -s conftest.$ac_objext'
23687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23688   (eval $ac_try) 2>&5
23689   ac_status=$?
23690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691   (exit $ac_status); }; }; then
23692   glibcxx_cv_func_log10l_use=yes
23693 else
23694   echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23696
23697 glibcxx_cv_func_log10l_use=no
23698 fi
23699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23700       ac_ext=c
23701 ac_cpp='$CPP $CPPFLAGS'
23702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23705
23706
23707 fi
23708
23709   fi
23710   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23711 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23712
23713   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23714
23715 for ac_func in log10l
23716 do
23717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23718 echo "$as_me:$LINENO: checking for $ac_func" >&5
23719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23720 if eval "test \"\${$as_ac_var+set}\" = set"; then
23721   echo $ECHO_N "(cached) $ECHO_C" >&6
23722 else
23723   if test x$gcc_no_link = xyes; then
23724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23726    { (exit 1); exit 1; }; }
23727 fi
23728 cat >conftest.$ac_ext <<_ACEOF
23729 /* confdefs.h.  */
23730 _ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h.  */
23734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23736 #define $ac_func innocuous_$ac_func
23737
23738 /* System header to define __stub macros and hopefully few prototypes,
23739     which can conflict with char $ac_func (); below.
23740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23741     <limits.h> exists even on freestanding compilers.  */
23742
23743 #ifdef __STDC__
23744 # include <limits.h>
23745 #else
23746 # include <assert.h>
23747 #endif
23748
23749 #undef $ac_func
23750
23751 /* Override any gcc2 internal prototype to avoid an error.  */
23752 #ifdef __cplusplus
23753 extern "C"
23754 {
23755 #endif
23756 /* We use char because int might match the return type of a gcc2
23757    builtin and then its argument prototype would still apply.  */
23758 char $ac_func ();
23759 /* The GNU C library defines this for functions which it implements
23760     to always fail with ENOSYS.  Some functions are actually named
23761     something starting with __ and the normal name is an alias.  */
23762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23763 choke me
23764 #else
23765 char (*f) () = $ac_func;
23766 #endif
23767 #ifdef __cplusplus
23768 }
23769 #endif
23770
23771 int
23772 main ()
23773 {
23774 return f != $ac_func;
23775   ;
23776   return 0;
23777 }
23778 _ACEOF
23779 rm -f conftest.$ac_objext conftest$ac_exeext
23780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23781   (eval $ac_link) 2>conftest.er1
23782   ac_status=$?
23783   grep -v '^ *+' conftest.er1 >conftest.err
23784   rm -f conftest.er1
23785   cat conftest.err >&5
23786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787   (exit $ac_status); } &&
23788          { ac_try='test -z "$ac_c_werror_flag"
23789                          || test ! -s conftest.err'
23790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791   (eval $ac_try) 2>&5
23792   ac_status=$?
23793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794   (exit $ac_status); }; } &&
23795          { ac_try='test -s conftest$ac_exeext'
23796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797   (eval $ac_try) 2>&5
23798   ac_status=$?
23799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800   (exit $ac_status); }; }; then
23801   eval "$as_ac_var=yes"
23802 else
23803   echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23805
23806 eval "$as_ac_var=no"
23807 fi
23808 rm -f conftest.err conftest.$ac_objext \
23809       conftest$ac_exeext conftest.$ac_ext
23810 fi
23811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23813 if test `eval echo '${'$as_ac_var'}'` = yes; then
23814   cat >>confdefs.h <<_ACEOF
23815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23816 _ACEOF
23817
23818 fi
23819 done
23820
23821   else
23822
23823   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23824 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23825   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23826     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23827   echo $ECHO_N "(cached) $ECHO_C" >&6
23828 else
23829
23830
23831
23832       ac_ext=cc
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837
23838       cat >conftest.$ac_ext <<_ACEOF
23839 /* confdefs.h.  */
23840 _ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h.  */
23844 #include <math.h>
23845                       #ifdef HAVE_IEEEFP_H
23846                       #include <ieeefp.h>
23847                       #endif
23848
23849 int
23850 main ()
23851 {
23852  _log10l(0);
23853   ;
23854   return 0;
23855 }
23856 _ACEOF
23857 rm -f conftest.$ac_objext
23858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23859   (eval $ac_compile) 2>conftest.er1
23860   ac_status=$?
23861   grep -v '^ *+' conftest.er1 >conftest.err
23862   rm -f conftest.er1
23863   cat conftest.err >&5
23864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865   (exit $ac_status); } &&
23866          { ac_try='test -z "$ac_cxx_werror_flag"
23867                          || test ! -s conftest.err'
23868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23869   (eval $ac_try) 2>&5
23870   ac_status=$?
23871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872   (exit $ac_status); }; } &&
23873          { ac_try='test -s conftest.$ac_objext'
23874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875   (eval $ac_try) 2>&5
23876   ac_status=$?
23877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878   (exit $ac_status); }; }; then
23879   glibcxx_cv_func__log10l_use=yes
23880 else
23881   echo "$as_me: failed program was:" >&5
23882 sed 's/^/| /' conftest.$ac_ext >&5
23883
23884 glibcxx_cv_func__log10l_use=no
23885 fi
23886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23887       ac_ext=c
23888 ac_cpp='$CPP $CPPFLAGS'
23889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23892
23893
23894 fi
23895
23896   fi
23897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23898 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23899
23900     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23901
23902 for ac_func in _log10l
23903 do
23904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23905 echo "$as_me:$LINENO: checking for $ac_func" >&5
23906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23907 if eval "test \"\${$as_ac_var+set}\" = set"; then
23908   echo $ECHO_N "(cached) $ECHO_C" >&6
23909 else
23910   if test x$gcc_no_link = xyes; then
23911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23913    { (exit 1); exit 1; }; }
23914 fi
23915 cat >conftest.$ac_ext <<_ACEOF
23916 /* confdefs.h.  */
23917 _ACEOF
23918 cat confdefs.h >>conftest.$ac_ext
23919 cat >>conftest.$ac_ext <<_ACEOF
23920 /* end confdefs.h.  */
23921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23923 #define $ac_func innocuous_$ac_func
23924
23925 /* System header to define __stub macros and hopefully few prototypes,
23926     which can conflict with char $ac_func (); below.
23927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23928     <limits.h> exists even on freestanding compilers.  */
23929
23930 #ifdef __STDC__
23931 # include <limits.h>
23932 #else
23933 # include <assert.h>
23934 #endif
23935
23936 #undef $ac_func
23937
23938 /* Override any gcc2 internal prototype to avoid an error.  */
23939 #ifdef __cplusplus
23940 extern "C"
23941 {
23942 #endif
23943 /* We use char because int might match the return type of a gcc2
23944    builtin and then its argument prototype would still apply.  */
23945 char $ac_func ();
23946 /* The GNU C library defines this for functions which it implements
23947     to always fail with ENOSYS.  Some functions are actually named
23948     something starting with __ and the normal name is an alias.  */
23949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23950 choke me
23951 #else
23952 char (*f) () = $ac_func;
23953 #endif
23954 #ifdef __cplusplus
23955 }
23956 #endif
23957
23958 int
23959 main ()
23960 {
23961 return f != $ac_func;
23962   ;
23963   return 0;
23964 }
23965 _ACEOF
23966 rm -f conftest.$ac_objext conftest$ac_exeext
23967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23968   (eval $ac_link) 2>conftest.er1
23969   ac_status=$?
23970   grep -v '^ *+' conftest.er1 >conftest.err
23971   rm -f conftest.er1
23972   cat conftest.err >&5
23973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974   (exit $ac_status); } &&
23975          { ac_try='test -z "$ac_c_werror_flag"
23976                          || test ! -s conftest.err'
23977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978   (eval $ac_try) 2>&5
23979   ac_status=$?
23980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981   (exit $ac_status); }; } &&
23982          { ac_try='test -s conftest$ac_exeext'
23983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984   (eval $ac_try) 2>&5
23985   ac_status=$?
23986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987   (exit $ac_status); }; }; then
23988   eval "$as_ac_var=yes"
23989 else
23990   echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23992
23993 eval "$as_ac_var=no"
23994 fi
23995 rm -f conftest.err conftest.$ac_objext \
23996       conftest$ac_exeext conftest.$ac_ext
23997 fi
23998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24000 if test `eval echo '${'$as_ac_var'}'` = yes; then
24001   cat >>confdefs.h <<_ACEOF
24002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24003 _ACEOF
24004
24005 fi
24006 done
24007
24008     fi
24009   fi
24010
24011
24012
24013
24014
24015
24016   echo "$as_me:$LINENO: checking for modfl declaration" >&5
24017 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24018   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24019     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24020   echo $ECHO_N "(cached) $ECHO_C" >&6
24021 else
24022
24023
24024
24025       ac_ext=cc
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030
24031       cat >conftest.$ac_ext <<_ACEOF
24032 /* confdefs.h.  */
24033 _ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h.  */
24037 #include <math.h>
24038 int
24039 main ()
24040 {
24041  modfl(0, 0);
24042   ;
24043   return 0;
24044 }
24045 _ACEOF
24046 rm -f conftest.$ac_objext
24047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24048   (eval $ac_compile) 2>conftest.er1
24049   ac_status=$?
24050   grep -v '^ *+' conftest.er1 >conftest.err
24051   rm -f conftest.er1
24052   cat conftest.err >&5
24053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054   (exit $ac_status); } &&
24055          { ac_try='test -z "$ac_cxx_werror_flag"
24056                          || test ! -s conftest.err'
24057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058   (eval $ac_try) 2>&5
24059   ac_status=$?
24060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061   (exit $ac_status); }; } &&
24062          { ac_try='test -s conftest.$ac_objext'
24063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064   (eval $ac_try) 2>&5
24065   ac_status=$?
24066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067   (exit $ac_status); }; }; then
24068   glibcxx_cv_func_modfl_use=yes
24069 else
24070   echo "$as_me: failed program was:" >&5
24071 sed 's/^/| /' conftest.$ac_ext >&5
24072
24073 glibcxx_cv_func_modfl_use=no
24074 fi
24075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24076       ac_ext=c
24077 ac_cpp='$CPP $CPPFLAGS'
24078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081
24082
24083 fi
24084
24085   fi
24086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24087 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24088
24089   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24090
24091 for ac_func in modfl
24092 do
24093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24094 echo "$as_me:$LINENO: checking for $ac_func" >&5
24095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24096 if eval "test \"\${$as_ac_var+set}\" = set"; then
24097   echo $ECHO_N "(cached) $ECHO_C" >&6
24098 else
24099   if test x$gcc_no_link = xyes; then
24100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24102    { (exit 1); exit 1; }; }
24103 fi
24104 cat >conftest.$ac_ext <<_ACEOF
24105 /* confdefs.h.  */
24106 _ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h.  */
24110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24112 #define $ac_func innocuous_$ac_func
24113
24114 /* System header to define __stub macros and hopefully few prototypes,
24115     which can conflict with char $ac_func (); below.
24116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24117     <limits.h> exists even on freestanding compilers.  */
24118
24119 #ifdef __STDC__
24120 # include <limits.h>
24121 #else
24122 # include <assert.h>
24123 #endif
24124
24125 #undef $ac_func
24126
24127 /* Override any gcc2 internal prototype to avoid an error.  */
24128 #ifdef __cplusplus
24129 extern "C"
24130 {
24131 #endif
24132 /* We use char because int might match the return type of a gcc2
24133    builtin and then its argument prototype would still apply.  */
24134 char $ac_func ();
24135 /* The GNU C library defines this for functions which it implements
24136     to always fail with ENOSYS.  Some functions are actually named
24137     something starting with __ and the normal name is an alias.  */
24138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24139 choke me
24140 #else
24141 char (*f) () = $ac_func;
24142 #endif
24143 #ifdef __cplusplus
24144 }
24145 #endif
24146
24147 int
24148 main ()
24149 {
24150 return f != $ac_func;
24151   ;
24152   return 0;
24153 }
24154 _ACEOF
24155 rm -f conftest.$ac_objext conftest$ac_exeext
24156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24157   (eval $ac_link) 2>conftest.er1
24158   ac_status=$?
24159   grep -v '^ *+' conftest.er1 >conftest.err
24160   rm -f conftest.er1
24161   cat conftest.err >&5
24162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163   (exit $ac_status); } &&
24164          { ac_try='test -z "$ac_c_werror_flag"
24165                          || test ! -s conftest.err'
24166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167   (eval $ac_try) 2>&5
24168   ac_status=$?
24169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170   (exit $ac_status); }; } &&
24171          { ac_try='test -s conftest$ac_exeext'
24172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173   (eval $ac_try) 2>&5
24174   ac_status=$?
24175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176   (exit $ac_status); }; }; then
24177   eval "$as_ac_var=yes"
24178 else
24179   echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24181
24182 eval "$as_ac_var=no"
24183 fi
24184 rm -f conftest.err conftest.$ac_objext \
24185       conftest$ac_exeext conftest.$ac_ext
24186 fi
24187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24189 if test `eval echo '${'$as_ac_var'}'` = yes; then
24190   cat >>confdefs.h <<_ACEOF
24191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24192 _ACEOF
24193
24194 fi
24195 done
24196
24197   else
24198
24199   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24200 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24201   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24202     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24203   echo $ECHO_N "(cached) $ECHO_C" >&6
24204 else
24205
24206
24207
24208       ac_ext=cc
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24213
24214       cat >conftest.$ac_ext <<_ACEOF
24215 /* confdefs.h.  */
24216 _ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h.  */
24220 #include <math.h>
24221 int
24222 main ()
24223 {
24224  _modfl(0, 0);
24225   ;
24226   return 0;
24227 }
24228 _ACEOF
24229 rm -f conftest.$ac_objext
24230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24231   (eval $ac_compile) 2>conftest.er1
24232   ac_status=$?
24233   grep -v '^ *+' conftest.er1 >conftest.err
24234   rm -f conftest.er1
24235   cat conftest.err >&5
24236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237   (exit $ac_status); } &&
24238          { ac_try='test -z "$ac_cxx_werror_flag"
24239                          || test ! -s conftest.err'
24240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241   (eval $ac_try) 2>&5
24242   ac_status=$?
24243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244   (exit $ac_status); }; } &&
24245          { ac_try='test -s conftest.$ac_objext'
24246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247   (eval $ac_try) 2>&5
24248   ac_status=$?
24249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250   (exit $ac_status); }; }; then
24251   glibcxx_cv_func__modfl_use=yes
24252 else
24253   echo "$as_me: failed program was:" >&5
24254 sed 's/^/| /' conftest.$ac_ext >&5
24255
24256 glibcxx_cv_func__modfl_use=no
24257 fi
24258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24259       ac_ext=c
24260 ac_cpp='$CPP $CPPFLAGS'
24261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24264
24265
24266 fi
24267
24268   fi
24269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24270 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24271
24272     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24273
24274 for ac_func in _modfl
24275 do
24276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24277 echo "$as_me:$LINENO: checking for $ac_func" >&5
24278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24279 if eval "test \"\${$as_ac_var+set}\" = set"; then
24280   echo $ECHO_N "(cached) $ECHO_C" >&6
24281 else
24282   if test x$gcc_no_link = xyes; then
24283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24285    { (exit 1); exit 1; }; }
24286 fi
24287 cat >conftest.$ac_ext <<_ACEOF
24288 /* confdefs.h.  */
24289 _ACEOF
24290 cat confdefs.h >>conftest.$ac_ext
24291 cat >>conftest.$ac_ext <<_ACEOF
24292 /* end confdefs.h.  */
24293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24295 #define $ac_func innocuous_$ac_func
24296
24297 /* System header to define __stub macros and hopefully few prototypes,
24298     which can conflict with char $ac_func (); below.
24299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24300     <limits.h> exists even on freestanding compilers.  */
24301
24302 #ifdef __STDC__
24303 # include <limits.h>
24304 #else
24305 # include <assert.h>
24306 #endif
24307
24308 #undef $ac_func
24309
24310 /* Override any gcc2 internal prototype to avoid an error.  */
24311 #ifdef __cplusplus
24312 extern "C"
24313 {
24314 #endif
24315 /* We use char because int might match the return type of a gcc2
24316    builtin and then its argument prototype would still apply.  */
24317 char $ac_func ();
24318 /* The GNU C library defines this for functions which it implements
24319     to always fail with ENOSYS.  Some functions are actually named
24320     something starting with __ and the normal name is an alias.  */
24321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24322 choke me
24323 #else
24324 char (*f) () = $ac_func;
24325 #endif
24326 #ifdef __cplusplus
24327 }
24328 #endif
24329
24330 int
24331 main ()
24332 {
24333 return f != $ac_func;
24334   ;
24335   return 0;
24336 }
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24340   (eval $ac_link) 2>conftest.er1
24341   ac_status=$?
24342   grep -v '^ *+' conftest.er1 >conftest.err
24343   rm -f conftest.er1
24344   cat conftest.err >&5
24345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346   (exit $ac_status); } &&
24347          { ac_try='test -z "$ac_c_werror_flag"
24348                          || test ! -s conftest.err'
24349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350   (eval $ac_try) 2>&5
24351   ac_status=$?
24352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353   (exit $ac_status); }; } &&
24354          { ac_try='test -s conftest$ac_exeext'
24355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356   (eval $ac_try) 2>&5
24357   ac_status=$?
24358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359   (exit $ac_status); }; }; then
24360   eval "$as_ac_var=yes"
24361 else
24362   echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24364
24365 eval "$as_ac_var=no"
24366 fi
24367 rm -f conftest.err conftest.$ac_objext \
24368       conftest$ac_exeext conftest.$ac_ext
24369 fi
24370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24372 if test `eval echo '${'$as_ac_var'}'` = yes; then
24373   cat >>confdefs.h <<_ACEOF
24374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24375 _ACEOF
24376
24377 fi
24378 done
24379
24380     fi
24381   fi
24382
24383
24384
24385
24386
24387
24388   echo "$as_me:$LINENO: checking for powl declaration" >&5
24389 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24390   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24391     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24392   echo $ECHO_N "(cached) $ECHO_C" >&6
24393 else
24394
24395
24396
24397       ac_ext=cc
24398 ac_cpp='$CXXCPP $CPPFLAGS'
24399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24402
24403       cat >conftest.$ac_ext <<_ACEOF
24404 /* confdefs.h.  */
24405 _ACEOF
24406 cat confdefs.h >>conftest.$ac_ext
24407 cat >>conftest.$ac_ext <<_ACEOF
24408 /* end confdefs.h.  */
24409 #include <math.h>
24410 int
24411 main ()
24412 {
24413  powl(0, 0);
24414   ;
24415   return 0;
24416 }
24417 _ACEOF
24418 rm -f conftest.$ac_objext
24419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24420   (eval $ac_compile) 2>conftest.er1
24421   ac_status=$?
24422   grep -v '^ *+' conftest.er1 >conftest.err
24423   rm -f conftest.er1
24424   cat conftest.err >&5
24425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426   (exit $ac_status); } &&
24427          { ac_try='test -z "$ac_cxx_werror_flag"
24428                          || test ! -s conftest.err'
24429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430   (eval $ac_try) 2>&5
24431   ac_status=$?
24432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433   (exit $ac_status); }; } &&
24434          { ac_try='test -s conftest.$ac_objext'
24435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436   (eval $ac_try) 2>&5
24437   ac_status=$?
24438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439   (exit $ac_status); }; }; then
24440   glibcxx_cv_func_powl_use=yes
24441 else
24442   echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24444
24445 glibcxx_cv_func_powl_use=no
24446 fi
24447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24448       ac_ext=c
24449 ac_cpp='$CPP $CPPFLAGS'
24450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24453
24454
24455 fi
24456
24457   fi
24458   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24459 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24460
24461   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24462
24463 for ac_func in powl
24464 do
24465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24466 echo "$as_me:$LINENO: checking for $ac_func" >&5
24467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24468 if eval "test \"\${$as_ac_var+set}\" = set"; then
24469   echo $ECHO_N "(cached) $ECHO_C" >&6
24470 else
24471   if test x$gcc_no_link = xyes; then
24472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24474    { (exit 1); exit 1; }; }
24475 fi
24476 cat >conftest.$ac_ext <<_ACEOF
24477 /* confdefs.h.  */
24478 _ACEOF
24479 cat confdefs.h >>conftest.$ac_ext
24480 cat >>conftest.$ac_ext <<_ACEOF
24481 /* end confdefs.h.  */
24482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24484 #define $ac_func innocuous_$ac_func
24485
24486 /* System header to define __stub macros and hopefully few prototypes,
24487     which can conflict with char $ac_func (); below.
24488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24489     <limits.h> exists even on freestanding compilers.  */
24490
24491 #ifdef __STDC__
24492 # include <limits.h>
24493 #else
24494 # include <assert.h>
24495 #endif
24496
24497 #undef $ac_func
24498
24499 /* Override any gcc2 internal prototype to avoid an error.  */
24500 #ifdef __cplusplus
24501 extern "C"
24502 {
24503 #endif
24504 /* We use char because int might match the return type of a gcc2
24505    builtin and then its argument prototype would still apply.  */
24506 char $ac_func ();
24507 /* The GNU C library defines this for functions which it implements
24508     to always fail with ENOSYS.  Some functions are actually named
24509     something starting with __ and the normal name is an alias.  */
24510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24511 choke me
24512 #else
24513 char (*f) () = $ac_func;
24514 #endif
24515 #ifdef __cplusplus
24516 }
24517 #endif
24518
24519 int
24520 main ()
24521 {
24522 return f != $ac_func;
24523   ;
24524   return 0;
24525 }
24526 _ACEOF
24527 rm -f conftest.$ac_objext conftest$ac_exeext
24528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24529   (eval $ac_link) 2>conftest.er1
24530   ac_status=$?
24531   grep -v '^ *+' conftest.er1 >conftest.err
24532   rm -f conftest.er1
24533   cat conftest.err >&5
24534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535   (exit $ac_status); } &&
24536          { ac_try='test -z "$ac_c_werror_flag"
24537                          || test ! -s conftest.err'
24538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539   (eval $ac_try) 2>&5
24540   ac_status=$?
24541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542   (exit $ac_status); }; } &&
24543          { ac_try='test -s conftest$ac_exeext'
24544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545   (eval $ac_try) 2>&5
24546   ac_status=$?
24547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548   (exit $ac_status); }; }; then
24549   eval "$as_ac_var=yes"
24550 else
24551   echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24553
24554 eval "$as_ac_var=no"
24555 fi
24556 rm -f conftest.err conftest.$ac_objext \
24557       conftest$ac_exeext conftest.$ac_ext
24558 fi
24559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24561 if test `eval echo '${'$as_ac_var'}'` = yes; then
24562   cat >>confdefs.h <<_ACEOF
24563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24564 _ACEOF
24565
24566 fi
24567 done
24568
24569   else
24570
24571   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24572 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24573   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24574     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24575   echo $ECHO_N "(cached) $ECHO_C" >&6
24576 else
24577
24578
24579
24580       ac_ext=cc
24581 ac_cpp='$CXXCPP $CPPFLAGS'
24582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24585
24586       cat >conftest.$ac_ext <<_ACEOF
24587 /* confdefs.h.  */
24588 _ACEOF
24589 cat confdefs.h >>conftest.$ac_ext
24590 cat >>conftest.$ac_ext <<_ACEOF
24591 /* end confdefs.h.  */
24592 #include <math.h>
24593 int
24594 main ()
24595 {
24596  _powl(0, 0);
24597   ;
24598   return 0;
24599 }
24600 _ACEOF
24601 rm -f conftest.$ac_objext
24602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24603   (eval $ac_compile) 2>conftest.er1
24604   ac_status=$?
24605   grep -v '^ *+' conftest.er1 >conftest.err
24606   rm -f conftest.er1
24607   cat conftest.err >&5
24608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609   (exit $ac_status); } &&
24610          { ac_try='test -z "$ac_cxx_werror_flag"
24611                          || test ! -s conftest.err'
24612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613   (eval $ac_try) 2>&5
24614   ac_status=$?
24615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616   (exit $ac_status); }; } &&
24617          { ac_try='test -s conftest.$ac_objext'
24618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619   (eval $ac_try) 2>&5
24620   ac_status=$?
24621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622   (exit $ac_status); }; }; then
24623   glibcxx_cv_func__powl_use=yes
24624 else
24625   echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24627
24628 glibcxx_cv_func__powl_use=no
24629 fi
24630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24631       ac_ext=c
24632 ac_cpp='$CPP $CPPFLAGS'
24633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24636
24637
24638 fi
24639
24640   fi
24641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24642 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24643
24644     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24645
24646 for ac_func in _powl
24647 do
24648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24649 echo "$as_me:$LINENO: checking for $ac_func" >&5
24650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24651 if eval "test \"\${$as_ac_var+set}\" = set"; then
24652   echo $ECHO_N "(cached) $ECHO_C" >&6
24653 else
24654   if test x$gcc_no_link = xyes; then
24655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24657    { (exit 1); exit 1; }; }
24658 fi
24659 cat >conftest.$ac_ext <<_ACEOF
24660 /* confdefs.h.  */
24661 _ACEOF
24662 cat confdefs.h >>conftest.$ac_ext
24663 cat >>conftest.$ac_ext <<_ACEOF
24664 /* end confdefs.h.  */
24665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24667 #define $ac_func innocuous_$ac_func
24668
24669 /* System header to define __stub macros and hopefully few prototypes,
24670     which can conflict with char $ac_func (); below.
24671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24672     <limits.h> exists even on freestanding compilers.  */
24673
24674 #ifdef __STDC__
24675 # include <limits.h>
24676 #else
24677 # include <assert.h>
24678 #endif
24679
24680 #undef $ac_func
24681
24682 /* Override any gcc2 internal prototype to avoid an error.  */
24683 #ifdef __cplusplus
24684 extern "C"
24685 {
24686 #endif
24687 /* We use char because int might match the return type of a gcc2
24688    builtin and then its argument prototype would still apply.  */
24689 char $ac_func ();
24690 /* The GNU C library defines this for functions which it implements
24691     to always fail with ENOSYS.  Some functions are actually named
24692     something starting with __ and the normal name is an alias.  */
24693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24694 choke me
24695 #else
24696 char (*f) () = $ac_func;
24697 #endif
24698 #ifdef __cplusplus
24699 }
24700 #endif
24701
24702 int
24703 main ()
24704 {
24705 return f != $ac_func;
24706   ;
24707   return 0;
24708 }
24709 _ACEOF
24710 rm -f conftest.$ac_objext conftest$ac_exeext
24711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24712   (eval $ac_link) 2>conftest.er1
24713   ac_status=$?
24714   grep -v '^ *+' conftest.er1 >conftest.err
24715   rm -f conftest.er1
24716   cat conftest.err >&5
24717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718   (exit $ac_status); } &&
24719          { ac_try='test -z "$ac_c_werror_flag"
24720                          || test ! -s conftest.err'
24721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24722   (eval $ac_try) 2>&5
24723   ac_status=$?
24724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725   (exit $ac_status); }; } &&
24726          { ac_try='test -s conftest$ac_exeext'
24727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728   (eval $ac_try) 2>&5
24729   ac_status=$?
24730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731   (exit $ac_status); }; }; then
24732   eval "$as_ac_var=yes"
24733 else
24734   echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24736
24737 eval "$as_ac_var=no"
24738 fi
24739 rm -f conftest.err conftest.$ac_objext \
24740       conftest$ac_exeext conftest.$ac_ext
24741 fi
24742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24744 if test `eval echo '${'$as_ac_var'}'` = yes; then
24745   cat >>confdefs.h <<_ACEOF
24746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24747 _ACEOF
24748
24749 fi
24750 done
24751
24752     fi
24753   fi
24754
24755
24756
24757
24758
24759
24760   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24761 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24762   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24763     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24764   echo $ECHO_N "(cached) $ECHO_C" >&6
24765 else
24766
24767
24768
24769       ac_ext=cc
24770 ac_cpp='$CXXCPP $CPPFLAGS'
24771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24774
24775       cat >conftest.$ac_ext <<_ACEOF
24776 /* confdefs.h.  */
24777 _ACEOF
24778 cat confdefs.h >>conftest.$ac_ext
24779 cat >>conftest.$ac_ext <<_ACEOF
24780 /* end confdefs.h.  */
24781 #include <math.h>
24782                       #ifdef HAVE_IEEEFP_H
24783                       #include <ieeefp.h>
24784                       #endif
24785
24786 int
24787 main ()
24788 {
24789  sqrtl(0);
24790   ;
24791   return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext
24795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24796   (eval $ac_compile) 2>conftest.er1
24797   ac_status=$?
24798   grep -v '^ *+' conftest.er1 >conftest.err
24799   rm -f conftest.er1
24800   cat conftest.err >&5
24801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802   (exit $ac_status); } &&
24803          { ac_try='test -z "$ac_cxx_werror_flag"
24804                          || test ! -s conftest.err'
24805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24806   (eval $ac_try) 2>&5
24807   ac_status=$?
24808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809   (exit $ac_status); }; } &&
24810          { ac_try='test -s conftest.$ac_objext'
24811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812   (eval $ac_try) 2>&5
24813   ac_status=$?
24814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815   (exit $ac_status); }; }; then
24816   glibcxx_cv_func_sqrtl_use=yes
24817 else
24818   echo "$as_me: failed program was:" >&5
24819 sed 's/^/| /' conftest.$ac_ext >&5
24820
24821 glibcxx_cv_func_sqrtl_use=no
24822 fi
24823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24824       ac_ext=c
24825 ac_cpp='$CPP $CPPFLAGS'
24826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24829
24830
24831 fi
24832
24833   fi
24834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24835 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24836
24837   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24838
24839 for ac_func in sqrtl
24840 do
24841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24842 echo "$as_me:$LINENO: checking for $ac_func" >&5
24843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24844 if eval "test \"\${$as_ac_var+set}\" = set"; then
24845   echo $ECHO_N "(cached) $ECHO_C" >&6
24846 else
24847   if test x$gcc_no_link = xyes; then
24848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24850    { (exit 1); exit 1; }; }
24851 fi
24852 cat >conftest.$ac_ext <<_ACEOF
24853 /* confdefs.h.  */
24854 _ACEOF
24855 cat confdefs.h >>conftest.$ac_ext
24856 cat >>conftest.$ac_ext <<_ACEOF
24857 /* end confdefs.h.  */
24858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24860 #define $ac_func innocuous_$ac_func
24861
24862 /* System header to define __stub macros and hopefully few prototypes,
24863     which can conflict with char $ac_func (); below.
24864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24865     <limits.h> exists even on freestanding compilers.  */
24866
24867 #ifdef __STDC__
24868 # include <limits.h>
24869 #else
24870 # include <assert.h>
24871 #endif
24872
24873 #undef $ac_func
24874
24875 /* Override any gcc2 internal prototype to avoid an error.  */
24876 #ifdef __cplusplus
24877 extern "C"
24878 {
24879 #endif
24880 /* We use char because int might match the return type of a gcc2
24881    builtin and then its argument prototype would still apply.  */
24882 char $ac_func ();
24883 /* The GNU C library defines this for functions which it implements
24884     to always fail with ENOSYS.  Some functions are actually named
24885     something starting with __ and the normal name is an alias.  */
24886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24887 choke me
24888 #else
24889 char (*f) () = $ac_func;
24890 #endif
24891 #ifdef __cplusplus
24892 }
24893 #endif
24894
24895 int
24896 main ()
24897 {
24898 return f != $ac_func;
24899   ;
24900   return 0;
24901 }
24902 _ACEOF
24903 rm -f conftest.$ac_objext conftest$ac_exeext
24904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24905   (eval $ac_link) 2>conftest.er1
24906   ac_status=$?
24907   grep -v '^ *+' conftest.er1 >conftest.err
24908   rm -f conftest.er1
24909   cat conftest.err >&5
24910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911   (exit $ac_status); } &&
24912          { ac_try='test -z "$ac_c_werror_flag"
24913                          || test ! -s conftest.err'
24914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24915   (eval $ac_try) 2>&5
24916   ac_status=$?
24917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918   (exit $ac_status); }; } &&
24919          { ac_try='test -s conftest$ac_exeext'
24920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24921   (eval $ac_try) 2>&5
24922   ac_status=$?
24923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924   (exit $ac_status); }; }; then
24925   eval "$as_ac_var=yes"
24926 else
24927   echo "$as_me: failed program was:" >&5
24928 sed 's/^/| /' conftest.$ac_ext >&5
24929
24930 eval "$as_ac_var=no"
24931 fi
24932 rm -f conftest.err conftest.$ac_objext \
24933       conftest$ac_exeext conftest.$ac_ext
24934 fi
24935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24937 if test `eval echo '${'$as_ac_var'}'` = yes; then
24938   cat >>confdefs.h <<_ACEOF
24939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24940 _ACEOF
24941
24942 fi
24943 done
24944
24945   else
24946
24947   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24948 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24949   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24950     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24951   echo $ECHO_N "(cached) $ECHO_C" >&6
24952 else
24953
24954
24955
24956       ac_ext=cc
24957 ac_cpp='$CXXCPP $CPPFLAGS'
24958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961
24962       cat >conftest.$ac_ext <<_ACEOF
24963 /* confdefs.h.  */
24964 _ACEOF
24965 cat confdefs.h >>conftest.$ac_ext
24966 cat >>conftest.$ac_ext <<_ACEOF
24967 /* end confdefs.h.  */
24968 #include <math.h>
24969                       #ifdef HAVE_IEEEFP_H
24970                       #include <ieeefp.h>
24971                       #endif
24972
24973 int
24974 main ()
24975 {
24976  _sqrtl(0);
24977   ;
24978   return 0;
24979 }
24980 _ACEOF
24981 rm -f conftest.$ac_objext
24982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24983   (eval $ac_compile) 2>conftest.er1
24984   ac_status=$?
24985   grep -v '^ *+' conftest.er1 >conftest.err
24986   rm -f conftest.er1
24987   cat conftest.err >&5
24988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989   (exit $ac_status); } &&
24990          { ac_try='test -z "$ac_cxx_werror_flag"
24991                          || test ! -s conftest.err'
24992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993   (eval $ac_try) 2>&5
24994   ac_status=$?
24995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996   (exit $ac_status); }; } &&
24997          { ac_try='test -s conftest.$ac_objext'
24998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999   (eval $ac_try) 2>&5
25000   ac_status=$?
25001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002   (exit $ac_status); }; }; then
25003   glibcxx_cv_func__sqrtl_use=yes
25004 else
25005   echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 glibcxx_cv_func__sqrtl_use=no
25009 fi
25010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25011       ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016
25017
25018 fi
25019
25020   fi
25021   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25022 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25023
25024     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25025
25026 for ac_func in _sqrtl
25027 do
25028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25029 echo "$as_me:$LINENO: checking for $ac_func" >&5
25030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25031 if eval "test \"\${$as_ac_var+set}\" = set"; then
25032   echo $ECHO_N "(cached) $ECHO_C" >&6
25033 else
25034   if test x$gcc_no_link = xyes; then
25035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25037    { (exit 1); exit 1; }; }
25038 fi
25039 cat >conftest.$ac_ext <<_ACEOF
25040 /* confdefs.h.  */
25041 _ACEOF
25042 cat confdefs.h >>conftest.$ac_ext
25043 cat >>conftest.$ac_ext <<_ACEOF
25044 /* end confdefs.h.  */
25045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25047 #define $ac_func innocuous_$ac_func
25048
25049 /* System header to define __stub macros and hopefully few prototypes,
25050     which can conflict with char $ac_func (); below.
25051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25052     <limits.h> exists even on freestanding compilers.  */
25053
25054 #ifdef __STDC__
25055 # include <limits.h>
25056 #else
25057 # include <assert.h>
25058 #endif
25059
25060 #undef $ac_func
25061
25062 /* Override any gcc2 internal prototype to avoid an error.  */
25063 #ifdef __cplusplus
25064 extern "C"
25065 {
25066 #endif
25067 /* We use char because int might match the return type of a gcc2
25068    builtin and then its argument prototype would still apply.  */
25069 char $ac_func ();
25070 /* The GNU C library defines this for functions which it implements
25071     to always fail with ENOSYS.  Some functions are actually named
25072     something starting with __ and the normal name is an alias.  */
25073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25074 choke me
25075 #else
25076 char (*f) () = $ac_func;
25077 #endif
25078 #ifdef __cplusplus
25079 }
25080 #endif
25081
25082 int
25083 main ()
25084 {
25085 return f != $ac_func;
25086   ;
25087   return 0;
25088 }
25089 _ACEOF
25090 rm -f conftest.$ac_objext conftest$ac_exeext
25091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25092   (eval $ac_link) 2>conftest.er1
25093   ac_status=$?
25094   grep -v '^ *+' conftest.er1 >conftest.err
25095   rm -f conftest.er1
25096   cat conftest.err >&5
25097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098   (exit $ac_status); } &&
25099          { ac_try='test -z "$ac_c_werror_flag"
25100                          || test ! -s conftest.err'
25101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25102   (eval $ac_try) 2>&5
25103   ac_status=$?
25104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105   (exit $ac_status); }; } &&
25106          { ac_try='test -s conftest$ac_exeext'
25107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108   (eval $ac_try) 2>&5
25109   ac_status=$?
25110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111   (exit $ac_status); }; }; then
25112   eval "$as_ac_var=yes"
25113 else
25114   echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117 eval "$as_ac_var=no"
25118 fi
25119 rm -f conftest.err conftest.$ac_objext \
25120       conftest$ac_exeext conftest.$ac_ext
25121 fi
25122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25124 if test `eval echo '${'$as_ac_var'}'` = yes; then
25125   cat >>confdefs.h <<_ACEOF
25126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25127 _ACEOF
25128
25129 fi
25130 done
25131
25132     fi
25133   fi
25134
25135
25136
25137
25138
25139
25140   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25141 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25142   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25143     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25144   echo $ECHO_N "(cached) $ECHO_C" >&6
25145 else
25146
25147
25148
25149       ac_ext=cc
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25154
25155       cat >conftest.$ac_ext <<_ACEOF
25156 /* confdefs.h.  */
25157 _ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h.  */
25161 #include <math.h>
25162 int
25163 main ()
25164 {
25165  sincosl(0, 0, 0);
25166   ;
25167   return 0;
25168 }
25169 _ACEOF
25170 rm -f conftest.$ac_objext
25171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25172   (eval $ac_compile) 2>conftest.er1
25173   ac_status=$?
25174   grep -v '^ *+' conftest.er1 >conftest.err
25175   rm -f conftest.er1
25176   cat conftest.err >&5
25177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178   (exit $ac_status); } &&
25179          { ac_try='test -z "$ac_cxx_werror_flag"
25180                          || test ! -s conftest.err'
25181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25182   (eval $ac_try) 2>&5
25183   ac_status=$?
25184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185   (exit $ac_status); }; } &&
25186          { ac_try='test -s conftest.$ac_objext'
25187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25188   (eval $ac_try) 2>&5
25189   ac_status=$?
25190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191   (exit $ac_status); }; }; then
25192   glibcxx_cv_func_sincosl_use=yes
25193 else
25194   echo "$as_me: failed program was:" >&5
25195 sed 's/^/| /' conftest.$ac_ext >&5
25196
25197 glibcxx_cv_func_sincosl_use=no
25198 fi
25199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25200       ac_ext=c
25201 ac_cpp='$CPP $CPPFLAGS'
25202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25205
25206
25207 fi
25208
25209   fi
25210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25211 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25212
25213   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25214
25215 for ac_func in sincosl
25216 do
25217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25218 echo "$as_me:$LINENO: checking for $ac_func" >&5
25219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25220 if eval "test \"\${$as_ac_var+set}\" = set"; then
25221   echo $ECHO_N "(cached) $ECHO_C" >&6
25222 else
25223   if test x$gcc_no_link = xyes; then
25224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25226    { (exit 1); exit 1; }; }
25227 fi
25228 cat >conftest.$ac_ext <<_ACEOF
25229 /* confdefs.h.  */
25230 _ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h.  */
25234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25236 #define $ac_func innocuous_$ac_func
25237
25238 /* System header to define __stub macros and hopefully few prototypes,
25239     which can conflict with char $ac_func (); below.
25240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25241     <limits.h> exists even on freestanding compilers.  */
25242
25243 #ifdef __STDC__
25244 # include <limits.h>
25245 #else
25246 # include <assert.h>
25247 #endif
25248
25249 #undef $ac_func
25250
25251 /* Override any gcc2 internal prototype to avoid an error.  */
25252 #ifdef __cplusplus
25253 extern "C"
25254 {
25255 #endif
25256 /* We use char because int might match the return type of a gcc2
25257    builtin and then its argument prototype would still apply.  */
25258 char $ac_func ();
25259 /* The GNU C library defines this for functions which it implements
25260     to always fail with ENOSYS.  Some functions are actually named
25261     something starting with __ and the normal name is an alias.  */
25262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25263 choke me
25264 #else
25265 char (*f) () = $ac_func;
25266 #endif
25267 #ifdef __cplusplus
25268 }
25269 #endif
25270
25271 int
25272 main ()
25273 {
25274 return f != $ac_func;
25275   ;
25276   return 0;
25277 }
25278 _ACEOF
25279 rm -f conftest.$ac_objext conftest$ac_exeext
25280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25281   (eval $ac_link) 2>conftest.er1
25282   ac_status=$?
25283   grep -v '^ *+' conftest.er1 >conftest.err
25284   rm -f conftest.er1
25285   cat conftest.err >&5
25286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287   (exit $ac_status); } &&
25288          { ac_try='test -z "$ac_c_werror_flag"
25289                          || test ! -s conftest.err'
25290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25291   (eval $ac_try) 2>&5
25292   ac_status=$?
25293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294   (exit $ac_status); }; } &&
25295          { ac_try='test -s conftest$ac_exeext'
25296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297   (eval $ac_try) 2>&5
25298   ac_status=$?
25299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300   (exit $ac_status); }; }; then
25301   eval "$as_ac_var=yes"
25302 else
25303   echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25305
25306 eval "$as_ac_var=no"
25307 fi
25308 rm -f conftest.err conftest.$ac_objext \
25309       conftest$ac_exeext conftest.$ac_ext
25310 fi
25311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25313 if test `eval echo '${'$as_ac_var'}'` = yes; then
25314   cat >>confdefs.h <<_ACEOF
25315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25316 _ACEOF
25317
25318 fi
25319 done
25320
25321   else
25322
25323   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25324 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25325   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25326     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25327   echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25329
25330
25331
25332       ac_ext=cc
25333 ac_cpp='$CXXCPP $CPPFLAGS'
25334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25337
25338       cat >conftest.$ac_ext <<_ACEOF
25339 /* confdefs.h.  */
25340 _ACEOF
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h.  */
25344 #include <math.h>
25345 int
25346 main ()
25347 {
25348  _sincosl(0, 0, 0);
25349   ;
25350   return 0;
25351 }
25352 _ACEOF
25353 rm -f conftest.$ac_objext
25354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25355   (eval $ac_compile) 2>conftest.er1
25356   ac_status=$?
25357   grep -v '^ *+' conftest.er1 >conftest.err
25358   rm -f conftest.er1
25359   cat conftest.err >&5
25360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361   (exit $ac_status); } &&
25362          { ac_try='test -z "$ac_cxx_werror_flag"
25363                          || test ! -s conftest.err'
25364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365   (eval $ac_try) 2>&5
25366   ac_status=$?
25367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368   (exit $ac_status); }; } &&
25369          { ac_try='test -s conftest.$ac_objext'
25370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371   (eval $ac_try) 2>&5
25372   ac_status=$?
25373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374   (exit $ac_status); }; }; then
25375   glibcxx_cv_func__sincosl_use=yes
25376 else
25377   echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25379
25380 glibcxx_cv_func__sincosl_use=no
25381 fi
25382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25383       ac_ext=c
25384 ac_cpp='$CPP $CPPFLAGS'
25385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25388
25389
25390 fi
25391
25392   fi
25393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25394 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25395
25396     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25397
25398 for ac_func in _sincosl
25399 do
25400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25401 echo "$as_me:$LINENO: checking for $ac_func" >&5
25402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25403 if eval "test \"\${$as_ac_var+set}\" = set"; then
25404   echo $ECHO_N "(cached) $ECHO_C" >&6
25405 else
25406   if test x$gcc_no_link = xyes; then
25407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25409    { (exit 1); exit 1; }; }
25410 fi
25411 cat >conftest.$ac_ext <<_ACEOF
25412 /* confdefs.h.  */
25413 _ACEOF
25414 cat confdefs.h >>conftest.$ac_ext
25415 cat >>conftest.$ac_ext <<_ACEOF
25416 /* end confdefs.h.  */
25417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25419 #define $ac_func innocuous_$ac_func
25420
25421 /* System header to define __stub macros and hopefully few prototypes,
25422     which can conflict with char $ac_func (); below.
25423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25424     <limits.h> exists even on freestanding compilers.  */
25425
25426 #ifdef __STDC__
25427 # include <limits.h>
25428 #else
25429 # include <assert.h>
25430 #endif
25431
25432 #undef $ac_func
25433
25434 /* Override any gcc2 internal prototype to avoid an error.  */
25435 #ifdef __cplusplus
25436 extern "C"
25437 {
25438 #endif
25439 /* We use char because int might match the return type of a gcc2
25440    builtin and then its argument prototype would still apply.  */
25441 char $ac_func ();
25442 /* The GNU C library defines this for functions which it implements
25443     to always fail with ENOSYS.  Some functions are actually named
25444     something starting with __ and the normal name is an alias.  */
25445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25446 choke me
25447 #else
25448 char (*f) () = $ac_func;
25449 #endif
25450 #ifdef __cplusplus
25451 }
25452 #endif
25453
25454 int
25455 main ()
25456 {
25457 return f != $ac_func;
25458   ;
25459   return 0;
25460 }
25461 _ACEOF
25462 rm -f conftest.$ac_objext conftest$ac_exeext
25463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25464   (eval $ac_link) 2>conftest.er1
25465   ac_status=$?
25466   grep -v '^ *+' conftest.er1 >conftest.err
25467   rm -f conftest.er1
25468   cat conftest.err >&5
25469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470   (exit $ac_status); } &&
25471          { ac_try='test -z "$ac_c_werror_flag"
25472                          || test ! -s conftest.err'
25473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474   (eval $ac_try) 2>&5
25475   ac_status=$?
25476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477   (exit $ac_status); }; } &&
25478          { ac_try='test -s conftest$ac_exeext'
25479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480   (eval $ac_try) 2>&5
25481   ac_status=$?
25482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483   (exit $ac_status); }; }; then
25484   eval "$as_ac_var=yes"
25485 else
25486   echo "$as_me: failed program was:" >&5
25487 sed 's/^/| /' conftest.$ac_ext >&5
25488
25489 eval "$as_ac_var=no"
25490 fi
25491 rm -f conftest.err conftest.$ac_objext \
25492       conftest$ac_exeext conftest.$ac_ext
25493 fi
25494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25496 if test `eval echo '${'$as_ac_var'}'` = yes; then
25497   cat >>confdefs.h <<_ACEOF
25498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25499 _ACEOF
25500
25501 fi
25502 done
25503
25504     fi
25505   fi
25506
25507
25508
25509
25510
25511
25512   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25513 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25514   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25515     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25516   echo $ECHO_N "(cached) $ECHO_C" >&6
25517 else
25518
25519
25520
25521       ac_ext=cc
25522 ac_cpp='$CXXCPP $CPPFLAGS'
25523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25526
25527       cat >conftest.$ac_ext <<_ACEOF
25528 /* confdefs.h.  */
25529 _ACEOF
25530 cat confdefs.h >>conftest.$ac_ext
25531 cat >>conftest.$ac_ext <<_ACEOF
25532 /* end confdefs.h.  */
25533 #include <math.h>
25534                       #ifdef HAVE_IEEEFP_H
25535                       #include <ieeefp.h>
25536                       #endif
25537
25538 int
25539 main ()
25540 {
25541  finitel(0);
25542   ;
25543   return 0;
25544 }
25545 _ACEOF
25546 rm -f conftest.$ac_objext
25547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25548   (eval $ac_compile) 2>conftest.er1
25549   ac_status=$?
25550   grep -v '^ *+' conftest.er1 >conftest.err
25551   rm -f conftest.er1
25552   cat conftest.err >&5
25553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554   (exit $ac_status); } &&
25555          { ac_try='test -z "$ac_cxx_werror_flag"
25556                          || test ! -s conftest.err'
25557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558   (eval $ac_try) 2>&5
25559   ac_status=$?
25560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561   (exit $ac_status); }; } &&
25562          { ac_try='test -s conftest.$ac_objext'
25563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564   (eval $ac_try) 2>&5
25565   ac_status=$?
25566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567   (exit $ac_status); }; }; then
25568   glibcxx_cv_func_finitel_use=yes
25569 else
25570   echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.$ac_ext >&5
25572
25573 glibcxx_cv_func_finitel_use=no
25574 fi
25575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25576       ac_ext=c
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25581
25582
25583 fi
25584
25585   fi
25586   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25587 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25588
25589   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25590
25591 for ac_func in finitel
25592 do
25593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25594 echo "$as_me:$LINENO: checking for $ac_func" >&5
25595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25596 if eval "test \"\${$as_ac_var+set}\" = set"; then
25597   echo $ECHO_N "(cached) $ECHO_C" >&6
25598 else
25599   if test x$gcc_no_link = xyes; then
25600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25602    { (exit 1); exit 1; }; }
25603 fi
25604 cat >conftest.$ac_ext <<_ACEOF
25605 /* confdefs.h.  */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h.  */
25610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25612 #define $ac_func innocuous_$ac_func
25613
25614 /* System header to define __stub macros and hopefully few prototypes,
25615     which can conflict with char $ac_func (); below.
25616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25617     <limits.h> exists even on freestanding compilers.  */
25618
25619 #ifdef __STDC__
25620 # include <limits.h>
25621 #else
25622 # include <assert.h>
25623 #endif
25624
25625 #undef $ac_func
25626
25627 /* Override any gcc2 internal prototype to avoid an error.  */
25628 #ifdef __cplusplus
25629 extern "C"
25630 {
25631 #endif
25632 /* We use char because int might match the return type of a gcc2
25633    builtin and then its argument prototype would still apply.  */
25634 char $ac_func ();
25635 /* The GNU C library defines this for functions which it implements
25636     to always fail with ENOSYS.  Some functions are actually named
25637     something starting with __ and the normal name is an alias.  */
25638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25639 choke me
25640 #else
25641 char (*f) () = $ac_func;
25642 #endif
25643 #ifdef __cplusplus
25644 }
25645 #endif
25646
25647 int
25648 main ()
25649 {
25650 return f != $ac_func;
25651   ;
25652   return 0;
25653 }
25654 _ACEOF
25655 rm -f conftest.$ac_objext conftest$ac_exeext
25656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25657   (eval $ac_link) 2>conftest.er1
25658   ac_status=$?
25659   grep -v '^ *+' conftest.er1 >conftest.err
25660   rm -f conftest.er1
25661   cat conftest.err >&5
25662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663   (exit $ac_status); } &&
25664          { ac_try='test -z "$ac_c_werror_flag"
25665                          || test ! -s conftest.err'
25666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25667   (eval $ac_try) 2>&5
25668   ac_status=$?
25669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670   (exit $ac_status); }; } &&
25671          { ac_try='test -s conftest$ac_exeext'
25672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25673   (eval $ac_try) 2>&5
25674   ac_status=$?
25675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676   (exit $ac_status); }; }; then
25677   eval "$as_ac_var=yes"
25678 else
25679   echo "$as_me: failed program was:" >&5
25680 sed 's/^/| /' conftest.$ac_ext >&5
25681
25682 eval "$as_ac_var=no"
25683 fi
25684 rm -f conftest.err conftest.$ac_objext \
25685       conftest$ac_exeext conftest.$ac_ext
25686 fi
25687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25689 if test `eval echo '${'$as_ac_var'}'` = yes; then
25690   cat >>confdefs.h <<_ACEOF
25691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25692 _ACEOF
25693
25694 fi
25695 done
25696
25697   else
25698
25699   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25700 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25701   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25702     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25703   echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25705
25706
25707
25708       ac_ext=cc
25709 ac_cpp='$CXXCPP $CPPFLAGS'
25710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25713
25714       cat >conftest.$ac_ext <<_ACEOF
25715 /* confdefs.h.  */
25716 _ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h.  */
25720 #include <math.h>
25721                       #ifdef HAVE_IEEEFP_H
25722                       #include <ieeefp.h>
25723                       #endif
25724
25725 int
25726 main ()
25727 {
25728  _finitel(0);
25729   ;
25730   return 0;
25731 }
25732 _ACEOF
25733 rm -f conftest.$ac_objext
25734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25735   (eval $ac_compile) 2>conftest.er1
25736   ac_status=$?
25737   grep -v '^ *+' conftest.er1 >conftest.err
25738   rm -f conftest.er1
25739   cat conftest.err >&5
25740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741   (exit $ac_status); } &&
25742          { ac_try='test -z "$ac_cxx_werror_flag"
25743                          || test ! -s conftest.err'
25744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25745   (eval $ac_try) 2>&5
25746   ac_status=$?
25747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748   (exit $ac_status); }; } &&
25749          { ac_try='test -s conftest.$ac_objext'
25750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25751   (eval $ac_try) 2>&5
25752   ac_status=$?
25753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754   (exit $ac_status); }; }; then
25755   glibcxx_cv_func__finitel_use=yes
25756 else
25757   echo "$as_me: failed program was:" >&5
25758 sed 's/^/| /' conftest.$ac_ext >&5
25759
25760 glibcxx_cv_func__finitel_use=no
25761 fi
25762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25763       ac_ext=c
25764 ac_cpp='$CPP $CPPFLAGS'
25765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25768
25769
25770 fi
25771
25772   fi
25773   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25774 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25775
25776     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25777
25778 for ac_func in _finitel
25779 do
25780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25781 echo "$as_me:$LINENO: checking for $ac_func" >&5
25782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25783 if eval "test \"\${$as_ac_var+set}\" = set"; then
25784   echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786   if test x$gcc_no_link = xyes; then
25787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25789    { (exit 1); exit 1; }; }
25790 fi
25791 cat >conftest.$ac_ext <<_ACEOF
25792 /* confdefs.h.  */
25793 _ACEOF
25794 cat confdefs.h >>conftest.$ac_ext
25795 cat >>conftest.$ac_ext <<_ACEOF
25796 /* end confdefs.h.  */
25797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25799 #define $ac_func innocuous_$ac_func
25800
25801 /* System header to define __stub macros and hopefully few prototypes,
25802     which can conflict with char $ac_func (); below.
25803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25804     <limits.h> exists even on freestanding compilers.  */
25805
25806 #ifdef __STDC__
25807 # include <limits.h>
25808 #else
25809 # include <assert.h>
25810 #endif
25811
25812 #undef $ac_func
25813
25814 /* Override any gcc2 internal prototype to avoid an error.  */
25815 #ifdef __cplusplus
25816 extern "C"
25817 {
25818 #endif
25819 /* We use char because int might match the return type of a gcc2
25820    builtin and then its argument prototype would still apply.  */
25821 char $ac_func ();
25822 /* The GNU C library defines this for functions which it implements
25823     to always fail with ENOSYS.  Some functions are actually named
25824     something starting with __ and the normal name is an alias.  */
25825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25826 choke me
25827 #else
25828 char (*f) () = $ac_func;
25829 #endif
25830 #ifdef __cplusplus
25831 }
25832 #endif
25833
25834 int
25835 main ()
25836 {
25837 return f != $ac_func;
25838   ;
25839   return 0;
25840 }
25841 _ACEOF
25842 rm -f conftest.$ac_objext conftest$ac_exeext
25843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25844   (eval $ac_link) 2>conftest.er1
25845   ac_status=$?
25846   grep -v '^ *+' conftest.er1 >conftest.err
25847   rm -f conftest.er1
25848   cat conftest.err >&5
25849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850   (exit $ac_status); } &&
25851          { ac_try='test -z "$ac_c_werror_flag"
25852                          || test ! -s conftest.err'
25853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854   (eval $ac_try) 2>&5
25855   ac_status=$?
25856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857   (exit $ac_status); }; } &&
25858          { ac_try='test -s conftest$ac_exeext'
25859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860   (eval $ac_try) 2>&5
25861   ac_status=$?
25862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863   (exit $ac_status); }; }; then
25864   eval "$as_ac_var=yes"
25865 else
25866   echo "$as_me: failed program was:" >&5
25867 sed 's/^/| /' conftest.$ac_ext >&5
25868
25869 eval "$as_ac_var=no"
25870 fi
25871 rm -f conftest.err conftest.$ac_objext \
25872       conftest$ac_exeext conftest.$ac_ext
25873 fi
25874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25876 if test `eval echo '${'$as_ac_var'}'` = yes; then
25877   cat >>confdefs.h <<_ACEOF
25878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25879 _ACEOF
25880
25881 fi
25882 done
25883
25884     fi
25885   fi
25886
25887
25888
25889
25890
25891   LIBS="$ac_save_LIBS"
25892   CXXFLAGS="$ac_save_CXXFLAGS"
25893
25894
25895
25896   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25897 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25898   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25899     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25900   echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902
25903
25904
25905       ac_ext=cc
25906 ac_cpp='$CXXCPP $CPPFLAGS'
25907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25910
25911       cat >conftest.$ac_ext <<_ACEOF
25912 /* confdefs.h.  */
25913 _ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h.  */
25917 #include <math.h>
25918 int
25919 main ()
25920 {
25921  __builtin_abs(0);
25922   ;
25923   return 0;
25924 }
25925 _ACEOF
25926 rm -f conftest.$ac_objext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25928   (eval $ac_compile) 2>conftest.er1
25929   ac_status=$?
25930   grep -v '^ *+' conftest.er1 >conftest.err
25931   rm -f conftest.er1
25932   cat conftest.err >&5
25933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934   (exit $ac_status); } &&
25935          { ac_try='test -z "$ac_cxx_werror_flag"
25936                          || test ! -s conftest.err'
25937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938   (eval $ac_try) 2>&5
25939   ac_status=$?
25940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941   (exit $ac_status); }; } &&
25942          { ac_try='test -s conftest.$ac_objext'
25943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944   (eval $ac_try) 2>&5
25945   ac_status=$?
25946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947   (exit $ac_status); }; }; then
25948   glibcxx_cv_func___builtin_abs_use=yes
25949 else
25950   echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25952
25953 glibcxx_cv_func___builtin_abs_use=no
25954 fi
25955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25956       ac_ext=c
25957 ac_cpp='$CPP $CPPFLAGS'
25958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25961
25962
25963 fi
25964
25965   fi
25966   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25967 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25968   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25969     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25970 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25971     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25972       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25973   echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975
25976         if test x$gcc_no_link = xyes; then
25977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25979    { (exit 1); exit 1; }; }
25980 fi
25981 cat >conftest.$ac_ext <<_ACEOF
25982 /* confdefs.h.  */
25983 _ACEOF
25984 cat confdefs.h >>conftest.$ac_ext
25985 cat >>conftest.$ac_ext <<_ACEOF
25986 /* end confdefs.h.  */
25987 #include <math.h>
25988 int
25989 main ()
25990 {
25991  __builtin_abs(0);
25992   ;
25993   return 0;
25994 }
25995 _ACEOF
25996 rm -f conftest.$ac_objext conftest$ac_exeext
25997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25998   (eval $ac_link) 2>conftest.er1
25999   ac_status=$?
26000   grep -v '^ *+' conftest.er1 >conftest.err
26001   rm -f conftest.er1
26002   cat conftest.err >&5
26003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004   (exit $ac_status); } &&
26005          { ac_try='test -z "$ac_c_werror_flag"
26006                          || test ! -s conftest.err'
26007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008   (eval $ac_try) 2>&5
26009   ac_status=$?
26010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011   (exit $ac_status); }; } &&
26012          { ac_try='test -s conftest$ac_exeext'
26013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014   (eval $ac_try) 2>&5
26015   ac_status=$?
26016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017   (exit $ac_status); }; }; then
26018   glibcxx_cv_func___builtin_abs_link=yes
26019 else
26020   echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26022
26023 glibcxx_cv_func___builtin_abs_link=no
26024 fi
26025 rm -f conftest.err conftest.$ac_objext \
26026       conftest$ac_exeext conftest.$ac_ext
26027
26028 fi
26029
26030     fi
26031     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26032 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26033
26034     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26035
26036 cat >>confdefs.h <<\_ACEOF
26037 #define HAVE___BUILTIN_ABS 1
26038 _ACEOF
26039
26040     fi
26041
26042   fi
26043
26044
26045   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26046 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26047   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26048     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26049   echo $ECHO_N "(cached) $ECHO_C" >&6
26050 else
26051
26052
26053
26054       ac_ext=cc
26055 ac_cpp='$CXXCPP $CPPFLAGS'
26056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26059
26060       cat >conftest.$ac_ext <<_ACEOF
26061 /* confdefs.h.  */
26062 _ACEOF
26063 cat confdefs.h >>conftest.$ac_ext
26064 cat >>conftest.$ac_ext <<_ACEOF
26065 /* end confdefs.h.  */
26066 #include <math.h>
26067 int
26068 main ()
26069 {
26070  __builtin_fabsf(0);
26071   ;
26072   return 0;
26073 }
26074 _ACEOF
26075 rm -f conftest.$ac_objext
26076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26077   (eval $ac_compile) 2>conftest.er1
26078   ac_status=$?
26079   grep -v '^ *+' conftest.er1 >conftest.err
26080   rm -f conftest.er1
26081   cat conftest.err >&5
26082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083   (exit $ac_status); } &&
26084          { ac_try='test -z "$ac_cxx_werror_flag"
26085                          || test ! -s conftest.err'
26086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26087   (eval $ac_try) 2>&5
26088   ac_status=$?
26089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090   (exit $ac_status); }; } &&
26091          { ac_try='test -s conftest.$ac_objext'
26092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26093   (eval $ac_try) 2>&5
26094   ac_status=$?
26095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096   (exit $ac_status); }; }; then
26097   glibcxx_cv_func___builtin_fabsf_use=yes
26098 else
26099   echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 glibcxx_cv_func___builtin_fabsf_use=no
26103 fi
26104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26105       ac_ext=c
26106 ac_cpp='$CPP $CPPFLAGS'
26107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26110
26111
26112 fi
26113
26114   fi
26115   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26116 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26117   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26118     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26119 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26120     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26121       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26122   echo $ECHO_N "(cached) $ECHO_C" >&6
26123 else
26124
26125         if test x$gcc_no_link = xyes; then
26126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26128    { (exit 1); exit 1; }; }
26129 fi
26130 cat >conftest.$ac_ext <<_ACEOF
26131 /* confdefs.h.  */
26132 _ACEOF
26133 cat confdefs.h >>conftest.$ac_ext
26134 cat >>conftest.$ac_ext <<_ACEOF
26135 /* end confdefs.h.  */
26136 #include <math.h>
26137 int
26138 main ()
26139 {
26140  __builtin_fabsf(0);
26141   ;
26142   return 0;
26143 }
26144 _ACEOF
26145 rm -f conftest.$ac_objext conftest$ac_exeext
26146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26147   (eval $ac_link) 2>conftest.er1
26148   ac_status=$?
26149   grep -v '^ *+' conftest.er1 >conftest.err
26150   rm -f conftest.er1
26151   cat conftest.err >&5
26152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153   (exit $ac_status); } &&
26154          { ac_try='test -z "$ac_c_werror_flag"
26155                          || test ! -s conftest.err'
26156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26157   (eval $ac_try) 2>&5
26158   ac_status=$?
26159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160   (exit $ac_status); }; } &&
26161          { ac_try='test -s conftest$ac_exeext'
26162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26163   (eval $ac_try) 2>&5
26164   ac_status=$?
26165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166   (exit $ac_status); }; }; then
26167   glibcxx_cv_func___builtin_fabsf_link=yes
26168 else
26169   echo "$as_me: failed program was:" >&5
26170 sed 's/^/| /' conftest.$ac_ext >&5
26171
26172 glibcxx_cv_func___builtin_fabsf_link=no
26173 fi
26174 rm -f conftest.err conftest.$ac_objext \
26175       conftest$ac_exeext conftest.$ac_ext
26176
26177 fi
26178
26179     fi
26180     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26181 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26182
26183     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26184
26185 cat >>confdefs.h <<\_ACEOF
26186 #define HAVE___BUILTIN_FABSF 1
26187 _ACEOF
26188
26189     fi
26190
26191   fi
26192
26193
26194   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26195 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26196   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26197     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26198   echo $ECHO_N "(cached) $ECHO_C" >&6
26199 else
26200
26201
26202
26203       ac_ext=cc
26204 ac_cpp='$CXXCPP $CPPFLAGS'
26205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26208
26209       cat >conftest.$ac_ext <<_ACEOF
26210 /* confdefs.h.  */
26211 _ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h.  */
26215 #include <math.h>
26216 int
26217 main ()
26218 {
26219  __builtin_fabs(0);
26220   ;
26221   return 0;
26222 }
26223 _ACEOF
26224 rm -f conftest.$ac_objext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26226   (eval $ac_compile) 2>conftest.er1
26227   ac_status=$?
26228   grep -v '^ *+' conftest.er1 >conftest.err
26229   rm -f conftest.er1
26230   cat conftest.err >&5
26231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232   (exit $ac_status); } &&
26233          { ac_try='test -z "$ac_cxx_werror_flag"
26234                          || test ! -s conftest.err'
26235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236   (eval $ac_try) 2>&5
26237   ac_status=$?
26238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239   (exit $ac_status); }; } &&
26240          { ac_try='test -s conftest.$ac_objext'
26241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26242   (eval $ac_try) 2>&5
26243   ac_status=$?
26244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245   (exit $ac_status); }; }; then
26246   glibcxx_cv_func___builtin_fabs_use=yes
26247 else
26248   echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26250
26251 glibcxx_cv_func___builtin_fabs_use=no
26252 fi
26253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26254       ac_ext=c
26255 ac_cpp='$CPP $CPPFLAGS'
26256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259
26260
26261 fi
26262
26263   fi
26264   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26265 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26266   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26267     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26268 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26269     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26270       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26271   echo $ECHO_N "(cached) $ECHO_C" >&6
26272 else
26273
26274         if test x$gcc_no_link = xyes; then
26275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26277    { (exit 1); exit 1; }; }
26278 fi
26279 cat >conftest.$ac_ext <<_ACEOF
26280 /* confdefs.h.  */
26281 _ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h.  */
26285 #include <math.h>
26286 int
26287 main ()
26288 {
26289  __builtin_fabs(0);
26290   ;
26291   return 0;
26292 }
26293 _ACEOF
26294 rm -f conftest.$ac_objext conftest$ac_exeext
26295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26296   (eval $ac_link) 2>conftest.er1
26297   ac_status=$?
26298   grep -v '^ *+' conftest.er1 >conftest.err
26299   rm -f conftest.er1
26300   cat conftest.err >&5
26301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302   (exit $ac_status); } &&
26303          { ac_try='test -z "$ac_c_werror_flag"
26304                          || test ! -s conftest.err'
26305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26306   (eval $ac_try) 2>&5
26307   ac_status=$?
26308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309   (exit $ac_status); }; } &&
26310          { ac_try='test -s conftest$ac_exeext'
26311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312   (eval $ac_try) 2>&5
26313   ac_status=$?
26314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315   (exit $ac_status); }; }; then
26316   glibcxx_cv_func___builtin_fabs_link=yes
26317 else
26318   echo "$as_me: failed program was:" >&5
26319 sed 's/^/| /' conftest.$ac_ext >&5
26320
26321 glibcxx_cv_func___builtin_fabs_link=no
26322 fi
26323 rm -f conftest.err conftest.$ac_objext \
26324       conftest$ac_exeext conftest.$ac_ext
26325
26326 fi
26327
26328     fi
26329     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26330 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26331
26332     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26333
26334 cat >>confdefs.h <<\_ACEOF
26335 #define HAVE___BUILTIN_FABS 1
26336 _ACEOF
26337
26338     fi
26339
26340   fi
26341
26342
26343   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26344 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26345   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26346     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26347   echo $ECHO_N "(cached) $ECHO_C" >&6
26348 else
26349
26350
26351
26352       ac_ext=cc
26353 ac_cpp='$CXXCPP $CPPFLAGS'
26354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26357
26358       cat >conftest.$ac_ext <<_ACEOF
26359 /* confdefs.h.  */
26360 _ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h.  */
26364 #include <math.h>
26365 int
26366 main ()
26367 {
26368  __builtin_fabsl(0);
26369   ;
26370   return 0;
26371 }
26372 _ACEOF
26373 rm -f conftest.$ac_objext
26374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26375   (eval $ac_compile) 2>conftest.er1
26376   ac_status=$?
26377   grep -v '^ *+' conftest.er1 >conftest.err
26378   rm -f conftest.er1
26379   cat conftest.err >&5
26380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381   (exit $ac_status); } &&
26382          { ac_try='test -z "$ac_cxx_werror_flag"
26383                          || test ! -s conftest.err'
26384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385   (eval $ac_try) 2>&5
26386   ac_status=$?
26387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388   (exit $ac_status); }; } &&
26389          { ac_try='test -s conftest.$ac_objext'
26390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26391   (eval $ac_try) 2>&5
26392   ac_status=$?
26393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394   (exit $ac_status); }; }; then
26395   glibcxx_cv_func___builtin_fabsl_use=yes
26396 else
26397   echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.$ac_ext >&5
26399
26400 glibcxx_cv_func___builtin_fabsl_use=no
26401 fi
26402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26403       ac_ext=c
26404 ac_cpp='$CPP $CPPFLAGS'
26405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26408
26409
26410 fi
26411
26412   fi
26413   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26414 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26415   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26416     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26417 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26418     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26419       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26420   echo $ECHO_N "(cached) $ECHO_C" >&6
26421 else
26422
26423         if test x$gcc_no_link = xyes; then
26424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26426    { (exit 1); exit 1; }; }
26427 fi
26428 cat >conftest.$ac_ext <<_ACEOF
26429 /* confdefs.h.  */
26430 _ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h.  */
26434 #include <math.h>
26435 int
26436 main ()
26437 {
26438  __builtin_fabsl(0);
26439   ;
26440   return 0;
26441 }
26442 _ACEOF
26443 rm -f conftest.$ac_objext conftest$ac_exeext
26444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26445   (eval $ac_link) 2>conftest.er1
26446   ac_status=$?
26447   grep -v '^ *+' conftest.er1 >conftest.err
26448   rm -f conftest.er1
26449   cat conftest.err >&5
26450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451   (exit $ac_status); } &&
26452          { ac_try='test -z "$ac_c_werror_flag"
26453                          || test ! -s conftest.err'
26454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455   (eval $ac_try) 2>&5
26456   ac_status=$?
26457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458   (exit $ac_status); }; } &&
26459          { ac_try='test -s conftest$ac_exeext'
26460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461   (eval $ac_try) 2>&5
26462   ac_status=$?
26463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464   (exit $ac_status); }; }; then
26465   glibcxx_cv_func___builtin_fabsl_link=yes
26466 else
26467   echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.$ac_ext >&5
26469
26470 glibcxx_cv_func___builtin_fabsl_link=no
26471 fi
26472 rm -f conftest.err conftest.$ac_objext \
26473       conftest$ac_exeext conftest.$ac_ext
26474
26475 fi
26476
26477     fi
26478     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26479 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26480
26481     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26482
26483 cat >>confdefs.h <<\_ACEOF
26484 #define HAVE___BUILTIN_FABSL 1
26485 _ACEOF
26486
26487     fi
26488
26489   fi
26490
26491
26492   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26493 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26494   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26495     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26496   echo $ECHO_N "(cached) $ECHO_C" >&6
26497 else
26498
26499
26500
26501       ac_ext=cc
26502 ac_cpp='$CXXCPP $CPPFLAGS'
26503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26506
26507       cat >conftest.$ac_ext <<_ACEOF
26508 /* confdefs.h.  */
26509 _ACEOF
26510 cat confdefs.h >>conftest.$ac_ext
26511 cat >>conftest.$ac_ext <<_ACEOF
26512 /* end confdefs.h.  */
26513 #include <math.h>
26514 int
26515 main ()
26516 {
26517  __builtin_labs(0);
26518   ;
26519   return 0;
26520 }
26521 _ACEOF
26522 rm -f conftest.$ac_objext
26523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26524   (eval $ac_compile) 2>conftest.er1
26525   ac_status=$?
26526   grep -v '^ *+' conftest.er1 >conftest.err
26527   rm -f conftest.er1
26528   cat conftest.err >&5
26529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530   (exit $ac_status); } &&
26531          { ac_try='test -z "$ac_cxx_werror_flag"
26532                          || test ! -s conftest.err'
26533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534   (eval $ac_try) 2>&5
26535   ac_status=$?
26536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537   (exit $ac_status); }; } &&
26538          { ac_try='test -s conftest.$ac_objext'
26539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540   (eval $ac_try) 2>&5
26541   ac_status=$?
26542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543   (exit $ac_status); }; }; then
26544   glibcxx_cv_func___builtin_labs_use=yes
26545 else
26546   echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26548
26549 glibcxx_cv_func___builtin_labs_use=no
26550 fi
26551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26552       ac_ext=c
26553 ac_cpp='$CPP $CPPFLAGS'
26554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26557
26558
26559 fi
26560
26561   fi
26562   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26563 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26564   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26565     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26566 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26567     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26568       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26569   echo $ECHO_N "(cached) $ECHO_C" >&6
26570 else
26571
26572         if test x$gcc_no_link = xyes; then
26573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26575    { (exit 1); exit 1; }; }
26576 fi
26577 cat >conftest.$ac_ext <<_ACEOF
26578 /* confdefs.h.  */
26579 _ACEOF
26580 cat confdefs.h >>conftest.$ac_ext
26581 cat >>conftest.$ac_ext <<_ACEOF
26582 /* end confdefs.h.  */
26583 #include <math.h>
26584 int
26585 main ()
26586 {
26587  __builtin_labs(0);
26588   ;
26589   return 0;
26590 }
26591 _ACEOF
26592 rm -f conftest.$ac_objext conftest$ac_exeext
26593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26594   (eval $ac_link) 2>conftest.er1
26595   ac_status=$?
26596   grep -v '^ *+' conftest.er1 >conftest.err
26597   rm -f conftest.er1
26598   cat conftest.err >&5
26599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600   (exit $ac_status); } &&
26601          { ac_try='test -z "$ac_c_werror_flag"
26602                          || test ! -s conftest.err'
26603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604   (eval $ac_try) 2>&5
26605   ac_status=$?
26606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607   (exit $ac_status); }; } &&
26608          { ac_try='test -s conftest$ac_exeext'
26609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610   (eval $ac_try) 2>&5
26611   ac_status=$?
26612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613   (exit $ac_status); }; }; then
26614   glibcxx_cv_func___builtin_labs_link=yes
26615 else
26616   echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26618
26619 glibcxx_cv_func___builtin_labs_link=no
26620 fi
26621 rm -f conftest.err conftest.$ac_objext \
26622       conftest$ac_exeext conftest.$ac_ext
26623
26624 fi
26625
26626     fi
26627     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26628 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26629
26630     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26631
26632 cat >>confdefs.h <<\_ACEOF
26633 #define HAVE___BUILTIN_LABS 1
26634 _ACEOF
26635
26636     fi
26637
26638   fi
26639
26640
26641
26642   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26643 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26644   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26645     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26646   echo $ECHO_N "(cached) $ECHO_C" >&6
26647 else
26648
26649
26650
26651       ac_ext=cc
26652 ac_cpp='$CXXCPP $CPPFLAGS'
26653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26656
26657       cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h.  */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h.  */
26663 #include <math.h>
26664 int
26665 main ()
26666 {
26667  __builtin_sqrtf(0);
26668   ;
26669   return 0;
26670 }
26671 _ACEOF
26672 rm -f conftest.$ac_objext
26673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26674   (eval $ac_compile) 2>conftest.er1
26675   ac_status=$?
26676   grep -v '^ *+' conftest.er1 >conftest.err
26677   rm -f conftest.er1
26678   cat conftest.err >&5
26679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680   (exit $ac_status); } &&
26681          { ac_try='test -z "$ac_cxx_werror_flag"
26682                          || test ! -s conftest.err'
26683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26684   (eval $ac_try) 2>&5
26685   ac_status=$?
26686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687   (exit $ac_status); }; } &&
26688          { ac_try='test -s conftest.$ac_objext'
26689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690   (eval $ac_try) 2>&5
26691   ac_status=$?
26692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693   (exit $ac_status); }; }; then
26694   glibcxx_cv_func___builtin_sqrtf_use=yes
26695 else
26696   echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26698
26699 glibcxx_cv_func___builtin_sqrtf_use=no
26700 fi
26701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26702       ac_ext=c
26703 ac_cpp='$CPP $CPPFLAGS'
26704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26707
26708
26709 fi
26710
26711   fi
26712   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26713 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26714   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26715     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26716 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26717     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26718       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26719   echo $ECHO_N "(cached) $ECHO_C" >&6
26720 else
26721
26722         if test x$gcc_no_link = xyes; then
26723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26725    { (exit 1); exit 1; }; }
26726 fi
26727 cat >conftest.$ac_ext <<_ACEOF
26728 /* confdefs.h.  */
26729 _ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h.  */
26733 #include <math.h>
26734 int
26735 main ()
26736 {
26737  __builtin_sqrtf(0);
26738   ;
26739   return 0;
26740 }
26741 _ACEOF
26742 rm -f conftest.$ac_objext conftest$ac_exeext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26744   (eval $ac_link) 2>conftest.er1
26745   ac_status=$?
26746   grep -v '^ *+' conftest.er1 >conftest.err
26747   rm -f conftest.er1
26748   cat conftest.err >&5
26749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750   (exit $ac_status); } &&
26751          { ac_try='test -z "$ac_c_werror_flag"
26752                          || test ! -s conftest.err'
26753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754   (eval $ac_try) 2>&5
26755   ac_status=$?
26756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757   (exit $ac_status); }; } &&
26758          { ac_try='test -s conftest$ac_exeext'
26759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26760   (eval $ac_try) 2>&5
26761   ac_status=$?
26762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763   (exit $ac_status); }; }; then
26764   glibcxx_cv_func___builtin_sqrtf_link=yes
26765 else
26766   echo "$as_me: failed program was:" >&5
26767 sed 's/^/| /' conftest.$ac_ext >&5
26768
26769 glibcxx_cv_func___builtin_sqrtf_link=no
26770 fi
26771 rm -f conftest.err conftest.$ac_objext \
26772       conftest$ac_exeext conftest.$ac_ext
26773
26774 fi
26775
26776     fi
26777     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26778 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26779
26780     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26781
26782 cat >>confdefs.h <<\_ACEOF
26783 #define HAVE___BUILTIN_SQRTF 1
26784 _ACEOF
26785
26786     fi
26787
26788   fi
26789
26790
26791   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26792 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26793   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26794     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26795   echo $ECHO_N "(cached) $ECHO_C" >&6
26796 else
26797
26798
26799
26800       ac_ext=cc
26801 ac_cpp='$CXXCPP $CPPFLAGS'
26802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26805
26806       cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h.  */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h.  */
26812 #include <math.h>
26813 int
26814 main ()
26815 {
26816  __builtin_sqrt(0);
26817   ;
26818   return 0;
26819 }
26820 _ACEOF
26821 rm -f conftest.$ac_objext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26823   (eval $ac_compile) 2>conftest.er1
26824   ac_status=$?
26825   grep -v '^ *+' conftest.er1 >conftest.err
26826   rm -f conftest.er1
26827   cat conftest.err >&5
26828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829   (exit $ac_status); } &&
26830          { ac_try='test -z "$ac_cxx_werror_flag"
26831                          || test ! -s conftest.err'
26832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833   (eval $ac_try) 2>&5
26834   ac_status=$?
26835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836   (exit $ac_status); }; } &&
26837          { ac_try='test -s conftest.$ac_objext'
26838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839   (eval $ac_try) 2>&5
26840   ac_status=$?
26841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842   (exit $ac_status); }; }; then
26843   glibcxx_cv_func___builtin_sqrt_use=yes
26844 else
26845   echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 glibcxx_cv_func___builtin_sqrt_use=no
26849 fi
26850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26851       ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26856
26857
26858 fi
26859
26860   fi
26861   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26862 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26863   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26864     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26865 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26866     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26867       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26868   echo $ECHO_N "(cached) $ECHO_C" >&6
26869 else
26870
26871         if test x$gcc_no_link = xyes; then
26872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26874    { (exit 1); exit 1; }; }
26875 fi
26876 cat >conftest.$ac_ext <<_ACEOF
26877 /* confdefs.h.  */
26878 _ACEOF
26879 cat confdefs.h >>conftest.$ac_ext
26880 cat >>conftest.$ac_ext <<_ACEOF
26881 /* end confdefs.h.  */
26882 #include <math.h>
26883 int
26884 main ()
26885 {
26886  __builtin_sqrt(0);
26887   ;
26888   return 0;
26889 }
26890 _ACEOF
26891 rm -f conftest.$ac_objext conftest$ac_exeext
26892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26893   (eval $ac_link) 2>conftest.er1
26894   ac_status=$?
26895   grep -v '^ *+' conftest.er1 >conftest.err
26896   rm -f conftest.er1
26897   cat conftest.err >&5
26898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899   (exit $ac_status); } &&
26900          { ac_try='test -z "$ac_c_werror_flag"
26901                          || test ! -s conftest.err'
26902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903   (eval $ac_try) 2>&5
26904   ac_status=$?
26905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906   (exit $ac_status); }; } &&
26907          { ac_try='test -s conftest$ac_exeext'
26908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909   (eval $ac_try) 2>&5
26910   ac_status=$?
26911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912   (exit $ac_status); }; }; then
26913   glibcxx_cv_func___builtin_sqrt_link=yes
26914 else
26915   echo "$as_me: failed program was:" >&5
26916 sed 's/^/| /' conftest.$ac_ext >&5
26917
26918 glibcxx_cv_func___builtin_sqrt_link=no
26919 fi
26920 rm -f conftest.err conftest.$ac_objext \
26921       conftest$ac_exeext conftest.$ac_ext
26922
26923 fi
26924
26925     fi
26926     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26927 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26928
26929     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26930
26931 cat >>confdefs.h <<\_ACEOF
26932 #define HAVE___BUILTIN_SQRT 1
26933 _ACEOF
26934
26935     fi
26936
26937   fi
26938
26939
26940   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26941 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26942   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26943     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26944   echo $ECHO_N "(cached) $ECHO_C" >&6
26945 else
26946
26947
26948
26949       ac_ext=cc
26950 ac_cpp='$CXXCPP $CPPFLAGS'
26951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26954
26955       cat >conftest.$ac_ext <<_ACEOF
26956 /* confdefs.h.  */
26957 _ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h.  */
26961 #include <math.h>
26962 int
26963 main ()
26964 {
26965  __builtin_sqrtl(0);
26966   ;
26967   return 0;
26968 }
26969 _ACEOF
26970 rm -f conftest.$ac_objext
26971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26972   (eval $ac_compile) 2>conftest.er1
26973   ac_status=$?
26974   grep -v '^ *+' conftest.er1 >conftest.err
26975   rm -f conftest.er1
26976   cat conftest.err >&5
26977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978   (exit $ac_status); } &&
26979          { ac_try='test -z "$ac_cxx_werror_flag"
26980                          || test ! -s conftest.err'
26981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982   (eval $ac_try) 2>&5
26983   ac_status=$?
26984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985   (exit $ac_status); }; } &&
26986          { ac_try='test -s conftest.$ac_objext'
26987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988   (eval $ac_try) 2>&5
26989   ac_status=$?
26990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991   (exit $ac_status); }; }; then
26992   glibcxx_cv_func___builtin_sqrtl_use=yes
26993 else
26994   echo "$as_me: failed program was:" >&5
26995 sed 's/^/| /' conftest.$ac_ext >&5
26996
26997 glibcxx_cv_func___builtin_sqrtl_use=no
26998 fi
26999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27000       ac_ext=c
27001 ac_cpp='$CPP $CPPFLAGS'
27002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27005
27006
27007 fi
27008
27009   fi
27010   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27011 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27012   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27013     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27014 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27015     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27016       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27017   echo $ECHO_N "(cached) $ECHO_C" >&6
27018 else
27019
27020         if test x$gcc_no_link = xyes; then
27021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27023    { (exit 1); exit 1; }; }
27024 fi
27025 cat >conftest.$ac_ext <<_ACEOF
27026 /* confdefs.h.  */
27027 _ACEOF
27028 cat confdefs.h >>conftest.$ac_ext
27029 cat >>conftest.$ac_ext <<_ACEOF
27030 /* end confdefs.h.  */
27031 #include <math.h>
27032 int
27033 main ()
27034 {
27035  __builtin_sqrtl(0);
27036   ;
27037   return 0;
27038 }
27039 _ACEOF
27040 rm -f conftest.$ac_objext conftest$ac_exeext
27041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27042   (eval $ac_link) 2>conftest.er1
27043   ac_status=$?
27044   grep -v '^ *+' conftest.er1 >conftest.err
27045   rm -f conftest.er1
27046   cat conftest.err >&5
27047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048   (exit $ac_status); } &&
27049          { ac_try='test -z "$ac_c_werror_flag"
27050                          || test ! -s conftest.err'
27051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052   (eval $ac_try) 2>&5
27053   ac_status=$?
27054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055   (exit $ac_status); }; } &&
27056          { ac_try='test -s conftest$ac_exeext'
27057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058   (eval $ac_try) 2>&5
27059   ac_status=$?
27060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061   (exit $ac_status); }; }; then
27062   glibcxx_cv_func___builtin_sqrtl_link=yes
27063 else
27064   echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 glibcxx_cv_func___builtin_sqrtl_link=no
27068 fi
27069 rm -f conftest.err conftest.$ac_objext \
27070       conftest$ac_exeext conftest.$ac_ext
27071
27072 fi
27073
27074     fi
27075     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27076 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27077
27078     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27079
27080 cat >>confdefs.h <<\_ACEOF
27081 #define HAVE___BUILTIN_SQRTL 1
27082 _ACEOF
27083
27084     fi
27085
27086   fi
27087
27088
27089
27090   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27091 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27092   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27093     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27094   echo $ECHO_N "(cached) $ECHO_C" >&6
27095 else
27096
27097
27098
27099       ac_ext=cc
27100 ac_cpp='$CXXCPP $CPPFLAGS'
27101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27104
27105       cat >conftest.$ac_ext <<_ACEOF
27106 /* confdefs.h.  */
27107 _ACEOF
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h.  */
27111 #include <math.h>
27112 int
27113 main ()
27114 {
27115  __builtin_sinf(0);
27116   ;
27117   return 0;
27118 }
27119 _ACEOF
27120 rm -f conftest.$ac_objext
27121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27122   (eval $ac_compile) 2>conftest.er1
27123   ac_status=$?
27124   grep -v '^ *+' conftest.er1 >conftest.err
27125   rm -f conftest.er1
27126   cat conftest.err >&5
27127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128   (exit $ac_status); } &&
27129          { ac_try='test -z "$ac_cxx_werror_flag"
27130                          || test ! -s conftest.err'
27131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132   (eval $ac_try) 2>&5
27133   ac_status=$?
27134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135   (exit $ac_status); }; } &&
27136          { ac_try='test -s conftest.$ac_objext'
27137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138   (eval $ac_try) 2>&5
27139   ac_status=$?
27140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141   (exit $ac_status); }; }; then
27142   glibcxx_cv_func___builtin_sinf_use=yes
27143 else
27144   echo "$as_me: failed program was:" >&5
27145 sed 's/^/| /' conftest.$ac_ext >&5
27146
27147 glibcxx_cv_func___builtin_sinf_use=no
27148 fi
27149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27150       ac_ext=c
27151 ac_cpp='$CPP $CPPFLAGS'
27152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27155
27156
27157 fi
27158
27159   fi
27160   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27161 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27162   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27163     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27164 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27165     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27166       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27167   echo $ECHO_N "(cached) $ECHO_C" >&6
27168 else
27169
27170         if test x$gcc_no_link = xyes; then
27171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27173    { (exit 1); exit 1; }; }
27174 fi
27175 cat >conftest.$ac_ext <<_ACEOF
27176 /* confdefs.h.  */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h.  */
27181 #include <math.h>
27182 int
27183 main ()
27184 {
27185  __builtin_sinf(0);
27186   ;
27187   return 0;
27188 }
27189 _ACEOF
27190 rm -f conftest.$ac_objext conftest$ac_exeext
27191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27192   (eval $ac_link) 2>conftest.er1
27193   ac_status=$?
27194   grep -v '^ *+' conftest.er1 >conftest.err
27195   rm -f conftest.er1
27196   cat conftest.err >&5
27197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198   (exit $ac_status); } &&
27199          { ac_try='test -z "$ac_c_werror_flag"
27200                          || test ! -s conftest.err'
27201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27202   (eval $ac_try) 2>&5
27203   ac_status=$?
27204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205   (exit $ac_status); }; } &&
27206          { ac_try='test -s conftest$ac_exeext'
27207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27208   (eval $ac_try) 2>&5
27209   ac_status=$?
27210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211   (exit $ac_status); }; }; then
27212   glibcxx_cv_func___builtin_sinf_link=yes
27213 else
27214   echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.$ac_ext >&5
27216
27217 glibcxx_cv_func___builtin_sinf_link=no
27218 fi
27219 rm -f conftest.err conftest.$ac_objext \
27220       conftest$ac_exeext conftest.$ac_ext
27221
27222 fi
27223
27224     fi
27225     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27226 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27227
27228     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27229
27230 cat >>confdefs.h <<\_ACEOF
27231 #define HAVE___BUILTIN_SINF 1
27232 _ACEOF
27233
27234     fi
27235
27236   fi
27237
27238
27239   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27240 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27241   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27242     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27243   echo $ECHO_N "(cached) $ECHO_C" >&6
27244 else
27245
27246
27247
27248       ac_ext=cc
27249 ac_cpp='$CXXCPP $CPPFLAGS'
27250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27253
27254       cat >conftest.$ac_ext <<_ACEOF
27255 /* confdefs.h.  */
27256 _ACEOF
27257 cat confdefs.h >>conftest.$ac_ext
27258 cat >>conftest.$ac_ext <<_ACEOF
27259 /* end confdefs.h.  */
27260 #include <math.h>
27261 int
27262 main ()
27263 {
27264  __builtin_sin(0);
27265   ;
27266   return 0;
27267 }
27268 _ACEOF
27269 rm -f conftest.$ac_objext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27271   (eval $ac_compile) 2>conftest.er1
27272   ac_status=$?
27273   grep -v '^ *+' conftest.er1 >conftest.err
27274   rm -f conftest.er1
27275   cat conftest.err >&5
27276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277   (exit $ac_status); } &&
27278          { ac_try='test -z "$ac_cxx_werror_flag"
27279                          || test ! -s conftest.err'
27280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281   (eval $ac_try) 2>&5
27282   ac_status=$?
27283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284   (exit $ac_status); }; } &&
27285          { ac_try='test -s conftest.$ac_objext'
27286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287   (eval $ac_try) 2>&5
27288   ac_status=$?
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); }; }; then
27291   glibcxx_cv_func___builtin_sin_use=yes
27292 else
27293   echo "$as_me: failed program was:" >&5
27294 sed 's/^/| /' conftest.$ac_ext >&5
27295
27296 glibcxx_cv_func___builtin_sin_use=no
27297 fi
27298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27299       ac_ext=c
27300 ac_cpp='$CPP $CPPFLAGS'
27301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27304
27305
27306 fi
27307
27308   fi
27309   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27310 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27311   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27312     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27313 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27314     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27315       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27316   echo $ECHO_N "(cached) $ECHO_C" >&6
27317 else
27318
27319         if test x$gcc_no_link = xyes; then
27320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27322    { (exit 1); exit 1; }; }
27323 fi
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h.  */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h.  */
27330 #include <math.h>
27331 int
27332 main ()
27333 {
27334  __builtin_sin(0);
27335   ;
27336   return 0;
27337 }
27338 _ACEOF
27339 rm -f conftest.$ac_objext conftest$ac_exeext
27340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27341   (eval $ac_link) 2>conftest.er1
27342   ac_status=$?
27343   grep -v '^ *+' conftest.er1 >conftest.err
27344   rm -f conftest.er1
27345   cat conftest.err >&5
27346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347   (exit $ac_status); } &&
27348          { ac_try='test -z "$ac_c_werror_flag"
27349                          || test ! -s conftest.err'
27350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351   (eval $ac_try) 2>&5
27352   ac_status=$?
27353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354   (exit $ac_status); }; } &&
27355          { ac_try='test -s conftest$ac_exeext'
27356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357   (eval $ac_try) 2>&5
27358   ac_status=$?
27359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360   (exit $ac_status); }; }; then
27361   glibcxx_cv_func___builtin_sin_link=yes
27362 else
27363   echo "$as_me: failed program was:" >&5
27364 sed 's/^/| /' conftest.$ac_ext >&5
27365
27366 glibcxx_cv_func___builtin_sin_link=no
27367 fi
27368 rm -f conftest.err conftest.$ac_objext \
27369       conftest$ac_exeext conftest.$ac_ext
27370
27371 fi
27372
27373     fi
27374     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27375 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27376
27377     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27378
27379 cat >>confdefs.h <<\_ACEOF
27380 #define HAVE___BUILTIN_SIN 1
27381 _ACEOF
27382
27383     fi
27384
27385   fi
27386
27387
27388   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27389 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27390   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27391     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27392   echo $ECHO_N "(cached) $ECHO_C" >&6
27393 else
27394
27395
27396
27397       ac_ext=cc
27398 ac_cpp='$CXXCPP $CPPFLAGS'
27399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27402
27403       cat >conftest.$ac_ext <<_ACEOF
27404 /* confdefs.h.  */
27405 _ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h.  */
27409 #include <math.h>
27410 int
27411 main ()
27412 {
27413  __builtin_sinl(0);
27414   ;
27415   return 0;
27416 }
27417 _ACEOF
27418 rm -f conftest.$ac_objext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27420   (eval $ac_compile) 2>conftest.er1
27421   ac_status=$?
27422   grep -v '^ *+' conftest.er1 >conftest.err
27423   rm -f conftest.er1
27424   cat conftest.err >&5
27425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426   (exit $ac_status); } &&
27427          { ac_try='test -z "$ac_cxx_werror_flag"
27428                          || test ! -s conftest.err'
27429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430   (eval $ac_try) 2>&5
27431   ac_status=$?
27432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433   (exit $ac_status); }; } &&
27434          { ac_try='test -s conftest.$ac_objext'
27435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436   (eval $ac_try) 2>&5
27437   ac_status=$?
27438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439   (exit $ac_status); }; }; then
27440   glibcxx_cv_func___builtin_sinl_use=yes
27441 else
27442   echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27444
27445 glibcxx_cv_func___builtin_sinl_use=no
27446 fi
27447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27448       ac_ext=c
27449 ac_cpp='$CPP $CPPFLAGS'
27450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27453
27454
27455 fi
27456
27457   fi
27458   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27459 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27460   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27461     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27462 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27463     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27464       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27465   echo $ECHO_N "(cached) $ECHO_C" >&6
27466 else
27467
27468         if test x$gcc_no_link = xyes; then
27469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27471    { (exit 1); exit 1; }; }
27472 fi
27473 cat >conftest.$ac_ext <<_ACEOF
27474 /* confdefs.h.  */
27475 _ACEOF
27476 cat confdefs.h >>conftest.$ac_ext
27477 cat >>conftest.$ac_ext <<_ACEOF
27478 /* end confdefs.h.  */
27479 #include <math.h>
27480 int
27481 main ()
27482 {
27483  __builtin_sinl(0);
27484   ;
27485   return 0;
27486 }
27487 _ACEOF
27488 rm -f conftest.$ac_objext conftest$ac_exeext
27489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27490   (eval $ac_link) 2>conftest.er1
27491   ac_status=$?
27492   grep -v '^ *+' conftest.er1 >conftest.err
27493   rm -f conftest.er1
27494   cat conftest.err >&5
27495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27496   (exit $ac_status); } &&
27497          { ac_try='test -z "$ac_c_werror_flag"
27498                          || test ! -s conftest.err'
27499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27500   (eval $ac_try) 2>&5
27501   ac_status=$?
27502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503   (exit $ac_status); }; } &&
27504          { ac_try='test -s conftest$ac_exeext'
27505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27506   (eval $ac_try) 2>&5
27507   ac_status=$?
27508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509   (exit $ac_status); }; }; then
27510   glibcxx_cv_func___builtin_sinl_link=yes
27511 else
27512   echo "$as_me: failed program was:" >&5
27513 sed 's/^/| /' conftest.$ac_ext >&5
27514
27515 glibcxx_cv_func___builtin_sinl_link=no
27516 fi
27517 rm -f conftest.err conftest.$ac_objext \
27518       conftest$ac_exeext conftest.$ac_ext
27519
27520 fi
27521
27522     fi
27523     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27524 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27525
27526     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27527
27528 cat >>confdefs.h <<\_ACEOF
27529 #define HAVE___BUILTIN_SINL 1
27530 _ACEOF
27531
27532     fi
27533
27534   fi
27535
27536
27537
27538   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27539 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27540   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27541     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27542   echo $ECHO_N "(cached) $ECHO_C" >&6
27543 else
27544
27545
27546
27547       ac_ext=cc
27548 ac_cpp='$CXXCPP $CPPFLAGS'
27549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27552
27553       cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h.  */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h.  */
27559 #include <math.h>
27560 int
27561 main ()
27562 {
27563  __builtin_cosf(0);
27564   ;
27565   return 0;
27566 }
27567 _ACEOF
27568 rm -f conftest.$ac_objext
27569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27570   (eval $ac_compile) 2>conftest.er1
27571   ac_status=$?
27572   grep -v '^ *+' conftest.er1 >conftest.err
27573   rm -f conftest.er1
27574   cat conftest.err >&5
27575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576   (exit $ac_status); } &&
27577          { ac_try='test -z "$ac_cxx_werror_flag"
27578                          || test ! -s conftest.err'
27579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27580   (eval $ac_try) 2>&5
27581   ac_status=$?
27582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583   (exit $ac_status); }; } &&
27584          { ac_try='test -s conftest.$ac_objext'
27585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586   (eval $ac_try) 2>&5
27587   ac_status=$?
27588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589   (exit $ac_status); }; }; then
27590   glibcxx_cv_func___builtin_cosf_use=yes
27591 else
27592   echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27594
27595 glibcxx_cv_func___builtin_cosf_use=no
27596 fi
27597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27598       ac_ext=c
27599 ac_cpp='$CPP $CPPFLAGS'
27600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27603
27604
27605 fi
27606
27607   fi
27608   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27609 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27610   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27611     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27612 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27613     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27614       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27615   echo $ECHO_N "(cached) $ECHO_C" >&6
27616 else
27617
27618         if test x$gcc_no_link = xyes; then
27619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27621    { (exit 1); exit 1; }; }
27622 fi
27623 cat >conftest.$ac_ext <<_ACEOF
27624 /* confdefs.h.  */
27625 _ACEOF
27626 cat confdefs.h >>conftest.$ac_ext
27627 cat >>conftest.$ac_ext <<_ACEOF
27628 /* end confdefs.h.  */
27629 #include <math.h>
27630 int
27631 main ()
27632 {
27633  __builtin_cosf(0);
27634   ;
27635   return 0;
27636 }
27637 _ACEOF
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640   (eval $ac_link) 2>conftest.er1
27641   ac_status=$?
27642   grep -v '^ *+' conftest.er1 >conftest.err
27643   rm -f conftest.er1
27644   cat conftest.err >&5
27645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646   (exit $ac_status); } &&
27647          { ac_try='test -z "$ac_c_werror_flag"
27648                          || test ! -s conftest.err'
27649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650   (eval $ac_try) 2>&5
27651   ac_status=$?
27652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653   (exit $ac_status); }; } &&
27654          { ac_try='test -s conftest$ac_exeext'
27655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27656   (eval $ac_try) 2>&5
27657   ac_status=$?
27658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659   (exit $ac_status); }; }; then
27660   glibcxx_cv_func___builtin_cosf_link=yes
27661 else
27662   echo "$as_me: failed program was:" >&5
27663 sed 's/^/| /' conftest.$ac_ext >&5
27664
27665 glibcxx_cv_func___builtin_cosf_link=no
27666 fi
27667 rm -f conftest.err conftest.$ac_objext \
27668       conftest$ac_exeext conftest.$ac_ext
27669
27670 fi
27671
27672     fi
27673     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27674 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27675
27676     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27677
27678 cat >>confdefs.h <<\_ACEOF
27679 #define HAVE___BUILTIN_COSF 1
27680 _ACEOF
27681
27682     fi
27683
27684   fi
27685
27686
27687   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27688 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27689   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27690     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27691   echo $ECHO_N "(cached) $ECHO_C" >&6
27692 else
27693
27694
27695
27696       ac_ext=cc
27697 ac_cpp='$CXXCPP $CPPFLAGS'
27698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27701
27702       cat >conftest.$ac_ext <<_ACEOF
27703 /* confdefs.h.  */
27704 _ACEOF
27705 cat confdefs.h >>conftest.$ac_ext
27706 cat >>conftest.$ac_ext <<_ACEOF
27707 /* end confdefs.h.  */
27708 #include <math.h>
27709 int
27710 main ()
27711 {
27712  __builtin_cos(0);
27713   ;
27714   return 0;
27715 }
27716 _ACEOF
27717 rm -f conftest.$ac_objext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27719   (eval $ac_compile) 2>conftest.er1
27720   ac_status=$?
27721   grep -v '^ *+' conftest.er1 >conftest.err
27722   rm -f conftest.er1
27723   cat conftest.err >&5
27724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725   (exit $ac_status); } &&
27726          { ac_try='test -z "$ac_cxx_werror_flag"
27727                          || test ! -s conftest.err'
27728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729   (eval $ac_try) 2>&5
27730   ac_status=$?
27731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732   (exit $ac_status); }; } &&
27733          { ac_try='test -s conftest.$ac_objext'
27734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27735   (eval $ac_try) 2>&5
27736   ac_status=$?
27737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738   (exit $ac_status); }; }; then
27739   glibcxx_cv_func___builtin_cos_use=yes
27740 else
27741   echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27743
27744 glibcxx_cv_func___builtin_cos_use=no
27745 fi
27746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27747       ac_ext=c
27748 ac_cpp='$CPP $CPPFLAGS'
27749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27752
27753
27754 fi
27755
27756   fi
27757   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27758 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27759   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27760     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27761 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27762     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27763       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27764   echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27766
27767         if test x$gcc_no_link = xyes; then
27768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27770    { (exit 1); exit 1; }; }
27771 fi
27772 cat >conftest.$ac_ext <<_ACEOF
27773 /* confdefs.h.  */
27774 _ACEOF
27775 cat confdefs.h >>conftest.$ac_ext
27776 cat >>conftest.$ac_ext <<_ACEOF
27777 /* end confdefs.h.  */
27778 #include <math.h>
27779 int
27780 main ()
27781 {
27782  __builtin_cos(0);
27783   ;
27784   return 0;
27785 }
27786 _ACEOF
27787 rm -f conftest.$ac_objext conftest$ac_exeext
27788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27789   (eval $ac_link) 2>conftest.er1
27790   ac_status=$?
27791   grep -v '^ *+' conftest.er1 >conftest.err
27792   rm -f conftest.er1
27793   cat conftest.err >&5
27794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795   (exit $ac_status); } &&
27796          { ac_try='test -z "$ac_c_werror_flag"
27797                          || test ! -s conftest.err'
27798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27799   (eval $ac_try) 2>&5
27800   ac_status=$?
27801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802   (exit $ac_status); }; } &&
27803          { ac_try='test -s conftest$ac_exeext'
27804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27805   (eval $ac_try) 2>&5
27806   ac_status=$?
27807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808   (exit $ac_status); }; }; then
27809   glibcxx_cv_func___builtin_cos_link=yes
27810 else
27811   echo "$as_me: failed program was:" >&5
27812 sed 's/^/| /' conftest.$ac_ext >&5
27813
27814 glibcxx_cv_func___builtin_cos_link=no
27815 fi
27816 rm -f conftest.err conftest.$ac_objext \
27817       conftest$ac_exeext conftest.$ac_ext
27818
27819 fi
27820
27821     fi
27822     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27823 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27824
27825     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27826
27827 cat >>confdefs.h <<\_ACEOF
27828 #define HAVE___BUILTIN_COS 1
27829 _ACEOF
27830
27831     fi
27832
27833   fi
27834
27835
27836   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27837 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27838   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27839     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27840   echo $ECHO_N "(cached) $ECHO_C" >&6
27841 else
27842
27843
27844
27845       ac_ext=cc
27846 ac_cpp='$CXXCPP $CPPFLAGS'
27847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27850
27851       cat >conftest.$ac_ext <<_ACEOF
27852 /* confdefs.h.  */
27853 _ACEOF
27854 cat confdefs.h >>conftest.$ac_ext
27855 cat >>conftest.$ac_ext <<_ACEOF
27856 /* end confdefs.h.  */
27857 #include <math.h>
27858 int
27859 main ()
27860 {
27861  __builtin_cosl(0);
27862   ;
27863   return 0;
27864 }
27865 _ACEOF
27866 rm -f conftest.$ac_objext
27867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27868   (eval $ac_compile) 2>conftest.er1
27869   ac_status=$?
27870   grep -v '^ *+' conftest.er1 >conftest.err
27871   rm -f conftest.er1
27872   cat conftest.err >&5
27873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874   (exit $ac_status); } &&
27875          { ac_try='test -z "$ac_cxx_werror_flag"
27876                          || test ! -s conftest.err'
27877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27878   (eval $ac_try) 2>&5
27879   ac_status=$?
27880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881   (exit $ac_status); }; } &&
27882          { ac_try='test -s conftest.$ac_objext'
27883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884   (eval $ac_try) 2>&5
27885   ac_status=$?
27886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887   (exit $ac_status); }; }; then
27888   glibcxx_cv_func___builtin_cosl_use=yes
27889 else
27890   echo "$as_me: failed program was:" >&5
27891 sed 's/^/| /' conftest.$ac_ext >&5
27892
27893 glibcxx_cv_func___builtin_cosl_use=no
27894 fi
27895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27896       ac_ext=c
27897 ac_cpp='$CPP $CPPFLAGS'
27898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27901
27902
27903 fi
27904
27905   fi
27906   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27907 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27908   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27909     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27910 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27911     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27912       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27913   echo $ECHO_N "(cached) $ECHO_C" >&6
27914 else
27915
27916         if test x$gcc_no_link = xyes; then
27917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27919    { (exit 1); exit 1; }; }
27920 fi
27921 cat >conftest.$ac_ext <<_ACEOF
27922 /* confdefs.h.  */
27923 _ACEOF
27924 cat confdefs.h >>conftest.$ac_ext
27925 cat >>conftest.$ac_ext <<_ACEOF
27926 /* end confdefs.h.  */
27927 #include <math.h>
27928 int
27929 main ()
27930 {
27931  __builtin_cosl(0);
27932   ;
27933   return 0;
27934 }
27935 _ACEOF
27936 rm -f conftest.$ac_objext conftest$ac_exeext
27937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27938   (eval $ac_link) 2>conftest.er1
27939   ac_status=$?
27940   grep -v '^ *+' conftest.er1 >conftest.err
27941   rm -f conftest.er1
27942   cat conftest.err >&5
27943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944   (exit $ac_status); } &&
27945          { ac_try='test -z "$ac_c_werror_flag"
27946                          || test ! -s conftest.err'
27947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948   (eval $ac_try) 2>&5
27949   ac_status=$?
27950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951   (exit $ac_status); }; } &&
27952          { ac_try='test -s conftest$ac_exeext'
27953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954   (eval $ac_try) 2>&5
27955   ac_status=$?
27956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957   (exit $ac_status); }; }; then
27958   glibcxx_cv_func___builtin_cosl_link=yes
27959 else
27960   echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.$ac_ext >&5
27962
27963 glibcxx_cv_func___builtin_cosl_link=no
27964 fi
27965 rm -f conftest.err conftest.$ac_objext \
27966       conftest$ac_exeext conftest.$ac_ext
27967
27968 fi
27969
27970     fi
27971     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27972 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27973
27974     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27975
27976 cat >>confdefs.h <<\_ACEOF
27977 #define HAVE___BUILTIN_COSL 1
27978 _ACEOF
27979
27980     fi
27981
27982   fi
27983
27984
27985
27986
27987 echo "$as_me:$LINENO: checking for main in -lm" >&5
27988 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27989 if test "${ac_cv_lib_m_main+set}" = set; then
27990   echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992   ac_check_lib_save_LIBS=$LIBS
27993 LIBS="-lm  $LIBS"
27994 if test x$gcc_no_link = xyes; then
27995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27997    { (exit 1); exit 1; }; }
27998 fi
27999 cat >conftest.$ac_ext <<_ACEOF
28000 /* confdefs.h.  */
28001 _ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h.  */
28005
28006
28007 int
28008 main ()
28009 {
28010 main ();
28011   ;
28012   return 0;
28013 }
28014 _ACEOF
28015 rm -f conftest.$ac_objext conftest$ac_exeext
28016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28017   (eval $ac_link) 2>conftest.er1
28018   ac_status=$?
28019   grep -v '^ *+' conftest.er1 >conftest.err
28020   rm -f conftest.er1
28021   cat conftest.err >&5
28022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023   (exit $ac_status); } &&
28024          { ac_try='test -z "$ac_c_werror_flag"
28025                          || test ! -s conftest.err'
28026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027   (eval $ac_try) 2>&5
28028   ac_status=$?
28029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030   (exit $ac_status); }; } &&
28031          { ac_try='test -s conftest$ac_exeext'
28032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033   (eval $ac_try) 2>&5
28034   ac_status=$?
28035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036   (exit $ac_status); }; }; then
28037   ac_cv_lib_m_main=yes
28038 else
28039   echo "$as_me: failed program was:" >&5
28040 sed 's/^/| /' conftest.$ac_ext >&5
28041
28042 ac_cv_lib_m_main=no
28043 fi
28044 rm -f conftest.err conftest.$ac_objext \
28045       conftest$ac_exeext conftest.$ac_ext
28046 LIBS=$ac_check_lib_save_LIBS
28047 fi
28048 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28049 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28050 if test $ac_cv_lib_m_main = yes; then
28051   cat >>confdefs.h <<_ACEOF
28052 #define HAVE_LIBM 1
28053 _ACEOF
28054
28055   LIBS="-lm $LIBS"
28056
28057 fi
28058
28059
28060 for ac_func in copysignf
28061 do
28062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28063 echo "$as_me:$LINENO: checking for $ac_func" >&5
28064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28065 if eval "test \"\${$as_ac_var+set}\" = set"; then
28066   echo $ECHO_N "(cached) $ECHO_C" >&6
28067 else
28068   if test x$gcc_no_link = xyes; then
28069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28071    { (exit 1); exit 1; }; }
28072 fi
28073 cat >conftest.$ac_ext <<_ACEOF
28074 /* confdefs.h.  */
28075 _ACEOF
28076 cat confdefs.h >>conftest.$ac_ext
28077 cat >>conftest.$ac_ext <<_ACEOF
28078 /* end confdefs.h.  */
28079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28081 #define $ac_func innocuous_$ac_func
28082
28083 /* System header to define __stub macros and hopefully few prototypes,
28084     which can conflict with char $ac_func (); below.
28085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28086     <limits.h> exists even on freestanding compilers.  */
28087
28088 #ifdef __STDC__
28089 # include <limits.h>
28090 #else
28091 # include <assert.h>
28092 #endif
28093
28094 #undef $ac_func
28095
28096 /* Override any gcc2 internal prototype to avoid an error.  */
28097 #ifdef __cplusplus
28098 extern "C"
28099 {
28100 #endif
28101 /* We use char because int might match the return type of a gcc2
28102    builtin and then its argument prototype would still apply.  */
28103 char $ac_func ();
28104 /* The GNU C library defines this for functions which it implements
28105     to always fail with ENOSYS.  Some functions are actually named
28106     something starting with __ and the normal name is an alias.  */
28107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28108 choke me
28109 #else
28110 char (*f) () = $ac_func;
28111 #endif
28112 #ifdef __cplusplus
28113 }
28114 #endif
28115
28116 int
28117 main ()
28118 {
28119 return f != $ac_func;
28120   ;
28121   return 0;
28122 }
28123 _ACEOF
28124 rm -f conftest.$ac_objext conftest$ac_exeext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28126   (eval $ac_link) 2>conftest.er1
28127   ac_status=$?
28128   grep -v '^ *+' conftest.er1 >conftest.err
28129   rm -f conftest.er1
28130   cat conftest.err >&5
28131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132   (exit $ac_status); } &&
28133          { ac_try='test -z "$ac_c_werror_flag"
28134                          || test ! -s conftest.err'
28135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136   (eval $ac_try) 2>&5
28137   ac_status=$?
28138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139   (exit $ac_status); }; } &&
28140          { ac_try='test -s conftest$ac_exeext'
28141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142   (eval $ac_try) 2>&5
28143   ac_status=$?
28144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145   (exit $ac_status); }; }; then
28146   eval "$as_ac_var=yes"
28147 else
28148   echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.$ac_ext >&5
28150
28151 eval "$as_ac_var=no"
28152 fi
28153 rm -f conftest.err conftest.$ac_objext \
28154       conftest$ac_exeext conftest.$ac_ext
28155 fi
28156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28158 if test `eval echo '${'$as_ac_var'}'` = yes; then
28159   cat >>confdefs.h <<_ACEOF
28160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28161 _ACEOF
28162
28163 else
28164   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28165 fi
28166 done
28167
28168
28169
28170 for ac_func in __signbit
28171 do
28172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28173 echo "$as_me:$LINENO: checking for $ac_func" >&5
28174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28175 if eval "test \"\${$as_ac_var+set}\" = set"; then
28176   echo $ECHO_N "(cached) $ECHO_C" >&6
28177 else
28178   if test x$gcc_no_link = xyes; then
28179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28181    { (exit 1); exit 1; }; }
28182 fi
28183 cat >conftest.$ac_ext <<_ACEOF
28184 /* confdefs.h.  */
28185 _ACEOF
28186 cat confdefs.h >>conftest.$ac_ext
28187 cat >>conftest.$ac_ext <<_ACEOF
28188 /* end confdefs.h.  */
28189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28191 #define $ac_func innocuous_$ac_func
28192
28193 /* System header to define __stub macros and hopefully few prototypes,
28194     which can conflict with char $ac_func (); below.
28195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28196     <limits.h> exists even on freestanding compilers.  */
28197
28198 #ifdef __STDC__
28199 # include <limits.h>
28200 #else
28201 # include <assert.h>
28202 #endif
28203
28204 #undef $ac_func
28205
28206 /* Override any gcc2 internal prototype to avoid an error.  */
28207 #ifdef __cplusplus
28208 extern "C"
28209 {
28210 #endif
28211 /* We use char because int might match the return type of a gcc2
28212    builtin and then its argument prototype would still apply.  */
28213 char $ac_func ();
28214 /* The GNU C library defines this for functions which it implements
28215     to always fail with ENOSYS.  Some functions are actually named
28216     something starting with __ and the normal name is an alias.  */
28217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28218 choke me
28219 #else
28220 char (*f) () = $ac_func;
28221 #endif
28222 #ifdef __cplusplus
28223 }
28224 #endif
28225
28226 int
28227 main ()
28228 {
28229 return f != $ac_func;
28230   ;
28231   return 0;
28232 }
28233 _ACEOF
28234 rm -f conftest.$ac_objext conftest$ac_exeext
28235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28236   (eval $ac_link) 2>conftest.er1
28237   ac_status=$?
28238   grep -v '^ *+' conftest.er1 >conftest.err
28239   rm -f conftest.er1
28240   cat conftest.err >&5
28241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242   (exit $ac_status); } &&
28243          { ac_try='test -z "$ac_c_werror_flag"
28244                          || test ! -s conftest.err'
28245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246   (eval $ac_try) 2>&5
28247   ac_status=$?
28248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249   (exit $ac_status); }; } &&
28250          { ac_try='test -s conftest$ac_exeext'
28251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252   (eval $ac_try) 2>&5
28253   ac_status=$?
28254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255   (exit $ac_status); }; }; then
28256   eval "$as_ac_var=yes"
28257 else
28258   echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28260
28261 eval "$as_ac_var=no"
28262 fi
28263 rm -f conftest.err conftest.$ac_objext \
28264       conftest$ac_exeext conftest.$ac_ext
28265 fi
28266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28268 if test `eval echo '${'$as_ac_var'}'` = yes; then
28269   cat >>confdefs.h <<_ACEOF
28270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28271 _ACEOF
28272
28273 else
28274   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28275 fi
28276 done
28277
28278
28279
28280 for ac_func in __signbitf
28281 do
28282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28283 echo "$as_me:$LINENO: checking for $ac_func" >&5
28284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28285 if eval "test \"\${$as_ac_var+set}\" = set"; then
28286   echo $ECHO_N "(cached) $ECHO_C" >&6
28287 else
28288   if test x$gcc_no_link = xyes; then
28289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28291    { (exit 1); exit 1; }; }
28292 fi
28293 cat >conftest.$ac_ext <<_ACEOF
28294 /* confdefs.h.  */
28295 _ACEOF
28296 cat confdefs.h >>conftest.$ac_ext
28297 cat >>conftest.$ac_ext <<_ACEOF
28298 /* end confdefs.h.  */
28299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28301 #define $ac_func innocuous_$ac_func
28302
28303 /* System header to define __stub macros and hopefully few prototypes,
28304     which can conflict with char $ac_func (); below.
28305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28306     <limits.h> exists even on freestanding compilers.  */
28307
28308 #ifdef __STDC__
28309 # include <limits.h>
28310 #else
28311 # include <assert.h>
28312 #endif
28313
28314 #undef $ac_func
28315
28316 /* Override any gcc2 internal prototype to avoid an error.  */
28317 #ifdef __cplusplus
28318 extern "C"
28319 {
28320 #endif
28321 /* We use char because int might match the return type of a gcc2
28322    builtin and then its argument prototype would still apply.  */
28323 char $ac_func ();
28324 /* The GNU C library defines this for functions which it implements
28325     to always fail with ENOSYS.  Some functions are actually named
28326     something starting with __ and the normal name is an alias.  */
28327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28328 choke me
28329 #else
28330 char (*f) () = $ac_func;
28331 #endif
28332 #ifdef __cplusplus
28333 }
28334 #endif
28335
28336 int
28337 main ()
28338 {
28339 return f != $ac_func;
28340   ;
28341   return 0;
28342 }
28343 _ACEOF
28344 rm -f conftest.$ac_objext conftest$ac_exeext
28345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28346   (eval $ac_link) 2>conftest.er1
28347   ac_status=$?
28348   grep -v '^ *+' conftest.er1 >conftest.err
28349   rm -f conftest.er1
28350   cat conftest.err >&5
28351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352   (exit $ac_status); } &&
28353          { ac_try='test -z "$ac_c_werror_flag"
28354                          || test ! -s conftest.err'
28355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28356   (eval $ac_try) 2>&5
28357   ac_status=$?
28358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359   (exit $ac_status); }; } &&
28360          { ac_try='test -s conftest$ac_exeext'
28361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28362   (eval $ac_try) 2>&5
28363   ac_status=$?
28364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365   (exit $ac_status); }; }; then
28366   eval "$as_ac_var=yes"
28367 else
28368   echo "$as_me: failed program was:" >&5
28369 sed 's/^/| /' conftest.$ac_ext >&5
28370
28371 eval "$as_ac_var=no"
28372 fi
28373 rm -f conftest.err conftest.$ac_objext \
28374       conftest$ac_exeext conftest.$ac_ext
28375 fi
28376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28378 if test `eval echo '${'$as_ac_var'}'` = yes; then
28379   cat >>confdefs.h <<_ACEOF
28380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28381 _ACEOF
28382
28383 else
28384   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28385 fi
28386 done
28387
28388
28389           if test x$ac_cv_func_copysignl = x"yes"; then
28390
28391 for ac_func in __signbitl
28392 do
28393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28394 echo "$as_me:$LINENO: checking for $ac_func" >&5
28395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28396 if eval "test \"\${$as_ac_var+set}\" = set"; then
28397   echo $ECHO_N "(cached) $ECHO_C" >&6
28398 else
28399   if test x$gcc_no_link = xyes; then
28400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28402    { (exit 1); exit 1; }; }
28403 fi
28404 cat >conftest.$ac_ext <<_ACEOF
28405 /* confdefs.h.  */
28406 _ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h.  */
28410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28412 #define $ac_func innocuous_$ac_func
28413
28414 /* System header to define __stub macros and hopefully few prototypes,
28415     which can conflict with char $ac_func (); below.
28416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28417     <limits.h> exists even on freestanding compilers.  */
28418
28419 #ifdef __STDC__
28420 # include <limits.h>
28421 #else
28422 # include <assert.h>
28423 #endif
28424
28425 #undef $ac_func
28426
28427 /* Override any gcc2 internal prototype to avoid an error.  */
28428 #ifdef __cplusplus
28429 extern "C"
28430 {
28431 #endif
28432 /* We use char because int might match the return type of a gcc2
28433    builtin and then its argument prototype would still apply.  */
28434 char $ac_func ();
28435 /* The GNU C library defines this for functions which it implements
28436     to always fail with ENOSYS.  Some functions are actually named
28437     something starting with __ and the normal name is an alias.  */
28438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28439 choke me
28440 #else
28441 char (*f) () = $ac_func;
28442 #endif
28443 #ifdef __cplusplus
28444 }
28445 #endif
28446
28447 int
28448 main ()
28449 {
28450 return f != $ac_func;
28451   ;
28452   return 0;
28453 }
28454 _ACEOF
28455 rm -f conftest.$ac_objext conftest$ac_exeext
28456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28457   (eval $ac_link) 2>conftest.er1
28458   ac_status=$?
28459   grep -v '^ *+' conftest.er1 >conftest.err
28460   rm -f conftest.er1
28461   cat conftest.err >&5
28462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463   (exit $ac_status); } &&
28464          { ac_try='test -z "$ac_c_werror_flag"
28465                          || test ! -s conftest.err'
28466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467   (eval $ac_try) 2>&5
28468   ac_status=$?
28469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470   (exit $ac_status); }; } &&
28471          { ac_try='test -s conftest$ac_exeext'
28472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473   (eval $ac_try) 2>&5
28474   ac_status=$?
28475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476   (exit $ac_status); }; }; then
28477   eval "$as_ac_var=yes"
28478 else
28479   echo "$as_me: failed program was:" >&5
28480 sed 's/^/| /' conftest.$ac_ext >&5
28481
28482 eval "$as_ac_var=no"
28483 fi
28484 rm -f conftest.err conftest.$ac_objext \
28485       conftest$ac_exeext conftest.$ac_ext
28486 fi
28487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28489 if test `eval echo '${'$as_ac_var'}'` = yes; then
28490   cat >>confdefs.h <<_ACEOF
28491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28492 _ACEOF
28493
28494 else
28495   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28496 fi
28497 done
28498
28499   fi
28500
28501   # Used in libmath/Makefile.am.
28502   if test -n "$LIBMATHOBJS"; then
28503     need_libmath=yes
28504   fi
28505
28506
28507
28508
28509   enable_iconv=no
28510   # Only continue checking if the ISO C99 headers exist and support is on.
28511   if test x"$enable_wchar_t" = xyes; then
28512
28513     # From Bruno Haible's AM_ICONV, but without link tests.
28514     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28515     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
28516     # those with the standalone portable GNU libiconv installed).
28517
28518 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28519 if test "${with_libiconv_prefix+set}" = set; then
28520   withval="$with_libiconv_prefix"
28521     for dir in `echo "$withval" | tr : ' '`; do
28522       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
28523       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
28524     done
28525     LIBICONV="$LIBICONV -liconv"
28526
28527 fi;
28528    if test x"$LIBICONV" != x; then
28529      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
28530 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
28531    fi
28532
28533     # Use iconv for wchar_t to char conversions. As such, check for
28534     # X/Open Portability Guide, version 2 features (XPG2).
28535     if test "${ac_cv_header_iconv_h+set}" = set; then
28536   echo "$as_me:$LINENO: checking for iconv.h" >&5
28537 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28538 if test "${ac_cv_header_iconv_h+set}" = set; then
28539   echo $ECHO_N "(cached) $ECHO_C" >&6
28540 fi
28541 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28542 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28543 else
28544   # Is the header compilable?
28545 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28546 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28547 cat >conftest.$ac_ext <<_ACEOF
28548 /* confdefs.h.  */
28549 _ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h.  */
28553 $ac_includes_default
28554 #include <iconv.h>
28555 _ACEOF
28556 rm -f conftest.$ac_objext
28557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28558   (eval $ac_compile) 2>conftest.er1
28559   ac_status=$?
28560   grep -v '^ *+' conftest.er1 >conftest.err
28561   rm -f conftest.er1
28562   cat conftest.err >&5
28563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564   (exit $ac_status); } &&
28565          { ac_try='test -z "$ac_c_werror_flag"
28566                          || test ! -s conftest.err'
28567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568   (eval $ac_try) 2>&5
28569   ac_status=$?
28570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571   (exit $ac_status); }; } &&
28572          { ac_try='test -s conftest.$ac_objext'
28573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574   (eval $ac_try) 2>&5
28575   ac_status=$?
28576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577   (exit $ac_status); }; }; then
28578   ac_header_compiler=yes
28579 else
28580   echo "$as_me: failed program was:" >&5
28581 sed 's/^/| /' conftest.$ac_ext >&5
28582
28583 ac_header_compiler=no
28584 fi
28585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28587 echo "${ECHO_T}$ac_header_compiler" >&6
28588
28589 # Is the header present?
28590 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28591 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28592 cat >conftest.$ac_ext <<_ACEOF
28593 /* confdefs.h.  */
28594 _ACEOF
28595 cat confdefs.h >>conftest.$ac_ext
28596 cat >>conftest.$ac_ext <<_ACEOF
28597 /* end confdefs.h.  */
28598 #include <iconv.h>
28599 _ACEOF
28600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28601   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28602   ac_status=$?
28603   grep -v '^ *+' conftest.er1 >conftest.err
28604   rm -f conftest.er1
28605   cat conftest.err >&5
28606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607   (exit $ac_status); } >/dev/null; then
28608   if test -s conftest.err; then
28609     ac_cpp_err=$ac_c_preproc_warn_flag
28610     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28611   else
28612     ac_cpp_err=
28613   fi
28614 else
28615   ac_cpp_err=yes
28616 fi
28617 if test -z "$ac_cpp_err"; then
28618   ac_header_preproc=yes
28619 else
28620   echo "$as_me: failed program was:" >&5
28621 sed 's/^/| /' conftest.$ac_ext >&5
28622
28623   ac_header_preproc=no
28624 fi
28625 rm -f conftest.err conftest.$ac_ext
28626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28627 echo "${ECHO_T}$ac_header_preproc" >&6
28628
28629 # So?  What about this header?
28630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28631   yes:no: )
28632     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28633 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28634     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28635 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28636     ac_header_preproc=yes
28637     ;;
28638   no:yes:* )
28639     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28640 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28641     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28642 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28643     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28644 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28645     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28646 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28647     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28648 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28649     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28650 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28651     (
28652       cat <<\_ASBOX
28653 ## ----------------------------------------- ##
28654 ## Report this to the package-unused lists.  ##
28655 ## ----------------------------------------- ##
28656 _ASBOX
28657     ) |
28658       sed "s/^/$as_me: WARNING:     /" >&2
28659     ;;
28660 esac
28661 echo "$as_me:$LINENO: checking for iconv.h" >&5
28662 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28663 if test "${ac_cv_header_iconv_h+set}" = set; then
28664   echo $ECHO_N "(cached) $ECHO_C" >&6
28665 else
28666   ac_cv_header_iconv_h=$ac_header_preproc
28667 fi
28668 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28669 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28670
28671 fi
28672 if test $ac_cv_header_iconv_h = yes; then
28673   ac_has_iconv_h=yes
28674 else
28675   ac_has_iconv_h=no
28676 fi
28677
28678
28679     if test "${ac_cv_header_langinfo_h+set}" = set; then
28680   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28681 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28682 if test "${ac_cv_header_langinfo_h+set}" = set; then
28683   echo $ECHO_N "(cached) $ECHO_C" >&6
28684 fi
28685 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28686 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28687 else
28688   # Is the header compilable?
28689 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28690 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28691 cat >conftest.$ac_ext <<_ACEOF
28692 /* confdefs.h.  */
28693 _ACEOF
28694 cat confdefs.h >>conftest.$ac_ext
28695 cat >>conftest.$ac_ext <<_ACEOF
28696 /* end confdefs.h.  */
28697 $ac_includes_default
28698 #include <langinfo.h>
28699 _ACEOF
28700 rm -f conftest.$ac_objext
28701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28702   (eval $ac_compile) 2>conftest.er1
28703   ac_status=$?
28704   grep -v '^ *+' conftest.er1 >conftest.err
28705   rm -f conftest.er1
28706   cat conftest.err >&5
28707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708   (exit $ac_status); } &&
28709          { ac_try='test -z "$ac_c_werror_flag"
28710                          || test ! -s conftest.err'
28711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28712   (eval $ac_try) 2>&5
28713   ac_status=$?
28714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715   (exit $ac_status); }; } &&
28716          { ac_try='test -s conftest.$ac_objext'
28717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718   (eval $ac_try) 2>&5
28719   ac_status=$?
28720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721   (exit $ac_status); }; }; then
28722   ac_header_compiler=yes
28723 else
28724   echo "$as_me: failed program was:" >&5
28725 sed 's/^/| /' conftest.$ac_ext >&5
28726
28727 ac_header_compiler=no
28728 fi
28729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28731 echo "${ECHO_T}$ac_header_compiler" >&6
28732
28733 # Is the header present?
28734 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28735 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28736 cat >conftest.$ac_ext <<_ACEOF
28737 /* confdefs.h.  */
28738 _ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h.  */
28742 #include <langinfo.h>
28743 _ACEOF
28744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28745   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28746   ac_status=$?
28747   grep -v '^ *+' conftest.er1 >conftest.err
28748   rm -f conftest.er1
28749   cat conftest.err >&5
28750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751   (exit $ac_status); } >/dev/null; then
28752   if test -s conftest.err; then
28753     ac_cpp_err=$ac_c_preproc_warn_flag
28754     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28755   else
28756     ac_cpp_err=
28757   fi
28758 else
28759   ac_cpp_err=yes
28760 fi
28761 if test -z "$ac_cpp_err"; then
28762   ac_header_preproc=yes
28763 else
28764   echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28766
28767   ac_header_preproc=no
28768 fi
28769 rm -f conftest.err conftest.$ac_ext
28770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28771 echo "${ECHO_T}$ac_header_preproc" >&6
28772
28773 # So?  What about this header?
28774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28775   yes:no: )
28776     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28777 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28778     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28779 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28780     ac_header_preproc=yes
28781     ;;
28782   no:yes:* )
28783     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28784 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28785     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28786 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28787     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28788 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28789     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28790 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28791     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28792 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28793     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28794 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28795     (
28796       cat <<\_ASBOX
28797 ## ----------------------------------------- ##
28798 ## Report this to the package-unused lists.  ##
28799 ## ----------------------------------------- ##
28800 _ASBOX
28801     ) |
28802       sed "s/^/$as_me: WARNING:     /" >&2
28803     ;;
28804 esac
28805 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28806 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28807 if test "${ac_cv_header_langinfo_h+set}" = set; then
28808   echo $ECHO_N "(cached) $ECHO_C" >&6
28809 else
28810   ac_cv_header_langinfo_h=$ac_header_preproc
28811 fi
28812 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28813 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28814
28815 fi
28816 if test $ac_cv_header_langinfo_h = yes; then
28817   ac_has_langinfo_h=yes
28818 else
28819   ac_has_langinfo_h=no
28820 fi
28821
28822
28823
28824     ac_save_LIBS="$LIBS"
28825     LIBS="$LIBS $LIBICONV"
28826
28827
28828
28829
28830 for ac_func in iconv_open iconv_close iconv nl_langinfo
28831 do
28832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28833 echo "$as_me:$LINENO: checking for $ac_func" >&5
28834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28835 if eval "test \"\${$as_ac_var+set}\" = set"; then
28836   echo $ECHO_N "(cached) $ECHO_C" >&6
28837 else
28838   if test x$gcc_no_link = xyes; then
28839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28841    { (exit 1); exit 1; }; }
28842 fi
28843 cat >conftest.$ac_ext <<_ACEOF
28844 /* confdefs.h.  */
28845 _ACEOF
28846 cat confdefs.h >>conftest.$ac_ext
28847 cat >>conftest.$ac_ext <<_ACEOF
28848 /* end confdefs.h.  */
28849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28851 #define $ac_func innocuous_$ac_func
28852
28853 /* System header to define __stub macros and hopefully few prototypes,
28854     which can conflict with char $ac_func (); below.
28855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28856     <limits.h> exists even on freestanding compilers.  */
28857
28858 #ifdef __STDC__
28859 # include <limits.h>
28860 #else
28861 # include <assert.h>
28862 #endif
28863
28864 #undef $ac_func
28865
28866 /* Override any gcc2 internal prototype to avoid an error.  */
28867 #ifdef __cplusplus
28868 extern "C"
28869 {
28870 #endif
28871 /* We use char because int might match the return type of a gcc2
28872    builtin and then its argument prototype would still apply.  */
28873 char $ac_func ();
28874 /* The GNU C library defines this for functions which it implements
28875     to always fail with ENOSYS.  Some functions are actually named
28876     something starting with __ and the normal name is an alias.  */
28877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28878 choke me
28879 #else
28880 char (*f) () = $ac_func;
28881 #endif
28882 #ifdef __cplusplus
28883 }
28884 #endif
28885
28886 int
28887 main ()
28888 {
28889 return f != $ac_func;
28890   ;
28891   return 0;
28892 }
28893 _ACEOF
28894 rm -f conftest.$ac_objext conftest$ac_exeext
28895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28896   (eval $ac_link) 2>conftest.er1
28897   ac_status=$?
28898   grep -v '^ *+' conftest.er1 >conftest.err
28899   rm -f conftest.er1
28900   cat conftest.err >&5
28901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902   (exit $ac_status); } &&
28903          { ac_try='test -z "$ac_c_werror_flag"
28904                          || test ! -s conftest.err'
28905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906   (eval $ac_try) 2>&5
28907   ac_status=$?
28908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909   (exit $ac_status); }; } &&
28910          { ac_try='test -s conftest$ac_exeext'
28911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912   (eval $ac_try) 2>&5
28913   ac_status=$?
28914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915   (exit $ac_status); }; }; then
28916   eval "$as_ac_var=yes"
28917 else
28918   echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28920
28921 eval "$as_ac_var=no"
28922 fi
28923 rm -f conftest.err conftest.$ac_objext \
28924       conftest$ac_exeext conftest.$ac_ext
28925 fi
28926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28928 if test `eval echo '${'$as_ac_var'}'` = yes; then
28929   cat >>confdefs.h <<_ACEOF
28930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28931 _ACEOF
28932  ac_XPG2funcs=yes
28933 else
28934   ac_XPG2funcs=no
28935 fi
28936 done
28937
28938     LIBS="$ac_save_LIBS"
28939
28940     if test x"$ac_has_iconv_h" = xyes &&
28941        test x"$ac_has_langinfo_h" = xyes &&
28942        test x"$ac_XPG2funcs" = xyes;
28943     then
28944
28945 cat >>confdefs.h <<\_ACEOF
28946 #define _GLIBCXX_USE_ICONV 1
28947 _ACEOF
28948
28949       enable_iconv=yes
28950
28951     fi
28952   fi
28953   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28954 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28955   echo "$as_me:$LINENO: result: $enable_iconv" >&5
28956 echo "${ECHO_T}$enable_iconv" >&6
28957
28958
28959   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28960   ac_save_CXXFLAGS="$CXXFLAGS"
28961   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28962
28963
28964   echo "$as_me:$LINENO: checking for strtold declaration" >&5
28965 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28966   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28967     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28968   echo $ECHO_N "(cached) $ECHO_C" >&6
28969 else
28970
28971
28972
28973       ac_ext=cc
28974 ac_cpp='$CXXCPP $CPPFLAGS'
28975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28978
28979       cat >conftest.$ac_ext <<_ACEOF
28980 /* confdefs.h.  */
28981 _ACEOF
28982 cat confdefs.h >>conftest.$ac_ext
28983 cat >>conftest.$ac_ext <<_ACEOF
28984 /* end confdefs.h.  */
28985 #include <stdlib.h>
28986 int
28987 main ()
28988 {
28989  strtold(0, 0);
28990   ;
28991   return 0;
28992 }
28993 _ACEOF
28994 rm -f conftest.$ac_objext
28995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28996   (eval $ac_compile) 2>conftest.er1
28997   ac_status=$?
28998   grep -v '^ *+' conftest.er1 >conftest.err
28999   rm -f conftest.er1
29000   cat conftest.err >&5
29001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002   (exit $ac_status); } &&
29003          { ac_try='test -z "$ac_cxx_werror_flag"
29004                          || test ! -s conftest.err'
29005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29006   (eval $ac_try) 2>&5
29007   ac_status=$?
29008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009   (exit $ac_status); }; } &&
29010          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
29016   glibcxx_cv_func_strtold_use=yes
29017 else
29018   echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 glibcxx_cv_func_strtold_use=no
29022 fi
29023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29024       ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029
29030
29031 fi
29032
29033   fi
29034   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29035 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29036   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29037
29038 for ac_func in strtold
29039 do
29040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29041 echo "$as_me:$LINENO: checking for $ac_func" >&5
29042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29043 if eval "test \"\${$as_ac_var+set}\" = set"; then
29044   echo $ECHO_N "(cached) $ECHO_C" >&6
29045 else
29046   if test x$gcc_no_link = xyes; then
29047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29049    { (exit 1); exit 1; }; }
29050 fi
29051 cat >conftest.$ac_ext <<_ACEOF
29052 /* confdefs.h.  */
29053 _ACEOF
29054 cat confdefs.h >>conftest.$ac_ext
29055 cat >>conftest.$ac_ext <<_ACEOF
29056 /* end confdefs.h.  */
29057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29059 #define $ac_func innocuous_$ac_func
29060
29061 /* System header to define __stub macros and hopefully few prototypes,
29062     which can conflict with char $ac_func (); below.
29063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29064     <limits.h> exists even on freestanding compilers.  */
29065
29066 #ifdef __STDC__
29067 # include <limits.h>
29068 #else
29069 # include <assert.h>
29070 #endif
29071
29072 #undef $ac_func
29073
29074 /* Override any gcc2 internal prototype to avoid an error.  */
29075 #ifdef __cplusplus
29076 extern "C"
29077 {
29078 #endif
29079 /* We use char because int might match the return type of a gcc2
29080    builtin and then its argument prototype would still apply.  */
29081 char $ac_func ();
29082 /* The GNU C library defines this for functions which it implements
29083     to always fail with ENOSYS.  Some functions are actually named
29084     something starting with __ and the normal name is an alias.  */
29085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29086 choke me
29087 #else
29088 char (*f) () = $ac_func;
29089 #endif
29090 #ifdef __cplusplus
29091 }
29092 #endif
29093
29094 int
29095 main ()
29096 {
29097 return f != $ac_func;
29098   ;
29099   return 0;
29100 }
29101 _ACEOF
29102 rm -f conftest.$ac_objext conftest$ac_exeext
29103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29104   (eval $ac_link) 2>conftest.er1
29105   ac_status=$?
29106   grep -v '^ *+' conftest.er1 >conftest.err
29107   rm -f conftest.er1
29108   cat conftest.err >&5
29109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110   (exit $ac_status); } &&
29111          { ac_try='test -z "$ac_c_werror_flag"
29112                          || test ! -s conftest.err'
29113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29114   (eval $ac_try) 2>&5
29115   ac_status=$?
29116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117   (exit $ac_status); }; } &&
29118          { ac_try='test -s conftest$ac_exeext'
29119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120   (eval $ac_try) 2>&5
29121   ac_status=$?
29122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123   (exit $ac_status); }; }; then
29124   eval "$as_ac_var=yes"
29125 else
29126   echo "$as_me: failed program was:" >&5
29127 sed 's/^/| /' conftest.$ac_ext >&5
29128
29129 eval "$as_ac_var=no"
29130 fi
29131 rm -f conftest.err conftest.$ac_objext \
29132       conftest$ac_exeext conftest.$ac_ext
29133 fi
29134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29136 if test `eval echo '${'$as_ac_var'}'` = yes; then
29137   cat >>confdefs.h <<_ACEOF
29138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29139 _ACEOF
29140
29141 fi
29142 done
29143
29144   fi
29145
29146
29147
29148
29149
29150   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29151 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29152   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29153     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29154   echo $ECHO_N "(cached) $ECHO_C" >&6
29155 else
29156
29157
29158
29159       ac_ext=cc
29160 ac_cpp='$CXXCPP $CPPFLAGS'
29161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29164
29165       cat >conftest.$ac_ext <<_ACEOF
29166 /* confdefs.h.  */
29167 _ACEOF
29168 cat confdefs.h >>conftest.$ac_ext
29169 cat >>conftest.$ac_ext <<_ACEOF
29170 /* end confdefs.h.  */
29171 #include <stdlib.h>
29172 int
29173 main ()
29174 {
29175  strtof(0, 0);
29176   ;
29177   return 0;
29178 }
29179 _ACEOF
29180 rm -f conftest.$ac_objext
29181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29182   (eval $ac_compile) 2>conftest.er1
29183   ac_status=$?
29184   grep -v '^ *+' conftest.er1 >conftest.err
29185   rm -f conftest.er1
29186   cat conftest.err >&5
29187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188   (exit $ac_status); } &&
29189          { ac_try='test -z "$ac_cxx_werror_flag"
29190                          || test ! -s conftest.err'
29191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192   (eval $ac_try) 2>&5
29193   ac_status=$?
29194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195   (exit $ac_status); }; } &&
29196          { ac_try='test -s conftest.$ac_objext'
29197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29198   (eval $ac_try) 2>&5
29199   ac_status=$?
29200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201   (exit $ac_status); }; }; then
29202   glibcxx_cv_func_strtof_use=yes
29203 else
29204   echo "$as_me: failed program was:" >&5
29205 sed 's/^/| /' conftest.$ac_ext >&5
29206
29207 glibcxx_cv_func_strtof_use=no
29208 fi
29209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29210       ac_ext=c
29211 ac_cpp='$CPP $CPPFLAGS'
29212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29215
29216
29217 fi
29218
29219   fi
29220   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29221 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29222   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29223
29224 for ac_func in strtof
29225 do
29226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29227 echo "$as_me:$LINENO: checking for $ac_func" >&5
29228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29229 if eval "test \"\${$as_ac_var+set}\" = set"; then
29230   echo $ECHO_N "(cached) $ECHO_C" >&6
29231 else
29232   if test x$gcc_no_link = xyes; then
29233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29235    { (exit 1); exit 1; }; }
29236 fi
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h.  */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h.  */
29243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29244    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29245 #define $ac_func innocuous_$ac_func
29246
29247 /* System header to define __stub macros and hopefully few prototypes,
29248     which can conflict with char $ac_func (); below.
29249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29250     <limits.h> exists even on freestanding compilers.  */
29251
29252 #ifdef __STDC__
29253 # include <limits.h>
29254 #else
29255 # include <assert.h>
29256 #endif
29257
29258 #undef $ac_func
29259
29260 /* Override any gcc2 internal prototype to avoid an error.  */
29261 #ifdef __cplusplus
29262 extern "C"
29263 {
29264 #endif
29265 /* We use char because int might match the return type of a gcc2
29266    builtin and then its argument prototype would still apply.  */
29267 char $ac_func ();
29268 /* The GNU C library defines this for functions which it implements
29269     to always fail with ENOSYS.  Some functions are actually named
29270     something starting with __ and the normal name is an alias.  */
29271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29272 choke me
29273 #else
29274 char (*f) () = $ac_func;
29275 #endif
29276 #ifdef __cplusplus
29277 }
29278 #endif
29279
29280 int
29281 main ()
29282 {
29283 return f != $ac_func;
29284   ;
29285   return 0;
29286 }
29287 _ACEOF
29288 rm -f conftest.$ac_objext conftest$ac_exeext
29289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29290   (eval $ac_link) 2>conftest.er1
29291   ac_status=$?
29292   grep -v '^ *+' conftest.er1 >conftest.err
29293   rm -f conftest.er1
29294   cat conftest.err >&5
29295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296   (exit $ac_status); } &&
29297          { ac_try='test -z "$ac_c_werror_flag"
29298                          || test ! -s conftest.err'
29299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300   (eval $ac_try) 2>&5
29301   ac_status=$?
29302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303   (exit $ac_status); }; } &&
29304          { ac_try='test -s conftest$ac_exeext'
29305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306   (eval $ac_try) 2>&5
29307   ac_status=$?
29308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309   (exit $ac_status); }; }; then
29310   eval "$as_ac_var=yes"
29311 else
29312   echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.$ac_ext >&5
29314
29315 eval "$as_ac_var=no"
29316 fi
29317 rm -f conftest.err conftest.$ac_objext \
29318       conftest$ac_exeext conftest.$ac_ext
29319 fi
29320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29322 if test `eval echo '${'$as_ac_var'}'` = yes; then
29323   cat >>confdefs.h <<_ACEOF
29324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29325 _ACEOF
29326
29327 fi
29328 done
29329
29330   fi
29331
29332
29333
29334
29335
29336   CXXFLAGS="$ac_save_CXXFLAGS"
29337
29338
29339   # For showmanyc_helper().
29340
29341
29342 for ac_header in sys/ioctl.h sys/filio.h
29343 do
29344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29346   echo "$as_me:$LINENO: checking for $ac_header" >&5
29347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29349   echo $ECHO_N "(cached) $ECHO_C" >&6
29350 fi
29351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29353 else
29354   # Is the header compilable?
29355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29357 cat >conftest.$ac_ext <<_ACEOF
29358 /* confdefs.h.  */
29359 _ACEOF
29360 cat confdefs.h >>conftest.$ac_ext
29361 cat >>conftest.$ac_ext <<_ACEOF
29362 /* end confdefs.h.  */
29363 $ac_includes_default
29364 #include <$ac_header>
29365 _ACEOF
29366 rm -f conftest.$ac_objext
29367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29368   (eval $ac_compile) 2>conftest.er1
29369   ac_status=$?
29370   grep -v '^ *+' conftest.er1 >conftest.err
29371   rm -f conftest.er1
29372   cat conftest.err >&5
29373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374   (exit $ac_status); } &&
29375          { ac_try='test -z "$ac_c_werror_flag"
29376                          || test ! -s conftest.err'
29377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378   (eval $ac_try) 2>&5
29379   ac_status=$?
29380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381   (exit $ac_status); }; } &&
29382          { ac_try='test -s conftest.$ac_objext'
29383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384   (eval $ac_try) 2>&5
29385   ac_status=$?
29386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387   (exit $ac_status); }; }; then
29388   ac_header_compiler=yes
29389 else
29390   echo "$as_me: failed program was:" >&5
29391 sed 's/^/| /' conftest.$ac_ext >&5
29392
29393 ac_header_compiler=no
29394 fi
29395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29397 echo "${ECHO_T}$ac_header_compiler" >&6
29398
29399 # Is the header present?
29400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29402 cat >conftest.$ac_ext <<_ACEOF
29403 /* confdefs.h.  */
29404 _ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h.  */
29408 #include <$ac_header>
29409 _ACEOF
29410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29411   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29412   ac_status=$?
29413   grep -v '^ *+' conftest.er1 >conftest.err
29414   rm -f conftest.er1
29415   cat conftest.err >&5
29416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417   (exit $ac_status); } >/dev/null; then
29418   if test -s conftest.err; then
29419     ac_cpp_err=$ac_c_preproc_warn_flag
29420     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29421   else
29422     ac_cpp_err=
29423   fi
29424 else
29425   ac_cpp_err=yes
29426 fi
29427 if test -z "$ac_cpp_err"; then
29428   ac_header_preproc=yes
29429 else
29430   echo "$as_me: failed program was:" >&5
29431 sed 's/^/| /' conftest.$ac_ext >&5
29432
29433   ac_header_preproc=no
29434 fi
29435 rm -f conftest.err conftest.$ac_ext
29436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29437 echo "${ECHO_T}$ac_header_preproc" >&6
29438
29439 # So?  What about this header?
29440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29441   yes:no: )
29442     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29444     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29446     ac_header_preproc=yes
29447     ;;
29448   no:yes:* )
29449     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29451     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29452 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29453     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29455     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29456 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29457     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29459     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29461     (
29462       cat <<\_ASBOX
29463 ## ----------------------------------------- ##
29464 ## Report this to the package-unused lists.  ##
29465 ## ----------------------------------------- ##
29466 _ASBOX
29467     ) |
29468       sed "s/^/$as_me: WARNING:     /" >&2
29469     ;;
29470 esac
29471 echo "$as_me:$LINENO: checking for $ac_header" >&5
29472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29474   echo $ECHO_N "(cached) $ECHO_C" >&6
29475 else
29476   eval "$as_ac_Header=\$ac_header_preproc"
29477 fi
29478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29480
29481 fi
29482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29483   cat >>confdefs.h <<_ACEOF
29484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29485 _ACEOF
29486
29487 fi
29488
29489 done
29490
29491
29492   echo "$as_me:$LINENO: checking for poll" >&5
29493 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29494   if test "${glibcxx_cv_POLL+set}" = set; then
29495   echo $ECHO_N "(cached) $ECHO_C" >&6
29496 else
29497
29498     if test x$gcc_no_link = xyes; then
29499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29501    { (exit 1); exit 1; }; }
29502 fi
29503 cat >conftest.$ac_ext <<_ACEOF
29504 /* confdefs.h.  */
29505 _ACEOF
29506 cat confdefs.h >>conftest.$ac_ext
29507 cat >>conftest.$ac_ext <<_ACEOF
29508 /* end confdefs.h.  */
29509 #include <poll.h>
29510 int
29511 main ()
29512 {
29513 struct pollfd pfd[1];
29514        pfd[0].events = POLLIN;
29515        poll(pfd, 1, 0);
29516   ;
29517   return 0;
29518 }
29519 _ACEOF
29520 rm -f conftest.$ac_objext conftest$ac_exeext
29521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29522   (eval $ac_link) 2>conftest.er1
29523   ac_status=$?
29524   grep -v '^ *+' conftest.er1 >conftest.err
29525   rm -f conftest.er1
29526   cat conftest.err >&5
29527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528   (exit $ac_status); } &&
29529          { ac_try='test -z "$ac_c_werror_flag"
29530                          || test ! -s conftest.err'
29531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29532   (eval $ac_try) 2>&5
29533   ac_status=$?
29534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535   (exit $ac_status); }; } &&
29536          { ac_try='test -s conftest$ac_exeext'
29537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538   (eval $ac_try) 2>&5
29539   ac_status=$?
29540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541   (exit $ac_status); }; }; then
29542   glibcxx_cv_POLL=yes
29543 else
29544   echo "$as_me: failed program was:" >&5
29545 sed 's/^/| /' conftest.$ac_ext >&5
29546
29547 glibcxx_cv_POLL=no
29548 fi
29549 rm -f conftest.err conftest.$ac_objext \
29550       conftest$ac_exeext conftest.$ac_ext
29551
29552 fi
29553
29554   if test $glibcxx_cv_POLL = yes; then
29555
29556 cat >>confdefs.h <<\_ACEOF
29557 #define HAVE_POLL 1
29558 _ACEOF
29559
29560   fi
29561   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29562 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29563
29564
29565   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29566 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29567   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29568   echo $ECHO_N "(cached) $ECHO_C" >&6
29569 else
29570
29571     if test x$gcc_no_link = xyes; then
29572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29574    { (exit 1); exit 1; }; }
29575 fi
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h.  */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h.  */
29582 #include <sys/stat.h>
29583 int
29584 main ()
29585 {
29586 struct stat buffer;
29587        fstat(0, &buffer);
29588        S_ISREG(buffer.st_mode);
29589   ;
29590   return 0;
29591 }
29592 _ACEOF
29593 rm -f conftest.$ac_objext conftest$ac_exeext
29594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29595   (eval $ac_link) 2>conftest.er1
29596   ac_status=$?
29597   grep -v '^ *+' conftest.er1 >conftest.err
29598   rm -f conftest.er1
29599   cat conftest.err >&5
29600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29601   (exit $ac_status); } &&
29602          { ac_try='test -z "$ac_c_werror_flag"
29603                          || test ! -s conftest.err'
29604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605   (eval $ac_try) 2>&5
29606   ac_status=$?
29607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608   (exit $ac_status); }; } &&
29609          { ac_try='test -s conftest$ac_exeext'
29610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611   (eval $ac_try) 2>&5
29612   ac_status=$?
29613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614   (exit $ac_status); }; }; then
29615   glibcxx_cv_S_ISREG=yes
29616 else
29617   echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29619
29620 glibcxx_cv_S_ISREG=no
29621 fi
29622 rm -f conftest.err conftest.$ac_objext \
29623       conftest$ac_exeext conftest.$ac_ext
29624
29625 fi
29626
29627   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29628   echo $ECHO_N "(cached) $ECHO_C" >&6
29629 else
29630
29631     if test x$gcc_no_link = xyes; then
29632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29634    { (exit 1); exit 1; }; }
29635 fi
29636 cat >conftest.$ac_ext <<_ACEOF
29637 /* confdefs.h.  */
29638 _ACEOF
29639 cat confdefs.h >>conftest.$ac_ext
29640 cat >>conftest.$ac_ext <<_ACEOF
29641 /* end confdefs.h.  */
29642 #include <sys/stat.h>
29643 int
29644 main ()
29645 {
29646 struct stat buffer;
29647        fstat(0, &buffer);
29648        S_IFREG & buffer.st_mode;
29649   ;
29650   return 0;
29651 }
29652 _ACEOF
29653 rm -f conftest.$ac_objext conftest$ac_exeext
29654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29655   (eval $ac_link) 2>conftest.er1
29656   ac_status=$?
29657   grep -v '^ *+' conftest.er1 >conftest.err
29658   rm -f conftest.er1
29659   cat conftest.err >&5
29660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661   (exit $ac_status); } &&
29662          { ac_try='test -z "$ac_c_werror_flag"
29663                          || test ! -s conftest.err'
29664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665   (eval $ac_try) 2>&5
29666   ac_status=$?
29667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668   (exit $ac_status); }; } &&
29669          { ac_try='test -s conftest$ac_exeext'
29670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29671   (eval $ac_try) 2>&5
29672   ac_status=$?
29673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674   (exit $ac_status); }; }; then
29675   glibcxx_cv_S_IFREG=yes
29676 else
29677   echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680 glibcxx_cv_S_IFREG=no
29681 fi
29682 rm -f conftest.err conftest.$ac_objext \
29683       conftest$ac_exeext conftest.$ac_ext
29684
29685 fi
29686
29687   res=no
29688   if test $glibcxx_cv_S_ISREG = yes; then
29689
29690 cat >>confdefs.h <<\_ACEOF
29691 #define HAVE_S_ISREG 1
29692 _ACEOF
29693
29694     res=S_ISREG
29695   elif test $glibcxx_cv_S_IFREG = yes; then
29696
29697 cat >>confdefs.h <<\_ACEOF
29698 #define HAVE_S_IFREG 1
29699 _ACEOF
29700
29701     res=S_IFREG
29702   fi
29703   echo "$as_me:$LINENO: result: $res" >&5
29704 echo "${ECHO_T}$res" >&6
29705
29706
29707   # For xsputn_2().
29708
29709 for ac_header in sys/uio.h
29710 do
29711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29713   echo "$as_me:$LINENO: checking for $ac_header" >&5
29714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29716   echo $ECHO_N "(cached) $ECHO_C" >&6
29717 fi
29718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29720 else
29721   # Is the header compilable?
29722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29724 cat >conftest.$ac_ext <<_ACEOF
29725 /* confdefs.h.  */
29726 _ACEOF
29727 cat confdefs.h >>conftest.$ac_ext
29728 cat >>conftest.$ac_ext <<_ACEOF
29729 /* end confdefs.h.  */
29730 $ac_includes_default
29731 #include <$ac_header>
29732 _ACEOF
29733 rm -f conftest.$ac_objext
29734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29735   (eval $ac_compile) 2>conftest.er1
29736   ac_status=$?
29737   grep -v '^ *+' conftest.er1 >conftest.err
29738   rm -f conftest.er1
29739   cat conftest.err >&5
29740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741   (exit $ac_status); } &&
29742          { ac_try='test -z "$ac_c_werror_flag"
29743                          || test ! -s conftest.err'
29744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29745   (eval $ac_try) 2>&5
29746   ac_status=$?
29747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748   (exit $ac_status); }; } &&
29749          { ac_try='test -s conftest.$ac_objext'
29750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29751   (eval $ac_try) 2>&5
29752   ac_status=$?
29753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754   (exit $ac_status); }; }; then
29755   ac_header_compiler=yes
29756 else
29757   echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29759
29760 ac_header_compiler=no
29761 fi
29762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29764 echo "${ECHO_T}$ac_header_compiler" >&6
29765
29766 # Is the header present?
29767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29769 cat >conftest.$ac_ext <<_ACEOF
29770 /* confdefs.h.  */
29771 _ACEOF
29772 cat confdefs.h >>conftest.$ac_ext
29773 cat >>conftest.$ac_ext <<_ACEOF
29774 /* end confdefs.h.  */
29775 #include <$ac_header>
29776 _ACEOF
29777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29778   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29779   ac_status=$?
29780   grep -v '^ *+' conftest.er1 >conftest.err
29781   rm -f conftest.er1
29782   cat conftest.err >&5
29783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784   (exit $ac_status); } >/dev/null; then
29785   if test -s conftest.err; then
29786     ac_cpp_err=$ac_c_preproc_warn_flag
29787     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29788   else
29789     ac_cpp_err=
29790   fi
29791 else
29792   ac_cpp_err=yes
29793 fi
29794 if test -z "$ac_cpp_err"; then
29795   ac_header_preproc=yes
29796 else
29797   echo "$as_me: failed program was:" >&5
29798 sed 's/^/| /' conftest.$ac_ext >&5
29799
29800   ac_header_preproc=no
29801 fi
29802 rm -f conftest.err conftest.$ac_ext
29803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29804 echo "${ECHO_T}$ac_header_preproc" >&6
29805
29806 # So?  What about this header?
29807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29808   yes:no: )
29809     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29811     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29812 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29813     ac_header_preproc=yes
29814     ;;
29815   no:yes:* )
29816     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29817 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29818     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29819 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29820     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29821 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29822     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29823 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29824     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29826     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29827 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29828     (
29829       cat <<\_ASBOX
29830 ## ----------------------------------------- ##
29831 ## Report this to the package-unused lists.  ##
29832 ## ----------------------------------------- ##
29833 _ASBOX
29834     ) |
29835       sed "s/^/$as_me: WARNING:     /" >&2
29836     ;;
29837 esac
29838 echo "$as_me:$LINENO: checking for $ac_header" >&5
29839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29841   echo $ECHO_N "(cached) $ECHO_C" >&6
29842 else
29843   eval "$as_ac_Header=\$ac_header_preproc"
29844 fi
29845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29847
29848 fi
29849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29850   cat >>confdefs.h <<_ACEOF
29851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29852 _ACEOF
29853
29854 fi
29855
29856 done
29857
29858
29859   echo "$as_me:$LINENO: checking for writev" >&5
29860 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29861   if test "${glibcxx_cv_WRITEV+set}" = set; then
29862   echo $ECHO_N "(cached) $ECHO_C" >&6
29863 else
29864
29865     if test x$gcc_no_link = xyes; then
29866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29868    { (exit 1); exit 1; }; }
29869 fi
29870 cat >conftest.$ac_ext <<_ACEOF
29871 /* confdefs.h.  */
29872 _ACEOF
29873 cat confdefs.h >>conftest.$ac_ext
29874 cat >>conftest.$ac_ext <<_ACEOF
29875 /* end confdefs.h.  */
29876 #include <sys/uio.h>
29877 int
29878 main ()
29879 {
29880 struct iovec iov[2];
29881        writev(0, iov, 0);
29882   ;
29883   return 0;
29884 }
29885 _ACEOF
29886 rm -f conftest.$ac_objext conftest$ac_exeext
29887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29888   (eval $ac_link) 2>conftest.er1
29889   ac_status=$?
29890   grep -v '^ *+' conftest.er1 >conftest.err
29891   rm -f conftest.er1
29892   cat conftest.err >&5
29893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894   (exit $ac_status); } &&
29895          { ac_try='test -z "$ac_c_werror_flag"
29896                          || test ! -s conftest.err'
29897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898   (eval $ac_try) 2>&5
29899   ac_status=$?
29900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901   (exit $ac_status); }; } &&
29902          { ac_try='test -s conftest$ac_exeext'
29903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904   (eval $ac_try) 2>&5
29905   ac_status=$?
29906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907   (exit $ac_status); }; }; then
29908   glibcxx_cv_WRITEV=yes
29909 else
29910   echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29912
29913 glibcxx_cv_WRITEV=no
29914 fi
29915 rm -f conftest.err conftest.$ac_objext \
29916       conftest$ac_exeext conftest.$ac_ext
29917
29918 fi
29919
29920   if test $glibcxx_cv_WRITEV = yes; then
29921
29922 cat >>confdefs.h <<\_ACEOF
29923 #define HAVE_WRITEV 1
29924 _ACEOF
29925
29926   fi
29927   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29928 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29929
29930
29931   # For the __streamoff_base_type typedef.
29932
29933   echo "$as_me:$LINENO: checking for int64_t" >&5
29934 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29935   if test "${glibcxx_cv_INT64_T+set}" = set; then
29936   echo $ECHO_N "(cached) $ECHO_C" >&6
29937 else
29938
29939     cat >conftest.$ac_ext <<_ACEOF
29940 /* confdefs.h.  */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h.  */
29945 #include <stdint.h>
29946 int
29947 main ()
29948 {
29949 int64_t var;
29950   ;
29951   return 0;
29952 }
29953 _ACEOF
29954 rm -f conftest.$ac_objext
29955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29956   (eval $ac_compile) 2>conftest.er1
29957   ac_status=$?
29958   grep -v '^ *+' conftest.er1 >conftest.err
29959   rm -f conftest.er1
29960   cat conftest.err >&5
29961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962   (exit $ac_status); } &&
29963          { ac_try='test -z "$ac_c_werror_flag"
29964                          || test ! -s conftest.err'
29965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966   (eval $ac_try) 2>&5
29967   ac_status=$?
29968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969   (exit $ac_status); }; } &&
29970          { ac_try='test -s conftest.$ac_objext'
29971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972   (eval $ac_try) 2>&5
29973   ac_status=$?
29974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975   (exit $ac_status); }; }; then
29976   glibcxx_cv_INT64_T=yes
29977 else
29978   echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29980
29981 glibcxx_cv_INT64_T=no
29982 fi
29983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29984
29985 fi
29986
29987   if test $glibcxx_cv_INT64_T = yes; then
29988
29989 cat >>confdefs.h <<\_ACEOF
29990 #define HAVE_INT64_T 1
29991 _ACEOF
29992
29993   fi
29994   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29995 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29996
29997
29998   # For LFS support.
29999
30000
30001
30002   ac_ext=cc
30003 ac_cpp='$CXXCPP $CPPFLAGS'
30004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30007
30008   ac_save_CXXFLAGS="$CXXFLAGS"
30009   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30010   echo "$as_me:$LINENO: checking for LFS support" >&5
30011 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30012   if test "${glibcxx_cv_LFS+set}" = set; then
30013   echo $ECHO_N "(cached) $ECHO_C" >&6
30014 else
30015
30016     if test x$gcc_no_link = xyes; then
30017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30019    { (exit 1); exit 1; }; }
30020 fi
30021 cat >conftest.$ac_ext <<_ACEOF
30022 /* confdefs.h.  */
30023 _ACEOF
30024 cat confdefs.h >>conftest.$ac_ext
30025 cat >>conftest.$ac_ext <<_ACEOF
30026 /* end confdefs.h.  */
30027 #include <unistd.h>
30028        #include <stdio.h>
30029        #include <sys/stat.h>
30030
30031 int
30032 main ()
30033 {
30034 FILE* fp;
30035        fopen64("t", "w");
30036        fseeko64(fp, 0, SEEK_CUR);
30037        ftello64(fp);
30038        lseek64(1, 0, SEEK_CUR);
30039        struct stat64 buf;
30040        fstat64(1, &buf);
30041   ;
30042   return 0;
30043 }
30044 _ACEOF
30045 rm -f conftest.$ac_objext conftest$ac_exeext
30046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30047   (eval $ac_link) 2>conftest.er1
30048   ac_status=$?
30049   grep -v '^ *+' conftest.er1 >conftest.err
30050   rm -f conftest.er1
30051   cat conftest.err >&5
30052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053   (exit $ac_status); } &&
30054          { ac_try='test -z "$ac_cxx_werror_flag"
30055                          || test ! -s conftest.err'
30056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057   (eval $ac_try) 2>&5
30058   ac_status=$?
30059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060   (exit $ac_status); }; } &&
30061          { ac_try='test -s conftest$ac_exeext'
30062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30063   (eval $ac_try) 2>&5
30064   ac_status=$?
30065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066   (exit $ac_status); }; }; then
30067   glibcxx_cv_LFS=yes
30068 else
30069   echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.$ac_ext >&5
30071
30072 glibcxx_cv_LFS=no
30073 fi
30074 rm -f conftest.err conftest.$ac_objext \
30075       conftest$ac_exeext conftest.$ac_ext
30076
30077 fi
30078
30079   if test $glibcxx_cv_LFS = yes; then
30080
30081 cat >>confdefs.h <<\_ACEOF
30082 #define _GLIBCXX_USE_LFS 1
30083 _ACEOF
30084
30085   fi
30086   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30087 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30088   CXXFLAGS="$ac_save_CXXFLAGS"
30089   ac_ext=c
30090 ac_cpp='$CPP $CPPFLAGS'
30091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30094
30095
30096
30097   # For C99 support to TR1.
30098
30099
30100
30101
30102   ac_ext=cc
30103 ac_cpp='$CXXCPP $CPPFLAGS'
30104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30107
30108
30109   # Check for the existence of <complex.h> complex math functions used
30110   # by tr1/complex.
30111
30112 for ac_header in complex.h
30113 do
30114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30116   echo "$as_me:$LINENO: checking for $ac_header" >&5
30117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30119   echo $ECHO_N "(cached) $ECHO_C" >&6
30120 fi
30121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30123 else
30124   # Is the header compilable?
30125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30127 cat >conftest.$ac_ext <<_ACEOF
30128 /* confdefs.h.  */
30129 _ACEOF
30130 cat confdefs.h >>conftest.$ac_ext
30131 cat >>conftest.$ac_ext <<_ACEOF
30132 /* end confdefs.h.  */
30133 $ac_includes_default
30134 #include <$ac_header>
30135 _ACEOF
30136 rm -f conftest.$ac_objext
30137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30138   (eval $ac_compile) 2>conftest.er1
30139   ac_status=$?
30140   grep -v '^ *+' conftest.er1 >conftest.err
30141   rm -f conftest.er1
30142   cat conftest.err >&5
30143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144   (exit $ac_status); } &&
30145          { ac_try='test -z "$ac_cxx_werror_flag"
30146                          || test ! -s conftest.err'
30147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30148   (eval $ac_try) 2>&5
30149   ac_status=$?
30150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151   (exit $ac_status); }; } &&
30152          { ac_try='test -s conftest.$ac_objext'
30153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30154   (eval $ac_try) 2>&5
30155   ac_status=$?
30156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157   (exit $ac_status); }; }; then
30158   ac_header_compiler=yes
30159 else
30160   echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.$ac_ext >&5
30162
30163 ac_header_compiler=no
30164 fi
30165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30167 echo "${ECHO_T}$ac_header_compiler" >&6
30168
30169 # Is the header present?
30170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30172 cat >conftest.$ac_ext <<_ACEOF
30173 /* confdefs.h.  */
30174 _ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h.  */
30178 #include <$ac_header>
30179 _ACEOF
30180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30181   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30182   ac_status=$?
30183   grep -v '^ *+' conftest.er1 >conftest.err
30184   rm -f conftest.er1
30185   cat conftest.err >&5
30186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187   (exit $ac_status); } >/dev/null; then
30188   if test -s conftest.err; then
30189     ac_cpp_err=$ac_cxx_preproc_warn_flag
30190     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30191   else
30192     ac_cpp_err=
30193   fi
30194 else
30195   ac_cpp_err=yes
30196 fi
30197 if test -z "$ac_cpp_err"; then
30198   ac_header_preproc=yes
30199 else
30200   echo "$as_me: failed program was:" >&5
30201 sed 's/^/| /' conftest.$ac_ext >&5
30202
30203   ac_header_preproc=no
30204 fi
30205 rm -f conftest.err conftest.$ac_ext
30206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30207 echo "${ECHO_T}$ac_header_preproc" >&6
30208
30209 # So?  What about this header?
30210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30211   yes:no: )
30212     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30214     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30216     ac_header_preproc=yes
30217     ;;
30218   no:yes:* )
30219     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30221     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30222 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30223     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30225     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30226 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30227     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30229     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30231     (
30232       cat <<\_ASBOX
30233 ## ----------------------------------------- ##
30234 ## Report this to the package-unused lists.  ##
30235 ## ----------------------------------------- ##
30236 _ASBOX
30237     ) |
30238       sed "s/^/$as_me: WARNING:     /" >&2
30239     ;;
30240 esac
30241 echo "$as_me:$LINENO: checking for $ac_header" >&5
30242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30244   echo $ECHO_N "(cached) $ECHO_C" >&6
30245 else
30246   eval "$as_ac_Header=\$ac_header_preproc"
30247 fi
30248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30250
30251 fi
30252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30253   cat >>confdefs.h <<_ACEOF
30254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30255 _ACEOF
30256  ac_has_complex_h=yes
30257 else
30258   ac_has_complex_h=no
30259 fi
30260
30261 done
30262
30263   ac_c99_complex_tr1=no;
30264   if test x"$ac_has_complex_h" = x"yes"; then
30265     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30266 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30267     cat >conftest.$ac_ext <<_ACEOF
30268 /* confdefs.h.  */
30269 _ACEOF
30270 cat confdefs.h >>conftest.$ac_ext
30271 cat >>conftest.$ac_ext <<_ACEOF
30272 /* end confdefs.h.  */
30273 #include <complex.h>
30274 int
30275 main ()
30276 {
30277 typedef __complex__ float float_type; float_type tmpf;
30278                     cacosf(tmpf);
30279                     casinf(tmpf);
30280                     catanf(tmpf);
30281                     cacoshf(tmpf);
30282                     casinhf(tmpf);
30283                     catanhf(tmpf);
30284                     typedef __complex__ double double_type; double_type tmpd;
30285                     cacos(tmpd);
30286                     casin(tmpd);
30287                     catan(tmpd);
30288                     cacosh(tmpd);
30289                     casinh(tmpd);
30290                     catanh(tmpd);
30291                     typedef __complex__ long double ld_type; ld_type tmpld;
30292                     cacosl(tmpld);
30293                     casinl(tmpld);
30294                     catanl(tmpld);
30295                     cacoshl(tmpld);
30296                     casinhl(tmpld);
30297                     catanhl(tmpld);
30298
30299   ;
30300   return 0;
30301 }
30302 _ACEOF
30303 rm -f conftest.$ac_objext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30305   (eval $ac_compile) 2>conftest.er1
30306   ac_status=$?
30307   grep -v '^ *+' conftest.er1 >conftest.err
30308   rm -f conftest.er1
30309   cat conftest.err >&5
30310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311   (exit $ac_status); } &&
30312          { ac_try='test -z "$ac_cxx_werror_flag"
30313                          || test ! -s conftest.err'
30314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315   (eval $ac_try) 2>&5
30316   ac_status=$?
30317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318   (exit $ac_status); }; } &&
30319          { ac_try='test -s conftest.$ac_objext'
30320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30321   (eval $ac_try) 2>&5
30322   ac_status=$?
30323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324   (exit $ac_status); }; }; then
30325   ac_c99_complex_tr1=yes
30326 else
30327   echo "$as_me: failed program was:" >&5
30328 sed 's/^/| /' conftest.$ac_ext >&5
30329
30330 ac_c99_complex_tr1=no
30331 fi
30332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30333   fi
30334   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30335 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30336   if test x"$ac_c99_complex_tr1" = x"yes"; then
30337
30338 cat >>confdefs.h <<\_ACEOF
30339 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30340 _ACEOF
30341
30342   fi
30343
30344   # Check for the existence of <ctype.h> functions.
30345   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30346 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30347   if test "${ac_c99_ctype_tr1+set}" = set; then
30348   echo $ECHO_N "(cached) $ECHO_C" >&6
30349 else
30350
30351   cat >conftest.$ac_ext <<_ACEOF
30352 /* confdefs.h.  */
30353 _ACEOF
30354 cat confdefs.h >>conftest.$ac_ext
30355 cat >>conftest.$ac_ext <<_ACEOF
30356 /* end confdefs.h.  */
30357 #include <ctype.h>
30358 int
30359 main ()
30360 {
30361 int ch;
30362                   int ret;
30363                   ret = isblank(ch);
30364
30365   ;
30366   return 0;
30367 }
30368 _ACEOF
30369 rm -f conftest.$ac_objext
30370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30371   (eval $ac_compile) 2>conftest.er1
30372   ac_status=$?
30373   grep -v '^ *+' conftest.er1 >conftest.err
30374   rm -f conftest.er1
30375   cat conftest.err >&5
30376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377   (exit $ac_status); } &&
30378          { ac_try='test -z "$ac_cxx_werror_flag"
30379                          || test ! -s conftest.err'
30380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381   (eval $ac_try) 2>&5
30382   ac_status=$?
30383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384   (exit $ac_status); }; } &&
30385          { ac_try='test -s conftest.$ac_objext'
30386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387   (eval $ac_try) 2>&5
30388   ac_status=$?
30389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390   (exit $ac_status); }; }; then
30391   ac_c99_ctype_tr1=yes
30392 else
30393   echo "$as_me: failed program was:" >&5
30394 sed 's/^/| /' conftest.$ac_ext >&5
30395
30396 ac_c99_ctype_tr1=no
30397 fi
30398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30399
30400 fi
30401
30402   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30403 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30404   if test x"$ac_c99_ctype_tr1" = x"yes"; then
30405
30406 cat >>confdefs.h <<\_ACEOF
30407 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30408 _ACEOF
30409
30410   fi
30411
30412   # Check for the existence of <fenv.h> functions.
30413
30414 for ac_header in fenv.h
30415 do
30416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30418   echo "$as_me:$LINENO: checking for $ac_header" >&5
30419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30421   echo $ECHO_N "(cached) $ECHO_C" >&6
30422 fi
30423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30425 else
30426   # Is the header compilable?
30427 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30429 cat >conftest.$ac_ext <<_ACEOF
30430 /* confdefs.h.  */
30431 _ACEOF
30432 cat confdefs.h >>conftest.$ac_ext
30433 cat >>conftest.$ac_ext <<_ACEOF
30434 /* end confdefs.h.  */
30435 $ac_includes_default
30436 #include <$ac_header>
30437 _ACEOF
30438 rm -f conftest.$ac_objext
30439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30440   (eval $ac_compile) 2>conftest.er1
30441   ac_status=$?
30442   grep -v '^ *+' conftest.er1 >conftest.err
30443   rm -f conftest.er1
30444   cat conftest.err >&5
30445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446   (exit $ac_status); } &&
30447          { ac_try='test -z "$ac_cxx_werror_flag"
30448                          || test ! -s conftest.err'
30449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450   (eval $ac_try) 2>&5
30451   ac_status=$?
30452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453   (exit $ac_status); }; } &&
30454          { ac_try='test -s conftest.$ac_objext'
30455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456   (eval $ac_try) 2>&5
30457   ac_status=$?
30458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459   (exit $ac_status); }; }; then
30460   ac_header_compiler=yes
30461 else
30462   echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30464
30465 ac_header_compiler=no
30466 fi
30467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30469 echo "${ECHO_T}$ac_header_compiler" >&6
30470
30471 # Is the header present?
30472 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30474 cat >conftest.$ac_ext <<_ACEOF
30475 /* confdefs.h.  */
30476 _ACEOF
30477 cat confdefs.h >>conftest.$ac_ext
30478 cat >>conftest.$ac_ext <<_ACEOF
30479 /* end confdefs.h.  */
30480 #include <$ac_header>
30481 _ACEOF
30482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30483   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30484   ac_status=$?
30485   grep -v '^ *+' conftest.er1 >conftest.err
30486   rm -f conftest.er1
30487   cat conftest.err >&5
30488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489   (exit $ac_status); } >/dev/null; then
30490   if test -s conftest.err; then
30491     ac_cpp_err=$ac_cxx_preproc_warn_flag
30492     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30493   else
30494     ac_cpp_err=
30495   fi
30496 else
30497   ac_cpp_err=yes
30498 fi
30499 if test -z "$ac_cpp_err"; then
30500   ac_header_preproc=yes
30501 else
30502   echo "$as_me: failed program was:" >&5
30503 sed 's/^/| /' conftest.$ac_ext >&5
30504
30505   ac_header_preproc=no
30506 fi
30507 rm -f conftest.err conftest.$ac_ext
30508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30509 echo "${ECHO_T}$ac_header_preproc" >&6
30510
30511 # So?  What about this header?
30512 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30513   yes:no: )
30514     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30516     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30518     ac_header_preproc=yes
30519     ;;
30520   no:yes:* )
30521     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30523     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30524 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30525     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30527     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30528 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30529     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30531     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30533     (
30534       cat <<\_ASBOX
30535 ## ----------------------------------------- ##
30536 ## Report this to the package-unused lists.  ##
30537 ## ----------------------------------------- ##
30538 _ASBOX
30539     ) |
30540       sed "s/^/$as_me: WARNING:     /" >&2
30541     ;;
30542 esac
30543 echo "$as_me:$LINENO: checking for $ac_header" >&5
30544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30546   echo $ECHO_N "(cached) $ECHO_C" >&6
30547 else
30548   eval "$as_ac_Header=\$ac_header_preproc"
30549 fi
30550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30552
30553 fi
30554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30555   cat >>confdefs.h <<_ACEOF
30556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30557 _ACEOF
30558  ac_has_fenv_h=yes
30559 else
30560   ac_has_fenv_h=no
30561 fi
30562
30563 done
30564
30565   ac_c99_fenv_tr1=no;
30566   if test x"$ac_has_fenv_h" = x"yes"; then
30567     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30568 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30569     cat >conftest.$ac_ext <<_ACEOF
30570 /* confdefs.h.  */
30571 _ACEOF
30572 cat confdefs.h >>conftest.$ac_ext
30573 cat >>conftest.$ac_ext <<_ACEOF
30574 /* end confdefs.h.  */
30575 #include <fenv.h>
30576 int
30577 main ()
30578 {
30579 int except, mode;
30580                     fexcept_t* pflag;
30581                     fenv_t* penv;
30582                     int ret;
30583                     ret = feclearexcept(except);
30584                     ret = fegetexceptflag(pflag, except);
30585                     ret = feraiseexcept(except);
30586                     ret = fesetexceptflag(pflag, except);
30587                     ret = fetestexcept(except);
30588                     ret = fegetround();
30589                     ret = fesetround(mode);
30590                     ret = fegetenv(penv);
30591                     ret = feholdexcept(penv);
30592                     ret = fesetenv(penv);
30593                     ret = feupdateenv(penv);
30594
30595   ;
30596   return 0;
30597 }
30598 _ACEOF
30599 rm -f conftest.$ac_objext
30600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30601   (eval $ac_compile) 2>conftest.er1
30602   ac_status=$?
30603   grep -v '^ *+' conftest.er1 >conftest.err
30604   rm -f conftest.er1
30605   cat conftest.err >&5
30606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607   (exit $ac_status); } &&
30608          { ac_try='test -z "$ac_cxx_werror_flag"
30609                          || test ! -s conftest.err'
30610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30611   (eval $ac_try) 2>&5
30612   ac_status=$?
30613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614   (exit $ac_status); }; } &&
30615          { ac_try='test -s conftest.$ac_objext'
30616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30617   (eval $ac_try) 2>&5
30618   ac_status=$?
30619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620   (exit $ac_status); }; }; then
30621   ac_c99_fenv_tr1=yes
30622 else
30623   echo "$as_me: failed program was:" >&5
30624 sed 's/^/| /' conftest.$ac_ext >&5
30625
30626 ac_c99_fenv_tr1=no
30627 fi
30628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30629   fi
30630   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30631 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30632   if test x"$ac_c99_fenv_tr1" = x"yes"; then
30633
30634 cat >>confdefs.h <<\_ACEOF
30635 #define _GLIBCXX_USE_C99_FENV_TR1 1
30636 _ACEOF
30637
30638   fi
30639
30640   # Check for the existence of <stdint.h> types.
30641   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30642 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30643   if test "${ac_c99_stdint_tr1+set}" = set; then
30644   echo $ECHO_N "(cached) $ECHO_C" >&6
30645 else
30646
30647   cat >conftest.$ac_ext <<_ACEOF
30648 /* confdefs.h.  */
30649 _ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h.  */
30653 #include <stdint.h>
30654 int
30655 main ()
30656 {
30657 typedef int8_t          my_int8_t;
30658                   typedef int16_t         my_int16_t;
30659                   typedef int32_t         my_int32_t;
30660                   typedef int64_t         my_int64_t;
30661                   typedef int_fast8_t     my_int_fast8_t;
30662                   typedef int_fast16_t    my_int_fast16_t;
30663                   typedef int_fast32_t    my_int_fast32_t;
30664                   typedef int_fast64_t    my_int_fast64_t;
30665                   typedef int_least8_t    my_int_least8_t;
30666                   typedef int_least16_t   my_int_least16_t;
30667                   typedef int_least32_t   my_int_least32_t;
30668                   typedef int_least64_t   my_int_least64_t;
30669                   typedef intmax_t        my_intmax_t;
30670                   typedef intptr_t        my_intptr_t;
30671                   typedef uint8_t         my_uint8_t;
30672                   typedef uint16_t        my_uint16_t;
30673                   typedef uint32_t        my_uint32_t;
30674                   typedef uint64_t        my_uint64_t;
30675                   typedef uint_fast8_t    my_uint_fast8_t;
30676                   typedef uint_fast16_t   my_uint_fast16_t;
30677                   typedef uint_fast32_t   my_uint_fast32_t;
30678                   typedef uint_fast64_t   my_uint_fast64_t;
30679                   typedef uint_least8_t   my_uint_least8_t;
30680                   typedef uint_least16_t  my_uint_least16_t;
30681                   typedef uint_least32_t  my_uint_least32_t;
30682                   typedef uint_least64_t  my_uint_least64_t;
30683                   typedef uintmax_t       my_uintmax_t;
30684                   typedef uintptr_t       my_uintptr_t;
30685
30686   ;
30687   return 0;
30688 }
30689 _ACEOF
30690 rm -f conftest.$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692   (eval $ac_compile) 2>conftest.er1
30693   ac_status=$?
30694   grep -v '^ *+' conftest.er1 >conftest.err
30695   rm -f conftest.er1
30696   cat conftest.err >&5
30697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698   (exit $ac_status); } &&
30699          { ac_try='test -z "$ac_cxx_werror_flag"
30700                          || test ! -s conftest.err'
30701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702   (eval $ac_try) 2>&5
30703   ac_status=$?
30704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705   (exit $ac_status); }; } &&
30706          { ac_try='test -s conftest.$ac_objext'
30707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708   (eval $ac_try) 2>&5
30709   ac_status=$?
30710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711   (exit $ac_status); }; }; then
30712   ac_c99_stdint_tr1=yes
30713 else
30714   echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.$ac_ext >&5
30716
30717 ac_c99_stdint_tr1=no
30718 fi
30719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30720
30721 fi
30722
30723   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30724 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30725   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30726
30727 cat >>confdefs.h <<\_ACEOF
30728 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30729 _ACEOF
30730
30731   fi
30732
30733   # Check for the existence of <math.h> functions.
30734   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30735 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30736   if test "${ac_c99_math_tr1+set}" = set; then
30737   echo $ECHO_N "(cached) $ECHO_C" >&6
30738 else
30739
30740   cat >conftest.$ac_ext <<_ACEOF
30741 /* confdefs.h.  */
30742 _ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h.  */
30746 #include <math.h>
30747 int
30748 main ()
30749 {
30750 typedef double_t  my_double_t;
30751                   typedef float_t   my_float_t;
30752                   acosh(0.0);
30753                   acoshf(0.0f);
30754                   acoshl(0.0l);
30755                   asinh(0.0);
30756                   asinhf(0.0f);
30757                   asinhl(0.0l);
30758                   atanh(0.0);
30759                   atanhf(0.0f);
30760                   atanhl(0.0l);
30761                   cbrt(0.0);
30762                   cbrtf(0.0f);
30763                   cbrtl(0.0l);
30764                   copysign(0.0, 0.0);
30765                   copysignf(0.0f, 0.0f);
30766                   copysignl(0.0l, 0.0l);
30767                   erf(0.0);
30768                   erff(0.0f);
30769                   erfl(0.0l);
30770                   erfc(0.0);
30771                   erfcf(0.0f);
30772                   erfcl(0.0l);
30773                   exp2(0.0);
30774                   exp2f(0.0f);
30775                   exp2l(0.0l);
30776                   expm1(0.0);
30777                   expm1f(0.0f);
30778                   expm1l(0.0l);
30779                   fdim(0.0, 0.0);
30780                   fdimf(0.0f, 0.0f);
30781                   fdiml(0.0l, 0.0l);
30782                   fma(0.0, 0.0, 0.0);
30783                   fmaf(0.0f, 0.0f, 0.0f);
30784                   fmal(0.0l, 0.0l, 0.0l);
30785                   fmax(0.0, 0.0);
30786                   fmaxf(0.0f, 0.0f);
30787                   fmaxl(0.0l, 0.0l);
30788                   fmin(0.0, 0.0);
30789                   fminf(0.0f, 0.0f);
30790                   fminl(0.0l, 0.0l);
30791                   hypot(0.0, 0.0);
30792                   hypotf(0.0f, 0.0f);
30793                   hypotl(0.0l, 0.0l);
30794                   ilogb(0.0);
30795                   ilogbf(0.0f);
30796                   ilogbl(0.0l);
30797                   lgamma(0.0);
30798                   lgammaf(0.0f);
30799                   lgammal(0.0l);
30800                   llrint(0.0);
30801                   llrintf(0.0f);
30802                   llrintl(0.0l);
30803                   llround(0.0);
30804                   llroundf(0.0f);
30805                   llroundl(0.0l);
30806                   log1p(0.0);
30807                   log1pf(0.0f);
30808                   log1pl(0.0l);
30809                   log2(0.0);
30810                   log2f(0.0f);
30811                   log2l(0.0l);
30812                   logb(0.0);
30813                   logbf(0.0f);
30814                   logbl(0.0l);
30815                   lrint(0.0);
30816                   lrintf(0.0f);
30817                   lrintl(0.0l);
30818                   lround(0.0);
30819                   lroundf(0.0f);
30820                   lroundl(0.0l);
30821                   nan(0);
30822                   nanf(0);
30823                   nanl(0);
30824                   nearbyint(0.0);
30825                   nearbyintf(0.0f);
30826                   nearbyintl(0.0l);
30827                   nextafter(0.0, 0.0);
30828                   nextafterf(0.0f, 0.0f);
30829                   nextafterl(0.0l, 0.0l);
30830                   nexttoward(0.0, 0.0);
30831                   nexttowardf(0.0f, 0.0f);
30832                   nexttowardl(0.0l, 0.0l);
30833                   remainder(0.0, 0.0);
30834                   remainderf(0.0f, 0.0f);
30835                   remainderl(0.0l, 0.0l);
30836                   remquo(0.0, 0.0, 0);
30837                   remquo(0.0f, 0.0f, 0);
30838                   remquo(0.0l, 0.0l, 0);
30839                   rint(0.0);
30840                   rintf(0.0f);
30841                   rintl(0.0l);
30842                   round(0.0);
30843                   roundf(0.0f);
30844                   roundl(0.0l);
30845                   scalbln(0.0, 0l);
30846                   scalblnf(0.0f, 0l);
30847                   scalblnl(0.0l, 0l);
30848                   scalbn(0.0, 0);
30849                   scalbnf(0.0f, 0);
30850                   scalbnl(0.0l, 0);
30851                   tgamma(0.0);
30852                   tgammaf(0.0f);
30853                   tgammal(0.0l);
30854                   trunc(0.0);
30855                   truncf(0.0f);
30856                   truncl(0.0l);
30857
30858   ;
30859   return 0;
30860 }
30861 _ACEOF
30862 rm -f conftest.$ac_objext
30863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30864   (eval $ac_compile) 2>conftest.er1
30865   ac_status=$?
30866   grep -v '^ *+' conftest.er1 >conftest.err
30867   rm -f conftest.er1
30868   cat conftest.err >&5
30869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870   (exit $ac_status); } &&
30871          { ac_try='test -z "$ac_cxx_werror_flag"
30872                          || test ! -s conftest.err'
30873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30874   (eval $ac_try) 2>&5
30875   ac_status=$?
30876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877   (exit $ac_status); }; } &&
30878          { ac_try='test -s conftest.$ac_objext'
30879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30880   (eval $ac_try) 2>&5
30881   ac_status=$?
30882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883   (exit $ac_status); }; }; then
30884   ac_c99_math_tr1=yes
30885 else
30886   echo "$as_me: failed program was:" >&5
30887 sed 's/^/| /' conftest.$ac_ext >&5
30888
30889 ac_c99_math_tr1=no
30890 fi
30891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30892
30893 fi
30894
30895   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30896 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30897   if test x"$ac_c99_math_tr1" = x"yes"; then
30898
30899 cat >>confdefs.h <<\_ACEOF
30900 #define _GLIBCXX_USE_C99_MATH_TR1 1
30901 _ACEOF
30902
30903   fi
30904
30905   # Check for the existence of <inttypes.h> functions (NB: doesn't make
30906   # sense if the previous check fails, per C99, 7.8/1).
30907   ac_c99_inttypes_tr1=no;
30908   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30909     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30910 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30911     cat >conftest.$ac_ext <<_ACEOF
30912 /* confdefs.h.  */
30913 _ACEOF
30914 cat confdefs.h >>conftest.$ac_ext
30915 cat >>conftest.$ac_ext <<_ACEOF
30916 /* end confdefs.h.  */
30917 #include <inttypes.h>
30918 int
30919 main ()
30920 {
30921 intmax_t i, numer, denom, base;
30922                     const char* s;
30923                     char** endptr;
30924                     intmax_t ret = imaxabs(i);
30925                     imaxdiv_t dret = imaxdiv(numer, denom);
30926                     ret = strtoimax(s, endptr, base);
30927                     uintmax_t uret = strtoumax(s, endptr, base);
30928
30929   ;
30930   return 0;
30931 }
30932 _ACEOF
30933 rm -f conftest.$ac_objext
30934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30935   (eval $ac_compile) 2>conftest.er1
30936   ac_status=$?
30937   grep -v '^ *+' conftest.er1 >conftest.err
30938   rm -f conftest.er1
30939   cat conftest.err >&5
30940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941   (exit $ac_status); } &&
30942          { ac_try='test -z "$ac_cxx_werror_flag"
30943                          || test ! -s conftest.err'
30944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30945   (eval $ac_try) 2>&5
30946   ac_status=$?
30947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948   (exit $ac_status); }; } &&
30949          { ac_try='test -s conftest.$ac_objext'
30950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30951   (eval $ac_try) 2>&5
30952   ac_status=$?
30953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954   (exit $ac_status); }; }; then
30955   ac_c99_inttypes_tr1=yes
30956 else
30957   echo "$as_me: failed program was:" >&5
30958 sed 's/^/| /' conftest.$ac_ext >&5
30959
30960 ac_c99_inttypes_tr1=no
30961 fi
30962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30963   fi
30964   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30965 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30966   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30967
30968 cat >>confdefs.h <<\_ACEOF
30969 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30970 _ACEOF
30971
30972   fi
30973
30974   # Check for the existence of the <stdbool.h> header.
30975
30976 for ac_header in stdbool.h
30977 do
30978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30980   echo "$as_me:$LINENO: checking for $ac_header" >&5
30981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30983   echo $ECHO_N "(cached) $ECHO_C" >&6
30984 fi
30985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30987 else
30988   # Is the header compilable?
30989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30991 cat >conftest.$ac_ext <<_ACEOF
30992 /* confdefs.h.  */
30993 _ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h.  */
30997 $ac_includes_default
30998 #include <$ac_header>
30999 _ACEOF
31000 rm -f conftest.$ac_objext
31001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31002   (eval $ac_compile) 2>conftest.er1
31003   ac_status=$?
31004   grep -v '^ *+' conftest.er1 >conftest.err
31005   rm -f conftest.er1
31006   cat conftest.err >&5
31007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008   (exit $ac_status); } &&
31009          { ac_try='test -z "$ac_cxx_werror_flag"
31010                          || test ! -s conftest.err'
31011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012   (eval $ac_try) 2>&5
31013   ac_status=$?
31014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015   (exit $ac_status); }; } &&
31016          { ac_try='test -s conftest.$ac_objext'
31017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018   (eval $ac_try) 2>&5
31019   ac_status=$?
31020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021   (exit $ac_status); }; }; then
31022   ac_header_compiler=yes
31023 else
31024   echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31026
31027 ac_header_compiler=no
31028 fi
31029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31031 echo "${ECHO_T}$ac_header_compiler" >&6
31032
31033 # Is the header present?
31034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31036 cat >conftest.$ac_ext <<_ACEOF
31037 /* confdefs.h.  */
31038 _ACEOF
31039 cat confdefs.h >>conftest.$ac_ext
31040 cat >>conftest.$ac_ext <<_ACEOF
31041 /* end confdefs.h.  */
31042 #include <$ac_header>
31043 _ACEOF
31044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31045   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31046   ac_status=$?
31047   grep -v '^ *+' conftest.er1 >conftest.err
31048   rm -f conftest.er1
31049   cat conftest.err >&5
31050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051   (exit $ac_status); } >/dev/null; then
31052   if test -s conftest.err; then
31053     ac_cpp_err=$ac_cxx_preproc_warn_flag
31054     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31055   else
31056     ac_cpp_err=
31057   fi
31058 else
31059   ac_cpp_err=yes
31060 fi
31061 if test -z "$ac_cpp_err"; then
31062   ac_header_preproc=yes
31063 else
31064   echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.$ac_ext >&5
31066
31067   ac_header_preproc=no
31068 fi
31069 rm -f conftest.err conftest.$ac_ext
31070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31071 echo "${ECHO_T}$ac_header_preproc" >&6
31072
31073 # So?  What about this header?
31074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31075   yes:no: )
31076     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31078     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31080     ac_header_preproc=yes
31081     ;;
31082   no:yes:* )
31083     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31085     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31086 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31087     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31089     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31090 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31091     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31093     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31095     (
31096       cat <<\_ASBOX
31097 ## ----------------------------------------- ##
31098 ## Report this to the package-unused lists.  ##
31099 ## ----------------------------------------- ##
31100 _ASBOX
31101     ) |
31102       sed "s/^/$as_me: WARNING:     /" >&2
31103     ;;
31104 esac
31105 echo "$as_me:$LINENO: checking for $ac_header" >&5
31106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31108   echo $ECHO_N "(cached) $ECHO_C" >&6
31109 else
31110   eval "$as_ac_Header=\$ac_header_preproc"
31111 fi
31112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31114
31115 fi
31116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31117   cat >>confdefs.h <<_ACEOF
31118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31119 _ACEOF
31120
31121 fi
31122
31123 done
31124
31125
31126   ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31131
31132
31133
31134   # For dev/random and dev/urandom for TR1.
31135
31136
31137   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31138 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31139   if test "${ac_random_tr1+set}" = set; then
31140   echo $ECHO_N "(cached) $ECHO_C" >&6
31141 else
31142
31143   if test "$cross_compiling" = yes; then
31144   ac_random_tr1=no
31145 else
31146   cat >conftest.$ac_ext <<_ACEOF
31147 /* confdefs.h.  */
31148 _ACEOF
31149 cat confdefs.h >>conftest.$ac_ext
31150 cat >>conftest.$ac_ext <<_ACEOF
31151 /* end confdefs.h.  */
31152 #include <stdio.h>
31153               int main()
31154               {
31155                 return !(fopen("/dev/random", "r")
31156                          && fopen("/dev/urandom", "r"));
31157               }
31158
31159 _ACEOF
31160 rm -f conftest$ac_exeext
31161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31162   (eval $ac_link) 2>&5
31163   ac_status=$?
31164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31167   (eval $ac_try) 2>&5
31168   ac_status=$?
31169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170   (exit $ac_status); }; }; then
31171   ac_random_tr1=yes
31172 else
31173   echo "$as_me: program exited with status $ac_status" >&5
31174 echo "$as_me: failed program was:" >&5
31175 sed 's/^/| /' conftest.$ac_ext >&5
31176
31177 ( exit $ac_status )
31178 ac_random_tr1=no
31179 fi
31180 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31181 fi
31182
31183 fi
31184
31185   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31186 echo "${ECHO_T}$ac_random_tr1" >&6
31187   if test x"$ac_random_tr1" = x"yes"; then
31188
31189 cat >>confdefs.h <<\_ACEOF
31190 #define _GLIBCXX_USE_RANDOM_TR1 1
31191 _ACEOF
31192
31193   fi
31194
31195
31196
31197   # For TLS support.
31198
31199    # Check whether --enable-tls or --disable-tls was given.
31200 if test "${enable_tls+set}" = set; then
31201   enableval="$enable_tls"
31202
31203       case "$enableval" in
31204        yes|no) ;;
31205        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31206 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31207    { (exit 1); exit 1; }; } ;;
31208       esac
31209
31210 else
31211   enable_tls=yes
31212 fi;
31213
31214   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31215 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31216 if test "${have_tls+set}" = set; then
31217   echo $ECHO_N "(cached) $ECHO_C" >&6
31218 else
31219
31220     if test "$cross_compiling" = yes; then
31221   if test x$gcc_no_link = xyes; then
31222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31224    { (exit 1); exit 1; }; }
31225 fi
31226 cat >conftest.$ac_ext <<_ACEOF
31227 __thread int a; int b; int main() { return a = b; }
31228 _ACEOF
31229 rm -f conftest.$ac_objext conftest$ac_exeext
31230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31231   (eval $ac_link) 2>conftest.er1
31232   ac_status=$?
31233   grep -v '^ *+' conftest.er1 >conftest.err
31234   rm -f conftest.er1
31235   cat conftest.err >&5
31236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237   (exit $ac_status); } &&
31238          { ac_try='test -z "$ac_c_werror_flag"
31239                          || test ! -s conftest.err'
31240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241   (eval $ac_try) 2>&5
31242   ac_status=$?
31243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244   (exit $ac_status); }; } &&
31245          { ac_try='test -s conftest$ac_exeext'
31246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31247   (eval $ac_try) 2>&5
31248   ac_status=$?
31249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250   (exit $ac_status); }; }; then
31251   have_tls=yes
31252 else
31253   echo "$as_me: failed program was:" >&5
31254 sed 's/^/| /' conftest.$ac_ext >&5
31255
31256 have_tls=no
31257 fi
31258 rm -f conftest.err conftest.$ac_objext \
31259       conftest$ac_exeext conftest.$ac_ext
31260
31261 else
31262   cat >conftest.$ac_ext <<_ACEOF
31263 __thread int a; int b; int main() { return a = b; }
31264 _ACEOF
31265 rm -f conftest$ac_exeext
31266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31267   (eval $ac_link) 2>&5
31268   ac_status=$?
31269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272   (eval $ac_try) 2>&5
31273   ac_status=$?
31274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275   (exit $ac_status); }; }; then
31276                       save_LDFLAGS="$LDFLAGS"
31277       LDFLAGS="-static $LDFLAGS"
31278       if test x$gcc_no_link = xyes; then
31279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31281    { (exit 1); exit 1; }; }
31282 fi
31283 cat >conftest.$ac_ext <<_ACEOF
31284 int main() { return 0; }
31285 _ACEOF
31286 rm -f conftest.$ac_objext conftest$ac_exeext
31287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31288   (eval $ac_link) 2>conftest.er1
31289   ac_status=$?
31290   grep -v '^ *+' conftest.er1 >conftest.err
31291   rm -f conftest.er1
31292   cat conftest.err >&5
31293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294   (exit $ac_status); } &&
31295          { ac_try='test -z "$ac_c_werror_flag"
31296                          || test ! -s conftest.err'
31297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31298   (eval $ac_try) 2>&5
31299   ac_status=$?
31300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301   (exit $ac_status); }; } &&
31302          { ac_try='test -s conftest$ac_exeext'
31303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31304   (eval $ac_try) 2>&5
31305   ac_status=$?
31306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307   (exit $ac_status); }; }; then
31308   if test "$cross_compiling" = yes; then
31309   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31310 See \`config.log' for more details." >&5
31311 echo "$as_me: error: cannot run test program while cross compiling
31312 See \`config.log' for more details." >&2;}
31313    { (exit 1); exit 1; }; }
31314 else
31315   cat >conftest.$ac_ext <<_ACEOF
31316 __thread int a; int b; int main() { return a = b; }
31317 _ACEOF
31318 rm -f conftest$ac_exeext
31319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31320   (eval $ac_link) 2>&5
31321   ac_status=$?
31322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325   (eval $ac_try) 2>&5
31326   ac_status=$?
31327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328   (exit $ac_status); }; }; then
31329   have_tls=yes
31330 else
31331   echo "$as_me: program exited with status $ac_status" >&5
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31334
31335 ( exit $ac_status )
31336 have_tls=no
31337 fi
31338 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31339 fi
31340 else
31341   echo "$as_me: failed program was:" >&5
31342 sed 's/^/| /' conftest.$ac_ext >&5
31343
31344 have_tls=yes
31345 fi
31346 rm -f conftest.err conftest.$ac_objext \
31347       conftest$ac_exeext conftest.$ac_ext
31348       LDFLAGS="$save_LDFLAGS"
31349 else
31350   echo "$as_me: program exited with status $ac_status" >&5
31351 echo "$as_me: failed program was:" >&5
31352 sed 's/^/| /' conftest.$ac_ext >&5
31353
31354 ( exit $ac_status )
31355 have_tls=no
31356 fi
31357 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31358 fi
31359 fi
31360 echo "$as_me:$LINENO: result: $have_tls" >&5
31361 echo "${ECHO_T}$have_tls" >&6
31362   if test "$enable_tls $have_tls" = "yes yes"; then
31363
31364 cat >>confdefs.h <<\_ACEOF
31365 #define HAVE_TLS 1
31366 _ACEOF
31367
31368   fi
31369
31370   # For _Unwind_GetIPInfo.
31371
31372
31373
31374   ac_ext=cc
31375 ac_cpp='$CXXCPP $CPPFLAGS'
31376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31379
31380   ac_save_CXXFLAGS="$CXXFLAGS"
31381   CXXFLAGS="$CXXFLAGS -fno-exceptions"
31382   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31383 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31384   if test "${gcc_cv_getipinfo+set}" = set; then
31385   echo $ECHO_N "(cached) $ECHO_C" >&6
31386 else
31387
31388   if test x$gcc_no_link = xyes; then
31389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31391    { (exit 1); exit 1; }; }
31392 fi
31393 cat >conftest.$ac_ext <<_ACEOF
31394 /* confdefs.h.  */
31395 _ACEOF
31396 cat confdefs.h >>conftest.$ac_ext
31397 cat >>conftest.$ac_ext <<_ACEOF
31398 /* end confdefs.h.  */
31399 extern "C" { extern void _Unwind_GetIPInfo(); }
31400 int
31401 main ()
31402 {
31403 _Unwind_GetIPInfo();
31404   ;
31405   return 0;
31406 }
31407 _ACEOF
31408 rm -f conftest.$ac_objext conftest$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410   (eval $ac_link) 2>conftest.er1
31411   ac_status=$?
31412   grep -v '^ *+' conftest.er1 >conftest.err
31413   rm -f conftest.er1
31414   cat conftest.err >&5
31415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416   (exit $ac_status); } &&
31417          { ac_try='test -z "$ac_cxx_werror_flag"
31418                          || test ! -s conftest.err'
31419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420   (eval $ac_try) 2>&5
31421   ac_status=$?
31422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423   (exit $ac_status); }; } &&
31424          { ac_try='test -s conftest$ac_exeext'
31425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426   (eval $ac_try) 2>&5
31427   ac_status=$?
31428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429   (exit $ac_status); }; }; then
31430   gcc_cv_getipinfo=yes
31431 else
31432   echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31434
31435 gcc_cv_getipinfo=no
31436 fi
31437 rm -f conftest.err conftest.$ac_objext \
31438       conftest$ac_exeext conftest.$ac_ext
31439
31440 fi
31441
31442   if test $gcc_cv_getipinfo = yes; then
31443
31444 cat >>confdefs.h <<\_ACEOF
31445 #define HAVE_GETIPINFO 1
31446 _ACEOF
31447
31448   fi
31449   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31450 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31451   CXXFLAGS="$ac_save_CXXFLAGS"
31452   ac_ext=c
31453 ac_cpp='$CPP $CPPFLAGS'
31454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31457
31458
31459
31460
31461   if test "${ac_cv_header_locale_h+set}" = set; then
31462   echo "$as_me:$LINENO: checking for locale.h" >&5
31463 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31464 if test "${ac_cv_header_locale_h+set}" = set; then
31465   echo $ECHO_N "(cached) $ECHO_C" >&6
31466 fi
31467 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31468 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31469 else
31470   # Is the header compilable?
31471 echo "$as_me:$LINENO: checking locale.h usability" >&5
31472 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31473 cat >conftest.$ac_ext <<_ACEOF
31474 /* confdefs.h.  */
31475 _ACEOF
31476 cat confdefs.h >>conftest.$ac_ext
31477 cat >>conftest.$ac_ext <<_ACEOF
31478 /* end confdefs.h.  */
31479 $ac_includes_default
31480 #include <locale.h>
31481 _ACEOF
31482 rm -f conftest.$ac_objext
31483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31484   (eval $ac_compile) 2>conftest.er1
31485   ac_status=$?
31486   grep -v '^ *+' conftest.er1 >conftest.err
31487   rm -f conftest.er1
31488   cat conftest.err >&5
31489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490   (exit $ac_status); } &&
31491          { ac_try='test -z "$ac_c_werror_flag"
31492                          || test ! -s conftest.err'
31493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494   (eval $ac_try) 2>&5
31495   ac_status=$?
31496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497   (exit $ac_status); }; } &&
31498          { ac_try='test -s conftest.$ac_objext'
31499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31500   (eval $ac_try) 2>&5
31501   ac_status=$?
31502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503   (exit $ac_status); }; }; then
31504   ac_header_compiler=yes
31505 else
31506   echo "$as_me: failed program was:" >&5
31507 sed 's/^/| /' conftest.$ac_ext >&5
31508
31509 ac_header_compiler=no
31510 fi
31511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31512 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31513 echo "${ECHO_T}$ac_header_compiler" >&6
31514
31515 # Is the header present?
31516 echo "$as_me:$LINENO: checking locale.h presence" >&5
31517 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31518 cat >conftest.$ac_ext <<_ACEOF
31519 /* confdefs.h.  */
31520 _ACEOF
31521 cat confdefs.h >>conftest.$ac_ext
31522 cat >>conftest.$ac_ext <<_ACEOF
31523 /* end confdefs.h.  */
31524 #include <locale.h>
31525 _ACEOF
31526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31527   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31528   ac_status=$?
31529   grep -v '^ *+' conftest.er1 >conftest.err
31530   rm -f conftest.er1
31531   cat conftest.err >&5
31532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533   (exit $ac_status); } >/dev/null; then
31534   if test -s conftest.err; then
31535     ac_cpp_err=$ac_c_preproc_warn_flag
31536     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31537   else
31538     ac_cpp_err=
31539   fi
31540 else
31541   ac_cpp_err=yes
31542 fi
31543 if test -z "$ac_cpp_err"; then
31544   ac_header_preproc=yes
31545 else
31546   echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31548
31549   ac_header_preproc=no
31550 fi
31551 rm -f conftest.err conftest.$ac_ext
31552 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31553 echo "${ECHO_T}$ac_header_preproc" >&6
31554
31555 # So?  What about this header?
31556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31557   yes:no: )
31558     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31559 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31560     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31561 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31562     ac_header_preproc=yes
31563     ;;
31564   no:yes:* )
31565     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31566 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31567     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
31568 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
31569     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31570 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31571     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
31572 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31573     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31574 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31575     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31576 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31577     (
31578       cat <<\_ASBOX
31579 ## ----------------------------------------- ##
31580 ## Report this to the package-unused lists.  ##
31581 ## ----------------------------------------- ##
31582 _ASBOX
31583     ) |
31584       sed "s/^/$as_me: WARNING:     /" >&2
31585     ;;
31586 esac
31587 echo "$as_me:$LINENO: checking for locale.h" >&5
31588 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31589 if test "${ac_cv_header_locale_h+set}" = set; then
31590   echo $ECHO_N "(cached) $ECHO_C" >&6
31591 else
31592   ac_cv_header_locale_h=$ac_header_preproc
31593 fi
31594 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31595 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31596
31597 fi
31598 if test $ac_cv_header_locale_h = yes; then
31599
31600     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31601 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31602 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31603   echo $ECHO_N "(cached) $ECHO_C" >&6
31604 else
31605   if test x$gcc_no_link = xyes; then
31606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31608    { (exit 1); exit 1; }; }
31609 fi
31610 cat >conftest.$ac_ext <<_ACEOF
31611 /* confdefs.h.  */
31612 _ACEOF
31613 cat confdefs.h >>conftest.$ac_ext
31614 cat >>conftest.$ac_ext <<_ACEOF
31615 /* end confdefs.h.  */
31616 #include <locale.h>
31617 int
31618 main ()
31619 {
31620 return LC_MESSAGES
31621   ;
31622   return 0;
31623 }
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627   (eval $ac_link) 2>conftest.er1
31628   ac_status=$?
31629   grep -v '^ *+' conftest.er1 >conftest.err
31630   rm -f conftest.er1
31631   cat conftest.err >&5
31632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633   (exit $ac_status); } &&
31634          { ac_try='test -z "$ac_c_werror_flag"
31635                          || test ! -s conftest.err'
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); }; } &&
31641          { ac_try='test -s conftest$ac_exeext'
31642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643   (eval $ac_try) 2>&5
31644   ac_status=$?
31645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646   (exit $ac_status); }; }; then
31647   ac_cv_val_LC_MESSAGES=yes
31648 else
31649   echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31651
31652 ac_cv_val_LC_MESSAGES=no
31653 fi
31654 rm -f conftest.err conftest.$ac_objext \
31655       conftest$ac_exeext conftest.$ac_ext
31656 fi
31657 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31658 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31659     if test $ac_cv_val_LC_MESSAGES = yes; then
31660
31661 cat >>confdefs.h <<\_ACEOF
31662 #define HAVE_LC_MESSAGES 1
31663 _ACEOF
31664
31665     fi
31666
31667 fi
31668
31669
31670
31671
31672   cat >conftest.$ac_ext <<_ACEOF
31673 /* confdefs.h.  */
31674 _ACEOF
31675 cat confdefs.h >>conftest.$ac_ext
31676 cat >>conftest.$ac_ext <<_ACEOF
31677 /* end confdefs.h.  */
31678 #include <setjmp.h>
31679 int
31680 main ()
31681 {
31682 sigjmp_buf env;
31683      while (! sigsetjmp (env, 1))
31684        siglongjmp (env, 1);
31685
31686   ;
31687   return 0;
31688 }
31689 _ACEOF
31690 rm -f conftest.$ac_objext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31692   (eval $ac_compile) 2>conftest.er1
31693   ac_status=$?
31694   grep -v '^ *+' conftest.er1 >conftest.err
31695   rm -f conftest.er1
31696   cat conftest.err >&5
31697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698   (exit $ac_status); } &&
31699          { ac_try='test -z "$ac_c_werror_flag"
31700                          || test ! -s conftest.err'
31701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702   (eval $ac_try) 2>&5
31703   ac_status=$?
31704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705   (exit $ac_status); }; } &&
31706          { ac_try='test -s conftest.$ac_objext'
31707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708   (eval $ac_try) 2>&5
31709   ac_status=$?
31710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711   (exit $ac_status); }; }; then
31712
31713 cat >>confdefs.h <<\_ACEOF
31714 #define HAVE_SIGSETJMP 1
31715 _ACEOF
31716
31717 else
31718   echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.$ac_ext >&5
31720
31721 fi
31722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31723
31724   if test x$gcc_no_link = xyes; then
31725   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31726     ac_cv_func_mmap_fixed_mapped=no
31727   fi
31728 fi
31729 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31730
31731
31732 for ac_header in stdlib.h unistd.h
31733 do
31734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31736   echo "$as_me:$LINENO: checking for $ac_header" >&5
31737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31739   echo $ECHO_N "(cached) $ECHO_C" >&6
31740 fi
31741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31743 else
31744   # Is the header compilable?
31745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31747 cat >conftest.$ac_ext <<_ACEOF
31748 /* confdefs.h.  */
31749 _ACEOF
31750 cat confdefs.h >>conftest.$ac_ext
31751 cat >>conftest.$ac_ext <<_ACEOF
31752 /* end confdefs.h.  */
31753 $ac_includes_default
31754 #include <$ac_header>
31755 _ACEOF
31756 rm -f conftest.$ac_objext
31757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31758   (eval $ac_compile) 2>conftest.er1
31759   ac_status=$?
31760   grep -v '^ *+' conftest.er1 >conftest.err
31761   rm -f conftest.er1
31762   cat conftest.err >&5
31763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764   (exit $ac_status); } &&
31765          { ac_try='test -z "$ac_c_werror_flag"
31766                          || test ! -s conftest.err'
31767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31768   (eval $ac_try) 2>&5
31769   ac_status=$?
31770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771   (exit $ac_status); }; } &&
31772          { ac_try='test -s conftest.$ac_objext'
31773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774   (eval $ac_try) 2>&5
31775   ac_status=$?
31776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777   (exit $ac_status); }; }; then
31778   ac_header_compiler=yes
31779 else
31780   echo "$as_me: failed program was:" >&5
31781 sed 's/^/| /' conftest.$ac_ext >&5
31782
31783 ac_header_compiler=no
31784 fi
31785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31787 echo "${ECHO_T}$ac_header_compiler" >&6
31788
31789 # Is the header present?
31790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31792 cat >conftest.$ac_ext <<_ACEOF
31793 /* confdefs.h.  */
31794 _ACEOF
31795 cat confdefs.h >>conftest.$ac_ext
31796 cat >>conftest.$ac_ext <<_ACEOF
31797 /* end confdefs.h.  */
31798 #include <$ac_header>
31799 _ACEOF
31800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31801   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31802   ac_status=$?
31803   grep -v '^ *+' conftest.er1 >conftest.err
31804   rm -f conftest.er1
31805   cat conftest.err >&5
31806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807   (exit $ac_status); } >/dev/null; then
31808   if test -s conftest.err; then
31809     ac_cpp_err=$ac_c_preproc_warn_flag
31810     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31811   else
31812     ac_cpp_err=
31813   fi
31814 else
31815   ac_cpp_err=yes
31816 fi
31817 if test -z "$ac_cpp_err"; then
31818   ac_header_preproc=yes
31819 else
31820   echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31822
31823   ac_header_preproc=no
31824 fi
31825 rm -f conftest.err conftest.$ac_ext
31826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31827 echo "${ECHO_T}$ac_header_preproc" >&6
31828
31829 # So?  What about this header?
31830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31831   yes:no: )
31832     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31834     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31836     ac_header_preproc=yes
31837     ;;
31838   no:yes:* )
31839     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31841     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31842 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31843     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31845     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31846 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31847     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31849     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31851     (
31852       cat <<\_ASBOX
31853 ## ----------------------------------------- ##
31854 ## Report this to the package-unused lists.  ##
31855 ## ----------------------------------------- ##
31856 _ASBOX
31857     ) |
31858       sed "s/^/$as_me: WARNING:     /" >&2
31859     ;;
31860 esac
31861 echo "$as_me:$LINENO: checking for $ac_header" >&5
31862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31864   echo $ECHO_N "(cached) $ECHO_C" >&6
31865 else
31866   eval "$as_ac_Header=\$ac_header_preproc"
31867 fi
31868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31870
31871 fi
31872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31873   cat >>confdefs.h <<_ACEOF
31874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31875 _ACEOF
31876
31877 fi
31878
31879 done
31880
31881
31882 for ac_func in getpagesize
31883 do
31884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31885 echo "$as_me:$LINENO: checking for $ac_func" >&5
31886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31887 if eval "test \"\${$as_ac_var+set}\" = set"; then
31888   echo $ECHO_N "(cached) $ECHO_C" >&6
31889 else
31890   if test x$gcc_no_link = xyes; then
31891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31893    { (exit 1); exit 1; }; }
31894 fi
31895 cat >conftest.$ac_ext <<_ACEOF
31896 /* confdefs.h.  */
31897 _ACEOF
31898 cat confdefs.h >>conftest.$ac_ext
31899 cat >>conftest.$ac_ext <<_ACEOF
31900 /* end confdefs.h.  */
31901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31903 #define $ac_func innocuous_$ac_func
31904
31905 /* System header to define __stub macros and hopefully few prototypes,
31906     which can conflict with char $ac_func (); below.
31907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31908     <limits.h> exists even on freestanding compilers.  */
31909
31910 #ifdef __STDC__
31911 # include <limits.h>
31912 #else
31913 # include <assert.h>
31914 #endif
31915
31916 #undef $ac_func
31917
31918 /* Override any gcc2 internal prototype to avoid an error.  */
31919 #ifdef __cplusplus
31920 extern "C"
31921 {
31922 #endif
31923 /* We use char because int might match the return type of a gcc2
31924    builtin and then its argument prototype would still apply.  */
31925 char $ac_func ();
31926 /* The GNU C library defines this for functions which it implements
31927     to always fail with ENOSYS.  Some functions are actually named
31928     something starting with __ and the normal name is an alias.  */
31929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31930 choke me
31931 #else
31932 char (*f) () = $ac_func;
31933 #endif
31934 #ifdef __cplusplus
31935 }
31936 #endif
31937
31938 int
31939 main ()
31940 {
31941 return f != $ac_func;
31942   ;
31943   return 0;
31944 }
31945 _ACEOF
31946 rm -f conftest.$ac_objext conftest$ac_exeext
31947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31948   (eval $ac_link) 2>conftest.er1
31949   ac_status=$?
31950   grep -v '^ *+' conftest.er1 >conftest.err
31951   rm -f conftest.er1
31952   cat conftest.err >&5
31953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954   (exit $ac_status); } &&
31955          { ac_try='test -z "$ac_c_werror_flag"
31956                          || test ! -s conftest.err'
31957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31958   (eval $ac_try) 2>&5
31959   ac_status=$?
31960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961   (exit $ac_status); }; } &&
31962          { ac_try='test -s conftest$ac_exeext'
31963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31964   (eval $ac_try) 2>&5
31965   ac_status=$?
31966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967   (exit $ac_status); }; }; then
31968   eval "$as_ac_var=yes"
31969 else
31970   echo "$as_me: failed program was:" >&5
31971 sed 's/^/| /' conftest.$ac_ext >&5
31972
31973 eval "$as_ac_var=no"
31974 fi
31975 rm -f conftest.err conftest.$ac_objext \
31976       conftest$ac_exeext conftest.$ac_ext
31977 fi
31978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31980 if test `eval echo '${'$as_ac_var'}'` = yes; then
31981   cat >>confdefs.h <<_ACEOF
31982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31983 _ACEOF
31984
31985 fi
31986 done
31987
31988 echo "$as_me:$LINENO: checking for working mmap" >&5
31989 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31990 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31991   echo $ECHO_N "(cached) $ECHO_C" >&6
31992 else
31993   if test "$cross_compiling" = yes; then
31994   ac_cv_func_mmap_fixed_mapped=no
31995 else
31996   cat >conftest.$ac_ext <<_ACEOF
31997 /* confdefs.h.  */
31998 _ACEOF
31999 cat confdefs.h >>conftest.$ac_ext
32000 cat >>conftest.$ac_ext <<_ACEOF
32001 /* end confdefs.h.  */
32002 $ac_includes_default
32003 /* malloc might have been renamed as rpl_malloc. */
32004 #undef malloc
32005
32006 /* Thanks to Mike Haertel and Jim Avera for this test.
32007    Here is a matrix of mmap possibilities:
32008         mmap private not fixed
32009         mmap private fixed at somewhere currently unmapped
32010         mmap private fixed at somewhere already mapped
32011         mmap shared not fixed
32012         mmap shared fixed at somewhere currently unmapped
32013         mmap shared fixed at somewhere already mapped
32014    For private mappings, we should verify that changes cannot be read()
32015    back from the file, nor mmap's back from the file at a different
32016    address.  (There have been systems where private was not correctly
32017    implemented like the infamous i386 svr4.0, and systems where the
32018    VM page cache was not coherent with the file system buffer cache
32019    like early versions of FreeBSD and possibly contemporary NetBSD.)
32020    For shared mappings, we should conversely verify that changes get
32021    propagated back to all the places they're supposed to be.
32022
32023    Grep wants private fixed already mapped.
32024    The main things grep needs to know about mmap are:
32025    * does it exist and is it safe to write into the mmap'd area
32026    * how to use it (BSD variants)  */
32027
32028 #include <fcntl.h>
32029 #include <sys/mman.h>
32030
32031 #if !STDC_HEADERS && !HAVE_STDLIB_H
32032 char *malloc ();
32033 #endif
32034
32035 /* This mess was copied from the GNU getpagesize.h.  */
32036 #if !HAVE_GETPAGESIZE
32037 /* Assume that all systems that can run configure have sys/param.h.  */
32038 # if !HAVE_SYS_PARAM_H
32039 #  define HAVE_SYS_PARAM_H 1
32040 # endif
32041
32042 # ifdef _SC_PAGESIZE
32043 #  define getpagesize() sysconf(_SC_PAGESIZE)
32044 # else /* no _SC_PAGESIZE */
32045 #  if HAVE_SYS_PARAM_H
32046 #   include <sys/param.h>
32047 #   ifdef EXEC_PAGESIZE
32048 #    define getpagesize() EXEC_PAGESIZE
32049 #   else /* no EXEC_PAGESIZE */
32050 #    ifdef NBPG
32051 #     define getpagesize() NBPG * CLSIZE
32052 #     ifndef CLSIZE
32053 #      define CLSIZE 1
32054 #     endif /* no CLSIZE */
32055 #    else /* no NBPG */
32056 #     ifdef NBPC
32057 #      define getpagesize() NBPC
32058 #     else /* no NBPC */
32059 #      ifdef PAGESIZE
32060 #       define getpagesize() PAGESIZE
32061 #      endif /* PAGESIZE */
32062 #     endif /* no NBPC */
32063 #    endif /* no NBPG */
32064 #   endif /* no EXEC_PAGESIZE */
32065 #  else /* no HAVE_SYS_PARAM_H */
32066 #   define getpagesize() 8192   /* punt totally */
32067 #  endif /* no HAVE_SYS_PARAM_H */
32068 # endif /* no _SC_PAGESIZE */
32069
32070 #endif /* no HAVE_GETPAGESIZE */
32071
32072 int
32073 main ()
32074 {
32075   char *data, *data2, *data3;
32076   int i, pagesize;
32077   int fd;
32078
32079   pagesize = getpagesize ();
32080
32081   /* First, make a file with some known garbage in it. */
32082   data = (char *) malloc (pagesize);
32083   if (!data)
32084     exit (1);
32085   for (i = 0; i < pagesize; ++i)
32086     *(data + i) = rand ();
32087   umask (0);
32088   fd = creat ("conftest.mmap", 0600);
32089   if (fd < 0)
32090     exit (1);
32091   if (write (fd, data, pagesize) != pagesize)
32092     exit (1);
32093   close (fd);
32094
32095   /* Next, try to mmap the file at a fixed address which already has
32096      something else allocated at it.  If we can, also make sure that
32097      we see the same garbage.  */
32098   fd = open ("conftest.mmap", O_RDWR);
32099   if (fd < 0)
32100     exit (1);
32101   data2 = (char *) malloc (2 * pagesize);
32102   if (!data2)
32103     exit (1);
32104   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32105   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32106                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
32107     exit (1);
32108   for (i = 0; i < pagesize; ++i)
32109     if (*(data + i) != *(data2 + i))
32110       exit (1);
32111
32112   /* Finally, make sure that changes to the mapped area do not
32113      percolate back to the file as seen by read().  (This is a bug on
32114      some variants of i386 svr4.0.)  */
32115   for (i = 0; i < pagesize; ++i)
32116     *(data2 + i) = *(data2 + i) + 1;
32117   data3 = (char *) malloc (pagesize);
32118   if (!data3)
32119     exit (1);
32120   if (read (fd, data3, pagesize) != pagesize)
32121     exit (1);
32122   for (i = 0; i < pagesize; ++i)
32123     if (*(data + i) != *(data3 + i))
32124       exit (1);
32125   close (fd);
32126   exit (0);
32127 }
32128 _ACEOF
32129 rm -f conftest$ac_exeext
32130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32131   (eval $ac_link) 2>&5
32132   ac_status=$?
32133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136   (eval $ac_try) 2>&5
32137   ac_status=$?
32138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139   (exit $ac_status); }; }; then
32140   ac_cv_func_mmap_fixed_mapped=yes
32141 else
32142   echo "$as_me: program exited with status $ac_status" >&5
32143 echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.$ac_ext >&5
32145
32146 ( exit $ac_status )
32147 ac_cv_func_mmap_fixed_mapped=no
32148 fi
32149 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32150 fi
32151 fi
32152 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32153 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32154 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32155
32156 cat >>confdefs.h <<\_ACEOF
32157 #define HAVE_MMAP 1
32158 _ACEOF
32159
32160 fi
32161 rm -f conftest.mmap
32162
32163 fi
32164
32165 else
32166
32167   # This lets us hard-code the functionality we know we'll have in the cross
32168   # target environment.  "Let" is a sugar-coated word placed on an especially
32169   # dull and tedious hack, actually.
32170   #
32171   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32172   # that involve linking, can't be used:
32173   #    "cannot open sim-crt0.o"
32174   #    "cannot open crt0.o"
32175   # etc.  All this is because there currently exists no unified, consistent
32176   # way for top level CC information to be passed down to target directories:
32177   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32178   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32179   # crosses can be removed.
32180
32181   # If Canadian cross, then don't pick up tools from the build directory.
32182   # Used only in GLIBCXX_EXPORT_INCLUDES.
32183   if test -n "$with_cross_host" &&
32184      test x"$build_alias" != x"$with_cross_host" &&
32185      test x"$build" != x"$target";
32186   then
32187     CANADIAN=yes
32188   else
32189     CANADIAN=no
32190   fi
32191
32192   # Construct crosses by hand, eliminating bits that need ld...
32193   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32194   # GLIBCXX_CHECK_MATH_SUPPORT
32195
32196   # First, test for "known" system libraries.  We may be using newlib even
32197   # on a hosted environment.
32198   if test "x${with_newlib}" = "xyes"; then
32199     os_include_dir="os/newlib"
32200     cat >>confdefs.h <<\_ACEOF
32201 #define HAVE_HYPOT 1
32202 _ACEOF
32203
32204
32205     # GLIBCXX_CHECK_STDLIB_SUPPORT
32206     cat >>confdefs.h <<\_ACEOF
32207 #define HAVE_STRTOF 1
32208 _ACEOF
32209
32210     # AC_FUNC_MMAP
32211     cat >>confdefs.h <<\_ACEOF
32212 #define HAVE_MMAP 1
32213 _ACEOF
32214
32215
32216     cat >>confdefs.h <<\_ACEOF
32217 #define HAVE_ACOSF 1
32218 _ACEOF
32219
32220     cat >>confdefs.h <<\_ACEOF
32221 #define HAVE_ASINF 1
32222 _ACEOF
32223
32224     cat >>confdefs.h <<\_ACEOF
32225 #define HAVE_ATAN2F 1
32226 _ACEOF
32227
32228     cat >>confdefs.h <<\_ACEOF
32229 #define HAVE_ATANF 1
32230 _ACEOF
32231
32232     cat >>confdefs.h <<\_ACEOF
32233 #define HAVE_CEILF 1
32234 _ACEOF
32235
32236     cat >>confdefs.h <<\_ACEOF
32237 #define HAVE_COPYSIGN 1
32238 _ACEOF
32239
32240     cat >>confdefs.h <<\_ACEOF
32241 #define HAVE_COPYSIGNF 1
32242 _ACEOF
32243
32244     cat >>confdefs.h <<\_ACEOF
32245 #define HAVE_COSF 1
32246 _ACEOF
32247
32248     cat >>confdefs.h <<\_ACEOF
32249 #define HAVE_COSHF 1
32250 _ACEOF
32251
32252     cat >>confdefs.h <<\_ACEOF
32253 #define HAVE_EXPF 1
32254 _ACEOF
32255
32256     cat >>confdefs.h <<\_ACEOF
32257 #define HAVE_FABSF 1
32258 _ACEOF
32259
32260     cat >>confdefs.h <<\_ACEOF
32261 #define HAVE_FLOORF 1
32262 _ACEOF
32263
32264     cat >>confdefs.h <<\_ACEOF
32265 #define HAVE_FMODF 1
32266 _ACEOF
32267
32268     cat >>confdefs.h <<\_ACEOF
32269 #define HAVE_FREXPF 1
32270 _ACEOF
32271
32272     cat >>confdefs.h <<\_ACEOF
32273 #define HAVE_LDEXPF 1
32274 _ACEOF
32275
32276     cat >>confdefs.h <<\_ACEOF
32277 #define HAVE_LOG10F 1
32278 _ACEOF
32279
32280     cat >>confdefs.h <<\_ACEOF
32281 #define HAVE_LOGF 1
32282 _ACEOF
32283
32284     cat >>confdefs.h <<\_ACEOF
32285 #define HAVE_MODFF 1
32286 _ACEOF
32287
32288     cat >>confdefs.h <<\_ACEOF
32289 #define HAVE_POWF 1
32290 _ACEOF
32291
32292     cat >>confdefs.h <<\_ACEOF
32293 #define HAVE_SINF 1
32294 _ACEOF
32295
32296     cat >>confdefs.h <<\_ACEOF
32297 #define HAVE_SINHF 1
32298 _ACEOF
32299
32300     cat >>confdefs.h <<\_ACEOF
32301 #define HAVE_SQRTF 1
32302 _ACEOF
32303
32304     cat >>confdefs.h <<\_ACEOF
32305 #define HAVE_TANF 1
32306 _ACEOF
32307
32308     cat >>confdefs.h <<\_ACEOF
32309 #define HAVE_TANHF 1
32310 _ACEOF
32311
32312
32313     cat >>confdefs.h <<\_ACEOF
32314 #define HAVE_S_ISREG 1
32315 _ACEOF
32316
32317     cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_S_IFREG 1
32319 _ACEOF
32320
32321   else
32322
32323 # Base decisions on target environment.
32324 case "${host}" in
32325   arm*-*-symbianelf*)
32326     # This is a freestanding configuration; there is nothing to do here.
32327     ;;
32328
32329   *-darwin*)
32330     # Darwin versions vary, but the linker should work in a cross environment,
32331     # so we just check for all the features here.
32332     # Check for available headers.
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32347     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32348     sys/types.h
32349 do
32350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32352   echo "$as_me:$LINENO: checking for $ac_header" >&5
32353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32355   echo $ECHO_N "(cached) $ECHO_C" >&6
32356 fi
32357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32359 else
32360   # Is the header compilable?
32361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32363 cat >conftest.$ac_ext <<_ACEOF
32364 /* confdefs.h.  */
32365 _ACEOF
32366 cat confdefs.h >>conftest.$ac_ext
32367 cat >>conftest.$ac_ext <<_ACEOF
32368 /* end confdefs.h.  */
32369 $ac_includes_default
32370 #include <$ac_header>
32371 _ACEOF
32372 rm -f conftest.$ac_objext
32373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32374   (eval $ac_compile) 2>conftest.er1
32375   ac_status=$?
32376   grep -v '^ *+' conftest.er1 >conftest.err
32377   rm -f conftest.er1
32378   cat conftest.err >&5
32379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380   (exit $ac_status); } &&
32381          { ac_try='test -z "$ac_c_werror_flag"
32382                          || test ! -s conftest.err'
32383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384   (eval $ac_try) 2>&5
32385   ac_status=$?
32386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387   (exit $ac_status); }; } &&
32388          { ac_try='test -s conftest.$ac_objext'
32389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32390   (eval $ac_try) 2>&5
32391   ac_status=$?
32392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32393   (exit $ac_status); }; }; then
32394   ac_header_compiler=yes
32395 else
32396   echo "$as_me: failed program was:" >&5
32397 sed 's/^/| /' conftest.$ac_ext >&5
32398
32399 ac_header_compiler=no
32400 fi
32401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32403 echo "${ECHO_T}$ac_header_compiler" >&6
32404
32405 # Is the header present?
32406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32408 cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h.  */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h.  */
32414 #include <$ac_header>
32415 _ACEOF
32416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32417   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32418   ac_status=$?
32419   grep -v '^ *+' conftest.er1 >conftest.err
32420   rm -f conftest.er1
32421   cat conftest.err >&5
32422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423   (exit $ac_status); } >/dev/null; then
32424   if test -s conftest.err; then
32425     ac_cpp_err=$ac_c_preproc_warn_flag
32426     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32427   else
32428     ac_cpp_err=
32429   fi
32430 else
32431   ac_cpp_err=yes
32432 fi
32433 if test -z "$ac_cpp_err"; then
32434   ac_header_preproc=yes
32435 else
32436   echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.$ac_ext >&5
32438
32439   ac_header_preproc=no
32440 fi
32441 rm -f conftest.err conftest.$ac_ext
32442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32443 echo "${ECHO_T}$ac_header_preproc" >&6
32444
32445 # So?  What about this header?
32446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32447   yes:no: )
32448     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32450     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32452     ac_header_preproc=yes
32453     ;;
32454   no:yes:* )
32455     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32457     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32458 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32459     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32461     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32462 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32463     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32465     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32467     (
32468       cat <<\_ASBOX
32469 ## ----------------------------------------- ##
32470 ## Report this to the package-unused lists.  ##
32471 ## ----------------------------------------- ##
32472 _ASBOX
32473     ) |
32474       sed "s/^/$as_me: WARNING:     /" >&2
32475     ;;
32476 esac
32477 echo "$as_me:$LINENO: checking for $ac_header" >&5
32478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32480   echo $ECHO_N "(cached) $ECHO_C" >&6
32481 else
32482   eval "$as_ac_Header=\$ac_header_preproc"
32483 fi
32484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32486
32487 fi
32488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32489   cat >>confdefs.h <<_ACEOF
32490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32491 _ACEOF
32492
32493 fi
32494
32495 done
32496
32497
32498     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32499
32500   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32501   ac_save_CXXFLAGS="$CXXFLAGS"
32502   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32503
32504     echo "$as_me:$LINENO: checking for sin in -lm" >&5
32505 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32506 if test "${ac_cv_lib_m_sin+set}" = set; then
32507   echo $ECHO_N "(cached) $ECHO_C" >&6
32508 else
32509   ac_check_lib_save_LIBS=$LIBS
32510 LIBS="-lm  $LIBS"
32511 if test x$gcc_no_link = xyes; then
32512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32514    { (exit 1); exit 1; }; }
32515 fi
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h.  */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h.  */
32522
32523 /* Override any gcc2 internal prototype to avoid an error.  */
32524 #ifdef __cplusplus
32525 extern "C"
32526 #endif
32527 /* We use char because int might match the return type of a gcc2
32528    builtin and then its argument prototype would still apply.  */
32529 char sin ();
32530 int
32531 main ()
32532 {
32533 sin ();
32534   ;
32535   return 0;
32536 }
32537 _ACEOF
32538 rm -f conftest.$ac_objext conftest$ac_exeext
32539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32540   (eval $ac_link) 2>conftest.er1
32541   ac_status=$?
32542   grep -v '^ *+' conftest.er1 >conftest.err
32543   rm -f conftest.er1
32544   cat conftest.err >&5
32545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546   (exit $ac_status); } &&
32547          { ac_try='test -z "$ac_c_werror_flag"
32548                          || test ! -s conftest.err'
32549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550   (eval $ac_try) 2>&5
32551   ac_status=$?
32552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553   (exit $ac_status); }; } &&
32554          { ac_try='test -s conftest$ac_exeext'
32555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556   (eval $ac_try) 2>&5
32557   ac_status=$?
32558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559   (exit $ac_status); }; }; then
32560   ac_cv_lib_m_sin=yes
32561 else
32562   echo "$as_me: failed program was:" >&5
32563 sed 's/^/| /' conftest.$ac_ext >&5
32564
32565 ac_cv_lib_m_sin=no
32566 fi
32567 rm -f conftest.err conftest.$ac_objext \
32568       conftest$ac_exeext conftest.$ac_ext
32569 LIBS=$ac_check_lib_save_LIBS
32570 fi
32571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32572 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32573 if test $ac_cv_lib_m_sin = yes; then
32574   libm="-lm"
32575 fi
32576
32577   ac_save_LIBS="$LIBS"
32578   LIBS="$LIBS $libm"
32579
32580
32581
32582   echo "$as_me:$LINENO: checking for isinf declaration" >&5
32583 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32584   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32585     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32586   echo $ECHO_N "(cached) $ECHO_C" >&6
32587 else
32588
32589
32590
32591       ac_ext=cc
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32596
32597       cat >conftest.$ac_ext <<_ACEOF
32598 /* confdefs.h.  */
32599 _ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h.  */
32603 #include <math.h>
32604                       #ifdef HAVE_IEEEFP_H
32605                       #include <ieeefp.h>
32606                       #endif
32607
32608 int
32609 main ()
32610 {
32611  isinf(0);
32612   ;
32613   return 0;
32614 }
32615 _ACEOF
32616 rm -f conftest.$ac_objext
32617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32618   (eval $ac_compile) 2>conftest.er1
32619   ac_status=$?
32620   grep -v '^ *+' conftest.er1 >conftest.err
32621   rm -f conftest.er1
32622   cat conftest.err >&5
32623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624   (exit $ac_status); } &&
32625          { ac_try='test -z "$ac_cxx_werror_flag"
32626                          || test ! -s conftest.err'
32627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32628   (eval $ac_try) 2>&5
32629   ac_status=$?
32630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631   (exit $ac_status); }; } &&
32632          { ac_try='test -s conftest.$ac_objext'
32633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32634   (eval $ac_try) 2>&5
32635   ac_status=$?
32636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637   (exit $ac_status); }; }; then
32638   glibcxx_cv_func_isinf_use=yes
32639 else
32640   echo "$as_me: failed program was:" >&5
32641 sed 's/^/| /' conftest.$ac_ext >&5
32642
32643 glibcxx_cv_func_isinf_use=no
32644 fi
32645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32646       ac_ext=c
32647 ac_cpp='$CPP $CPPFLAGS'
32648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32651
32652
32653 fi
32654
32655   fi
32656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32657 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32658
32659   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32660
32661 for ac_func in isinf
32662 do
32663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32664 echo "$as_me:$LINENO: checking for $ac_func" >&5
32665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32666 if eval "test \"\${$as_ac_var+set}\" = set"; then
32667   echo $ECHO_N "(cached) $ECHO_C" >&6
32668 else
32669   if test x$gcc_no_link = xyes; then
32670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32672    { (exit 1); exit 1; }; }
32673 fi
32674 cat >conftest.$ac_ext <<_ACEOF
32675 /* confdefs.h.  */
32676 _ACEOF
32677 cat confdefs.h >>conftest.$ac_ext
32678 cat >>conftest.$ac_ext <<_ACEOF
32679 /* end confdefs.h.  */
32680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32682 #define $ac_func innocuous_$ac_func
32683
32684 /* System header to define __stub macros and hopefully few prototypes,
32685     which can conflict with char $ac_func (); below.
32686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32687     <limits.h> exists even on freestanding compilers.  */
32688
32689 #ifdef __STDC__
32690 # include <limits.h>
32691 #else
32692 # include <assert.h>
32693 #endif
32694
32695 #undef $ac_func
32696
32697 /* Override any gcc2 internal prototype to avoid an error.  */
32698 #ifdef __cplusplus
32699 extern "C"
32700 {
32701 #endif
32702 /* We use char because int might match the return type of a gcc2
32703    builtin and then its argument prototype would still apply.  */
32704 char $ac_func ();
32705 /* The GNU C library defines this for functions which it implements
32706     to always fail with ENOSYS.  Some functions are actually named
32707     something starting with __ and the normal name is an alias.  */
32708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32709 choke me
32710 #else
32711 char (*f) () = $ac_func;
32712 #endif
32713 #ifdef __cplusplus
32714 }
32715 #endif
32716
32717 int
32718 main ()
32719 {
32720 return f != $ac_func;
32721   ;
32722   return 0;
32723 }
32724 _ACEOF
32725 rm -f conftest.$ac_objext conftest$ac_exeext
32726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32727   (eval $ac_link) 2>conftest.er1
32728   ac_status=$?
32729   grep -v '^ *+' conftest.er1 >conftest.err
32730   rm -f conftest.er1
32731   cat conftest.err >&5
32732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733   (exit $ac_status); } &&
32734          { ac_try='test -z "$ac_c_werror_flag"
32735                          || test ! -s conftest.err'
32736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737   (eval $ac_try) 2>&5
32738   ac_status=$?
32739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740   (exit $ac_status); }; } &&
32741          { ac_try='test -s conftest$ac_exeext'
32742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32743   (eval $ac_try) 2>&5
32744   ac_status=$?
32745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746   (exit $ac_status); }; }; then
32747   eval "$as_ac_var=yes"
32748 else
32749   echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32751
32752 eval "$as_ac_var=no"
32753 fi
32754 rm -f conftest.err conftest.$ac_objext \
32755       conftest$ac_exeext conftest.$ac_ext
32756 fi
32757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32759 if test `eval echo '${'$as_ac_var'}'` = yes; then
32760   cat >>confdefs.h <<_ACEOF
32761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32762 _ACEOF
32763
32764 fi
32765 done
32766
32767   else
32768
32769   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32770 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32771   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32772     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32773   echo $ECHO_N "(cached) $ECHO_C" >&6
32774 else
32775
32776
32777
32778       ac_ext=cc
32779 ac_cpp='$CXXCPP $CPPFLAGS'
32780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32783
32784       cat >conftest.$ac_ext <<_ACEOF
32785 /* confdefs.h.  */
32786 _ACEOF
32787 cat confdefs.h >>conftest.$ac_ext
32788 cat >>conftest.$ac_ext <<_ACEOF
32789 /* end confdefs.h.  */
32790 #include <math.h>
32791                       #ifdef HAVE_IEEEFP_H
32792                       #include <ieeefp.h>
32793                       #endif
32794
32795 int
32796 main ()
32797 {
32798  _isinf(0);
32799   ;
32800   return 0;
32801 }
32802 _ACEOF
32803 rm -f conftest.$ac_objext
32804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32805   (eval $ac_compile) 2>conftest.er1
32806   ac_status=$?
32807   grep -v '^ *+' conftest.er1 >conftest.err
32808   rm -f conftest.er1
32809   cat conftest.err >&5
32810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811   (exit $ac_status); } &&
32812          { ac_try='test -z "$ac_cxx_werror_flag"
32813                          || test ! -s conftest.err'
32814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32815   (eval $ac_try) 2>&5
32816   ac_status=$?
32817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818   (exit $ac_status); }; } &&
32819          { ac_try='test -s conftest.$ac_objext'
32820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32821   (eval $ac_try) 2>&5
32822   ac_status=$?
32823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824   (exit $ac_status); }; }; then
32825   glibcxx_cv_func__isinf_use=yes
32826 else
32827   echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 glibcxx_cv_func__isinf_use=no
32831 fi
32832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32833       ac_ext=c
32834 ac_cpp='$CPP $CPPFLAGS'
32835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32838
32839
32840 fi
32841
32842   fi
32843   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32844 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32845
32846     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32847
32848 for ac_func in _isinf
32849 do
32850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32851 echo "$as_me:$LINENO: checking for $ac_func" >&5
32852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32853 if eval "test \"\${$as_ac_var+set}\" = set"; then
32854   echo $ECHO_N "(cached) $ECHO_C" >&6
32855 else
32856   if test x$gcc_no_link = xyes; then
32857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32859    { (exit 1); exit 1; }; }
32860 fi
32861 cat >conftest.$ac_ext <<_ACEOF
32862 /* confdefs.h.  */
32863 _ACEOF
32864 cat confdefs.h >>conftest.$ac_ext
32865 cat >>conftest.$ac_ext <<_ACEOF
32866 /* end confdefs.h.  */
32867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32869 #define $ac_func innocuous_$ac_func
32870
32871 /* System header to define __stub macros and hopefully few prototypes,
32872     which can conflict with char $ac_func (); below.
32873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32874     <limits.h> exists even on freestanding compilers.  */
32875
32876 #ifdef __STDC__
32877 # include <limits.h>
32878 #else
32879 # include <assert.h>
32880 #endif
32881
32882 #undef $ac_func
32883
32884 /* Override any gcc2 internal prototype to avoid an error.  */
32885 #ifdef __cplusplus
32886 extern "C"
32887 {
32888 #endif
32889 /* We use char because int might match the return type of a gcc2
32890    builtin and then its argument prototype would still apply.  */
32891 char $ac_func ();
32892 /* The GNU C library defines this for functions which it implements
32893     to always fail with ENOSYS.  Some functions are actually named
32894     something starting with __ and the normal name is an alias.  */
32895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32896 choke me
32897 #else
32898 char (*f) () = $ac_func;
32899 #endif
32900 #ifdef __cplusplus
32901 }
32902 #endif
32903
32904 int
32905 main ()
32906 {
32907 return f != $ac_func;
32908   ;
32909   return 0;
32910 }
32911 _ACEOF
32912 rm -f conftest.$ac_objext conftest$ac_exeext
32913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32914   (eval $ac_link) 2>conftest.er1
32915   ac_status=$?
32916   grep -v '^ *+' conftest.er1 >conftest.err
32917   rm -f conftest.er1
32918   cat conftest.err >&5
32919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920   (exit $ac_status); } &&
32921          { ac_try='test -z "$ac_c_werror_flag"
32922                          || test ! -s conftest.err'
32923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924   (eval $ac_try) 2>&5
32925   ac_status=$?
32926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927   (exit $ac_status); }; } &&
32928          { ac_try='test -s conftest$ac_exeext'
32929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930   (eval $ac_try) 2>&5
32931   ac_status=$?
32932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933   (exit $ac_status); }; }; then
32934   eval "$as_ac_var=yes"
32935 else
32936   echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.$ac_ext >&5
32938
32939 eval "$as_ac_var=no"
32940 fi
32941 rm -f conftest.err conftest.$ac_objext \
32942       conftest$ac_exeext conftest.$ac_ext
32943 fi
32944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32946 if test `eval echo '${'$as_ac_var'}'` = yes; then
32947   cat >>confdefs.h <<_ACEOF
32948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32949 _ACEOF
32950
32951 fi
32952 done
32953
32954     fi
32955   fi
32956
32957
32958
32959
32960
32961
32962   echo "$as_me:$LINENO: checking for isnan declaration" >&5
32963 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32964   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32965     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32966   echo $ECHO_N "(cached) $ECHO_C" >&6
32967 else
32968
32969
32970
32971       ac_ext=cc
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32976
32977       cat >conftest.$ac_ext <<_ACEOF
32978 /* confdefs.h.  */
32979 _ACEOF
32980 cat confdefs.h >>conftest.$ac_ext
32981 cat >>conftest.$ac_ext <<_ACEOF
32982 /* end confdefs.h.  */
32983 #include <math.h>
32984                       #ifdef HAVE_IEEEFP_H
32985                       #include <ieeefp.h>
32986                       #endif
32987
32988 int
32989 main ()
32990 {
32991  isnan(0);
32992   ;
32993   return 0;
32994 }
32995 _ACEOF
32996 rm -f conftest.$ac_objext
32997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32998   (eval $ac_compile) 2>conftest.er1
32999   ac_status=$?
33000   grep -v '^ *+' conftest.er1 >conftest.err
33001   rm -f conftest.er1
33002   cat conftest.err >&5
33003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004   (exit $ac_status); } &&
33005          { ac_try='test -z "$ac_cxx_werror_flag"
33006                          || test ! -s conftest.err'
33007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008   (eval $ac_try) 2>&5
33009   ac_status=$?
33010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011   (exit $ac_status); }; } &&
33012          { ac_try='test -s conftest.$ac_objext'
33013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014   (eval $ac_try) 2>&5
33015   ac_status=$?
33016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017   (exit $ac_status); }; }; then
33018   glibcxx_cv_func_isnan_use=yes
33019 else
33020   echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33022
33023 glibcxx_cv_func_isnan_use=no
33024 fi
33025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33026       ac_ext=c
33027 ac_cpp='$CPP $CPPFLAGS'
33028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33031
33032
33033 fi
33034
33035   fi
33036   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33037 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33038
33039   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33040
33041 for ac_func in isnan
33042 do
33043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33044 echo "$as_me:$LINENO: checking for $ac_func" >&5
33045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33046 if eval "test \"\${$as_ac_var+set}\" = set"; then
33047   echo $ECHO_N "(cached) $ECHO_C" >&6
33048 else
33049   if test x$gcc_no_link = xyes; then
33050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33052    { (exit 1); exit 1; }; }
33053 fi
33054 cat >conftest.$ac_ext <<_ACEOF
33055 /* confdefs.h.  */
33056 _ACEOF
33057 cat confdefs.h >>conftest.$ac_ext
33058 cat >>conftest.$ac_ext <<_ACEOF
33059 /* end confdefs.h.  */
33060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33062 #define $ac_func innocuous_$ac_func
33063
33064 /* System header to define __stub macros and hopefully few prototypes,
33065     which can conflict with char $ac_func (); below.
33066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33067     <limits.h> exists even on freestanding compilers.  */
33068
33069 #ifdef __STDC__
33070 # include <limits.h>
33071 #else
33072 # include <assert.h>
33073 #endif
33074
33075 #undef $ac_func
33076
33077 /* Override any gcc2 internal prototype to avoid an error.  */
33078 #ifdef __cplusplus
33079 extern "C"
33080 {
33081 #endif
33082 /* We use char because int might match the return type of a gcc2
33083    builtin and then its argument prototype would still apply.  */
33084 char $ac_func ();
33085 /* The GNU C library defines this for functions which it implements
33086     to always fail with ENOSYS.  Some functions are actually named
33087     something starting with __ and the normal name is an alias.  */
33088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33089 choke me
33090 #else
33091 char (*f) () = $ac_func;
33092 #endif
33093 #ifdef __cplusplus
33094 }
33095 #endif
33096
33097 int
33098 main ()
33099 {
33100 return f != $ac_func;
33101   ;
33102   return 0;
33103 }
33104 _ACEOF
33105 rm -f conftest.$ac_objext conftest$ac_exeext
33106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33107   (eval $ac_link) 2>conftest.er1
33108   ac_status=$?
33109   grep -v '^ *+' conftest.er1 >conftest.err
33110   rm -f conftest.er1
33111   cat conftest.err >&5
33112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113   (exit $ac_status); } &&
33114          { ac_try='test -z "$ac_c_werror_flag"
33115                          || test ! -s conftest.err'
33116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117   (eval $ac_try) 2>&5
33118   ac_status=$?
33119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120   (exit $ac_status); }; } &&
33121          { ac_try='test -s conftest$ac_exeext'
33122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33123   (eval $ac_try) 2>&5
33124   ac_status=$?
33125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126   (exit $ac_status); }; }; then
33127   eval "$as_ac_var=yes"
33128 else
33129   echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33131
33132 eval "$as_ac_var=no"
33133 fi
33134 rm -f conftest.err conftest.$ac_objext \
33135       conftest$ac_exeext conftest.$ac_ext
33136 fi
33137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33139 if test `eval echo '${'$as_ac_var'}'` = yes; then
33140   cat >>confdefs.h <<_ACEOF
33141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33142 _ACEOF
33143
33144 fi
33145 done
33146
33147   else
33148
33149   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33150 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33151   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33152     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33153   echo $ECHO_N "(cached) $ECHO_C" >&6
33154 else
33155
33156
33157
33158       ac_ext=cc
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33163
33164       cat >conftest.$ac_ext <<_ACEOF
33165 /* confdefs.h.  */
33166 _ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h.  */
33170 #include <math.h>
33171                       #ifdef HAVE_IEEEFP_H
33172                       #include <ieeefp.h>
33173                       #endif
33174
33175 int
33176 main ()
33177 {
33178  _isnan(0);
33179   ;
33180   return 0;
33181 }
33182 _ACEOF
33183 rm -f conftest.$ac_objext
33184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33185   (eval $ac_compile) 2>conftest.er1
33186   ac_status=$?
33187   grep -v '^ *+' conftest.er1 >conftest.err
33188   rm -f conftest.er1
33189   cat conftest.err >&5
33190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191   (exit $ac_status); } &&
33192          { ac_try='test -z "$ac_cxx_werror_flag"
33193                          || test ! -s conftest.err'
33194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33195   (eval $ac_try) 2>&5
33196   ac_status=$?
33197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198   (exit $ac_status); }; } &&
33199          { ac_try='test -s conftest.$ac_objext'
33200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33201   (eval $ac_try) 2>&5
33202   ac_status=$?
33203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204   (exit $ac_status); }; }; then
33205   glibcxx_cv_func__isnan_use=yes
33206 else
33207   echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33209
33210 glibcxx_cv_func__isnan_use=no
33211 fi
33212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33213       ac_ext=c
33214 ac_cpp='$CPP $CPPFLAGS'
33215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33218
33219
33220 fi
33221
33222   fi
33223   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33224 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33225
33226     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33227
33228 for ac_func in _isnan
33229 do
33230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33231 echo "$as_me:$LINENO: checking for $ac_func" >&5
33232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33233 if eval "test \"\${$as_ac_var+set}\" = set"; then
33234   echo $ECHO_N "(cached) $ECHO_C" >&6
33235 else
33236   if test x$gcc_no_link = xyes; then
33237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33239    { (exit 1); exit 1; }; }
33240 fi
33241 cat >conftest.$ac_ext <<_ACEOF
33242 /* confdefs.h.  */
33243 _ACEOF
33244 cat confdefs.h >>conftest.$ac_ext
33245 cat >>conftest.$ac_ext <<_ACEOF
33246 /* end confdefs.h.  */
33247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33249 #define $ac_func innocuous_$ac_func
33250
33251 /* System header to define __stub macros and hopefully few prototypes,
33252     which can conflict with char $ac_func (); below.
33253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33254     <limits.h> exists even on freestanding compilers.  */
33255
33256 #ifdef __STDC__
33257 # include <limits.h>
33258 #else
33259 # include <assert.h>
33260 #endif
33261
33262 #undef $ac_func
33263
33264 /* Override any gcc2 internal prototype to avoid an error.  */
33265 #ifdef __cplusplus
33266 extern "C"
33267 {
33268 #endif
33269 /* We use char because int might match the return type of a gcc2
33270    builtin and then its argument prototype would still apply.  */
33271 char $ac_func ();
33272 /* The GNU C library defines this for functions which it implements
33273     to always fail with ENOSYS.  Some functions are actually named
33274     something starting with __ and the normal name is an alias.  */
33275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33276 choke me
33277 #else
33278 char (*f) () = $ac_func;
33279 #endif
33280 #ifdef __cplusplus
33281 }
33282 #endif
33283
33284 int
33285 main ()
33286 {
33287 return f != $ac_func;
33288   ;
33289   return 0;
33290 }
33291 _ACEOF
33292 rm -f conftest.$ac_objext conftest$ac_exeext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33294   (eval $ac_link) 2>conftest.er1
33295   ac_status=$?
33296   grep -v '^ *+' conftest.er1 >conftest.err
33297   rm -f conftest.er1
33298   cat conftest.err >&5
33299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300   (exit $ac_status); } &&
33301          { ac_try='test -z "$ac_c_werror_flag"
33302                          || test ! -s conftest.err'
33303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304   (eval $ac_try) 2>&5
33305   ac_status=$?
33306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307   (exit $ac_status); }; } &&
33308          { ac_try='test -s conftest$ac_exeext'
33309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310   (eval $ac_try) 2>&5
33311   ac_status=$?
33312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313   (exit $ac_status); }; }; then
33314   eval "$as_ac_var=yes"
33315 else
33316   echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33318
33319 eval "$as_ac_var=no"
33320 fi
33321 rm -f conftest.err conftest.$ac_objext \
33322       conftest$ac_exeext conftest.$ac_ext
33323 fi
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33326 if test `eval echo '${'$as_ac_var'}'` = yes; then
33327   cat >>confdefs.h <<_ACEOF
33328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33329 _ACEOF
33330
33331 fi
33332 done
33333
33334     fi
33335   fi
33336
33337
33338
33339
33340
33341
33342   echo "$as_me:$LINENO: checking for finite declaration" >&5
33343 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33344   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33345     if test "${glibcxx_cv_func_finite_use+set}" = set; then
33346   echo $ECHO_N "(cached) $ECHO_C" >&6
33347 else
33348
33349
33350
33351       ac_ext=cc
33352 ac_cpp='$CXXCPP $CPPFLAGS'
33353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33356
33357       cat >conftest.$ac_ext <<_ACEOF
33358 /* confdefs.h.  */
33359 _ACEOF
33360 cat confdefs.h >>conftest.$ac_ext
33361 cat >>conftest.$ac_ext <<_ACEOF
33362 /* end confdefs.h.  */
33363 #include <math.h>
33364                       #ifdef HAVE_IEEEFP_H
33365                       #include <ieeefp.h>
33366                       #endif
33367
33368 int
33369 main ()
33370 {
33371  finite(0);
33372   ;
33373   return 0;
33374 }
33375 _ACEOF
33376 rm -f conftest.$ac_objext
33377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33378   (eval $ac_compile) 2>conftest.er1
33379   ac_status=$?
33380   grep -v '^ *+' conftest.er1 >conftest.err
33381   rm -f conftest.er1
33382   cat conftest.err >&5
33383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384   (exit $ac_status); } &&
33385          { ac_try='test -z "$ac_cxx_werror_flag"
33386                          || test ! -s conftest.err'
33387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388   (eval $ac_try) 2>&5
33389   ac_status=$?
33390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391   (exit $ac_status); }; } &&
33392          { ac_try='test -s conftest.$ac_objext'
33393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394   (eval $ac_try) 2>&5
33395   ac_status=$?
33396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397   (exit $ac_status); }; }; then
33398   glibcxx_cv_func_finite_use=yes
33399 else
33400   echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.$ac_ext >&5
33402
33403 glibcxx_cv_func_finite_use=no
33404 fi
33405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33406       ac_ext=c
33407 ac_cpp='$CPP $CPPFLAGS'
33408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33411
33412
33413 fi
33414
33415   fi
33416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33417 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33418
33419   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33420
33421 for ac_func in finite
33422 do
33423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424 echo "$as_me:$LINENO: checking for $ac_func" >&5
33425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33426 if eval "test \"\${$as_ac_var+set}\" = set"; then
33427   echo $ECHO_N "(cached) $ECHO_C" >&6
33428 else
33429   if test x$gcc_no_link = xyes; then
33430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33432    { (exit 1); exit 1; }; }
33433 fi
33434 cat >conftest.$ac_ext <<_ACEOF
33435 /* confdefs.h.  */
33436 _ACEOF
33437 cat confdefs.h >>conftest.$ac_ext
33438 cat >>conftest.$ac_ext <<_ACEOF
33439 /* end confdefs.h.  */
33440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33442 #define $ac_func innocuous_$ac_func
33443
33444 /* System header to define __stub macros and hopefully few prototypes,
33445     which can conflict with char $ac_func (); below.
33446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33447     <limits.h> exists even on freestanding compilers.  */
33448
33449 #ifdef __STDC__
33450 # include <limits.h>
33451 #else
33452 # include <assert.h>
33453 #endif
33454
33455 #undef $ac_func
33456
33457 /* Override any gcc2 internal prototype to avoid an error.  */
33458 #ifdef __cplusplus
33459 extern "C"
33460 {
33461 #endif
33462 /* We use char because int might match the return type of a gcc2
33463    builtin and then its argument prototype would still apply.  */
33464 char $ac_func ();
33465 /* The GNU C library defines this for functions which it implements
33466     to always fail with ENOSYS.  Some functions are actually named
33467     something starting with __ and the normal name is an alias.  */
33468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33469 choke me
33470 #else
33471 char (*f) () = $ac_func;
33472 #endif
33473 #ifdef __cplusplus
33474 }
33475 #endif
33476
33477 int
33478 main ()
33479 {
33480 return f != $ac_func;
33481   ;
33482   return 0;
33483 }
33484 _ACEOF
33485 rm -f conftest.$ac_objext conftest$ac_exeext
33486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33487   (eval $ac_link) 2>conftest.er1
33488   ac_status=$?
33489   grep -v '^ *+' conftest.er1 >conftest.err
33490   rm -f conftest.er1
33491   cat conftest.err >&5
33492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493   (exit $ac_status); } &&
33494          { ac_try='test -z "$ac_c_werror_flag"
33495                          || test ! -s conftest.err'
33496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497   (eval $ac_try) 2>&5
33498   ac_status=$?
33499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500   (exit $ac_status); }; } &&
33501          { ac_try='test -s conftest$ac_exeext'
33502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503   (eval $ac_try) 2>&5
33504   ac_status=$?
33505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506   (exit $ac_status); }; }; then
33507   eval "$as_ac_var=yes"
33508 else
33509   echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.$ac_ext >&5
33511
33512 eval "$as_ac_var=no"
33513 fi
33514 rm -f conftest.err conftest.$ac_objext \
33515       conftest$ac_exeext conftest.$ac_ext
33516 fi
33517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33519 if test `eval echo '${'$as_ac_var'}'` = yes; then
33520   cat >>confdefs.h <<_ACEOF
33521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33522 _ACEOF
33523
33524 fi
33525 done
33526
33527   else
33528
33529   echo "$as_me:$LINENO: checking for _finite declaration" >&5
33530 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33531   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33532     if test "${glibcxx_cv_func__finite_use+set}" = set; then
33533   echo $ECHO_N "(cached) $ECHO_C" >&6
33534 else
33535
33536
33537
33538       ac_ext=cc
33539 ac_cpp='$CXXCPP $CPPFLAGS'
33540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33543
33544       cat >conftest.$ac_ext <<_ACEOF
33545 /* confdefs.h.  */
33546 _ACEOF
33547 cat confdefs.h >>conftest.$ac_ext
33548 cat >>conftest.$ac_ext <<_ACEOF
33549 /* end confdefs.h.  */
33550 #include <math.h>
33551                       #ifdef HAVE_IEEEFP_H
33552                       #include <ieeefp.h>
33553                       #endif
33554
33555 int
33556 main ()
33557 {
33558  _finite(0);
33559   ;
33560   return 0;
33561 }
33562 _ACEOF
33563 rm -f conftest.$ac_objext
33564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33565   (eval $ac_compile) 2>conftest.er1
33566   ac_status=$?
33567   grep -v '^ *+' conftest.er1 >conftest.err
33568   rm -f conftest.er1
33569   cat conftest.err >&5
33570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571   (exit $ac_status); } &&
33572          { ac_try='test -z "$ac_cxx_werror_flag"
33573                          || test ! -s conftest.err'
33574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575   (eval $ac_try) 2>&5
33576   ac_status=$?
33577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578   (exit $ac_status); }; } &&
33579          { ac_try='test -s conftest.$ac_objext'
33580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581   (eval $ac_try) 2>&5
33582   ac_status=$?
33583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584   (exit $ac_status); }; }; then
33585   glibcxx_cv_func__finite_use=yes
33586 else
33587   echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.$ac_ext >&5
33589
33590 glibcxx_cv_func__finite_use=no
33591 fi
33592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33593       ac_ext=c
33594 ac_cpp='$CPP $CPPFLAGS'
33595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33598
33599
33600 fi
33601
33602   fi
33603   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33604 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33605
33606     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33607
33608 for ac_func in _finite
33609 do
33610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33611 echo "$as_me:$LINENO: checking for $ac_func" >&5
33612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33613 if eval "test \"\${$as_ac_var+set}\" = set"; then
33614   echo $ECHO_N "(cached) $ECHO_C" >&6
33615 else
33616   if test x$gcc_no_link = xyes; then
33617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33619    { (exit 1); exit 1; }; }
33620 fi
33621 cat >conftest.$ac_ext <<_ACEOF
33622 /* confdefs.h.  */
33623 _ACEOF
33624 cat confdefs.h >>conftest.$ac_ext
33625 cat >>conftest.$ac_ext <<_ACEOF
33626 /* end confdefs.h.  */
33627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33629 #define $ac_func innocuous_$ac_func
33630
33631 /* System header to define __stub macros and hopefully few prototypes,
33632     which can conflict with char $ac_func (); below.
33633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33634     <limits.h> exists even on freestanding compilers.  */
33635
33636 #ifdef __STDC__
33637 # include <limits.h>
33638 #else
33639 # include <assert.h>
33640 #endif
33641
33642 #undef $ac_func
33643
33644 /* Override any gcc2 internal prototype to avoid an error.  */
33645 #ifdef __cplusplus
33646 extern "C"
33647 {
33648 #endif
33649 /* We use char because int might match the return type of a gcc2
33650    builtin and then its argument prototype would still apply.  */
33651 char $ac_func ();
33652 /* The GNU C library defines this for functions which it implements
33653     to always fail with ENOSYS.  Some functions are actually named
33654     something starting with __ and the normal name is an alias.  */
33655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33656 choke me
33657 #else
33658 char (*f) () = $ac_func;
33659 #endif
33660 #ifdef __cplusplus
33661 }
33662 #endif
33663
33664 int
33665 main ()
33666 {
33667 return f != $ac_func;
33668   ;
33669   return 0;
33670 }
33671 _ACEOF
33672 rm -f conftest.$ac_objext conftest$ac_exeext
33673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33674   (eval $ac_link) 2>conftest.er1
33675   ac_status=$?
33676   grep -v '^ *+' conftest.er1 >conftest.err
33677   rm -f conftest.er1
33678   cat conftest.err >&5
33679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680   (exit $ac_status); } &&
33681          { ac_try='test -z "$ac_c_werror_flag"
33682                          || test ! -s conftest.err'
33683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684   (eval $ac_try) 2>&5
33685   ac_status=$?
33686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687   (exit $ac_status); }; } &&
33688          { ac_try='test -s conftest$ac_exeext'
33689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690   (eval $ac_try) 2>&5
33691   ac_status=$?
33692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693   (exit $ac_status); }; }; then
33694   eval "$as_ac_var=yes"
33695 else
33696   echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.$ac_ext >&5
33698
33699 eval "$as_ac_var=no"
33700 fi
33701 rm -f conftest.err conftest.$ac_objext \
33702       conftest$ac_exeext conftest.$ac_ext
33703 fi
33704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33706 if test `eval echo '${'$as_ac_var'}'` = yes; then
33707   cat >>confdefs.h <<_ACEOF
33708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33709 _ACEOF
33710
33711 fi
33712 done
33713
33714     fi
33715   fi
33716
33717
33718
33719
33720
33721
33722   echo "$as_me:$LINENO: checking for copysign declaration" >&5
33723 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33724   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33725     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33726   echo $ECHO_N "(cached) $ECHO_C" >&6
33727 else
33728
33729
33730
33731       ac_ext=cc
33732 ac_cpp='$CXXCPP $CPPFLAGS'
33733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33736
33737       cat >conftest.$ac_ext <<_ACEOF
33738 /* confdefs.h.  */
33739 _ACEOF
33740 cat confdefs.h >>conftest.$ac_ext
33741 cat >>conftest.$ac_ext <<_ACEOF
33742 /* end confdefs.h.  */
33743 #include <math.h>
33744 int
33745 main ()
33746 {
33747  copysign(0, 0);
33748   ;
33749   return 0;
33750 }
33751 _ACEOF
33752 rm -f conftest.$ac_objext
33753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33754   (eval $ac_compile) 2>conftest.er1
33755   ac_status=$?
33756   grep -v '^ *+' conftest.er1 >conftest.err
33757   rm -f conftest.er1
33758   cat conftest.err >&5
33759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760   (exit $ac_status); } &&
33761          { ac_try='test -z "$ac_cxx_werror_flag"
33762                          || test ! -s conftest.err'
33763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764   (eval $ac_try) 2>&5
33765   ac_status=$?
33766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767   (exit $ac_status); }; } &&
33768          { ac_try='test -s conftest.$ac_objext'
33769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33770   (eval $ac_try) 2>&5
33771   ac_status=$?
33772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773   (exit $ac_status); }; }; then
33774   glibcxx_cv_func_copysign_use=yes
33775 else
33776   echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33778
33779 glibcxx_cv_func_copysign_use=no
33780 fi
33781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33782       ac_ext=c
33783 ac_cpp='$CPP $CPPFLAGS'
33784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33787
33788
33789 fi
33790
33791   fi
33792   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33793 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33794
33795   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33796
33797 for ac_func in copysign
33798 do
33799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33800 echo "$as_me:$LINENO: checking for $ac_func" >&5
33801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33802 if eval "test \"\${$as_ac_var+set}\" = set"; then
33803   echo $ECHO_N "(cached) $ECHO_C" >&6
33804 else
33805   if test x$gcc_no_link = xyes; then
33806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33808    { (exit 1); exit 1; }; }
33809 fi
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h.  */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h.  */
33816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33818 #define $ac_func innocuous_$ac_func
33819
33820 /* System header to define __stub macros and hopefully few prototypes,
33821     which can conflict with char $ac_func (); below.
33822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33823     <limits.h> exists even on freestanding compilers.  */
33824
33825 #ifdef __STDC__
33826 # include <limits.h>
33827 #else
33828 # include <assert.h>
33829 #endif
33830
33831 #undef $ac_func
33832
33833 /* Override any gcc2 internal prototype to avoid an error.  */
33834 #ifdef __cplusplus
33835 extern "C"
33836 {
33837 #endif
33838 /* We use char because int might match the return type of a gcc2
33839    builtin and then its argument prototype would still apply.  */
33840 char $ac_func ();
33841 /* The GNU C library defines this for functions which it implements
33842     to always fail with ENOSYS.  Some functions are actually named
33843     something starting with __ and the normal name is an alias.  */
33844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33845 choke me
33846 #else
33847 char (*f) () = $ac_func;
33848 #endif
33849 #ifdef __cplusplus
33850 }
33851 #endif
33852
33853 int
33854 main ()
33855 {
33856 return f != $ac_func;
33857   ;
33858   return 0;
33859 }
33860 _ACEOF
33861 rm -f conftest.$ac_objext conftest$ac_exeext
33862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33863   (eval $ac_link) 2>conftest.er1
33864   ac_status=$?
33865   grep -v '^ *+' conftest.er1 >conftest.err
33866   rm -f conftest.er1
33867   cat conftest.err >&5
33868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869   (exit $ac_status); } &&
33870          { ac_try='test -z "$ac_c_werror_flag"
33871                          || test ! -s conftest.err'
33872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33873   (eval $ac_try) 2>&5
33874   ac_status=$?
33875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876   (exit $ac_status); }; } &&
33877          { ac_try='test -s conftest$ac_exeext'
33878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879   (eval $ac_try) 2>&5
33880   ac_status=$?
33881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882   (exit $ac_status); }; }; then
33883   eval "$as_ac_var=yes"
33884 else
33885   echo "$as_me: failed program was:" >&5
33886 sed 's/^/| /' conftest.$ac_ext >&5
33887
33888 eval "$as_ac_var=no"
33889 fi
33890 rm -f conftest.err conftest.$ac_objext \
33891       conftest$ac_exeext conftest.$ac_ext
33892 fi
33893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895 if test `eval echo '${'$as_ac_var'}'` = yes; then
33896   cat >>confdefs.h <<_ACEOF
33897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33898 _ACEOF
33899
33900 fi
33901 done
33902
33903   else
33904
33905   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33906 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33907   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33908     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33909   echo $ECHO_N "(cached) $ECHO_C" >&6
33910 else
33911
33912
33913
33914       ac_ext=cc
33915 ac_cpp='$CXXCPP $CPPFLAGS'
33916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33919
33920       cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h.  */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h.  */
33926 #include <math.h>
33927 int
33928 main ()
33929 {
33930  _copysign(0, 0);
33931   ;
33932   return 0;
33933 }
33934 _ACEOF
33935 rm -f conftest.$ac_objext
33936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33937   (eval $ac_compile) 2>conftest.er1
33938   ac_status=$?
33939   grep -v '^ *+' conftest.er1 >conftest.err
33940   rm -f conftest.er1
33941   cat conftest.err >&5
33942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943   (exit $ac_status); } &&
33944          { ac_try='test -z "$ac_cxx_werror_flag"
33945                          || test ! -s conftest.err'
33946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947   (eval $ac_try) 2>&5
33948   ac_status=$?
33949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950   (exit $ac_status); }; } &&
33951          { ac_try='test -s conftest.$ac_objext'
33952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953   (eval $ac_try) 2>&5
33954   ac_status=$?
33955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956   (exit $ac_status); }; }; then
33957   glibcxx_cv_func__copysign_use=yes
33958 else
33959   echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33961
33962 glibcxx_cv_func__copysign_use=no
33963 fi
33964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33965       ac_ext=c
33966 ac_cpp='$CPP $CPPFLAGS'
33967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33970
33971
33972 fi
33973
33974   fi
33975   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33976 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33977
33978     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33979
33980 for ac_func in _copysign
33981 do
33982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33983 echo "$as_me:$LINENO: checking for $ac_func" >&5
33984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33985 if eval "test \"\${$as_ac_var+set}\" = set"; then
33986   echo $ECHO_N "(cached) $ECHO_C" >&6
33987 else
33988   if test x$gcc_no_link = xyes; then
33989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33991    { (exit 1); exit 1; }; }
33992 fi
33993 cat >conftest.$ac_ext <<_ACEOF
33994 /* confdefs.h.  */
33995 _ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h.  */
33999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34001 #define $ac_func innocuous_$ac_func
34002
34003 /* System header to define __stub macros and hopefully few prototypes,
34004     which can conflict with char $ac_func (); below.
34005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34006     <limits.h> exists even on freestanding compilers.  */
34007
34008 #ifdef __STDC__
34009 # include <limits.h>
34010 #else
34011 # include <assert.h>
34012 #endif
34013
34014 #undef $ac_func
34015
34016 /* Override any gcc2 internal prototype to avoid an error.  */
34017 #ifdef __cplusplus
34018 extern "C"
34019 {
34020 #endif
34021 /* We use char because int might match the return type of a gcc2
34022    builtin and then its argument prototype would still apply.  */
34023 char $ac_func ();
34024 /* The GNU C library defines this for functions which it implements
34025     to always fail with ENOSYS.  Some functions are actually named
34026     something starting with __ and the normal name is an alias.  */
34027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34028 choke me
34029 #else
34030 char (*f) () = $ac_func;
34031 #endif
34032 #ifdef __cplusplus
34033 }
34034 #endif
34035
34036 int
34037 main ()
34038 {
34039 return f != $ac_func;
34040   ;
34041   return 0;
34042 }
34043 _ACEOF
34044 rm -f conftest.$ac_objext conftest$ac_exeext
34045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34046   (eval $ac_link) 2>conftest.er1
34047   ac_status=$?
34048   grep -v '^ *+' conftest.er1 >conftest.err
34049   rm -f conftest.er1
34050   cat conftest.err >&5
34051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052   (exit $ac_status); } &&
34053          { ac_try='test -z "$ac_c_werror_flag"
34054                          || test ! -s conftest.err'
34055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34056   (eval $ac_try) 2>&5
34057   ac_status=$?
34058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059   (exit $ac_status); }; } &&
34060          { ac_try='test -s conftest$ac_exeext'
34061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34062   (eval $ac_try) 2>&5
34063   ac_status=$?
34064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065   (exit $ac_status); }; }; then
34066   eval "$as_ac_var=yes"
34067 else
34068   echo "$as_me: failed program was:" >&5
34069 sed 's/^/| /' conftest.$ac_ext >&5
34070
34071 eval "$as_ac_var=no"
34072 fi
34073 rm -f conftest.err conftest.$ac_objext \
34074       conftest$ac_exeext conftest.$ac_ext
34075 fi
34076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34078 if test `eval echo '${'$as_ac_var'}'` = yes; then
34079   cat >>confdefs.h <<_ACEOF
34080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34081 _ACEOF
34082
34083 fi
34084 done
34085
34086     fi
34087   fi
34088
34089
34090
34091
34092
34093
34094   echo "$as_me:$LINENO: checking for sincos declaration" >&5
34095 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34096   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34097     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34098   echo $ECHO_N "(cached) $ECHO_C" >&6
34099 else
34100
34101
34102
34103       ac_ext=cc
34104 ac_cpp='$CXXCPP $CPPFLAGS'
34105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34108
34109       cat >conftest.$ac_ext <<_ACEOF
34110 /* confdefs.h.  */
34111 _ACEOF
34112 cat confdefs.h >>conftest.$ac_ext
34113 cat >>conftest.$ac_ext <<_ACEOF
34114 /* end confdefs.h.  */
34115 #include <math.h>
34116 int
34117 main ()
34118 {
34119  sincos(0, 0, 0);
34120   ;
34121   return 0;
34122 }
34123 _ACEOF
34124 rm -f conftest.$ac_objext
34125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34126   (eval $ac_compile) 2>conftest.er1
34127   ac_status=$?
34128   grep -v '^ *+' conftest.er1 >conftest.err
34129   rm -f conftest.er1
34130   cat conftest.err >&5
34131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132   (exit $ac_status); } &&
34133          { ac_try='test -z "$ac_cxx_werror_flag"
34134                          || test ! -s conftest.err'
34135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34136   (eval $ac_try) 2>&5
34137   ac_status=$?
34138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139   (exit $ac_status); }; } &&
34140          { ac_try='test -s conftest.$ac_objext'
34141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142   (eval $ac_try) 2>&5
34143   ac_status=$?
34144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145   (exit $ac_status); }; }; then
34146   glibcxx_cv_func_sincos_use=yes
34147 else
34148   echo "$as_me: failed program was:" >&5
34149 sed 's/^/| /' conftest.$ac_ext >&5
34150
34151 glibcxx_cv_func_sincos_use=no
34152 fi
34153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34154       ac_ext=c
34155 ac_cpp='$CPP $CPPFLAGS'
34156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34159
34160
34161 fi
34162
34163   fi
34164   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34165 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34166
34167   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34168
34169 for ac_func in sincos
34170 do
34171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34172 echo "$as_me:$LINENO: checking for $ac_func" >&5
34173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34174 if eval "test \"\${$as_ac_var+set}\" = set"; then
34175   echo $ECHO_N "(cached) $ECHO_C" >&6
34176 else
34177   if test x$gcc_no_link = xyes; then
34178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34180    { (exit 1); exit 1; }; }
34181 fi
34182 cat >conftest.$ac_ext <<_ACEOF
34183 /* confdefs.h.  */
34184 _ACEOF
34185 cat confdefs.h >>conftest.$ac_ext
34186 cat >>conftest.$ac_ext <<_ACEOF
34187 /* end confdefs.h.  */
34188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34190 #define $ac_func innocuous_$ac_func
34191
34192 /* System header to define __stub macros and hopefully few prototypes,
34193     which can conflict with char $ac_func (); below.
34194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34195     <limits.h> exists even on freestanding compilers.  */
34196
34197 #ifdef __STDC__
34198 # include <limits.h>
34199 #else
34200 # include <assert.h>
34201 #endif
34202
34203 #undef $ac_func
34204
34205 /* Override any gcc2 internal prototype to avoid an error.  */
34206 #ifdef __cplusplus
34207 extern "C"
34208 {
34209 #endif
34210 /* We use char because int might match the return type of a gcc2
34211    builtin and then its argument prototype would still apply.  */
34212 char $ac_func ();
34213 /* The GNU C library defines this for functions which it implements
34214     to always fail with ENOSYS.  Some functions are actually named
34215     something starting with __ and the normal name is an alias.  */
34216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34217 choke me
34218 #else
34219 char (*f) () = $ac_func;
34220 #endif
34221 #ifdef __cplusplus
34222 }
34223 #endif
34224
34225 int
34226 main ()
34227 {
34228 return f != $ac_func;
34229   ;
34230   return 0;
34231 }
34232 _ACEOF
34233 rm -f conftest.$ac_objext conftest$ac_exeext
34234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34235   (eval $ac_link) 2>conftest.er1
34236   ac_status=$?
34237   grep -v '^ *+' conftest.er1 >conftest.err
34238   rm -f conftest.er1
34239   cat conftest.err >&5
34240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241   (exit $ac_status); } &&
34242          { ac_try='test -z "$ac_c_werror_flag"
34243                          || test ! -s conftest.err'
34244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34245   (eval $ac_try) 2>&5
34246   ac_status=$?
34247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248   (exit $ac_status); }; } &&
34249          { ac_try='test -s conftest$ac_exeext'
34250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34251   (eval $ac_try) 2>&5
34252   ac_status=$?
34253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254   (exit $ac_status); }; }; then
34255   eval "$as_ac_var=yes"
34256 else
34257   echo "$as_me: failed program was:" >&5
34258 sed 's/^/| /' conftest.$ac_ext >&5
34259
34260 eval "$as_ac_var=no"
34261 fi
34262 rm -f conftest.err conftest.$ac_objext \
34263       conftest$ac_exeext conftest.$ac_ext
34264 fi
34265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34267 if test `eval echo '${'$as_ac_var'}'` = yes; then
34268   cat >>confdefs.h <<_ACEOF
34269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34270 _ACEOF
34271
34272 fi
34273 done
34274
34275   else
34276
34277   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34278 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34279   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34280     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34281   echo $ECHO_N "(cached) $ECHO_C" >&6
34282 else
34283
34284
34285
34286       ac_ext=cc
34287 ac_cpp='$CXXCPP $CPPFLAGS'
34288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34291
34292       cat >conftest.$ac_ext <<_ACEOF
34293 /* confdefs.h.  */
34294 _ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h.  */
34298 #include <math.h>
34299 int
34300 main ()
34301 {
34302  _sincos(0, 0, 0);
34303   ;
34304   return 0;
34305 }
34306 _ACEOF
34307 rm -f conftest.$ac_objext
34308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34309   (eval $ac_compile) 2>conftest.er1
34310   ac_status=$?
34311   grep -v '^ *+' conftest.er1 >conftest.err
34312   rm -f conftest.er1
34313   cat conftest.err >&5
34314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315   (exit $ac_status); } &&
34316          { ac_try='test -z "$ac_cxx_werror_flag"
34317                          || test ! -s conftest.err'
34318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34319   (eval $ac_try) 2>&5
34320   ac_status=$?
34321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34322   (exit $ac_status); }; } &&
34323          { ac_try='test -s conftest.$ac_objext'
34324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34325   (eval $ac_try) 2>&5
34326   ac_status=$?
34327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328   (exit $ac_status); }; }; then
34329   glibcxx_cv_func__sincos_use=yes
34330 else
34331   echo "$as_me: failed program was:" >&5
34332 sed 's/^/| /' conftest.$ac_ext >&5
34333
34334 glibcxx_cv_func__sincos_use=no
34335 fi
34336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34337       ac_ext=c
34338 ac_cpp='$CPP $CPPFLAGS'
34339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342
34343
34344 fi
34345
34346   fi
34347   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34348 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34349
34350     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34351
34352 for ac_func in _sincos
34353 do
34354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34355 echo "$as_me:$LINENO: checking for $ac_func" >&5
34356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34357 if eval "test \"\${$as_ac_var+set}\" = set"; then
34358   echo $ECHO_N "(cached) $ECHO_C" >&6
34359 else
34360   if test x$gcc_no_link = xyes; then
34361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34363    { (exit 1); exit 1; }; }
34364 fi
34365 cat >conftest.$ac_ext <<_ACEOF
34366 /* confdefs.h.  */
34367 _ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h.  */
34371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34373 #define $ac_func innocuous_$ac_func
34374
34375 /* System header to define __stub macros and hopefully few prototypes,
34376     which can conflict with char $ac_func (); below.
34377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34378     <limits.h> exists even on freestanding compilers.  */
34379
34380 #ifdef __STDC__
34381 # include <limits.h>
34382 #else
34383 # include <assert.h>
34384 #endif
34385
34386 #undef $ac_func
34387
34388 /* Override any gcc2 internal prototype to avoid an error.  */
34389 #ifdef __cplusplus
34390 extern "C"
34391 {
34392 #endif
34393 /* We use char because int might match the return type of a gcc2
34394    builtin and then its argument prototype would still apply.  */
34395 char $ac_func ();
34396 /* The GNU C library defines this for functions which it implements
34397     to always fail with ENOSYS.  Some functions are actually named
34398     something starting with __ and the normal name is an alias.  */
34399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34400 choke me
34401 #else
34402 char (*f) () = $ac_func;
34403 #endif
34404 #ifdef __cplusplus
34405 }
34406 #endif
34407
34408 int
34409 main ()
34410 {
34411 return f != $ac_func;
34412   ;
34413   return 0;
34414 }
34415 _ACEOF
34416 rm -f conftest.$ac_objext conftest$ac_exeext
34417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34418   (eval $ac_link) 2>conftest.er1
34419   ac_status=$?
34420   grep -v '^ *+' conftest.er1 >conftest.err
34421   rm -f conftest.er1
34422   cat conftest.err >&5
34423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424   (exit $ac_status); } &&
34425          { ac_try='test -z "$ac_c_werror_flag"
34426                          || test ! -s conftest.err'
34427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34428   (eval $ac_try) 2>&5
34429   ac_status=$?
34430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431   (exit $ac_status); }; } &&
34432          { ac_try='test -s conftest$ac_exeext'
34433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34434   (eval $ac_try) 2>&5
34435   ac_status=$?
34436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437   (exit $ac_status); }; }; then
34438   eval "$as_ac_var=yes"
34439 else
34440   echo "$as_me: failed program was:" >&5
34441 sed 's/^/| /' conftest.$ac_ext >&5
34442
34443 eval "$as_ac_var=no"
34444 fi
34445 rm -f conftest.err conftest.$ac_objext \
34446       conftest$ac_exeext conftest.$ac_ext
34447 fi
34448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34450 if test `eval echo '${'$as_ac_var'}'` = yes; then
34451   cat >>confdefs.h <<_ACEOF
34452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34453 _ACEOF
34454
34455 fi
34456 done
34457
34458     fi
34459   fi
34460
34461
34462
34463
34464
34465
34466   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34467 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34468   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34469     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34470   echo $ECHO_N "(cached) $ECHO_C" >&6
34471 else
34472
34473
34474
34475       ac_ext=cc
34476 ac_cpp='$CXXCPP $CPPFLAGS'
34477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34480
34481       cat >conftest.$ac_ext <<_ACEOF
34482 /* confdefs.h.  */
34483 _ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h.  */
34487 #include <math.h>
34488                       #ifdef HAVE_IEEEFP_H
34489                       #include <ieeefp.h>
34490                       #endif
34491
34492 int
34493 main ()
34494 {
34495  fpclass(0);
34496   ;
34497   return 0;
34498 }
34499 _ACEOF
34500 rm -f conftest.$ac_objext
34501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34502   (eval $ac_compile) 2>conftest.er1
34503   ac_status=$?
34504   grep -v '^ *+' conftest.er1 >conftest.err
34505   rm -f conftest.er1
34506   cat conftest.err >&5
34507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508   (exit $ac_status); } &&
34509          { ac_try='test -z "$ac_cxx_werror_flag"
34510                          || test ! -s conftest.err'
34511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34512   (eval $ac_try) 2>&5
34513   ac_status=$?
34514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515   (exit $ac_status); }; } &&
34516          { ac_try='test -s conftest.$ac_objext'
34517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518   (eval $ac_try) 2>&5
34519   ac_status=$?
34520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521   (exit $ac_status); }; }; then
34522   glibcxx_cv_func_fpclass_use=yes
34523 else
34524   echo "$as_me: failed program was:" >&5
34525 sed 's/^/| /' conftest.$ac_ext >&5
34526
34527 glibcxx_cv_func_fpclass_use=no
34528 fi
34529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34530       ac_ext=c
34531 ac_cpp='$CPP $CPPFLAGS'
34532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34535
34536
34537 fi
34538
34539   fi
34540   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34541 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34542
34543   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34544
34545 for ac_func in fpclass
34546 do
34547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34548 echo "$as_me:$LINENO: checking for $ac_func" >&5
34549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34550 if eval "test \"\${$as_ac_var+set}\" = set"; then
34551   echo $ECHO_N "(cached) $ECHO_C" >&6
34552 else
34553   if test x$gcc_no_link = xyes; then
34554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34556    { (exit 1); exit 1; }; }
34557 fi
34558 cat >conftest.$ac_ext <<_ACEOF
34559 /* confdefs.h.  */
34560 _ACEOF
34561 cat confdefs.h >>conftest.$ac_ext
34562 cat >>conftest.$ac_ext <<_ACEOF
34563 /* end confdefs.h.  */
34564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34566 #define $ac_func innocuous_$ac_func
34567
34568 /* System header to define __stub macros and hopefully few prototypes,
34569     which can conflict with char $ac_func (); below.
34570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34571     <limits.h> exists even on freestanding compilers.  */
34572
34573 #ifdef __STDC__
34574 # include <limits.h>
34575 #else
34576 # include <assert.h>
34577 #endif
34578
34579 #undef $ac_func
34580
34581 /* Override any gcc2 internal prototype to avoid an error.  */
34582 #ifdef __cplusplus
34583 extern "C"
34584 {
34585 #endif
34586 /* We use char because int might match the return type of a gcc2
34587    builtin and then its argument prototype would still apply.  */
34588 char $ac_func ();
34589 /* The GNU C library defines this for functions which it implements
34590     to always fail with ENOSYS.  Some functions are actually named
34591     something starting with __ and the normal name is an alias.  */
34592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34593 choke me
34594 #else
34595 char (*f) () = $ac_func;
34596 #endif
34597 #ifdef __cplusplus
34598 }
34599 #endif
34600
34601 int
34602 main ()
34603 {
34604 return f != $ac_func;
34605   ;
34606   return 0;
34607 }
34608 _ACEOF
34609 rm -f conftest.$ac_objext conftest$ac_exeext
34610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34611   (eval $ac_link) 2>conftest.er1
34612   ac_status=$?
34613   grep -v '^ *+' conftest.er1 >conftest.err
34614   rm -f conftest.er1
34615   cat conftest.err >&5
34616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617   (exit $ac_status); } &&
34618          { ac_try='test -z "$ac_c_werror_flag"
34619                          || test ! -s conftest.err'
34620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621   (eval $ac_try) 2>&5
34622   ac_status=$?
34623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624   (exit $ac_status); }; } &&
34625          { ac_try='test -s conftest$ac_exeext'
34626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627   (eval $ac_try) 2>&5
34628   ac_status=$?
34629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630   (exit $ac_status); }; }; then
34631   eval "$as_ac_var=yes"
34632 else
34633   echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.$ac_ext >&5
34635
34636 eval "$as_ac_var=no"
34637 fi
34638 rm -f conftest.err conftest.$ac_objext \
34639       conftest$ac_exeext conftest.$ac_ext
34640 fi
34641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34643 if test `eval echo '${'$as_ac_var'}'` = yes; then
34644   cat >>confdefs.h <<_ACEOF
34645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34646 _ACEOF
34647
34648 fi
34649 done
34650
34651   else
34652
34653   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34654 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34655   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34656     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34657   echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659
34660
34661
34662       ac_ext=cc
34663 ac_cpp='$CXXCPP $CPPFLAGS'
34664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34667
34668       cat >conftest.$ac_ext <<_ACEOF
34669 /* confdefs.h.  */
34670 _ACEOF
34671 cat confdefs.h >>conftest.$ac_ext
34672 cat >>conftest.$ac_ext <<_ACEOF
34673 /* end confdefs.h.  */
34674 #include <math.h>
34675                       #ifdef HAVE_IEEEFP_H
34676                       #include <ieeefp.h>
34677                       #endif
34678
34679 int
34680 main ()
34681 {
34682  _fpclass(0);
34683   ;
34684   return 0;
34685 }
34686 _ACEOF
34687 rm -f conftest.$ac_objext
34688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34689   (eval $ac_compile) 2>conftest.er1
34690   ac_status=$?
34691   grep -v '^ *+' conftest.er1 >conftest.err
34692   rm -f conftest.er1
34693   cat conftest.err >&5
34694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695   (exit $ac_status); } &&
34696          { ac_try='test -z "$ac_cxx_werror_flag"
34697                          || test ! -s conftest.err'
34698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699   (eval $ac_try) 2>&5
34700   ac_status=$?
34701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702   (exit $ac_status); }; } &&
34703          { ac_try='test -s conftest.$ac_objext'
34704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705   (eval $ac_try) 2>&5
34706   ac_status=$?
34707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708   (exit $ac_status); }; }; then
34709   glibcxx_cv_func__fpclass_use=yes
34710 else
34711   echo "$as_me: failed program was:" >&5
34712 sed 's/^/| /' conftest.$ac_ext >&5
34713
34714 glibcxx_cv_func__fpclass_use=no
34715 fi
34716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34717       ac_ext=c
34718 ac_cpp='$CPP $CPPFLAGS'
34719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34722
34723
34724 fi
34725
34726   fi
34727   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34728 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34729
34730     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34731
34732 for ac_func in _fpclass
34733 do
34734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34735 echo "$as_me:$LINENO: checking for $ac_func" >&5
34736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34737 if eval "test \"\${$as_ac_var+set}\" = set"; then
34738   echo $ECHO_N "(cached) $ECHO_C" >&6
34739 else
34740   if test x$gcc_no_link = xyes; then
34741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34743    { (exit 1); exit 1; }; }
34744 fi
34745 cat >conftest.$ac_ext <<_ACEOF
34746 /* confdefs.h.  */
34747 _ACEOF
34748 cat confdefs.h >>conftest.$ac_ext
34749 cat >>conftest.$ac_ext <<_ACEOF
34750 /* end confdefs.h.  */
34751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34753 #define $ac_func innocuous_$ac_func
34754
34755 /* System header to define __stub macros and hopefully few prototypes,
34756     which can conflict with char $ac_func (); below.
34757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34758     <limits.h> exists even on freestanding compilers.  */
34759
34760 #ifdef __STDC__
34761 # include <limits.h>
34762 #else
34763 # include <assert.h>
34764 #endif
34765
34766 #undef $ac_func
34767
34768 /* Override any gcc2 internal prototype to avoid an error.  */
34769 #ifdef __cplusplus
34770 extern "C"
34771 {
34772 #endif
34773 /* We use char because int might match the return type of a gcc2
34774    builtin and then its argument prototype would still apply.  */
34775 char $ac_func ();
34776 /* The GNU C library defines this for functions which it implements
34777     to always fail with ENOSYS.  Some functions are actually named
34778     something starting with __ and the normal name is an alias.  */
34779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34780 choke me
34781 #else
34782 char (*f) () = $ac_func;
34783 #endif
34784 #ifdef __cplusplus
34785 }
34786 #endif
34787
34788 int
34789 main ()
34790 {
34791 return f != $ac_func;
34792   ;
34793   return 0;
34794 }
34795 _ACEOF
34796 rm -f conftest.$ac_objext conftest$ac_exeext
34797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34798   (eval $ac_link) 2>conftest.er1
34799   ac_status=$?
34800   grep -v '^ *+' conftest.er1 >conftest.err
34801   rm -f conftest.er1
34802   cat conftest.err >&5
34803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804   (exit $ac_status); } &&
34805          { ac_try='test -z "$ac_c_werror_flag"
34806                          || test ! -s conftest.err'
34807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34808   (eval $ac_try) 2>&5
34809   ac_status=$?
34810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811   (exit $ac_status); }; } &&
34812          { ac_try='test -s conftest$ac_exeext'
34813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814   (eval $ac_try) 2>&5
34815   ac_status=$?
34816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817   (exit $ac_status); }; }; then
34818   eval "$as_ac_var=yes"
34819 else
34820   echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 eval "$as_ac_var=no"
34824 fi
34825 rm -f conftest.err conftest.$ac_objext \
34826       conftest$ac_exeext conftest.$ac_ext
34827 fi
34828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34830 if test `eval echo '${'$as_ac_var'}'` = yes; then
34831   cat >>confdefs.h <<_ACEOF
34832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34833 _ACEOF
34834
34835 fi
34836 done
34837
34838     fi
34839   fi
34840
34841
34842
34843
34844
34845
34846   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34847 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34848   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34849     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34850   echo $ECHO_N "(cached) $ECHO_C" >&6
34851 else
34852
34853
34854
34855       ac_ext=cc
34856 ac_cpp='$CXXCPP $CPPFLAGS'
34857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34860
34861       cat >conftest.$ac_ext <<_ACEOF
34862 /* confdefs.h.  */
34863 _ACEOF
34864 cat confdefs.h >>conftest.$ac_ext
34865 cat >>conftest.$ac_ext <<_ACEOF
34866 /* end confdefs.h.  */
34867 #include <math.h>
34868                       #ifdef HAVE_IEEEFP_H
34869                       #include <ieeefp.h>
34870                       #endif
34871
34872 int
34873 main ()
34874 {
34875  qfpclass(0);
34876   ;
34877   return 0;
34878 }
34879 _ACEOF
34880 rm -f conftest.$ac_objext
34881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34882   (eval $ac_compile) 2>conftest.er1
34883   ac_status=$?
34884   grep -v '^ *+' conftest.er1 >conftest.err
34885   rm -f conftest.er1
34886   cat conftest.err >&5
34887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888   (exit $ac_status); } &&
34889          { ac_try='test -z "$ac_cxx_werror_flag"
34890                          || test ! -s conftest.err'
34891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892   (eval $ac_try) 2>&5
34893   ac_status=$?
34894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895   (exit $ac_status); }; } &&
34896          { ac_try='test -s conftest.$ac_objext'
34897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898   (eval $ac_try) 2>&5
34899   ac_status=$?
34900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901   (exit $ac_status); }; }; then
34902   glibcxx_cv_func_qfpclass_use=yes
34903 else
34904   echo "$as_me: failed program was:" >&5
34905 sed 's/^/| /' conftest.$ac_ext >&5
34906
34907 glibcxx_cv_func_qfpclass_use=no
34908 fi
34909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34910       ac_ext=c
34911 ac_cpp='$CPP $CPPFLAGS'
34912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34915
34916
34917 fi
34918
34919   fi
34920   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34921 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34922
34923   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34924
34925 for ac_func in qfpclass
34926 do
34927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34928 echo "$as_me:$LINENO: checking for $ac_func" >&5
34929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34930 if eval "test \"\${$as_ac_var+set}\" = set"; then
34931   echo $ECHO_N "(cached) $ECHO_C" >&6
34932 else
34933   if test x$gcc_no_link = xyes; then
34934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34936    { (exit 1); exit 1; }; }
34937 fi
34938 cat >conftest.$ac_ext <<_ACEOF
34939 /* confdefs.h.  */
34940 _ACEOF
34941 cat confdefs.h >>conftest.$ac_ext
34942 cat >>conftest.$ac_ext <<_ACEOF
34943 /* end confdefs.h.  */
34944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34946 #define $ac_func innocuous_$ac_func
34947
34948 /* System header to define __stub macros and hopefully few prototypes,
34949     which can conflict with char $ac_func (); below.
34950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34951     <limits.h> exists even on freestanding compilers.  */
34952
34953 #ifdef __STDC__
34954 # include <limits.h>
34955 #else
34956 # include <assert.h>
34957 #endif
34958
34959 #undef $ac_func
34960
34961 /* Override any gcc2 internal prototype to avoid an error.  */
34962 #ifdef __cplusplus
34963 extern "C"
34964 {
34965 #endif
34966 /* We use char because int might match the return type of a gcc2
34967    builtin and then its argument prototype would still apply.  */
34968 char $ac_func ();
34969 /* The GNU C library defines this for functions which it implements
34970     to always fail with ENOSYS.  Some functions are actually named
34971     something starting with __ and the normal name is an alias.  */
34972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34973 choke me
34974 #else
34975 char (*f) () = $ac_func;
34976 #endif
34977 #ifdef __cplusplus
34978 }
34979 #endif
34980
34981 int
34982 main ()
34983 {
34984 return f != $ac_func;
34985   ;
34986   return 0;
34987 }
34988 _ACEOF
34989 rm -f conftest.$ac_objext conftest$ac_exeext
34990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34991   (eval $ac_link) 2>conftest.er1
34992   ac_status=$?
34993   grep -v '^ *+' conftest.er1 >conftest.err
34994   rm -f conftest.er1
34995   cat conftest.err >&5
34996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997   (exit $ac_status); } &&
34998          { ac_try='test -z "$ac_c_werror_flag"
34999                          || test ! -s conftest.err'
35000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001   (eval $ac_try) 2>&5
35002   ac_status=$?
35003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004   (exit $ac_status); }; } &&
35005          { ac_try='test -s conftest$ac_exeext'
35006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007   (eval $ac_try) 2>&5
35008   ac_status=$?
35009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010   (exit $ac_status); }; }; then
35011   eval "$as_ac_var=yes"
35012 else
35013   echo "$as_me: failed program was:" >&5
35014 sed 's/^/| /' conftest.$ac_ext >&5
35015
35016 eval "$as_ac_var=no"
35017 fi
35018 rm -f conftest.err conftest.$ac_objext \
35019       conftest$ac_exeext conftest.$ac_ext
35020 fi
35021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35023 if test `eval echo '${'$as_ac_var'}'` = yes; then
35024   cat >>confdefs.h <<_ACEOF
35025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35026 _ACEOF
35027
35028 fi
35029 done
35030
35031   else
35032
35033   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35034 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35035   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35036     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35037   echo $ECHO_N "(cached) $ECHO_C" >&6
35038 else
35039
35040
35041
35042       ac_ext=cc
35043 ac_cpp='$CXXCPP $CPPFLAGS'
35044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35047
35048       cat >conftest.$ac_ext <<_ACEOF
35049 /* confdefs.h.  */
35050 _ACEOF
35051 cat confdefs.h >>conftest.$ac_ext
35052 cat >>conftest.$ac_ext <<_ACEOF
35053 /* end confdefs.h.  */
35054 #include <math.h>
35055                       #ifdef HAVE_IEEEFP_H
35056                       #include <ieeefp.h>
35057                       #endif
35058
35059 int
35060 main ()
35061 {
35062  _qfpclass(0);
35063   ;
35064   return 0;
35065 }
35066 _ACEOF
35067 rm -f conftest.$ac_objext
35068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35069   (eval $ac_compile) 2>conftest.er1
35070   ac_status=$?
35071   grep -v '^ *+' conftest.er1 >conftest.err
35072   rm -f conftest.er1
35073   cat conftest.err >&5
35074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075   (exit $ac_status); } &&
35076          { ac_try='test -z "$ac_cxx_werror_flag"
35077                          || test ! -s conftest.err'
35078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079   (eval $ac_try) 2>&5
35080   ac_status=$?
35081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082   (exit $ac_status); }; } &&
35083          { ac_try='test -s conftest.$ac_objext'
35084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085   (eval $ac_try) 2>&5
35086   ac_status=$?
35087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088   (exit $ac_status); }; }; then
35089   glibcxx_cv_func__qfpclass_use=yes
35090 else
35091   echo "$as_me: failed program was:" >&5
35092 sed 's/^/| /' conftest.$ac_ext >&5
35093
35094 glibcxx_cv_func__qfpclass_use=no
35095 fi
35096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35097       ac_ext=c
35098 ac_cpp='$CPP $CPPFLAGS'
35099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35102
35103
35104 fi
35105
35106   fi
35107   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35108 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35109
35110     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35111
35112 for ac_func in _qfpclass
35113 do
35114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35115 echo "$as_me:$LINENO: checking for $ac_func" >&5
35116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35117 if eval "test \"\${$as_ac_var+set}\" = set"; then
35118   echo $ECHO_N "(cached) $ECHO_C" >&6
35119 else
35120   if test x$gcc_no_link = xyes; then
35121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35123    { (exit 1); exit 1; }; }
35124 fi
35125 cat >conftest.$ac_ext <<_ACEOF
35126 /* confdefs.h.  */
35127 _ACEOF
35128 cat confdefs.h >>conftest.$ac_ext
35129 cat >>conftest.$ac_ext <<_ACEOF
35130 /* end confdefs.h.  */
35131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35133 #define $ac_func innocuous_$ac_func
35134
35135 /* System header to define __stub macros and hopefully few prototypes,
35136     which can conflict with char $ac_func (); below.
35137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35138     <limits.h> exists even on freestanding compilers.  */
35139
35140 #ifdef __STDC__
35141 # include <limits.h>
35142 #else
35143 # include <assert.h>
35144 #endif
35145
35146 #undef $ac_func
35147
35148 /* Override any gcc2 internal prototype to avoid an error.  */
35149 #ifdef __cplusplus
35150 extern "C"
35151 {
35152 #endif
35153 /* We use char because int might match the return type of a gcc2
35154    builtin and then its argument prototype would still apply.  */
35155 char $ac_func ();
35156 /* The GNU C library defines this for functions which it implements
35157     to always fail with ENOSYS.  Some functions are actually named
35158     something starting with __ and the normal name is an alias.  */
35159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35160 choke me
35161 #else
35162 char (*f) () = $ac_func;
35163 #endif
35164 #ifdef __cplusplus
35165 }
35166 #endif
35167
35168 int
35169 main ()
35170 {
35171 return f != $ac_func;
35172   ;
35173   return 0;
35174 }
35175 _ACEOF
35176 rm -f conftest.$ac_objext conftest$ac_exeext
35177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35178   (eval $ac_link) 2>conftest.er1
35179   ac_status=$?
35180   grep -v '^ *+' conftest.er1 >conftest.err
35181   rm -f conftest.er1
35182   cat conftest.err >&5
35183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184   (exit $ac_status); } &&
35185          { ac_try='test -z "$ac_c_werror_flag"
35186                          || test ! -s conftest.err'
35187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188   (eval $ac_try) 2>&5
35189   ac_status=$?
35190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191   (exit $ac_status); }; } &&
35192          { ac_try='test -s conftest$ac_exeext'
35193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194   (eval $ac_try) 2>&5
35195   ac_status=$?
35196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197   (exit $ac_status); }; }; then
35198   eval "$as_ac_var=yes"
35199 else
35200   echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 eval "$as_ac_var=no"
35204 fi
35205 rm -f conftest.err conftest.$ac_objext \
35206       conftest$ac_exeext conftest.$ac_ext
35207 fi
35208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35210 if test `eval echo '${'$as_ac_var'}'` = yes; then
35211   cat >>confdefs.h <<_ACEOF
35212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35213 _ACEOF
35214
35215 fi
35216 done
35217
35218     fi
35219   fi
35220
35221
35222
35223
35224
35225
35226   echo "$as_me:$LINENO: checking for hypot declaration" >&5
35227 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35228   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35229     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35230   echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232
35233
35234
35235       ac_ext=cc
35236 ac_cpp='$CXXCPP $CPPFLAGS'
35237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35240
35241       cat >conftest.$ac_ext <<_ACEOF
35242 /* confdefs.h.  */
35243 _ACEOF
35244 cat confdefs.h >>conftest.$ac_ext
35245 cat >>conftest.$ac_ext <<_ACEOF
35246 /* end confdefs.h.  */
35247 #include <math.h>
35248 int
35249 main ()
35250 {
35251  hypot(0, 0);
35252   ;
35253   return 0;
35254 }
35255 _ACEOF
35256 rm -f conftest.$ac_objext
35257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35258   (eval $ac_compile) 2>conftest.er1
35259   ac_status=$?
35260   grep -v '^ *+' conftest.er1 >conftest.err
35261   rm -f conftest.er1
35262   cat conftest.err >&5
35263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264   (exit $ac_status); } &&
35265          { ac_try='test -z "$ac_cxx_werror_flag"
35266                          || test ! -s conftest.err'
35267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268   (eval $ac_try) 2>&5
35269   ac_status=$?
35270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271   (exit $ac_status); }; } &&
35272          { ac_try='test -s conftest.$ac_objext'
35273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274   (eval $ac_try) 2>&5
35275   ac_status=$?
35276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277   (exit $ac_status); }; }; then
35278   glibcxx_cv_func_hypot_use=yes
35279 else
35280   echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35282
35283 glibcxx_cv_func_hypot_use=no
35284 fi
35285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35286       ac_ext=c
35287 ac_cpp='$CPP $CPPFLAGS'
35288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291
35292
35293 fi
35294
35295   fi
35296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35297 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35298
35299   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35300
35301 for ac_func in hypot
35302 do
35303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35304 echo "$as_me:$LINENO: checking for $ac_func" >&5
35305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35306 if eval "test \"\${$as_ac_var+set}\" = set"; then
35307   echo $ECHO_N "(cached) $ECHO_C" >&6
35308 else
35309   if test x$gcc_no_link = xyes; then
35310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35312    { (exit 1); exit 1; }; }
35313 fi
35314 cat >conftest.$ac_ext <<_ACEOF
35315 /* confdefs.h.  */
35316 _ACEOF
35317 cat confdefs.h >>conftest.$ac_ext
35318 cat >>conftest.$ac_ext <<_ACEOF
35319 /* end confdefs.h.  */
35320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35322 #define $ac_func innocuous_$ac_func
35323
35324 /* System header to define __stub macros and hopefully few prototypes,
35325     which can conflict with char $ac_func (); below.
35326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35327     <limits.h> exists even on freestanding compilers.  */
35328
35329 #ifdef __STDC__
35330 # include <limits.h>
35331 #else
35332 # include <assert.h>
35333 #endif
35334
35335 #undef $ac_func
35336
35337 /* Override any gcc2 internal prototype to avoid an error.  */
35338 #ifdef __cplusplus
35339 extern "C"
35340 {
35341 #endif
35342 /* We use char because int might match the return type of a gcc2
35343    builtin and then its argument prototype would still apply.  */
35344 char $ac_func ();
35345 /* The GNU C library defines this for functions which it implements
35346     to always fail with ENOSYS.  Some functions are actually named
35347     something starting with __ and the normal name is an alias.  */
35348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35349 choke me
35350 #else
35351 char (*f) () = $ac_func;
35352 #endif
35353 #ifdef __cplusplus
35354 }
35355 #endif
35356
35357 int
35358 main ()
35359 {
35360 return f != $ac_func;
35361   ;
35362   return 0;
35363 }
35364 _ACEOF
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35367   (eval $ac_link) 2>conftest.er1
35368   ac_status=$?
35369   grep -v '^ *+' conftest.er1 >conftest.err
35370   rm -f conftest.er1
35371   cat conftest.err >&5
35372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373   (exit $ac_status); } &&
35374          { ac_try='test -z "$ac_c_werror_flag"
35375                          || test ! -s conftest.err'
35376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377   (eval $ac_try) 2>&5
35378   ac_status=$?
35379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380   (exit $ac_status); }; } &&
35381          { ac_try='test -s conftest$ac_exeext'
35382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35383   (eval $ac_try) 2>&5
35384   ac_status=$?
35385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386   (exit $ac_status); }; }; then
35387   eval "$as_ac_var=yes"
35388 else
35389   echo "$as_me: failed program was:" >&5
35390 sed 's/^/| /' conftest.$ac_ext >&5
35391
35392 eval "$as_ac_var=no"
35393 fi
35394 rm -f conftest.err conftest.$ac_objext \
35395       conftest$ac_exeext conftest.$ac_ext
35396 fi
35397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35399 if test `eval echo '${'$as_ac_var'}'` = yes; then
35400   cat >>confdefs.h <<_ACEOF
35401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35402 _ACEOF
35403
35404 fi
35405 done
35406
35407   else
35408
35409   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35410 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35411   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35412     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35413   echo $ECHO_N "(cached) $ECHO_C" >&6
35414 else
35415
35416
35417
35418       ac_ext=cc
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423
35424       cat >conftest.$ac_ext <<_ACEOF
35425 /* confdefs.h.  */
35426 _ACEOF
35427 cat confdefs.h >>conftest.$ac_ext
35428 cat >>conftest.$ac_ext <<_ACEOF
35429 /* end confdefs.h.  */
35430 #include <math.h>
35431 int
35432 main ()
35433 {
35434  _hypot(0, 0);
35435   ;
35436   return 0;
35437 }
35438 _ACEOF
35439 rm -f conftest.$ac_objext
35440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35441   (eval $ac_compile) 2>conftest.er1
35442   ac_status=$?
35443   grep -v '^ *+' conftest.er1 >conftest.err
35444   rm -f conftest.er1
35445   cat conftest.err >&5
35446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447   (exit $ac_status); } &&
35448          { ac_try='test -z "$ac_cxx_werror_flag"
35449                          || test ! -s conftest.err'
35450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35451   (eval $ac_try) 2>&5
35452   ac_status=$?
35453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454   (exit $ac_status); }; } &&
35455          { ac_try='test -s conftest.$ac_objext'
35456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457   (eval $ac_try) 2>&5
35458   ac_status=$?
35459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460   (exit $ac_status); }; }; then
35461   glibcxx_cv_func__hypot_use=yes
35462 else
35463   echo "$as_me: failed program was:" >&5
35464 sed 's/^/| /' conftest.$ac_ext >&5
35465
35466 glibcxx_cv_func__hypot_use=no
35467 fi
35468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35469       ac_ext=c
35470 ac_cpp='$CPP $CPPFLAGS'
35471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35474
35475
35476 fi
35477
35478   fi
35479   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35480 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35481
35482     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35483
35484 for ac_func in _hypot
35485 do
35486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35487 echo "$as_me:$LINENO: checking for $ac_func" >&5
35488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35489 if eval "test \"\${$as_ac_var+set}\" = set"; then
35490   echo $ECHO_N "(cached) $ECHO_C" >&6
35491 else
35492   if test x$gcc_no_link = xyes; then
35493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35495    { (exit 1); exit 1; }; }
35496 fi
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h.  */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h.  */
35503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35505 #define $ac_func innocuous_$ac_func
35506
35507 /* System header to define __stub macros and hopefully few prototypes,
35508     which can conflict with char $ac_func (); below.
35509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35510     <limits.h> exists even on freestanding compilers.  */
35511
35512 #ifdef __STDC__
35513 # include <limits.h>
35514 #else
35515 # include <assert.h>
35516 #endif
35517
35518 #undef $ac_func
35519
35520 /* Override any gcc2 internal prototype to avoid an error.  */
35521 #ifdef __cplusplus
35522 extern "C"
35523 {
35524 #endif
35525 /* We use char because int might match the return type of a gcc2
35526    builtin and then its argument prototype would still apply.  */
35527 char $ac_func ();
35528 /* The GNU C library defines this for functions which it implements
35529     to always fail with ENOSYS.  Some functions are actually named
35530     something starting with __ and the normal name is an alias.  */
35531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35532 choke me
35533 #else
35534 char (*f) () = $ac_func;
35535 #endif
35536 #ifdef __cplusplus
35537 }
35538 #endif
35539
35540 int
35541 main ()
35542 {
35543 return f != $ac_func;
35544   ;
35545   return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext conftest$ac_exeext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35550   (eval $ac_link) 2>conftest.er1
35551   ac_status=$?
35552   grep -v '^ *+' conftest.er1 >conftest.err
35553   rm -f conftest.er1
35554   cat conftest.err >&5
35555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556   (exit $ac_status); } &&
35557          { ac_try='test -z "$ac_c_werror_flag"
35558                          || test ! -s conftest.err'
35559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560   (eval $ac_try) 2>&5
35561   ac_status=$?
35562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563   (exit $ac_status); }; } &&
35564          { ac_try='test -s conftest$ac_exeext'
35565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566   (eval $ac_try) 2>&5
35567   ac_status=$?
35568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569   (exit $ac_status); }; }; then
35570   eval "$as_ac_var=yes"
35571 else
35572   echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575 eval "$as_ac_var=no"
35576 fi
35577 rm -f conftest.err conftest.$ac_objext \
35578       conftest$ac_exeext conftest.$ac_ext
35579 fi
35580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35582 if test `eval echo '${'$as_ac_var'}'` = yes; then
35583   cat >>confdefs.h <<_ACEOF
35584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35585 _ACEOF
35586
35587 fi
35588 done
35589
35590     fi
35591   fi
35592
35593
35594
35595
35596
35597
35598     echo "$as_me:$LINENO: checking for float trig functions" >&5
35599 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35600   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35601   echo $ECHO_N "(cached) $ECHO_C" >&6
35602 else
35603
35604
35605
35606     ac_ext=cc
35607 ac_cpp='$CXXCPP $CPPFLAGS'
35608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35611
35612     cat >conftest.$ac_ext <<_ACEOF
35613 /* confdefs.h.  */
35614 _ACEOF
35615 cat confdefs.h >>conftest.$ac_ext
35616 cat >>conftest.$ac_ext <<_ACEOF
35617 /* end confdefs.h.  */
35618 #include <math.h>
35619 int
35620 main ()
35621 {
35622 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35623   ;
35624   return 0;
35625 }
35626 _ACEOF
35627 rm -f conftest.$ac_objext
35628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35629   (eval $ac_compile) 2>conftest.er1
35630   ac_status=$?
35631   grep -v '^ *+' conftest.er1 >conftest.err
35632   rm -f conftest.er1
35633   cat conftest.err >&5
35634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635   (exit $ac_status); } &&
35636          { ac_try='test -z "$ac_cxx_werror_flag"
35637                          || test ! -s conftest.err'
35638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639   (eval $ac_try) 2>&5
35640   ac_status=$?
35641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642   (exit $ac_status); }; } &&
35643          { ac_try='test -s conftest.$ac_objext'
35644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645   (eval $ac_try) 2>&5
35646   ac_status=$?
35647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648   (exit $ac_status); }; }; then
35649   glibcxx_cv_func_float_trig_use=yes
35650 else
35651   echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35653
35654 glibcxx_cv_func_float_trig_use=no
35655 fi
35656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35657     ac_ext=c
35658 ac_cpp='$CPP $CPPFLAGS'
35659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35662
35663 fi
35664
35665   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35666 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35667   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35678 do
35679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35680 echo "$as_me:$LINENO: checking for $ac_func" >&5
35681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35682 if eval "test \"\${$as_ac_var+set}\" = set"; then
35683   echo $ECHO_N "(cached) $ECHO_C" >&6
35684 else
35685   if test x$gcc_no_link = xyes; then
35686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35688    { (exit 1); exit 1; }; }
35689 fi
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h.  */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h.  */
35696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35698 #define $ac_func innocuous_$ac_func
35699
35700 /* System header to define __stub macros and hopefully few prototypes,
35701     which can conflict with char $ac_func (); below.
35702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35703     <limits.h> exists even on freestanding compilers.  */
35704
35705 #ifdef __STDC__
35706 # include <limits.h>
35707 #else
35708 # include <assert.h>
35709 #endif
35710
35711 #undef $ac_func
35712
35713 /* Override any gcc2 internal prototype to avoid an error.  */
35714 #ifdef __cplusplus
35715 extern "C"
35716 {
35717 #endif
35718 /* We use char because int might match the return type of a gcc2
35719    builtin and then its argument prototype would still apply.  */
35720 char $ac_func ();
35721 /* The GNU C library defines this for functions which it implements
35722     to always fail with ENOSYS.  Some functions are actually named
35723     something starting with __ and the normal name is an alias.  */
35724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35725 choke me
35726 #else
35727 char (*f) () = $ac_func;
35728 #endif
35729 #ifdef __cplusplus
35730 }
35731 #endif
35732
35733 int
35734 main ()
35735 {
35736 return f != $ac_func;
35737   ;
35738   return 0;
35739 }
35740 _ACEOF
35741 rm -f conftest.$ac_objext conftest$ac_exeext
35742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35743   (eval $ac_link) 2>conftest.er1
35744   ac_status=$?
35745   grep -v '^ *+' conftest.er1 >conftest.err
35746   rm -f conftest.er1
35747   cat conftest.err >&5
35748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749   (exit $ac_status); } &&
35750          { ac_try='test -z "$ac_c_werror_flag"
35751                          || test ! -s conftest.err'
35752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753   (eval $ac_try) 2>&5
35754   ac_status=$?
35755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756   (exit $ac_status); }; } &&
35757          { ac_try='test -s conftest$ac_exeext'
35758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759   (eval $ac_try) 2>&5
35760   ac_status=$?
35761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762   (exit $ac_status); }; }; then
35763   eval "$as_ac_var=yes"
35764 else
35765   echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 eval "$as_ac_var=no"
35769 fi
35770 rm -f conftest.err conftest.$ac_objext \
35771       conftest$ac_exeext conftest.$ac_ext
35772 fi
35773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35775 if test `eval echo '${'$as_ac_var'}'` = yes; then
35776   cat >>confdefs.h <<_ACEOF
35777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35778 _ACEOF
35779
35780 fi
35781 done
35782
35783   else
35784     echo "$as_me:$LINENO: checking for _float trig functions" >&5
35785 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35786     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35787   echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789
35790
35791
35792       ac_ext=cc
35793 ac_cpp='$CXXCPP $CPPFLAGS'
35794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35797
35798       cat >conftest.$ac_ext <<_ACEOF
35799 /* confdefs.h.  */
35800 _ACEOF
35801 cat confdefs.h >>conftest.$ac_ext
35802 cat >>conftest.$ac_ext <<_ACEOF
35803 /* end confdefs.h.  */
35804 #include <math.h>
35805 int
35806 main ()
35807 {
35808 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35809   ;
35810   return 0;
35811 }
35812 _ACEOF
35813 rm -f conftest.$ac_objext
35814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35815   (eval $ac_compile) 2>conftest.er1
35816   ac_status=$?
35817   grep -v '^ *+' conftest.er1 >conftest.err
35818   rm -f conftest.er1
35819   cat conftest.err >&5
35820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35821   (exit $ac_status); } &&
35822          { ac_try='test -z "$ac_cxx_werror_flag"
35823                          || test ! -s conftest.err'
35824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825   (eval $ac_try) 2>&5
35826   ac_status=$?
35827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828   (exit $ac_status); }; } &&
35829          { ac_try='test -s conftest.$ac_objext'
35830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831   (eval $ac_try) 2>&5
35832   ac_status=$?
35833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834   (exit $ac_status); }; }; then
35835   glibcxx_cv_func__float_trig_use=yes
35836 else
35837   echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35839
35840 glibcxx_cv_func__float_trig_use=no
35841 fi
35842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35843       ac_ext=c
35844 ac_cpp='$CPP $CPPFLAGS'
35845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848
35849 fi
35850
35851     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35852 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35853     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35864 do
35865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35866 echo "$as_me:$LINENO: checking for $ac_func" >&5
35867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35868 if eval "test \"\${$as_ac_var+set}\" = set"; then
35869   echo $ECHO_N "(cached) $ECHO_C" >&6
35870 else
35871   if test x$gcc_no_link = xyes; then
35872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35874    { (exit 1); exit 1; }; }
35875 fi
35876 cat >conftest.$ac_ext <<_ACEOF
35877 /* confdefs.h.  */
35878 _ACEOF
35879 cat confdefs.h >>conftest.$ac_ext
35880 cat >>conftest.$ac_ext <<_ACEOF
35881 /* end confdefs.h.  */
35882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35884 #define $ac_func innocuous_$ac_func
35885
35886 /* System header to define __stub macros and hopefully few prototypes,
35887     which can conflict with char $ac_func (); below.
35888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35889     <limits.h> exists even on freestanding compilers.  */
35890
35891 #ifdef __STDC__
35892 # include <limits.h>
35893 #else
35894 # include <assert.h>
35895 #endif
35896
35897 #undef $ac_func
35898
35899 /* Override any gcc2 internal prototype to avoid an error.  */
35900 #ifdef __cplusplus
35901 extern "C"
35902 {
35903 #endif
35904 /* We use char because int might match the return type of a gcc2
35905    builtin and then its argument prototype would still apply.  */
35906 char $ac_func ();
35907 /* The GNU C library defines this for functions which it implements
35908     to always fail with ENOSYS.  Some functions are actually named
35909     something starting with __ and the normal name is an alias.  */
35910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35911 choke me
35912 #else
35913 char (*f) () = $ac_func;
35914 #endif
35915 #ifdef __cplusplus
35916 }
35917 #endif
35918
35919 int
35920 main ()
35921 {
35922 return f != $ac_func;
35923   ;
35924   return 0;
35925 }
35926 _ACEOF
35927 rm -f conftest.$ac_objext conftest$ac_exeext
35928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35929   (eval $ac_link) 2>conftest.er1
35930   ac_status=$?
35931   grep -v '^ *+' conftest.er1 >conftest.err
35932   rm -f conftest.er1
35933   cat conftest.err >&5
35934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935   (exit $ac_status); } &&
35936          { ac_try='test -z "$ac_c_werror_flag"
35937                          || test ! -s conftest.err'
35938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35939   (eval $ac_try) 2>&5
35940   ac_status=$?
35941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942   (exit $ac_status); }; } &&
35943          { ac_try='test -s conftest$ac_exeext'
35944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35945   (eval $ac_try) 2>&5
35946   ac_status=$?
35947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948   (exit $ac_status); }; }; then
35949   eval "$as_ac_var=yes"
35950 else
35951   echo "$as_me: failed program was:" >&5
35952 sed 's/^/| /' conftest.$ac_ext >&5
35953
35954 eval "$as_ac_var=no"
35955 fi
35956 rm -f conftest.err conftest.$ac_objext \
35957       conftest$ac_exeext conftest.$ac_ext
35958 fi
35959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35961 if test `eval echo '${'$as_ac_var'}'` = yes; then
35962   cat >>confdefs.h <<_ACEOF
35963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35964 _ACEOF
35965
35966 fi
35967 done
35968
35969     fi
35970   fi
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985     echo "$as_me:$LINENO: checking for float round functions" >&5
35986 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35987   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35988   echo $ECHO_N "(cached) $ECHO_C" >&6
35989 else
35990
35991
35992
35993     ac_ext=cc
35994 ac_cpp='$CXXCPP $CPPFLAGS'
35995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35998
35999     cat >conftest.$ac_ext <<_ACEOF
36000 /* confdefs.h.  */
36001 _ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h.  */
36005 #include <math.h>
36006 int
36007 main ()
36008 {
36009 ceilf (0); floorf (0);
36010   ;
36011   return 0;
36012 }
36013 _ACEOF
36014 rm -f conftest.$ac_objext
36015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36016   (eval $ac_compile) 2>conftest.er1
36017   ac_status=$?
36018   grep -v '^ *+' conftest.er1 >conftest.err
36019   rm -f conftest.er1
36020   cat conftest.err >&5
36021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022   (exit $ac_status); } &&
36023          { ac_try='test -z "$ac_cxx_werror_flag"
36024                          || test ! -s conftest.err'
36025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36026   (eval $ac_try) 2>&5
36027   ac_status=$?
36028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029   (exit $ac_status); }; } &&
36030          { ac_try='test -s conftest.$ac_objext'
36031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36032   (eval $ac_try) 2>&5
36033   ac_status=$?
36034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035   (exit $ac_status); }; }; then
36036   glibcxx_cv_func_float_round_use=yes
36037 else
36038   echo "$as_me: failed program was:" >&5
36039 sed 's/^/| /' conftest.$ac_ext >&5
36040
36041 glibcxx_cv_func_float_round_use=no
36042 fi
36043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36044     ac_ext=c
36045 ac_cpp='$CPP $CPPFLAGS'
36046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36049
36050 fi
36051
36052   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36053 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36054   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36055
36056
36057 for ac_func in ceilf floorf
36058 do
36059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36060 echo "$as_me:$LINENO: checking for $ac_func" >&5
36061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36062 if eval "test \"\${$as_ac_var+set}\" = set"; then
36063   echo $ECHO_N "(cached) $ECHO_C" >&6
36064 else
36065   if test x$gcc_no_link = xyes; then
36066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36068    { (exit 1); exit 1; }; }
36069 fi
36070 cat >conftest.$ac_ext <<_ACEOF
36071 /* confdefs.h.  */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h.  */
36076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36078 #define $ac_func innocuous_$ac_func
36079
36080 /* System header to define __stub macros and hopefully few prototypes,
36081     which can conflict with char $ac_func (); below.
36082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36083     <limits.h> exists even on freestanding compilers.  */
36084
36085 #ifdef __STDC__
36086 # include <limits.h>
36087 #else
36088 # include <assert.h>
36089 #endif
36090
36091 #undef $ac_func
36092
36093 /* Override any gcc2 internal prototype to avoid an error.  */
36094 #ifdef __cplusplus
36095 extern "C"
36096 {
36097 #endif
36098 /* We use char because int might match the return type of a gcc2
36099    builtin and then its argument prototype would still apply.  */
36100 char $ac_func ();
36101 /* The GNU C library defines this for functions which it implements
36102     to always fail with ENOSYS.  Some functions are actually named
36103     something starting with __ and the normal name is an alias.  */
36104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36105 choke me
36106 #else
36107 char (*f) () = $ac_func;
36108 #endif
36109 #ifdef __cplusplus
36110 }
36111 #endif
36112
36113 int
36114 main ()
36115 {
36116 return f != $ac_func;
36117   ;
36118   return 0;
36119 }
36120 _ACEOF
36121 rm -f conftest.$ac_objext conftest$ac_exeext
36122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36123   (eval $ac_link) 2>conftest.er1
36124   ac_status=$?
36125   grep -v '^ *+' conftest.er1 >conftest.err
36126   rm -f conftest.er1
36127   cat conftest.err >&5
36128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129   (exit $ac_status); } &&
36130          { ac_try='test -z "$ac_c_werror_flag"
36131                          || test ! -s conftest.err'
36132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36133   (eval $ac_try) 2>&5
36134   ac_status=$?
36135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136   (exit $ac_status); }; } &&
36137          { ac_try='test -s conftest$ac_exeext'
36138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36139   (eval $ac_try) 2>&5
36140   ac_status=$?
36141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142   (exit $ac_status); }; }; then
36143   eval "$as_ac_var=yes"
36144 else
36145   echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.$ac_ext >&5
36147
36148 eval "$as_ac_var=no"
36149 fi
36150 rm -f conftest.err conftest.$ac_objext \
36151       conftest$ac_exeext conftest.$ac_ext
36152 fi
36153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36155 if test `eval echo '${'$as_ac_var'}'` = yes; then
36156   cat >>confdefs.h <<_ACEOF
36157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36158 _ACEOF
36159
36160 fi
36161 done
36162
36163   else
36164     echo "$as_me:$LINENO: checking for _float round functions" >&5
36165 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36166     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36167   echo $ECHO_N "(cached) $ECHO_C" >&6
36168 else
36169
36170
36171
36172       ac_ext=cc
36173 ac_cpp='$CXXCPP $CPPFLAGS'
36174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36177
36178       cat >conftest.$ac_ext <<_ACEOF
36179 /* confdefs.h.  */
36180 _ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h.  */
36184 #include <math.h>
36185 int
36186 main ()
36187 {
36188 _ceilf (0); _floorf (0);
36189   ;
36190   return 0;
36191 }
36192 _ACEOF
36193 rm -f conftest.$ac_objext
36194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36195   (eval $ac_compile) 2>conftest.er1
36196   ac_status=$?
36197   grep -v '^ *+' conftest.er1 >conftest.err
36198   rm -f conftest.er1
36199   cat conftest.err >&5
36200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201   (exit $ac_status); } &&
36202          { ac_try='test -z "$ac_cxx_werror_flag"
36203                          || test ! -s conftest.err'
36204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205   (eval $ac_try) 2>&5
36206   ac_status=$?
36207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208   (exit $ac_status); }; } &&
36209          { ac_try='test -s conftest.$ac_objext'
36210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36211   (eval $ac_try) 2>&5
36212   ac_status=$?
36213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214   (exit $ac_status); }; }; then
36215   glibcxx_cv_func__float_round_use=yes
36216 else
36217   echo "$as_me: failed program was:" >&5
36218 sed 's/^/| /' conftest.$ac_ext >&5
36219
36220 glibcxx_cv_func__float_round_use=no
36221 fi
36222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36223       ac_ext=c
36224 ac_cpp='$CPP $CPPFLAGS'
36225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36228
36229 fi
36230
36231     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36232 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36233     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36234
36235
36236 for ac_func in _ceilf _floorf
36237 do
36238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36239 echo "$as_me:$LINENO: checking for $ac_func" >&5
36240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36241 if eval "test \"\${$as_ac_var+set}\" = set"; then
36242   echo $ECHO_N "(cached) $ECHO_C" >&6
36243 else
36244   if test x$gcc_no_link = xyes; then
36245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36247    { (exit 1); exit 1; }; }
36248 fi
36249 cat >conftest.$ac_ext <<_ACEOF
36250 /* confdefs.h.  */
36251 _ACEOF
36252 cat confdefs.h >>conftest.$ac_ext
36253 cat >>conftest.$ac_ext <<_ACEOF
36254 /* end confdefs.h.  */
36255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36257 #define $ac_func innocuous_$ac_func
36258
36259 /* System header to define __stub macros and hopefully few prototypes,
36260     which can conflict with char $ac_func (); below.
36261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36262     <limits.h> exists even on freestanding compilers.  */
36263
36264 #ifdef __STDC__
36265 # include <limits.h>
36266 #else
36267 # include <assert.h>
36268 #endif
36269
36270 #undef $ac_func
36271
36272 /* Override any gcc2 internal prototype to avoid an error.  */
36273 #ifdef __cplusplus
36274 extern "C"
36275 {
36276 #endif
36277 /* We use char because int might match the return type of a gcc2
36278    builtin and then its argument prototype would still apply.  */
36279 char $ac_func ();
36280 /* The GNU C library defines this for functions which it implements
36281     to always fail with ENOSYS.  Some functions are actually named
36282     something starting with __ and the normal name is an alias.  */
36283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36284 choke me
36285 #else
36286 char (*f) () = $ac_func;
36287 #endif
36288 #ifdef __cplusplus
36289 }
36290 #endif
36291
36292 int
36293 main ()
36294 {
36295 return f != $ac_func;
36296   ;
36297   return 0;
36298 }
36299 _ACEOF
36300 rm -f conftest.$ac_objext conftest$ac_exeext
36301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36302   (eval $ac_link) 2>conftest.er1
36303   ac_status=$?
36304   grep -v '^ *+' conftest.er1 >conftest.err
36305   rm -f conftest.er1
36306   cat conftest.err >&5
36307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308   (exit $ac_status); } &&
36309          { ac_try='test -z "$ac_c_werror_flag"
36310                          || test ! -s conftest.err'
36311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36312   (eval $ac_try) 2>&5
36313   ac_status=$?
36314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315   (exit $ac_status); }; } &&
36316          { ac_try='test -s conftest$ac_exeext'
36317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318   (eval $ac_try) 2>&5
36319   ac_status=$?
36320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321   (exit $ac_status); }; }; then
36322   eval "$as_ac_var=yes"
36323 else
36324   echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.$ac_ext >&5
36326
36327 eval "$as_ac_var=no"
36328 fi
36329 rm -f conftest.err conftest.$ac_objext \
36330       conftest$ac_exeext conftest.$ac_ext
36331 fi
36332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36334 if test `eval echo '${'$as_ac_var'}'` = yes; then
36335   cat >>confdefs.h <<_ACEOF
36336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36337 _ACEOF
36338
36339 fi
36340 done
36341
36342     fi
36343   fi
36344
36345
36346
36347
36348
36349
36350
36351
36352   echo "$as_me:$LINENO: checking for expf declaration" >&5
36353 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36354   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36355     if test "${glibcxx_cv_func_expf_use+set}" = set; then
36356   echo $ECHO_N "(cached) $ECHO_C" >&6
36357 else
36358
36359
36360
36361       ac_ext=cc
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36366
36367       cat >conftest.$ac_ext <<_ACEOF
36368 /* confdefs.h.  */
36369 _ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h.  */
36373 #include <math.h>
36374                       #ifdef HAVE_IEEEFP_H
36375                       #include <ieeefp.h>
36376                       #endif
36377
36378 int
36379 main ()
36380 {
36381  expf(0);
36382   ;
36383   return 0;
36384 }
36385 _ACEOF
36386 rm -f conftest.$ac_objext
36387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36388   (eval $ac_compile) 2>conftest.er1
36389   ac_status=$?
36390   grep -v '^ *+' conftest.er1 >conftest.err
36391   rm -f conftest.er1
36392   cat conftest.err >&5
36393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394   (exit $ac_status); } &&
36395          { ac_try='test -z "$ac_cxx_werror_flag"
36396                          || test ! -s conftest.err'
36397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398   (eval $ac_try) 2>&5
36399   ac_status=$?
36400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401   (exit $ac_status); }; } &&
36402          { ac_try='test -s conftest.$ac_objext'
36403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36404   (eval $ac_try) 2>&5
36405   ac_status=$?
36406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407   (exit $ac_status); }; }; then
36408   glibcxx_cv_func_expf_use=yes
36409 else
36410   echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36412
36413 glibcxx_cv_func_expf_use=no
36414 fi
36415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36416       ac_ext=c
36417 ac_cpp='$CPP $CPPFLAGS'
36418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36421
36422
36423 fi
36424
36425   fi
36426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36427 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36428
36429   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36430
36431 for ac_func in expf
36432 do
36433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36434 echo "$as_me:$LINENO: checking for $ac_func" >&5
36435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36436 if eval "test \"\${$as_ac_var+set}\" = set"; then
36437   echo $ECHO_N "(cached) $ECHO_C" >&6
36438 else
36439   if test x$gcc_no_link = xyes; then
36440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36442    { (exit 1); exit 1; }; }
36443 fi
36444 cat >conftest.$ac_ext <<_ACEOF
36445 /* confdefs.h.  */
36446 _ACEOF
36447 cat confdefs.h >>conftest.$ac_ext
36448 cat >>conftest.$ac_ext <<_ACEOF
36449 /* end confdefs.h.  */
36450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36452 #define $ac_func innocuous_$ac_func
36453
36454 /* System header to define __stub macros and hopefully few prototypes,
36455     which can conflict with char $ac_func (); below.
36456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36457     <limits.h> exists even on freestanding compilers.  */
36458
36459 #ifdef __STDC__
36460 # include <limits.h>
36461 #else
36462 # include <assert.h>
36463 #endif
36464
36465 #undef $ac_func
36466
36467 /* Override any gcc2 internal prototype to avoid an error.  */
36468 #ifdef __cplusplus
36469 extern "C"
36470 {
36471 #endif
36472 /* We use char because int might match the return type of a gcc2
36473    builtin and then its argument prototype would still apply.  */
36474 char $ac_func ();
36475 /* The GNU C library defines this for functions which it implements
36476     to always fail with ENOSYS.  Some functions are actually named
36477     something starting with __ and the normal name is an alias.  */
36478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36479 choke me
36480 #else
36481 char (*f) () = $ac_func;
36482 #endif
36483 #ifdef __cplusplus
36484 }
36485 #endif
36486
36487 int
36488 main ()
36489 {
36490 return f != $ac_func;
36491   ;
36492   return 0;
36493 }
36494 _ACEOF
36495 rm -f conftest.$ac_objext conftest$ac_exeext
36496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36497   (eval $ac_link) 2>conftest.er1
36498   ac_status=$?
36499   grep -v '^ *+' conftest.er1 >conftest.err
36500   rm -f conftest.er1
36501   cat conftest.err >&5
36502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503   (exit $ac_status); } &&
36504          { ac_try='test -z "$ac_c_werror_flag"
36505                          || test ! -s conftest.err'
36506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507   (eval $ac_try) 2>&5
36508   ac_status=$?
36509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510   (exit $ac_status); }; } &&
36511          { ac_try='test -s conftest$ac_exeext'
36512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36513   (eval $ac_try) 2>&5
36514   ac_status=$?
36515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516   (exit $ac_status); }; }; then
36517   eval "$as_ac_var=yes"
36518 else
36519   echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36521
36522 eval "$as_ac_var=no"
36523 fi
36524 rm -f conftest.err conftest.$ac_objext \
36525       conftest$ac_exeext conftest.$ac_ext
36526 fi
36527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36529 if test `eval echo '${'$as_ac_var'}'` = yes; then
36530   cat >>confdefs.h <<_ACEOF
36531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537   else
36538
36539   echo "$as_me:$LINENO: checking for _expf declaration" >&5
36540 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36541   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36542     if test "${glibcxx_cv_func__expf_use+set}" = set; then
36543   echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545
36546
36547
36548       ac_ext=cc
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553
36554       cat >conftest.$ac_ext <<_ACEOF
36555 /* confdefs.h.  */
36556 _ACEOF
36557 cat confdefs.h >>conftest.$ac_ext
36558 cat >>conftest.$ac_ext <<_ACEOF
36559 /* end confdefs.h.  */
36560 #include <math.h>
36561                       #ifdef HAVE_IEEEFP_H
36562                       #include <ieeefp.h>
36563                       #endif
36564
36565 int
36566 main ()
36567 {
36568  _expf(0);
36569   ;
36570   return 0;
36571 }
36572 _ACEOF
36573 rm -f conftest.$ac_objext
36574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575   (eval $ac_compile) 2>conftest.er1
36576   ac_status=$?
36577   grep -v '^ *+' conftest.er1 >conftest.err
36578   rm -f conftest.er1
36579   cat conftest.err >&5
36580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581   (exit $ac_status); } &&
36582          { ac_try='test -z "$ac_cxx_werror_flag"
36583                          || test ! -s conftest.err'
36584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585   (eval $ac_try) 2>&5
36586   ac_status=$?
36587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588   (exit $ac_status); }; } &&
36589          { ac_try='test -s conftest.$ac_objext'
36590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591   (eval $ac_try) 2>&5
36592   ac_status=$?
36593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594   (exit $ac_status); }; }; then
36595   glibcxx_cv_func__expf_use=yes
36596 else
36597   echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.$ac_ext >&5
36599
36600 glibcxx_cv_func__expf_use=no
36601 fi
36602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36603       ac_ext=c
36604 ac_cpp='$CPP $CPPFLAGS'
36605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36608
36609
36610 fi
36611
36612   fi
36613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36614 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36615
36616     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36617
36618 for ac_func in _expf
36619 do
36620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36621 echo "$as_me:$LINENO: checking for $ac_func" >&5
36622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36623 if eval "test \"\${$as_ac_var+set}\" = set"; then
36624   echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626   if test x$gcc_no_link = xyes; then
36627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36629    { (exit 1); exit 1; }; }
36630 fi
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h.  */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h.  */
36637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36639 #define $ac_func innocuous_$ac_func
36640
36641 /* System header to define __stub macros and hopefully few prototypes,
36642     which can conflict with char $ac_func (); below.
36643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36644     <limits.h> exists even on freestanding compilers.  */
36645
36646 #ifdef __STDC__
36647 # include <limits.h>
36648 #else
36649 # include <assert.h>
36650 #endif
36651
36652 #undef $ac_func
36653
36654 /* Override any gcc2 internal prototype to avoid an error.  */
36655 #ifdef __cplusplus
36656 extern "C"
36657 {
36658 #endif
36659 /* We use char because int might match the return type of a gcc2
36660    builtin and then its argument prototype would still apply.  */
36661 char $ac_func ();
36662 /* The GNU C library defines this for functions which it implements
36663     to always fail with ENOSYS.  Some functions are actually named
36664     something starting with __ and the normal name is an alias.  */
36665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36666 choke me
36667 #else
36668 char (*f) () = $ac_func;
36669 #endif
36670 #ifdef __cplusplus
36671 }
36672 #endif
36673
36674 int
36675 main ()
36676 {
36677 return f != $ac_func;
36678   ;
36679   return 0;
36680 }
36681 _ACEOF
36682 rm -f conftest.$ac_objext conftest$ac_exeext
36683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36684   (eval $ac_link) 2>conftest.er1
36685   ac_status=$?
36686   grep -v '^ *+' conftest.er1 >conftest.err
36687   rm -f conftest.er1
36688   cat conftest.err >&5
36689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690   (exit $ac_status); } &&
36691          { ac_try='test -z "$ac_c_werror_flag"
36692                          || test ! -s conftest.err'
36693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36694   (eval $ac_try) 2>&5
36695   ac_status=$?
36696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697   (exit $ac_status); }; } &&
36698          { ac_try='test -s conftest$ac_exeext'
36699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36700   (eval $ac_try) 2>&5
36701   ac_status=$?
36702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703   (exit $ac_status); }; }; then
36704   eval "$as_ac_var=yes"
36705 else
36706   echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.$ac_ext >&5
36708
36709 eval "$as_ac_var=no"
36710 fi
36711 rm -f conftest.err conftest.$ac_objext \
36712       conftest$ac_exeext conftest.$ac_ext
36713 fi
36714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717   cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36719 _ACEOF
36720
36721 fi
36722 done
36723
36724     fi
36725   fi
36726
36727
36728
36729
36730
36731
36732   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36733 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36734   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36735     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36736   echo $ECHO_N "(cached) $ECHO_C" >&6
36737 else
36738
36739
36740
36741       ac_ext=cc
36742 ac_cpp='$CXXCPP $CPPFLAGS'
36743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36746
36747       cat >conftest.$ac_ext <<_ACEOF
36748 /* confdefs.h.  */
36749 _ACEOF
36750 cat confdefs.h >>conftest.$ac_ext
36751 cat >>conftest.$ac_ext <<_ACEOF
36752 /* end confdefs.h.  */
36753 #include <math.h>
36754                       #ifdef HAVE_IEEEFP_H
36755                       #include <ieeefp.h>
36756                       #endif
36757
36758 int
36759 main ()
36760 {
36761  isnanf(0);
36762   ;
36763   return 0;
36764 }
36765 _ACEOF
36766 rm -f conftest.$ac_objext
36767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36768   (eval $ac_compile) 2>conftest.er1
36769   ac_status=$?
36770   grep -v '^ *+' conftest.er1 >conftest.err
36771   rm -f conftest.er1
36772   cat conftest.err >&5
36773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774   (exit $ac_status); } &&
36775          { ac_try='test -z "$ac_cxx_werror_flag"
36776                          || test ! -s conftest.err'
36777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778   (eval $ac_try) 2>&5
36779   ac_status=$?
36780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781   (exit $ac_status); }; } &&
36782          { ac_try='test -s conftest.$ac_objext'
36783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36784   (eval $ac_try) 2>&5
36785   ac_status=$?
36786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787   (exit $ac_status); }; }; then
36788   glibcxx_cv_func_isnanf_use=yes
36789 else
36790   echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 glibcxx_cv_func_isnanf_use=no
36794 fi
36795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36796       ac_ext=c
36797 ac_cpp='$CPP $CPPFLAGS'
36798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36801
36802
36803 fi
36804
36805   fi
36806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36807 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36808
36809   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36810
36811 for ac_func in isnanf
36812 do
36813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36814 echo "$as_me:$LINENO: checking for $ac_func" >&5
36815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36816 if eval "test \"\${$as_ac_var+set}\" = set"; then
36817   echo $ECHO_N "(cached) $ECHO_C" >&6
36818 else
36819   if test x$gcc_no_link = xyes; then
36820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36822    { (exit 1); exit 1; }; }
36823 fi
36824 cat >conftest.$ac_ext <<_ACEOF
36825 /* confdefs.h.  */
36826 _ACEOF
36827 cat confdefs.h >>conftest.$ac_ext
36828 cat >>conftest.$ac_ext <<_ACEOF
36829 /* end confdefs.h.  */
36830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36832 #define $ac_func innocuous_$ac_func
36833
36834 /* System header to define __stub macros and hopefully few prototypes,
36835     which can conflict with char $ac_func (); below.
36836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36837     <limits.h> exists even on freestanding compilers.  */
36838
36839 #ifdef __STDC__
36840 # include <limits.h>
36841 #else
36842 # include <assert.h>
36843 #endif
36844
36845 #undef $ac_func
36846
36847 /* Override any gcc2 internal prototype to avoid an error.  */
36848 #ifdef __cplusplus
36849 extern "C"
36850 {
36851 #endif
36852 /* We use char because int might match the return type of a gcc2
36853    builtin and then its argument prototype would still apply.  */
36854 char $ac_func ();
36855 /* The GNU C library defines this for functions which it implements
36856     to always fail with ENOSYS.  Some functions are actually named
36857     something starting with __ and the normal name is an alias.  */
36858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36859 choke me
36860 #else
36861 char (*f) () = $ac_func;
36862 #endif
36863 #ifdef __cplusplus
36864 }
36865 #endif
36866
36867 int
36868 main ()
36869 {
36870 return f != $ac_func;
36871   ;
36872   return 0;
36873 }
36874 _ACEOF
36875 rm -f conftest.$ac_objext conftest$ac_exeext
36876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36877   (eval $ac_link) 2>conftest.er1
36878   ac_status=$?
36879   grep -v '^ *+' conftest.er1 >conftest.err
36880   rm -f conftest.er1
36881   cat conftest.err >&5
36882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883   (exit $ac_status); } &&
36884          { ac_try='test -z "$ac_c_werror_flag"
36885                          || test ! -s conftest.err'
36886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36887   (eval $ac_try) 2>&5
36888   ac_status=$?
36889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890   (exit $ac_status); }; } &&
36891          { ac_try='test -s conftest$ac_exeext'
36892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36893   (eval $ac_try) 2>&5
36894   ac_status=$?
36895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896   (exit $ac_status); }; }; then
36897   eval "$as_ac_var=yes"
36898 else
36899   echo "$as_me: failed program was:" >&5
36900 sed 's/^/| /' conftest.$ac_ext >&5
36901
36902 eval "$as_ac_var=no"
36903 fi
36904 rm -f conftest.err conftest.$ac_objext \
36905       conftest$ac_exeext conftest.$ac_ext
36906 fi
36907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36909 if test `eval echo '${'$as_ac_var'}'` = yes; then
36910   cat >>confdefs.h <<_ACEOF
36911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36912 _ACEOF
36913
36914 fi
36915 done
36916
36917   else
36918
36919   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36920 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36921   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36922     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36923   echo $ECHO_N "(cached) $ECHO_C" >&6
36924 else
36925
36926
36927
36928       ac_ext=cc
36929 ac_cpp='$CXXCPP $CPPFLAGS'
36930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36933
36934       cat >conftest.$ac_ext <<_ACEOF
36935 /* confdefs.h.  */
36936 _ACEOF
36937 cat confdefs.h >>conftest.$ac_ext
36938 cat >>conftest.$ac_ext <<_ACEOF
36939 /* end confdefs.h.  */
36940 #include <math.h>
36941                       #ifdef HAVE_IEEEFP_H
36942                       #include <ieeefp.h>
36943                       #endif
36944
36945 int
36946 main ()
36947 {
36948  _isnanf(0);
36949   ;
36950   return 0;
36951 }
36952 _ACEOF
36953 rm -f conftest.$ac_objext
36954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36955   (eval $ac_compile) 2>conftest.er1
36956   ac_status=$?
36957   grep -v '^ *+' conftest.er1 >conftest.err
36958   rm -f conftest.er1
36959   cat conftest.err >&5
36960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961   (exit $ac_status); } &&
36962          { ac_try='test -z "$ac_cxx_werror_flag"
36963                          || test ! -s conftest.err'
36964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36965   (eval $ac_try) 2>&5
36966   ac_status=$?
36967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968   (exit $ac_status); }; } &&
36969          { ac_try='test -s conftest.$ac_objext'
36970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36971   (eval $ac_try) 2>&5
36972   ac_status=$?
36973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974   (exit $ac_status); }; }; then
36975   glibcxx_cv_func__isnanf_use=yes
36976 else
36977   echo "$as_me: failed program was:" >&5
36978 sed 's/^/| /' conftest.$ac_ext >&5
36979
36980 glibcxx_cv_func__isnanf_use=no
36981 fi
36982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36983       ac_ext=c
36984 ac_cpp='$CPP $CPPFLAGS'
36985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36988
36989
36990 fi
36991
36992   fi
36993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
36994 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
36995
36996     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36997
36998 for ac_func in _isnanf
36999 do
37000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37001 echo "$as_me:$LINENO: checking for $ac_func" >&5
37002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37003 if eval "test \"\${$as_ac_var+set}\" = set"; then
37004   echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006   if test x$gcc_no_link = xyes; then
37007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37009    { (exit 1); exit 1; }; }
37010 fi
37011 cat >conftest.$ac_ext <<_ACEOF
37012 /* confdefs.h.  */
37013 _ACEOF
37014 cat confdefs.h >>conftest.$ac_ext
37015 cat >>conftest.$ac_ext <<_ACEOF
37016 /* end confdefs.h.  */
37017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37019 #define $ac_func innocuous_$ac_func
37020
37021 /* System header to define __stub macros and hopefully few prototypes,
37022     which can conflict with char $ac_func (); below.
37023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37024     <limits.h> exists even on freestanding compilers.  */
37025
37026 #ifdef __STDC__
37027 # include <limits.h>
37028 #else
37029 # include <assert.h>
37030 #endif
37031
37032 #undef $ac_func
37033
37034 /* Override any gcc2 internal prototype to avoid an error.  */
37035 #ifdef __cplusplus
37036 extern "C"
37037 {
37038 #endif
37039 /* We use char because int might match the return type of a gcc2
37040    builtin and then its argument prototype would still apply.  */
37041 char $ac_func ();
37042 /* The GNU C library defines this for functions which it implements
37043     to always fail with ENOSYS.  Some functions are actually named
37044     something starting with __ and the normal name is an alias.  */
37045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37046 choke me
37047 #else
37048 char (*f) () = $ac_func;
37049 #endif
37050 #ifdef __cplusplus
37051 }
37052 #endif
37053
37054 int
37055 main ()
37056 {
37057 return f != $ac_func;
37058   ;
37059   return 0;
37060 }
37061 _ACEOF
37062 rm -f conftest.$ac_objext conftest$ac_exeext
37063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37064   (eval $ac_link) 2>conftest.er1
37065   ac_status=$?
37066   grep -v '^ *+' conftest.er1 >conftest.err
37067   rm -f conftest.er1
37068   cat conftest.err >&5
37069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070   (exit $ac_status); } &&
37071          { ac_try='test -z "$ac_c_werror_flag"
37072                          || test ! -s conftest.err'
37073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37074   (eval $ac_try) 2>&5
37075   ac_status=$?
37076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077   (exit $ac_status); }; } &&
37078          { ac_try='test -s conftest$ac_exeext'
37079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080   (eval $ac_try) 2>&5
37081   ac_status=$?
37082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083   (exit $ac_status); }; }; then
37084   eval "$as_ac_var=yes"
37085 else
37086   echo "$as_me: failed program was:" >&5
37087 sed 's/^/| /' conftest.$ac_ext >&5
37088
37089 eval "$as_ac_var=no"
37090 fi
37091 rm -f conftest.err conftest.$ac_objext \
37092       conftest$ac_exeext conftest.$ac_ext
37093 fi
37094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37096 if test `eval echo '${'$as_ac_var'}'` = yes; then
37097   cat >>confdefs.h <<_ACEOF
37098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37099 _ACEOF
37100
37101 fi
37102 done
37103
37104     fi
37105   fi
37106
37107
37108
37109
37110
37111
37112   echo "$as_me:$LINENO: checking for isinff declaration" >&5
37113 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37114   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37115     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37116   echo $ECHO_N "(cached) $ECHO_C" >&6
37117 else
37118
37119
37120
37121       ac_ext=cc
37122 ac_cpp='$CXXCPP $CPPFLAGS'
37123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37126
37127       cat >conftest.$ac_ext <<_ACEOF
37128 /* confdefs.h.  */
37129 _ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h.  */
37133 #include <math.h>
37134                       #ifdef HAVE_IEEEFP_H
37135                       #include <ieeefp.h>
37136                       #endif
37137
37138 int
37139 main ()
37140 {
37141  isinff(0);
37142   ;
37143   return 0;
37144 }
37145 _ACEOF
37146 rm -f conftest.$ac_objext
37147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37148   (eval $ac_compile) 2>conftest.er1
37149   ac_status=$?
37150   grep -v '^ *+' conftest.er1 >conftest.err
37151   rm -f conftest.er1
37152   cat conftest.err >&5
37153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154   (exit $ac_status); } &&
37155          { ac_try='test -z "$ac_cxx_werror_flag"
37156                          || test ! -s conftest.err'
37157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37158   (eval $ac_try) 2>&5
37159   ac_status=$?
37160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161   (exit $ac_status); }; } &&
37162          { ac_try='test -s conftest.$ac_objext'
37163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37164   (eval $ac_try) 2>&5
37165   ac_status=$?
37166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167   (exit $ac_status); }; }; then
37168   glibcxx_cv_func_isinff_use=yes
37169 else
37170   echo "$as_me: failed program was:" >&5
37171 sed 's/^/| /' conftest.$ac_ext >&5
37172
37173 glibcxx_cv_func_isinff_use=no
37174 fi
37175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37176       ac_ext=c
37177 ac_cpp='$CPP $CPPFLAGS'
37178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37181
37182
37183 fi
37184
37185   fi
37186   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37187 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37188
37189   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37190
37191 for ac_func in isinff
37192 do
37193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37194 echo "$as_me:$LINENO: checking for $ac_func" >&5
37195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37196 if eval "test \"\${$as_ac_var+set}\" = set"; then
37197   echo $ECHO_N "(cached) $ECHO_C" >&6
37198 else
37199   if test x$gcc_no_link = xyes; then
37200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37202    { (exit 1); exit 1; }; }
37203 fi
37204 cat >conftest.$ac_ext <<_ACEOF
37205 /* confdefs.h.  */
37206 _ACEOF
37207 cat confdefs.h >>conftest.$ac_ext
37208 cat >>conftest.$ac_ext <<_ACEOF
37209 /* end confdefs.h.  */
37210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37212 #define $ac_func innocuous_$ac_func
37213
37214 /* System header to define __stub macros and hopefully few prototypes,
37215     which can conflict with char $ac_func (); below.
37216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37217     <limits.h> exists even on freestanding compilers.  */
37218
37219 #ifdef __STDC__
37220 # include <limits.h>
37221 #else
37222 # include <assert.h>
37223 #endif
37224
37225 #undef $ac_func
37226
37227 /* Override any gcc2 internal prototype to avoid an error.  */
37228 #ifdef __cplusplus
37229 extern "C"
37230 {
37231 #endif
37232 /* We use char because int might match the return type of a gcc2
37233    builtin and then its argument prototype would still apply.  */
37234 char $ac_func ();
37235 /* The GNU C library defines this for functions which it implements
37236     to always fail with ENOSYS.  Some functions are actually named
37237     something starting with __ and the normal name is an alias.  */
37238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37239 choke me
37240 #else
37241 char (*f) () = $ac_func;
37242 #endif
37243 #ifdef __cplusplus
37244 }
37245 #endif
37246
37247 int
37248 main ()
37249 {
37250 return f != $ac_func;
37251   ;
37252   return 0;
37253 }
37254 _ACEOF
37255 rm -f conftest.$ac_objext conftest$ac_exeext
37256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37257   (eval $ac_link) 2>conftest.er1
37258   ac_status=$?
37259   grep -v '^ *+' conftest.er1 >conftest.err
37260   rm -f conftest.er1
37261   cat conftest.err >&5
37262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263   (exit $ac_status); } &&
37264          { ac_try='test -z "$ac_c_werror_flag"
37265                          || test ! -s conftest.err'
37266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37267   (eval $ac_try) 2>&5
37268   ac_status=$?
37269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270   (exit $ac_status); }; } &&
37271          { ac_try='test -s conftest$ac_exeext'
37272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37273   (eval $ac_try) 2>&5
37274   ac_status=$?
37275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276   (exit $ac_status); }; }; then
37277   eval "$as_ac_var=yes"
37278 else
37279   echo "$as_me: failed program was:" >&5
37280 sed 's/^/| /' conftest.$ac_ext >&5
37281
37282 eval "$as_ac_var=no"
37283 fi
37284 rm -f conftest.err conftest.$ac_objext \
37285       conftest$ac_exeext conftest.$ac_ext
37286 fi
37287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37289 if test `eval echo '${'$as_ac_var'}'` = yes; then
37290   cat >>confdefs.h <<_ACEOF
37291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37292 _ACEOF
37293
37294 fi
37295 done
37296
37297   else
37298
37299   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37300 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37301   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37302     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37303   echo $ECHO_N "(cached) $ECHO_C" >&6
37304 else
37305
37306
37307
37308       ac_ext=cc
37309 ac_cpp='$CXXCPP $CPPFLAGS'
37310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37313
37314       cat >conftest.$ac_ext <<_ACEOF
37315 /* confdefs.h.  */
37316 _ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h.  */
37320 #include <math.h>
37321                       #ifdef HAVE_IEEEFP_H
37322                       #include <ieeefp.h>
37323                       #endif
37324
37325 int
37326 main ()
37327 {
37328  _isinff(0);
37329   ;
37330   return 0;
37331 }
37332 _ACEOF
37333 rm -f conftest.$ac_objext
37334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37335   (eval $ac_compile) 2>conftest.er1
37336   ac_status=$?
37337   grep -v '^ *+' conftest.er1 >conftest.err
37338   rm -f conftest.er1
37339   cat conftest.err >&5
37340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341   (exit $ac_status); } &&
37342          { ac_try='test -z "$ac_cxx_werror_flag"
37343                          || test ! -s conftest.err'
37344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37345   (eval $ac_try) 2>&5
37346   ac_status=$?
37347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348   (exit $ac_status); }; } &&
37349          { ac_try='test -s conftest.$ac_objext'
37350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37351   (eval $ac_try) 2>&5
37352   ac_status=$?
37353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354   (exit $ac_status); }; }; then
37355   glibcxx_cv_func__isinff_use=yes
37356 else
37357   echo "$as_me: failed program was:" >&5
37358 sed 's/^/| /' conftest.$ac_ext >&5
37359
37360 glibcxx_cv_func__isinff_use=no
37361 fi
37362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37363       ac_ext=c
37364 ac_cpp='$CPP $CPPFLAGS'
37365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37368
37369
37370 fi
37371
37372   fi
37373   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37374 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37375
37376     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37377
37378 for ac_func in _isinff
37379 do
37380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37381 echo "$as_me:$LINENO: checking for $ac_func" >&5
37382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37383 if eval "test \"\${$as_ac_var+set}\" = set"; then
37384   echo $ECHO_N "(cached) $ECHO_C" >&6
37385 else
37386   if test x$gcc_no_link = xyes; then
37387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37389    { (exit 1); exit 1; }; }
37390 fi
37391 cat >conftest.$ac_ext <<_ACEOF
37392 /* confdefs.h.  */
37393 _ACEOF
37394 cat confdefs.h >>conftest.$ac_ext
37395 cat >>conftest.$ac_ext <<_ACEOF
37396 /* end confdefs.h.  */
37397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37399 #define $ac_func innocuous_$ac_func
37400
37401 /* System header to define __stub macros and hopefully few prototypes,
37402     which can conflict with char $ac_func (); below.
37403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37404     <limits.h> exists even on freestanding compilers.  */
37405
37406 #ifdef __STDC__
37407 # include <limits.h>
37408 #else
37409 # include <assert.h>
37410 #endif
37411
37412 #undef $ac_func
37413
37414 /* Override any gcc2 internal prototype to avoid an error.  */
37415 #ifdef __cplusplus
37416 extern "C"
37417 {
37418 #endif
37419 /* We use char because int might match the return type of a gcc2
37420    builtin and then its argument prototype would still apply.  */
37421 char $ac_func ();
37422 /* The GNU C library defines this for functions which it implements
37423     to always fail with ENOSYS.  Some functions are actually named
37424     something starting with __ and the normal name is an alias.  */
37425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37426 choke me
37427 #else
37428 char (*f) () = $ac_func;
37429 #endif
37430 #ifdef __cplusplus
37431 }
37432 #endif
37433
37434 int
37435 main ()
37436 {
37437 return f != $ac_func;
37438   ;
37439   return 0;
37440 }
37441 _ACEOF
37442 rm -f conftest.$ac_objext conftest$ac_exeext
37443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37444   (eval $ac_link) 2>conftest.er1
37445   ac_status=$?
37446   grep -v '^ *+' conftest.er1 >conftest.err
37447   rm -f conftest.er1
37448   cat conftest.err >&5
37449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450   (exit $ac_status); } &&
37451          { ac_try='test -z "$ac_c_werror_flag"
37452                          || test ! -s conftest.err'
37453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37454   (eval $ac_try) 2>&5
37455   ac_status=$?
37456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457   (exit $ac_status); }; } &&
37458          { ac_try='test -s conftest$ac_exeext'
37459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37460   (eval $ac_try) 2>&5
37461   ac_status=$?
37462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463   (exit $ac_status); }; }; then
37464   eval "$as_ac_var=yes"
37465 else
37466   echo "$as_me: failed program was:" >&5
37467 sed 's/^/| /' conftest.$ac_ext >&5
37468
37469 eval "$as_ac_var=no"
37470 fi
37471 rm -f conftest.err conftest.$ac_objext \
37472       conftest$ac_exeext conftest.$ac_ext
37473 fi
37474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37476 if test `eval echo '${'$as_ac_var'}'` = yes; then
37477   cat >>confdefs.h <<_ACEOF
37478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37479 _ACEOF
37480
37481 fi
37482 done
37483
37484     fi
37485   fi
37486
37487
37488
37489
37490
37491
37492   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37493 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37494   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37495     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37496   echo $ECHO_N "(cached) $ECHO_C" >&6
37497 else
37498
37499
37500
37501       ac_ext=cc
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506
37507       cat >conftest.$ac_ext <<_ACEOF
37508 /* confdefs.h.  */
37509 _ACEOF
37510 cat confdefs.h >>conftest.$ac_ext
37511 cat >>conftest.$ac_ext <<_ACEOF
37512 /* end confdefs.h.  */
37513 #include <math.h>
37514 int
37515 main ()
37516 {
37517  atan2f(0, 0);
37518   ;
37519   return 0;
37520 }
37521 _ACEOF
37522 rm -f conftest.$ac_objext
37523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37524   (eval $ac_compile) 2>conftest.er1
37525   ac_status=$?
37526   grep -v '^ *+' conftest.er1 >conftest.err
37527   rm -f conftest.er1
37528   cat conftest.err >&5
37529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37530   (exit $ac_status); } &&
37531          { ac_try='test -z "$ac_cxx_werror_flag"
37532                          || test ! -s conftest.err'
37533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534   (eval $ac_try) 2>&5
37535   ac_status=$?
37536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537   (exit $ac_status); }; } &&
37538          { ac_try='test -s conftest.$ac_objext'
37539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37540   (eval $ac_try) 2>&5
37541   ac_status=$?
37542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543   (exit $ac_status); }; }; then
37544   glibcxx_cv_func_atan2f_use=yes
37545 else
37546   echo "$as_me: failed program was:" >&5
37547 sed 's/^/| /' conftest.$ac_ext >&5
37548
37549 glibcxx_cv_func_atan2f_use=no
37550 fi
37551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37552       ac_ext=c
37553 ac_cpp='$CPP $CPPFLAGS'
37554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557
37558
37559 fi
37560
37561   fi
37562   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37563 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37564
37565   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37566
37567 for ac_func in atan2f
37568 do
37569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37570 echo "$as_me:$LINENO: checking for $ac_func" >&5
37571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37572 if eval "test \"\${$as_ac_var+set}\" = set"; then
37573   echo $ECHO_N "(cached) $ECHO_C" >&6
37574 else
37575   if test x$gcc_no_link = xyes; then
37576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37578    { (exit 1); exit 1; }; }
37579 fi
37580 cat >conftest.$ac_ext <<_ACEOF
37581 /* confdefs.h.  */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h.  */
37586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37588 #define $ac_func innocuous_$ac_func
37589
37590 /* System header to define __stub macros and hopefully few prototypes,
37591     which can conflict with char $ac_func (); below.
37592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37593     <limits.h> exists even on freestanding compilers.  */
37594
37595 #ifdef __STDC__
37596 # include <limits.h>
37597 #else
37598 # include <assert.h>
37599 #endif
37600
37601 #undef $ac_func
37602
37603 /* Override any gcc2 internal prototype to avoid an error.  */
37604 #ifdef __cplusplus
37605 extern "C"
37606 {
37607 #endif
37608 /* We use char because int might match the return type of a gcc2
37609    builtin and then its argument prototype would still apply.  */
37610 char $ac_func ();
37611 /* The GNU C library defines this for functions which it implements
37612     to always fail with ENOSYS.  Some functions are actually named
37613     something starting with __ and the normal name is an alias.  */
37614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37615 choke me
37616 #else
37617 char (*f) () = $ac_func;
37618 #endif
37619 #ifdef __cplusplus
37620 }
37621 #endif
37622
37623 int
37624 main ()
37625 {
37626 return f != $ac_func;
37627   ;
37628   return 0;
37629 }
37630 _ACEOF
37631 rm -f conftest.$ac_objext conftest$ac_exeext
37632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37633   (eval $ac_link) 2>conftest.er1
37634   ac_status=$?
37635   grep -v '^ *+' conftest.er1 >conftest.err
37636   rm -f conftest.er1
37637   cat conftest.err >&5
37638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639   (exit $ac_status); } &&
37640          { ac_try='test -z "$ac_c_werror_flag"
37641                          || test ! -s conftest.err'
37642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37643   (eval $ac_try) 2>&5
37644   ac_status=$?
37645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646   (exit $ac_status); }; } &&
37647          { ac_try='test -s conftest$ac_exeext'
37648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37649   (eval $ac_try) 2>&5
37650   ac_status=$?
37651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652   (exit $ac_status); }; }; then
37653   eval "$as_ac_var=yes"
37654 else
37655   echo "$as_me: failed program was:" >&5
37656 sed 's/^/| /' conftest.$ac_ext >&5
37657
37658 eval "$as_ac_var=no"
37659 fi
37660 rm -f conftest.err conftest.$ac_objext \
37661       conftest$ac_exeext conftest.$ac_ext
37662 fi
37663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37665 if test `eval echo '${'$as_ac_var'}'` = yes; then
37666   cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37668 _ACEOF
37669
37670 fi
37671 done
37672
37673   else
37674
37675   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37676 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37677   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37678     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37679   echo $ECHO_N "(cached) $ECHO_C" >&6
37680 else
37681
37682
37683
37684       ac_ext=cc
37685 ac_cpp='$CXXCPP $CPPFLAGS'
37686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37689
37690       cat >conftest.$ac_ext <<_ACEOF
37691 /* confdefs.h.  */
37692 _ACEOF
37693 cat confdefs.h >>conftest.$ac_ext
37694 cat >>conftest.$ac_ext <<_ACEOF
37695 /* end confdefs.h.  */
37696 #include <math.h>
37697 int
37698 main ()
37699 {
37700  _atan2f(0, 0);
37701   ;
37702   return 0;
37703 }
37704 _ACEOF
37705 rm -f conftest.$ac_objext
37706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37707   (eval $ac_compile) 2>conftest.er1
37708   ac_status=$?
37709   grep -v '^ *+' conftest.er1 >conftest.err
37710   rm -f conftest.er1
37711   cat conftest.err >&5
37712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713   (exit $ac_status); } &&
37714          { ac_try='test -z "$ac_cxx_werror_flag"
37715                          || test ! -s conftest.err'
37716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717   (eval $ac_try) 2>&5
37718   ac_status=$?
37719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720   (exit $ac_status); }; } &&
37721          { ac_try='test -s conftest.$ac_objext'
37722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37723   (eval $ac_try) 2>&5
37724   ac_status=$?
37725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726   (exit $ac_status); }; }; then
37727   glibcxx_cv_func__atan2f_use=yes
37728 else
37729   echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.$ac_ext >&5
37731
37732 glibcxx_cv_func__atan2f_use=no
37733 fi
37734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37735       ac_ext=c
37736 ac_cpp='$CPP $CPPFLAGS'
37737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37740
37741
37742 fi
37743
37744   fi
37745   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37746 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37747
37748     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37749
37750 for ac_func in _atan2f
37751 do
37752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37753 echo "$as_me:$LINENO: checking for $ac_func" >&5
37754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37755 if eval "test \"\${$as_ac_var+set}\" = set"; then
37756   echo $ECHO_N "(cached) $ECHO_C" >&6
37757 else
37758   if test x$gcc_no_link = xyes; then
37759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37761    { (exit 1); exit 1; }; }
37762 fi
37763 cat >conftest.$ac_ext <<_ACEOF
37764 /* confdefs.h.  */
37765 _ACEOF
37766 cat confdefs.h >>conftest.$ac_ext
37767 cat >>conftest.$ac_ext <<_ACEOF
37768 /* end confdefs.h.  */
37769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37771 #define $ac_func innocuous_$ac_func
37772
37773 /* System header to define __stub macros and hopefully few prototypes,
37774     which can conflict with char $ac_func (); below.
37775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37776     <limits.h> exists even on freestanding compilers.  */
37777
37778 #ifdef __STDC__
37779 # include <limits.h>
37780 #else
37781 # include <assert.h>
37782 #endif
37783
37784 #undef $ac_func
37785
37786 /* Override any gcc2 internal prototype to avoid an error.  */
37787 #ifdef __cplusplus
37788 extern "C"
37789 {
37790 #endif
37791 /* We use char because int might match the return type of a gcc2
37792    builtin and then its argument prototype would still apply.  */
37793 char $ac_func ();
37794 /* The GNU C library defines this for functions which it implements
37795     to always fail with ENOSYS.  Some functions are actually named
37796     something starting with __ and the normal name is an alias.  */
37797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37798 choke me
37799 #else
37800 char (*f) () = $ac_func;
37801 #endif
37802 #ifdef __cplusplus
37803 }
37804 #endif
37805
37806 int
37807 main ()
37808 {
37809 return f != $ac_func;
37810   ;
37811   return 0;
37812 }
37813 _ACEOF
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37816   (eval $ac_link) 2>conftest.er1
37817   ac_status=$?
37818   grep -v '^ *+' conftest.er1 >conftest.err
37819   rm -f conftest.er1
37820   cat conftest.err >&5
37821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822   (exit $ac_status); } &&
37823          { ac_try='test -z "$ac_c_werror_flag"
37824                          || test ! -s conftest.err'
37825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826   (eval $ac_try) 2>&5
37827   ac_status=$?
37828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829   (exit $ac_status); }; } &&
37830          { ac_try='test -s conftest$ac_exeext'
37831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832   (eval $ac_try) 2>&5
37833   ac_status=$?
37834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835   (exit $ac_status); }; }; then
37836   eval "$as_ac_var=yes"
37837 else
37838   echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37840
37841 eval "$as_ac_var=no"
37842 fi
37843 rm -f conftest.err conftest.$ac_objext \
37844       conftest$ac_exeext conftest.$ac_ext
37845 fi
37846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37848 if test `eval echo '${'$as_ac_var'}'` = yes; then
37849   cat >>confdefs.h <<_ACEOF
37850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37851 _ACEOF
37852
37853 fi
37854 done
37855
37856     fi
37857   fi
37858
37859
37860
37861
37862
37863
37864   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37865 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37866   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37867     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37868   echo $ECHO_N "(cached) $ECHO_C" >&6
37869 else
37870
37871
37872
37873       ac_ext=cc
37874 ac_cpp='$CXXCPP $CPPFLAGS'
37875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37878
37879       cat >conftest.$ac_ext <<_ACEOF
37880 /* confdefs.h.  */
37881 _ACEOF
37882 cat confdefs.h >>conftest.$ac_ext
37883 cat >>conftest.$ac_ext <<_ACEOF
37884 /* end confdefs.h.  */
37885 #include <math.h>
37886                       #ifdef HAVE_IEEEFP_H
37887                       #include <ieeefp.h>
37888                       #endif
37889
37890 int
37891 main ()
37892 {
37893  fabsf(0);
37894   ;
37895   return 0;
37896 }
37897 _ACEOF
37898 rm -f conftest.$ac_objext
37899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37900   (eval $ac_compile) 2>conftest.er1
37901   ac_status=$?
37902   grep -v '^ *+' conftest.er1 >conftest.err
37903   rm -f conftest.er1
37904   cat conftest.err >&5
37905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906   (exit $ac_status); } &&
37907          { ac_try='test -z "$ac_cxx_werror_flag"
37908                          || test ! -s conftest.err'
37909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37910   (eval $ac_try) 2>&5
37911   ac_status=$?
37912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913   (exit $ac_status); }; } &&
37914          { ac_try='test -s conftest.$ac_objext'
37915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37916   (eval $ac_try) 2>&5
37917   ac_status=$?
37918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37919   (exit $ac_status); }; }; then
37920   glibcxx_cv_func_fabsf_use=yes
37921 else
37922   echo "$as_me: failed program was:" >&5
37923 sed 's/^/| /' conftest.$ac_ext >&5
37924
37925 glibcxx_cv_func_fabsf_use=no
37926 fi
37927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37928       ac_ext=c
37929 ac_cpp='$CPP $CPPFLAGS'
37930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37933
37934
37935 fi
37936
37937   fi
37938   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37939 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37940
37941   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37942
37943 for ac_func in fabsf
37944 do
37945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37946 echo "$as_me:$LINENO: checking for $ac_func" >&5
37947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37948 if eval "test \"\${$as_ac_var+set}\" = set"; then
37949   echo $ECHO_N "(cached) $ECHO_C" >&6
37950 else
37951   if test x$gcc_no_link = xyes; then
37952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37954    { (exit 1); exit 1; }; }
37955 fi
37956 cat >conftest.$ac_ext <<_ACEOF
37957 /* confdefs.h.  */
37958 _ACEOF
37959 cat confdefs.h >>conftest.$ac_ext
37960 cat >>conftest.$ac_ext <<_ACEOF
37961 /* end confdefs.h.  */
37962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37964 #define $ac_func innocuous_$ac_func
37965
37966 /* System header to define __stub macros and hopefully few prototypes,
37967     which can conflict with char $ac_func (); below.
37968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37969     <limits.h> exists even on freestanding compilers.  */
37970
37971 #ifdef __STDC__
37972 # include <limits.h>
37973 #else
37974 # include <assert.h>
37975 #endif
37976
37977 #undef $ac_func
37978
37979 /* Override any gcc2 internal prototype to avoid an error.  */
37980 #ifdef __cplusplus
37981 extern "C"
37982 {
37983 #endif
37984 /* We use char because int might match the return type of a gcc2
37985    builtin and then its argument prototype would still apply.  */
37986 char $ac_func ();
37987 /* The GNU C library defines this for functions which it implements
37988     to always fail with ENOSYS.  Some functions are actually named
37989     something starting with __ and the normal name is an alias.  */
37990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37991 choke me
37992 #else
37993 char (*f) () = $ac_func;
37994 #endif
37995 #ifdef __cplusplus
37996 }
37997 #endif
37998
37999 int
38000 main ()
38001 {
38002 return f != $ac_func;
38003   ;
38004   return 0;
38005 }
38006 _ACEOF
38007 rm -f conftest.$ac_objext conftest$ac_exeext
38008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38009   (eval $ac_link) 2>conftest.er1
38010   ac_status=$?
38011   grep -v '^ *+' conftest.er1 >conftest.err
38012   rm -f conftest.er1
38013   cat conftest.err >&5
38014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015   (exit $ac_status); } &&
38016          { ac_try='test -z "$ac_c_werror_flag"
38017                          || test ! -s conftest.err'
38018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38019   (eval $ac_try) 2>&5
38020   ac_status=$?
38021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022   (exit $ac_status); }; } &&
38023          { ac_try='test -s conftest$ac_exeext'
38024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38025   (eval $ac_try) 2>&5
38026   ac_status=$?
38027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38028   (exit $ac_status); }; }; then
38029   eval "$as_ac_var=yes"
38030 else
38031   echo "$as_me: failed program was:" >&5
38032 sed 's/^/| /' conftest.$ac_ext >&5
38033
38034 eval "$as_ac_var=no"
38035 fi
38036 rm -f conftest.err conftest.$ac_objext \
38037       conftest$ac_exeext conftest.$ac_ext
38038 fi
38039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38041 if test `eval echo '${'$as_ac_var'}'` = yes; then
38042   cat >>confdefs.h <<_ACEOF
38043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38044 _ACEOF
38045
38046 fi
38047 done
38048
38049   else
38050
38051   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38052 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38053   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38054     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38055   echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057
38058
38059
38060       ac_ext=cc
38061 ac_cpp='$CXXCPP $CPPFLAGS'
38062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065
38066       cat >conftest.$ac_ext <<_ACEOF
38067 /* confdefs.h.  */
38068 _ACEOF
38069 cat confdefs.h >>conftest.$ac_ext
38070 cat >>conftest.$ac_ext <<_ACEOF
38071 /* end confdefs.h.  */
38072 #include <math.h>
38073                       #ifdef HAVE_IEEEFP_H
38074                       #include <ieeefp.h>
38075                       #endif
38076
38077 int
38078 main ()
38079 {
38080  _fabsf(0);
38081   ;
38082   return 0;
38083 }
38084 _ACEOF
38085 rm -f conftest.$ac_objext
38086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38087   (eval $ac_compile) 2>conftest.er1
38088   ac_status=$?
38089   grep -v '^ *+' conftest.er1 >conftest.err
38090   rm -f conftest.er1
38091   cat conftest.err >&5
38092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093   (exit $ac_status); } &&
38094          { ac_try='test -z "$ac_cxx_werror_flag"
38095                          || test ! -s conftest.err'
38096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097   (eval $ac_try) 2>&5
38098   ac_status=$?
38099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100   (exit $ac_status); }; } &&
38101          { ac_try='test -s conftest.$ac_objext'
38102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38103   (eval $ac_try) 2>&5
38104   ac_status=$?
38105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106   (exit $ac_status); }; }; then
38107   glibcxx_cv_func__fabsf_use=yes
38108 else
38109   echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.$ac_ext >&5
38111
38112 glibcxx_cv_func__fabsf_use=no
38113 fi
38114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38115       ac_ext=c
38116 ac_cpp='$CPP $CPPFLAGS'
38117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38120
38121
38122 fi
38123
38124   fi
38125   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38126 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38127
38128     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38129
38130 for ac_func in _fabsf
38131 do
38132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133 echo "$as_me:$LINENO: checking for $ac_func" >&5
38134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38135 if eval "test \"\${$as_ac_var+set}\" = set"; then
38136   echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138   if test x$gcc_no_link = xyes; then
38139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38141    { (exit 1); exit 1; }; }
38142 fi
38143 cat >conftest.$ac_ext <<_ACEOF
38144 /* confdefs.h.  */
38145 _ACEOF
38146 cat confdefs.h >>conftest.$ac_ext
38147 cat >>conftest.$ac_ext <<_ACEOF
38148 /* end confdefs.h.  */
38149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38151 #define $ac_func innocuous_$ac_func
38152
38153 /* System header to define __stub macros and hopefully few prototypes,
38154     which can conflict with char $ac_func (); below.
38155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38156     <limits.h> exists even on freestanding compilers.  */
38157
38158 #ifdef __STDC__
38159 # include <limits.h>
38160 #else
38161 # include <assert.h>
38162 #endif
38163
38164 #undef $ac_func
38165
38166 /* Override any gcc2 internal prototype to avoid an error.  */
38167 #ifdef __cplusplus
38168 extern "C"
38169 {
38170 #endif
38171 /* We use char because int might match the return type of a gcc2
38172    builtin and then its argument prototype would still apply.  */
38173 char $ac_func ();
38174 /* The GNU C library defines this for functions which it implements
38175     to always fail with ENOSYS.  Some functions are actually named
38176     something starting with __ and the normal name is an alias.  */
38177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38178 choke me
38179 #else
38180 char (*f) () = $ac_func;
38181 #endif
38182 #ifdef __cplusplus
38183 }
38184 #endif
38185
38186 int
38187 main ()
38188 {
38189 return f != $ac_func;
38190   ;
38191   return 0;
38192 }
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38196   (eval $ac_link) 2>conftest.er1
38197   ac_status=$?
38198   grep -v '^ *+' conftest.er1 >conftest.err
38199   rm -f conftest.er1
38200   cat conftest.err >&5
38201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202   (exit $ac_status); } &&
38203          { ac_try='test -z "$ac_c_werror_flag"
38204                          || test ! -s conftest.err'
38205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206   (eval $ac_try) 2>&5
38207   ac_status=$?
38208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209   (exit $ac_status); }; } &&
38210          { ac_try='test -s conftest$ac_exeext'
38211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212   (eval $ac_try) 2>&5
38213   ac_status=$?
38214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215   (exit $ac_status); }; }; then
38216   eval "$as_ac_var=yes"
38217 else
38218   echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38220
38221 eval "$as_ac_var=no"
38222 fi
38223 rm -f conftest.err conftest.$ac_objext \
38224       conftest$ac_exeext conftest.$ac_ext
38225 fi
38226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38228 if test `eval echo '${'$as_ac_var'}'` = yes; then
38229   cat >>confdefs.h <<_ACEOF
38230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38231 _ACEOF
38232
38233 fi
38234 done
38235
38236     fi
38237   fi
38238
38239
38240
38241
38242
38243
38244   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38245 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38246   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38247     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38248   echo $ECHO_N "(cached) $ECHO_C" >&6
38249 else
38250
38251
38252
38253       ac_ext=cc
38254 ac_cpp='$CXXCPP $CPPFLAGS'
38255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38258
38259       cat >conftest.$ac_ext <<_ACEOF
38260 /* confdefs.h.  */
38261 _ACEOF
38262 cat confdefs.h >>conftest.$ac_ext
38263 cat >>conftest.$ac_ext <<_ACEOF
38264 /* end confdefs.h.  */
38265 #include <math.h>
38266 int
38267 main ()
38268 {
38269  fmodf(0, 0);
38270   ;
38271   return 0;
38272 }
38273 _ACEOF
38274 rm -f conftest.$ac_objext
38275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38276   (eval $ac_compile) 2>conftest.er1
38277   ac_status=$?
38278   grep -v '^ *+' conftest.er1 >conftest.err
38279   rm -f conftest.er1
38280   cat conftest.err >&5
38281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282   (exit $ac_status); } &&
38283          { ac_try='test -z "$ac_cxx_werror_flag"
38284                          || test ! -s conftest.err'
38285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286   (eval $ac_try) 2>&5
38287   ac_status=$?
38288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289   (exit $ac_status); }; } &&
38290          { ac_try='test -s conftest.$ac_objext'
38291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38292   (eval $ac_try) 2>&5
38293   ac_status=$?
38294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295   (exit $ac_status); }; }; then
38296   glibcxx_cv_func_fmodf_use=yes
38297 else
38298   echo "$as_me: failed program was:" >&5
38299 sed 's/^/| /' conftest.$ac_ext >&5
38300
38301 glibcxx_cv_func_fmodf_use=no
38302 fi
38303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38304       ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309
38310
38311 fi
38312
38313   fi
38314   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38315 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38316
38317   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38318
38319 for ac_func in fmodf
38320 do
38321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38322 echo "$as_me:$LINENO: checking for $ac_func" >&5
38323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38324 if eval "test \"\${$as_ac_var+set}\" = set"; then
38325   echo $ECHO_N "(cached) $ECHO_C" >&6
38326 else
38327   if test x$gcc_no_link = xyes; then
38328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38330    { (exit 1); exit 1; }; }
38331 fi
38332 cat >conftest.$ac_ext <<_ACEOF
38333 /* confdefs.h.  */
38334 _ACEOF
38335 cat confdefs.h >>conftest.$ac_ext
38336 cat >>conftest.$ac_ext <<_ACEOF
38337 /* end confdefs.h.  */
38338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38340 #define $ac_func innocuous_$ac_func
38341
38342 /* System header to define __stub macros and hopefully few prototypes,
38343     which can conflict with char $ac_func (); below.
38344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38345     <limits.h> exists even on freestanding compilers.  */
38346
38347 #ifdef __STDC__
38348 # include <limits.h>
38349 #else
38350 # include <assert.h>
38351 #endif
38352
38353 #undef $ac_func
38354
38355 /* Override any gcc2 internal prototype to avoid an error.  */
38356 #ifdef __cplusplus
38357 extern "C"
38358 {
38359 #endif
38360 /* We use char because int might match the return type of a gcc2
38361    builtin and then its argument prototype would still apply.  */
38362 char $ac_func ();
38363 /* The GNU C library defines this for functions which it implements
38364     to always fail with ENOSYS.  Some functions are actually named
38365     something starting with __ and the normal name is an alias.  */
38366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38367 choke me
38368 #else
38369 char (*f) () = $ac_func;
38370 #endif
38371 #ifdef __cplusplus
38372 }
38373 #endif
38374
38375 int
38376 main ()
38377 {
38378 return f != $ac_func;
38379   ;
38380   return 0;
38381 }
38382 _ACEOF
38383 rm -f conftest.$ac_objext conftest$ac_exeext
38384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38385   (eval $ac_link) 2>conftest.er1
38386   ac_status=$?
38387   grep -v '^ *+' conftest.er1 >conftest.err
38388   rm -f conftest.er1
38389   cat conftest.err >&5
38390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391   (exit $ac_status); } &&
38392          { ac_try='test -z "$ac_c_werror_flag"
38393                          || test ! -s conftest.err'
38394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395   (eval $ac_try) 2>&5
38396   ac_status=$?
38397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398   (exit $ac_status); }; } &&
38399          { ac_try='test -s conftest$ac_exeext'
38400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38401   (eval $ac_try) 2>&5
38402   ac_status=$?
38403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404   (exit $ac_status); }; }; then
38405   eval "$as_ac_var=yes"
38406 else
38407   echo "$as_me: failed program was:" >&5
38408 sed 's/^/| /' conftest.$ac_ext >&5
38409
38410 eval "$as_ac_var=no"
38411 fi
38412 rm -f conftest.err conftest.$ac_objext \
38413       conftest$ac_exeext conftest.$ac_ext
38414 fi
38415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38417 if test `eval echo '${'$as_ac_var'}'` = yes; then
38418   cat >>confdefs.h <<_ACEOF
38419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38420 _ACEOF
38421
38422 fi
38423 done
38424
38425   else
38426
38427   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38428 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38429   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38430     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38431   echo $ECHO_N "(cached) $ECHO_C" >&6
38432 else
38433
38434
38435
38436       ac_ext=cc
38437 ac_cpp='$CXXCPP $CPPFLAGS'
38438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38441
38442       cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h.  */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h.  */
38448 #include <math.h>
38449 int
38450 main ()
38451 {
38452  _fmodf(0, 0);
38453   ;
38454   return 0;
38455 }
38456 _ACEOF
38457 rm -f conftest.$ac_objext
38458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38459   (eval $ac_compile) 2>conftest.er1
38460   ac_status=$?
38461   grep -v '^ *+' conftest.er1 >conftest.err
38462   rm -f conftest.er1
38463   cat conftest.err >&5
38464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465   (exit $ac_status); } &&
38466          { ac_try='test -z "$ac_cxx_werror_flag"
38467                          || test ! -s conftest.err'
38468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469   (eval $ac_try) 2>&5
38470   ac_status=$?
38471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472   (exit $ac_status); }; } &&
38473          { ac_try='test -s conftest.$ac_objext'
38474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38475   (eval $ac_try) 2>&5
38476   ac_status=$?
38477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478   (exit $ac_status); }; }; then
38479   glibcxx_cv_func__fmodf_use=yes
38480 else
38481   echo "$as_me: failed program was:" >&5
38482 sed 's/^/| /' conftest.$ac_ext >&5
38483
38484 glibcxx_cv_func__fmodf_use=no
38485 fi
38486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38487       ac_ext=c
38488 ac_cpp='$CPP $CPPFLAGS'
38489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38492
38493
38494 fi
38495
38496   fi
38497   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38498 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38499
38500     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38501
38502 for ac_func in _fmodf
38503 do
38504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38505 echo "$as_me:$LINENO: checking for $ac_func" >&5
38506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38507 if eval "test \"\${$as_ac_var+set}\" = set"; then
38508   echo $ECHO_N "(cached) $ECHO_C" >&6
38509 else
38510   if test x$gcc_no_link = xyes; then
38511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38513    { (exit 1); exit 1; }; }
38514 fi
38515 cat >conftest.$ac_ext <<_ACEOF
38516 /* confdefs.h.  */
38517 _ACEOF
38518 cat confdefs.h >>conftest.$ac_ext
38519 cat >>conftest.$ac_ext <<_ACEOF
38520 /* end confdefs.h.  */
38521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38523 #define $ac_func innocuous_$ac_func
38524
38525 /* System header to define __stub macros and hopefully few prototypes,
38526     which can conflict with char $ac_func (); below.
38527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38528     <limits.h> exists even on freestanding compilers.  */
38529
38530 #ifdef __STDC__
38531 # include <limits.h>
38532 #else
38533 # include <assert.h>
38534 #endif
38535
38536 #undef $ac_func
38537
38538 /* Override any gcc2 internal prototype to avoid an error.  */
38539 #ifdef __cplusplus
38540 extern "C"
38541 {
38542 #endif
38543 /* We use char because int might match the return type of a gcc2
38544    builtin and then its argument prototype would still apply.  */
38545 char $ac_func ();
38546 /* The GNU C library defines this for functions which it implements
38547     to always fail with ENOSYS.  Some functions are actually named
38548     something starting with __ and the normal name is an alias.  */
38549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38550 choke me
38551 #else
38552 char (*f) () = $ac_func;
38553 #endif
38554 #ifdef __cplusplus
38555 }
38556 #endif
38557
38558 int
38559 main ()
38560 {
38561 return f != $ac_func;
38562   ;
38563   return 0;
38564 }
38565 _ACEOF
38566 rm -f conftest.$ac_objext conftest$ac_exeext
38567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38568   (eval $ac_link) 2>conftest.er1
38569   ac_status=$?
38570   grep -v '^ *+' conftest.er1 >conftest.err
38571   rm -f conftest.er1
38572   cat conftest.err >&5
38573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574   (exit $ac_status); } &&
38575          { ac_try='test -z "$ac_c_werror_flag"
38576                          || test ! -s conftest.err'
38577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38578   (eval $ac_try) 2>&5
38579   ac_status=$?
38580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581   (exit $ac_status); }; } &&
38582          { ac_try='test -s conftest$ac_exeext'
38583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38584   (eval $ac_try) 2>&5
38585   ac_status=$?
38586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587   (exit $ac_status); }; }; then
38588   eval "$as_ac_var=yes"
38589 else
38590   echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38592
38593 eval "$as_ac_var=no"
38594 fi
38595 rm -f conftest.err conftest.$ac_objext \
38596       conftest$ac_exeext conftest.$ac_ext
38597 fi
38598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38600 if test `eval echo '${'$as_ac_var'}'` = yes; then
38601   cat >>confdefs.h <<_ACEOF
38602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38603 _ACEOF
38604
38605 fi
38606 done
38607
38608     fi
38609   fi
38610
38611
38612
38613
38614
38615
38616   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38617 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38618   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38619     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38620   echo $ECHO_N "(cached) $ECHO_C" >&6
38621 else
38622
38623
38624
38625       ac_ext=cc
38626 ac_cpp='$CXXCPP $CPPFLAGS'
38627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38630
38631       cat >conftest.$ac_ext <<_ACEOF
38632 /* confdefs.h.  */
38633 _ACEOF
38634 cat confdefs.h >>conftest.$ac_ext
38635 cat >>conftest.$ac_ext <<_ACEOF
38636 /* end confdefs.h.  */
38637 #include <math.h>
38638 int
38639 main ()
38640 {
38641  frexpf(0, 0);
38642   ;
38643   return 0;
38644 }
38645 _ACEOF
38646 rm -f conftest.$ac_objext
38647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38648   (eval $ac_compile) 2>conftest.er1
38649   ac_status=$?
38650   grep -v '^ *+' conftest.er1 >conftest.err
38651   rm -f conftest.er1
38652   cat conftest.err >&5
38653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654   (exit $ac_status); } &&
38655          { ac_try='test -z "$ac_cxx_werror_flag"
38656                          || test ! -s conftest.err'
38657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38658   (eval $ac_try) 2>&5
38659   ac_status=$?
38660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661   (exit $ac_status); }; } &&
38662          { ac_try='test -s conftest.$ac_objext'
38663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664   (eval $ac_try) 2>&5
38665   ac_status=$?
38666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667   (exit $ac_status); }; }; then
38668   glibcxx_cv_func_frexpf_use=yes
38669 else
38670   echo "$as_me: failed program was:" >&5
38671 sed 's/^/| /' conftest.$ac_ext >&5
38672
38673 glibcxx_cv_func_frexpf_use=no
38674 fi
38675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38676       ac_ext=c
38677 ac_cpp='$CPP $CPPFLAGS'
38678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38681
38682
38683 fi
38684
38685   fi
38686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38687 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38688
38689   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38690
38691 for ac_func in frexpf
38692 do
38693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38694 echo "$as_me:$LINENO: checking for $ac_func" >&5
38695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38696 if eval "test \"\${$as_ac_var+set}\" = set"; then
38697   echo $ECHO_N "(cached) $ECHO_C" >&6
38698 else
38699   if test x$gcc_no_link = xyes; then
38700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38702    { (exit 1); exit 1; }; }
38703 fi
38704 cat >conftest.$ac_ext <<_ACEOF
38705 /* confdefs.h.  */
38706 _ACEOF
38707 cat confdefs.h >>conftest.$ac_ext
38708 cat >>conftest.$ac_ext <<_ACEOF
38709 /* end confdefs.h.  */
38710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38712 #define $ac_func innocuous_$ac_func
38713
38714 /* System header to define __stub macros and hopefully few prototypes,
38715     which can conflict with char $ac_func (); below.
38716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38717     <limits.h> exists even on freestanding compilers.  */
38718
38719 #ifdef __STDC__
38720 # include <limits.h>
38721 #else
38722 # include <assert.h>
38723 #endif
38724
38725 #undef $ac_func
38726
38727 /* Override any gcc2 internal prototype to avoid an error.  */
38728 #ifdef __cplusplus
38729 extern "C"
38730 {
38731 #endif
38732 /* We use char because int might match the return type of a gcc2
38733    builtin and then its argument prototype would still apply.  */
38734 char $ac_func ();
38735 /* The GNU C library defines this for functions which it implements
38736     to always fail with ENOSYS.  Some functions are actually named
38737     something starting with __ and the normal name is an alias.  */
38738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38739 choke me
38740 #else
38741 char (*f) () = $ac_func;
38742 #endif
38743 #ifdef __cplusplus
38744 }
38745 #endif
38746
38747 int
38748 main ()
38749 {
38750 return f != $ac_func;
38751   ;
38752   return 0;
38753 }
38754 _ACEOF
38755 rm -f conftest.$ac_objext conftest$ac_exeext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38757   (eval $ac_link) 2>conftest.er1
38758   ac_status=$?
38759   grep -v '^ *+' conftest.er1 >conftest.err
38760   rm -f conftest.er1
38761   cat conftest.err >&5
38762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763   (exit $ac_status); } &&
38764          { ac_try='test -z "$ac_c_werror_flag"
38765                          || test ! -s conftest.err'
38766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38767   (eval $ac_try) 2>&5
38768   ac_status=$?
38769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770   (exit $ac_status); }; } &&
38771          { ac_try='test -s conftest$ac_exeext'
38772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38773   (eval $ac_try) 2>&5
38774   ac_status=$?
38775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776   (exit $ac_status); }; }; then
38777   eval "$as_ac_var=yes"
38778 else
38779   echo "$as_me: failed program was:" >&5
38780 sed 's/^/| /' conftest.$ac_ext >&5
38781
38782 eval "$as_ac_var=no"
38783 fi
38784 rm -f conftest.err conftest.$ac_objext \
38785       conftest$ac_exeext conftest.$ac_ext
38786 fi
38787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38789 if test `eval echo '${'$as_ac_var'}'` = yes; then
38790   cat >>confdefs.h <<_ACEOF
38791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38792 _ACEOF
38793
38794 fi
38795 done
38796
38797   else
38798
38799   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38800 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38801   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38802     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38803   echo $ECHO_N "(cached) $ECHO_C" >&6
38804 else
38805
38806
38807
38808       ac_ext=cc
38809 ac_cpp='$CXXCPP $CPPFLAGS'
38810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38813
38814       cat >conftest.$ac_ext <<_ACEOF
38815 /* confdefs.h.  */
38816 _ACEOF
38817 cat confdefs.h >>conftest.$ac_ext
38818 cat >>conftest.$ac_ext <<_ACEOF
38819 /* end confdefs.h.  */
38820 #include <math.h>
38821 int
38822 main ()
38823 {
38824  _frexpf(0, 0);
38825   ;
38826   return 0;
38827 }
38828 _ACEOF
38829 rm -f conftest.$ac_objext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38831   (eval $ac_compile) 2>conftest.er1
38832   ac_status=$?
38833   grep -v '^ *+' conftest.er1 >conftest.err
38834   rm -f conftest.er1
38835   cat conftest.err >&5
38836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837   (exit $ac_status); } &&
38838          { ac_try='test -z "$ac_cxx_werror_flag"
38839                          || test ! -s conftest.err'
38840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841   (eval $ac_try) 2>&5
38842   ac_status=$?
38843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844   (exit $ac_status); }; } &&
38845          { ac_try='test -s conftest.$ac_objext'
38846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847   (eval $ac_try) 2>&5
38848   ac_status=$?
38849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850   (exit $ac_status); }; }; then
38851   glibcxx_cv_func__frexpf_use=yes
38852 else
38853   echo "$as_me: failed program was:" >&5
38854 sed 's/^/| /' conftest.$ac_ext >&5
38855
38856 glibcxx_cv_func__frexpf_use=no
38857 fi
38858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38859       ac_ext=c
38860 ac_cpp='$CPP $CPPFLAGS'
38861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38864
38865
38866 fi
38867
38868   fi
38869   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38870 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38871
38872     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38873
38874 for ac_func in _frexpf
38875 do
38876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38877 echo "$as_me:$LINENO: checking for $ac_func" >&5
38878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38879 if eval "test \"\${$as_ac_var+set}\" = set"; then
38880   echo $ECHO_N "(cached) $ECHO_C" >&6
38881 else
38882   if test x$gcc_no_link = xyes; then
38883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38885    { (exit 1); exit 1; }; }
38886 fi
38887 cat >conftest.$ac_ext <<_ACEOF
38888 /* confdefs.h.  */
38889 _ACEOF
38890 cat confdefs.h >>conftest.$ac_ext
38891 cat >>conftest.$ac_ext <<_ACEOF
38892 /* end confdefs.h.  */
38893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38895 #define $ac_func innocuous_$ac_func
38896
38897 /* System header to define __stub macros and hopefully few prototypes,
38898     which can conflict with char $ac_func (); below.
38899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38900     <limits.h> exists even on freestanding compilers.  */
38901
38902 #ifdef __STDC__
38903 # include <limits.h>
38904 #else
38905 # include <assert.h>
38906 #endif
38907
38908 #undef $ac_func
38909
38910 /* Override any gcc2 internal prototype to avoid an error.  */
38911 #ifdef __cplusplus
38912 extern "C"
38913 {
38914 #endif
38915 /* We use char because int might match the return type of a gcc2
38916    builtin and then its argument prototype would still apply.  */
38917 char $ac_func ();
38918 /* The GNU C library defines this for functions which it implements
38919     to always fail with ENOSYS.  Some functions are actually named
38920     something starting with __ and the normal name is an alias.  */
38921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38922 choke me
38923 #else
38924 char (*f) () = $ac_func;
38925 #endif
38926 #ifdef __cplusplus
38927 }
38928 #endif
38929
38930 int
38931 main ()
38932 {
38933 return f != $ac_func;
38934   ;
38935   return 0;
38936 }
38937 _ACEOF
38938 rm -f conftest.$ac_objext conftest$ac_exeext
38939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38940   (eval $ac_link) 2>conftest.er1
38941   ac_status=$?
38942   grep -v '^ *+' conftest.er1 >conftest.err
38943   rm -f conftest.er1
38944   cat conftest.err >&5
38945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946   (exit $ac_status); } &&
38947          { ac_try='test -z "$ac_c_werror_flag"
38948                          || test ! -s conftest.err'
38949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950   (eval $ac_try) 2>&5
38951   ac_status=$?
38952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953   (exit $ac_status); }; } &&
38954          { ac_try='test -s conftest$ac_exeext'
38955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956   (eval $ac_try) 2>&5
38957   ac_status=$?
38958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959   (exit $ac_status); }; }; then
38960   eval "$as_ac_var=yes"
38961 else
38962   echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38964
38965 eval "$as_ac_var=no"
38966 fi
38967 rm -f conftest.err conftest.$ac_objext \
38968       conftest$ac_exeext conftest.$ac_ext
38969 fi
38970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38972 if test `eval echo '${'$as_ac_var'}'` = yes; then
38973   cat >>confdefs.h <<_ACEOF
38974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38975 _ACEOF
38976
38977 fi
38978 done
38979
38980     fi
38981   fi
38982
38983
38984
38985
38986
38987
38988   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38989 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38990   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38991     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
38992   echo $ECHO_N "(cached) $ECHO_C" >&6
38993 else
38994
38995
38996
38997       ac_ext=cc
38998 ac_cpp='$CXXCPP $CPPFLAGS'
38999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39002
39003       cat >conftest.$ac_ext <<_ACEOF
39004 /* confdefs.h.  */
39005 _ACEOF
39006 cat confdefs.h >>conftest.$ac_ext
39007 cat >>conftest.$ac_ext <<_ACEOF
39008 /* end confdefs.h.  */
39009 #include <math.h>
39010 int
39011 main ()
39012 {
39013  hypotf(0, 0);
39014   ;
39015   return 0;
39016 }
39017 _ACEOF
39018 rm -f conftest.$ac_objext
39019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39020   (eval $ac_compile) 2>conftest.er1
39021   ac_status=$?
39022   grep -v '^ *+' conftest.er1 >conftest.err
39023   rm -f conftest.er1
39024   cat conftest.err >&5
39025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026   (exit $ac_status); } &&
39027          { ac_try='test -z "$ac_cxx_werror_flag"
39028                          || test ! -s conftest.err'
39029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030   (eval $ac_try) 2>&5
39031   ac_status=$?
39032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033   (exit $ac_status); }; } &&
39034          { ac_try='test -s conftest.$ac_objext'
39035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39036   (eval $ac_try) 2>&5
39037   ac_status=$?
39038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039   (exit $ac_status); }; }; then
39040   glibcxx_cv_func_hypotf_use=yes
39041 else
39042   echo "$as_me: failed program was:" >&5
39043 sed 's/^/| /' conftest.$ac_ext >&5
39044
39045 glibcxx_cv_func_hypotf_use=no
39046 fi
39047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39048       ac_ext=c
39049 ac_cpp='$CPP $CPPFLAGS'
39050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39053
39054
39055 fi
39056
39057   fi
39058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39059 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39060
39061   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39062
39063 for ac_func in hypotf
39064 do
39065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39066 echo "$as_me:$LINENO: checking for $ac_func" >&5
39067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39068 if eval "test \"\${$as_ac_var+set}\" = set"; then
39069   echo $ECHO_N "(cached) $ECHO_C" >&6
39070 else
39071   if test x$gcc_no_link = xyes; then
39072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39074    { (exit 1); exit 1; }; }
39075 fi
39076 cat >conftest.$ac_ext <<_ACEOF
39077 /* confdefs.h.  */
39078 _ACEOF
39079 cat confdefs.h >>conftest.$ac_ext
39080 cat >>conftest.$ac_ext <<_ACEOF
39081 /* end confdefs.h.  */
39082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39084 #define $ac_func innocuous_$ac_func
39085
39086 /* System header to define __stub macros and hopefully few prototypes,
39087     which can conflict with char $ac_func (); below.
39088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39089     <limits.h> exists even on freestanding compilers.  */
39090
39091 #ifdef __STDC__
39092 # include <limits.h>
39093 #else
39094 # include <assert.h>
39095 #endif
39096
39097 #undef $ac_func
39098
39099 /* Override any gcc2 internal prototype to avoid an error.  */
39100 #ifdef __cplusplus
39101 extern "C"
39102 {
39103 #endif
39104 /* We use char because int might match the return type of a gcc2
39105    builtin and then its argument prototype would still apply.  */
39106 char $ac_func ();
39107 /* The GNU C library defines this for functions which it implements
39108     to always fail with ENOSYS.  Some functions are actually named
39109     something starting with __ and the normal name is an alias.  */
39110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39111 choke me
39112 #else
39113 char (*f) () = $ac_func;
39114 #endif
39115 #ifdef __cplusplus
39116 }
39117 #endif
39118
39119 int
39120 main ()
39121 {
39122 return f != $ac_func;
39123   ;
39124   return 0;
39125 }
39126 _ACEOF
39127 rm -f conftest.$ac_objext conftest$ac_exeext
39128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39129   (eval $ac_link) 2>conftest.er1
39130   ac_status=$?
39131   grep -v '^ *+' conftest.er1 >conftest.err
39132   rm -f conftest.er1
39133   cat conftest.err >&5
39134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135   (exit $ac_status); } &&
39136          { ac_try='test -z "$ac_c_werror_flag"
39137                          || test ! -s conftest.err'
39138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139   (eval $ac_try) 2>&5
39140   ac_status=$?
39141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142   (exit $ac_status); }; } &&
39143          { ac_try='test -s conftest$ac_exeext'
39144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145   (eval $ac_try) 2>&5
39146   ac_status=$?
39147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148   (exit $ac_status); }; }; then
39149   eval "$as_ac_var=yes"
39150 else
39151   echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39153
39154 eval "$as_ac_var=no"
39155 fi
39156 rm -f conftest.err conftest.$ac_objext \
39157       conftest$ac_exeext conftest.$ac_ext
39158 fi
39159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39161 if test `eval echo '${'$as_ac_var'}'` = yes; then
39162   cat >>confdefs.h <<_ACEOF
39163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39164 _ACEOF
39165
39166 fi
39167 done
39168
39169   else
39170
39171   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39172 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39173   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39174     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39175   echo $ECHO_N "(cached) $ECHO_C" >&6
39176 else
39177
39178
39179
39180       ac_ext=cc
39181 ac_cpp='$CXXCPP $CPPFLAGS'
39182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39185
39186       cat >conftest.$ac_ext <<_ACEOF
39187 /* confdefs.h.  */
39188 _ACEOF
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h.  */
39192 #include <math.h>
39193 int
39194 main ()
39195 {
39196  _hypotf(0, 0);
39197   ;
39198   return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext
39202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39203   (eval $ac_compile) 2>conftest.er1
39204   ac_status=$?
39205   grep -v '^ *+' conftest.er1 >conftest.err
39206   rm -f conftest.er1
39207   cat conftest.err >&5
39208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209   (exit $ac_status); } &&
39210          { ac_try='test -z "$ac_cxx_werror_flag"
39211                          || test ! -s conftest.err'
39212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213   (eval $ac_try) 2>&5
39214   ac_status=$?
39215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216   (exit $ac_status); }; } &&
39217          { ac_try='test -s conftest.$ac_objext'
39218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39219   (eval $ac_try) 2>&5
39220   ac_status=$?
39221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222   (exit $ac_status); }; }; then
39223   glibcxx_cv_func__hypotf_use=yes
39224 else
39225   echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39227
39228 glibcxx_cv_func__hypotf_use=no
39229 fi
39230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39231       ac_ext=c
39232 ac_cpp='$CPP $CPPFLAGS'
39233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39236
39237
39238 fi
39239
39240   fi
39241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39242 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39243
39244     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39245
39246 for ac_func in _hypotf
39247 do
39248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39249 echo "$as_me:$LINENO: checking for $ac_func" >&5
39250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39251 if eval "test \"\${$as_ac_var+set}\" = set"; then
39252   echo $ECHO_N "(cached) $ECHO_C" >&6
39253 else
39254   if test x$gcc_no_link = xyes; then
39255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39257    { (exit 1); exit 1; }; }
39258 fi
39259 cat >conftest.$ac_ext <<_ACEOF
39260 /* confdefs.h.  */
39261 _ACEOF
39262 cat confdefs.h >>conftest.$ac_ext
39263 cat >>conftest.$ac_ext <<_ACEOF
39264 /* end confdefs.h.  */
39265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39267 #define $ac_func innocuous_$ac_func
39268
39269 /* System header to define __stub macros and hopefully few prototypes,
39270     which can conflict with char $ac_func (); below.
39271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39272     <limits.h> exists even on freestanding compilers.  */
39273
39274 #ifdef __STDC__
39275 # include <limits.h>
39276 #else
39277 # include <assert.h>
39278 #endif
39279
39280 #undef $ac_func
39281
39282 /* Override any gcc2 internal prototype to avoid an error.  */
39283 #ifdef __cplusplus
39284 extern "C"
39285 {
39286 #endif
39287 /* We use char because int might match the return type of a gcc2
39288    builtin and then its argument prototype would still apply.  */
39289 char $ac_func ();
39290 /* The GNU C library defines this for functions which it implements
39291     to always fail with ENOSYS.  Some functions are actually named
39292     something starting with __ and the normal name is an alias.  */
39293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39294 choke me
39295 #else
39296 char (*f) () = $ac_func;
39297 #endif
39298 #ifdef __cplusplus
39299 }
39300 #endif
39301
39302 int
39303 main ()
39304 {
39305 return f != $ac_func;
39306   ;
39307   return 0;
39308 }
39309 _ACEOF
39310 rm -f conftest.$ac_objext conftest$ac_exeext
39311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39312   (eval $ac_link) 2>conftest.er1
39313   ac_status=$?
39314   grep -v '^ *+' conftest.er1 >conftest.err
39315   rm -f conftest.er1
39316   cat conftest.err >&5
39317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318   (exit $ac_status); } &&
39319          { ac_try='test -z "$ac_c_werror_flag"
39320                          || test ! -s conftest.err'
39321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39322   (eval $ac_try) 2>&5
39323   ac_status=$?
39324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325   (exit $ac_status); }; } &&
39326          { ac_try='test -s conftest$ac_exeext'
39327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39328   (eval $ac_try) 2>&5
39329   ac_status=$?
39330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331   (exit $ac_status); }; }; then
39332   eval "$as_ac_var=yes"
39333 else
39334   echo "$as_me: failed program was:" >&5
39335 sed 's/^/| /' conftest.$ac_ext >&5
39336
39337 eval "$as_ac_var=no"
39338 fi
39339 rm -f conftest.err conftest.$ac_objext \
39340       conftest$ac_exeext conftest.$ac_ext
39341 fi
39342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39344 if test `eval echo '${'$as_ac_var'}'` = yes; then
39345   cat >>confdefs.h <<_ACEOF
39346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39347 _ACEOF
39348
39349 fi
39350 done
39351
39352     fi
39353   fi
39354
39355
39356
39357
39358
39359
39360   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39361 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39362   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39363     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39364   echo $ECHO_N "(cached) $ECHO_C" >&6
39365 else
39366
39367
39368
39369       ac_ext=cc
39370 ac_cpp='$CXXCPP $CPPFLAGS'
39371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39374
39375       cat >conftest.$ac_ext <<_ACEOF
39376 /* confdefs.h.  */
39377 _ACEOF
39378 cat confdefs.h >>conftest.$ac_ext
39379 cat >>conftest.$ac_ext <<_ACEOF
39380 /* end confdefs.h.  */
39381 #include <math.h>
39382 int
39383 main ()
39384 {
39385  ldexpf(0, 0);
39386   ;
39387   return 0;
39388 }
39389 _ACEOF
39390 rm -f conftest.$ac_objext
39391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39392   (eval $ac_compile) 2>conftest.er1
39393   ac_status=$?
39394   grep -v '^ *+' conftest.er1 >conftest.err
39395   rm -f conftest.er1
39396   cat conftest.err >&5
39397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398   (exit $ac_status); } &&
39399          { ac_try='test -z "$ac_cxx_werror_flag"
39400                          || test ! -s conftest.err'
39401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39402   (eval $ac_try) 2>&5
39403   ac_status=$?
39404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405   (exit $ac_status); }; } &&
39406          { ac_try='test -s conftest.$ac_objext'
39407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39408   (eval $ac_try) 2>&5
39409   ac_status=$?
39410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39411   (exit $ac_status); }; }; then
39412   glibcxx_cv_func_ldexpf_use=yes
39413 else
39414   echo "$as_me: failed program was:" >&5
39415 sed 's/^/| /' conftest.$ac_ext >&5
39416
39417 glibcxx_cv_func_ldexpf_use=no
39418 fi
39419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39420       ac_ext=c
39421 ac_cpp='$CPP $CPPFLAGS'
39422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39425
39426
39427 fi
39428
39429   fi
39430   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39431 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39432
39433   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39434
39435 for ac_func in ldexpf
39436 do
39437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39438 echo "$as_me:$LINENO: checking for $ac_func" >&5
39439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39440 if eval "test \"\${$as_ac_var+set}\" = set"; then
39441   echo $ECHO_N "(cached) $ECHO_C" >&6
39442 else
39443   if test x$gcc_no_link = xyes; then
39444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39446    { (exit 1); exit 1; }; }
39447 fi
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h.  */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h.  */
39454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39456 #define $ac_func innocuous_$ac_func
39457
39458 /* System header to define __stub macros and hopefully few prototypes,
39459     which can conflict with char $ac_func (); below.
39460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39461     <limits.h> exists even on freestanding compilers.  */
39462
39463 #ifdef __STDC__
39464 # include <limits.h>
39465 #else
39466 # include <assert.h>
39467 #endif
39468
39469 #undef $ac_func
39470
39471 /* Override any gcc2 internal prototype to avoid an error.  */
39472 #ifdef __cplusplus
39473 extern "C"
39474 {
39475 #endif
39476 /* We use char because int might match the return type of a gcc2
39477    builtin and then its argument prototype would still apply.  */
39478 char $ac_func ();
39479 /* The GNU C library defines this for functions which it implements
39480     to always fail with ENOSYS.  Some functions are actually named
39481     something starting with __ and the normal name is an alias.  */
39482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39483 choke me
39484 #else
39485 char (*f) () = $ac_func;
39486 #endif
39487 #ifdef __cplusplus
39488 }
39489 #endif
39490
39491 int
39492 main ()
39493 {
39494 return f != $ac_func;
39495   ;
39496   return 0;
39497 }
39498 _ACEOF
39499 rm -f conftest.$ac_objext conftest$ac_exeext
39500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39501   (eval $ac_link) 2>conftest.er1
39502   ac_status=$?
39503   grep -v '^ *+' conftest.er1 >conftest.err
39504   rm -f conftest.er1
39505   cat conftest.err >&5
39506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507   (exit $ac_status); } &&
39508          { ac_try='test -z "$ac_c_werror_flag"
39509                          || test ! -s conftest.err'
39510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39511   (eval $ac_try) 2>&5
39512   ac_status=$?
39513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39514   (exit $ac_status); }; } &&
39515          { ac_try='test -s conftest$ac_exeext'
39516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39517   (eval $ac_try) 2>&5
39518   ac_status=$?
39519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39520   (exit $ac_status); }; }; then
39521   eval "$as_ac_var=yes"
39522 else
39523   echo "$as_me: failed program was:" >&5
39524 sed 's/^/| /' conftest.$ac_ext >&5
39525
39526 eval "$as_ac_var=no"
39527 fi
39528 rm -f conftest.err conftest.$ac_objext \
39529       conftest$ac_exeext conftest.$ac_ext
39530 fi
39531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39533 if test `eval echo '${'$as_ac_var'}'` = yes; then
39534   cat >>confdefs.h <<_ACEOF
39535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39536 _ACEOF
39537
39538 fi
39539 done
39540
39541   else
39542
39543   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39544 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39545   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39546     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39547   echo $ECHO_N "(cached) $ECHO_C" >&6
39548 else
39549
39550
39551
39552       ac_ext=cc
39553 ac_cpp='$CXXCPP $CPPFLAGS'
39554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39557
39558       cat >conftest.$ac_ext <<_ACEOF
39559 /* confdefs.h.  */
39560 _ACEOF
39561 cat confdefs.h >>conftest.$ac_ext
39562 cat >>conftest.$ac_ext <<_ACEOF
39563 /* end confdefs.h.  */
39564 #include <math.h>
39565 int
39566 main ()
39567 {
39568  _ldexpf(0, 0);
39569   ;
39570   return 0;
39571 }
39572 _ACEOF
39573 rm -f conftest.$ac_objext
39574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39575   (eval $ac_compile) 2>conftest.er1
39576   ac_status=$?
39577   grep -v '^ *+' conftest.er1 >conftest.err
39578   rm -f conftest.er1
39579   cat conftest.err >&5
39580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581   (exit $ac_status); } &&
39582          { ac_try='test -z "$ac_cxx_werror_flag"
39583                          || test ! -s conftest.err'
39584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585   (eval $ac_try) 2>&5
39586   ac_status=$?
39587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588   (exit $ac_status); }; } &&
39589          { ac_try='test -s conftest.$ac_objext'
39590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591   (eval $ac_try) 2>&5
39592   ac_status=$?
39593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594   (exit $ac_status); }; }; then
39595   glibcxx_cv_func__ldexpf_use=yes
39596 else
39597   echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39599
39600 glibcxx_cv_func__ldexpf_use=no
39601 fi
39602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39603       ac_ext=c
39604 ac_cpp='$CPP $CPPFLAGS'
39605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39608
39609
39610 fi
39611
39612   fi
39613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39614 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39615
39616     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39617
39618 for ac_func in _ldexpf
39619 do
39620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39621 echo "$as_me:$LINENO: checking for $ac_func" >&5
39622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39623 if eval "test \"\${$as_ac_var+set}\" = set"; then
39624   echo $ECHO_N "(cached) $ECHO_C" >&6
39625 else
39626   if test x$gcc_no_link = xyes; then
39627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39629    { (exit 1); exit 1; }; }
39630 fi
39631 cat >conftest.$ac_ext <<_ACEOF
39632 /* confdefs.h.  */
39633 _ACEOF
39634 cat confdefs.h >>conftest.$ac_ext
39635 cat >>conftest.$ac_ext <<_ACEOF
39636 /* end confdefs.h.  */
39637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39639 #define $ac_func innocuous_$ac_func
39640
39641 /* System header to define __stub macros and hopefully few prototypes,
39642     which can conflict with char $ac_func (); below.
39643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39644     <limits.h> exists even on freestanding compilers.  */
39645
39646 #ifdef __STDC__
39647 # include <limits.h>
39648 #else
39649 # include <assert.h>
39650 #endif
39651
39652 #undef $ac_func
39653
39654 /* Override any gcc2 internal prototype to avoid an error.  */
39655 #ifdef __cplusplus
39656 extern "C"
39657 {
39658 #endif
39659 /* We use char because int might match the return type of a gcc2
39660    builtin and then its argument prototype would still apply.  */
39661 char $ac_func ();
39662 /* The GNU C library defines this for functions which it implements
39663     to always fail with ENOSYS.  Some functions are actually named
39664     something starting with __ and the normal name is an alias.  */
39665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39666 choke me
39667 #else
39668 char (*f) () = $ac_func;
39669 #endif
39670 #ifdef __cplusplus
39671 }
39672 #endif
39673
39674 int
39675 main ()
39676 {
39677 return f != $ac_func;
39678   ;
39679   return 0;
39680 }
39681 _ACEOF
39682 rm -f conftest.$ac_objext conftest$ac_exeext
39683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39684   (eval $ac_link) 2>conftest.er1
39685   ac_status=$?
39686   grep -v '^ *+' conftest.er1 >conftest.err
39687   rm -f conftest.er1
39688   cat conftest.err >&5
39689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690   (exit $ac_status); } &&
39691          { ac_try='test -z "$ac_c_werror_flag"
39692                          || test ! -s conftest.err'
39693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39694   (eval $ac_try) 2>&5
39695   ac_status=$?
39696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697   (exit $ac_status); }; } &&
39698          { ac_try='test -s conftest$ac_exeext'
39699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39700   (eval $ac_try) 2>&5
39701   ac_status=$?
39702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703   (exit $ac_status); }; }; then
39704   eval "$as_ac_var=yes"
39705 else
39706   echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.$ac_ext >&5
39708
39709 eval "$as_ac_var=no"
39710 fi
39711 rm -f conftest.err conftest.$ac_objext \
39712       conftest$ac_exeext conftest.$ac_ext
39713 fi
39714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39716 if test `eval echo '${'$as_ac_var'}'` = yes; then
39717   cat >>confdefs.h <<_ACEOF
39718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39719 _ACEOF
39720
39721 fi
39722 done
39723
39724     fi
39725   fi
39726
39727
39728
39729
39730
39731
39732   echo "$as_me:$LINENO: checking for logf declaration" >&5
39733 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39734   if test x${glibcxx_cv_func_logf_use+set} != xset; then
39735     if test "${glibcxx_cv_func_logf_use+set}" = set; then
39736   echo $ECHO_N "(cached) $ECHO_C" >&6
39737 else
39738
39739
39740
39741       ac_ext=cc
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39746
39747       cat >conftest.$ac_ext <<_ACEOF
39748 /* confdefs.h.  */
39749 _ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h.  */
39753 #include <math.h>
39754                       #ifdef HAVE_IEEEFP_H
39755                       #include <ieeefp.h>
39756                       #endif
39757
39758 int
39759 main ()
39760 {
39761  logf(0);
39762   ;
39763   return 0;
39764 }
39765 _ACEOF
39766 rm -f conftest.$ac_objext
39767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39768   (eval $ac_compile) 2>conftest.er1
39769   ac_status=$?
39770   grep -v '^ *+' conftest.er1 >conftest.err
39771   rm -f conftest.er1
39772   cat conftest.err >&5
39773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774   (exit $ac_status); } &&
39775          { ac_try='test -z "$ac_cxx_werror_flag"
39776                          || test ! -s conftest.err'
39777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39778   (eval $ac_try) 2>&5
39779   ac_status=$?
39780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781   (exit $ac_status); }; } &&
39782          { ac_try='test -s conftest.$ac_objext'
39783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39784   (eval $ac_try) 2>&5
39785   ac_status=$?
39786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39787   (exit $ac_status); }; }; then
39788   glibcxx_cv_func_logf_use=yes
39789 else
39790   echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 glibcxx_cv_func_logf_use=no
39794 fi
39795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39796       ac_ext=c
39797 ac_cpp='$CPP $CPPFLAGS'
39798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39801
39802
39803 fi
39804
39805   fi
39806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39807 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39808
39809   if test x$glibcxx_cv_func_logf_use = x"yes"; then
39810
39811 for ac_func in logf
39812 do
39813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39814 echo "$as_me:$LINENO: checking for $ac_func" >&5
39815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39816 if eval "test \"\${$as_ac_var+set}\" = set"; then
39817   echo $ECHO_N "(cached) $ECHO_C" >&6
39818 else
39819   if test x$gcc_no_link = xyes; then
39820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39822    { (exit 1); exit 1; }; }
39823 fi
39824 cat >conftest.$ac_ext <<_ACEOF
39825 /* confdefs.h.  */
39826 _ACEOF
39827 cat confdefs.h >>conftest.$ac_ext
39828 cat >>conftest.$ac_ext <<_ACEOF
39829 /* end confdefs.h.  */
39830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39832 #define $ac_func innocuous_$ac_func
39833
39834 /* System header to define __stub macros and hopefully few prototypes,
39835     which can conflict with char $ac_func (); below.
39836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39837     <limits.h> exists even on freestanding compilers.  */
39838
39839 #ifdef __STDC__
39840 # include <limits.h>
39841 #else
39842 # include <assert.h>
39843 #endif
39844
39845 #undef $ac_func
39846
39847 /* Override any gcc2 internal prototype to avoid an error.  */
39848 #ifdef __cplusplus
39849 extern "C"
39850 {
39851 #endif
39852 /* We use char because int might match the return type of a gcc2
39853    builtin and then its argument prototype would still apply.  */
39854 char $ac_func ();
39855 /* The GNU C library defines this for functions which it implements
39856     to always fail with ENOSYS.  Some functions are actually named
39857     something starting with __ and the normal name is an alias.  */
39858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39859 choke me
39860 #else
39861 char (*f) () = $ac_func;
39862 #endif
39863 #ifdef __cplusplus
39864 }
39865 #endif
39866
39867 int
39868 main ()
39869 {
39870 return f != $ac_func;
39871   ;
39872   return 0;
39873 }
39874 _ACEOF
39875 rm -f conftest.$ac_objext conftest$ac_exeext
39876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39877   (eval $ac_link) 2>conftest.er1
39878   ac_status=$?
39879   grep -v '^ *+' conftest.er1 >conftest.err
39880   rm -f conftest.er1
39881   cat conftest.err >&5
39882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883   (exit $ac_status); } &&
39884          { ac_try='test -z "$ac_c_werror_flag"
39885                          || test ! -s conftest.err'
39886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39887   (eval $ac_try) 2>&5
39888   ac_status=$?
39889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890   (exit $ac_status); }; } &&
39891          { ac_try='test -s conftest$ac_exeext'
39892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39893   (eval $ac_try) 2>&5
39894   ac_status=$?
39895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896   (exit $ac_status); }; }; then
39897   eval "$as_ac_var=yes"
39898 else
39899   echo "$as_me: failed program was:" >&5
39900 sed 's/^/| /' conftest.$ac_ext >&5
39901
39902 eval "$as_ac_var=no"
39903 fi
39904 rm -f conftest.err conftest.$ac_objext \
39905       conftest$ac_exeext conftest.$ac_ext
39906 fi
39907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39909 if test `eval echo '${'$as_ac_var'}'` = yes; then
39910   cat >>confdefs.h <<_ACEOF
39911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39912 _ACEOF
39913
39914 fi
39915 done
39916
39917   else
39918
39919   echo "$as_me:$LINENO: checking for _logf declaration" >&5
39920 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39921   if test x${glibcxx_cv_func__logf_use+set} != xset; then
39922     if test "${glibcxx_cv_func__logf_use+set}" = set; then
39923   echo $ECHO_N "(cached) $ECHO_C" >&6
39924 else
39925
39926
39927
39928       ac_ext=cc
39929 ac_cpp='$CXXCPP $CPPFLAGS'
39930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39933
39934       cat >conftest.$ac_ext <<_ACEOF
39935 /* confdefs.h.  */
39936 _ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h.  */
39940 #include <math.h>
39941                       #ifdef HAVE_IEEEFP_H
39942                       #include <ieeefp.h>
39943                       #endif
39944
39945 int
39946 main ()
39947 {
39948  _logf(0);
39949   ;
39950   return 0;
39951 }
39952 _ACEOF
39953 rm -f conftest.$ac_objext
39954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39955   (eval $ac_compile) 2>conftest.er1
39956   ac_status=$?
39957   grep -v '^ *+' conftest.er1 >conftest.err
39958   rm -f conftest.er1
39959   cat conftest.err >&5
39960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961   (exit $ac_status); } &&
39962          { ac_try='test -z "$ac_cxx_werror_flag"
39963                          || test ! -s conftest.err'
39964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965   (eval $ac_try) 2>&5
39966   ac_status=$?
39967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968   (exit $ac_status); }; } &&
39969          { ac_try='test -s conftest.$ac_objext'
39970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39971   (eval $ac_try) 2>&5
39972   ac_status=$?
39973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974   (exit $ac_status); }; }; then
39975   glibcxx_cv_func__logf_use=yes
39976 else
39977   echo "$as_me: failed program was:" >&5
39978 sed 's/^/| /' conftest.$ac_ext >&5
39979
39980 glibcxx_cv_func__logf_use=no
39981 fi
39982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39983       ac_ext=c
39984 ac_cpp='$CPP $CPPFLAGS'
39985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39988
39989
39990 fi
39991
39992   fi
39993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
39994 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
39995
39996     if test x$glibcxx_cv_func__logf_use = x"yes"; then
39997
39998 for ac_func in _logf
39999 do
40000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40001 echo "$as_me:$LINENO: checking for $ac_func" >&5
40002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40003 if eval "test \"\${$as_ac_var+set}\" = set"; then
40004   echo $ECHO_N "(cached) $ECHO_C" >&6
40005 else
40006   if test x$gcc_no_link = xyes; then
40007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40009    { (exit 1); exit 1; }; }
40010 fi
40011 cat >conftest.$ac_ext <<_ACEOF
40012 /* confdefs.h.  */
40013 _ACEOF
40014 cat confdefs.h >>conftest.$ac_ext
40015 cat >>conftest.$ac_ext <<_ACEOF
40016 /* end confdefs.h.  */
40017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40019 #define $ac_func innocuous_$ac_func
40020
40021 /* System header to define __stub macros and hopefully few prototypes,
40022     which can conflict with char $ac_func (); below.
40023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40024     <limits.h> exists even on freestanding compilers.  */
40025
40026 #ifdef __STDC__
40027 # include <limits.h>
40028 #else
40029 # include <assert.h>
40030 #endif
40031
40032 #undef $ac_func
40033
40034 /* Override any gcc2 internal prototype to avoid an error.  */
40035 #ifdef __cplusplus
40036 extern "C"
40037 {
40038 #endif
40039 /* We use char because int might match the return type of a gcc2
40040    builtin and then its argument prototype would still apply.  */
40041 char $ac_func ();
40042 /* The GNU C library defines this for functions which it implements
40043     to always fail with ENOSYS.  Some functions are actually named
40044     something starting with __ and the normal name is an alias.  */
40045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40046 choke me
40047 #else
40048 char (*f) () = $ac_func;
40049 #endif
40050 #ifdef __cplusplus
40051 }
40052 #endif
40053
40054 int
40055 main ()
40056 {
40057 return f != $ac_func;
40058   ;
40059   return 0;
40060 }
40061 _ACEOF
40062 rm -f conftest.$ac_objext conftest$ac_exeext
40063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40064   (eval $ac_link) 2>conftest.er1
40065   ac_status=$?
40066   grep -v '^ *+' conftest.er1 >conftest.err
40067   rm -f conftest.er1
40068   cat conftest.err >&5
40069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070   (exit $ac_status); } &&
40071          { ac_try='test -z "$ac_c_werror_flag"
40072                          || test ! -s conftest.err'
40073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40074   (eval $ac_try) 2>&5
40075   ac_status=$?
40076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077   (exit $ac_status); }; } &&
40078          { ac_try='test -s conftest$ac_exeext'
40079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40080   (eval $ac_try) 2>&5
40081   ac_status=$?
40082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083   (exit $ac_status); }; }; then
40084   eval "$as_ac_var=yes"
40085 else
40086   echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40088
40089 eval "$as_ac_var=no"
40090 fi
40091 rm -f conftest.err conftest.$ac_objext \
40092       conftest$ac_exeext conftest.$ac_ext
40093 fi
40094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40096 if test `eval echo '${'$as_ac_var'}'` = yes; then
40097   cat >>confdefs.h <<_ACEOF
40098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40099 _ACEOF
40100
40101 fi
40102 done
40103
40104     fi
40105   fi
40106
40107
40108
40109
40110
40111
40112   echo "$as_me:$LINENO: checking for log10f declaration" >&5
40113 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40114   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40115     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40116   echo $ECHO_N "(cached) $ECHO_C" >&6
40117 else
40118
40119
40120
40121       ac_ext=cc
40122 ac_cpp='$CXXCPP $CPPFLAGS'
40123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40126
40127       cat >conftest.$ac_ext <<_ACEOF
40128 /* confdefs.h.  */
40129 _ACEOF
40130 cat confdefs.h >>conftest.$ac_ext
40131 cat >>conftest.$ac_ext <<_ACEOF
40132 /* end confdefs.h.  */
40133 #include <math.h>
40134                       #ifdef HAVE_IEEEFP_H
40135                       #include <ieeefp.h>
40136                       #endif
40137
40138 int
40139 main ()
40140 {
40141  log10f(0);
40142   ;
40143   return 0;
40144 }
40145 _ACEOF
40146 rm -f conftest.$ac_objext
40147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40148   (eval $ac_compile) 2>conftest.er1
40149   ac_status=$?
40150   grep -v '^ *+' conftest.er1 >conftest.err
40151   rm -f conftest.er1
40152   cat conftest.err >&5
40153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154   (exit $ac_status); } &&
40155          { ac_try='test -z "$ac_cxx_werror_flag"
40156                          || test ! -s conftest.err'
40157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40158   (eval $ac_try) 2>&5
40159   ac_status=$?
40160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161   (exit $ac_status); }; } &&
40162          { ac_try='test -s conftest.$ac_objext'
40163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40164   (eval $ac_try) 2>&5
40165   ac_status=$?
40166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167   (exit $ac_status); }; }; then
40168   glibcxx_cv_func_log10f_use=yes
40169 else
40170   echo "$as_me: failed program was:" >&5
40171 sed 's/^/| /' conftest.$ac_ext >&5
40172
40173 glibcxx_cv_func_log10f_use=no
40174 fi
40175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40176       ac_ext=c
40177 ac_cpp='$CPP $CPPFLAGS'
40178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40181
40182
40183 fi
40184
40185   fi
40186   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40187 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40188
40189   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40190
40191 for ac_func in log10f
40192 do
40193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40194 echo "$as_me:$LINENO: checking for $ac_func" >&5
40195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40196 if eval "test \"\${$as_ac_var+set}\" = set"; then
40197   echo $ECHO_N "(cached) $ECHO_C" >&6
40198 else
40199   if test x$gcc_no_link = xyes; then
40200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40202    { (exit 1); exit 1; }; }
40203 fi
40204 cat >conftest.$ac_ext <<_ACEOF
40205 /* confdefs.h.  */
40206 _ACEOF
40207 cat confdefs.h >>conftest.$ac_ext
40208 cat >>conftest.$ac_ext <<_ACEOF
40209 /* end confdefs.h.  */
40210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40212 #define $ac_func innocuous_$ac_func
40213
40214 /* System header to define __stub macros and hopefully few prototypes,
40215     which can conflict with char $ac_func (); below.
40216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40217     <limits.h> exists even on freestanding compilers.  */
40218
40219 #ifdef __STDC__
40220 # include <limits.h>
40221 #else
40222 # include <assert.h>
40223 #endif
40224
40225 #undef $ac_func
40226
40227 /* Override any gcc2 internal prototype to avoid an error.  */
40228 #ifdef __cplusplus
40229 extern "C"
40230 {
40231 #endif
40232 /* We use char because int might match the return type of a gcc2
40233    builtin and then its argument prototype would still apply.  */
40234 char $ac_func ();
40235 /* The GNU C library defines this for functions which it implements
40236     to always fail with ENOSYS.  Some functions are actually named
40237     something starting with __ and the normal name is an alias.  */
40238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40239 choke me
40240 #else
40241 char (*f) () = $ac_func;
40242 #endif
40243 #ifdef __cplusplus
40244 }
40245 #endif
40246
40247 int
40248 main ()
40249 {
40250 return f != $ac_func;
40251   ;
40252   return 0;
40253 }
40254 _ACEOF
40255 rm -f conftest.$ac_objext conftest$ac_exeext
40256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40257   (eval $ac_link) 2>conftest.er1
40258   ac_status=$?
40259   grep -v '^ *+' conftest.er1 >conftest.err
40260   rm -f conftest.er1
40261   cat conftest.err >&5
40262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263   (exit $ac_status); } &&
40264          { ac_try='test -z "$ac_c_werror_flag"
40265                          || test ! -s conftest.err'
40266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40267   (eval $ac_try) 2>&5
40268   ac_status=$?
40269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270   (exit $ac_status); }; } &&
40271          { ac_try='test -s conftest$ac_exeext'
40272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40273   (eval $ac_try) 2>&5
40274   ac_status=$?
40275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276   (exit $ac_status); }; }; then
40277   eval "$as_ac_var=yes"
40278 else
40279   echo "$as_me: failed program was:" >&5
40280 sed 's/^/| /' conftest.$ac_ext >&5
40281
40282 eval "$as_ac_var=no"
40283 fi
40284 rm -f conftest.err conftest.$ac_objext \
40285       conftest$ac_exeext conftest.$ac_ext
40286 fi
40287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40289 if test `eval echo '${'$as_ac_var'}'` = yes; then
40290   cat >>confdefs.h <<_ACEOF
40291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40292 _ACEOF
40293
40294 fi
40295 done
40296
40297   else
40298
40299   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40300 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40301   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40302     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40303   echo $ECHO_N "(cached) $ECHO_C" >&6
40304 else
40305
40306
40307
40308       ac_ext=cc
40309 ac_cpp='$CXXCPP $CPPFLAGS'
40310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40313
40314       cat >conftest.$ac_ext <<_ACEOF
40315 /* confdefs.h.  */
40316 _ACEOF
40317 cat confdefs.h >>conftest.$ac_ext
40318 cat >>conftest.$ac_ext <<_ACEOF
40319 /* end confdefs.h.  */
40320 #include <math.h>
40321                       #ifdef HAVE_IEEEFP_H
40322                       #include <ieeefp.h>
40323                       #endif
40324
40325 int
40326 main ()
40327 {
40328  _log10f(0);
40329   ;
40330   return 0;
40331 }
40332 _ACEOF
40333 rm -f conftest.$ac_objext
40334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40335   (eval $ac_compile) 2>conftest.er1
40336   ac_status=$?
40337   grep -v '^ *+' conftest.er1 >conftest.err
40338   rm -f conftest.er1
40339   cat conftest.err >&5
40340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341   (exit $ac_status); } &&
40342          { ac_try='test -z "$ac_cxx_werror_flag"
40343                          || test ! -s conftest.err'
40344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40345   (eval $ac_try) 2>&5
40346   ac_status=$?
40347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348   (exit $ac_status); }; } &&
40349          { ac_try='test -s conftest.$ac_objext'
40350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40351   (eval $ac_try) 2>&5
40352   ac_status=$?
40353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354   (exit $ac_status); }; }; then
40355   glibcxx_cv_func__log10f_use=yes
40356 else
40357   echo "$as_me: failed program was:" >&5
40358 sed 's/^/| /' conftest.$ac_ext >&5
40359
40360 glibcxx_cv_func__log10f_use=no
40361 fi
40362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40363       ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368
40369
40370 fi
40371
40372   fi
40373   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40374 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40375
40376     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40377
40378 for ac_func in _log10f
40379 do
40380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40381 echo "$as_me:$LINENO: checking for $ac_func" >&5
40382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40383 if eval "test \"\${$as_ac_var+set}\" = set"; then
40384   echo $ECHO_N "(cached) $ECHO_C" >&6
40385 else
40386   if test x$gcc_no_link = xyes; then
40387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40389    { (exit 1); exit 1; }; }
40390 fi
40391 cat >conftest.$ac_ext <<_ACEOF
40392 /* confdefs.h.  */
40393 _ACEOF
40394 cat confdefs.h >>conftest.$ac_ext
40395 cat >>conftest.$ac_ext <<_ACEOF
40396 /* end confdefs.h.  */
40397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40399 #define $ac_func innocuous_$ac_func
40400
40401 /* System header to define __stub macros and hopefully few prototypes,
40402     which can conflict with char $ac_func (); below.
40403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40404     <limits.h> exists even on freestanding compilers.  */
40405
40406 #ifdef __STDC__
40407 # include <limits.h>
40408 #else
40409 # include <assert.h>
40410 #endif
40411
40412 #undef $ac_func
40413
40414 /* Override any gcc2 internal prototype to avoid an error.  */
40415 #ifdef __cplusplus
40416 extern "C"
40417 {
40418 #endif
40419 /* We use char because int might match the return type of a gcc2
40420    builtin and then its argument prototype would still apply.  */
40421 char $ac_func ();
40422 /* The GNU C library defines this for functions which it implements
40423     to always fail with ENOSYS.  Some functions are actually named
40424     something starting with __ and the normal name is an alias.  */
40425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40426 choke me
40427 #else
40428 char (*f) () = $ac_func;
40429 #endif
40430 #ifdef __cplusplus
40431 }
40432 #endif
40433
40434 int
40435 main ()
40436 {
40437 return f != $ac_func;
40438   ;
40439   return 0;
40440 }
40441 _ACEOF
40442 rm -f conftest.$ac_objext conftest$ac_exeext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40444   (eval $ac_link) 2>conftest.er1
40445   ac_status=$?
40446   grep -v '^ *+' conftest.er1 >conftest.err
40447   rm -f conftest.er1
40448   cat conftest.err >&5
40449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450   (exit $ac_status); } &&
40451          { ac_try='test -z "$ac_c_werror_flag"
40452                          || test ! -s conftest.err'
40453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454   (eval $ac_try) 2>&5
40455   ac_status=$?
40456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457   (exit $ac_status); }; } &&
40458          { ac_try='test -s conftest$ac_exeext'
40459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460   (eval $ac_try) 2>&5
40461   ac_status=$?
40462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463   (exit $ac_status); }; }; then
40464   eval "$as_ac_var=yes"
40465 else
40466   echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40468
40469 eval "$as_ac_var=no"
40470 fi
40471 rm -f conftest.err conftest.$ac_objext \
40472       conftest$ac_exeext conftest.$ac_ext
40473 fi
40474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40476 if test `eval echo '${'$as_ac_var'}'` = yes; then
40477   cat >>confdefs.h <<_ACEOF
40478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40479 _ACEOF
40480
40481 fi
40482 done
40483
40484     fi
40485   fi
40486
40487
40488
40489
40490
40491
40492   echo "$as_me:$LINENO: checking for modff declaration" >&5
40493 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40494   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40495     if test "${glibcxx_cv_func_modff_use+set}" = set; then
40496   echo $ECHO_N "(cached) $ECHO_C" >&6
40497 else
40498
40499
40500
40501       ac_ext=cc
40502 ac_cpp='$CXXCPP $CPPFLAGS'
40503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40506
40507       cat >conftest.$ac_ext <<_ACEOF
40508 /* confdefs.h.  */
40509 _ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h.  */
40513 #include <math.h>
40514 int
40515 main ()
40516 {
40517  modff(0, 0);
40518   ;
40519   return 0;
40520 }
40521 _ACEOF
40522 rm -f conftest.$ac_objext
40523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40524   (eval $ac_compile) 2>conftest.er1
40525   ac_status=$?
40526   grep -v '^ *+' conftest.er1 >conftest.err
40527   rm -f conftest.er1
40528   cat conftest.err >&5
40529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530   (exit $ac_status); } &&
40531          { ac_try='test -z "$ac_cxx_werror_flag"
40532                          || test ! -s conftest.err'
40533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40534   (eval $ac_try) 2>&5
40535   ac_status=$?
40536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537   (exit $ac_status); }; } &&
40538          { ac_try='test -s conftest.$ac_objext'
40539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40540   (eval $ac_try) 2>&5
40541   ac_status=$?
40542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543   (exit $ac_status); }; }; then
40544   glibcxx_cv_func_modff_use=yes
40545 else
40546   echo "$as_me: failed program was:" >&5
40547 sed 's/^/| /' conftest.$ac_ext >&5
40548
40549 glibcxx_cv_func_modff_use=no
40550 fi
40551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40552       ac_ext=c
40553 ac_cpp='$CPP $CPPFLAGS'
40554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40557
40558
40559 fi
40560
40561   fi
40562   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40563 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40564
40565   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40566
40567 for ac_func in modff
40568 do
40569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40570 echo "$as_me:$LINENO: checking for $ac_func" >&5
40571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40572 if eval "test \"\${$as_ac_var+set}\" = set"; then
40573   echo $ECHO_N "(cached) $ECHO_C" >&6
40574 else
40575   if test x$gcc_no_link = xyes; then
40576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40578    { (exit 1); exit 1; }; }
40579 fi
40580 cat >conftest.$ac_ext <<_ACEOF
40581 /* confdefs.h.  */
40582 _ACEOF
40583 cat confdefs.h >>conftest.$ac_ext
40584 cat >>conftest.$ac_ext <<_ACEOF
40585 /* end confdefs.h.  */
40586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40588 #define $ac_func innocuous_$ac_func
40589
40590 /* System header to define __stub macros and hopefully few prototypes,
40591     which can conflict with char $ac_func (); below.
40592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40593     <limits.h> exists even on freestanding compilers.  */
40594
40595 #ifdef __STDC__
40596 # include <limits.h>
40597 #else
40598 # include <assert.h>
40599 #endif
40600
40601 #undef $ac_func
40602
40603 /* Override any gcc2 internal prototype to avoid an error.  */
40604 #ifdef __cplusplus
40605 extern "C"
40606 {
40607 #endif
40608 /* We use char because int might match the return type of a gcc2
40609    builtin and then its argument prototype would still apply.  */
40610 char $ac_func ();
40611 /* The GNU C library defines this for functions which it implements
40612     to always fail with ENOSYS.  Some functions are actually named
40613     something starting with __ and the normal name is an alias.  */
40614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40615 choke me
40616 #else
40617 char (*f) () = $ac_func;
40618 #endif
40619 #ifdef __cplusplus
40620 }
40621 #endif
40622
40623 int
40624 main ()
40625 {
40626 return f != $ac_func;
40627   ;
40628   return 0;
40629 }
40630 _ACEOF
40631 rm -f conftest.$ac_objext conftest$ac_exeext
40632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40633   (eval $ac_link) 2>conftest.er1
40634   ac_status=$?
40635   grep -v '^ *+' conftest.er1 >conftest.err
40636   rm -f conftest.er1
40637   cat conftest.err >&5
40638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639   (exit $ac_status); } &&
40640          { ac_try='test -z "$ac_c_werror_flag"
40641                          || test ! -s conftest.err'
40642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40643   (eval $ac_try) 2>&5
40644   ac_status=$?
40645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646   (exit $ac_status); }; } &&
40647          { ac_try='test -s conftest$ac_exeext'
40648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40649   (eval $ac_try) 2>&5
40650   ac_status=$?
40651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652   (exit $ac_status); }; }; then
40653   eval "$as_ac_var=yes"
40654 else
40655   echo "$as_me: failed program was:" >&5
40656 sed 's/^/| /' conftest.$ac_ext >&5
40657
40658 eval "$as_ac_var=no"
40659 fi
40660 rm -f conftest.err conftest.$ac_objext \
40661       conftest$ac_exeext conftest.$ac_ext
40662 fi
40663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40665 if test `eval echo '${'$as_ac_var'}'` = yes; then
40666   cat >>confdefs.h <<_ACEOF
40667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40668 _ACEOF
40669
40670 fi
40671 done
40672
40673   else
40674
40675   echo "$as_me:$LINENO: checking for _modff declaration" >&5
40676 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40677   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40678     if test "${glibcxx_cv_func__modff_use+set}" = set; then
40679   echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681
40682
40683
40684       ac_ext=cc
40685 ac_cpp='$CXXCPP $CPPFLAGS'
40686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40689
40690       cat >conftest.$ac_ext <<_ACEOF
40691 /* confdefs.h.  */
40692 _ACEOF
40693 cat confdefs.h >>conftest.$ac_ext
40694 cat >>conftest.$ac_ext <<_ACEOF
40695 /* end confdefs.h.  */
40696 #include <math.h>
40697 int
40698 main ()
40699 {
40700  _modff(0, 0);
40701   ;
40702   return 0;
40703 }
40704 _ACEOF
40705 rm -f conftest.$ac_objext
40706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40707   (eval $ac_compile) 2>conftest.er1
40708   ac_status=$?
40709   grep -v '^ *+' conftest.er1 >conftest.err
40710   rm -f conftest.er1
40711   cat conftest.err >&5
40712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713   (exit $ac_status); } &&
40714          { ac_try='test -z "$ac_cxx_werror_flag"
40715                          || test ! -s conftest.err'
40716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717   (eval $ac_try) 2>&5
40718   ac_status=$?
40719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720   (exit $ac_status); }; } &&
40721          { ac_try='test -s conftest.$ac_objext'
40722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40723   (eval $ac_try) 2>&5
40724   ac_status=$?
40725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726   (exit $ac_status); }; }; then
40727   glibcxx_cv_func__modff_use=yes
40728 else
40729   echo "$as_me: failed program was:" >&5
40730 sed 's/^/| /' conftest.$ac_ext >&5
40731
40732 glibcxx_cv_func__modff_use=no
40733 fi
40734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40735       ac_ext=c
40736 ac_cpp='$CPP $CPPFLAGS'
40737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40740
40741
40742 fi
40743
40744   fi
40745   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40746 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40747
40748     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40749
40750 for ac_func in _modff
40751 do
40752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40753 echo "$as_me:$LINENO: checking for $ac_func" >&5
40754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40755 if eval "test \"\${$as_ac_var+set}\" = set"; then
40756   echo $ECHO_N "(cached) $ECHO_C" >&6
40757 else
40758   if test x$gcc_no_link = xyes; then
40759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40761    { (exit 1); exit 1; }; }
40762 fi
40763 cat >conftest.$ac_ext <<_ACEOF
40764 /* confdefs.h.  */
40765 _ACEOF
40766 cat confdefs.h >>conftest.$ac_ext
40767 cat >>conftest.$ac_ext <<_ACEOF
40768 /* end confdefs.h.  */
40769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40771 #define $ac_func innocuous_$ac_func
40772
40773 /* System header to define __stub macros and hopefully few prototypes,
40774     which can conflict with char $ac_func (); below.
40775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40776     <limits.h> exists even on freestanding compilers.  */
40777
40778 #ifdef __STDC__
40779 # include <limits.h>
40780 #else
40781 # include <assert.h>
40782 #endif
40783
40784 #undef $ac_func
40785
40786 /* Override any gcc2 internal prototype to avoid an error.  */
40787 #ifdef __cplusplus
40788 extern "C"
40789 {
40790 #endif
40791 /* We use char because int might match the return type of a gcc2
40792    builtin and then its argument prototype would still apply.  */
40793 char $ac_func ();
40794 /* The GNU C library defines this for functions which it implements
40795     to always fail with ENOSYS.  Some functions are actually named
40796     something starting with __ and the normal name is an alias.  */
40797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40798 choke me
40799 #else
40800 char (*f) () = $ac_func;
40801 #endif
40802 #ifdef __cplusplus
40803 }
40804 #endif
40805
40806 int
40807 main ()
40808 {
40809 return f != $ac_func;
40810   ;
40811   return 0;
40812 }
40813 _ACEOF
40814 rm -f conftest.$ac_objext conftest$ac_exeext
40815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40816   (eval $ac_link) 2>conftest.er1
40817   ac_status=$?
40818   grep -v '^ *+' conftest.er1 >conftest.err
40819   rm -f conftest.er1
40820   cat conftest.err >&5
40821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822   (exit $ac_status); } &&
40823          { ac_try='test -z "$ac_c_werror_flag"
40824                          || test ! -s conftest.err'
40825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40826   (eval $ac_try) 2>&5
40827   ac_status=$?
40828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829   (exit $ac_status); }; } &&
40830          { ac_try='test -s conftest$ac_exeext'
40831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832   (eval $ac_try) 2>&5
40833   ac_status=$?
40834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835   (exit $ac_status); }; }; then
40836   eval "$as_ac_var=yes"
40837 else
40838   echo "$as_me: failed program was:" >&5
40839 sed 's/^/| /' conftest.$ac_ext >&5
40840
40841 eval "$as_ac_var=no"
40842 fi
40843 rm -f conftest.err conftest.$ac_objext \
40844       conftest$ac_exeext conftest.$ac_ext
40845 fi
40846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40848 if test `eval echo '${'$as_ac_var'}'` = yes; then
40849   cat >>confdefs.h <<_ACEOF
40850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40851 _ACEOF
40852
40853 fi
40854 done
40855
40856     fi
40857   fi
40858
40859
40860
40861
40862
40863
40864   echo "$as_me:$LINENO: checking for modf declaration" >&5
40865 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40866   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40867     if test "${glibcxx_cv_func_modf_use+set}" = set; then
40868   echo $ECHO_N "(cached) $ECHO_C" >&6
40869 else
40870
40871
40872
40873       ac_ext=cc
40874 ac_cpp='$CXXCPP $CPPFLAGS'
40875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40878
40879       cat >conftest.$ac_ext <<_ACEOF
40880 /* confdefs.h.  */
40881 _ACEOF
40882 cat confdefs.h >>conftest.$ac_ext
40883 cat >>conftest.$ac_ext <<_ACEOF
40884 /* end confdefs.h.  */
40885 #include <math.h>
40886 int
40887 main ()
40888 {
40889  modf(0, 0);
40890   ;
40891   return 0;
40892 }
40893 _ACEOF
40894 rm -f conftest.$ac_objext
40895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40896   (eval $ac_compile) 2>conftest.er1
40897   ac_status=$?
40898   grep -v '^ *+' conftest.er1 >conftest.err
40899   rm -f conftest.er1
40900   cat conftest.err >&5
40901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902   (exit $ac_status); } &&
40903          { ac_try='test -z "$ac_cxx_werror_flag"
40904                          || test ! -s conftest.err'
40905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40906   (eval $ac_try) 2>&5
40907   ac_status=$?
40908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909   (exit $ac_status); }; } &&
40910          { ac_try='test -s conftest.$ac_objext'
40911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40912   (eval $ac_try) 2>&5
40913   ac_status=$?
40914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915   (exit $ac_status); }; }; then
40916   glibcxx_cv_func_modf_use=yes
40917 else
40918   echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.$ac_ext >&5
40920
40921 glibcxx_cv_func_modf_use=no
40922 fi
40923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40924       ac_ext=c
40925 ac_cpp='$CPP $CPPFLAGS'
40926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929
40930
40931 fi
40932
40933   fi
40934   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40935 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40936
40937   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40938
40939 for ac_func in modf
40940 do
40941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40942 echo "$as_me:$LINENO: checking for $ac_func" >&5
40943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40944 if eval "test \"\${$as_ac_var+set}\" = set"; then
40945   echo $ECHO_N "(cached) $ECHO_C" >&6
40946 else
40947   if test x$gcc_no_link = xyes; then
40948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40950    { (exit 1); exit 1; }; }
40951 fi
40952 cat >conftest.$ac_ext <<_ACEOF
40953 /* confdefs.h.  */
40954 _ACEOF
40955 cat confdefs.h >>conftest.$ac_ext
40956 cat >>conftest.$ac_ext <<_ACEOF
40957 /* end confdefs.h.  */
40958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40960 #define $ac_func innocuous_$ac_func
40961
40962 /* System header to define __stub macros and hopefully few prototypes,
40963     which can conflict with char $ac_func (); below.
40964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40965     <limits.h> exists even on freestanding compilers.  */
40966
40967 #ifdef __STDC__
40968 # include <limits.h>
40969 #else
40970 # include <assert.h>
40971 #endif
40972
40973 #undef $ac_func
40974
40975 /* Override any gcc2 internal prototype to avoid an error.  */
40976 #ifdef __cplusplus
40977 extern "C"
40978 {
40979 #endif
40980 /* We use char because int might match the return type of a gcc2
40981    builtin and then its argument prototype would still apply.  */
40982 char $ac_func ();
40983 /* The GNU C library defines this for functions which it implements
40984     to always fail with ENOSYS.  Some functions are actually named
40985     something starting with __ and the normal name is an alias.  */
40986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40987 choke me
40988 #else
40989 char (*f) () = $ac_func;
40990 #endif
40991 #ifdef __cplusplus
40992 }
40993 #endif
40994
40995 int
40996 main ()
40997 {
40998 return f != $ac_func;
40999   ;
41000   return 0;
41001 }
41002 _ACEOF
41003 rm -f conftest.$ac_objext conftest$ac_exeext
41004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41005   (eval $ac_link) 2>conftest.er1
41006   ac_status=$?
41007   grep -v '^ *+' conftest.er1 >conftest.err
41008   rm -f conftest.er1
41009   cat conftest.err >&5
41010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011   (exit $ac_status); } &&
41012          { ac_try='test -z "$ac_c_werror_flag"
41013                          || test ! -s conftest.err'
41014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41015   (eval $ac_try) 2>&5
41016   ac_status=$?
41017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018   (exit $ac_status); }; } &&
41019          { ac_try='test -s conftest$ac_exeext'
41020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41021   (eval $ac_try) 2>&5
41022   ac_status=$?
41023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024   (exit $ac_status); }; }; then
41025   eval "$as_ac_var=yes"
41026 else
41027   echo "$as_me: failed program was:" >&5
41028 sed 's/^/| /' conftest.$ac_ext >&5
41029
41030 eval "$as_ac_var=no"
41031 fi
41032 rm -f conftest.err conftest.$ac_objext \
41033       conftest$ac_exeext conftest.$ac_ext
41034 fi
41035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41037 if test `eval echo '${'$as_ac_var'}'` = yes; then
41038   cat >>confdefs.h <<_ACEOF
41039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41040 _ACEOF
41041
41042 fi
41043 done
41044
41045   else
41046
41047   echo "$as_me:$LINENO: checking for _modf declaration" >&5
41048 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41049   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41050     if test "${glibcxx_cv_func__modf_use+set}" = set; then
41051   echo $ECHO_N "(cached) $ECHO_C" >&6
41052 else
41053
41054
41055
41056       ac_ext=cc
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41061
41062       cat >conftest.$ac_ext <<_ACEOF
41063 /* confdefs.h.  */
41064 _ACEOF
41065 cat confdefs.h >>conftest.$ac_ext
41066 cat >>conftest.$ac_ext <<_ACEOF
41067 /* end confdefs.h.  */
41068 #include <math.h>
41069 int
41070 main ()
41071 {
41072  _modf(0, 0);
41073   ;
41074   return 0;
41075 }
41076 _ACEOF
41077 rm -f conftest.$ac_objext
41078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41079   (eval $ac_compile) 2>conftest.er1
41080   ac_status=$?
41081   grep -v '^ *+' conftest.er1 >conftest.err
41082   rm -f conftest.er1
41083   cat conftest.err >&5
41084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085   (exit $ac_status); } &&
41086          { ac_try='test -z "$ac_cxx_werror_flag"
41087                          || test ! -s conftest.err'
41088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41089   (eval $ac_try) 2>&5
41090   ac_status=$?
41091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092   (exit $ac_status); }; } &&
41093          { ac_try='test -s conftest.$ac_objext'
41094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41095   (eval $ac_try) 2>&5
41096   ac_status=$?
41097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098   (exit $ac_status); }; }; then
41099   glibcxx_cv_func__modf_use=yes
41100 else
41101   echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.$ac_ext >&5
41103
41104 glibcxx_cv_func__modf_use=no
41105 fi
41106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41107       ac_ext=c
41108 ac_cpp='$CPP $CPPFLAGS'
41109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41112
41113
41114 fi
41115
41116   fi
41117   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41118 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41119
41120     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41121
41122 for ac_func in _modf
41123 do
41124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41125 echo "$as_me:$LINENO: checking for $ac_func" >&5
41126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41127 if eval "test \"\${$as_ac_var+set}\" = set"; then
41128   echo $ECHO_N "(cached) $ECHO_C" >&6
41129 else
41130   if test x$gcc_no_link = xyes; then
41131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41133    { (exit 1); exit 1; }; }
41134 fi
41135 cat >conftest.$ac_ext <<_ACEOF
41136 /* confdefs.h.  */
41137 _ACEOF
41138 cat confdefs.h >>conftest.$ac_ext
41139 cat >>conftest.$ac_ext <<_ACEOF
41140 /* end confdefs.h.  */
41141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41143 #define $ac_func innocuous_$ac_func
41144
41145 /* System header to define __stub macros and hopefully few prototypes,
41146     which can conflict with char $ac_func (); below.
41147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41148     <limits.h> exists even on freestanding compilers.  */
41149
41150 #ifdef __STDC__
41151 # include <limits.h>
41152 #else
41153 # include <assert.h>
41154 #endif
41155
41156 #undef $ac_func
41157
41158 /* Override any gcc2 internal prototype to avoid an error.  */
41159 #ifdef __cplusplus
41160 extern "C"
41161 {
41162 #endif
41163 /* We use char because int might match the return type of a gcc2
41164    builtin and then its argument prototype would still apply.  */
41165 char $ac_func ();
41166 /* The GNU C library defines this for functions which it implements
41167     to always fail with ENOSYS.  Some functions are actually named
41168     something starting with __ and the normal name is an alias.  */
41169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41170 choke me
41171 #else
41172 char (*f) () = $ac_func;
41173 #endif
41174 #ifdef __cplusplus
41175 }
41176 #endif
41177
41178 int
41179 main ()
41180 {
41181 return f != $ac_func;
41182   ;
41183   return 0;
41184 }
41185 _ACEOF
41186 rm -f conftest.$ac_objext conftest$ac_exeext
41187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41188   (eval $ac_link) 2>conftest.er1
41189   ac_status=$?
41190   grep -v '^ *+' conftest.er1 >conftest.err
41191   rm -f conftest.er1
41192   cat conftest.err >&5
41193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194   (exit $ac_status); } &&
41195          { ac_try='test -z "$ac_c_werror_flag"
41196                          || test ! -s conftest.err'
41197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198   (eval $ac_try) 2>&5
41199   ac_status=$?
41200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201   (exit $ac_status); }; } &&
41202          { ac_try='test -s conftest$ac_exeext'
41203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204   (eval $ac_try) 2>&5
41205   ac_status=$?
41206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207   (exit $ac_status); }; }; then
41208   eval "$as_ac_var=yes"
41209 else
41210   echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41212
41213 eval "$as_ac_var=no"
41214 fi
41215 rm -f conftest.err conftest.$ac_objext \
41216       conftest$ac_exeext conftest.$ac_ext
41217 fi
41218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41220 if test `eval echo '${'$as_ac_var'}'` = yes; then
41221   cat >>confdefs.h <<_ACEOF
41222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41223 _ACEOF
41224
41225 fi
41226 done
41227
41228     fi
41229   fi
41230
41231
41232
41233
41234
41235
41236   echo "$as_me:$LINENO: checking for powf declaration" >&5
41237 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41238   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41239     if test "${glibcxx_cv_func_powf_use+set}" = set; then
41240   echo $ECHO_N "(cached) $ECHO_C" >&6
41241 else
41242
41243
41244
41245       ac_ext=cc
41246 ac_cpp='$CXXCPP $CPPFLAGS'
41247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41250
41251       cat >conftest.$ac_ext <<_ACEOF
41252 /* confdefs.h.  */
41253 _ACEOF
41254 cat confdefs.h >>conftest.$ac_ext
41255 cat >>conftest.$ac_ext <<_ACEOF
41256 /* end confdefs.h.  */
41257 #include <math.h>
41258 int
41259 main ()
41260 {
41261  powf(0, 0);
41262   ;
41263   return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext
41267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41268   (eval $ac_compile) 2>conftest.er1
41269   ac_status=$?
41270   grep -v '^ *+' conftest.er1 >conftest.err
41271   rm -f conftest.er1
41272   cat conftest.err >&5
41273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274   (exit $ac_status); } &&
41275          { ac_try='test -z "$ac_cxx_werror_flag"
41276                          || test ! -s conftest.err'
41277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41278   (eval $ac_try) 2>&5
41279   ac_status=$?
41280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281   (exit $ac_status); }; } &&
41282          { ac_try='test -s conftest.$ac_objext'
41283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41284   (eval $ac_try) 2>&5
41285   ac_status=$?
41286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41287   (exit $ac_status); }; }; then
41288   glibcxx_cv_func_powf_use=yes
41289 else
41290   echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41292
41293 glibcxx_cv_func_powf_use=no
41294 fi
41295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41296       ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301
41302
41303 fi
41304
41305   fi
41306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41307 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41308
41309   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41310
41311 for ac_func in powf
41312 do
41313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41314 echo "$as_me:$LINENO: checking for $ac_func" >&5
41315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41316 if eval "test \"\${$as_ac_var+set}\" = set"; then
41317   echo $ECHO_N "(cached) $ECHO_C" >&6
41318 else
41319   if test x$gcc_no_link = xyes; then
41320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41322    { (exit 1); exit 1; }; }
41323 fi
41324 cat >conftest.$ac_ext <<_ACEOF
41325 /* confdefs.h.  */
41326 _ACEOF
41327 cat confdefs.h >>conftest.$ac_ext
41328 cat >>conftest.$ac_ext <<_ACEOF
41329 /* end confdefs.h.  */
41330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41332 #define $ac_func innocuous_$ac_func
41333
41334 /* System header to define __stub macros and hopefully few prototypes,
41335     which can conflict with char $ac_func (); below.
41336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41337     <limits.h> exists even on freestanding compilers.  */
41338
41339 #ifdef __STDC__
41340 # include <limits.h>
41341 #else
41342 # include <assert.h>
41343 #endif
41344
41345 #undef $ac_func
41346
41347 /* Override any gcc2 internal prototype to avoid an error.  */
41348 #ifdef __cplusplus
41349 extern "C"
41350 {
41351 #endif
41352 /* We use char because int might match the return type of a gcc2
41353    builtin and then its argument prototype would still apply.  */
41354 char $ac_func ();
41355 /* The GNU C library defines this for functions which it implements
41356     to always fail with ENOSYS.  Some functions are actually named
41357     something starting with __ and the normal name is an alias.  */
41358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41359 choke me
41360 #else
41361 char (*f) () = $ac_func;
41362 #endif
41363 #ifdef __cplusplus
41364 }
41365 #endif
41366
41367 int
41368 main ()
41369 {
41370 return f != $ac_func;
41371   ;
41372   return 0;
41373 }
41374 _ACEOF
41375 rm -f conftest.$ac_objext conftest$ac_exeext
41376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41377   (eval $ac_link) 2>conftest.er1
41378   ac_status=$?
41379   grep -v '^ *+' conftest.er1 >conftest.err
41380   rm -f conftest.er1
41381   cat conftest.err >&5
41382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383   (exit $ac_status); } &&
41384          { ac_try='test -z "$ac_c_werror_flag"
41385                          || test ! -s conftest.err'
41386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41387   (eval $ac_try) 2>&5
41388   ac_status=$?
41389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41390   (exit $ac_status); }; } &&
41391          { ac_try='test -s conftest$ac_exeext'
41392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41393   (eval $ac_try) 2>&5
41394   ac_status=$?
41395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396   (exit $ac_status); }; }; then
41397   eval "$as_ac_var=yes"
41398 else
41399   echo "$as_me: failed program was:" >&5
41400 sed 's/^/| /' conftest.$ac_ext >&5
41401
41402 eval "$as_ac_var=no"
41403 fi
41404 rm -f conftest.err conftest.$ac_objext \
41405       conftest$ac_exeext conftest.$ac_ext
41406 fi
41407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41409 if test `eval echo '${'$as_ac_var'}'` = yes; then
41410   cat >>confdefs.h <<_ACEOF
41411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41412 _ACEOF
41413
41414 fi
41415 done
41416
41417   else
41418
41419   echo "$as_me:$LINENO: checking for _powf declaration" >&5
41420 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41421   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41422     if test "${glibcxx_cv_func__powf_use+set}" = set; then
41423   echo $ECHO_N "(cached) $ECHO_C" >&6
41424 else
41425
41426
41427
41428       ac_ext=cc
41429 ac_cpp='$CXXCPP $CPPFLAGS'
41430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41433
41434       cat >conftest.$ac_ext <<_ACEOF
41435 /* confdefs.h.  */
41436 _ACEOF
41437 cat confdefs.h >>conftest.$ac_ext
41438 cat >>conftest.$ac_ext <<_ACEOF
41439 /* end confdefs.h.  */
41440 #include <math.h>
41441 int
41442 main ()
41443 {
41444  _powf(0, 0);
41445   ;
41446   return 0;
41447 }
41448 _ACEOF
41449 rm -f conftest.$ac_objext
41450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41451   (eval $ac_compile) 2>conftest.er1
41452   ac_status=$?
41453   grep -v '^ *+' conftest.er1 >conftest.err
41454   rm -f conftest.er1
41455   cat conftest.err >&5
41456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457   (exit $ac_status); } &&
41458          { ac_try='test -z "$ac_cxx_werror_flag"
41459                          || test ! -s conftest.err'
41460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461   (eval $ac_try) 2>&5
41462   ac_status=$?
41463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464   (exit $ac_status); }; } &&
41465          { ac_try='test -s conftest.$ac_objext'
41466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41467   (eval $ac_try) 2>&5
41468   ac_status=$?
41469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470   (exit $ac_status); }; }; then
41471   glibcxx_cv_func__powf_use=yes
41472 else
41473   echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.$ac_ext >&5
41475
41476 glibcxx_cv_func__powf_use=no
41477 fi
41478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41479       ac_ext=c
41480 ac_cpp='$CPP $CPPFLAGS'
41481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41484
41485
41486 fi
41487
41488   fi
41489   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41490 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41491
41492     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41493
41494 for ac_func in _powf
41495 do
41496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41497 echo "$as_me:$LINENO: checking for $ac_func" >&5
41498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41499 if eval "test \"\${$as_ac_var+set}\" = set"; then
41500   echo $ECHO_N "(cached) $ECHO_C" >&6
41501 else
41502   if test x$gcc_no_link = xyes; then
41503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41505    { (exit 1); exit 1; }; }
41506 fi
41507 cat >conftest.$ac_ext <<_ACEOF
41508 /* confdefs.h.  */
41509 _ACEOF
41510 cat confdefs.h >>conftest.$ac_ext
41511 cat >>conftest.$ac_ext <<_ACEOF
41512 /* end confdefs.h.  */
41513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41515 #define $ac_func innocuous_$ac_func
41516
41517 /* System header to define __stub macros and hopefully few prototypes,
41518     which can conflict with char $ac_func (); below.
41519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41520     <limits.h> exists even on freestanding compilers.  */
41521
41522 #ifdef __STDC__
41523 # include <limits.h>
41524 #else
41525 # include <assert.h>
41526 #endif
41527
41528 #undef $ac_func
41529
41530 /* Override any gcc2 internal prototype to avoid an error.  */
41531 #ifdef __cplusplus
41532 extern "C"
41533 {
41534 #endif
41535 /* We use char because int might match the return type of a gcc2
41536    builtin and then its argument prototype would still apply.  */
41537 char $ac_func ();
41538 /* The GNU C library defines this for functions which it implements
41539     to always fail with ENOSYS.  Some functions are actually named
41540     something starting with __ and the normal name is an alias.  */
41541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41542 choke me
41543 #else
41544 char (*f) () = $ac_func;
41545 #endif
41546 #ifdef __cplusplus
41547 }
41548 #endif
41549
41550 int
41551 main ()
41552 {
41553 return f != $ac_func;
41554   ;
41555   return 0;
41556 }
41557 _ACEOF
41558 rm -f conftest.$ac_objext conftest$ac_exeext
41559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41560   (eval $ac_link) 2>conftest.er1
41561   ac_status=$?
41562   grep -v '^ *+' conftest.er1 >conftest.err
41563   rm -f conftest.er1
41564   cat conftest.err >&5
41565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566   (exit $ac_status); } &&
41567          { ac_try='test -z "$ac_c_werror_flag"
41568                          || test ! -s conftest.err'
41569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41570   (eval $ac_try) 2>&5
41571   ac_status=$?
41572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573   (exit $ac_status); }; } &&
41574          { ac_try='test -s conftest$ac_exeext'
41575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576   (eval $ac_try) 2>&5
41577   ac_status=$?
41578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579   (exit $ac_status); }; }; then
41580   eval "$as_ac_var=yes"
41581 else
41582   echo "$as_me: failed program was:" >&5
41583 sed 's/^/| /' conftest.$ac_ext >&5
41584
41585 eval "$as_ac_var=no"
41586 fi
41587 rm -f conftest.err conftest.$ac_objext \
41588       conftest$ac_exeext conftest.$ac_ext
41589 fi
41590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41592 if test `eval echo '${'$as_ac_var'}'` = yes; then
41593   cat >>confdefs.h <<_ACEOF
41594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41595 _ACEOF
41596
41597 fi
41598 done
41599
41600     fi
41601   fi
41602
41603
41604
41605
41606
41607
41608   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41609 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41610   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41611     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41612   echo $ECHO_N "(cached) $ECHO_C" >&6
41613 else
41614
41615
41616
41617       ac_ext=cc
41618 ac_cpp='$CXXCPP $CPPFLAGS'
41619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41622
41623       cat >conftest.$ac_ext <<_ACEOF
41624 /* confdefs.h.  */
41625 _ACEOF
41626 cat confdefs.h >>conftest.$ac_ext
41627 cat >>conftest.$ac_ext <<_ACEOF
41628 /* end confdefs.h.  */
41629 #include <math.h>
41630                       #ifdef HAVE_IEEEFP_H
41631                       #include <ieeefp.h>
41632                       #endif
41633
41634 int
41635 main ()
41636 {
41637  sqrtf(0);
41638   ;
41639   return 0;
41640 }
41641 _ACEOF
41642 rm -f conftest.$ac_objext
41643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41644   (eval $ac_compile) 2>conftest.er1
41645   ac_status=$?
41646   grep -v '^ *+' conftest.er1 >conftest.err
41647   rm -f conftest.er1
41648   cat conftest.err >&5
41649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650   (exit $ac_status); } &&
41651          { ac_try='test -z "$ac_cxx_werror_flag"
41652                          || test ! -s conftest.err'
41653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41654   (eval $ac_try) 2>&5
41655   ac_status=$?
41656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657   (exit $ac_status); }; } &&
41658          { ac_try='test -s conftest.$ac_objext'
41659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41660   (eval $ac_try) 2>&5
41661   ac_status=$?
41662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663   (exit $ac_status); }; }; then
41664   glibcxx_cv_func_sqrtf_use=yes
41665 else
41666   echo "$as_me: failed program was:" >&5
41667 sed 's/^/| /' conftest.$ac_ext >&5
41668
41669 glibcxx_cv_func_sqrtf_use=no
41670 fi
41671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41672       ac_ext=c
41673 ac_cpp='$CPP $CPPFLAGS'
41674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41677
41678
41679 fi
41680
41681   fi
41682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41683 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41684
41685   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41686
41687 for ac_func in sqrtf
41688 do
41689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41690 echo "$as_me:$LINENO: checking for $ac_func" >&5
41691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41692 if eval "test \"\${$as_ac_var+set}\" = set"; then
41693   echo $ECHO_N "(cached) $ECHO_C" >&6
41694 else
41695   if test x$gcc_no_link = xyes; then
41696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41698    { (exit 1); exit 1; }; }
41699 fi
41700 cat >conftest.$ac_ext <<_ACEOF
41701 /* confdefs.h.  */
41702 _ACEOF
41703 cat confdefs.h >>conftest.$ac_ext
41704 cat >>conftest.$ac_ext <<_ACEOF
41705 /* end confdefs.h.  */
41706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41708 #define $ac_func innocuous_$ac_func
41709
41710 /* System header to define __stub macros and hopefully few prototypes,
41711     which can conflict with char $ac_func (); below.
41712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41713     <limits.h> exists even on freestanding compilers.  */
41714
41715 #ifdef __STDC__
41716 # include <limits.h>
41717 #else
41718 # include <assert.h>
41719 #endif
41720
41721 #undef $ac_func
41722
41723 /* Override any gcc2 internal prototype to avoid an error.  */
41724 #ifdef __cplusplus
41725 extern "C"
41726 {
41727 #endif
41728 /* We use char because int might match the return type of a gcc2
41729    builtin and then its argument prototype would still apply.  */
41730 char $ac_func ();
41731 /* The GNU C library defines this for functions which it implements
41732     to always fail with ENOSYS.  Some functions are actually named
41733     something starting with __ and the normal name is an alias.  */
41734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41735 choke me
41736 #else
41737 char (*f) () = $ac_func;
41738 #endif
41739 #ifdef __cplusplus
41740 }
41741 #endif
41742
41743 int
41744 main ()
41745 {
41746 return f != $ac_func;
41747   ;
41748   return 0;
41749 }
41750 _ACEOF
41751 rm -f conftest.$ac_objext conftest$ac_exeext
41752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41753   (eval $ac_link) 2>conftest.er1
41754   ac_status=$?
41755   grep -v '^ *+' conftest.er1 >conftest.err
41756   rm -f conftest.er1
41757   cat conftest.err >&5
41758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759   (exit $ac_status); } &&
41760          { ac_try='test -z "$ac_c_werror_flag"
41761                          || test ! -s conftest.err'
41762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41763   (eval $ac_try) 2>&5
41764   ac_status=$?
41765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766   (exit $ac_status); }; } &&
41767          { ac_try='test -s conftest$ac_exeext'
41768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41769   (eval $ac_try) 2>&5
41770   ac_status=$?
41771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41772   (exit $ac_status); }; }; then
41773   eval "$as_ac_var=yes"
41774 else
41775   echo "$as_me: failed program was:" >&5
41776 sed 's/^/| /' conftest.$ac_ext >&5
41777
41778 eval "$as_ac_var=no"
41779 fi
41780 rm -f conftest.err conftest.$ac_objext \
41781       conftest$ac_exeext conftest.$ac_ext
41782 fi
41783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41785 if test `eval echo '${'$as_ac_var'}'` = yes; then
41786   cat >>confdefs.h <<_ACEOF
41787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41788 _ACEOF
41789
41790 fi
41791 done
41792
41793   else
41794
41795   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41796 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41797   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41798     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41799   echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801
41802
41803
41804       ac_ext=cc
41805 ac_cpp='$CXXCPP $CPPFLAGS'
41806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41809
41810       cat >conftest.$ac_ext <<_ACEOF
41811 /* confdefs.h.  */
41812 _ACEOF
41813 cat confdefs.h >>conftest.$ac_ext
41814 cat >>conftest.$ac_ext <<_ACEOF
41815 /* end confdefs.h.  */
41816 #include <math.h>
41817                       #ifdef HAVE_IEEEFP_H
41818                       #include <ieeefp.h>
41819                       #endif
41820
41821 int
41822 main ()
41823 {
41824  _sqrtf(0);
41825   ;
41826   return 0;
41827 }
41828 _ACEOF
41829 rm -f conftest.$ac_objext
41830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41831   (eval $ac_compile) 2>conftest.er1
41832   ac_status=$?
41833   grep -v '^ *+' conftest.er1 >conftest.err
41834   rm -f conftest.er1
41835   cat conftest.err >&5
41836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41837   (exit $ac_status); } &&
41838          { ac_try='test -z "$ac_cxx_werror_flag"
41839                          || test ! -s conftest.err'
41840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41841   (eval $ac_try) 2>&5
41842   ac_status=$?
41843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844   (exit $ac_status); }; } &&
41845          { ac_try='test -s conftest.$ac_objext'
41846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41847   (eval $ac_try) 2>&5
41848   ac_status=$?
41849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41850   (exit $ac_status); }; }; then
41851   glibcxx_cv_func__sqrtf_use=yes
41852 else
41853   echo "$as_me: failed program was:" >&5
41854 sed 's/^/| /' conftest.$ac_ext >&5
41855
41856 glibcxx_cv_func__sqrtf_use=no
41857 fi
41858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41859       ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41864
41865
41866 fi
41867
41868   fi
41869   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41870 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41871
41872     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41873
41874 for ac_func in _sqrtf
41875 do
41876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41877 echo "$as_me:$LINENO: checking for $ac_func" >&5
41878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41879 if eval "test \"\${$as_ac_var+set}\" = set"; then
41880   echo $ECHO_N "(cached) $ECHO_C" >&6
41881 else
41882   if test x$gcc_no_link = xyes; then
41883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41885    { (exit 1); exit 1; }; }
41886 fi
41887 cat >conftest.$ac_ext <<_ACEOF
41888 /* confdefs.h.  */
41889 _ACEOF
41890 cat confdefs.h >>conftest.$ac_ext
41891 cat >>conftest.$ac_ext <<_ACEOF
41892 /* end confdefs.h.  */
41893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41895 #define $ac_func innocuous_$ac_func
41896
41897 /* System header to define __stub macros and hopefully few prototypes,
41898     which can conflict with char $ac_func (); below.
41899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41900     <limits.h> exists even on freestanding compilers.  */
41901
41902 #ifdef __STDC__
41903 # include <limits.h>
41904 #else
41905 # include <assert.h>
41906 #endif
41907
41908 #undef $ac_func
41909
41910 /* Override any gcc2 internal prototype to avoid an error.  */
41911 #ifdef __cplusplus
41912 extern "C"
41913 {
41914 #endif
41915 /* We use char because int might match the return type of a gcc2
41916    builtin and then its argument prototype would still apply.  */
41917 char $ac_func ();
41918 /* The GNU C library defines this for functions which it implements
41919     to always fail with ENOSYS.  Some functions are actually named
41920     something starting with __ and the normal name is an alias.  */
41921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41922 choke me
41923 #else
41924 char (*f) () = $ac_func;
41925 #endif
41926 #ifdef __cplusplus
41927 }
41928 #endif
41929
41930 int
41931 main ()
41932 {
41933 return f != $ac_func;
41934   ;
41935   return 0;
41936 }
41937 _ACEOF
41938 rm -f conftest.$ac_objext conftest$ac_exeext
41939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41940   (eval $ac_link) 2>conftest.er1
41941   ac_status=$?
41942   grep -v '^ *+' conftest.er1 >conftest.err
41943   rm -f conftest.er1
41944   cat conftest.err >&5
41945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946   (exit $ac_status); } &&
41947          { ac_try='test -z "$ac_c_werror_flag"
41948                          || test ! -s conftest.err'
41949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41950   (eval $ac_try) 2>&5
41951   ac_status=$?
41952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953   (exit $ac_status); }; } &&
41954          { ac_try='test -s conftest$ac_exeext'
41955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956   (eval $ac_try) 2>&5
41957   ac_status=$?
41958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959   (exit $ac_status); }; }; then
41960   eval "$as_ac_var=yes"
41961 else
41962   echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.$ac_ext >&5
41964
41965 eval "$as_ac_var=no"
41966 fi
41967 rm -f conftest.err conftest.$ac_objext \
41968       conftest$ac_exeext conftest.$ac_ext
41969 fi
41970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41972 if test `eval echo '${'$as_ac_var'}'` = yes; then
41973   cat >>confdefs.h <<_ACEOF
41974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41975 _ACEOF
41976
41977 fi
41978 done
41979
41980     fi
41981   fi
41982
41983
41984
41985
41986
41987
41988   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41989 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41990   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41991     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41992   echo $ECHO_N "(cached) $ECHO_C" >&6
41993 else
41994
41995
41996
41997       ac_ext=cc
41998 ac_cpp='$CXXCPP $CPPFLAGS'
41999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42002
42003       cat >conftest.$ac_ext <<_ACEOF
42004 /* confdefs.h.  */
42005 _ACEOF
42006 cat confdefs.h >>conftest.$ac_ext
42007 cat >>conftest.$ac_ext <<_ACEOF
42008 /* end confdefs.h.  */
42009 #include <math.h>
42010 int
42011 main ()
42012 {
42013  sincosf(0, 0, 0);
42014   ;
42015   return 0;
42016 }
42017 _ACEOF
42018 rm -f conftest.$ac_objext
42019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42020   (eval $ac_compile) 2>conftest.er1
42021   ac_status=$?
42022   grep -v '^ *+' conftest.er1 >conftest.err
42023   rm -f conftest.er1
42024   cat conftest.err >&5
42025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42026   (exit $ac_status); } &&
42027          { ac_try='test -z "$ac_cxx_werror_flag"
42028                          || test ! -s conftest.err'
42029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42030   (eval $ac_try) 2>&5
42031   ac_status=$?
42032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033   (exit $ac_status); }; } &&
42034          { ac_try='test -s conftest.$ac_objext'
42035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42036   (eval $ac_try) 2>&5
42037   ac_status=$?
42038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039   (exit $ac_status); }; }; then
42040   glibcxx_cv_func_sincosf_use=yes
42041 else
42042   echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.$ac_ext >&5
42044
42045 glibcxx_cv_func_sincosf_use=no
42046 fi
42047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42048       ac_ext=c
42049 ac_cpp='$CPP $CPPFLAGS'
42050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42053
42054
42055 fi
42056
42057   fi
42058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42059 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42060
42061   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42062
42063 for ac_func in sincosf
42064 do
42065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42066 echo "$as_me:$LINENO: checking for $ac_func" >&5
42067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42068 if eval "test \"\${$as_ac_var+set}\" = set"; then
42069   echo $ECHO_N "(cached) $ECHO_C" >&6
42070 else
42071   if test x$gcc_no_link = xyes; then
42072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42074    { (exit 1); exit 1; }; }
42075 fi
42076 cat >conftest.$ac_ext <<_ACEOF
42077 /* confdefs.h.  */
42078 _ACEOF
42079 cat confdefs.h >>conftest.$ac_ext
42080 cat >>conftest.$ac_ext <<_ACEOF
42081 /* end confdefs.h.  */
42082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42084 #define $ac_func innocuous_$ac_func
42085
42086 /* System header to define __stub macros and hopefully few prototypes,
42087     which can conflict with char $ac_func (); below.
42088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42089     <limits.h> exists even on freestanding compilers.  */
42090
42091 #ifdef __STDC__
42092 # include <limits.h>
42093 #else
42094 # include <assert.h>
42095 #endif
42096
42097 #undef $ac_func
42098
42099 /* Override any gcc2 internal prototype to avoid an error.  */
42100 #ifdef __cplusplus
42101 extern "C"
42102 {
42103 #endif
42104 /* We use char because int might match the return type of a gcc2
42105    builtin and then its argument prototype would still apply.  */
42106 char $ac_func ();
42107 /* The GNU C library defines this for functions which it implements
42108     to always fail with ENOSYS.  Some functions are actually named
42109     something starting with __ and the normal name is an alias.  */
42110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42111 choke me
42112 #else
42113 char (*f) () = $ac_func;
42114 #endif
42115 #ifdef __cplusplus
42116 }
42117 #endif
42118
42119 int
42120 main ()
42121 {
42122 return f != $ac_func;
42123   ;
42124   return 0;
42125 }
42126 _ACEOF
42127 rm -f conftest.$ac_objext conftest$ac_exeext
42128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42129   (eval $ac_link) 2>conftest.er1
42130   ac_status=$?
42131   grep -v '^ *+' conftest.er1 >conftest.err
42132   rm -f conftest.er1
42133   cat conftest.err >&5
42134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135   (exit $ac_status); } &&
42136          { ac_try='test -z "$ac_c_werror_flag"
42137                          || test ! -s conftest.err'
42138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42139   (eval $ac_try) 2>&5
42140   ac_status=$?
42141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142   (exit $ac_status); }; } &&
42143          { ac_try='test -s conftest$ac_exeext'
42144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42145   (eval $ac_try) 2>&5
42146   ac_status=$?
42147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148   (exit $ac_status); }; }; then
42149   eval "$as_ac_var=yes"
42150 else
42151   echo "$as_me: failed program was:" >&5
42152 sed 's/^/| /' conftest.$ac_ext >&5
42153
42154 eval "$as_ac_var=no"
42155 fi
42156 rm -f conftest.err conftest.$ac_objext \
42157       conftest$ac_exeext conftest.$ac_ext
42158 fi
42159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42161 if test `eval echo '${'$as_ac_var'}'` = yes; then
42162   cat >>confdefs.h <<_ACEOF
42163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42164 _ACEOF
42165
42166 fi
42167 done
42168
42169   else
42170
42171   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42172 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42173   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42174     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42175   echo $ECHO_N "(cached) $ECHO_C" >&6
42176 else
42177
42178
42179
42180       ac_ext=cc
42181 ac_cpp='$CXXCPP $CPPFLAGS'
42182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42185
42186       cat >conftest.$ac_ext <<_ACEOF
42187 /* confdefs.h.  */
42188 _ACEOF
42189 cat confdefs.h >>conftest.$ac_ext
42190 cat >>conftest.$ac_ext <<_ACEOF
42191 /* end confdefs.h.  */
42192 #include <math.h>
42193 int
42194 main ()
42195 {
42196  _sincosf(0, 0, 0);
42197   ;
42198   return 0;
42199 }
42200 _ACEOF
42201 rm -f conftest.$ac_objext
42202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42203   (eval $ac_compile) 2>conftest.er1
42204   ac_status=$?
42205   grep -v '^ *+' conftest.er1 >conftest.err
42206   rm -f conftest.er1
42207   cat conftest.err >&5
42208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209   (exit $ac_status); } &&
42210          { ac_try='test -z "$ac_cxx_werror_flag"
42211                          || test ! -s conftest.err'
42212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42213   (eval $ac_try) 2>&5
42214   ac_status=$?
42215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42216   (exit $ac_status); }; } &&
42217          { ac_try='test -s conftest.$ac_objext'
42218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42219   (eval $ac_try) 2>&5
42220   ac_status=$?
42221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42222   (exit $ac_status); }; }; then
42223   glibcxx_cv_func__sincosf_use=yes
42224 else
42225   echo "$as_me: failed program was:" >&5
42226 sed 's/^/| /' conftest.$ac_ext >&5
42227
42228 glibcxx_cv_func__sincosf_use=no
42229 fi
42230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42231       ac_ext=c
42232 ac_cpp='$CPP $CPPFLAGS'
42233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42236
42237
42238 fi
42239
42240   fi
42241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42242 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42243
42244     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42245
42246 for ac_func in _sincosf
42247 do
42248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42249 echo "$as_me:$LINENO: checking for $ac_func" >&5
42250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42251 if eval "test \"\${$as_ac_var+set}\" = set"; then
42252   echo $ECHO_N "(cached) $ECHO_C" >&6
42253 else
42254   if test x$gcc_no_link = xyes; then
42255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42257    { (exit 1); exit 1; }; }
42258 fi
42259 cat >conftest.$ac_ext <<_ACEOF
42260 /* confdefs.h.  */
42261 _ACEOF
42262 cat confdefs.h >>conftest.$ac_ext
42263 cat >>conftest.$ac_ext <<_ACEOF
42264 /* end confdefs.h.  */
42265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42267 #define $ac_func innocuous_$ac_func
42268
42269 /* System header to define __stub macros and hopefully few prototypes,
42270     which can conflict with char $ac_func (); below.
42271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42272     <limits.h> exists even on freestanding compilers.  */
42273
42274 #ifdef __STDC__
42275 # include <limits.h>
42276 #else
42277 # include <assert.h>
42278 #endif
42279
42280 #undef $ac_func
42281
42282 /* Override any gcc2 internal prototype to avoid an error.  */
42283 #ifdef __cplusplus
42284 extern "C"
42285 {
42286 #endif
42287 /* We use char because int might match the return type of a gcc2
42288    builtin and then its argument prototype would still apply.  */
42289 char $ac_func ();
42290 /* The GNU C library defines this for functions which it implements
42291     to always fail with ENOSYS.  Some functions are actually named
42292     something starting with __ and the normal name is an alias.  */
42293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42294 choke me
42295 #else
42296 char (*f) () = $ac_func;
42297 #endif
42298 #ifdef __cplusplus
42299 }
42300 #endif
42301
42302 int
42303 main ()
42304 {
42305 return f != $ac_func;
42306   ;
42307   return 0;
42308 }
42309 _ACEOF
42310 rm -f conftest.$ac_objext conftest$ac_exeext
42311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42312   (eval $ac_link) 2>conftest.er1
42313   ac_status=$?
42314   grep -v '^ *+' conftest.er1 >conftest.err
42315   rm -f conftest.er1
42316   cat conftest.err >&5
42317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318   (exit $ac_status); } &&
42319          { ac_try='test -z "$ac_c_werror_flag"
42320                          || test ! -s conftest.err'
42321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322   (eval $ac_try) 2>&5
42323   ac_status=$?
42324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325   (exit $ac_status); }; } &&
42326          { ac_try='test -s conftest$ac_exeext'
42327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42328   (eval $ac_try) 2>&5
42329   ac_status=$?
42330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331   (exit $ac_status); }; }; then
42332   eval "$as_ac_var=yes"
42333 else
42334   echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.$ac_ext >&5
42336
42337 eval "$as_ac_var=no"
42338 fi
42339 rm -f conftest.err conftest.$ac_objext \
42340       conftest$ac_exeext conftest.$ac_ext
42341 fi
42342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42344 if test `eval echo '${'$as_ac_var'}'` = yes; then
42345   cat >>confdefs.h <<_ACEOF
42346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42347 _ACEOF
42348
42349 fi
42350 done
42351
42352     fi
42353   fi
42354
42355
42356
42357
42358
42359
42360   echo "$as_me:$LINENO: checking for finitef declaration" >&5
42361 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42362   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42363     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42364   echo $ECHO_N "(cached) $ECHO_C" >&6
42365 else
42366
42367
42368
42369       ac_ext=cc
42370 ac_cpp='$CXXCPP $CPPFLAGS'
42371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42374
42375       cat >conftest.$ac_ext <<_ACEOF
42376 /* confdefs.h.  */
42377 _ACEOF
42378 cat confdefs.h >>conftest.$ac_ext
42379 cat >>conftest.$ac_ext <<_ACEOF
42380 /* end confdefs.h.  */
42381 #include <math.h>
42382                       #ifdef HAVE_IEEEFP_H
42383                       #include <ieeefp.h>
42384                       #endif
42385
42386 int
42387 main ()
42388 {
42389  finitef(0);
42390   ;
42391   return 0;
42392 }
42393 _ACEOF
42394 rm -f conftest.$ac_objext
42395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42396   (eval $ac_compile) 2>conftest.er1
42397   ac_status=$?
42398   grep -v '^ *+' conftest.er1 >conftest.err
42399   rm -f conftest.er1
42400   cat conftest.err >&5
42401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402   (exit $ac_status); } &&
42403          { ac_try='test -z "$ac_cxx_werror_flag"
42404                          || test ! -s conftest.err'
42405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42406   (eval $ac_try) 2>&5
42407   ac_status=$?
42408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409   (exit $ac_status); }; } &&
42410          { ac_try='test -s conftest.$ac_objext'
42411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412   (eval $ac_try) 2>&5
42413   ac_status=$?
42414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415   (exit $ac_status); }; }; then
42416   glibcxx_cv_func_finitef_use=yes
42417 else
42418   echo "$as_me: failed program was:" >&5
42419 sed 's/^/| /' conftest.$ac_ext >&5
42420
42421 glibcxx_cv_func_finitef_use=no
42422 fi
42423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42424       ac_ext=c
42425 ac_cpp='$CPP $CPPFLAGS'
42426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42429
42430
42431 fi
42432
42433   fi
42434   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42435 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42436
42437   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42438
42439 for ac_func in finitef
42440 do
42441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42442 echo "$as_me:$LINENO: checking for $ac_func" >&5
42443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42444 if eval "test \"\${$as_ac_var+set}\" = set"; then
42445   echo $ECHO_N "(cached) $ECHO_C" >&6
42446 else
42447   if test x$gcc_no_link = xyes; then
42448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42450    { (exit 1); exit 1; }; }
42451 fi
42452 cat >conftest.$ac_ext <<_ACEOF
42453 /* confdefs.h.  */
42454 _ACEOF
42455 cat confdefs.h >>conftest.$ac_ext
42456 cat >>conftest.$ac_ext <<_ACEOF
42457 /* end confdefs.h.  */
42458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42460 #define $ac_func innocuous_$ac_func
42461
42462 /* System header to define __stub macros and hopefully few prototypes,
42463     which can conflict with char $ac_func (); below.
42464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42465     <limits.h> exists even on freestanding compilers.  */
42466
42467 #ifdef __STDC__
42468 # include <limits.h>
42469 #else
42470 # include <assert.h>
42471 #endif
42472
42473 #undef $ac_func
42474
42475 /* Override any gcc2 internal prototype to avoid an error.  */
42476 #ifdef __cplusplus
42477 extern "C"
42478 {
42479 #endif
42480 /* We use char because int might match the return type of a gcc2
42481    builtin and then its argument prototype would still apply.  */
42482 char $ac_func ();
42483 /* The GNU C library defines this for functions which it implements
42484     to always fail with ENOSYS.  Some functions are actually named
42485     something starting with __ and the normal name is an alias.  */
42486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42487 choke me
42488 #else
42489 char (*f) () = $ac_func;
42490 #endif
42491 #ifdef __cplusplus
42492 }
42493 #endif
42494
42495 int
42496 main ()
42497 {
42498 return f != $ac_func;
42499   ;
42500   return 0;
42501 }
42502 _ACEOF
42503 rm -f conftest.$ac_objext conftest$ac_exeext
42504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42505   (eval $ac_link) 2>conftest.er1
42506   ac_status=$?
42507   grep -v '^ *+' conftest.er1 >conftest.err
42508   rm -f conftest.er1
42509   cat conftest.err >&5
42510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42511   (exit $ac_status); } &&
42512          { ac_try='test -z "$ac_c_werror_flag"
42513                          || test ! -s conftest.err'
42514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42515   (eval $ac_try) 2>&5
42516   ac_status=$?
42517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518   (exit $ac_status); }; } &&
42519          { ac_try='test -s conftest$ac_exeext'
42520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42521   (eval $ac_try) 2>&5
42522   ac_status=$?
42523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524   (exit $ac_status); }; }; then
42525   eval "$as_ac_var=yes"
42526 else
42527   echo "$as_me: failed program was:" >&5
42528 sed 's/^/| /' conftest.$ac_ext >&5
42529
42530 eval "$as_ac_var=no"
42531 fi
42532 rm -f conftest.err conftest.$ac_objext \
42533       conftest$ac_exeext conftest.$ac_ext
42534 fi
42535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42537 if test `eval echo '${'$as_ac_var'}'` = yes; then
42538   cat >>confdefs.h <<_ACEOF
42539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42540 _ACEOF
42541
42542 fi
42543 done
42544
42545   else
42546
42547   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42548 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42549   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42550     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42551   echo $ECHO_N "(cached) $ECHO_C" >&6
42552 else
42553
42554
42555
42556       ac_ext=cc
42557 ac_cpp='$CXXCPP $CPPFLAGS'
42558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42561
42562       cat >conftest.$ac_ext <<_ACEOF
42563 /* confdefs.h.  */
42564 _ACEOF
42565 cat confdefs.h >>conftest.$ac_ext
42566 cat >>conftest.$ac_ext <<_ACEOF
42567 /* end confdefs.h.  */
42568 #include <math.h>
42569                       #ifdef HAVE_IEEEFP_H
42570                       #include <ieeefp.h>
42571                       #endif
42572
42573 int
42574 main ()
42575 {
42576  _finitef(0);
42577   ;
42578   return 0;
42579 }
42580 _ACEOF
42581 rm -f conftest.$ac_objext
42582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42583   (eval $ac_compile) 2>conftest.er1
42584   ac_status=$?
42585   grep -v '^ *+' conftest.er1 >conftest.err
42586   rm -f conftest.er1
42587   cat conftest.err >&5
42588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589   (exit $ac_status); } &&
42590          { ac_try='test -z "$ac_cxx_werror_flag"
42591                          || test ! -s conftest.err'
42592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42593   (eval $ac_try) 2>&5
42594   ac_status=$?
42595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596   (exit $ac_status); }; } &&
42597          { ac_try='test -s conftest.$ac_objext'
42598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42599   (eval $ac_try) 2>&5
42600   ac_status=$?
42601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602   (exit $ac_status); }; }; then
42603   glibcxx_cv_func__finitef_use=yes
42604 else
42605   echo "$as_me: failed program was:" >&5
42606 sed 's/^/| /' conftest.$ac_ext >&5
42607
42608 glibcxx_cv_func__finitef_use=no
42609 fi
42610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42611       ac_ext=c
42612 ac_cpp='$CPP $CPPFLAGS'
42613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42616
42617
42618 fi
42619
42620   fi
42621   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42622 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42623
42624     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42625
42626 for ac_func in _finitef
42627 do
42628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42629 echo "$as_me:$LINENO: checking for $ac_func" >&5
42630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42631 if eval "test \"\${$as_ac_var+set}\" = set"; then
42632   echo $ECHO_N "(cached) $ECHO_C" >&6
42633 else
42634   if test x$gcc_no_link = xyes; then
42635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42637    { (exit 1); exit 1; }; }
42638 fi
42639 cat >conftest.$ac_ext <<_ACEOF
42640 /* confdefs.h.  */
42641 _ACEOF
42642 cat confdefs.h >>conftest.$ac_ext
42643 cat >>conftest.$ac_ext <<_ACEOF
42644 /* end confdefs.h.  */
42645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42647 #define $ac_func innocuous_$ac_func
42648
42649 /* System header to define __stub macros and hopefully few prototypes,
42650     which can conflict with char $ac_func (); below.
42651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42652     <limits.h> exists even on freestanding compilers.  */
42653
42654 #ifdef __STDC__
42655 # include <limits.h>
42656 #else
42657 # include <assert.h>
42658 #endif
42659
42660 #undef $ac_func
42661
42662 /* Override any gcc2 internal prototype to avoid an error.  */
42663 #ifdef __cplusplus
42664 extern "C"
42665 {
42666 #endif
42667 /* We use char because int might match the return type of a gcc2
42668    builtin and then its argument prototype would still apply.  */
42669 char $ac_func ();
42670 /* The GNU C library defines this for functions which it implements
42671     to always fail with ENOSYS.  Some functions are actually named
42672     something starting with __ and the normal name is an alias.  */
42673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42674 choke me
42675 #else
42676 char (*f) () = $ac_func;
42677 #endif
42678 #ifdef __cplusplus
42679 }
42680 #endif
42681
42682 int
42683 main ()
42684 {
42685 return f != $ac_func;
42686   ;
42687   return 0;
42688 }
42689 _ACEOF
42690 rm -f conftest.$ac_objext conftest$ac_exeext
42691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42692   (eval $ac_link) 2>conftest.er1
42693   ac_status=$?
42694   grep -v '^ *+' conftest.er1 >conftest.err
42695   rm -f conftest.er1
42696   cat conftest.err >&5
42697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698   (exit $ac_status); } &&
42699          { ac_try='test -z "$ac_c_werror_flag"
42700                          || test ! -s conftest.err'
42701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42702   (eval $ac_try) 2>&5
42703   ac_status=$?
42704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705   (exit $ac_status); }; } &&
42706          { ac_try='test -s conftest$ac_exeext'
42707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708   (eval $ac_try) 2>&5
42709   ac_status=$?
42710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711   (exit $ac_status); }; }; then
42712   eval "$as_ac_var=yes"
42713 else
42714   echo "$as_me: failed program was:" >&5
42715 sed 's/^/| /' conftest.$ac_ext >&5
42716
42717 eval "$as_ac_var=no"
42718 fi
42719 rm -f conftest.err conftest.$ac_objext \
42720       conftest$ac_exeext conftest.$ac_ext
42721 fi
42722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42724 if test `eval echo '${'$as_ac_var'}'` = yes; then
42725   cat >>confdefs.h <<_ACEOF
42726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42727 _ACEOF
42728
42729 fi
42730 done
42731
42732     fi
42733   fi
42734
42735
42736
42737
42738
42739
42740     echo "$as_me:$LINENO: checking for long double trig functions" >&5
42741 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42742   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42743   echo $ECHO_N "(cached) $ECHO_C" >&6
42744 else
42745
42746
42747
42748     ac_ext=cc
42749 ac_cpp='$CXXCPP $CPPFLAGS'
42750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42753
42754     cat >conftest.$ac_ext <<_ACEOF
42755 /* confdefs.h.  */
42756 _ACEOF
42757 cat confdefs.h >>conftest.$ac_ext
42758 cat >>conftest.$ac_ext <<_ACEOF
42759 /* end confdefs.h.  */
42760 #include <math.h>
42761 int
42762 main ()
42763 {
42764 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42765   ;
42766   return 0;
42767 }
42768 _ACEOF
42769 rm -f conftest.$ac_objext
42770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42771   (eval $ac_compile) 2>conftest.er1
42772   ac_status=$?
42773   grep -v '^ *+' conftest.er1 >conftest.err
42774   rm -f conftest.er1
42775   cat conftest.err >&5
42776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777   (exit $ac_status); } &&
42778          { ac_try='test -z "$ac_cxx_werror_flag"
42779                          || test ! -s conftest.err'
42780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781   (eval $ac_try) 2>&5
42782   ac_status=$?
42783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784   (exit $ac_status); }; } &&
42785          { ac_try='test -s conftest.$ac_objext'
42786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42787   (eval $ac_try) 2>&5
42788   ac_status=$?
42789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790   (exit $ac_status); }; }; then
42791   glibcxx_cv_func_long_double_trig_use=yes
42792 else
42793   echo "$as_me: failed program was:" >&5
42794 sed 's/^/| /' conftest.$ac_ext >&5
42795
42796 glibcxx_cv_func_long_double_trig_use=no
42797 fi
42798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42799     ac_ext=c
42800 ac_cpp='$CPP $CPPFLAGS'
42801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42804
42805 fi
42806
42807   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42808 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42809   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42820 do
42821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42822 echo "$as_me:$LINENO: checking for $ac_func" >&5
42823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42824 if eval "test \"\${$as_ac_var+set}\" = set"; then
42825   echo $ECHO_N "(cached) $ECHO_C" >&6
42826 else
42827   if test x$gcc_no_link = xyes; then
42828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42830    { (exit 1); exit 1; }; }
42831 fi
42832 cat >conftest.$ac_ext <<_ACEOF
42833 /* confdefs.h.  */
42834 _ACEOF
42835 cat confdefs.h >>conftest.$ac_ext
42836 cat >>conftest.$ac_ext <<_ACEOF
42837 /* end confdefs.h.  */
42838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42840 #define $ac_func innocuous_$ac_func
42841
42842 /* System header to define __stub macros and hopefully few prototypes,
42843     which can conflict with char $ac_func (); below.
42844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42845     <limits.h> exists even on freestanding compilers.  */
42846
42847 #ifdef __STDC__
42848 # include <limits.h>
42849 #else
42850 # include <assert.h>
42851 #endif
42852
42853 #undef $ac_func
42854
42855 /* Override any gcc2 internal prototype to avoid an error.  */
42856 #ifdef __cplusplus
42857 extern "C"
42858 {
42859 #endif
42860 /* We use char because int might match the return type of a gcc2
42861    builtin and then its argument prototype would still apply.  */
42862 char $ac_func ();
42863 /* The GNU C library defines this for functions which it implements
42864     to always fail with ENOSYS.  Some functions are actually named
42865     something starting with __ and the normal name is an alias.  */
42866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42867 choke me
42868 #else
42869 char (*f) () = $ac_func;
42870 #endif
42871 #ifdef __cplusplus
42872 }
42873 #endif
42874
42875 int
42876 main ()
42877 {
42878 return f != $ac_func;
42879   ;
42880   return 0;
42881 }
42882 _ACEOF
42883 rm -f conftest.$ac_objext conftest$ac_exeext
42884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42885   (eval $ac_link) 2>conftest.er1
42886   ac_status=$?
42887   grep -v '^ *+' conftest.er1 >conftest.err
42888   rm -f conftest.er1
42889   cat conftest.err >&5
42890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891   (exit $ac_status); } &&
42892          { ac_try='test -z "$ac_c_werror_flag"
42893                          || test ! -s conftest.err'
42894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42895   (eval $ac_try) 2>&5
42896   ac_status=$?
42897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898   (exit $ac_status); }; } &&
42899          { ac_try='test -s conftest$ac_exeext'
42900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42901   (eval $ac_try) 2>&5
42902   ac_status=$?
42903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904   (exit $ac_status); }; }; then
42905   eval "$as_ac_var=yes"
42906 else
42907   echo "$as_me: failed program was:" >&5
42908 sed 's/^/| /' conftest.$ac_ext >&5
42909
42910 eval "$as_ac_var=no"
42911 fi
42912 rm -f conftest.err conftest.$ac_objext \
42913       conftest$ac_exeext conftest.$ac_ext
42914 fi
42915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42917 if test `eval echo '${'$as_ac_var'}'` = yes; then
42918   cat >>confdefs.h <<_ACEOF
42919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42920 _ACEOF
42921
42922 fi
42923 done
42924
42925   else
42926     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42927 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42928     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42929   echo $ECHO_N "(cached) $ECHO_C" >&6
42930 else
42931
42932
42933
42934       ac_ext=cc
42935 ac_cpp='$CXXCPP $CPPFLAGS'
42936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939
42940       cat >conftest.$ac_ext <<_ACEOF
42941 /* confdefs.h.  */
42942 _ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h.  */
42946 #include <math.h>
42947 int
42948 main ()
42949 {
42950 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42951   ;
42952   return 0;
42953 }
42954 _ACEOF
42955 rm -f conftest.$ac_objext
42956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42957   (eval $ac_compile) 2>conftest.er1
42958   ac_status=$?
42959   grep -v '^ *+' conftest.er1 >conftest.err
42960   rm -f conftest.er1
42961   cat conftest.err >&5
42962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963   (exit $ac_status); } &&
42964          { ac_try='test -z "$ac_cxx_werror_flag"
42965                          || test ! -s conftest.err'
42966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42967   (eval $ac_try) 2>&5
42968   ac_status=$?
42969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970   (exit $ac_status); }; } &&
42971          { ac_try='test -s conftest.$ac_objext'
42972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42973   (eval $ac_try) 2>&5
42974   ac_status=$?
42975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976   (exit $ac_status); }; }; then
42977   glibcxx_cv_func__long_double_trig_use=yes
42978 else
42979   echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42981
42982 glibcxx_cv_func__long_double_trig_use=no
42983 fi
42984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42985       ac_ext=c
42986 ac_cpp='$CPP $CPPFLAGS'
42987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42990
42991 fi
42992
42993     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42994 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42995     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43006 do
43007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43008 echo "$as_me:$LINENO: checking for $ac_func" >&5
43009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43010 if eval "test \"\${$as_ac_var+set}\" = set"; then
43011   echo $ECHO_N "(cached) $ECHO_C" >&6
43012 else
43013   if test x$gcc_no_link = xyes; then
43014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43016    { (exit 1); exit 1; }; }
43017 fi
43018 cat >conftest.$ac_ext <<_ACEOF
43019 /* confdefs.h.  */
43020 _ACEOF
43021 cat confdefs.h >>conftest.$ac_ext
43022 cat >>conftest.$ac_ext <<_ACEOF
43023 /* end confdefs.h.  */
43024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43026 #define $ac_func innocuous_$ac_func
43027
43028 /* System header to define __stub macros and hopefully few prototypes,
43029     which can conflict with char $ac_func (); below.
43030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43031     <limits.h> exists even on freestanding compilers.  */
43032
43033 #ifdef __STDC__
43034 # include <limits.h>
43035 #else
43036 # include <assert.h>
43037 #endif
43038
43039 #undef $ac_func
43040
43041 /* Override any gcc2 internal prototype to avoid an error.  */
43042 #ifdef __cplusplus
43043 extern "C"
43044 {
43045 #endif
43046 /* We use char because int might match the return type of a gcc2
43047    builtin and then its argument prototype would still apply.  */
43048 char $ac_func ();
43049 /* The GNU C library defines this for functions which it implements
43050     to always fail with ENOSYS.  Some functions are actually named
43051     something starting with __ and the normal name is an alias.  */
43052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43053 choke me
43054 #else
43055 char (*f) () = $ac_func;
43056 #endif
43057 #ifdef __cplusplus
43058 }
43059 #endif
43060
43061 int
43062 main ()
43063 {
43064 return f != $ac_func;
43065   ;
43066   return 0;
43067 }
43068 _ACEOF
43069 rm -f conftest.$ac_objext conftest$ac_exeext
43070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43071   (eval $ac_link) 2>conftest.er1
43072   ac_status=$?
43073   grep -v '^ *+' conftest.er1 >conftest.err
43074   rm -f conftest.er1
43075   cat conftest.err >&5
43076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43077   (exit $ac_status); } &&
43078          { ac_try='test -z "$ac_c_werror_flag"
43079                          || test ! -s conftest.err'
43080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43081   (eval $ac_try) 2>&5
43082   ac_status=$?
43083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084   (exit $ac_status); }; } &&
43085          { ac_try='test -s conftest$ac_exeext'
43086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43087   (eval $ac_try) 2>&5
43088   ac_status=$?
43089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090   (exit $ac_status); }; }; then
43091   eval "$as_ac_var=yes"
43092 else
43093   echo "$as_me: failed program was:" >&5
43094 sed 's/^/| /' conftest.$ac_ext >&5
43095
43096 eval "$as_ac_var=no"
43097 fi
43098 rm -f conftest.err conftest.$ac_objext \
43099       conftest$ac_exeext conftest.$ac_ext
43100 fi
43101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43103 if test `eval echo '${'$as_ac_var'}'` = yes; then
43104   cat >>confdefs.h <<_ACEOF
43105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43106 _ACEOF
43107
43108 fi
43109 done
43110
43111     fi
43112   fi
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127     echo "$as_me:$LINENO: checking for long double round functions" >&5
43128 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43129   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43130   echo $ECHO_N "(cached) $ECHO_C" >&6
43131 else
43132
43133
43134
43135     ac_ext=cc
43136 ac_cpp='$CXXCPP $CPPFLAGS'
43137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43140
43141     cat >conftest.$ac_ext <<_ACEOF
43142 /* confdefs.h.  */
43143 _ACEOF
43144 cat confdefs.h >>conftest.$ac_ext
43145 cat >>conftest.$ac_ext <<_ACEOF
43146 /* end confdefs.h.  */
43147 #include <math.h>
43148 int
43149 main ()
43150 {
43151 ceill (0); floorl (0);
43152   ;
43153   return 0;
43154 }
43155 _ACEOF
43156 rm -f conftest.$ac_objext
43157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43158   (eval $ac_compile) 2>conftest.er1
43159   ac_status=$?
43160   grep -v '^ *+' conftest.er1 >conftest.err
43161   rm -f conftest.er1
43162   cat conftest.err >&5
43163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164   (exit $ac_status); } &&
43165          { ac_try='test -z "$ac_cxx_werror_flag"
43166                          || test ! -s conftest.err'
43167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168   (eval $ac_try) 2>&5
43169   ac_status=$?
43170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171   (exit $ac_status); }; } &&
43172          { ac_try='test -s conftest.$ac_objext'
43173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43174   (eval $ac_try) 2>&5
43175   ac_status=$?
43176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177   (exit $ac_status); }; }; then
43178   glibcxx_cv_func_long_double_round_use=yes
43179 else
43180   echo "$as_me: failed program was:" >&5
43181 sed 's/^/| /' conftest.$ac_ext >&5
43182
43183 glibcxx_cv_func_long_double_round_use=no
43184 fi
43185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43186     ac_ext=c
43187 ac_cpp='$CPP $CPPFLAGS'
43188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43191
43192 fi
43193
43194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43195 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43196   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43197
43198
43199 for ac_func in ceill floorl
43200 do
43201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43202 echo "$as_me:$LINENO: checking for $ac_func" >&5
43203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43204 if eval "test \"\${$as_ac_var+set}\" = set"; then
43205   echo $ECHO_N "(cached) $ECHO_C" >&6
43206 else
43207   if test x$gcc_no_link = xyes; then
43208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43210    { (exit 1); exit 1; }; }
43211 fi
43212 cat >conftest.$ac_ext <<_ACEOF
43213 /* confdefs.h.  */
43214 _ACEOF
43215 cat confdefs.h >>conftest.$ac_ext
43216 cat >>conftest.$ac_ext <<_ACEOF
43217 /* end confdefs.h.  */
43218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43220 #define $ac_func innocuous_$ac_func
43221
43222 /* System header to define __stub macros and hopefully few prototypes,
43223     which can conflict with char $ac_func (); below.
43224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43225     <limits.h> exists even on freestanding compilers.  */
43226
43227 #ifdef __STDC__
43228 # include <limits.h>
43229 #else
43230 # include <assert.h>
43231 #endif
43232
43233 #undef $ac_func
43234
43235 /* Override any gcc2 internal prototype to avoid an error.  */
43236 #ifdef __cplusplus
43237 extern "C"
43238 {
43239 #endif
43240 /* We use char because int might match the return type of a gcc2
43241    builtin and then its argument prototype would still apply.  */
43242 char $ac_func ();
43243 /* The GNU C library defines this for functions which it implements
43244     to always fail with ENOSYS.  Some functions are actually named
43245     something starting with __ and the normal name is an alias.  */
43246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43247 choke me
43248 #else
43249 char (*f) () = $ac_func;
43250 #endif
43251 #ifdef __cplusplus
43252 }
43253 #endif
43254
43255 int
43256 main ()
43257 {
43258 return f != $ac_func;
43259   ;
43260   return 0;
43261 }
43262 _ACEOF
43263 rm -f conftest.$ac_objext conftest$ac_exeext
43264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43265   (eval $ac_link) 2>conftest.er1
43266   ac_status=$?
43267   grep -v '^ *+' conftest.er1 >conftest.err
43268   rm -f conftest.er1
43269   cat conftest.err >&5
43270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271   (exit $ac_status); } &&
43272          { ac_try='test -z "$ac_c_werror_flag"
43273                          || test ! -s conftest.err'
43274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275   (eval $ac_try) 2>&5
43276   ac_status=$?
43277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278   (exit $ac_status); }; } &&
43279          { ac_try='test -s conftest$ac_exeext'
43280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43281   (eval $ac_try) 2>&5
43282   ac_status=$?
43283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284   (exit $ac_status); }; }; then
43285   eval "$as_ac_var=yes"
43286 else
43287   echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.$ac_ext >&5
43289
43290 eval "$as_ac_var=no"
43291 fi
43292 rm -f conftest.err conftest.$ac_objext \
43293       conftest$ac_exeext conftest.$ac_ext
43294 fi
43295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43297 if test `eval echo '${'$as_ac_var'}'` = yes; then
43298   cat >>confdefs.h <<_ACEOF
43299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43300 _ACEOF
43301
43302 fi
43303 done
43304
43305   else
43306     echo "$as_me:$LINENO: checking for _long double round functions" >&5
43307 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43308     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43309   echo $ECHO_N "(cached) $ECHO_C" >&6
43310 else
43311
43312
43313
43314       ac_ext=cc
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43319
43320       cat >conftest.$ac_ext <<_ACEOF
43321 /* confdefs.h.  */
43322 _ACEOF
43323 cat confdefs.h >>conftest.$ac_ext
43324 cat >>conftest.$ac_ext <<_ACEOF
43325 /* end confdefs.h.  */
43326 #include <math.h>
43327 int
43328 main ()
43329 {
43330 _ceill (0); _floorl (0);
43331   ;
43332   return 0;
43333 }
43334 _ACEOF
43335 rm -f conftest.$ac_objext
43336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43337   (eval $ac_compile) 2>conftest.er1
43338   ac_status=$?
43339   grep -v '^ *+' conftest.er1 >conftest.err
43340   rm -f conftest.er1
43341   cat conftest.err >&5
43342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343   (exit $ac_status); } &&
43344          { ac_try='test -z "$ac_cxx_werror_flag"
43345                          || test ! -s conftest.err'
43346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43347   (eval $ac_try) 2>&5
43348   ac_status=$?
43349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350   (exit $ac_status); }; } &&
43351          { ac_try='test -s conftest.$ac_objext'
43352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43353   (eval $ac_try) 2>&5
43354   ac_status=$?
43355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356   (exit $ac_status); }; }; then
43357   glibcxx_cv_func__long_double_round_use=yes
43358 else
43359   echo "$as_me: failed program was:" >&5
43360 sed 's/^/| /' conftest.$ac_ext >&5
43361
43362 glibcxx_cv_func__long_double_round_use=no
43363 fi
43364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43365       ac_ext=c
43366 ac_cpp='$CPP $CPPFLAGS'
43367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43370
43371 fi
43372
43373     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43374 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43375     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43376
43377
43378 for ac_func in _ceill _floorl
43379 do
43380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43381 echo "$as_me:$LINENO: checking for $ac_func" >&5
43382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43383 if eval "test \"\${$as_ac_var+set}\" = set"; then
43384   echo $ECHO_N "(cached) $ECHO_C" >&6
43385 else
43386   if test x$gcc_no_link = xyes; then
43387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43389    { (exit 1); exit 1; }; }
43390 fi
43391 cat >conftest.$ac_ext <<_ACEOF
43392 /* confdefs.h.  */
43393 _ACEOF
43394 cat confdefs.h >>conftest.$ac_ext
43395 cat >>conftest.$ac_ext <<_ACEOF
43396 /* end confdefs.h.  */
43397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43399 #define $ac_func innocuous_$ac_func
43400
43401 /* System header to define __stub macros and hopefully few prototypes,
43402     which can conflict with char $ac_func (); below.
43403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43404     <limits.h> exists even on freestanding compilers.  */
43405
43406 #ifdef __STDC__
43407 # include <limits.h>
43408 #else
43409 # include <assert.h>
43410 #endif
43411
43412 #undef $ac_func
43413
43414 /* Override any gcc2 internal prototype to avoid an error.  */
43415 #ifdef __cplusplus
43416 extern "C"
43417 {
43418 #endif
43419 /* We use char because int might match the return type of a gcc2
43420    builtin and then its argument prototype would still apply.  */
43421 char $ac_func ();
43422 /* The GNU C library defines this for functions which it implements
43423     to always fail with ENOSYS.  Some functions are actually named
43424     something starting with __ and the normal name is an alias.  */
43425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43426 choke me
43427 #else
43428 char (*f) () = $ac_func;
43429 #endif
43430 #ifdef __cplusplus
43431 }
43432 #endif
43433
43434 int
43435 main ()
43436 {
43437 return f != $ac_func;
43438   ;
43439   return 0;
43440 }
43441 _ACEOF
43442 rm -f conftest.$ac_objext conftest$ac_exeext
43443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43444   (eval $ac_link) 2>conftest.er1
43445   ac_status=$?
43446   grep -v '^ *+' conftest.er1 >conftest.err
43447   rm -f conftest.er1
43448   cat conftest.err >&5
43449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450   (exit $ac_status); } &&
43451          { ac_try='test -z "$ac_c_werror_flag"
43452                          || test ! -s conftest.err'
43453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43454   (eval $ac_try) 2>&5
43455   ac_status=$?
43456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457   (exit $ac_status); }; } &&
43458          { ac_try='test -s conftest$ac_exeext'
43459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43460   (eval $ac_try) 2>&5
43461   ac_status=$?
43462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463   (exit $ac_status); }; }; then
43464   eval "$as_ac_var=yes"
43465 else
43466   echo "$as_me: failed program was:" >&5
43467 sed 's/^/| /' conftest.$ac_ext >&5
43468
43469 eval "$as_ac_var=no"
43470 fi
43471 rm -f conftest.err conftest.$ac_objext \
43472       conftest$ac_exeext conftest.$ac_ext
43473 fi
43474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43476 if test `eval echo '${'$as_ac_var'}'` = yes; then
43477   cat >>confdefs.h <<_ACEOF
43478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43479 _ACEOF
43480
43481 fi
43482 done
43483
43484     fi
43485   fi
43486
43487
43488
43489
43490
43491
43492
43493
43494   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43495 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43496   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43497     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43498   echo $ECHO_N "(cached) $ECHO_C" >&6
43499 else
43500
43501
43502
43503       ac_ext=cc
43504 ac_cpp='$CXXCPP $CPPFLAGS'
43505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43508
43509       cat >conftest.$ac_ext <<_ACEOF
43510 /* confdefs.h.  */
43511 _ACEOF
43512 cat confdefs.h >>conftest.$ac_ext
43513 cat >>conftest.$ac_ext <<_ACEOF
43514 /* end confdefs.h.  */
43515 #include <math.h>
43516                       #ifdef HAVE_IEEEFP_H
43517                       #include <ieeefp.h>
43518                       #endif
43519
43520 int
43521 main ()
43522 {
43523  isnanl(0);
43524   ;
43525   return 0;
43526 }
43527 _ACEOF
43528 rm -f conftest.$ac_objext
43529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43530   (eval $ac_compile) 2>conftest.er1
43531   ac_status=$?
43532   grep -v '^ *+' conftest.er1 >conftest.err
43533   rm -f conftest.er1
43534   cat conftest.err >&5
43535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536   (exit $ac_status); } &&
43537          { ac_try='test -z "$ac_cxx_werror_flag"
43538                          || test ! -s conftest.err'
43539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43540   (eval $ac_try) 2>&5
43541   ac_status=$?
43542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543   (exit $ac_status); }; } &&
43544          { ac_try='test -s conftest.$ac_objext'
43545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43546   (eval $ac_try) 2>&5
43547   ac_status=$?
43548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549   (exit $ac_status); }; }; then
43550   glibcxx_cv_func_isnanl_use=yes
43551 else
43552   echo "$as_me: failed program was:" >&5
43553 sed 's/^/| /' conftest.$ac_ext >&5
43554
43555 glibcxx_cv_func_isnanl_use=no
43556 fi
43557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43558       ac_ext=c
43559 ac_cpp='$CPP $CPPFLAGS'
43560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43563
43564
43565 fi
43566
43567   fi
43568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43569 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43570
43571   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43572
43573 for ac_func in isnanl
43574 do
43575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43576 echo "$as_me:$LINENO: checking for $ac_func" >&5
43577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43578 if eval "test \"\${$as_ac_var+set}\" = set"; then
43579   echo $ECHO_N "(cached) $ECHO_C" >&6
43580 else
43581   if test x$gcc_no_link = xyes; then
43582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43584    { (exit 1); exit 1; }; }
43585 fi
43586 cat >conftest.$ac_ext <<_ACEOF
43587 /* confdefs.h.  */
43588 _ACEOF
43589 cat confdefs.h >>conftest.$ac_ext
43590 cat >>conftest.$ac_ext <<_ACEOF
43591 /* end confdefs.h.  */
43592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43594 #define $ac_func innocuous_$ac_func
43595
43596 /* System header to define __stub macros and hopefully few prototypes,
43597     which can conflict with char $ac_func (); below.
43598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43599     <limits.h> exists even on freestanding compilers.  */
43600
43601 #ifdef __STDC__
43602 # include <limits.h>
43603 #else
43604 # include <assert.h>
43605 #endif
43606
43607 #undef $ac_func
43608
43609 /* Override any gcc2 internal prototype to avoid an error.  */
43610 #ifdef __cplusplus
43611 extern "C"
43612 {
43613 #endif
43614 /* We use char because int might match the return type of a gcc2
43615    builtin and then its argument prototype would still apply.  */
43616 char $ac_func ();
43617 /* The GNU C library defines this for functions which it implements
43618     to always fail with ENOSYS.  Some functions are actually named
43619     something starting with __ and the normal name is an alias.  */
43620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43621 choke me
43622 #else
43623 char (*f) () = $ac_func;
43624 #endif
43625 #ifdef __cplusplus
43626 }
43627 #endif
43628
43629 int
43630 main ()
43631 {
43632 return f != $ac_func;
43633   ;
43634   return 0;
43635 }
43636 _ACEOF
43637 rm -f conftest.$ac_objext conftest$ac_exeext
43638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43639   (eval $ac_link) 2>conftest.er1
43640   ac_status=$?
43641   grep -v '^ *+' conftest.er1 >conftest.err
43642   rm -f conftest.er1
43643   cat conftest.err >&5
43644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645   (exit $ac_status); } &&
43646          { ac_try='test -z "$ac_c_werror_flag"
43647                          || test ! -s conftest.err'
43648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43649   (eval $ac_try) 2>&5
43650   ac_status=$?
43651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43652   (exit $ac_status); }; } &&
43653          { ac_try='test -s conftest$ac_exeext'
43654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43655   (eval $ac_try) 2>&5
43656   ac_status=$?
43657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658   (exit $ac_status); }; }; then
43659   eval "$as_ac_var=yes"
43660 else
43661   echo "$as_me: failed program was:" >&5
43662 sed 's/^/| /' conftest.$ac_ext >&5
43663
43664 eval "$as_ac_var=no"
43665 fi
43666 rm -f conftest.err conftest.$ac_objext \
43667       conftest$ac_exeext conftest.$ac_ext
43668 fi
43669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43671 if test `eval echo '${'$as_ac_var'}'` = yes; then
43672   cat >>confdefs.h <<_ACEOF
43673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43674 _ACEOF
43675
43676 fi
43677 done
43678
43679   else
43680
43681   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43682 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43683   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43684     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43685   echo $ECHO_N "(cached) $ECHO_C" >&6
43686 else
43687
43688
43689
43690       ac_ext=cc
43691 ac_cpp='$CXXCPP $CPPFLAGS'
43692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43695
43696       cat >conftest.$ac_ext <<_ACEOF
43697 /* confdefs.h.  */
43698 _ACEOF
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h.  */
43702 #include <math.h>
43703                       #ifdef HAVE_IEEEFP_H
43704                       #include <ieeefp.h>
43705                       #endif
43706
43707 int
43708 main ()
43709 {
43710  _isnanl(0);
43711   ;
43712   return 0;
43713 }
43714 _ACEOF
43715 rm -f conftest.$ac_objext
43716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43717   (eval $ac_compile) 2>conftest.er1
43718   ac_status=$?
43719   grep -v '^ *+' conftest.er1 >conftest.err
43720   rm -f conftest.er1
43721   cat conftest.err >&5
43722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723   (exit $ac_status); } &&
43724          { ac_try='test -z "$ac_cxx_werror_flag"
43725                          || test ! -s conftest.err'
43726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43727   (eval $ac_try) 2>&5
43728   ac_status=$?
43729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43730   (exit $ac_status); }; } &&
43731          { ac_try='test -s conftest.$ac_objext'
43732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43733   (eval $ac_try) 2>&5
43734   ac_status=$?
43735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736   (exit $ac_status); }; }; then
43737   glibcxx_cv_func__isnanl_use=yes
43738 else
43739   echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43741
43742 glibcxx_cv_func__isnanl_use=no
43743 fi
43744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43745       ac_ext=c
43746 ac_cpp='$CPP $CPPFLAGS'
43747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43750
43751
43752 fi
43753
43754   fi
43755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43756 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43757
43758     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43759
43760 for ac_func in _isnanl
43761 do
43762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43763 echo "$as_me:$LINENO: checking for $ac_func" >&5
43764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43765 if eval "test \"\${$as_ac_var+set}\" = set"; then
43766   echo $ECHO_N "(cached) $ECHO_C" >&6
43767 else
43768   if test x$gcc_no_link = xyes; then
43769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43771    { (exit 1); exit 1; }; }
43772 fi
43773 cat >conftest.$ac_ext <<_ACEOF
43774 /* confdefs.h.  */
43775 _ACEOF
43776 cat confdefs.h >>conftest.$ac_ext
43777 cat >>conftest.$ac_ext <<_ACEOF
43778 /* end confdefs.h.  */
43779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43781 #define $ac_func innocuous_$ac_func
43782
43783 /* System header to define __stub macros and hopefully few prototypes,
43784     which can conflict with char $ac_func (); below.
43785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43786     <limits.h> exists even on freestanding compilers.  */
43787
43788 #ifdef __STDC__
43789 # include <limits.h>
43790 #else
43791 # include <assert.h>
43792 #endif
43793
43794 #undef $ac_func
43795
43796 /* Override any gcc2 internal prototype to avoid an error.  */
43797 #ifdef __cplusplus
43798 extern "C"
43799 {
43800 #endif
43801 /* We use char because int might match the return type of a gcc2
43802    builtin and then its argument prototype would still apply.  */
43803 char $ac_func ();
43804 /* The GNU C library defines this for functions which it implements
43805     to always fail with ENOSYS.  Some functions are actually named
43806     something starting with __ and the normal name is an alias.  */
43807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43808 choke me
43809 #else
43810 char (*f) () = $ac_func;
43811 #endif
43812 #ifdef __cplusplus
43813 }
43814 #endif
43815
43816 int
43817 main ()
43818 {
43819 return f != $ac_func;
43820   ;
43821   return 0;
43822 }
43823 _ACEOF
43824 rm -f conftest.$ac_objext conftest$ac_exeext
43825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43826   (eval $ac_link) 2>conftest.er1
43827   ac_status=$?
43828   grep -v '^ *+' conftest.er1 >conftest.err
43829   rm -f conftest.er1
43830   cat conftest.err >&5
43831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832   (exit $ac_status); } &&
43833          { ac_try='test -z "$ac_c_werror_flag"
43834                          || test ! -s conftest.err'
43835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43836   (eval $ac_try) 2>&5
43837   ac_status=$?
43838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43839   (exit $ac_status); }; } &&
43840          { ac_try='test -s conftest$ac_exeext'
43841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43842   (eval $ac_try) 2>&5
43843   ac_status=$?
43844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845   (exit $ac_status); }; }; then
43846   eval "$as_ac_var=yes"
43847 else
43848   echo "$as_me: failed program was:" >&5
43849 sed 's/^/| /' conftest.$ac_ext >&5
43850
43851 eval "$as_ac_var=no"
43852 fi
43853 rm -f conftest.err conftest.$ac_objext \
43854       conftest$ac_exeext conftest.$ac_ext
43855 fi
43856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43858 if test `eval echo '${'$as_ac_var'}'` = yes; then
43859   cat >>confdefs.h <<_ACEOF
43860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43861 _ACEOF
43862
43863 fi
43864 done
43865
43866     fi
43867   fi
43868
43869
43870
43871
43872
43873
43874   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43875 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43876   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43877     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43878   echo $ECHO_N "(cached) $ECHO_C" >&6
43879 else
43880
43881
43882
43883       ac_ext=cc
43884 ac_cpp='$CXXCPP $CPPFLAGS'
43885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43888
43889       cat >conftest.$ac_ext <<_ACEOF
43890 /* confdefs.h.  */
43891 _ACEOF
43892 cat confdefs.h >>conftest.$ac_ext
43893 cat >>conftest.$ac_ext <<_ACEOF
43894 /* end confdefs.h.  */
43895 #include <math.h>
43896                       #ifdef HAVE_IEEEFP_H
43897                       #include <ieeefp.h>
43898                       #endif
43899
43900 int
43901 main ()
43902 {
43903  isinfl(0);
43904   ;
43905   return 0;
43906 }
43907 _ACEOF
43908 rm -f conftest.$ac_objext
43909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43910   (eval $ac_compile) 2>conftest.er1
43911   ac_status=$?
43912   grep -v '^ *+' conftest.er1 >conftest.err
43913   rm -f conftest.er1
43914   cat conftest.err >&5
43915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916   (exit $ac_status); } &&
43917          { ac_try='test -z "$ac_cxx_werror_flag"
43918                          || test ! -s conftest.err'
43919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43920   (eval $ac_try) 2>&5
43921   ac_status=$?
43922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923   (exit $ac_status); }; } &&
43924          { ac_try='test -s conftest.$ac_objext'
43925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43926   (eval $ac_try) 2>&5
43927   ac_status=$?
43928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929   (exit $ac_status); }; }; then
43930   glibcxx_cv_func_isinfl_use=yes
43931 else
43932   echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43934
43935 glibcxx_cv_func_isinfl_use=no
43936 fi
43937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43938       ac_ext=c
43939 ac_cpp='$CPP $CPPFLAGS'
43940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943
43944
43945 fi
43946
43947   fi
43948   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43949 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43950
43951   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43952
43953 for ac_func in isinfl
43954 do
43955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43956 echo "$as_me:$LINENO: checking for $ac_func" >&5
43957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43958 if eval "test \"\${$as_ac_var+set}\" = set"; then
43959   echo $ECHO_N "(cached) $ECHO_C" >&6
43960 else
43961   if test x$gcc_no_link = xyes; then
43962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43964    { (exit 1); exit 1; }; }
43965 fi
43966 cat >conftest.$ac_ext <<_ACEOF
43967 /* confdefs.h.  */
43968 _ACEOF
43969 cat confdefs.h >>conftest.$ac_ext
43970 cat >>conftest.$ac_ext <<_ACEOF
43971 /* end confdefs.h.  */
43972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43974 #define $ac_func innocuous_$ac_func
43975
43976 /* System header to define __stub macros and hopefully few prototypes,
43977     which can conflict with char $ac_func (); below.
43978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43979     <limits.h> exists even on freestanding compilers.  */
43980
43981 #ifdef __STDC__
43982 # include <limits.h>
43983 #else
43984 # include <assert.h>
43985 #endif
43986
43987 #undef $ac_func
43988
43989 /* Override any gcc2 internal prototype to avoid an error.  */
43990 #ifdef __cplusplus
43991 extern "C"
43992 {
43993 #endif
43994 /* We use char because int might match the return type of a gcc2
43995    builtin and then its argument prototype would still apply.  */
43996 char $ac_func ();
43997 /* The GNU C library defines this for functions which it implements
43998     to always fail with ENOSYS.  Some functions are actually named
43999     something starting with __ and the normal name is an alias.  */
44000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44001 choke me
44002 #else
44003 char (*f) () = $ac_func;
44004 #endif
44005 #ifdef __cplusplus
44006 }
44007 #endif
44008
44009 int
44010 main ()
44011 {
44012 return f != $ac_func;
44013   ;
44014   return 0;
44015 }
44016 _ACEOF
44017 rm -f conftest.$ac_objext conftest$ac_exeext
44018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44019   (eval $ac_link) 2>conftest.er1
44020   ac_status=$?
44021   grep -v '^ *+' conftest.er1 >conftest.err
44022   rm -f conftest.er1
44023   cat conftest.err >&5
44024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025   (exit $ac_status); } &&
44026          { ac_try='test -z "$ac_c_werror_flag"
44027                          || test ! -s conftest.err'
44028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44029   (eval $ac_try) 2>&5
44030   ac_status=$?
44031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032   (exit $ac_status); }; } &&
44033          { ac_try='test -s conftest$ac_exeext'
44034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44035   (eval $ac_try) 2>&5
44036   ac_status=$?
44037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038   (exit $ac_status); }; }; then
44039   eval "$as_ac_var=yes"
44040 else
44041   echo "$as_me: failed program was:" >&5
44042 sed 's/^/| /' conftest.$ac_ext >&5
44043
44044 eval "$as_ac_var=no"
44045 fi
44046 rm -f conftest.err conftest.$ac_objext \
44047       conftest$ac_exeext conftest.$ac_ext
44048 fi
44049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44051 if test `eval echo '${'$as_ac_var'}'` = yes; then
44052   cat >>confdefs.h <<_ACEOF
44053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44054 _ACEOF
44055
44056 fi
44057 done
44058
44059   else
44060
44061   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44062 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44063   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44064     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44065   echo $ECHO_N "(cached) $ECHO_C" >&6
44066 else
44067
44068
44069
44070       ac_ext=cc
44071 ac_cpp='$CXXCPP $CPPFLAGS'
44072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44075
44076       cat >conftest.$ac_ext <<_ACEOF
44077 /* confdefs.h.  */
44078 _ACEOF
44079 cat confdefs.h >>conftest.$ac_ext
44080 cat >>conftest.$ac_ext <<_ACEOF
44081 /* end confdefs.h.  */
44082 #include <math.h>
44083                       #ifdef HAVE_IEEEFP_H
44084                       #include <ieeefp.h>
44085                       #endif
44086
44087 int
44088 main ()
44089 {
44090  _isinfl(0);
44091   ;
44092   return 0;
44093 }
44094 _ACEOF
44095 rm -f conftest.$ac_objext
44096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44097   (eval $ac_compile) 2>conftest.er1
44098   ac_status=$?
44099   grep -v '^ *+' conftest.er1 >conftest.err
44100   rm -f conftest.er1
44101   cat conftest.err >&5
44102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44103   (exit $ac_status); } &&
44104          { ac_try='test -z "$ac_cxx_werror_flag"
44105                          || test ! -s conftest.err'
44106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44107   (eval $ac_try) 2>&5
44108   ac_status=$?
44109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110   (exit $ac_status); }; } &&
44111          { ac_try='test -s conftest.$ac_objext'
44112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44113   (eval $ac_try) 2>&5
44114   ac_status=$?
44115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44116   (exit $ac_status); }; }; then
44117   glibcxx_cv_func__isinfl_use=yes
44118 else
44119   echo "$as_me: failed program was:" >&5
44120 sed 's/^/| /' conftest.$ac_ext >&5
44121
44122 glibcxx_cv_func__isinfl_use=no
44123 fi
44124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44125       ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44130
44131
44132 fi
44133
44134   fi
44135   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44136 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44137
44138     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44139
44140 for ac_func in _isinfl
44141 do
44142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44143 echo "$as_me:$LINENO: checking for $ac_func" >&5
44144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44145 if eval "test \"\${$as_ac_var+set}\" = set"; then
44146   echo $ECHO_N "(cached) $ECHO_C" >&6
44147 else
44148   if test x$gcc_no_link = xyes; then
44149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44151    { (exit 1); exit 1; }; }
44152 fi
44153 cat >conftest.$ac_ext <<_ACEOF
44154 /* confdefs.h.  */
44155 _ACEOF
44156 cat confdefs.h >>conftest.$ac_ext
44157 cat >>conftest.$ac_ext <<_ACEOF
44158 /* end confdefs.h.  */
44159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44161 #define $ac_func innocuous_$ac_func
44162
44163 /* System header to define __stub macros and hopefully few prototypes,
44164     which can conflict with char $ac_func (); below.
44165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44166     <limits.h> exists even on freestanding compilers.  */
44167
44168 #ifdef __STDC__
44169 # include <limits.h>
44170 #else
44171 # include <assert.h>
44172 #endif
44173
44174 #undef $ac_func
44175
44176 /* Override any gcc2 internal prototype to avoid an error.  */
44177 #ifdef __cplusplus
44178 extern "C"
44179 {
44180 #endif
44181 /* We use char because int might match the return type of a gcc2
44182    builtin and then its argument prototype would still apply.  */
44183 char $ac_func ();
44184 /* The GNU C library defines this for functions which it implements
44185     to always fail with ENOSYS.  Some functions are actually named
44186     something starting with __ and the normal name is an alias.  */
44187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44188 choke me
44189 #else
44190 char (*f) () = $ac_func;
44191 #endif
44192 #ifdef __cplusplus
44193 }
44194 #endif
44195
44196 int
44197 main ()
44198 {
44199 return f != $ac_func;
44200   ;
44201   return 0;
44202 }
44203 _ACEOF
44204 rm -f conftest.$ac_objext conftest$ac_exeext
44205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44206   (eval $ac_link) 2>conftest.er1
44207   ac_status=$?
44208   grep -v '^ *+' conftest.er1 >conftest.err
44209   rm -f conftest.er1
44210   cat conftest.err >&5
44211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212   (exit $ac_status); } &&
44213          { ac_try='test -z "$ac_c_werror_flag"
44214                          || test ! -s conftest.err'
44215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44216   (eval $ac_try) 2>&5
44217   ac_status=$?
44218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219   (exit $ac_status); }; } &&
44220          { ac_try='test -s conftest$ac_exeext'
44221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44222   (eval $ac_try) 2>&5
44223   ac_status=$?
44224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44225   (exit $ac_status); }; }; then
44226   eval "$as_ac_var=yes"
44227 else
44228   echo "$as_me: failed program was:" >&5
44229 sed 's/^/| /' conftest.$ac_ext >&5
44230
44231 eval "$as_ac_var=no"
44232 fi
44233 rm -f conftest.err conftest.$ac_objext \
44234       conftest$ac_exeext conftest.$ac_ext
44235 fi
44236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44238 if test `eval echo '${'$as_ac_var'}'` = yes; then
44239   cat >>confdefs.h <<_ACEOF
44240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44241 _ACEOF
44242
44243 fi
44244 done
44245
44246     fi
44247   fi
44248
44249
44250
44251
44252
44253
44254   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44255 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44256   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44257     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44258   echo $ECHO_N "(cached) $ECHO_C" >&6
44259 else
44260
44261
44262
44263       ac_ext=cc
44264 ac_cpp='$CXXCPP $CPPFLAGS'
44265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44268
44269       cat >conftest.$ac_ext <<_ACEOF
44270 /* confdefs.h.  */
44271 _ACEOF
44272 cat confdefs.h >>conftest.$ac_ext
44273 cat >>conftest.$ac_ext <<_ACEOF
44274 /* end confdefs.h.  */
44275 #include <math.h>
44276 int
44277 main ()
44278 {
44279  copysignl(0, 0);
44280   ;
44281   return 0;
44282 }
44283 _ACEOF
44284 rm -f conftest.$ac_objext
44285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44286   (eval $ac_compile) 2>conftest.er1
44287   ac_status=$?
44288   grep -v '^ *+' conftest.er1 >conftest.err
44289   rm -f conftest.er1
44290   cat conftest.err >&5
44291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292   (exit $ac_status); } &&
44293          { ac_try='test -z "$ac_cxx_werror_flag"
44294                          || test ! -s conftest.err'
44295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44296   (eval $ac_try) 2>&5
44297   ac_status=$?
44298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299   (exit $ac_status); }; } &&
44300          { ac_try='test -s conftest.$ac_objext'
44301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44302   (eval $ac_try) 2>&5
44303   ac_status=$?
44304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44305   (exit $ac_status); }; }; then
44306   glibcxx_cv_func_copysignl_use=yes
44307 else
44308   echo "$as_me: failed program was:" >&5
44309 sed 's/^/| /' conftest.$ac_ext >&5
44310
44311 glibcxx_cv_func_copysignl_use=no
44312 fi
44313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44314       ac_ext=c
44315 ac_cpp='$CPP $CPPFLAGS'
44316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44319
44320
44321 fi
44322
44323   fi
44324   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44325 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44326
44327   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44328
44329 for ac_func in copysignl
44330 do
44331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44332 echo "$as_me:$LINENO: checking for $ac_func" >&5
44333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44334 if eval "test \"\${$as_ac_var+set}\" = set"; then
44335   echo $ECHO_N "(cached) $ECHO_C" >&6
44336 else
44337   if test x$gcc_no_link = xyes; then
44338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44340    { (exit 1); exit 1; }; }
44341 fi
44342 cat >conftest.$ac_ext <<_ACEOF
44343 /* confdefs.h.  */
44344 _ACEOF
44345 cat confdefs.h >>conftest.$ac_ext
44346 cat >>conftest.$ac_ext <<_ACEOF
44347 /* end confdefs.h.  */
44348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44350 #define $ac_func innocuous_$ac_func
44351
44352 /* System header to define __stub macros and hopefully few prototypes,
44353     which can conflict with char $ac_func (); below.
44354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44355     <limits.h> exists even on freestanding compilers.  */
44356
44357 #ifdef __STDC__
44358 # include <limits.h>
44359 #else
44360 # include <assert.h>
44361 #endif
44362
44363 #undef $ac_func
44364
44365 /* Override any gcc2 internal prototype to avoid an error.  */
44366 #ifdef __cplusplus
44367 extern "C"
44368 {
44369 #endif
44370 /* We use char because int might match the return type of a gcc2
44371    builtin and then its argument prototype would still apply.  */
44372 char $ac_func ();
44373 /* The GNU C library defines this for functions which it implements
44374     to always fail with ENOSYS.  Some functions are actually named
44375     something starting with __ and the normal name is an alias.  */
44376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44377 choke me
44378 #else
44379 char (*f) () = $ac_func;
44380 #endif
44381 #ifdef __cplusplus
44382 }
44383 #endif
44384
44385 int
44386 main ()
44387 {
44388 return f != $ac_func;
44389   ;
44390   return 0;
44391 }
44392 _ACEOF
44393 rm -f conftest.$ac_objext conftest$ac_exeext
44394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44395   (eval $ac_link) 2>conftest.er1
44396   ac_status=$?
44397   grep -v '^ *+' conftest.er1 >conftest.err
44398   rm -f conftest.er1
44399   cat conftest.err >&5
44400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401   (exit $ac_status); } &&
44402          { ac_try='test -z "$ac_c_werror_flag"
44403                          || test ! -s conftest.err'
44404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44405   (eval $ac_try) 2>&5
44406   ac_status=$?
44407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408   (exit $ac_status); }; } &&
44409          { ac_try='test -s conftest$ac_exeext'
44410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44411   (eval $ac_try) 2>&5
44412   ac_status=$?
44413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414   (exit $ac_status); }; }; then
44415   eval "$as_ac_var=yes"
44416 else
44417   echo "$as_me: failed program was:" >&5
44418 sed 's/^/| /' conftest.$ac_ext >&5
44419
44420 eval "$as_ac_var=no"
44421 fi
44422 rm -f conftest.err conftest.$ac_objext \
44423       conftest$ac_exeext conftest.$ac_ext
44424 fi
44425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44427 if test `eval echo '${'$as_ac_var'}'` = yes; then
44428   cat >>confdefs.h <<_ACEOF
44429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44430 _ACEOF
44431
44432 fi
44433 done
44434
44435   else
44436
44437   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44438 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44439   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44440     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44441   echo $ECHO_N "(cached) $ECHO_C" >&6
44442 else
44443
44444
44445
44446       ac_ext=cc
44447 ac_cpp='$CXXCPP $CPPFLAGS'
44448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44451
44452       cat >conftest.$ac_ext <<_ACEOF
44453 /* confdefs.h.  */
44454 _ACEOF
44455 cat confdefs.h >>conftest.$ac_ext
44456 cat >>conftest.$ac_ext <<_ACEOF
44457 /* end confdefs.h.  */
44458 #include <math.h>
44459 int
44460 main ()
44461 {
44462  _copysignl(0, 0);
44463   ;
44464   return 0;
44465 }
44466 _ACEOF
44467 rm -f conftest.$ac_objext
44468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44469   (eval $ac_compile) 2>conftest.er1
44470   ac_status=$?
44471   grep -v '^ *+' conftest.er1 >conftest.err
44472   rm -f conftest.er1
44473   cat conftest.err >&5
44474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475   (exit $ac_status); } &&
44476          { ac_try='test -z "$ac_cxx_werror_flag"
44477                          || test ! -s conftest.err'
44478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44479   (eval $ac_try) 2>&5
44480   ac_status=$?
44481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482   (exit $ac_status); }; } &&
44483          { ac_try='test -s conftest.$ac_objext'
44484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44485   (eval $ac_try) 2>&5
44486   ac_status=$?
44487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488   (exit $ac_status); }; }; then
44489   glibcxx_cv_func__copysignl_use=yes
44490 else
44491   echo "$as_me: failed program was:" >&5
44492 sed 's/^/| /' conftest.$ac_ext >&5
44493
44494 glibcxx_cv_func__copysignl_use=no
44495 fi
44496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44497       ac_ext=c
44498 ac_cpp='$CPP $CPPFLAGS'
44499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44502
44503
44504 fi
44505
44506   fi
44507   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44508 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44509
44510     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44511
44512 for ac_func in _copysignl
44513 do
44514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44515 echo "$as_me:$LINENO: checking for $ac_func" >&5
44516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44517 if eval "test \"\${$as_ac_var+set}\" = set"; then
44518   echo $ECHO_N "(cached) $ECHO_C" >&6
44519 else
44520   if test x$gcc_no_link = xyes; then
44521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44523    { (exit 1); exit 1; }; }
44524 fi
44525 cat >conftest.$ac_ext <<_ACEOF
44526 /* confdefs.h.  */
44527 _ACEOF
44528 cat confdefs.h >>conftest.$ac_ext
44529 cat >>conftest.$ac_ext <<_ACEOF
44530 /* end confdefs.h.  */
44531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44533 #define $ac_func innocuous_$ac_func
44534
44535 /* System header to define __stub macros and hopefully few prototypes,
44536     which can conflict with char $ac_func (); below.
44537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44538     <limits.h> exists even on freestanding compilers.  */
44539
44540 #ifdef __STDC__
44541 # include <limits.h>
44542 #else
44543 # include <assert.h>
44544 #endif
44545
44546 #undef $ac_func
44547
44548 /* Override any gcc2 internal prototype to avoid an error.  */
44549 #ifdef __cplusplus
44550 extern "C"
44551 {
44552 #endif
44553 /* We use char because int might match the return type of a gcc2
44554    builtin and then its argument prototype would still apply.  */
44555 char $ac_func ();
44556 /* The GNU C library defines this for functions which it implements
44557     to always fail with ENOSYS.  Some functions are actually named
44558     something starting with __ and the normal name is an alias.  */
44559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44560 choke me
44561 #else
44562 char (*f) () = $ac_func;
44563 #endif
44564 #ifdef __cplusplus
44565 }
44566 #endif
44567
44568 int
44569 main ()
44570 {
44571 return f != $ac_func;
44572   ;
44573   return 0;
44574 }
44575 _ACEOF
44576 rm -f conftest.$ac_objext conftest$ac_exeext
44577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44578   (eval $ac_link) 2>conftest.er1
44579   ac_status=$?
44580   grep -v '^ *+' conftest.er1 >conftest.err
44581   rm -f conftest.er1
44582   cat conftest.err >&5
44583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44584   (exit $ac_status); } &&
44585          { ac_try='test -z "$ac_c_werror_flag"
44586                          || test ! -s conftest.err'
44587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44588   (eval $ac_try) 2>&5
44589   ac_status=$?
44590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591   (exit $ac_status); }; } &&
44592          { ac_try='test -s conftest$ac_exeext'
44593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44594   (eval $ac_try) 2>&5
44595   ac_status=$?
44596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597   (exit $ac_status); }; }; then
44598   eval "$as_ac_var=yes"
44599 else
44600   echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44602
44603 eval "$as_ac_var=no"
44604 fi
44605 rm -f conftest.err conftest.$ac_objext \
44606       conftest$ac_exeext conftest.$ac_ext
44607 fi
44608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44610 if test `eval echo '${'$as_ac_var'}'` = yes; then
44611   cat >>confdefs.h <<_ACEOF
44612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44613 _ACEOF
44614
44615 fi
44616 done
44617
44618     fi
44619   fi
44620
44621
44622
44623
44624
44625
44626   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44627 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44628   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44629     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44630   echo $ECHO_N "(cached) $ECHO_C" >&6
44631 else
44632
44633
44634
44635       ac_ext=cc
44636 ac_cpp='$CXXCPP $CPPFLAGS'
44637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44640
44641       cat >conftest.$ac_ext <<_ACEOF
44642 /* confdefs.h.  */
44643 _ACEOF
44644 cat confdefs.h >>conftest.$ac_ext
44645 cat >>conftest.$ac_ext <<_ACEOF
44646 /* end confdefs.h.  */
44647 #include <math.h>
44648 int
44649 main ()
44650 {
44651  atan2l(0, 0);
44652   ;
44653   return 0;
44654 }
44655 _ACEOF
44656 rm -f conftest.$ac_objext
44657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44658   (eval $ac_compile) 2>conftest.er1
44659   ac_status=$?
44660   grep -v '^ *+' conftest.er1 >conftest.err
44661   rm -f conftest.er1
44662   cat conftest.err >&5
44663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664   (exit $ac_status); } &&
44665          { ac_try='test -z "$ac_cxx_werror_flag"
44666                          || test ! -s conftest.err'
44667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44668   (eval $ac_try) 2>&5
44669   ac_status=$?
44670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671   (exit $ac_status); }; } &&
44672          { ac_try='test -s conftest.$ac_objext'
44673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44674   (eval $ac_try) 2>&5
44675   ac_status=$?
44676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677   (exit $ac_status); }; }; then
44678   glibcxx_cv_func_atan2l_use=yes
44679 else
44680   echo "$as_me: failed program was:" >&5
44681 sed 's/^/| /' conftest.$ac_ext >&5
44682
44683 glibcxx_cv_func_atan2l_use=no
44684 fi
44685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44686       ac_ext=c
44687 ac_cpp='$CPP $CPPFLAGS'
44688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44691
44692
44693 fi
44694
44695   fi
44696   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44697 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44698
44699   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44700
44701 for ac_func in atan2l
44702 do
44703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44704 echo "$as_me:$LINENO: checking for $ac_func" >&5
44705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44706 if eval "test \"\${$as_ac_var+set}\" = set"; then
44707   echo $ECHO_N "(cached) $ECHO_C" >&6
44708 else
44709   if test x$gcc_no_link = xyes; then
44710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44712    { (exit 1); exit 1; }; }
44713 fi
44714 cat >conftest.$ac_ext <<_ACEOF
44715 /* confdefs.h.  */
44716 _ACEOF
44717 cat confdefs.h >>conftest.$ac_ext
44718 cat >>conftest.$ac_ext <<_ACEOF
44719 /* end confdefs.h.  */
44720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44722 #define $ac_func innocuous_$ac_func
44723
44724 /* System header to define __stub macros and hopefully few prototypes,
44725     which can conflict with char $ac_func (); below.
44726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44727     <limits.h> exists even on freestanding compilers.  */
44728
44729 #ifdef __STDC__
44730 # include <limits.h>
44731 #else
44732 # include <assert.h>
44733 #endif
44734
44735 #undef $ac_func
44736
44737 /* Override any gcc2 internal prototype to avoid an error.  */
44738 #ifdef __cplusplus
44739 extern "C"
44740 {
44741 #endif
44742 /* We use char because int might match the return type of a gcc2
44743    builtin and then its argument prototype would still apply.  */
44744 char $ac_func ();
44745 /* The GNU C library defines this for functions which it implements
44746     to always fail with ENOSYS.  Some functions are actually named
44747     something starting with __ and the normal name is an alias.  */
44748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44749 choke me
44750 #else
44751 char (*f) () = $ac_func;
44752 #endif
44753 #ifdef __cplusplus
44754 }
44755 #endif
44756
44757 int
44758 main ()
44759 {
44760 return f != $ac_func;
44761   ;
44762   return 0;
44763 }
44764 _ACEOF
44765 rm -f conftest.$ac_objext conftest$ac_exeext
44766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44767   (eval $ac_link) 2>conftest.er1
44768   ac_status=$?
44769   grep -v '^ *+' conftest.er1 >conftest.err
44770   rm -f conftest.er1
44771   cat conftest.err >&5
44772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44773   (exit $ac_status); } &&
44774          { ac_try='test -z "$ac_c_werror_flag"
44775                          || test ! -s conftest.err'
44776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44777   (eval $ac_try) 2>&5
44778   ac_status=$?
44779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780   (exit $ac_status); }; } &&
44781          { ac_try='test -s conftest$ac_exeext'
44782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44783   (eval $ac_try) 2>&5
44784   ac_status=$?
44785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786   (exit $ac_status); }; }; then
44787   eval "$as_ac_var=yes"
44788 else
44789   echo "$as_me: failed program was:" >&5
44790 sed 's/^/| /' conftest.$ac_ext >&5
44791
44792 eval "$as_ac_var=no"
44793 fi
44794 rm -f conftest.err conftest.$ac_objext \
44795       conftest$ac_exeext conftest.$ac_ext
44796 fi
44797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44799 if test `eval echo '${'$as_ac_var'}'` = yes; then
44800   cat >>confdefs.h <<_ACEOF
44801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44802 _ACEOF
44803
44804 fi
44805 done
44806
44807   else
44808
44809   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44810 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44811   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44812     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44813   echo $ECHO_N "(cached) $ECHO_C" >&6
44814 else
44815
44816
44817
44818       ac_ext=cc
44819 ac_cpp='$CXXCPP $CPPFLAGS'
44820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44823
44824       cat >conftest.$ac_ext <<_ACEOF
44825 /* confdefs.h.  */
44826 _ACEOF
44827 cat confdefs.h >>conftest.$ac_ext
44828 cat >>conftest.$ac_ext <<_ACEOF
44829 /* end confdefs.h.  */
44830 #include <math.h>
44831 int
44832 main ()
44833 {
44834  _atan2l(0, 0);
44835   ;
44836   return 0;
44837 }
44838 _ACEOF
44839 rm -f conftest.$ac_objext
44840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44841   (eval $ac_compile) 2>conftest.er1
44842   ac_status=$?
44843   grep -v '^ *+' conftest.er1 >conftest.err
44844   rm -f conftest.er1
44845   cat conftest.err >&5
44846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847   (exit $ac_status); } &&
44848          { ac_try='test -z "$ac_cxx_werror_flag"
44849                          || test ! -s conftest.err'
44850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44851   (eval $ac_try) 2>&5
44852   ac_status=$?
44853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854   (exit $ac_status); }; } &&
44855          { ac_try='test -s conftest.$ac_objext'
44856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44857   (eval $ac_try) 2>&5
44858   ac_status=$?
44859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44860   (exit $ac_status); }; }; then
44861   glibcxx_cv_func__atan2l_use=yes
44862 else
44863   echo "$as_me: failed program was:" >&5
44864 sed 's/^/| /' conftest.$ac_ext >&5
44865
44866 glibcxx_cv_func__atan2l_use=no
44867 fi
44868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44869       ac_ext=c
44870 ac_cpp='$CPP $CPPFLAGS'
44871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44874
44875
44876 fi
44877
44878   fi
44879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44880 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44881
44882     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44883
44884 for ac_func in _atan2l
44885 do
44886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44887 echo "$as_me:$LINENO: checking for $ac_func" >&5
44888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44889 if eval "test \"\${$as_ac_var+set}\" = set"; then
44890   echo $ECHO_N "(cached) $ECHO_C" >&6
44891 else
44892   if test x$gcc_no_link = xyes; then
44893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44895    { (exit 1); exit 1; }; }
44896 fi
44897 cat >conftest.$ac_ext <<_ACEOF
44898 /* confdefs.h.  */
44899 _ACEOF
44900 cat confdefs.h >>conftest.$ac_ext
44901 cat >>conftest.$ac_ext <<_ACEOF
44902 /* end confdefs.h.  */
44903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44905 #define $ac_func innocuous_$ac_func
44906
44907 /* System header to define __stub macros and hopefully few prototypes,
44908     which can conflict with char $ac_func (); below.
44909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44910     <limits.h> exists even on freestanding compilers.  */
44911
44912 #ifdef __STDC__
44913 # include <limits.h>
44914 #else
44915 # include <assert.h>
44916 #endif
44917
44918 #undef $ac_func
44919
44920 /* Override any gcc2 internal prototype to avoid an error.  */
44921 #ifdef __cplusplus
44922 extern "C"
44923 {
44924 #endif
44925 /* We use char because int might match the return type of a gcc2
44926    builtin and then its argument prototype would still apply.  */
44927 char $ac_func ();
44928 /* The GNU C library defines this for functions which it implements
44929     to always fail with ENOSYS.  Some functions are actually named
44930     something starting with __ and the normal name is an alias.  */
44931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44932 choke me
44933 #else
44934 char (*f) () = $ac_func;
44935 #endif
44936 #ifdef __cplusplus
44937 }
44938 #endif
44939
44940 int
44941 main ()
44942 {
44943 return f != $ac_func;
44944   ;
44945   return 0;
44946 }
44947 _ACEOF
44948 rm -f conftest.$ac_objext conftest$ac_exeext
44949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44950   (eval $ac_link) 2>conftest.er1
44951   ac_status=$?
44952   grep -v '^ *+' conftest.er1 >conftest.err
44953   rm -f conftest.er1
44954   cat conftest.err >&5
44955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44956   (exit $ac_status); } &&
44957          { ac_try='test -z "$ac_c_werror_flag"
44958                          || test ! -s conftest.err'
44959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44960   (eval $ac_try) 2>&5
44961   ac_status=$?
44962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44963   (exit $ac_status); }; } &&
44964          { ac_try='test -s conftest$ac_exeext'
44965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44966   (eval $ac_try) 2>&5
44967   ac_status=$?
44968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44969   (exit $ac_status); }; }; then
44970   eval "$as_ac_var=yes"
44971 else
44972   echo "$as_me: failed program was:" >&5
44973 sed 's/^/| /' conftest.$ac_ext >&5
44974
44975 eval "$as_ac_var=no"
44976 fi
44977 rm -f conftest.err conftest.$ac_objext \
44978       conftest$ac_exeext conftest.$ac_ext
44979 fi
44980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44982 if test `eval echo '${'$as_ac_var'}'` = yes; then
44983   cat >>confdefs.h <<_ACEOF
44984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44985 _ACEOF
44986
44987 fi
44988 done
44989
44990     fi
44991   fi
44992
44993
44994
44995
44996
44997
44998   echo "$as_me:$LINENO: checking for expl declaration" >&5
44999 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45000   if test x${glibcxx_cv_func_expl_use+set} != xset; then
45001     if test "${glibcxx_cv_func_expl_use+set}" = set; then
45002   echo $ECHO_N "(cached) $ECHO_C" >&6
45003 else
45004
45005
45006
45007       ac_ext=cc
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012
45013       cat >conftest.$ac_ext <<_ACEOF
45014 /* confdefs.h.  */
45015 _ACEOF
45016 cat confdefs.h >>conftest.$ac_ext
45017 cat >>conftest.$ac_ext <<_ACEOF
45018 /* end confdefs.h.  */
45019 #include <math.h>
45020                       #ifdef HAVE_IEEEFP_H
45021                       #include <ieeefp.h>
45022                       #endif
45023
45024 int
45025 main ()
45026 {
45027  expl(0);
45028   ;
45029   return 0;
45030 }
45031 _ACEOF
45032 rm -f conftest.$ac_objext
45033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45034   (eval $ac_compile) 2>conftest.er1
45035   ac_status=$?
45036   grep -v '^ *+' conftest.er1 >conftest.err
45037   rm -f conftest.er1
45038   cat conftest.err >&5
45039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45040   (exit $ac_status); } &&
45041          { ac_try='test -z "$ac_cxx_werror_flag"
45042                          || test ! -s conftest.err'
45043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45044   (eval $ac_try) 2>&5
45045   ac_status=$?
45046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047   (exit $ac_status); }; } &&
45048          { ac_try='test -s conftest.$ac_objext'
45049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45050   (eval $ac_try) 2>&5
45051   ac_status=$?
45052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053   (exit $ac_status); }; }; then
45054   glibcxx_cv_func_expl_use=yes
45055 else
45056   echo "$as_me: failed program was:" >&5
45057 sed 's/^/| /' conftest.$ac_ext >&5
45058
45059 glibcxx_cv_func_expl_use=no
45060 fi
45061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45062       ac_ext=c
45063 ac_cpp='$CPP $CPPFLAGS'
45064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45067
45068
45069 fi
45070
45071   fi
45072   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45073 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45074
45075   if test x$glibcxx_cv_func_expl_use = x"yes"; then
45076
45077 for ac_func in expl
45078 do
45079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45080 echo "$as_me:$LINENO: checking for $ac_func" >&5
45081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45082 if eval "test \"\${$as_ac_var+set}\" = set"; then
45083   echo $ECHO_N "(cached) $ECHO_C" >&6
45084 else
45085   if test x$gcc_no_link = xyes; then
45086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45088    { (exit 1); exit 1; }; }
45089 fi
45090 cat >conftest.$ac_ext <<_ACEOF
45091 /* confdefs.h.  */
45092 _ACEOF
45093 cat confdefs.h >>conftest.$ac_ext
45094 cat >>conftest.$ac_ext <<_ACEOF
45095 /* end confdefs.h.  */
45096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45098 #define $ac_func innocuous_$ac_func
45099
45100 /* System header to define __stub macros and hopefully few prototypes,
45101     which can conflict with char $ac_func (); below.
45102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45103     <limits.h> exists even on freestanding compilers.  */
45104
45105 #ifdef __STDC__
45106 # include <limits.h>
45107 #else
45108 # include <assert.h>
45109 #endif
45110
45111 #undef $ac_func
45112
45113 /* Override any gcc2 internal prototype to avoid an error.  */
45114 #ifdef __cplusplus
45115 extern "C"
45116 {
45117 #endif
45118 /* We use char because int might match the return type of a gcc2
45119    builtin and then its argument prototype would still apply.  */
45120 char $ac_func ();
45121 /* The GNU C library defines this for functions which it implements
45122     to always fail with ENOSYS.  Some functions are actually named
45123     something starting with __ and the normal name is an alias.  */
45124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45125 choke me
45126 #else
45127 char (*f) () = $ac_func;
45128 #endif
45129 #ifdef __cplusplus
45130 }
45131 #endif
45132
45133 int
45134 main ()
45135 {
45136 return f != $ac_func;
45137   ;
45138   return 0;
45139 }
45140 _ACEOF
45141 rm -f conftest.$ac_objext conftest$ac_exeext
45142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45143   (eval $ac_link) 2>conftest.er1
45144   ac_status=$?
45145   grep -v '^ *+' conftest.er1 >conftest.err
45146   rm -f conftest.er1
45147   cat conftest.err >&5
45148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45149   (exit $ac_status); } &&
45150          { ac_try='test -z "$ac_c_werror_flag"
45151                          || test ! -s conftest.err'
45152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45153   (eval $ac_try) 2>&5
45154   ac_status=$?
45155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156   (exit $ac_status); }; } &&
45157          { ac_try='test -s conftest$ac_exeext'
45158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45159   (eval $ac_try) 2>&5
45160   ac_status=$?
45161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162   (exit $ac_status); }; }; then
45163   eval "$as_ac_var=yes"
45164 else
45165   echo "$as_me: failed program was:" >&5
45166 sed 's/^/| /' conftest.$ac_ext >&5
45167
45168 eval "$as_ac_var=no"
45169 fi
45170 rm -f conftest.err conftest.$ac_objext \
45171       conftest$ac_exeext conftest.$ac_ext
45172 fi
45173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45175 if test `eval echo '${'$as_ac_var'}'` = yes; then
45176   cat >>confdefs.h <<_ACEOF
45177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45178 _ACEOF
45179
45180 fi
45181 done
45182
45183   else
45184
45185   echo "$as_me:$LINENO: checking for _expl declaration" >&5
45186 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45187   if test x${glibcxx_cv_func__expl_use+set} != xset; then
45188     if test "${glibcxx_cv_func__expl_use+set}" = set; then
45189   echo $ECHO_N "(cached) $ECHO_C" >&6
45190 else
45191
45192
45193
45194       ac_ext=cc
45195 ac_cpp='$CXXCPP $CPPFLAGS'
45196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45199
45200       cat >conftest.$ac_ext <<_ACEOF
45201 /* confdefs.h.  */
45202 _ACEOF
45203 cat confdefs.h >>conftest.$ac_ext
45204 cat >>conftest.$ac_ext <<_ACEOF
45205 /* end confdefs.h.  */
45206 #include <math.h>
45207                       #ifdef HAVE_IEEEFP_H
45208                       #include <ieeefp.h>
45209                       #endif
45210
45211 int
45212 main ()
45213 {
45214  _expl(0);
45215   ;
45216   return 0;
45217 }
45218 _ACEOF
45219 rm -f conftest.$ac_objext
45220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45221   (eval $ac_compile) 2>conftest.er1
45222   ac_status=$?
45223   grep -v '^ *+' conftest.er1 >conftest.err
45224   rm -f conftest.er1
45225   cat conftest.err >&5
45226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227   (exit $ac_status); } &&
45228          { ac_try='test -z "$ac_cxx_werror_flag"
45229                          || test ! -s conftest.err'
45230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45231   (eval $ac_try) 2>&5
45232   ac_status=$?
45233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45234   (exit $ac_status); }; } &&
45235          { ac_try='test -s conftest.$ac_objext'
45236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45237   (eval $ac_try) 2>&5
45238   ac_status=$?
45239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45240   (exit $ac_status); }; }; then
45241   glibcxx_cv_func__expl_use=yes
45242 else
45243   echo "$as_me: failed program was:" >&5
45244 sed 's/^/| /' conftest.$ac_ext >&5
45245
45246 glibcxx_cv_func__expl_use=no
45247 fi
45248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45249       ac_ext=c
45250 ac_cpp='$CPP $CPPFLAGS'
45251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45254
45255
45256 fi
45257
45258   fi
45259   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45260 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45261
45262     if test x$glibcxx_cv_func__expl_use = x"yes"; then
45263
45264 for ac_func in _expl
45265 do
45266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45267 echo "$as_me:$LINENO: checking for $ac_func" >&5
45268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45269 if eval "test \"\${$as_ac_var+set}\" = set"; then
45270   echo $ECHO_N "(cached) $ECHO_C" >&6
45271 else
45272   if test x$gcc_no_link = xyes; then
45273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45275    { (exit 1); exit 1; }; }
45276 fi
45277 cat >conftest.$ac_ext <<_ACEOF
45278 /* confdefs.h.  */
45279 _ACEOF
45280 cat confdefs.h >>conftest.$ac_ext
45281 cat >>conftest.$ac_ext <<_ACEOF
45282 /* end confdefs.h.  */
45283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45285 #define $ac_func innocuous_$ac_func
45286
45287 /* System header to define __stub macros and hopefully few prototypes,
45288     which can conflict with char $ac_func (); below.
45289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45290     <limits.h> exists even on freestanding compilers.  */
45291
45292 #ifdef __STDC__
45293 # include <limits.h>
45294 #else
45295 # include <assert.h>
45296 #endif
45297
45298 #undef $ac_func
45299
45300 /* Override any gcc2 internal prototype to avoid an error.  */
45301 #ifdef __cplusplus
45302 extern "C"
45303 {
45304 #endif
45305 /* We use char because int might match the return type of a gcc2
45306    builtin and then its argument prototype would still apply.  */
45307 char $ac_func ();
45308 /* The GNU C library defines this for functions which it implements
45309     to always fail with ENOSYS.  Some functions are actually named
45310     something starting with __ and the normal name is an alias.  */
45311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45312 choke me
45313 #else
45314 char (*f) () = $ac_func;
45315 #endif
45316 #ifdef __cplusplus
45317 }
45318 #endif
45319
45320 int
45321 main ()
45322 {
45323 return f != $ac_func;
45324   ;
45325   return 0;
45326 }
45327 _ACEOF
45328 rm -f conftest.$ac_objext conftest$ac_exeext
45329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45330   (eval $ac_link) 2>conftest.er1
45331   ac_status=$?
45332   grep -v '^ *+' conftest.er1 >conftest.err
45333   rm -f conftest.er1
45334   cat conftest.err >&5
45335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336   (exit $ac_status); } &&
45337          { ac_try='test -z "$ac_c_werror_flag"
45338                          || test ! -s conftest.err'
45339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45340   (eval $ac_try) 2>&5
45341   ac_status=$?
45342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343   (exit $ac_status); }; } &&
45344          { ac_try='test -s conftest$ac_exeext'
45345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45346   (eval $ac_try) 2>&5
45347   ac_status=$?
45348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45349   (exit $ac_status); }; }; then
45350   eval "$as_ac_var=yes"
45351 else
45352   echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45354
45355 eval "$as_ac_var=no"
45356 fi
45357 rm -f conftest.err conftest.$ac_objext \
45358       conftest$ac_exeext conftest.$ac_ext
45359 fi
45360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45362 if test `eval echo '${'$as_ac_var'}'` = yes; then
45363   cat >>confdefs.h <<_ACEOF
45364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45365 _ACEOF
45366
45367 fi
45368 done
45369
45370     fi
45371   fi
45372
45373
45374
45375
45376
45377
45378   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45379 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45380   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45381     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45382   echo $ECHO_N "(cached) $ECHO_C" >&6
45383 else
45384
45385
45386
45387       ac_ext=cc
45388 ac_cpp='$CXXCPP $CPPFLAGS'
45389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45392
45393       cat >conftest.$ac_ext <<_ACEOF
45394 /* confdefs.h.  */
45395 _ACEOF
45396 cat confdefs.h >>conftest.$ac_ext
45397 cat >>conftest.$ac_ext <<_ACEOF
45398 /* end confdefs.h.  */
45399 #include <math.h>
45400                       #ifdef HAVE_IEEEFP_H
45401                       #include <ieeefp.h>
45402                       #endif
45403
45404 int
45405 main ()
45406 {
45407  fabsl(0);
45408   ;
45409   return 0;
45410 }
45411 _ACEOF
45412 rm -f conftest.$ac_objext
45413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45414   (eval $ac_compile) 2>conftest.er1
45415   ac_status=$?
45416   grep -v '^ *+' conftest.er1 >conftest.err
45417   rm -f conftest.er1
45418   cat conftest.err >&5
45419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45420   (exit $ac_status); } &&
45421          { ac_try='test -z "$ac_cxx_werror_flag"
45422                          || test ! -s conftest.err'
45423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45424   (eval $ac_try) 2>&5
45425   ac_status=$?
45426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45427   (exit $ac_status); }; } &&
45428          { ac_try='test -s conftest.$ac_objext'
45429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45430   (eval $ac_try) 2>&5
45431   ac_status=$?
45432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45433   (exit $ac_status); }; }; then
45434   glibcxx_cv_func_fabsl_use=yes
45435 else
45436   echo "$as_me: failed program was:" >&5
45437 sed 's/^/| /' conftest.$ac_ext >&5
45438
45439 glibcxx_cv_func_fabsl_use=no
45440 fi
45441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45442       ac_ext=c
45443 ac_cpp='$CPP $CPPFLAGS'
45444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45447
45448
45449 fi
45450
45451   fi
45452   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45453 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45454
45455   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45456
45457 for ac_func in fabsl
45458 do
45459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45460 echo "$as_me:$LINENO: checking for $ac_func" >&5
45461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45462 if eval "test \"\${$as_ac_var+set}\" = set"; then
45463   echo $ECHO_N "(cached) $ECHO_C" >&6
45464 else
45465   if test x$gcc_no_link = xyes; then
45466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45468    { (exit 1); exit 1; }; }
45469 fi
45470 cat >conftest.$ac_ext <<_ACEOF
45471 /* confdefs.h.  */
45472 _ACEOF
45473 cat confdefs.h >>conftest.$ac_ext
45474 cat >>conftest.$ac_ext <<_ACEOF
45475 /* end confdefs.h.  */
45476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45478 #define $ac_func innocuous_$ac_func
45479
45480 /* System header to define __stub macros and hopefully few prototypes,
45481     which can conflict with char $ac_func (); below.
45482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45483     <limits.h> exists even on freestanding compilers.  */
45484
45485 #ifdef __STDC__
45486 # include <limits.h>
45487 #else
45488 # include <assert.h>
45489 #endif
45490
45491 #undef $ac_func
45492
45493 /* Override any gcc2 internal prototype to avoid an error.  */
45494 #ifdef __cplusplus
45495 extern "C"
45496 {
45497 #endif
45498 /* We use char because int might match the return type of a gcc2
45499    builtin and then its argument prototype would still apply.  */
45500 char $ac_func ();
45501 /* The GNU C library defines this for functions which it implements
45502     to always fail with ENOSYS.  Some functions are actually named
45503     something starting with __ and the normal name is an alias.  */
45504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45505 choke me
45506 #else
45507 char (*f) () = $ac_func;
45508 #endif
45509 #ifdef __cplusplus
45510 }
45511 #endif
45512
45513 int
45514 main ()
45515 {
45516 return f != $ac_func;
45517   ;
45518   return 0;
45519 }
45520 _ACEOF
45521 rm -f conftest.$ac_objext conftest$ac_exeext
45522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45523   (eval $ac_link) 2>conftest.er1
45524   ac_status=$?
45525   grep -v '^ *+' conftest.er1 >conftest.err
45526   rm -f conftest.er1
45527   cat conftest.err >&5
45528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529   (exit $ac_status); } &&
45530          { ac_try='test -z "$ac_c_werror_flag"
45531                          || test ! -s conftest.err'
45532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45533   (eval $ac_try) 2>&5
45534   ac_status=$?
45535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45536   (exit $ac_status); }; } &&
45537          { ac_try='test -s conftest$ac_exeext'
45538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45539   (eval $ac_try) 2>&5
45540   ac_status=$?
45541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45542   (exit $ac_status); }; }; then
45543   eval "$as_ac_var=yes"
45544 else
45545   echo "$as_me: failed program was:" >&5
45546 sed 's/^/| /' conftest.$ac_ext >&5
45547
45548 eval "$as_ac_var=no"
45549 fi
45550 rm -f conftest.err conftest.$ac_objext \
45551       conftest$ac_exeext conftest.$ac_ext
45552 fi
45553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45555 if test `eval echo '${'$as_ac_var'}'` = yes; then
45556   cat >>confdefs.h <<_ACEOF
45557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45558 _ACEOF
45559
45560 fi
45561 done
45562
45563   else
45564
45565   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45566 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45567   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45568     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45569   echo $ECHO_N "(cached) $ECHO_C" >&6
45570 else
45571
45572
45573
45574       ac_ext=cc
45575 ac_cpp='$CXXCPP $CPPFLAGS'
45576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45579
45580       cat >conftest.$ac_ext <<_ACEOF
45581 /* confdefs.h.  */
45582 _ACEOF
45583 cat confdefs.h >>conftest.$ac_ext
45584 cat >>conftest.$ac_ext <<_ACEOF
45585 /* end confdefs.h.  */
45586 #include <math.h>
45587                       #ifdef HAVE_IEEEFP_H
45588                       #include <ieeefp.h>
45589                       #endif
45590
45591 int
45592 main ()
45593 {
45594  _fabsl(0);
45595   ;
45596   return 0;
45597 }
45598 _ACEOF
45599 rm -f conftest.$ac_objext
45600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45601   (eval $ac_compile) 2>conftest.er1
45602   ac_status=$?
45603   grep -v '^ *+' conftest.er1 >conftest.err
45604   rm -f conftest.er1
45605   cat conftest.err >&5
45606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607   (exit $ac_status); } &&
45608          { ac_try='test -z "$ac_cxx_werror_flag"
45609                          || test ! -s conftest.err'
45610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45611   (eval $ac_try) 2>&5
45612   ac_status=$?
45613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614   (exit $ac_status); }; } &&
45615          { ac_try='test -s conftest.$ac_objext'
45616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45617   (eval $ac_try) 2>&5
45618   ac_status=$?
45619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620   (exit $ac_status); }; }; then
45621   glibcxx_cv_func__fabsl_use=yes
45622 else
45623   echo "$as_me: failed program was:" >&5
45624 sed 's/^/| /' conftest.$ac_ext >&5
45625
45626 glibcxx_cv_func__fabsl_use=no
45627 fi
45628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45629       ac_ext=c
45630 ac_cpp='$CPP $CPPFLAGS'
45631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45634
45635
45636 fi
45637
45638   fi
45639   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45640 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45641
45642     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45643
45644 for ac_func in _fabsl
45645 do
45646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45647 echo "$as_me:$LINENO: checking for $ac_func" >&5
45648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45649 if eval "test \"\${$as_ac_var+set}\" = set"; then
45650   echo $ECHO_N "(cached) $ECHO_C" >&6
45651 else
45652   if test x$gcc_no_link = xyes; then
45653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45655    { (exit 1); exit 1; }; }
45656 fi
45657 cat >conftest.$ac_ext <<_ACEOF
45658 /* confdefs.h.  */
45659 _ACEOF
45660 cat confdefs.h >>conftest.$ac_ext
45661 cat >>conftest.$ac_ext <<_ACEOF
45662 /* end confdefs.h.  */
45663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45665 #define $ac_func innocuous_$ac_func
45666
45667 /* System header to define __stub macros and hopefully few prototypes,
45668     which can conflict with char $ac_func (); below.
45669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45670     <limits.h> exists even on freestanding compilers.  */
45671
45672 #ifdef __STDC__
45673 # include <limits.h>
45674 #else
45675 # include <assert.h>
45676 #endif
45677
45678 #undef $ac_func
45679
45680 /* Override any gcc2 internal prototype to avoid an error.  */
45681 #ifdef __cplusplus
45682 extern "C"
45683 {
45684 #endif
45685 /* We use char because int might match the return type of a gcc2
45686    builtin and then its argument prototype would still apply.  */
45687 char $ac_func ();
45688 /* The GNU C library defines this for functions which it implements
45689     to always fail with ENOSYS.  Some functions are actually named
45690     something starting with __ and the normal name is an alias.  */
45691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45692 choke me
45693 #else
45694 char (*f) () = $ac_func;
45695 #endif
45696 #ifdef __cplusplus
45697 }
45698 #endif
45699
45700 int
45701 main ()
45702 {
45703 return f != $ac_func;
45704   ;
45705   return 0;
45706 }
45707 _ACEOF
45708 rm -f conftest.$ac_objext conftest$ac_exeext
45709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45710   (eval $ac_link) 2>conftest.er1
45711   ac_status=$?
45712   grep -v '^ *+' conftest.er1 >conftest.err
45713   rm -f conftest.er1
45714   cat conftest.err >&5
45715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716   (exit $ac_status); } &&
45717          { ac_try='test -z "$ac_c_werror_flag"
45718                          || test ! -s conftest.err'
45719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45720   (eval $ac_try) 2>&5
45721   ac_status=$?
45722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45723   (exit $ac_status); }; } &&
45724          { ac_try='test -s conftest$ac_exeext'
45725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45726   (eval $ac_try) 2>&5
45727   ac_status=$?
45728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45729   (exit $ac_status); }; }; then
45730   eval "$as_ac_var=yes"
45731 else
45732   echo "$as_me: failed program was:" >&5
45733 sed 's/^/| /' conftest.$ac_ext >&5
45734
45735 eval "$as_ac_var=no"
45736 fi
45737 rm -f conftest.err conftest.$ac_objext \
45738       conftest$ac_exeext conftest.$ac_ext
45739 fi
45740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45742 if test `eval echo '${'$as_ac_var'}'` = yes; then
45743   cat >>confdefs.h <<_ACEOF
45744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45745 _ACEOF
45746
45747 fi
45748 done
45749
45750     fi
45751   fi
45752
45753
45754
45755
45756
45757
45758   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45759 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45760   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45761     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45762   echo $ECHO_N "(cached) $ECHO_C" >&6
45763 else
45764
45765
45766
45767       ac_ext=cc
45768 ac_cpp='$CXXCPP $CPPFLAGS'
45769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45772
45773       cat >conftest.$ac_ext <<_ACEOF
45774 /* confdefs.h.  */
45775 _ACEOF
45776 cat confdefs.h >>conftest.$ac_ext
45777 cat >>conftest.$ac_ext <<_ACEOF
45778 /* end confdefs.h.  */
45779 #include <math.h>
45780 int
45781 main ()
45782 {
45783  fmodl(0, 0);
45784   ;
45785   return 0;
45786 }
45787 _ACEOF
45788 rm -f conftest.$ac_objext
45789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45790   (eval $ac_compile) 2>conftest.er1
45791   ac_status=$?
45792   grep -v '^ *+' conftest.er1 >conftest.err
45793   rm -f conftest.er1
45794   cat conftest.err >&5
45795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45796   (exit $ac_status); } &&
45797          { ac_try='test -z "$ac_cxx_werror_flag"
45798                          || test ! -s conftest.err'
45799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45800   (eval $ac_try) 2>&5
45801   ac_status=$?
45802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45803   (exit $ac_status); }; } &&
45804          { ac_try='test -s conftest.$ac_objext'
45805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45806   (eval $ac_try) 2>&5
45807   ac_status=$?
45808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45809   (exit $ac_status); }; }; then
45810   glibcxx_cv_func_fmodl_use=yes
45811 else
45812   echo "$as_me: failed program was:" >&5
45813 sed 's/^/| /' conftest.$ac_ext >&5
45814
45815 glibcxx_cv_func_fmodl_use=no
45816 fi
45817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45818       ac_ext=c
45819 ac_cpp='$CPP $CPPFLAGS'
45820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45823
45824
45825 fi
45826
45827   fi
45828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45829 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45830
45831   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45832
45833 for ac_func in fmodl
45834 do
45835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45836 echo "$as_me:$LINENO: checking for $ac_func" >&5
45837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45838 if eval "test \"\${$as_ac_var+set}\" = set"; then
45839   echo $ECHO_N "(cached) $ECHO_C" >&6
45840 else
45841   if test x$gcc_no_link = xyes; then
45842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45844    { (exit 1); exit 1; }; }
45845 fi
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h.  */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h.  */
45852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45854 #define $ac_func innocuous_$ac_func
45855
45856 /* System header to define __stub macros and hopefully few prototypes,
45857     which can conflict with char $ac_func (); below.
45858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45859     <limits.h> exists even on freestanding compilers.  */
45860
45861 #ifdef __STDC__
45862 # include <limits.h>
45863 #else
45864 # include <assert.h>
45865 #endif
45866
45867 #undef $ac_func
45868
45869 /* Override any gcc2 internal prototype to avoid an error.  */
45870 #ifdef __cplusplus
45871 extern "C"
45872 {
45873 #endif
45874 /* We use char because int might match the return type of a gcc2
45875    builtin and then its argument prototype would still apply.  */
45876 char $ac_func ();
45877 /* The GNU C library defines this for functions which it implements
45878     to always fail with ENOSYS.  Some functions are actually named
45879     something starting with __ and the normal name is an alias.  */
45880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45881 choke me
45882 #else
45883 char (*f) () = $ac_func;
45884 #endif
45885 #ifdef __cplusplus
45886 }
45887 #endif
45888
45889 int
45890 main ()
45891 {
45892 return f != $ac_func;
45893   ;
45894   return 0;
45895 }
45896 _ACEOF
45897 rm -f conftest.$ac_objext conftest$ac_exeext
45898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45899   (eval $ac_link) 2>conftest.er1
45900   ac_status=$?
45901   grep -v '^ *+' conftest.er1 >conftest.err
45902   rm -f conftest.er1
45903   cat conftest.err >&5
45904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45905   (exit $ac_status); } &&
45906          { ac_try='test -z "$ac_c_werror_flag"
45907                          || test ! -s conftest.err'
45908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45909   (eval $ac_try) 2>&5
45910   ac_status=$?
45911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912   (exit $ac_status); }; } &&
45913          { ac_try='test -s conftest$ac_exeext'
45914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45915   (eval $ac_try) 2>&5
45916   ac_status=$?
45917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918   (exit $ac_status); }; }; then
45919   eval "$as_ac_var=yes"
45920 else
45921   echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45923
45924 eval "$as_ac_var=no"
45925 fi
45926 rm -f conftest.err conftest.$ac_objext \
45927       conftest$ac_exeext conftest.$ac_ext
45928 fi
45929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45931 if test `eval echo '${'$as_ac_var'}'` = yes; then
45932   cat >>confdefs.h <<_ACEOF
45933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45934 _ACEOF
45935
45936 fi
45937 done
45938
45939   else
45940
45941   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45942 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45943   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45944     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45945   echo $ECHO_N "(cached) $ECHO_C" >&6
45946 else
45947
45948
45949
45950       ac_ext=cc
45951 ac_cpp='$CXXCPP $CPPFLAGS'
45952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45955
45956       cat >conftest.$ac_ext <<_ACEOF
45957 /* confdefs.h.  */
45958 _ACEOF
45959 cat confdefs.h >>conftest.$ac_ext
45960 cat >>conftest.$ac_ext <<_ACEOF
45961 /* end confdefs.h.  */
45962 #include <math.h>
45963 int
45964 main ()
45965 {
45966  _fmodl(0, 0);
45967   ;
45968   return 0;
45969 }
45970 _ACEOF
45971 rm -f conftest.$ac_objext
45972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45973   (eval $ac_compile) 2>conftest.er1
45974   ac_status=$?
45975   grep -v '^ *+' conftest.er1 >conftest.err
45976   rm -f conftest.er1
45977   cat conftest.err >&5
45978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45979   (exit $ac_status); } &&
45980          { ac_try='test -z "$ac_cxx_werror_flag"
45981                          || test ! -s conftest.err'
45982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45983   (eval $ac_try) 2>&5
45984   ac_status=$?
45985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45986   (exit $ac_status); }; } &&
45987          { ac_try='test -s conftest.$ac_objext'
45988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45989   (eval $ac_try) 2>&5
45990   ac_status=$?
45991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45992   (exit $ac_status); }; }; then
45993   glibcxx_cv_func__fmodl_use=yes
45994 else
45995   echo "$as_me: failed program was:" >&5
45996 sed 's/^/| /' conftest.$ac_ext >&5
45997
45998 glibcxx_cv_func__fmodl_use=no
45999 fi
46000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46001       ac_ext=c
46002 ac_cpp='$CPP $CPPFLAGS'
46003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46006
46007
46008 fi
46009
46010   fi
46011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46012 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46013
46014     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46015
46016 for ac_func in _fmodl
46017 do
46018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46019 echo "$as_me:$LINENO: checking for $ac_func" >&5
46020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46021 if eval "test \"\${$as_ac_var+set}\" = set"; then
46022   echo $ECHO_N "(cached) $ECHO_C" >&6
46023 else
46024   if test x$gcc_no_link = xyes; then
46025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46027    { (exit 1); exit 1; }; }
46028 fi
46029 cat >conftest.$ac_ext <<_ACEOF
46030 /* confdefs.h.  */
46031 _ACEOF
46032 cat confdefs.h >>conftest.$ac_ext
46033 cat >>conftest.$ac_ext <<_ACEOF
46034 /* end confdefs.h.  */
46035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46037 #define $ac_func innocuous_$ac_func
46038
46039 /* System header to define __stub macros and hopefully few prototypes,
46040     which can conflict with char $ac_func (); below.
46041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46042     <limits.h> exists even on freestanding compilers.  */
46043
46044 #ifdef __STDC__
46045 # include <limits.h>
46046 #else
46047 # include <assert.h>
46048 #endif
46049
46050 #undef $ac_func
46051
46052 /* Override any gcc2 internal prototype to avoid an error.  */
46053 #ifdef __cplusplus
46054 extern "C"
46055 {
46056 #endif
46057 /* We use char because int might match the return type of a gcc2
46058    builtin and then its argument prototype would still apply.  */
46059 char $ac_func ();
46060 /* The GNU C library defines this for functions which it implements
46061     to always fail with ENOSYS.  Some functions are actually named
46062     something starting with __ and the normal name is an alias.  */
46063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46064 choke me
46065 #else
46066 char (*f) () = $ac_func;
46067 #endif
46068 #ifdef __cplusplus
46069 }
46070 #endif
46071
46072 int
46073 main ()
46074 {
46075 return f != $ac_func;
46076   ;
46077   return 0;
46078 }
46079 _ACEOF
46080 rm -f conftest.$ac_objext conftest$ac_exeext
46081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46082   (eval $ac_link) 2>conftest.er1
46083   ac_status=$?
46084   grep -v '^ *+' conftest.er1 >conftest.err
46085   rm -f conftest.er1
46086   cat conftest.err >&5
46087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088   (exit $ac_status); } &&
46089          { ac_try='test -z "$ac_c_werror_flag"
46090                          || test ! -s conftest.err'
46091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46092   (eval $ac_try) 2>&5
46093   ac_status=$?
46094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095   (exit $ac_status); }; } &&
46096          { ac_try='test -s conftest$ac_exeext'
46097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46098   (eval $ac_try) 2>&5
46099   ac_status=$?
46100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101   (exit $ac_status); }; }; then
46102   eval "$as_ac_var=yes"
46103 else
46104   echo "$as_me: failed program was:" >&5
46105 sed 's/^/| /' conftest.$ac_ext >&5
46106
46107 eval "$as_ac_var=no"
46108 fi
46109 rm -f conftest.err conftest.$ac_objext \
46110       conftest$ac_exeext conftest.$ac_ext
46111 fi
46112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46114 if test `eval echo '${'$as_ac_var'}'` = yes; then
46115   cat >>confdefs.h <<_ACEOF
46116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46117 _ACEOF
46118
46119 fi
46120 done
46121
46122     fi
46123   fi
46124
46125
46126
46127
46128
46129
46130   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46131 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46132   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46133     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46134   echo $ECHO_N "(cached) $ECHO_C" >&6
46135 else
46136
46137
46138
46139       ac_ext=cc
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46144
46145       cat >conftest.$ac_ext <<_ACEOF
46146 /* confdefs.h.  */
46147 _ACEOF
46148 cat confdefs.h >>conftest.$ac_ext
46149 cat >>conftest.$ac_ext <<_ACEOF
46150 /* end confdefs.h.  */
46151 #include <math.h>
46152 int
46153 main ()
46154 {
46155  frexpl(0, 0);
46156   ;
46157   return 0;
46158 }
46159 _ACEOF
46160 rm -f conftest.$ac_objext
46161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46162   (eval $ac_compile) 2>conftest.er1
46163   ac_status=$?
46164   grep -v '^ *+' conftest.er1 >conftest.err
46165   rm -f conftest.er1
46166   cat conftest.err >&5
46167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168   (exit $ac_status); } &&
46169          { ac_try='test -z "$ac_cxx_werror_flag"
46170                          || test ! -s conftest.err'
46171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46172   (eval $ac_try) 2>&5
46173   ac_status=$?
46174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46175   (exit $ac_status); }; } &&
46176          { ac_try='test -s conftest.$ac_objext'
46177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46178   (eval $ac_try) 2>&5
46179   ac_status=$?
46180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46181   (exit $ac_status); }; }; then
46182   glibcxx_cv_func_frexpl_use=yes
46183 else
46184   echo "$as_me: failed program was:" >&5
46185 sed 's/^/| /' conftest.$ac_ext >&5
46186
46187 glibcxx_cv_func_frexpl_use=no
46188 fi
46189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46190       ac_ext=c
46191 ac_cpp='$CPP $CPPFLAGS'
46192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46195
46196
46197 fi
46198
46199   fi
46200   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46201 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46202
46203   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46204
46205 for ac_func in frexpl
46206 do
46207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46208 echo "$as_me:$LINENO: checking for $ac_func" >&5
46209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46210 if eval "test \"\${$as_ac_var+set}\" = set"; then
46211   echo $ECHO_N "(cached) $ECHO_C" >&6
46212 else
46213   if test x$gcc_no_link = xyes; then
46214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46216    { (exit 1); exit 1; }; }
46217 fi
46218 cat >conftest.$ac_ext <<_ACEOF
46219 /* confdefs.h.  */
46220 _ACEOF
46221 cat confdefs.h >>conftest.$ac_ext
46222 cat >>conftest.$ac_ext <<_ACEOF
46223 /* end confdefs.h.  */
46224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46226 #define $ac_func innocuous_$ac_func
46227
46228 /* System header to define __stub macros and hopefully few prototypes,
46229     which can conflict with char $ac_func (); below.
46230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46231     <limits.h> exists even on freestanding compilers.  */
46232
46233 #ifdef __STDC__
46234 # include <limits.h>
46235 #else
46236 # include <assert.h>
46237 #endif
46238
46239 #undef $ac_func
46240
46241 /* Override any gcc2 internal prototype to avoid an error.  */
46242 #ifdef __cplusplus
46243 extern "C"
46244 {
46245 #endif
46246 /* We use char because int might match the return type of a gcc2
46247    builtin and then its argument prototype would still apply.  */
46248 char $ac_func ();
46249 /* The GNU C library defines this for functions which it implements
46250     to always fail with ENOSYS.  Some functions are actually named
46251     something starting with __ and the normal name is an alias.  */
46252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46253 choke me
46254 #else
46255 char (*f) () = $ac_func;
46256 #endif
46257 #ifdef __cplusplus
46258 }
46259 #endif
46260
46261 int
46262 main ()
46263 {
46264 return f != $ac_func;
46265   ;
46266   return 0;
46267 }
46268 _ACEOF
46269 rm -f conftest.$ac_objext conftest$ac_exeext
46270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46271   (eval $ac_link) 2>conftest.er1
46272   ac_status=$?
46273   grep -v '^ *+' conftest.er1 >conftest.err
46274   rm -f conftest.er1
46275   cat conftest.err >&5
46276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46277   (exit $ac_status); } &&
46278          { ac_try='test -z "$ac_c_werror_flag"
46279                          || test ! -s conftest.err'
46280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46281   (eval $ac_try) 2>&5
46282   ac_status=$?
46283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46284   (exit $ac_status); }; } &&
46285          { ac_try='test -s conftest$ac_exeext'
46286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46287   (eval $ac_try) 2>&5
46288   ac_status=$?
46289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46290   (exit $ac_status); }; }; then
46291   eval "$as_ac_var=yes"
46292 else
46293   echo "$as_me: failed program was:" >&5
46294 sed 's/^/| /' conftest.$ac_ext >&5
46295
46296 eval "$as_ac_var=no"
46297 fi
46298 rm -f conftest.err conftest.$ac_objext \
46299       conftest$ac_exeext conftest.$ac_ext
46300 fi
46301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46303 if test `eval echo '${'$as_ac_var'}'` = yes; then
46304   cat >>confdefs.h <<_ACEOF
46305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46306 _ACEOF
46307
46308 fi
46309 done
46310
46311   else
46312
46313   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46314 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46315   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46316     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46317   echo $ECHO_N "(cached) $ECHO_C" >&6
46318 else
46319
46320
46321
46322       ac_ext=cc
46323 ac_cpp='$CXXCPP $CPPFLAGS'
46324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46327
46328       cat >conftest.$ac_ext <<_ACEOF
46329 /* confdefs.h.  */
46330 _ACEOF
46331 cat confdefs.h >>conftest.$ac_ext
46332 cat >>conftest.$ac_ext <<_ACEOF
46333 /* end confdefs.h.  */
46334 #include <math.h>
46335 int
46336 main ()
46337 {
46338  _frexpl(0, 0);
46339   ;
46340   return 0;
46341 }
46342 _ACEOF
46343 rm -f conftest.$ac_objext
46344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46345   (eval $ac_compile) 2>conftest.er1
46346   ac_status=$?
46347   grep -v '^ *+' conftest.er1 >conftest.err
46348   rm -f conftest.er1
46349   cat conftest.err >&5
46350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46351   (exit $ac_status); } &&
46352          { ac_try='test -z "$ac_cxx_werror_flag"
46353                          || test ! -s conftest.err'
46354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46355   (eval $ac_try) 2>&5
46356   ac_status=$?
46357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46358   (exit $ac_status); }; } &&
46359          { ac_try='test -s conftest.$ac_objext'
46360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46361   (eval $ac_try) 2>&5
46362   ac_status=$?
46363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46364   (exit $ac_status); }; }; then
46365   glibcxx_cv_func__frexpl_use=yes
46366 else
46367   echo "$as_me: failed program was:" >&5
46368 sed 's/^/| /' conftest.$ac_ext >&5
46369
46370 glibcxx_cv_func__frexpl_use=no
46371 fi
46372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46373       ac_ext=c
46374 ac_cpp='$CPP $CPPFLAGS'
46375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46378
46379
46380 fi
46381
46382   fi
46383   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46384 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46385
46386     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46387
46388 for ac_func in _frexpl
46389 do
46390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46391 echo "$as_me:$LINENO: checking for $ac_func" >&5
46392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46393 if eval "test \"\${$as_ac_var+set}\" = set"; then
46394   echo $ECHO_N "(cached) $ECHO_C" >&6
46395 else
46396   if test x$gcc_no_link = xyes; then
46397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46399    { (exit 1); exit 1; }; }
46400 fi
46401 cat >conftest.$ac_ext <<_ACEOF
46402 /* confdefs.h.  */
46403 _ACEOF
46404 cat confdefs.h >>conftest.$ac_ext
46405 cat >>conftest.$ac_ext <<_ACEOF
46406 /* end confdefs.h.  */
46407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46409 #define $ac_func innocuous_$ac_func
46410
46411 /* System header to define __stub macros and hopefully few prototypes,
46412     which can conflict with char $ac_func (); below.
46413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46414     <limits.h> exists even on freestanding compilers.  */
46415
46416 #ifdef __STDC__
46417 # include <limits.h>
46418 #else
46419 # include <assert.h>
46420 #endif
46421
46422 #undef $ac_func
46423
46424 /* Override any gcc2 internal prototype to avoid an error.  */
46425 #ifdef __cplusplus
46426 extern "C"
46427 {
46428 #endif
46429 /* We use char because int might match the return type of a gcc2
46430    builtin and then its argument prototype would still apply.  */
46431 char $ac_func ();
46432 /* The GNU C library defines this for functions which it implements
46433     to always fail with ENOSYS.  Some functions are actually named
46434     something starting with __ and the normal name is an alias.  */
46435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46436 choke me
46437 #else
46438 char (*f) () = $ac_func;
46439 #endif
46440 #ifdef __cplusplus
46441 }
46442 #endif
46443
46444 int
46445 main ()
46446 {
46447 return f != $ac_func;
46448   ;
46449   return 0;
46450 }
46451 _ACEOF
46452 rm -f conftest.$ac_objext conftest$ac_exeext
46453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46454   (eval $ac_link) 2>conftest.er1
46455   ac_status=$?
46456   grep -v '^ *+' conftest.er1 >conftest.err
46457   rm -f conftest.er1
46458   cat conftest.err >&5
46459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460   (exit $ac_status); } &&
46461          { ac_try='test -z "$ac_c_werror_flag"
46462                          || test ! -s conftest.err'
46463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46464   (eval $ac_try) 2>&5
46465   ac_status=$?
46466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467   (exit $ac_status); }; } &&
46468          { ac_try='test -s conftest$ac_exeext'
46469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46470   (eval $ac_try) 2>&5
46471   ac_status=$?
46472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473   (exit $ac_status); }; }; then
46474   eval "$as_ac_var=yes"
46475 else
46476   echo "$as_me: failed program was:" >&5
46477 sed 's/^/| /' conftest.$ac_ext >&5
46478
46479 eval "$as_ac_var=no"
46480 fi
46481 rm -f conftest.err conftest.$ac_objext \
46482       conftest$ac_exeext conftest.$ac_ext
46483 fi
46484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46486 if test `eval echo '${'$as_ac_var'}'` = yes; then
46487   cat >>confdefs.h <<_ACEOF
46488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46489 _ACEOF
46490
46491 fi
46492 done
46493
46494     fi
46495   fi
46496
46497
46498
46499
46500
46501
46502   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46503 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46504   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46505     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46506   echo $ECHO_N "(cached) $ECHO_C" >&6
46507 else
46508
46509
46510
46511       ac_ext=cc
46512 ac_cpp='$CXXCPP $CPPFLAGS'
46513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46516
46517       cat >conftest.$ac_ext <<_ACEOF
46518 /* confdefs.h.  */
46519 _ACEOF
46520 cat confdefs.h >>conftest.$ac_ext
46521 cat >>conftest.$ac_ext <<_ACEOF
46522 /* end confdefs.h.  */
46523 #include <math.h>
46524 int
46525 main ()
46526 {
46527  hypotl(0, 0);
46528   ;
46529   return 0;
46530 }
46531 _ACEOF
46532 rm -f conftest.$ac_objext
46533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46534   (eval $ac_compile) 2>conftest.er1
46535   ac_status=$?
46536   grep -v '^ *+' conftest.er1 >conftest.err
46537   rm -f conftest.er1
46538   cat conftest.err >&5
46539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46540   (exit $ac_status); } &&
46541          { ac_try='test -z "$ac_cxx_werror_flag"
46542                          || test ! -s conftest.err'
46543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46544   (eval $ac_try) 2>&5
46545   ac_status=$?
46546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46547   (exit $ac_status); }; } &&
46548          { ac_try='test -s conftest.$ac_objext'
46549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46550   (eval $ac_try) 2>&5
46551   ac_status=$?
46552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553   (exit $ac_status); }; }; then
46554   glibcxx_cv_func_hypotl_use=yes
46555 else
46556   echo "$as_me: failed program was:" >&5
46557 sed 's/^/| /' conftest.$ac_ext >&5
46558
46559 glibcxx_cv_func_hypotl_use=no
46560 fi
46561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46562       ac_ext=c
46563 ac_cpp='$CPP $CPPFLAGS'
46564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46567
46568
46569 fi
46570
46571   fi
46572   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46573 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46574
46575   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46576
46577 for ac_func in hypotl
46578 do
46579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46580 echo "$as_me:$LINENO: checking for $ac_func" >&5
46581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46582 if eval "test \"\${$as_ac_var+set}\" = set"; then
46583   echo $ECHO_N "(cached) $ECHO_C" >&6
46584 else
46585   if test x$gcc_no_link = xyes; then
46586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46588    { (exit 1); exit 1; }; }
46589 fi
46590 cat >conftest.$ac_ext <<_ACEOF
46591 /* confdefs.h.  */
46592 _ACEOF
46593 cat confdefs.h >>conftest.$ac_ext
46594 cat >>conftest.$ac_ext <<_ACEOF
46595 /* end confdefs.h.  */
46596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46598 #define $ac_func innocuous_$ac_func
46599
46600 /* System header to define __stub macros and hopefully few prototypes,
46601     which can conflict with char $ac_func (); below.
46602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46603     <limits.h> exists even on freestanding compilers.  */
46604
46605 #ifdef __STDC__
46606 # include <limits.h>
46607 #else
46608 # include <assert.h>
46609 #endif
46610
46611 #undef $ac_func
46612
46613 /* Override any gcc2 internal prototype to avoid an error.  */
46614 #ifdef __cplusplus
46615 extern "C"
46616 {
46617 #endif
46618 /* We use char because int might match the return type of a gcc2
46619    builtin and then its argument prototype would still apply.  */
46620 char $ac_func ();
46621 /* The GNU C library defines this for functions which it implements
46622     to always fail with ENOSYS.  Some functions are actually named
46623     something starting with __ and the normal name is an alias.  */
46624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46625 choke me
46626 #else
46627 char (*f) () = $ac_func;
46628 #endif
46629 #ifdef __cplusplus
46630 }
46631 #endif
46632
46633 int
46634 main ()
46635 {
46636 return f != $ac_func;
46637   ;
46638   return 0;
46639 }
46640 _ACEOF
46641 rm -f conftest.$ac_objext conftest$ac_exeext
46642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46643   (eval $ac_link) 2>conftest.er1
46644   ac_status=$?
46645   grep -v '^ *+' conftest.er1 >conftest.err
46646   rm -f conftest.er1
46647   cat conftest.err >&5
46648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46649   (exit $ac_status); } &&
46650          { ac_try='test -z "$ac_c_werror_flag"
46651                          || test ! -s conftest.err'
46652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46653   (eval $ac_try) 2>&5
46654   ac_status=$?
46655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656   (exit $ac_status); }; } &&
46657          { ac_try='test -s conftest$ac_exeext'
46658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46659   (eval $ac_try) 2>&5
46660   ac_status=$?
46661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46662   (exit $ac_status); }; }; then
46663   eval "$as_ac_var=yes"
46664 else
46665   echo "$as_me: failed program was:" >&5
46666 sed 's/^/| /' conftest.$ac_ext >&5
46667
46668 eval "$as_ac_var=no"
46669 fi
46670 rm -f conftest.err conftest.$ac_objext \
46671       conftest$ac_exeext conftest.$ac_ext
46672 fi
46673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46675 if test `eval echo '${'$as_ac_var'}'` = yes; then
46676   cat >>confdefs.h <<_ACEOF
46677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46678 _ACEOF
46679
46680 fi
46681 done
46682
46683   else
46684
46685   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46686 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46687   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46688     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46689   echo $ECHO_N "(cached) $ECHO_C" >&6
46690 else
46691
46692
46693
46694       ac_ext=cc
46695 ac_cpp='$CXXCPP $CPPFLAGS'
46696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46699
46700       cat >conftest.$ac_ext <<_ACEOF
46701 /* confdefs.h.  */
46702 _ACEOF
46703 cat confdefs.h >>conftest.$ac_ext
46704 cat >>conftest.$ac_ext <<_ACEOF
46705 /* end confdefs.h.  */
46706 #include <math.h>
46707 int
46708 main ()
46709 {
46710  _hypotl(0, 0);
46711   ;
46712   return 0;
46713 }
46714 _ACEOF
46715 rm -f conftest.$ac_objext
46716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46717   (eval $ac_compile) 2>conftest.er1
46718   ac_status=$?
46719   grep -v '^ *+' conftest.er1 >conftest.err
46720   rm -f conftest.er1
46721   cat conftest.err >&5
46722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723   (exit $ac_status); } &&
46724          { ac_try='test -z "$ac_cxx_werror_flag"
46725                          || test ! -s conftest.err'
46726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46727   (eval $ac_try) 2>&5
46728   ac_status=$?
46729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46730   (exit $ac_status); }; } &&
46731          { ac_try='test -s conftest.$ac_objext'
46732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46733   (eval $ac_try) 2>&5
46734   ac_status=$?
46735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46736   (exit $ac_status); }; }; then
46737   glibcxx_cv_func__hypotl_use=yes
46738 else
46739   echo "$as_me: failed program was:" >&5
46740 sed 's/^/| /' conftest.$ac_ext >&5
46741
46742 glibcxx_cv_func__hypotl_use=no
46743 fi
46744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46745       ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46750
46751
46752 fi
46753
46754   fi
46755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46756 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46757
46758     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46759
46760 for ac_func in _hypotl
46761 do
46762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46763 echo "$as_me:$LINENO: checking for $ac_func" >&5
46764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46765 if eval "test \"\${$as_ac_var+set}\" = set"; then
46766   echo $ECHO_N "(cached) $ECHO_C" >&6
46767 else
46768   if test x$gcc_no_link = xyes; then
46769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46771    { (exit 1); exit 1; }; }
46772 fi
46773 cat >conftest.$ac_ext <<_ACEOF
46774 /* confdefs.h.  */
46775 _ACEOF
46776 cat confdefs.h >>conftest.$ac_ext
46777 cat >>conftest.$ac_ext <<_ACEOF
46778 /* end confdefs.h.  */
46779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46781 #define $ac_func innocuous_$ac_func
46782
46783 /* System header to define __stub macros and hopefully few prototypes,
46784     which can conflict with char $ac_func (); below.
46785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46786     <limits.h> exists even on freestanding compilers.  */
46787
46788 #ifdef __STDC__
46789 # include <limits.h>
46790 #else
46791 # include <assert.h>
46792 #endif
46793
46794 #undef $ac_func
46795
46796 /* Override any gcc2 internal prototype to avoid an error.  */
46797 #ifdef __cplusplus
46798 extern "C"
46799 {
46800 #endif
46801 /* We use char because int might match the return type of a gcc2
46802    builtin and then its argument prototype would still apply.  */
46803 char $ac_func ();
46804 /* The GNU C library defines this for functions which it implements
46805     to always fail with ENOSYS.  Some functions are actually named
46806     something starting with __ and the normal name is an alias.  */
46807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46808 choke me
46809 #else
46810 char (*f) () = $ac_func;
46811 #endif
46812 #ifdef __cplusplus
46813 }
46814 #endif
46815
46816 int
46817 main ()
46818 {
46819 return f != $ac_func;
46820   ;
46821   return 0;
46822 }
46823 _ACEOF
46824 rm -f conftest.$ac_objext conftest$ac_exeext
46825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46826   (eval $ac_link) 2>conftest.er1
46827   ac_status=$?
46828   grep -v '^ *+' conftest.er1 >conftest.err
46829   rm -f conftest.er1
46830   cat conftest.err >&5
46831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46832   (exit $ac_status); } &&
46833          { ac_try='test -z "$ac_c_werror_flag"
46834                          || test ! -s conftest.err'
46835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46836   (eval $ac_try) 2>&5
46837   ac_status=$?
46838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46839   (exit $ac_status); }; } &&
46840          { ac_try='test -s conftest$ac_exeext'
46841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46842   (eval $ac_try) 2>&5
46843   ac_status=$?
46844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845   (exit $ac_status); }; }; then
46846   eval "$as_ac_var=yes"
46847 else
46848   echo "$as_me: failed program was:" >&5
46849 sed 's/^/| /' conftest.$ac_ext >&5
46850
46851 eval "$as_ac_var=no"
46852 fi
46853 rm -f conftest.err conftest.$ac_objext \
46854       conftest$ac_exeext conftest.$ac_ext
46855 fi
46856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46858 if test `eval echo '${'$as_ac_var'}'` = yes; then
46859   cat >>confdefs.h <<_ACEOF
46860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46861 _ACEOF
46862
46863 fi
46864 done
46865
46866     fi
46867   fi
46868
46869
46870
46871
46872
46873
46874   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46875 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46876   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46877     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46878   echo $ECHO_N "(cached) $ECHO_C" >&6
46879 else
46880
46881
46882
46883       ac_ext=cc
46884 ac_cpp='$CXXCPP $CPPFLAGS'
46885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46888
46889       cat >conftest.$ac_ext <<_ACEOF
46890 /* confdefs.h.  */
46891 _ACEOF
46892 cat confdefs.h >>conftest.$ac_ext
46893 cat >>conftest.$ac_ext <<_ACEOF
46894 /* end confdefs.h.  */
46895 #include <math.h>
46896 int
46897 main ()
46898 {
46899  ldexpl(0, 0);
46900   ;
46901   return 0;
46902 }
46903 _ACEOF
46904 rm -f conftest.$ac_objext
46905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46906   (eval $ac_compile) 2>conftest.er1
46907   ac_status=$?
46908   grep -v '^ *+' conftest.er1 >conftest.err
46909   rm -f conftest.er1
46910   cat conftest.err >&5
46911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46912   (exit $ac_status); } &&
46913          { ac_try='test -z "$ac_cxx_werror_flag"
46914                          || test ! -s conftest.err'
46915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46916   (eval $ac_try) 2>&5
46917   ac_status=$?
46918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919   (exit $ac_status); }; } &&
46920          { ac_try='test -s conftest.$ac_objext'
46921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46922   (eval $ac_try) 2>&5
46923   ac_status=$?
46924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46925   (exit $ac_status); }; }; then
46926   glibcxx_cv_func_ldexpl_use=yes
46927 else
46928   echo "$as_me: failed program was:" >&5
46929 sed 's/^/| /' conftest.$ac_ext >&5
46930
46931 glibcxx_cv_func_ldexpl_use=no
46932 fi
46933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46934       ac_ext=c
46935 ac_cpp='$CPP $CPPFLAGS'
46936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46939
46940
46941 fi
46942
46943   fi
46944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46945 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46946
46947   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46948
46949 for ac_func in ldexpl
46950 do
46951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46952 echo "$as_me:$LINENO: checking for $ac_func" >&5
46953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46954 if eval "test \"\${$as_ac_var+set}\" = set"; then
46955   echo $ECHO_N "(cached) $ECHO_C" >&6
46956 else
46957   if test x$gcc_no_link = xyes; then
46958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46960    { (exit 1); exit 1; }; }
46961 fi
46962 cat >conftest.$ac_ext <<_ACEOF
46963 /* confdefs.h.  */
46964 _ACEOF
46965 cat confdefs.h >>conftest.$ac_ext
46966 cat >>conftest.$ac_ext <<_ACEOF
46967 /* end confdefs.h.  */
46968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46970 #define $ac_func innocuous_$ac_func
46971
46972 /* System header to define __stub macros and hopefully few prototypes,
46973     which can conflict with char $ac_func (); below.
46974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46975     <limits.h> exists even on freestanding compilers.  */
46976
46977 #ifdef __STDC__
46978 # include <limits.h>
46979 #else
46980 # include <assert.h>
46981 #endif
46982
46983 #undef $ac_func
46984
46985 /* Override any gcc2 internal prototype to avoid an error.  */
46986 #ifdef __cplusplus
46987 extern "C"
46988 {
46989 #endif
46990 /* We use char because int might match the return type of a gcc2
46991    builtin and then its argument prototype would still apply.  */
46992 char $ac_func ();
46993 /* The GNU C library defines this for functions which it implements
46994     to always fail with ENOSYS.  Some functions are actually named
46995     something starting with __ and the normal name is an alias.  */
46996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46997 choke me
46998 #else
46999 char (*f) () = $ac_func;
47000 #endif
47001 #ifdef __cplusplus
47002 }
47003 #endif
47004
47005 int
47006 main ()
47007 {
47008 return f != $ac_func;
47009   ;
47010   return 0;
47011 }
47012 _ACEOF
47013 rm -f conftest.$ac_objext conftest$ac_exeext
47014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47015   (eval $ac_link) 2>conftest.er1
47016   ac_status=$?
47017   grep -v '^ *+' conftest.er1 >conftest.err
47018   rm -f conftest.er1
47019   cat conftest.err >&5
47020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47021   (exit $ac_status); } &&
47022          { ac_try='test -z "$ac_c_werror_flag"
47023                          || test ! -s conftest.err'
47024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47025   (eval $ac_try) 2>&5
47026   ac_status=$?
47027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47028   (exit $ac_status); }; } &&
47029          { ac_try='test -s conftest$ac_exeext'
47030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47031   (eval $ac_try) 2>&5
47032   ac_status=$?
47033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47034   (exit $ac_status); }; }; then
47035   eval "$as_ac_var=yes"
47036 else
47037   echo "$as_me: failed program was:" >&5
47038 sed 's/^/| /' conftest.$ac_ext >&5
47039
47040 eval "$as_ac_var=no"
47041 fi
47042 rm -f conftest.err conftest.$ac_objext \
47043       conftest$ac_exeext conftest.$ac_ext
47044 fi
47045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47047 if test `eval echo '${'$as_ac_var'}'` = yes; then
47048   cat >>confdefs.h <<_ACEOF
47049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47050 _ACEOF
47051
47052 fi
47053 done
47054
47055   else
47056
47057   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47058 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47059   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47060     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47061   echo $ECHO_N "(cached) $ECHO_C" >&6
47062 else
47063
47064
47065
47066       ac_ext=cc
47067 ac_cpp='$CXXCPP $CPPFLAGS'
47068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47071
47072       cat >conftest.$ac_ext <<_ACEOF
47073 /* confdefs.h.  */
47074 _ACEOF
47075 cat confdefs.h >>conftest.$ac_ext
47076 cat >>conftest.$ac_ext <<_ACEOF
47077 /* end confdefs.h.  */
47078 #include <math.h>
47079 int
47080 main ()
47081 {
47082  _ldexpl(0, 0);
47083   ;
47084   return 0;
47085 }
47086 _ACEOF
47087 rm -f conftest.$ac_objext
47088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47089   (eval $ac_compile) 2>conftest.er1
47090   ac_status=$?
47091   grep -v '^ *+' conftest.er1 >conftest.err
47092   rm -f conftest.er1
47093   cat conftest.err >&5
47094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47095   (exit $ac_status); } &&
47096          { ac_try='test -z "$ac_cxx_werror_flag"
47097                          || test ! -s conftest.err'
47098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47099   (eval $ac_try) 2>&5
47100   ac_status=$?
47101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47102   (exit $ac_status); }; } &&
47103          { ac_try='test -s conftest.$ac_objext'
47104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47105   (eval $ac_try) 2>&5
47106   ac_status=$?
47107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47108   (exit $ac_status); }; }; then
47109   glibcxx_cv_func__ldexpl_use=yes
47110 else
47111   echo "$as_me: failed program was:" >&5
47112 sed 's/^/| /' conftest.$ac_ext >&5
47113
47114 glibcxx_cv_func__ldexpl_use=no
47115 fi
47116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47117       ac_ext=c
47118 ac_cpp='$CPP $CPPFLAGS'
47119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122
47123
47124 fi
47125
47126   fi
47127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47128 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47129
47130     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47131
47132 for ac_func in _ldexpl
47133 do
47134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47135 echo "$as_me:$LINENO: checking for $ac_func" >&5
47136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47137 if eval "test \"\${$as_ac_var+set}\" = set"; then
47138   echo $ECHO_N "(cached) $ECHO_C" >&6
47139 else
47140   if test x$gcc_no_link = xyes; then
47141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47143    { (exit 1); exit 1; }; }
47144 fi
47145 cat >conftest.$ac_ext <<_ACEOF
47146 /* confdefs.h.  */
47147 _ACEOF
47148 cat confdefs.h >>conftest.$ac_ext
47149 cat >>conftest.$ac_ext <<_ACEOF
47150 /* end confdefs.h.  */
47151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47153 #define $ac_func innocuous_$ac_func
47154
47155 /* System header to define __stub macros and hopefully few prototypes,
47156     which can conflict with char $ac_func (); below.
47157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47158     <limits.h> exists even on freestanding compilers.  */
47159
47160 #ifdef __STDC__
47161 # include <limits.h>
47162 #else
47163 # include <assert.h>
47164 #endif
47165
47166 #undef $ac_func
47167
47168 /* Override any gcc2 internal prototype to avoid an error.  */
47169 #ifdef __cplusplus
47170 extern "C"
47171 {
47172 #endif
47173 /* We use char because int might match the return type of a gcc2
47174    builtin and then its argument prototype would still apply.  */
47175 char $ac_func ();
47176 /* The GNU C library defines this for functions which it implements
47177     to always fail with ENOSYS.  Some functions are actually named
47178     something starting with __ and the normal name is an alias.  */
47179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47180 choke me
47181 #else
47182 char (*f) () = $ac_func;
47183 #endif
47184 #ifdef __cplusplus
47185 }
47186 #endif
47187
47188 int
47189 main ()
47190 {
47191 return f != $ac_func;
47192   ;
47193   return 0;
47194 }
47195 _ACEOF
47196 rm -f conftest.$ac_objext conftest$ac_exeext
47197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47198   (eval $ac_link) 2>conftest.er1
47199   ac_status=$?
47200   grep -v '^ *+' conftest.er1 >conftest.err
47201   rm -f conftest.er1
47202   cat conftest.err >&5
47203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204   (exit $ac_status); } &&
47205          { ac_try='test -z "$ac_c_werror_flag"
47206                          || test ! -s conftest.err'
47207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47208   (eval $ac_try) 2>&5
47209   ac_status=$?
47210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47211   (exit $ac_status); }; } &&
47212          { ac_try='test -s conftest$ac_exeext'
47213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47214   (eval $ac_try) 2>&5
47215   ac_status=$?
47216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47217   (exit $ac_status); }; }; then
47218   eval "$as_ac_var=yes"
47219 else
47220   echo "$as_me: failed program was:" >&5
47221 sed 's/^/| /' conftest.$ac_ext >&5
47222
47223 eval "$as_ac_var=no"
47224 fi
47225 rm -f conftest.err conftest.$ac_objext \
47226       conftest$ac_exeext conftest.$ac_ext
47227 fi
47228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47230 if test `eval echo '${'$as_ac_var'}'` = yes; then
47231   cat >>confdefs.h <<_ACEOF
47232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47233 _ACEOF
47234
47235 fi
47236 done
47237
47238     fi
47239   fi
47240
47241
47242
47243
47244
47245
47246   echo "$as_me:$LINENO: checking for logl declaration" >&5
47247 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47248   if test x${glibcxx_cv_func_logl_use+set} != xset; then
47249     if test "${glibcxx_cv_func_logl_use+set}" = set; then
47250   echo $ECHO_N "(cached) $ECHO_C" >&6
47251 else
47252
47253
47254
47255       ac_ext=cc
47256 ac_cpp='$CXXCPP $CPPFLAGS'
47257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47260
47261       cat >conftest.$ac_ext <<_ACEOF
47262 /* confdefs.h.  */
47263 _ACEOF
47264 cat confdefs.h >>conftest.$ac_ext
47265 cat >>conftest.$ac_ext <<_ACEOF
47266 /* end confdefs.h.  */
47267 #include <math.h>
47268                       #ifdef HAVE_IEEEFP_H
47269                       #include <ieeefp.h>
47270                       #endif
47271
47272 int
47273 main ()
47274 {
47275  logl(0);
47276   ;
47277   return 0;
47278 }
47279 _ACEOF
47280 rm -f conftest.$ac_objext
47281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47282   (eval $ac_compile) 2>conftest.er1
47283   ac_status=$?
47284   grep -v '^ *+' conftest.er1 >conftest.err
47285   rm -f conftest.er1
47286   cat conftest.err >&5
47287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47288   (exit $ac_status); } &&
47289          { ac_try='test -z "$ac_cxx_werror_flag"
47290                          || test ! -s conftest.err'
47291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47292   (eval $ac_try) 2>&5
47293   ac_status=$?
47294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295   (exit $ac_status); }; } &&
47296          { ac_try='test -s conftest.$ac_objext'
47297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47298   (eval $ac_try) 2>&5
47299   ac_status=$?
47300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47301   (exit $ac_status); }; }; then
47302   glibcxx_cv_func_logl_use=yes
47303 else
47304   echo "$as_me: failed program was:" >&5
47305 sed 's/^/| /' conftest.$ac_ext >&5
47306
47307 glibcxx_cv_func_logl_use=no
47308 fi
47309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47310       ac_ext=c
47311 ac_cpp='$CPP $CPPFLAGS'
47312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47315
47316
47317 fi
47318
47319   fi
47320   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47321 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47322
47323   if test x$glibcxx_cv_func_logl_use = x"yes"; then
47324
47325 for ac_func in logl
47326 do
47327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47328 echo "$as_me:$LINENO: checking for $ac_func" >&5
47329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47330 if eval "test \"\${$as_ac_var+set}\" = set"; then
47331   echo $ECHO_N "(cached) $ECHO_C" >&6
47332 else
47333   if test x$gcc_no_link = xyes; then
47334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47336    { (exit 1); exit 1; }; }
47337 fi
47338 cat >conftest.$ac_ext <<_ACEOF
47339 /* confdefs.h.  */
47340 _ACEOF
47341 cat confdefs.h >>conftest.$ac_ext
47342 cat >>conftest.$ac_ext <<_ACEOF
47343 /* end confdefs.h.  */
47344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47346 #define $ac_func innocuous_$ac_func
47347
47348 /* System header to define __stub macros and hopefully few prototypes,
47349     which can conflict with char $ac_func (); below.
47350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47351     <limits.h> exists even on freestanding compilers.  */
47352
47353 #ifdef __STDC__
47354 # include <limits.h>
47355 #else
47356 # include <assert.h>
47357 #endif
47358
47359 #undef $ac_func
47360
47361 /* Override any gcc2 internal prototype to avoid an error.  */
47362 #ifdef __cplusplus
47363 extern "C"
47364 {
47365 #endif
47366 /* We use char because int might match the return type of a gcc2
47367    builtin and then its argument prototype would still apply.  */
47368 char $ac_func ();
47369 /* The GNU C library defines this for functions which it implements
47370     to always fail with ENOSYS.  Some functions are actually named
47371     something starting with __ and the normal name is an alias.  */
47372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47373 choke me
47374 #else
47375 char (*f) () = $ac_func;
47376 #endif
47377 #ifdef __cplusplus
47378 }
47379 #endif
47380
47381 int
47382 main ()
47383 {
47384 return f != $ac_func;
47385   ;
47386   return 0;
47387 }
47388 _ACEOF
47389 rm -f conftest.$ac_objext conftest$ac_exeext
47390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47391   (eval $ac_link) 2>conftest.er1
47392   ac_status=$?
47393   grep -v '^ *+' conftest.er1 >conftest.err
47394   rm -f conftest.er1
47395   cat conftest.err >&5
47396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47397   (exit $ac_status); } &&
47398          { ac_try='test -z "$ac_c_werror_flag"
47399                          || test ! -s conftest.err'
47400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47401   (eval $ac_try) 2>&5
47402   ac_status=$?
47403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47404   (exit $ac_status); }; } &&
47405          { ac_try='test -s conftest$ac_exeext'
47406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47407   (eval $ac_try) 2>&5
47408   ac_status=$?
47409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47410   (exit $ac_status); }; }; then
47411   eval "$as_ac_var=yes"
47412 else
47413   echo "$as_me: failed program was:" >&5
47414 sed 's/^/| /' conftest.$ac_ext >&5
47415
47416 eval "$as_ac_var=no"
47417 fi
47418 rm -f conftest.err conftest.$ac_objext \
47419       conftest$ac_exeext conftest.$ac_ext
47420 fi
47421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47423 if test `eval echo '${'$as_ac_var'}'` = yes; then
47424   cat >>confdefs.h <<_ACEOF
47425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47426 _ACEOF
47427
47428 fi
47429 done
47430
47431   else
47432
47433   echo "$as_me:$LINENO: checking for _logl declaration" >&5
47434 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47435   if test x${glibcxx_cv_func__logl_use+set} != xset; then
47436     if test "${glibcxx_cv_func__logl_use+set}" = set; then
47437   echo $ECHO_N "(cached) $ECHO_C" >&6
47438 else
47439
47440
47441
47442       ac_ext=cc
47443 ac_cpp='$CXXCPP $CPPFLAGS'
47444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47447
47448       cat >conftest.$ac_ext <<_ACEOF
47449 /* confdefs.h.  */
47450 _ACEOF
47451 cat confdefs.h >>conftest.$ac_ext
47452 cat >>conftest.$ac_ext <<_ACEOF
47453 /* end confdefs.h.  */
47454 #include <math.h>
47455                       #ifdef HAVE_IEEEFP_H
47456                       #include <ieeefp.h>
47457                       #endif
47458
47459 int
47460 main ()
47461 {
47462  _logl(0);
47463   ;
47464   return 0;
47465 }
47466 _ACEOF
47467 rm -f conftest.$ac_objext
47468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47469   (eval $ac_compile) 2>conftest.er1
47470   ac_status=$?
47471   grep -v '^ *+' conftest.er1 >conftest.err
47472   rm -f conftest.er1
47473   cat conftest.err >&5
47474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475   (exit $ac_status); } &&
47476          { ac_try='test -z "$ac_cxx_werror_flag"
47477                          || test ! -s conftest.err'
47478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47479   (eval $ac_try) 2>&5
47480   ac_status=$?
47481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47482   (exit $ac_status); }; } &&
47483          { ac_try='test -s conftest.$ac_objext'
47484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47485   (eval $ac_try) 2>&5
47486   ac_status=$?
47487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47488   (exit $ac_status); }; }; then
47489   glibcxx_cv_func__logl_use=yes
47490 else
47491   echo "$as_me: failed program was:" >&5
47492 sed 's/^/| /' conftest.$ac_ext >&5
47493
47494 glibcxx_cv_func__logl_use=no
47495 fi
47496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47497       ac_ext=c
47498 ac_cpp='$CPP $CPPFLAGS'
47499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47502
47503
47504 fi
47505
47506   fi
47507   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47508 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47509
47510     if test x$glibcxx_cv_func__logl_use = x"yes"; then
47511
47512 for ac_func in _logl
47513 do
47514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47515 echo "$as_me:$LINENO: checking for $ac_func" >&5
47516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47517 if eval "test \"\${$as_ac_var+set}\" = set"; then
47518   echo $ECHO_N "(cached) $ECHO_C" >&6
47519 else
47520   if test x$gcc_no_link = xyes; then
47521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47523    { (exit 1); exit 1; }; }
47524 fi
47525 cat >conftest.$ac_ext <<_ACEOF
47526 /* confdefs.h.  */
47527 _ACEOF
47528 cat confdefs.h >>conftest.$ac_ext
47529 cat >>conftest.$ac_ext <<_ACEOF
47530 /* end confdefs.h.  */
47531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47533 #define $ac_func innocuous_$ac_func
47534
47535 /* System header to define __stub macros and hopefully few prototypes,
47536     which can conflict with char $ac_func (); below.
47537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47538     <limits.h> exists even on freestanding compilers.  */
47539
47540 #ifdef __STDC__
47541 # include <limits.h>
47542 #else
47543 # include <assert.h>
47544 #endif
47545
47546 #undef $ac_func
47547
47548 /* Override any gcc2 internal prototype to avoid an error.  */
47549 #ifdef __cplusplus
47550 extern "C"
47551 {
47552 #endif
47553 /* We use char because int might match the return type of a gcc2
47554    builtin and then its argument prototype would still apply.  */
47555 char $ac_func ();
47556 /* The GNU C library defines this for functions which it implements
47557     to always fail with ENOSYS.  Some functions are actually named
47558     something starting with __ and the normal name is an alias.  */
47559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47560 choke me
47561 #else
47562 char (*f) () = $ac_func;
47563 #endif
47564 #ifdef __cplusplus
47565 }
47566 #endif
47567
47568 int
47569 main ()
47570 {
47571 return f != $ac_func;
47572   ;
47573   return 0;
47574 }
47575 _ACEOF
47576 rm -f conftest.$ac_objext conftest$ac_exeext
47577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47578   (eval $ac_link) 2>conftest.er1
47579   ac_status=$?
47580   grep -v '^ *+' conftest.er1 >conftest.err
47581   rm -f conftest.er1
47582   cat conftest.err >&5
47583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584   (exit $ac_status); } &&
47585          { ac_try='test -z "$ac_c_werror_flag"
47586                          || test ! -s conftest.err'
47587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47588   (eval $ac_try) 2>&5
47589   ac_status=$?
47590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591   (exit $ac_status); }; } &&
47592          { ac_try='test -s conftest$ac_exeext'
47593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47594   (eval $ac_try) 2>&5
47595   ac_status=$?
47596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597   (exit $ac_status); }; }; then
47598   eval "$as_ac_var=yes"
47599 else
47600   echo "$as_me: failed program was:" >&5
47601 sed 's/^/| /' conftest.$ac_ext >&5
47602
47603 eval "$as_ac_var=no"
47604 fi
47605 rm -f conftest.err conftest.$ac_objext \
47606       conftest$ac_exeext conftest.$ac_ext
47607 fi
47608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47610 if test `eval echo '${'$as_ac_var'}'` = yes; then
47611   cat >>confdefs.h <<_ACEOF
47612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47613 _ACEOF
47614
47615 fi
47616 done
47617
47618     fi
47619   fi
47620
47621
47622
47623
47624
47625
47626   echo "$as_me:$LINENO: checking for log10l declaration" >&5
47627 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47628   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47629     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47630   echo $ECHO_N "(cached) $ECHO_C" >&6
47631 else
47632
47633
47634
47635       ac_ext=cc
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47640
47641       cat >conftest.$ac_ext <<_ACEOF
47642 /* confdefs.h.  */
47643 _ACEOF
47644 cat confdefs.h >>conftest.$ac_ext
47645 cat >>conftest.$ac_ext <<_ACEOF
47646 /* end confdefs.h.  */
47647 #include <math.h>
47648                       #ifdef HAVE_IEEEFP_H
47649                       #include <ieeefp.h>
47650                       #endif
47651
47652 int
47653 main ()
47654 {
47655  log10l(0);
47656   ;
47657   return 0;
47658 }
47659 _ACEOF
47660 rm -f conftest.$ac_objext
47661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47662   (eval $ac_compile) 2>conftest.er1
47663   ac_status=$?
47664   grep -v '^ *+' conftest.er1 >conftest.err
47665   rm -f conftest.er1
47666   cat conftest.err >&5
47667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668   (exit $ac_status); } &&
47669          { ac_try='test -z "$ac_cxx_werror_flag"
47670                          || test ! -s conftest.err'
47671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47672   (eval $ac_try) 2>&5
47673   ac_status=$?
47674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47675   (exit $ac_status); }; } &&
47676          { ac_try='test -s conftest.$ac_objext'
47677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47678   (eval $ac_try) 2>&5
47679   ac_status=$?
47680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681   (exit $ac_status); }; }; then
47682   glibcxx_cv_func_log10l_use=yes
47683 else
47684   echo "$as_me: failed program was:" >&5
47685 sed 's/^/| /' conftest.$ac_ext >&5
47686
47687 glibcxx_cv_func_log10l_use=no
47688 fi
47689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47690       ac_ext=c
47691 ac_cpp='$CPP $CPPFLAGS'
47692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47695
47696
47697 fi
47698
47699   fi
47700   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47701 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47702
47703   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47704
47705 for ac_func in log10l
47706 do
47707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47708 echo "$as_me:$LINENO: checking for $ac_func" >&5
47709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47710 if eval "test \"\${$as_ac_var+set}\" = set"; then
47711   echo $ECHO_N "(cached) $ECHO_C" >&6
47712 else
47713   if test x$gcc_no_link = xyes; then
47714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47716    { (exit 1); exit 1; }; }
47717 fi
47718 cat >conftest.$ac_ext <<_ACEOF
47719 /* confdefs.h.  */
47720 _ACEOF
47721 cat confdefs.h >>conftest.$ac_ext
47722 cat >>conftest.$ac_ext <<_ACEOF
47723 /* end confdefs.h.  */
47724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47726 #define $ac_func innocuous_$ac_func
47727
47728 /* System header to define __stub macros and hopefully few prototypes,
47729     which can conflict with char $ac_func (); below.
47730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47731     <limits.h> exists even on freestanding compilers.  */
47732
47733 #ifdef __STDC__
47734 # include <limits.h>
47735 #else
47736 # include <assert.h>
47737 #endif
47738
47739 #undef $ac_func
47740
47741 /* Override any gcc2 internal prototype to avoid an error.  */
47742 #ifdef __cplusplus
47743 extern "C"
47744 {
47745 #endif
47746 /* We use char because int might match the return type of a gcc2
47747    builtin and then its argument prototype would still apply.  */
47748 char $ac_func ();
47749 /* The GNU C library defines this for functions which it implements
47750     to always fail with ENOSYS.  Some functions are actually named
47751     something starting with __ and the normal name is an alias.  */
47752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47753 choke me
47754 #else
47755 char (*f) () = $ac_func;
47756 #endif
47757 #ifdef __cplusplus
47758 }
47759 #endif
47760
47761 int
47762 main ()
47763 {
47764 return f != $ac_func;
47765   ;
47766   return 0;
47767 }
47768 _ACEOF
47769 rm -f conftest.$ac_objext conftest$ac_exeext
47770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47771   (eval $ac_link) 2>conftest.er1
47772   ac_status=$?
47773   grep -v '^ *+' conftest.er1 >conftest.err
47774   rm -f conftest.er1
47775   cat conftest.err >&5
47776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777   (exit $ac_status); } &&
47778          { ac_try='test -z "$ac_c_werror_flag"
47779                          || test ! -s conftest.err'
47780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47781   (eval $ac_try) 2>&5
47782   ac_status=$?
47783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784   (exit $ac_status); }; } &&
47785          { ac_try='test -s conftest$ac_exeext'
47786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47787   (eval $ac_try) 2>&5
47788   ac_status=$?
47789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47790   (exit $ac_status); }; }; then
47791   eval "$as_ac_var=yes"
47792 else
47793   echo "$as_me: failed program was:" >&5
47794 sed 's/^/| /' conftest.$ac_ext >&5
47795
47796 eval "$as_ac_var=no"
47797 fi
47798 rm -f conftest.err conftest.$ac_objext \
47799       conftest$ac_exeext conftest.$ac_ext
47800 fi
47801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47803 if test `eval echo '${'$as_ac_var'}'` = yes; then
47804   cat >>confdefs.h <<_ACEOF
47805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47806 _ACEOF
47807
47808 fi
47809 done
47810
47811   else
47812
47813   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47814 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47815   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47816     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47817   echo $ECHO_N "(cached) $ECHO_C" >&6
47818 else
47819
47820
47821
47822       ac_ext=cc
47823 ac_cpp='$CXXCPP $CPPFLAGS'
47824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47827
47828       cat >conftest.$ac_ext <<_ACEOF
47829 /* confdefs.h.  */
47830 _ACEOF
47831 cat confdefs.h >>conftest.$ac_ext
47832 cat >>conftest.$ac_ext <<_ACEOF
47833 /* end confdefs.h.  */
47834 #include <math.h>
47835                       #ifdef HAVE_IEEEFP_H
47836                       #include <ieeefp.h>
47837                       #endif
47838
47839 int
47840 main ()
47841 {
47842  _log10l(0);
47843   ;
47844   return 0;
47845 }
47846 _ACEOF
47847 rm -f conftest.$ac_objext
47848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47849   (eval $ac_compile) 2>conftest.er1
47850   ac_status=$?
47851   grep -v '^ *+' conftest.er1 >conftest.err
47852   rm -f conftest.er1
47853   cat conftest.err >&5
47854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855   (exit $ac_status); } &&
47856          { ac_try='test -z "$ac_cxx_werror_flag"
47857                          || test ! -s conftest.err'
47858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47859   (eval $ac_try) 2>&5
47860   ac_status=$?
47861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47862   (exit $ac_status); }; } &&
47863          { ac_try='test -s conftest.$ac_objext'
47864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865   (eval $ac_try) 2>&5
47866   ac_status=$?
47867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868   (exit $ac_status); }; }; then
47869   glibcxx_cv_func__log10l_use=yes
47870 else
47871   echo "$as_me: failed program was:" >&5
47872 sed 's/^/| /' conftest.$ac_ext >&5
47873
47874 glibcxx_cv_func__log10l_use=no
47875 fi
47876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47877       ac_ext=c
47878 ac_cpp='$CPP $CPPFLAGS'
47879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47882
47883
47884 fi
47885
47886   fi
47887   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47888 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47889
47890     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47891
47892 for ac_func in _log10l
47893 do
47894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47895 echo "$as_me:$LINENO: checking for $ac_func" >&5
47896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47897 if eval "test \"\${$as_ac_var+set}\" = set"; then
47898   echo $ECHO_N "(cached) $ECHO_C" >&6
47899 else
47900   if test x$gcc_no_link = xyes; then
47901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47903    { (exit 1); exit 1; }; }
47904 fi
47905 cat >conftest.$ac_ext <<_ACEOF
47906 /* confdefs.h.  */
47907 _ACEOF
47908 cat confdefs.h >>conftest.$ac_ext
47909 cat >>conftest.$ac_ext <<_ACEOF
47910 /* end confdefs.h.  */
47911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47913 #define $ac_func innocuous_$ac_func
47914
47915 /* System header to define __stub macros and hopefully few prototypes,
47916     which can conflict with char $ac_func (); below.
47917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47918     <limits.h> exists even on freestanding compilers.  */
47919
47920 #ifdef __STDC__
47921 # include <limits.h>
47922 #else
47923 # include <assert.h>
47924 #endif
47925
47926 #undef $ac_func
47927
47928 /* Override any gcc2 internal prototype to avoid an error.  */
47929 #ifdef __cplusplus
47930 extern "C"
47931 {
47932 #endif
47933 /* We use char because int might match the return type of a gcc2
47934    builtin and then its argument prototype would still apply.  */
47935 char $ac_func ();
47936 /* The GNU C library defines this for functions which it implements
47937     to always fail with ENOSYS.  Some functions are actually named
47938     something starting with __ and the normal name is an alias.  */
47939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47940 choke me
47941 #else
47942 char (*f) () = $ac_func;
47943 #endif
47944 #ifdef __cplusplus
47945 }
47946 #endif
47947
47948 int
47949 main ()
47950 {
47951 return f != $ac_func;
47952   ;
47953   return 0;
47954 }
47955 _ACEOF
47956 rm -f conftest.$ac_objext conftest$ac_exeext
47957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47958   (eval $ac_link) 2>conftest.er1
47959   ac_status=$?
47960   grep -v '^ *+' conftest.er1 >conftest.err
47961   rm -f conftest.er1
47962   cat conftest.err >&5
47963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47964   (exit $ac_status); } &&
47965          { ac_try='test -z "$ac_c_werror_flag"
47966                          || test ! -s conftest.err'
47967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47968   (eval $ac_try) 2>&5
47969   ac_status=$?
47970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47971   (exit $ac_status); }; } &&
47972          { ac_try='test -s conftest$ac_exeext'
47973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47974   (eval $ac_try) 2>&5
47975   ac_status=$?
47976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977   (exit $ac_status); }; }; then
47978   eval "$as_ac_var=yes"
47979 else
47980   echo "$as_me: failed program was:" >&5
47981 sed 's/^/| /' conftest.$ac_ext >&5
47982
47983 eval "$as_ac_var=no"
47984 fi
47985 rm -f conftest.err conftest.$ac_objext \
47986       conftest$ac_exeext conftest.$ac_ext
47987 fi
47988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47990 if test `eval echo '${'$as_ac_var'}'` = yes; then
47991   cat >>confdefs.h <<_ACEOF
47992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47993 _ACEOF
47994
47995 fi
47996 done
47997
47998     fi
47999   fi
48000
48001
48002
48003
48004
48005
48006   echo "$as_me:$LINENO: checking for modfl declaration" >&5
48007 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48008   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48009     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48010   echo $ECHO_N "(cached) $ECHO_C" >&6
48011 else
48012
48013
48014
48015       ac_ext=cc
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020
48021       cat >conftest.$ac_ext <<_ACEOF
48022 /* confdefs.h.  */
48023 _ACEOF
48024 cat confdefs.h >>conftest.$ac_ext
48025 cat >>conftest.$ac_ext <<_ACEOF
48026 /* end confdefs.h.  */
48027 #include <math.h>
48028 int
48029 main ()
48030 {
48031  modfl(0, 0);
48032   ;
48033   return 0;
48034 }
48035 _ACEOF
48036 rm -f conftest.$ac_objext
48037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48038   (eval $ac_compile) 2>conftest.er1
48039   ac_status=$?
48040   grep -v '^ *+' conftest.er1 >conftest.err
48041   rm -f conftest.er1
48042   cat conftest.err >&5
48043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044   (exit $ac_status); } &&
48045          { ac_try='test -z "$ac_cxx_werror_flag"
48046                          || test ! -s conftest.err'
48047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48048   (eval $ac_try) 2>&5
48049   ac_status=$?
48050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051   (exit $ac_status); }; } &&
48052          { ac_try='test -s conftest.$ac_objext'
48053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48054   (eval $ac_try) 2>&5
48055   ac_status=$?
48056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48057   (exit $ac_status); }; }; then
48058   glibcxx_cv_func_modfl_use=yes
48059 else
48060   echo "$as_me: failed program was:" >&5
48061 sed 's/^/| /' conftest.$ac_ext >&5
48062
48063 glibcxx_cv_func_modfl_use=no
48064 fi
48065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48066       ac_ext=c
48067 ac_cpp='$CPP $CPPFLAGS'
48068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48071
48072
48073 fi
48074
48075   fi
48076   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48077 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48078
48079   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48080
48081 for ac_func in modfl
48082 do
48083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48084 echo "$as_me:$LINENO: checking for $ac_func" >&5
48085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48086 if eval "test \"\${$as_ac_var+set}\" = set"; then
48087   echo $ECHO_N "(cached) $ECHO_C" >&6
48088 else
48089   if test x$gcc_no_link = xyes; then
48090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48092    { (exit 1); exit 1; }; }
48093 fi
48094 cat >conftest.$ac_ext <<_ACEOF
48095 /* confdefs.h.  */
48096 _ACEOF
48097 cat confdefs.h >>conftest.$ac_ext
48098 cat >>conftest.$ac_ext <<_ACEOF
48099 /* end confdefs.h.  */
48100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48102 #define $ac_func innocuous_$ac_func
48103
48104 /* System header to define __stub macros and hopefully few prototypes,
48105     which can conflict with char $ac_func (); below.
48106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48107     <limits.h> exists even on freestanding compilers.  */
48108
48109 #ifdef __STDC__
48110 # include <limits.h>
48111 #else
48112 # include <assert.h>
48113 #endif
48114
48115 #undef $ac_func
48116
48117 /* Override any gcc2 internal prototype to avoid an error.  */
48118 #ifdef __cplusplus
48119 extern "C"
48120 {
48121 #endif
48122 /* We use char because int might match the return type of a gcc2
48123    builtin and then its argument prototype would still apply.  */
48124 char $ac_func ();
48125 /* The GNU C library defines this for functions which it implements
48126     to always fail with ENOSYS.  Some functions are actually named
48127     something starting with __ and the normal name is an alias.  */
48128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48129 choke me
48130 #else
48131 char (*f) () = $ac_func;
48132 #endif
48133 #ifdef __cplusplus
48134 }
48135 #endif
48136
48137 int
48138 main ()
48139 {
48140 return f != $ac_func;
48141   ;
48142   return 0;
48143 }
48144 _ACEOF
48145 rm -f conftest.$ac_objext conftest$ac_exeext
48146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48147   (eval $ac_link) 2>conftest.er1
48148   ac_status=$?
48149   grep -v '^ *+' conftest.er1 >conftest.err
48150   rm -f conftest.er1
48151   cat conftest.err >&5
48152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48153   (exit $ac_status); } &&
48154          { ac_try='test -z "$ac_c_werror_flag"
48155                          || test ! -s conftest.err'
48156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48157   (eval $ac_try) 2>&5
48158   ac_status=$?
48159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48160   (exit $ac_status); }; } &&
48161          { ac_try='test -s conftest$ac_exeext'
48162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48163   (eval $ac_try) 2>&5
48164   ac_status=$?
48165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48166   (exit $ac_status); }; }; then
48167   eval "$as_ac_var=yes"
48168 else
48169   echo "$as_me: failed program was:" >&5
48170 sed 's/^/| /' conftest.$ac_ext >&5
48171
48172 eval "$as_ac_var=no"
48173 fi
48174 rm -f conftest.err conftest.$ac_objext \
48175       conftest$ac_exeext conftest.$ac_ext
48176 fi
48177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48179 if test `eval echo '${'$as_ac_var'}'` = yes; then
48180   cat >>confdefs.h <<_ACEOF
48181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48182 _ACEOF
48183
48184 fi
48185 done
48186
48187   else
48188
48189   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48190 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48191   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48192     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48193   echo $ECHO_N "(cached) $ECHO_C" >&6
48194 else
48195
48196
48197
48198       ac_ext=cc
48199 ac_cpp='$CXXCPP $CPPFLAGS'
48200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48203
48204       cat >conftest.$ac_ext <<_ACEOF
48205 /* confdefs.h.  */
48206 _ACEOF
48207 cat confdefs.h >>conftest.$ac_ext
48208 cat >>conftest.$ac_ext <<_ACEOF
48209 /* end confdefs.h.  */
48210 #include <math.h>
48211 int
48212 main ()
48213 {
48214  _modfl(0, 0);
48215   ;
48216   return 0;
48217 }
48218 _ACEOF
48219 rm -f conftest.$ac_objext
48220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48221   (eval $ac_compile) 2>conftest.er1
48222   ac_status=$?
48223   grep -v '^ *+' conftest.er1 >conftest.err
48224   rm -f conftest.er1
48225   cat conftest.err >&5
48226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227   (exit $ac_status); } &&
48228          { ac_try='test -z "$ac_cxx_werror_flag"
48229                          || test ! -s conftest.err'
48230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48231   (eval $ac_try) 2>&5
48232   ac_status=$?
48233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234   (exit $ac_status); }; } &&
48235          { ac_try='test -s conftest.$ac_objext'
48236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48237   (eval $ac_try) 2>&5
48238   ac_status=$?
48239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48240   (exit $ac_status); }; }; then
48241   glibcxx_cv_func__modfl_use=yes
48242 else
48243   echo "$as_me: failed program was:" >&5
48244 sed 's/^/| /' conftest.$ac_ext >&5
48245
48246 glibcxx_cv_func__modfl_use=no
48247 fi
48248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48249       ac_ext=c
48250 ac_cpp='$CPP $CPPFLAGS'
48251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48254
48255
48256 fi
48257
48258   fi
48259   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48260 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48261
48262     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48263
48264 for ac_func in _modfl
48265 do
48266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48267 echo "$as_me:$LINENO: checking for $ac_func" >&5
48268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48269 if eval "test \"\${$as_ac_var+set}\" = set"; then
48270   echo $ECHO_N "(cached) $ECHO_C" >&6
48271 else
48272   if test x$gcc_no_link = xyes; then
48273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48275    { (exit 1); exit 1; }; }
48276 fi
48277 cat >conftest.$ac_ext <<_ACEOF
48278 /* confdefs.h.  */
48279 _ACEOF
48280 cat confdefs.h >>conftest.$ac_ext
48281 cat >>conftest.$ac_ext <<_ACEOF
48282 /* end confdefs.h.  */
48283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48285 #define $ac_func innocuous_$ac_func
48286
48287 /* System header to define __stub macros and hopefully few prototypes,
48288     which can conflict with char $ac_func (); below.
48289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48290     <limits.h> exists even on freestanding compilers.  */
48291
48292 #ifdef __STDC__
48293 # include <limits.h>
48294 #else
48295 # include <assert.h>
48296 #endif
48297
48298 #undef $ac_func
48299
48300 /* Override any gcc2 internal prototype to avoid an error.  */
48301 #ifdef __cplusplus
48302 extern "C"
48303 {
48304 #endif
48305 /* We use char because int might match the return type of a gcc2
48306    builtin and then its argument prototype would still apply.  */
48307 char $ac_func ();
48308 /* The GNU C library defines this for functions which it implements
48309     to always fail with ENOSYS.  Some functions are actually named
48310     something starting with __ and the normal name is an alias.  */
48311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48312 choke me
48313 #else
48314 char (*f) () = $ac_func;
48315 #endif
48316 #ifdef __cplusplus
48317 }
48318 #endif
48319
48320 int
48321 main ()
48322 {
48323 return f != $ac_func;
48324   ;
48325   return 0;
48326 }
48327 _ACEOF
48328 rm -f conftest.$ac_objext conftest$ac_exeext
48329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48330   (eval $ac_link) 2>conftest.er1
48331   ac_status=$?
48332   grep -v '^ *+' conftest.er1 >conftest.err
48333   rm -f conftest.er1
48334   cat conftest.err >&5
48335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336   (exit $ac_status); } &&
48337          { ac_try='test -z "$ac_c_werror_flag"
48338                          || test ! -s conftest.err'
48339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48340   (eval $ac_try) 2>&5
48341   ac_status=$?
48342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48343   (exit $ac_status); }; } &&
48344          { ac_try='test -s conftest$ac_exeext'
48345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48346   (eval $ac_try) 2>&5
48347   ac_status=$?
48348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48349   (exit $ac_status); }; }; then
48350   eval "$as_ac_var=yes"
48351 else
48352   echo "$as_me: failed program was:" >&5
48353 sed 's/^/| /' conftest.$ac_ext >&5
48354
48355 eval "$as_ac_var=no"
48356 fi
48357 rm -f conftest.err conftest.$ac_objext \
48358       conftest$ac_exeext conftest.$ac_ext
48359 fi
48360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48362 if test `eval echo '${'$as_ac_var'}'` = yes; then
48363   cat >>confdefs.h <<_ACEOF
48364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48365 _ACEOF
48366
48367 fi
48368 done
48369
48370     fi
48371   fi
48372
48373
48374
48375
48376
48377
48378   echo "$as_me:$LINENO: checking for powl declaration" >&5
48379 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48380   if test x${glibcxx_cv_func_powl_use+set} != xset; then
48381     if test "${glibcxx_cv_func_powl_use+set}" = set; then
48382   echo $ECHO_N "(cached) $ECHO_C" >&6
48383 else
48384
48385
48386
48387       ac_ext=cc
48388 ac_cpp='$CXXCPP $CPPFLAGS'
48389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48392
48393       cat >conftest.$ac_ext <<_ACEOF
48394 /* confdefs.h.  */
48395 _ACEOF
48396 cat confdefs.h >>conftest.$ac_ext
48397 cat >>conftest.$ac_ext <<_ACEOF
48398 /* end confdefs.h.  */
48399 #include <math.h>
48400 int
48401 main ()
48402 {
48403  powl(0, 0);
48404   ;
48405   return 0;
48406 }
48407 _ACEOF
48408 rm -f conftest.$ac_objext
48409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48410   (eval $ac_compile) 2>conftest.er1
48411   ac_status=$?
48412   grep -v '^ *+' conftest.er1 >conftest.err
48413   rm -f conftest.er1
48414   cat conftest.err >&5
48415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48416   (exit $ac_status); } &&
48417          { ac_try='test -z "$ac_cxx_werror_flag"
48418                          || test ! -s conftest.err'
48419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48420   (eval $ac_try) 2>&5
48421   ac_status=$?
48422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48423   (exit $ac_status); }; } &&
48424          { ac_try='test -s conftest.$ac_objext'
48425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48426   (eval $ac_try) 2>&5
48427   ac_status=$?
48428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48429   (exit $ac_status); }; }; then
48430   glibcxx_cv_func_powl_use=yes
48431 else
48432   echo "$as_me: failed program was:" >&5
48433 sed 's/^/| /' conftest.$ac_ext >&5
48434
48435 glibcxx_cv_func_powl_use=no
48436 fi
48437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48438       ac_ext=c
48439 ac_cpp='$CPP $CPPFLAGS'
48440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48443
48444
48445 fi
48446
48447   fi
48448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48449 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48450
48451   if test x$glibcxx_cv_func_powl_use = x"yes"; then
48452
48453 for ac_func in powl
48454 do
48455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48456 echo "$as_me:$LINENO: checking for $ac_func" >&5
48457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48458 if eval "test \"\${$as_ac_var+set}\" = set"; then
48459   echo $ECHO_N "(cached) $ECHO_C" >&6
48460 else
48461   if test x$gcc_no_link = xyes; then
48462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48464    { (exit 1); exit 1; }; }
48465 fi
48466 cat >conftest.$ac_ext <<_ACEOF
48467 /* confdefs.h.  */
48468 _ACEOF
48469 cat confdefs.h >>conftest.$ac_ext
48470 cat >>conftest.$ac_ext <<_ACEOF
48471 /* end confdefs.h.  */
48472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48474 #define $ac_func innocuous_$ac_func
48475
48476 /* System header to define __stub macros and hopefully few prototypes,
48477     which can conflict with char $ac_func (); below.
48478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48479     <limits.h> exists even on freestanding compilers.  */
48480
48481 #ifdef __STDC__
48482 # include <limits.h>
48483 #else
48484 # include <assert.h>
48485 #endif
48486
48487 #undef $ac_func
48488
48489 /* Override any gcc2 internal prototype to avoid an error.  */
48490 #ifdef __cplusplus
48491 extern "C"
48492 {
48493 #endif
48494 /* We use char because int might match the return type of a gcc2
48495    builtin and then its argument prototype would still apply.  */
48496 char $ac_func ();
48497 /* The GNU C library defines this for functions which it implements
48498     to always fail with ENOSYS.  Some functions are actually named
48499     something starting with __ and the normal name is an alias.  */
48500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48501 choke me
48502 #else
48503 char (*f) () = $ac_func;
48504 #endif
48505 #ifdef __cplusplus
48506 }
48507 #endif
48508
48509 int
48510 main ()
48511 {
48512 return f != $ac_func;
48513   ;
48514   return 0;
48515 }
48516 _ACEOF
48517 rm -f conftest.$ac_objext conftest$ac_exeext
48518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48519   (eval $ac_link) 2>conftest.er1
48520   ac_status=$?
48521   grep -v '^ *+' conftest.er1 >conftest.err
48522   rm -f conftest.er1
48523   cat conftest.err >&5
48524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48525   (exit $ac_status); } &&
48526          { ac_try='test -z "$ac_c_werror_flag"
48527                          || test ! -s conftest.err'
48528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529   (eval $ac_try) 2>&5
48530   ac_status=$?
48531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532   (exit $ac_status); }; } &&
48533          { ac_try='test -s conftest$ac_exeext'
48534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48535   (eval $ac_try) 2>&5
48536   ac_status=$?
48537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48538   (exit $ac_status); }; }; then
48539   eval "$as_ac_var=yes"
48540 else
48541   echo "$as_me: failed program was:" >&5
48542 sed 's/^/| /' conftest.$ac_ext >&5
48543
48544 eval "$as_ac_var=no"
48545 fi
48546 rm -f conftest.err conftest.$ac_objext \
48547       conftest$ac_exeext conftest.$ac_ext
48548 fi
48549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48551 if test `eval echo '${'$as_ac_var'}'` = yes; then
48552   cat >>confdefs.h <<_ACEOF
48553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48554 _ACEOF
48555
48556 fi
48557 done
48558
48559   else
48560
48561   echo "$as_me:$LINENO: checking for _powl declaration" >&5
48562 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48563   if test x${glibcxx_cv_func__powl_use+set} != xset; then
48564     if test "${glibcxx_cv_func__powl_use+set}" = set; then
48565   echo $ECHO_N "(cached) $ECHO_C" >&6
48566 else
48567
48568
48569
48570       ac_ext=cc
48571 ac_cpp='$CXXCPP $CPPFLAGS'
48572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48575
48576       cat >conftest.$ac_ext <<_ACEOF
48577 /* confdefs.h.  */
48578 _ACEOF
48579 cat confdefs.h >>conftest.$ac_ext
48580 cat >>conftest.$ac_ext <<_ACEOF
48581 /* end confdefs.h.  */
48582 #include <math.h>
48583 int
48584 main ()
48585 {
48586  _powl(0, 0);
48587   ;
48588   return 0;
48589 }
48590 _ACEOF
48591 rm -f conftest.$ac_objext
48592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48593   (eval $ac_compile) 2>conftest.er1
48594   ac_status=$?
48595   grep -v '^ *+' conftest.er1 >conftest.err
48596   rm -f conftest.er1
48597   cat conftest.err >&5
48598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48599   (exit $ac_status); } &&
48600          { ac_try='test -z "$ac_cxx_werror_flag"
48601                          || test ! -s conftest.err'
48602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48603   (eval $ac_try) 2>&5
48604   ac_status=$?
48605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48606   (exit $ac_status); }; } &&
48607          { ac_try='test -s conftest.$ac_objext'
48608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48609   (eval $ac_try) 2>&5
48610   ac_status=$?
48611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48612   (exit $ac_status); }; }; then
48613   glibcxx_cv_func__powl_use=yes
48614 else
48615   echo "$as_me: failed program was:" >&5
48616 sed 's/^/| /' conftest.$ac_ext >&5
48617
48618 glibcxx_cv_func__powl_use=no
48619 fi
48620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48621       ac_ext=c
48622 ac_cpp='$CPP $CPPFLAGS'
48623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48626
48627
48628 fi
48629
48630   fi
48631   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48632 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48633
48634     if test x$glibcxx_cv_func__powl_use = x"yes"; then
48635
48636 for ac_func in _powl
48637 do
48638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48639 echo "$as_me:$LINENO: checking for $ac_func" >&5
48640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48641 if eval "test \"\${$as_ac_var+set}\" = set"; then
48642   echo $ECHO_N "(cached) $ECHO_C" >&6
48643 else
48644   if test x$gcc_no_link = xyes; then
48645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48647    { (exit 1); exit 1; }; }
48648 fi
48649 cat >conftest.$ac_ext <<_ACEOF
48650 /* confdefs.h.  */
48651 _ACEOF
48652 cat confdefs.h >>conftest.$ac_ext
48653 cat >>conftest.$ac_ext <<_ACEOF
48654 /* end confdefs.h.  */
48655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48657 #define $ac_func innocuous_$ac_func
48658
48659 /* System header to define __stub macros and hopefully few prototypes,
48660     which can conflict with char $ac_func (); below.
48661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48662     <limits.h> exists even on freestanding compilers.  */
48663
48664 #ifdef __STDC__
48665 # include <limits.h>
48666 #else
48667 # include <assert.h>
48668 #endif
48669
48670 #undef $ac_func
48671
48672 /* Override any gcc2 internal prototype to avoid an error.  */
48673 #ifdef __cplusplus
48674 extern "C"
48675 {
48676 #endif
48677 /* We use char because int might match the return type of a gcc2
48678    builtin and then its argument prototype would still apply.  */
48679 char $ac_func ();
48680 /* The GNU C library defines this for functions which it implements
48681     to always fail with ENOSYS.  Some functions are actually named
48682     something starting with __ and the normal name is an alias.  */
48683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48684 choke me
48685 #else
48686 char (*f) () = $ac_func;
48687 #endif
48688 #ifdef __cplusplus
48689 }
48690 #endif
48691
48692 int
48693 main ()
48694 {
48695 return f != $ac_func;
48696   ;
48697   return 0;
48698 }
48699 _ACEOF
48700 rm -f conftest.$ac_objext conftest$ac_exeext
48701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48702   (eval $ac_link) 2>conftest.er1
48703   ac_status=$?
48704   grep -v '^ *+' conftest.er1 >conftest.err
48705   rm -f conftest.er1
48706   cat conftest.err >&5
48707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708   (exit $ac_status); } &&
48709          { ac_try='test -z "$ac_c_werror_flag"
48710                          || test ! -s conftest.err'
48711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48712   (eval $ac_try) 2>&5
48713   ac_status=$?
48714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715   (exit $ac_status); }; } &&
48716          { ac_try='test -s conftest$ac_exeext'
48717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48718   (eval $ac_try) 2>&5
48719   ac_status=$?
48720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721   (exit $ac_status); }; }; then
48722   eval "$as_ac_var=yes"
48723 else
48724   echo "$as_me: failed program was:" >&5
48725 sed 's/^/| /' conftest.$ac_ext >&5
48726
48727 eval "$as_ac_var=no"
48728 fi
48729 rm -f conftest.err conftest.$ac_objext \
48730       conftest$ac_exeext conftest.$ac_ext
48731 fi
48732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48734 if test `eval echo '${'$as_ac_var'}'` = yes; then
48735   cat >>confdefs.h <<_ACEOF
48736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48737 _ACEOF
48738
48739 fi
48740 done
48741
48742     fi
48743   fi
48744
48745
48746
48747
48748
48749
48750   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48751 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48752   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48753     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48754   echo $ECHO_N "(cached) $ECHO_C" >&6
48755 else
48756
48757
48758
48759       ac_ext=cc
48760 ac_cpp='$CXXCPP $CPPFLAGS'
48761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764
48765       cat >conftest.$ac_ext <<_ACEOF
48766 /* confdefs.h.  */
48767 _ACEOF
48768 cat confdefs.h >>conftest.$ac_ext
48769 cat >>conftest.$ac_ext <<_ACEOF
48770 /* end confdefs.h.  */
48771 #include <math.h>
48772                       #ifdef HAVE_IEEEFP_H
48773                       #include <ieeefp.h>
48774                       #endif
48775
48776 int
48777 main ()
48778 {
48779  sqrtl(0);
48780   ;
48781   return 0;
48782 }
48783 _ACEOF
48784 rm -f conftest.$ac_objext
48785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48786   (eval $ac_compile) 2>conftest.er1
48787   ac_status=$?
48788   grep -v '^ *+' conftest.er1 >conftest.err
48789   rm -f conftest.er1
48790   cat conftest.err >&5
48791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792   (exit $ac_status); } &&
48793          { ac_try='test -z "$ac_cxx_werror_flag"
48794                          || test ! -s conftest.err'
48795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48796   (eval $ac_try) 2>&5
48797   ac_status=$?
48798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799   (exit $ac_status); }; } &&
48800          { ac_try='test -s conftest.$ac_objext'
48801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48802   (eval $ac_try) 2>&5
48803   ac_status=$?
48804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805   (exit $ac_status); }; }; then
48806   glibcxx_cv_func_sqrtl_use=yes
48807 else
48808   echo "$as_me: failed program was:" >&5
48809 sed 's/^/| /' conftest.$ac_ext >&5
48810
48811 glibcxx_cv_func_sqrtl_use=no
48812 fi
48813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48814       ac_ext=c
48815 ac_cpp='$CPP $CPPFLAGS'
48816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48819
48820
48821 fi
48822
48823   fi
48824   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48825 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48826
48827   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48828
48829 for ac_func in sqrtl
48830 do
48831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48832 echo "$as_me:$LINENO: checking for $ac_func" >&5
48833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48834 if eval "test \"\${$as_ac_var+set}\" = set"; then
48835   echo $ECHO_N "(cached) $ECHO_C" >&6
48836 else
48837   if test x$gcc_no_link = xyes; then
48838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48840    { (exit 1); exit 1; }; }
48841 fi
48842 cat >conftest.$ac_ext <<_ACEOF
48843 /* confdefs.h.  */
48844 _ACEOF
48845 cat confdefs.h >>conftest.$ac_ext
48846 cat >>conftest.$ac_ext <<_ACEOF
48847 /* end confdefs.h.  */
48848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48850 #define $ac_func innocuous_$ac_func
48851
48852 /* System header to define __stub macros and hopefully few prototypes,
48853     which can conflict with char $ac_func (); below.
48854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48855     <limits.h> exists even on freestanding compilers.  */
48856
48857 #ifdef __STDC__
48858 # include <limits.h>
48859 #else
48860 # include <assert.h>
48861 #endif
48862
48863 #undef $ac_func
48864
48865 /* Override any gcc2 internal prototype to avoid an error.  */
48866 #ifdef __cplusplus
48867 extern "C"
48868 {
48869 #endif
48870 /* We use char because int might match the return type of a gcc2
48871    builtin and then its argument prototype would still apply.  */
48872 char $ac_func ();
48873 /* The GNU C library defines this for functions which it implements
48874     to always fail with ENOSYS.  Some functions are actually named
48875     something starting with __ and the normal name is an alias.  */
48876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48877 choke me
48878 #else
48879 char (*f) () = $ac_func;
48880 #endif
48881 #ifdef __cplusplus
48882 }
48883 #endif
48884
48885 int
48886 main ()
48887 {
48888 return f != $ac_func;
48889   ;
48890   return 0;
48891 }
48892 _ACEOF
48893 rm -f conftest.$ac_objext conftest$ac_exeext
48894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48895   (eval $ac_link) 2>conftest.er1
48896   ac_status=$?
48897   grep -v '^ *+' conftest.er1 >conftest.err
48898   rm -f conftest.er1
48899   cat conftest.err >&5
48900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901   (exit $ac_status); } &&
48902          { ac_try='test -z "$ac_c_werror_flag"
48903                          || test ! -s conftest.err'
48904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48905   (eval $ac_try) 2>&5
48906   ac_status=$?
48907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48908   (exit $ac_status); }; } &&
48909          { ac_try='test -s conftest$ac_exeext'
48910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48911   (eval $ac_try) 2>&5
48912   ac_status=$?
48913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48914   (exit $ac_status); }; }; then
48915   eval "$as_ac_var=yes"
48916 else
48917   echo "$as_me: failed program was:" >&5
48918 sed 's/^/| /' conftest.$ac_ext >&5
48919
48920 eval "$as_ac_var=no"
48921 fi
48922 rm -f conftest.err conftest.$ac_objext \
48923       conftest$ac_exeext conftest.$ac_ext
48924 fi
48925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48927 if test `eval echo '${'$as_ac_var'}'` = yes; then
48928   cat >>confdefs.h <<_ACEOF
48929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48930 _ACEOF
48931
48932 fi
48933 done
48934
48935   else
48936
48937   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48938 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48939   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48940     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48941   echo $ECHO_N "(cached) $ECHO_C" >&6
48942 else
48943
48944
48945
48946       ac_ext=cc
48947 ac_cpp='$CXXCPP $CPPFLAGS'
48948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48951
48952       cat >conftest.$ac_ext <<_ACEOF
48953 /* confdefs.h.  */
48954 _ACEOF
48955 cat confdefs.h >>conftest.$ac_ext
48956 cat >>conftest.$ac_ext <<_ACEOF
48957 /* end confdefs.h.  */
48958 #include <math.h>
48959                       #ifdef HAVE_IEEEFP_H
48960                       #include <ieeefp.h>
48961                       #endif
48962
48963 int
48964 main ()
48965 {
48966  _sqrtl(0);
48967   ;
48968   return 0;
48969 }
48970 _ACEOF
48971 rm -f conftest.$ac_objext
48972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48973   (eval $ac_compile) 2>conftest.er1
48974   ac_status=$?
48975   grep -v '^ *+' conftest.er1 >conftest.err
48976   rm -f conftest.er1
48977   cat conftest.err >&5
48978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48979   (exit $ac_status); } &&
48980          { ac_try='test -z "$ac_cxx_werror_flag"
48981                          || test ! -s conftest.err'
48982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48983   (eval $ac_try) 2>&5
48984   ac_status=$?
48985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48986   (exit $ac_status); }; } &&
48987          { ac_try='test -s conftest.$ac_objext'
48988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48989   (eval $ac_try) 2>&5
48990   ac_status=$?
48991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48992   (exit $ac_status); }; }; then
48993   glibcxx_cv_func__sqrtl_use=yes
48994 else
48995   echo "$as_me: failed program was:" >&5
48996 sed 's/^/| /' conftest.$ac_ext >&5
48997
48998 glibcxx_cv_func__sqrtl_use=no
48999 fi
49000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49001       ac_ext=c
49002 ac_cpp='$CPP $CPPFLAGS'
49003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49006
49007
49008 fi
49009
49010   fi
49011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49012 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49013
49014     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49015
49016 for ac_func in _sqrtl
49017 do
49018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49019 echo "$as_me:$LINENO: checking for $ac_func" >&5
49020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49021 if eval "test \"\${$as_ac_var+set}\" = set"; then
49022   echo $ECHO_N "(cached) $ECHO_C" >&6
49023 else
49024   if test x$gcc_no_link = xyes; then
49025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49027    { (exit 1); exit 1; }; }
49028 fi
49029 cat >conftest.$ac_ext <<_ACEOF
49030 /* confdefs.h.  */
49031 _ACEOF
49032 cat confdefs.h >>conftest.$ac_ext
49033 cat >>conftest.$ac_ext <<_ACEOF
49034 /* end confdefs.h.  */
49035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49037 #define $ac_func innocuous_$ac_func
49038
49039 /* System header to define __stub macros and hopefully few prototypes,
49040     which can conflict with char $ac_func (); below.
49041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49042     <limits.h> exists even on freestanding compilers.  */
49043
49044 #ifdef __STDC__
49045 # include <limits.h>
49046 #else
49047 # include <assert.h>
49048 #endif
49049
49050 #undef $ac_func
49051
49052 /* Override any gcc2 internal prototype to avoid an error.  */
49053 #ifdef __cplusplus
49054 extern "C"
49055 {
49056 #endif
49057 /* We use char because int might match the return type of a gcc2
49058    builtin and then its argument prototype would still apply.  */
49059 char $ac_func ();
49060 /* The GNU C library defines this for functions which it implements
49061     to always fail with ENOSYS.  Some functions are actually named
49062     something starting with __ and the normal name is an alias.  */
49063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49064 choke me
49065 #else
49066 char (*f) () = $ac_func;
49067 #endif
49068 #ifdef __cplusplus
49069 }
49070 #endif
49071
49072 int
49073 main ()
49074 {
49075 return f != $ac_func;
49076   ;
49077   return 0;
49078 }
49079 _ACEOF
49080 rm -f conftest.$ac_objext conftest$ac_exeext
49081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49082   (eval $ac_link) 2>conftest.er1
49083   ac_status=$?
49084   grep -v '^ *+' conftest.er1 >conftest.err
49085   rm -f conftest.er1
49086   cat conftest.err >&5
49087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088   (exit $ac_status); } &&
49089          { ac_try='test -z "$ac_c_werror_flag"
49090                          || test ! -s conftest.err'
49091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49092   (eval $ac_try) 2>&5
49093   ac_status=$?
49094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095   (exit $ac_status); }; } &&
49096          { ac_try='test -s conftest$ac_exeext'
49097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49098   (eval $ac_try) 2>&5
49099   ac_status=$?
49100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49101   (exit $ac_status); }; }; then
49102   eval "$as_ac_var=yes"
49103 else
49104   echo "$as_me: failed program was:" >&5
49105 sed 's/^/| /' conftest.$ac_ext >&5
49106
49107 eval "$as_ac_var=no"
49108 fi
49109 rm -f conftest.err conftest.$ac_objext \
49110       conftest$ac_exeext conftest.$ac_ext
49111 fi
49112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49114 if test `eval echo '${'$as_ac_var'}'` = yes; then
49115   cat >>confdefs.h <<_ACEOF
49116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49117 _ACEOF
49118
49119 fi
49120 done
49121
49122     fi
49123   fi
49124
49125
49126
49127
49128
49129
49130   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49131 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49132   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49133     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49134   echo $ECHO_N "(cached) $ECHO_C" >&6
49135 else
49136
49137
49138
49139       ac_ext=cc
49140 ac_cpp='$CXXCPP $CPPFLAGS'
49141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49144
49145       cat >conftest.$ac_ext <<_ACEOF
49146 /* confdefs.h.  */
49147 _ACEOF
49148 cat confdefs.h >>conftest.$ac_ext
49149 cat >>conftest.$ac_ext <<_ACEOF
49150 /* end confdefs.h.  */
49151 #include <math.h>
49152 int
49153 main ()
49154 {
49155  sincosl(0, 0, 0);
49156   ;
49157   return 0;
49158 }
49159 _ACEOF
49160 rm -f conftest.$ac_objext
49161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49162   (eval $ac_compile) 2>conftest.er1
49163   ac_status=$?
49164   grep -v '^ *+' conftest.er1 >conftest.err
49165   rm -f conftest.er1
49166   cat conftest.err >&5
49167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168   (exit $ac_status); } &&
49169          { ac_try='test -z "$ac_cxx_werror_flag"
49170                          || test ! -s conftest.err'
49171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49172   (eval $ac_try) 2>&5
49173   ac_status=$?
49174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49175   (exit $ac_status); }; } &&
49176          { ac_try='test -s conftest.$ac_objext'
49177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49178   (eval $ac_try) 2>&5
49179   ac_status=$?
49180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49181   (exit $ac_status); }; }; then
49182   glibcxx_cv_func_sincosl_use=yes
49183 else
49184   echo "$as_me: failed program was:" >&5
49185 sed 's/^/| /' conftest.$ac_ext >&5
49186
49187 glibcxx_cv_func_sincosl_use=no
49188 fi
49189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49190       ac_ext=c
49191 ac_cpp='$CPP $CPPFLAGS'
49192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49195
49196
49197 fi
49198
49199   fi
49200   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49201 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49202
49203   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49204
49205 for ac_func in sincosl
49206 do
49207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49208 echo "$as_me:$LINENO: checking for $ac_func" >&5
49209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49210 if eval "test \"\${$as_ac_var+set}\" = set"; then
49211   echo $ECHO_N "(cached) $ECHO_C" >&6
49212 else
49213   if test x$gcc_no_link = xyes; then
49214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49216    { (exit 1); exit 1; }; }
49217 fi
49218 cat >conftest.$ac_ext <<_ACEOF
49219 /* confdefs.h.  */
49220 _ACEOF
49221 cat confdefs.h >>conftest.$ac_ext
49222 cat >>conftest.$ac_ext <<_ACEOF
49223 /* end confdefs.h.  */
49224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49226 #define $ac_func innocuous_$ac_func
49227
49228 /* System header to define __stub macros and hopefully few prototypes,
49229     which can conflict with char $ac_func (); below.
49230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49231     <limits.h> exists even on freestanding compilers.  */
49232
49233 #ifdef __STDC__
49234 # include <limits.h>
49235 #else
49236 # include <assert.h>
49237 #endif
49238
49239 #undef $ac_func
49240
49241 /* Override any gcc2 internal prototype to avoid an error.  */
49242 #ifdef __cplusplus
49243 extern "C"
49244 {
49245 #endif
49246 /* We use char because int might match the return type of a gcc2
49247    builtin and then its argument prototype would still apply.  */
49248 char $ac_func ();
49249 /* The GNU C library defines this for functions which it implements
49250     to always fail with ENOSYS.  Some functions are actually named
49251     something starting with __ and the normal name is an alias.  */
49252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49253 choke me
49254 #else
49255 char (*f) () = $ac_func;
49256 #endif
49257 #ifdef __cplusplus
49258 }
49259 #endif
49260
49261 int
49262 main ()
49263 {
49264 return f != $ac_func;
49265   ;
49266   return 0;
49267 }
49268 _ACEOF
49269 rm -f conftest.$ac_objext conftest$ac_exeext
49270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49271   (eval $ac_link) 2>conftest.er1
49272   ac_status=$?
49273   grep -v '^ *+' conftest.er1 >conftest.err
49274   rm -f conftest.er1
49275   cat conftest.err >&5
49276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49277   (exit $ac_status); } &&
49278          { ac_try='test -z "$ac_c_werror_flag"
49279                          || test ! -s conftest.err'
49280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49281   (eval $ac_try) 2>&5
49282   ac_status=$?
49283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49284   (exit $ac_status); }; } &&
49285          { ac_try='test -s conftest$ac_exeext'
49286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49287   (eval $ac_try) 2>&5
49288   ac_status=$?
49289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49290   (exit $ac_status); }; }; then
49291   eval "$as_ac_var=yes"
49292 else
49293   echo "$as_me: failed program was:" >&5
49294 sed 's/^/| /' conftest.$ac_ext >&5
49295
49296 eval "$as_ac_var=no"
49297 fi
49298 rm -f conftest.err conftest.$ac_objext \
49299       conftest$ac_exeext conftest.$ac_ext
49300 fi
49301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49303 if test `eval echo '${'$as_ac_var'}'` = yes; then
49304   cat >>confdefs.h <<_ACEOF
49305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49306 _ACEOF
49307
49308 fi
49309 done
49310
49311   else
49312
49313   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49314 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49315   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49316     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49317   echo $ECHO_N "(cached) $ECHO_C" >&6
49318 else
49319
49320
49321
49322       ac_ext=cc
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328       cat >conftest.$ac_ext <<_ACEOF
49329 /* confdefs.h.  */
49330 _ACEOF
49331 cat confdefs.h >>conftest.$ac_ext
49332 cat >>conftest.$ac_ext <<_ACEOF
49333 /* end confdefs.h.  */
49334 #include <math.h>
49335 int
49336 main ()
49337 {
49338  _sincosl(0, 0, 0);
49339   ;
49340   return 0;
49341 }
49342 _ACEOF
49343 rm -f conftest.$ac_objext
49344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49345   (eval $ac_compile) 2>conftest.er1
49346   ac_status=$?
49347   grep -v '^ *+' conftest.er1 >conftest.err
49348   rm -f conftest.er1
49349   cat conftest.err >&5
49350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49351   (exit $ac_status); } &&
49352          { ac_try='test -z "$ac_cxx_werror_flag"
49353                          || test ! -s conftest.err'
49354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49355   (eval $ac_try) 2>&5
49356   ac_status=$?
49357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49358   (exit $ac_status); }; } &&
49359          { ac_try='test -s conftest.$ac_objext'
49360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49361   (eval $ac_try) 2>&5
49362   ac_status=$?
49363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364   (exit $ac_status); }; }; then
49365   glibcxx_cv_func__sincosl_use=yes
49366 else
49367   echo "$as_me: failed program was:" >&5
49368 sed 's/^/| /' conftest.$ac_ext >&5
49369
49370 glibcxx_cv_func__sincosl_use=no
49371 fi
49372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49373       ac_ext=c
49374 ac_cpp='$CPP $CPPFLAGS'
49375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49378
49379
49380 fi
49381
49382   fi
49383   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49384 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49385
49386     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49387
49388 for ac_func in _sincosl
49389 do
49390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49391 echo "$as_me:$LINENO: checking for $ac_func" >&5
49392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49393 if eval "test \"\${$as_ac_var+set}\" = set"; then
49394   echo $ECHO_N "(cached) $ECHO_C" >&6
49395 else
49396   if test x$gcc_no_link = xyes; then
49397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49399    { (exit 1); exit 1; }; }
49400 fi
49401 cat >conftest.$ac_ext <<_ACEOF
49402 /* confdefs.h.  */
49403 _ACEOF
49404 cat confdefs.h >>conftest.$ac_ext
49405 cat >>conftest.$ac_ext <<_ACEOF
49406 /* end confdefs.h.  */
49407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49409 #define $ac_func innocuous_$ac_func
49410
49411 /* System header to define __stub macros and hopefully few prototypes,
49412     which can conflict with char $ac_func (); below.
49413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49414     <limits.h> exists even on freestanding compilers.  */
49415
49416 #ifdef __STDC__
49417 # include <limits.h>
49418 #else
49419 # include <assert.h>
49420 #endif
49421
49422 #undef $ac_func
49423
49424 /* Override any gcc2 internal prototype to avoid an error.  */
49425 #ifdef __cplusplus
49426 extern "C"
49427 {
49428 #endif
49429 /* We use char because int might match the return type of a gcc2
49430    builtin and then its argument prototype would still apply.  */
49431 char $ac_func ();
49432 /* The GNU C library defines this for functions which it implements
49433     to always fail with ENOSYS.  Some functions are actually named
49434     something starting with __ and the normal name is an alias.  */
49435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49436 choke me
49437 #else
49438 char (*f) () = $ac_func;
49439 #endif
49440 #ifdef __cplusplus
49441 }
49442 #endif
49443
49444 int
49445 main ()
49446 {
49447 return f != $ac_func;
49448   ;
49449   return 0;
49450 }
49451 _ACEOF
49452 rm -f conftest.$ac_objext conftest$ac_exeext
49453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49454   (eval $ac_link) 2>conftest.er1
49455   ac_status=$?
49456   grep -v '^ *+' conftest.er1 >conftest.err
49457   rm -f conftest.er1
49458   cat conftest.err >&5
49459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49460   (exit $ac_status); } &&
49461          { ac_try='test -z "$ac_c_werror_flag"
49462                          || test ! -s conftest.err'
49463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49464   (eval $ac_try) 2>&5
49465   ac_status=$?
49466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49467   (exit $ac_status); }; } &&
49468          { ac_try='test -s conftest$ac_exeext'
49469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49470   (eval $ac_try) 2>&5
49471   ac_status=$?
49472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49473   (exit $ac_status); }; }; then
49474   eval "$as_ac_var=yes"
49475 else
49476   echo "$as_me: failed program was:" >&5
49477 sed 's/^/| /' conftest.$ac_ext >&5
49478
49479 eval "$as_ac_var=no"
49480 fi
49481 rm -f conftest.err conftest.$ac_objext \
49482       conftest$ac_exeext conftest.$ac_ext
49483 fi
49484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49486 if test `eval echo '${'$as_ac_var'}'` = yes; then
49487   cat >>confdefs.h <<_ACEOF
49488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49489 _ACEOF
49490
49491 fi
49492 done
49493
49494     fi
49495   fi
49496
49497
49498
49499
49500
49501
49502   echo "$as_me:$LINENO: checking for finitel declaration" >&5
49503 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49504   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49505     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49506   echo $ECHO_N "(cached) $ECHO_C" >&6
49507 else
49508
49509
49510
49511       ac_ext=cc
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516
49517       cat >conftest.$ac_ext <<_ACEOF
49518 /* confdefs.h.  */
49519 _ACEOF
49520 cat confdefs.h >>conftest.$ac_ext
49521 cat >>conftest.$ac_ext <<_ACEOF
49522 /* end confdefs.h.  */
49523 #include <math.h>
49524                       #ifdef HAVE_IEEEFP_H
49525                       #include <ieeefp.h>
49526                       #endif
49527
49528 int
49529 main ()
49530 {
49531  finitel(0);
49532   ;
49533   return 0;
49534 }
49535 _ACEOF
49536 rm -f conftest.$ac_objext
49537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49538   (eval $ac_compile) 2>conftest.er1
49539   ac_status=$?
49540   grep -v '^ *+' conftest.er1 >conftest.err
49541   rm -f conftest.er1
49542   cat conftest.err >&5
49543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49544   (exit $ac_status); } &&
49545          { ac_try='test -z "$ac_cxx_werror_flag"
49546                          || test ! -s conftest.err'
49547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49548   (eval $ac_try) 2>&5
49549   ac_status=$?
49550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49551   (exit $ac_status); }; } &&
49552          { ac_try='test -s conftest.$ac_objext'
49553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49554   (eval $ac_try) 2>&5
49555   ac_status=$?
49556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49557   (exit $ac_status); }; }; then
49558   glibcxx_cv_func_finitel_use=yes
49559 else
49560   echo "$as_me: failed program was:" >&5
49561 sed 's/^/| /' conftest.$ac_ext >&5
49562
49563 glibcxx_cv_func_finitel_use=no
49564 fi
49565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49566       ac_ext=c
49567 ac_cpp='$CPP $CPPFLAGS'
49568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49571
49572
49573 fi
49574
49575   fi
49576   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49577 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49578
49579   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49580
49581 for ac_func in finitel
49582 do
49583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49584 echo "$as_me:$LINENO: checking for $ac_func" >&5
49585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49586 if eval "test \"\${$as_ac_var+set}\" = set"; then
49587   echo $ECHO_N "(cached) $ECHO_C" >&6
49588 else
49589   if test x$gcc_no_link = xyes; then
49590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49592    { (exit 1); exit 1; }; }
49593 fi
49594 cat >conftest.$ac_ext <<_ACEOF
49595 /* confdefs.h.  */
49596 _ACEOF
49597 cat confdefs.h >>conftest.$ac_ext
49598 cat >>conftest.$ac_ext <<_ACEOF
49599 /* end confdefs.h.  */
49600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49601    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49602 #define $ac_func innocuous_$ac_func
49603
49604 /* System header to define __stub macros and hopefully few prototypes,
49605     which can conflict with char $ac_func (); below.
49606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49607     <limits.h> exists even on freestanding compilers.  */
49608
49609 #ifdef __STDC__
49610 # include <limits.h>
49611 #else
49612 # include <assert.h>
49613 #endif
49614
49615 #undef $ac_func
49616
49617 /* Override any gcc2 internal prototype to avoid an error.  */
49618 #ifdef __cplusplus
49619 extern "C"
49620 {
49621 #endif
49622 /* We use char because int might match the return type of a gcc2
49623    builtin and then its argument prototype would still apply.  */
49624 char $ac_func ();
49625 /* The GNU C library defines this for functions which it implements
49626     to always fail with ENOSYS.  Some functions are actually named
49627     something starting with __ and the normal name is an alias.  */
49628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49629 choke me
49630 #else
49631 char (*f) () = $ac_func;
49632 #endif
49633 #ifdef __cplusplus
49634 }
49635 #endif
49636
49637 int
49638 main ()
49639 {
49640 return f != $ac_func;
49641   ;
49642   return 0;
49643 }
49644 _ACEOF
49645 rm -f conftest.$ac_objext conftest$ac_exeext
49646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49647   (eval $ac_link) 2>conftest.er1
49648   ac_status=$?
49649   grep -v '^ *+' conftest.er1 >conftest.err
49650   rm -f conftest.er1
49651   cat conftest.err >&5
49652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49653   (exit $ac_status); } &&
49654          { ac_try='test -z "$ac_c_werror_flag"
49655                          || test ! -s conftest.err'
49656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49657   (eval $ac_try) 2>&5
49658   ac_status=$?
49659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49660   (exit $ac_status); }; } &&
49661          { ac_try='test -s conftest$ac_exeext'
49662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49663   (eval $ac_try) 2>&5
49664   ac_status=$?
49665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49666   (exit $ac_status); }; }; then
49667   eval "$as_ac_var=yes"
49668 else
49669   echo "$as_me: failed program was:" >&5
49670 sed 's/^/| /' conftest.$ac_ext >&5
49671
49672 eval "$as_ac_var=no"
49673 fi
49674 rm -f conftest.err conftest.$ac_objext \
49675       conftest$ac_exeext conftest.$ac_ext
49676 fi
49677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49679 if test `eval echo '${'$as_ac_var'}'` = yes; then
49680   cat >>confdefs.h <<_ACEOF
49681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49682 _ACEOF
49683
49684 fi
49685 done
49686
49687   else
49688
49689   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49690 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49691   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49692     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49693   echo $ECHO_N "(cached) $ECHO_C" >&6
49694 else
49695
49696
49697
49698       ac_ext=cc
49699 ac_cpp='$CXXCPP $CPPFLAGS'
49700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703
49704       cat >conftest.$ac_ext <<_ACEOF
49705 /* confdefs.h.  */
49706 _ACEOF
49707 cat confdefs.h >>conftest.$ac_ext
49708 cat >>conftest.$ac_ext <<_ACEOF
49709 /* end confdefs.h.  */
49710 #include <math.h>
49711                       #ifdef HAVE_IEEEFP_H
49712                       #include <ieeefp.h>
49713                       #endif
49714
49715 int
49716 main ()
49717 {
49718  _finitel(0);
49719   ;
49720   return 0;
49721 }
49722 _ACEOF
49723 rm -f conftest.$ac_objext
49724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49725   (eval $ac_compile) 2>conftest.er1
49726   ac_status=$?
49727   grep -v '^ *+' conftest.er1 >conftest.err
49728   rm -f conftest.er1
49729   cat conftest.err >&5
49730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49731   (exit $ac_status); } &&
49732          { ac_try='test -z "$ac_cxx_werror_flag"
49733                          || test ! -s conftest.err'
49734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49735   (eval $ac_try) 2>&5
49736   ac_status=$?
49737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49738   (exit $ac_status); }; } &&
49739          { ac_try='test -s conftest.$ac_objext'
49740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49741   (eval $ac_try) 2>&5
49742   ac_status=$?
49743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49744   (exit $ac_status); }; }; then
49745   glibcxx_cv_func__finitel_use=yes
49746 else
49747   echo "$as_me: failed program was:" >&5
49748 sed 's/^/| /' conftest.$ac_ext >&5
49749
49750 glibcxx_cv_func__finitel_use=no
49751 fi
49752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49753       ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49758
49759
49760 fi
49761
49762   fi
49763   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49764 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49765
49766     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49767
49768 for ac_func in _finitel
49769 do
49770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49771 echo "$as_me:$LINENO: checking for $ac_func" >&5
49772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49773 if eval "test \"\${$as_ac_var+set}\" = set"; then
49774   echo $ECHO_N "(cached) $ECHO_C" >&6
49775 else
49776   if test x$gcc_no_link = xyes; then
49777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49779    { (exit 1); exit 1; }; }
49780 fi
49781 cat >conftest.$ac_ext <<_ACEOF
49782 /* confdefs.h.  */
49783 _ACEOF
49784 cat confdefs.h >>conftest.$ac_ext
49785 cat >>conftest.$ac_ext <<_ACEOF
49786 /* end confdefs.h.  */
49787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49789 #define $ac_func innocuous_$ac_func
49790
49791 /* System header to define __stub macros and hopefully few prototypes,
49792     which can conflict with char $ac_func (); below.
49793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49794     <limits.h> exists even on freestanding compilers.  */
49795
49796 #ifdef __STDC__
49797 # include <limits.h>
49798 #else
49799 # include <assert.h>
49800 #endif
49801
49802 #undef $ac_func
49803
49804 /* Override any gcc2 internal prototype to avoid an error.  */
49805 #ifdef __cplusplus
49806 extern "C"
49807 {
49808 #endif
49809 /* We use char because int might match the return type of a gcc2
49810    builtin and then its argument prototype would still apply.  */
49811 char $ac_func ();
49812 /* The GNU C library defines this for functions which it implements
49813     to always fail with ENOSYS.  Some functions are actually named
49814     something starting with __ and the normal name is an alias.  */
49815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49816 choke me
49817 #else
49818 char (*f) () = $ac_func;
49819 #endif
49820 #ifdef __cplusplus
49821 }
49822 #endif
49823
49824 int
49825 main ()
49826 {
49827 return f != $ac_func;
49828   ;
49829   return 0;
49830 }
49831 _ACEOF
49832 rm -f conftest.$ac_objext conftest$ac_exeext
49833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49834   (eval $ac_link) 2>conftest.er1
49835   ac_status=$?
49836   grep -v '^ *+' conftest.er1 >conftest.err
49837   rm -f conftest.er1
49838   cat conftest.err >&5
49839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49840   (exit $ac_status); } &&
49841          { ac_try='test -z "$ac_c_werror_flag"
49842                          || test ! -s conftest.err'
49843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49844   (eval $ac_try) 2>&5
49845   ac_status=$?
49846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49847   (exit $ac_status); }; } &&
49848          { ac_try='test -s conftest$ac_exeext'
49849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49850   (eval $ac_try) 2>&5
49851   ac_status=$?
49852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49853   (exit $ac_status); }; }; then
49854   eval "$as_ac_var=yes"
49855 else
49856   echo "$as_me: failed program was:" >&5
49857 sed 's/^/| /' conftest.$ac_ext >&5
49858
49859 eval "$as_ac_var=no"
49860 fi
49861 rm -f conftest.err conftest.$ac_objext \
49862       conftest$ac_exeext conftest.$ac_ext
49863 fi
49864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49866 if test `eval echo '${'$as_ac_var'}'` = yes; then
49867   cat >>confdefs.h <<_ACEOF
49868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49869 _ACEOF
49870
49871 fi
49872 done
49873
49874     fi
49875   fi
49876
49877
49878
49879
49880
49881   LIBS="$ac_save_LIBS"
49882   CXXFLAGS="$ac_save_CXXFLAGS"
49883
49884
49885
49886   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49887 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49888   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49889     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49890   echo $ECHO_N "(cached) $ECHO_C" >&6
49891 else
49892
49893
49894
49895       ac_ext=cc
49896 ac_cpp='$CXXCPP $CPPFLAGS'
49897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49900
49901       cat >conftest.$ac_ext <<_ACEOF
49902 /* confdefs.h.  */
49903 _ACEOF
49904 cat confdefs.h >>conftest.$ac_ext
49905 cat >>conftest.$ac_ext <<_ACEOF
49906 /* end confdefs.h.  */
49907 #include <math.h>
49908 int
49909 main ()
49910 {
49911  __builtin_abs(0);
49912   ;
49913   return 0;
49914 }
49915 _ACEOF
49916 rm -f conftest.$ac_objext
49917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49918   (eval $ac_compile) 2>conftest.er1
49919   ac_status=$?
49920   grep -v '^ *+' conftest.er1 >conftest.err
49921   rm -f conftest.er1
49922   cat conftest.err >&5
49923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49924   (exit $ac_status); } &&
49925          { ac_try='test -z "$ac_cxx_werror_flag"
49926                          || test ! -s conftest.err'
49927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49928   (eval $ac_try) 2>&5
49929   ac_status=$?
49930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49931   (exit $ac_status); }; } &&
49932          { ac_try='test -s conftest.$ac_objext'
49933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49934   (eval $ac_try) 2>&5
49935   ac_status=$?
49936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49937   (exit $ac_status); }; }; then
49938   glibcxx_cv_func___builtin_abs_use=yes
49939 else
49940   echo "$as_me: failed program was:" >&5
49941 sed 's/^/| /' conftest.$ac_ext >&5
49942
49943 glibcxx_cv_func___builtin_abs_use=no
49944 fi
49945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49946       ac_ext=c
49947 ac_cpp='$CPP $CPPFLAGS'
49948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49951
49952
49953 fi
49954
49955   fi
49956   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49957 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49958   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49959     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49960 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49961     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49962       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49963   echo $ECHO_N "(cached) $ECHO_C" >&6
49964 else
49965
49966         if test x$gcc_no_link = xyes; then
49967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49969    { (exit 1); exit 1; }; }
49970 fi
49971 cat >conftest.$ac_ext <<_ACEOF
49972 /* confdefs.h.  */
49973 _ACEOF
49974 cat confdefs.h >>conftest.$ac_ext
49975 cat >>conftest.$ac_ext <<_ACEOF
49976 /* end confdefs.h.  */
49977 #include <math.h>
49978 int
49979 main ()
49980 {
49981  __builtin_abs(0);
49982   ;
49983   return 0;
49984 }
49985 _ACEOF
49986 rm -f conftest.$ac_objext conftest$ac_exeext
49987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49988   (eval $ac_link) 2>conftest.er1
49989   ac_status=$?
49990   grep -v '^ *+' conftest.er1 >conftest.err
49991   rm -f conftest.er1
49992   cat conftest.err >&5
49993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49994   (exit $ac_status); } &&
49995          { ac_try='test -z "$ac_c_werror_flag"
49996                          || test ! -s conftest.err'
49997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49998   (eval $ac_try) 2>&5
49999   ac_status=$?
50000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50001   (exit $ac_status); }; } &&
50002          { ac_try='test -s conftest$ac_exeext'
50003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50004   (eval $ac_try) 2>&5
50005   ac_status=$?
50006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50007   (exit $ac_status); }; }; then
50008   glibcxx_cv_func___builtin_abs_link=yes
50009 else
50010   echo "$as_me: failed program was:" >&5
50011 sed 's/^/| /' conftest.$ac_ext >&5
50012
50013 glibcxx_cv_func___builtin_abs_link=no
50014 fi
50015 rm -f conftest.err conftest.$ac_objext \
50016       conftest$ac_exeext conftest.$ac_ext
50017
50018 fi
50019
50020     fi
50021     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50022 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50023
50024     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50025
50026 cat >>confdefs.h <<\_ACEOF
50027 #define HAVE___BUILTIN_ABS 1
50028 _ACEOF
50029
50030     fi
50031
50032   fi
50033
50034
50035   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50036 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50037   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50038     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50039   echo $ECHO_N "(cached) $ECHO_C" >&6
50040 else
50041
50042
50043
50044       ac_ext=cc
50045 ac_cpp='$CXXCPP $CPPFLAGS'
50046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50049
50050       cat >conftest.$ac_ext <<_ACEOF
50051 /* confdefs.h.  */
50052 _ACEOF
50053 cat confdefs.h >>conftest.$ac_ext
50054 cat >>conftest.$ac_ext <<_ACEOF
50055 /* end confdefs.h.  */
50056 #include <math.h>
50057 int
50058 main ()
50059 {
50060  __builtin_fabsf(0);
50061   ;
50062   return 0;
50063 }
50064 _ACEOF
50065 rm -f conftest.$ac_objext
50066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50067   (eval $ac_compile) 2>conftest.er1
50068   ac_status=$?
50069   grep -v '^ *+' conftest.er1 >conftest.err
50070   rm -f conftest.er1
50071   cat conftest.err >&5
50072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50073   (exit $ac_status); } &&
50074          { ac_try='test -z "$ac_cxx_werror_flag"
50075                          || test ! -s conftest.err'
50076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50077   (eval $ac_try) 2>&5
50078   ac_status=$?
50079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50080   (exit $ac_status); }; } &&
50081          { ac_try='test -s conftest.$ac_objext'
50082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50083   (eval $ac_try) 2>&5
50084   ac_status=$?
50085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50086   (exit $ac_status); }; }; then
50087   glibcxx_cv_func___builtin_fabsf_use=yes
50088 else
50089   echo "$as_me: failed program was:" >&5
50090 sed 's/^/| /' conftest.$ac_ext >&5
50091
50092 glibcxx_cv_func___builtin_fabsf_use=no
50093 fi
50094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50095       ac_ext=c
50096 ac_cpp='$CPP $CPPFLAGS'
50097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50100
50101
50102 fi
50103
50104   fi
50105   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50106 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50107   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50108     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50109 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50110     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50111       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50112   echo $ECHO_N "(cached) $ECHO_C" >&6
50113 else
50114
50115         if test x$gcc_no_link = xyes; then
50116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50118    { (exit 1); exit 1; }; }
50119 fi
50120 cat >conftest.$ac_ext <<_ACEOF
50121 /* confdefs.h.  */
50122 _ACEOF
50123 cat confdefs.h >>conftest.$ac_ext
50124 cat >>conftest.$ac_ext <<_ACEOF
50125 /* end confdefs.h.  */
50126 #include <math.h>
50127 int
50128 main ()
50129 {
50130  __builtin_fabsf(0);
50131   ;
50132   return 0;
50133 }
50134 _ACEOF
50135 rm -f conftest.$ac_objext conftest$ac_exeext
50136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50137   (eval $ac_link) 2>conftest.er1
50138   ac_status=$?
50139   grep -v '^ *+' conftest.er1 >conftest.err
50140   rm -f conftest.er1
50141   cat conftest.err >&5
50142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50143   (exit $ac_status); } &&
50144          { ac_try='test -z "$ac_c_werror_flag"
50145                          || test ! -s conftest.err'
50146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50147   (eval $ac_try) 2>&5
50148   ac_status=$?
50149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50150   (exit $ac_status); }; } &&
50151          { ac_try='test -s conftest$ac_exeext'
50152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50153   (eval $ac_try) 2>&5
50154   ac_status=$?
50155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50156   (exit $ac_status); }; }; then
50157   glibcxx_cv_func___builtin_fabsf_link=yes
50158 else
50159   echo "$as_me: failed program was:" >&5
50160 sed 's/^/| /' conftest.$ac_ext >&5
50161
50162 glibcxx_cv_func___builtin_fabsf_link=no
50163 fi
50164 rm -f conftest.err conftest.$ac_objext \
50165       conftest$ac_exeext conftest.$ac_ext
50166
50167 fi
50168
50169     fi
50170     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50171 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50172
50173     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50174
50175 cat >>confdefs.h <<\_ACEOF
50176 #define HAVE___BUILTIN_FABSF 1
50177 _ACEOF
50178
50179     fi
50180
50181   fi
50182
50183
50184   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50185 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50186   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50187     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50188   echo $ECHO_N "(cached) $ECHO_C" >&6
50189 else
50190
50191
50192
50193       ac_ext=cc
50194 ac_cpp='$CXXCPP $CPPFLAGS'
50195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50198
50199       cat >conftest.$ac_ext <<_ACEOF
50200 /* confdefs.h.  */
50201 _ACEOF
50202 cat confdefs.h >>conftest.$ac_ext
50203 cat >>conftest.$ac_ext <<_ACEOF
50204 /* end confdefs.h.  */
50205 #include <math.h>
50206 int
50207 main ()
50208 {
50209  __builtin_fabs(0);
50210   ;
50211   return 0;
50212 }
50213 _ACEOF
50214 rm -f conftest.$ac_objext
50215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50216   (eval $ac_compile) 2>conftest.er1
50217   ac_status=$?
50218   grep -v '^ *+' conftest.er1 >conftest.err
50219   rm -f conftest.er1
50220   cat conftest.err >&5
50221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50222   (exit $ac_status); } &&
50223          { ac_try='test -z "$ac_cxx_werror_flag"
50224                          || test ! -s conftest.err'
50225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50226   (eval $ac_try) 2>&5
50227   ac_status=$?
50228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50229   (exit $ac_status); }; } &&
50230          { ac_try='test -s conftest.$ac_objext'
50231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50232   (eval $ac_try) 2>&5
50233   ac_status=$?
50234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50235   (exit $ac_status); }; }; then
50236   glibcxx_cv_func___builtin_fabs_use=yes
50237 else
50238   echo "$as_me: failed program was:" >&5
50239 sed 's/^/| /' conftest.$ac_ext >&5
50240
50241 glibcxx_cv_func___builtin_fabs_use=no
50242 fi
50243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50244       ac_ext=c
50245 ac_cpp='$CPP $CPPFLAGS'
50246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50249
50250
50251 fi
50252
50253   fi
50254   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50255 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50256   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50257     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50258 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50259     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50260       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50261   echo $ECHO_N "(cached) $ECHO_C" >&6
50262 else
50263
50264         if test x$gcc_no_link = xyes; then
50265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50267    { (exit 1); exit 1; }; }
50268 fi
50269 cat >conftest.$ac_ext <<_ACEOF
50270 /* confdefs.h.  */
50271 _ACEOF
50272 cat confdefs.h >>conftest.$ac_ext
50273 cat >>conftest.$ac_ext <<_ACEOF
50274 /* end confdefs.h.  */
50275 #include <math.h>
50276 int
50277 main ()
50278 {
50279  __builtin_fabs(0);
50280   ;
50281   return 0;
50282 }
50283 _ACEOF
50284 rm -f conftest.$ac_objext conftest$ac_exeext
50285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50286   (eval $ac_link) 2>conftest.er1
50287   ac_status=$?
50288   grep -v '^ *+' conftest.er1 >conftest.err
50289   rm -f conftest.er1
50290   cat conftest.err >&5
50291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50292   (exit $ac_status); } &&
50293          { ac_try='test -z "$ac_c_werror_flag"
50294                          || test ! -s conftest.err'
50295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50296   (eval $ac_try) 2>&5
50297   ac_status=$?
50298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50299   (exit $ac_status); }; } &&
50300          { ac_try='test -s conftest$ac_exeext'
50301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50302   (eval $ac_try) 2>&5
50303   ac_status=$?
50304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50305   (exit $ac_status); }; }; then
50306   glibcxx_cv_func___builtin_fabs_link=yes
50307 else
50308   echo "$as_me: failed program was:" >&5
50309 sed 's/^/| /' conftest.$ac_ext >&5
50310
50311 glibcxx_cv_func___builtin_fabs_link=no
50312 fi
50313 rm -f conftest.err conftest.$ac_objext \
50314       conftest$ac_exeext conftest.$ac_ext
50315
50316 fi
50317
50318     fi
50319     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50320 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50321
50322     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50323
50324 cat >>confdefs.h <<\_ACEOF
50325 #define HAVE___BUILTIN_FABS 1
50326 _ACEOF
50327
50328     fi
50329
50330   fi
50331
50332
50333   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50334 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50335   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50336     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50337   echo $ECHO_N "(cached) $ECHO_C" >&6
50338 else
50339
50340
50341
50342       ac_ext=cc
50343 ac_cpp='$CXXCPP $CPPFLAGS'
50344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50347
50348       cat >conftest.$ac_ext <<_ACEOF
50349 /* confdefs.h.  */
50350 _ACEOF
50351 cat confdefs.h >>conftest.$ac_ext
50352 cat >>conftest.$ac_ext <<_ACEOF
50353 /* end confdefs.h.  */
50354 #include <math.h>
50355 int
50356 main ()
50357 {
50358  __builtin_fabsl(0);
50359   ;
50360   return 0;
50361 }
50362 _ACEOF
50363 rm -f conftest.$ac_objext
50364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50365   (eval $ac_compile) 2>conftest.er1
50366   ac_status=$?
50367   grep -v '^ *+' conftest.er1 >conftest.err
50368   rm -f conftest.er1
50369   cat conftest.err >&5
50370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50371   (exit $ac_status); } &&
50372          { ac_try='test -z "$ac_cxx_werror_flag"
50373                          || test ! -s conftest.err'
50374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50375   (eval $ac_try) 2>&5
50376   ac_status=$?
50377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50378   (exit $ac_status); }; } &&
50379          { ac_try='test -s conftest.$ac_objext'
50380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50381   (eval $ac_try) 2>&5
50382   ac_status=$?
50383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50384   (exit $ac_status); }; }; then
50385   glibcxx_cv_func___builtin_fabsl_use=yes
50386 else
50387   echo "$as_me: failed program was:" >&5
50388 sed 's/^/| /' conftest.$ac_ext >&5
50389
50390 glibcxx_cv_func___builtin_fabsl_use=no
50391 fi
50392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50393       ac_ext=c
50394 ac_cpp='$CPP $CPPFLAGS'
50395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50398
50399
50400 fi
50401
50402   fi
50403   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50404 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50405   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50406     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50407 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50408     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50409       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50410   echo $ECHO_N "(cached) $ECHO_C" >&6
50411 else
50412
50413         if test x$gcc_no_link = xyes; then
50414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50416    { (exit 1); exit 1; }; }
50417 fi
50418 cat >conftest.$ac_ext <<_ACEOF
50419 /* confdefs.h.  */
50420 _ACEOF
50421 cat confdefs.h >>conftest.$ac_ext
50422 cat >>conftest.$ac_ext <<_ACEOF
50423 /* end confdefs.h.  */
50424 #include <math.h>
50425 int
50426 main ()
50427 {
50428  __builtin_fabsl(0);
50429   ;
50430   return 0;
50431 }
50432 _ACEOF
50433 rm -f conftest.$ac_objext conftest$ac_exeext
50434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50435   (eval $ac_link) 2>conftest.er1
50436   ac_status=$?
50437   grep -v '^ *+' conftest.er1 >conftest.err
50438   rm -f conftest.er1
50439   cat conftest.err >&5
50440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441   (exit $ac_status); } &&
50442          { ac_try='test -z "$ac_c_werror_flag"
50443                          || test ! -s conftest.err'
50444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50445   (eval $ac_try) 2>&5
50446   ac_status=$?
50447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448   (exit $ac_status); }; } &&
50449          { ac_try='test -s conftest$ac_exeext'
50450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50451   (eval $ac_try) 2>&5
50452   ac_status=$?
50453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50454   (exit $ac_status); }; }; then
50455   glibcxx_cv_func___builtin_fabsl_link=yes
50456 else
50457   echo "$as_me: failed program was:" >&5
50458 sed 's/^/| /' conftest.$ac_ext >&5
50459
50460 glibcxx_cv_func___builtin_fabsl_link=no
50461 fi
50462 rm -f conftest.err conftest.$ac_objext \
50463       conftest$ac_exeext conftest.$ac_ext
50464
50465 fi
50466
50467     fi
50468     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50469 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50470
50471     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50472
50473 cat >>confdefs.h <<\_ACEOF
50474 #define HAVE___BUILTIN_FABSL 1
50475 _ACEOF
50476
50477     fi
50478
50479   fi
50480
50481
50482   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50483 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50484   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50485     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50486   echo $ECHO_N "(cached) $ECHO_C" >&6
50487 else
50488
50489
50490
50491       ac_ext=cc
50492 ac_cpp='$CXXCPP $CPPFLAGS'
50493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50496
50497       cat >conftest.$ac_ext <<_ACEOF
50498 /* confdefs.h.  */
50499 _ACEOF
50500 cat confdefs.h >>conftest.$ac_ext
50501 cat >>conftest.$ac_ext <<_ACEOF
50502 /* end confdefs.h.  */
50503 #include <math.h>
50504 int
50505 main ()
50506 {
50507  __builtin_labs(0);
50508   ;
50509   return 0;
50510 }
50511 _ACEOF
50512 rm -f conftest.$ac_objext
50513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50514   (eval $ac_compile) 2>conftest.er1
50515   ac_status=$?
50516   grep -v '^ *+' conftest.er1 >conftest.err
50517   rm -f conftest.er1
50518   cat conftest.err >&5
50519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50520   (exit $ac_status); } &&
50521          { ac_try='test -z "$ac_cxx_werror_flag"
50522                          || test ! -s conftest.err'
50523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50524   (eval $ac_try) 2>&5
50525   ac_status=$?
50526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50527   (exit $ac_status); }; } &&
50528          { ac_try='test -s conftest.$ac_objext'
50529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50530   (eval $ac_try) 2>&5
50531   ac_status=$?
50532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50533   (exit $ac_status); }; }; then
50534   glibcxx_cv_func___builtin_labs_use=yes
50535 else
50536   echo "$as_me: failed program was:" >&5
50537 sed 's/^/| /' conftest.$ac_ext >&5
50538
50539 glibcxx_cv_func___builtin_labs_use=no
50540 fi
50541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50542       ac_ext=c
50543 ac_cpp='$CPP $CPPFLAGS'
50544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50547
50548
50549 fi
50550
50551   fi
50552   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50553 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50554   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50555     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50556 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50557     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50558       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50559   echo $ECHO_N "(cached) $ECHO_C" >&6
50560 else
50561
50562         if test x$gcc_no_link = xyes; then
50563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50565    { (exit 1); exit 1; }; }
50566 fi
50567 cat >conftest.$ac_ext <<_ACEOF
50568 /* confdefs.h.  */
50569 _ACEOF
50570 cat confdefs.h >>conftest.$ac_ext
50571 cat >>conftest.$ac_ext <<_ACEOF
50572 /* end confdefs.h.  */
50573 #include <math.h>
50574 int
50575 main ()
50576 {
50577  __builtin_labs(0);
50578   ;
50579   return 0;
50580 }
50581 _ACEOF
50582 rm -f conftest.$ac_objext conftest$ac_exeext
50583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50584   (eval $ac_link) 2>conftest.er1
50585   ac_status=$?
50586   grep -v '^ *+' conftest.er1 >conftest.err
50587   rm -f conftest.er1
50588   cat conftest.err >&5
50589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50590   (exit $ac_status); } &&
50591          { ac_try='test -z "$ac_c_werror_flag"
50592                          || test ! -s conftest.err'
50593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50594   (eval $ac_try) 2>&5
50595   ac_status=$?
50596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50597   (exit $ac_status); }; } &&
50598          { ac_try='test -s conftest$ac_exeext'
50599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50600   (eval $ac_try) 2>&5
50601   ac_status=$?
50602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50603   (exit $ac_status); }; }; then
50604   glibcxx_cv_func___builtin_labs_link=yes
50605 else
50606   echo "$as_me: failed program was:" >&5
50607 sed 's/^/| /' conftest.$ac_ext >&5
50608
50609 glibcxx_cv_func___builtin_labs_link=no
50610 fi
50611 rm -f conftest.err conftest.$ac_objext \
50612       conftest$ac_exeext conftest.$ac_ext
50613
50614 fi
50615
50616     fi
50617     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50618 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50619
50620     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50621
50622 cat >>confdefs.h <<\_ACEOF
50623 #define HAVE___BUILTIN_LABS 1
50624 _ACEOF
50625
50626     fi
50627
50628   fi
50629
50630
50631
50632   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50633 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50634   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50635     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50636   echo $ECHO_N "(cached) $ECHO_C" >&6
50637 else
50638
50639
50640
50641       ac_ext=cc
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646
50647       cat >conftest.$ac_ext <<_ACEOF
50648 /* confdefs.h.  */
50649 _ACEOF
50650 cat confdefs.h >>conftest.$ac_ext
50651 cat >>conftest.$ac_ext <<_ACEOF
50652 /* end confdefs.h.  */
50653 #include <math.h>
50654 int
50655 main ()
50656 {
50657  __builtin_sqrtf(0);
50658   ;
50659   return 0;
50660 }
50661 _ACEOF
50662 rm -f conftest.$ac_objext
50663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50664   (eval $ac_compile) 2>conftest.er1
50665   ac_status=$?
50666   grep -v '^ *+' conftest.er1 >conftest.err
50667   rm -f conftest.er1
50668   cat conftest.err >&5
50669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50670   (exit $ac_status); } &&
50671          { ac_try='test -z "$ac_cxx_werror_flag"
50672                          || test ! -s conftest.err'
50673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50674   (eval $ac_try) 2>&5
50675   ac_status=$?
50676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50677   (exit $ac_status); }; } &&
50678          { ac_try='test -s conftest.$ac_objext'
50679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50680   (eval $ac_try) 2>&5
50681   ac_status=$?
50682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50683   (exit $ac_status); }; }; then
50684   glibcxx_cv_func___builtin_sqrtf_use=yes
50685 else
50686   echo "$as_me: failed program was:" >&5
50687 sed 's/^/| /' conftest.$ac_ext >&5
50688
50689 glibcxx_cv_func___builtin_sqrtf_use=no
50690 fi
50691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50692       ac_ext=c
50693 ac_cpp='$CPP $CPPFLAGS'
50694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50697
50698
50699 fi
50700
50701   fi
50702   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50703 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50704   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50705     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50706 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50707     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50708       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50709   echo $ECHO_N "(cached) $ECHO_C" >&6
50710 else
50711
50712         if test x$gcc_no_link = xyes; then
50713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50715    { (exit 1); exit 1; }; }
50716 fi
50717 cat >conftest.$ac_ext <<_ACEOF
50718 /* confdefs.h.  */
50719 _ACEOF
50720 cat confdefs.h >>conftest.$ac_ext
50721 cat >>conftest.$ac_ext <<_ACEOF
50722 /* end confdefs.h.  */
50723 #include <math.h>
50724 int
50725 main ()
50726 {
50727  __builtin_sqrtf(0);
50728   ;
50729   return 0;
50730 }
50731 _ACEOF
50732 rm -f conftest.$ac_objext conftest$ac_exeext
50733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50734   (eval $ac_link) 2>conftest.er1
50735   ac_status=$?
50736   grep -v '^ *+' conftest.er1 >conftest.err
50737   rm -f conftest.er1
50738   cat conftest.err >&5
50739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50740   (exit $ac_status); } &&
50741          { ac_try='test -z "$ac_c_werror_flag"
50742                          || test ! -s conftest.err'
50743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50744   (eval $ac_try) 2>&5
50745   ac_status=$?
50746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50747   (exit $ac_status); }; } &&
50748          { ac_try='test -s conftest$ac_exeext'
50749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50750   (eval $ac_try) 2>&5
50751   ac_status=$?
50752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50753   (exit $ac_status); }; }; then
50754   glibcxx_cv_func___builtin_sqrtf_link=yes
50755 else
50756   echo "$as_me: failed program was:" >&5
50757 sed 's/^/| /' conftest.$ac_ext >&5
50758
50759 glibcxx_cv_func___builtin_sqrtf_link=no
50760 fi
50761 rm -f conftest.err conftest.$ac_objext \
50762       conftest$ac_exeext conftest.$ac_ext
50763
50764 fi
50765
50766     fi
50767     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50768 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50769
50770     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50771
50772 cat >>confdefs.h <<\_ACEOF
50773 #define HAVE___BUILTIN_SQRTF 1
50774 _ACEOF
50775
50776     fi
50777
50778   fi
50779
50780
50781   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50782 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50783   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50784     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50785   echo $ECHO_N "(cached) $ECHO_C" >&6
50786 else
50787
50788
50789
50790       ac_ext=cc
50791 ac_cpp='$CXXCPP $CPPFLAGS'
50792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50795
50796       cat >conftest.$ac_ext <<_ACEOF
50797 /* confdefs.h.  */
50798 _ACEOF
50799 cat confdefs.h >>conftest.$ac_ext
50800 cat >>conftest.$ac_ext <<_ACEOF
50801 /* end confdefs.h.  */
50802 #include <math.h>
50803 int
50804 main ()
50805 {
50806  __builtin_sqrt(0);
50807   ;
50808   return 0;
50809 }
50810 _ACEOF
50811 rm -f conftest.$ac_objext
50812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50813   (eval $ac_compile) 2>conftest.er1
50814   ac_status=$?
50815   grep -v '^ *+' conftest.er1 >conftest.err
50816   rm -f conftest.er1
50817   cat conftest.err >&5
50818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50819   (exit $ac_status); } &&
50820          { ac_try='test -z "$ac_cxx_werror_flag"
50821                          || test ! -s conftest.err'
50822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50823   (eval $ac_try) 2>&5
50824   ac_status=$?
50825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50826   (exit $ac_status); }; } &&
50827          { ac_try='test -s conftest.$ac_objext'
50828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50829   (eval $ac_try) 2>&5
50830   ac_status=$?
50831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50832   (exit $ac_status); }; }; then
50833   glibcxx_cv_func___builtin_sqrt_use=yes
50834 else
50835   echo "$as_me: failed program was:" >&5
50836 sed 's/^/| /' conftest.$ac_ext >&5
50837
50838 glibcxx_cv_func___builtin_sqrt_use=no
50839 fi
50840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50841       ac_ext=c
50842 ac_cpp='$CPP $CPPFLAGS'
50843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50846
50847
50848 fi
50849
50850   fi
50851   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50852 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50853   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50854     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50855 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50856     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50857       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50858   echo $ECHO_N "(cached) $ECHO_C" >&6
50859 else
50860
50861         if test x$gcc_no_link = xyes; then
50862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50864    { (exit 1); exit 1; }; }
50865 fi
50866 cat >conftest.$ac_ext <<_ACEOF
50867 /* confdefs.h.  */
50868 _ACEOF
50869 cat confdefs.h >>conftest.$ac_ext
50870 cat >>conftest.$ac_ext <<_ACEOF
50871 /* end confdefs.h.  */
50872 #include <math.h>
50873 int
50874 main ()
50875 {
50876  __builtin_sqrt(0);
50877   ;
50878   return 0;
50879 }
50880 _ACEOF
50881 rm -f conftest.$ac_objext conftest$ac_exeext
50882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50883   (eval $ac_link) 2>conftest.er1
50884   ac_status=$?
50885   grep -v '^ *+' conftest.er1 >conftest.err
50886   rm -f conftest.er1
50887   cat conftest.err >&5
50888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50889   (exit $ac_status); } &&
50890          { ac_try='test -z "$ac_c_werror_flag"
50891                          || test ! -s conftest.err'
50892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50893   (eval $ac_try) 2>&5
50894   ac_status=$?
50895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50896   (exit $ac_status); }; } &&
50897          { ac_try='test -s conftest$ac_exeext'
50898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50899   (eval $ac_try) 2>&5
50900   ac_status=$?
50901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50902   (exit $ac_status); }; }; then
50903   glibcxx_cv_func___builtin_sqrt_link=yes
50904 else
50905   echo "$as_me: failed program was:" >&5
50906 sed 's/^/| /' conftest.$ac_ext >&5
50907
50908 glibcxx_cv_func___builtin_sqrt_link=no
50909 fi
50910 rm -f conftest.err conftest.$ac_objext \
50911       conftest$ac_exeext conftest.$ac_ext
50912
50913 fi
50914
50915     fi
50916     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50917 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50918
50919     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50920
50921 cat >>confdefs.h <<\_ACEOF
50922 #define HAVE___BUILTIN_SQRT 1
50923 _ACEOF
50924
50925     fi
50926
50927   fi
50928
50929
50930   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50931 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50932   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50933     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50934   echo $ECHO_N "(cached) $ECHO_C" >&6
50935 else
50936
50937
50938
50939       ac_ext=cc
50940 ac_cpp='$CXXCPP $CPPFLAGS'
50941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50944
50945       cat >conftest.$ac_ext <<_ACEOF
50946 /* confdefs.h.  */
50947 _ACEOF
50948 cat confdefs.h >>conftest.$ac_ext
50949 cat >>conftest.$ac_ext <<_ACEOF
50950 /* end confdefs.h.  */
50951 #include <math.h>
50952 int
50953 main ()
50954 {
50955  __builtin_sqrtl(0);
50956   ;
50957   return 0;
50958 }
50959 _ACEOF
50960 rm -f conftest.$ac_objext
50961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50962   (eval $ac_compile) 2>conftest.er1
50963   ac_status=$?
50964   grep -v '^ *+' conftest.er1 >conftest.err
50965   rm -f conftest.er1
50966   cat conftest.err >&5
50967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50968   (exit $ac_status); } &&
50969          { ac_try='test -z "$ac_cxx_werror_flag"
50970                          || test ! -s conftest.err'
50971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50972   (eval $ac_try) 2>&5
50973   ac_status=$?
50974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50975   (exit $ac_status); }; } &&
50976          { ac_try='test -s conftest.$ac_objext'
50977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50978   (eval $ac_try) 2>&5
50979   ac_status=$?
50980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981   (exit $ac_status); }; }; then
50982   glibcxx_cv_func___builtin_sqrtl_use=yes
50983 else
50984   echo "$as_me: failed program was:" >&5
50985 sed 's/^/| /' conftest.$ac_ext >&5
50986
50987 glibcxx_cv_func___builtin_sqrtl_use=no
50988 fi
50989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50990       ac_ext=c
50991 ac_cpp='$CPP $CPPFLAGS'
50992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50995
50996
50997 fi
50998
50999   fi
51000   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51001 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51002   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51003     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51004 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51005     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51006       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51007   echo $ECHO_N "(cached) $ECHO_C" >&6
51008 else
51009
51010         if test x$gcc_no_link = xyes; then
51011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51013    { (exit 1); exit 1; }; }
51014 fi
51015 cat >conftest.$ac_ext <<_ACEOF
51016 /* confdefs.h.  */
51017 _ACEOF
51018 cat confdefs.h >>conftest.$ac_ext
51019 cat >>conftest.$ac_ext <<_ACEOF
51020 /* end confdefs.h.  */
51021 #include <math.h>
51022 int
51023 main ()
51024 {
51025  __builtin_sqrtl(0);
51026   ;
51027   return 0;
51028 }
51029 _ACEOF
51030 rm -f conftest.$ac_objext conftest$ac_exeext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51032   (eval $ac_link) 2>conftest.er1
51033   ac_status=$?
51034   grep -v '^ *+' conftest.er1 >conftest.err
51035   rm -f conftest.er1
51036   cat conftest.err >&5
51037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51038   (exit $ac_status); } &&
51039          { ac_try='test -z "$ac_c_werror_flag"
51040                          || test ! -s conftest.err'
51041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51042   (eval $ac_try) 2>&5
51043   ac_status=$?
51044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51045   (exit $ac_status); }; } &&
51046          { ac_try='test -s conftest$ac_exeext'
51047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51048   (eval $ac_try) 2>&5
51049   ac_status=$?
51050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051   (exit $ac_status); }; }; then
51052   glibcxx_cv_func___builtin_sqrtl_link=yes
51053 else
51054   echo "$as_me: failed program was:" >&5
51055 sed 's/^/| /' conftest.$ac_ext >&5
51056
51057 glibcxx_cv_func___builtin_sqrtl_link=no
51058 fi
51059 rm -f conftest.err conftest.$ac_objext \
51060       conftest$ac_exeext conftest.$ac_ext
51061
51062 fi
51063
51064     fi
51065     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51066 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51067
51068     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51069
51070 cat >>confdefs.h <<\_ACEOF
51071 #define HAVE___BUILTIN_SQRTL 1
51072 _ACEOF
51073
51074     fi
51075
51076   fi
51077
51078
51079
51080   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51081 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51082   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51083     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51084   echo $ECHO_N "(cached) $ECHO_C" >&6
51085 else
51086
51087
51088
51089       ac_ext=cc
51090 ac_cpp='$CXXCPP $CPPFLAGS'
51091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51094
51095       cat >conftest.$ac_ext <<_ACEOF
51096 /* confdefs.h.  */
51097 _ACEOF
51098 cat confdefs.h >>conftest.$ac_ext
51099 cat >>conftest.$ac_ext <<_ACEOF
51100 /* end confdefs.h.  */
51101 #include <math.h>
51102 int
51103 main ()
51104 {
51105  __builtin_sinf(0);
51106   ;
51107   return 0;
51108 }
51109 _ACEOF
51110 rm -f conftest.$ac_objext
51111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51112   (eval $ac_compile) 2>conftest.er1
51113   ac_status=$?
51114   grep -v '^ *+' conftest.er1 >conftest.err
51115   rm -f conftest.er1
51116   cat conftest.err >&5
51117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51118   (exit $ac_status); } &&
51119          { ac_try='test -z "$ac_cxx_werror_flag"
51120                          || test ! -s conftest.err'
51121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51122   (eval $ac_try) 2>&5
51123   ac_status=$?
51124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51125   (exit $ac_status); }; } &&
51126          { ac_try='test -s conftest.$ac_objext'
51127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51128   (eval $ac_try) 2>&5
51129   ac_status=$?
51130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51131   (exit $ac_status); }; }; then
51132   glibcxx_cv_func___builtin_sinf_use=yes
51133 else
51134   echo "$as_me: failed program was:" >&5
51135 sed 's/^/| /' conftest.$ac_ext >&5
51136
51137 glibcxx_cv_func___builtin_sinf_use=no
51138 fi
51139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51140       ac_ext=c
51141 ac_cpp='$CPP $CPPFLAGS'
51142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51145
51146
51147 fi
51148
51149   fi
51150   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51151 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51152   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51153     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51154 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51155     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51156       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51157   echo $ECHO_N "(cached) $ECHO_C" >&6
51158 else
51159
51160         if test x$gcc_no_link = xyes; then
51161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51163    { (exit 1); exit 1; }; }
51164 fi
51165 cat >conftest.$ac_ext <<_ACEOF
51166 /* confdefs.h.  */
51167 _ACEOF
51168 cat confdefs.h >>conftest.$ac_ext
51169 cat >>conftest.$ac_ext <<_ACEOF
51170 /* end confdefs.h.  */
51171 #include <math.h>
51172 int
51173 main ()
51174 {
51175  __builtin_sinf(0);
51176   ;
51177   return 0;
51178 }
51179 _ACEOF
51180 rm -f conftest.$ac_objext conftest$ac_exeext
51181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51182   (eval $ac_link) 2>conftest.er1
51183   ac_status=$?
51184   grep -v '^ *+' conftest.er1 >conftest.err
51185   rm -f conftest.er1
51186   cat conftest.err >&5
51187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51188   (exit $ac_status); } &&
51189          { ac_try='test -z "$ac_c_werror_flag"
51190                          || test ! -s conftest.err'
51191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51192   (eval $ac_try) 2>&5
51193   ac_status=$?
51194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51195   (exit $ac_status); }; } &&
51196          { ac_try='test -s conftest$ac_exeext'
51197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51198   (eval $ac_try) 2>&5
51199   ac_status=$?
51200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51201   (exit $ac_status); }; }; then
51202   glibcxx_cv_func___builtin_sinf_link=yes
51203 else
51204   echo "$as_me: failed program was:" >&5
51205 sed 's/^/| /' conftest.$ac_ext >&5
51206
51207 glibcxx_cv_func___builtin_sinf_link=no
51208 fi
51209 rm -f conftest.err conftest.$ac_objext \
51210       conftest$ac_exeext conftest.$ac_ext
51211
51212 fi
51213
51214     fi
51215     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51216 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51217
51218     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51219
51220 cat >>confdefs.h <<\_ACEOF
51221 #define HAVE___BUILTIN_SINF 1
51222 _ACEOF
51223
51224     fi
51225
51226   fi
51227
51228
51229   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51230 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51231   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51232     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51233   echo $ECHO_N "(cached) $ECHO_C" >&6
51234 else
51235
51236
51237
51238       ac_ext=cc
51239 ac_cpp='$CXXCPP $CPPFLAGS'
51240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51243
51244       cat >conftest.$ac_ext <<_ACEOF
51245 /* confdefs.h.  */
51246 _ACEOF
51247 cat confdefs.h >>conftest.$ac_ext
51248 cat >>conftest.$ac_ext <<_ACEOF
51249 /* end confdefs.h.  */
51250 #include <math.h>
51251 int
51252 main ()
51253 {
51254  __builtin_sin(0);
51255   ;
51256   return 0;
51257 }
51258 _ACEOF
51259 rm -f conftest.$ac_objext
51260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51261   (eval $ac_compile) 2>conftest.er1
51262   ac_status=$?
51263   grep -v '^ *+' conftest.er1 >conftest.err
51264   rm -f conftest.er1
51265   cat conftest.err >&5
51266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51267   (exit $ac_status); } &&
51268          { ac_try='test -z "$ac_cxx_werror_flag"
51269                          || test ! -s conftest.err'
51270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51271   (eval $ac_try) 2>&5
51272   ac_status=$?
51273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51274   (exit $ac_status); }; } &&
51275          { ac_try='test -s conftest.$ac_objext'
51276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51277   (eval $ac_try) 2>&5
51278   ac_status=$?
51279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280   (exit $ac_status); }; }; then
51281   glibcxx_cv_func___builtin_sin_use=yes
51282 else
51283   echo "$as_me: failed program was:" >&5
51284 sed 's/^/| /' conftest.$ac_ext >&5
51285
51286 glibcxx_cv_func___builtin_sin_use=no
51287 fi
51288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51289       ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51294
51295
51296 fi
51297
51298   fi
51299   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51300 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51301   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51302     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51303 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51304     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51305       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51306   echo $ECHO_N "(cached) $ECHO_C" >&6
51307 else
51308
51309         if test x$gcc_no_link = xyes; then
51310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51312    { (exit 1); exit 1; }; }
51313 fi
51314 cat >conftest.$ac_ext <<_ACEOF
51315 /* confdefs.h.  */
51316 _ACEOF
51317 cat confdefs.h >>conftest.$ac_ext
51318 cat >>conftest.$ac_ext <<_ACEOF
51319 /* end confdefs.h.  */
51320 #include <math.h>
51321 int
51322 main ()
51323 {
51324  __builtin_sin(0);
51325   ;
51326   return 0;
51327 }
51328 _ACEOF
51329 rm -f conftest.$ac_objext conftest$ac_exeext
51330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51331   (eval $ac_link) 2>conftest.er1
51332   ac_status=$?
51333   grep -v '^ *+' conftest.er1 >conftest.err
51334   rm -f conftest.er1
51335   cat conftest.err >&5
51336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337   (exit $ac_status); } &&
51338          { ac_try='test -z "$ac_c_werror_flag"
51339                          || test ! -s conftest.err'
51340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51341   (eval $ac_try) 2>&5
51342   ac_status=$?
51343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51344   (exit $ac_status); }; } &&
51345          { ac_try='test -s conftest$ac_exeext'
51346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51347   (eval $ac_try) 2>&5
51348   ac_status=$?
51349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51350   (exit $ac_status); }; }; then
51351   glibcxx_cv_func___builtin_sin_link=yes
51352 else
51353   echo "$as_me: failed program was:" >&5
51354 sed 's/^/| /' conftest.$ac_ext >&5
51355
51356 glibcxx_cv_func___builtin_sin_link=no
51357 fi
51358 rm -f conftest.err conftest.$ac_objext \
51359       conftest$ac_exeext conftest.$ac_ext
51360
51361 fi
51362
51363     fi
51364     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51365 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51366
51367     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51368
51369 cat >>confdefs.h <<\_ACEOF
51370 #define HAVE___BUILTIN_SIN 1
51371 _ACEOF
51372
51373     fi
51374
51375   fi
51376
51377
51378   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51379 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51380   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51381     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51382   echo $ECHO_N "(cached) $ECHO_C" >&6
51383 else
51384
51385
51386
51387       ac_ext=cc
51388 ac_cpp='$CXXCPP $CPPFLAGS'
51389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51392
51393       cat >conftest.$ac_ext <<_ACEOF
51394 /* confdefs.h.  */
51395 _ACEOF
51396 cat confdefs.h >>conftest.$ac_ext
51397 cat >>conftest.$ac_ext <<_ACEOF
51398 /* end confdefs.h.  */
51399 #include <math.h>
51400 int
51401 main ()
51402 {
51403  __builtin_sinl(0);
51404   ;
51405   return 0;
51406 }
51407 _ACEOF
51408 rm -f conftest.$ac_objext
51409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51410   (eval $ac_compile) 2>conftest.er1
51411   ac_status=$?
51412   grep -v '^ *+' conftest.er1 >conftest.err
51413   rm -f conftest.er1
51414   cat conftest.err >&5
51415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51416   (exit $ac_status); } &&
51417          { ac_try='test -z "$ac_cxx_werror_flag"
51418                          || test ! -s conftest.err'
51419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51420   (eval $ac_try) 2>&5
51421   ac_status=$?
51422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51423   (exit $ac_status); }; } &&
51424          { ac_try='test -s conftest.$ac_objext'
51425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51426   (eval $ac_try) 2>&5
51427   ac_status=$?
51428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51429   (exit $ac_status); }; }; then
51430   glibcxx_cv_func___builtin_sinl_use=yes
51431 else
51432   echo "$as_me: failed program was:" >&5
51433 sed 's/^/| /' conftest.$ac_ext >&5
51434
51435 glibcxx_cv_func___builtin_sinl_use=no
51436 fi
51437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51438       ac_ext=c
51439 ac_cpp='$CPP $CPPFLAGS'
51440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51443
51444
51445 fi
51446
51447   fi
51448   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51449 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51450   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51451     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51452 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51453     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51454       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51455   echo $ECHO_N "(cached) $ECHO_C" >&6
51456 else
51457
51458         if test x$gcc_no_link = xyes; then
51459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51461    { (exit 1); exit 1; }; }
51462 fi
51463 cat >conftest.$ac_ext <<_ACEOF
51464 /* confdefs.h.  */
51465 _ACEOF
51466 cat confdefs.h >>conftest.$ac_ext
51467 cat >>conftest.$ac_ext <<_ACEOF
51468 /* end confdefs.h.  */
51469 #include <math.h>
51470 int
51471 main ()
51472 {
51473  __builtin_sinl(0);
51474   ;
51475   return 0;
51476 }
51477 _ACEOF
51478 rm -f conftest.$ac_objext conftest$ac_exeext
51479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51480   (eval $ac_link) 2>conftest.er1
51481   ac_status=$?
51482   grep -v '^ *+' conftest.er1 >conftest.err
51483   rm -f conftest.er1
51484   cat conftest.err >&5
51485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51486   (exit $ac_status); } &&
51487          { ac_try='test -z "$ac_c_werror_flag"
51488                          || test ! -s conftest.err'
51489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51490   (eval $ac_try) 2>&5
51491   ac_status=$?
51492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51493   (exit $ac_status); }; } &&
51494          { ac_try='test -s conftest$ac_exeext'
51495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51496   (eval $ac_try) 2>&5
51497   ac_status=$?
51498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51499   (exit $ac_status); }; }; then
51500   glibcxx_cv_func___builtin_sinl_link=yes
51501 else
51502   echo "$as_me: failed program was:" >&5
51503 sed 's/^/| /' conftest.$ac_ext >&5
51504
51505 glibcxx_cv_func___builtin_sinl_link=no
51506 fi
51507 rm -f conftest.err conftest.$ac_objext \
51508       conftest$ac_exeext conftest.$ac_ext
51509
51510 fi
51511
51512     fi
51513     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51514 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51515
51516     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51517
51518 cat >>confdefs.h <<\_ACEOF
51519 #define HAVE___BUILTIN_SINL 1
51520 _ACEOF
51521
51522     fi
51523
51524   fi
51525
51526
51527
51528   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51529 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51530   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51531     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51532   echo $ECHO_N "(cached) $ECHO_C" >&6
51533 else
51534
51535
51536
51537       ac_ext=cc
51538 ac_cpp='$CXXCPP $CPPFLAGS'
51539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51542
51543       cat >conftest.$ac_ext <<_ACEOF
51544 /* confdefs.h.  */
51545 _ACEOF
51546 cat confdefs.h >>conftest.$ac_ext
51547 cat >>conftest.$ac_ext <<_ACEOF
51548 /* end confdefs.h.  */
51549 #include <math.h>
51550 int
51551 main ()
51552 {
51553  __builtin_cosf(0);
51554   ;
51555   return 0;
51556 }
51557 _ACEOF
51558 rm -f conftest.$ac_objext
51559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51560   (eval $ac_compile) 2>conftest.er1
51561   ac_status=$?
51562   grep -v '^ *+' conftest.er1 >conftest.err
51563   rm -f conftest.er1
51564   cat conftest.err >&5
51565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51566   (exit $ac_status); } &&
51567          { ac_try='test -z "$ac_cxx_werror_flag"
51568                          || test ! -s conftest.err'
51569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51570   (eval $ac_try) 2>&5
51571   ac_status=$?
51572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51573   (exit $ac_status); }; } &&
51574          { ac_try='test -s conftest.$ac_objext'
51575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51576   (eval $ac_try) 2>&5
51577   ac_status=$?
51578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51579   (exit $ac_status); }; }; then
51580   glibcxx_cv_func___builtin_cosf_use=yes
51581 else
51582   echo "$as_me: failed program was:" >&5
51583 sed 's/^/| /' conftest.$ac_ext >&5
51584
51585 glibcxx_cv_func___builtin_cosf_use=no
51586 fi
51587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51588       ac_ext=c
51589 ac_cpp='$CPP $CPPFLAGS'
51590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51593
51594
51595 fi
51596
51597   fi
51598   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51599 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51600   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51601     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51602 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51603     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51604       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51605   echo $ECHO_N "(cached) $ECHO_C" >&6
51606 else
51607
51608         if test x$gcc_no_link = xyes; then
51609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51611    { (exit 1); exit 1; }; }
51612 fi
51613 cat >conftest.$ac_ext <<_ACEOF
51614 /* confdefs.h.  */
51615 _ACEOF
51616 cat confdefs.h >>conftest.$ac_ext
51617 cat >>conftest.$ac_ext <<_ACEOF
51618 /* end confdefs.h.  */
51619 #include <math.h>
51620 int
51621 main ()
51622 {
51623  __builtin_cosf(0);
51624   ;
51625   return 0;
51626 }
51627 _ACEOF
51628 rm -f conftest.$ac_objext conftest$ac_exeext
51629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51630   (eval $ac_link) 2>conftest.er1
51631   ac_status=$?
51632   grep -v '^ *+' conftest.er1 >conftest.err
51633   rm -f conftest.er1
51634   cat conftest.err >&5
51635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51636   (exit $ac_status); } &&
51637          { ac_try='test -z "$ac_c_werror_flag"
51638                          || test ! -s conftest.err'
51639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51640   (eval $ac_try) 2>&5
51641   ac_status=$?
51642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51643   (exit $ac_status); }; } &&
51644          { ac_try='test -s conftest$ac_exeext'
51645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51646   (eval $ac_try) 2>&5
51647   ac_status=$?
51648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51649   (exit $ac_status); }; }; then
51650   glibcxx_cv_func___builtin_cosf_link=yes
51651 else
51652   echo "$as_me: failed program was:" >&5
51653 sed 's/^/| /' conftest.$ac_ext >&5
51654
51655 glibcxx_cv_func___builtin_cosf_link=no
51656 fi
51657 rm -f conftest.err conftest.$ac_objext \
51658       conftest$ac_exeext conftest.$ac_ext
51659
51660 fi
51661
51662     fi
51663     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51664 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51665
51666     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51667
51668 cat >>confdefs.h <<\_ACEOF
51669 #define HAVE___BUILTIN_COSF 1
51670 _ACEOF
51671
51672     fi
51673
51674   fi
51675
51676
51677   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51678 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51679   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51680     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51681   echo $ECHO_N "(cached) $ECHO_C" >&6
51682 else
51683
51684
51685
51686       ac_ext=cc
51687 ac_cpp='$CXXCPP $CPPFLAGS'
51688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51691
51692       cat >conftest.$ac_ext <<_ACEOF
51693 /* confdefs.h.  */
51694 _ACEOF
51695 cat confdefs.h >>conftest.$ac_ext
51696 cat >>conftest.$ac_ext <<_ACEOF
51697 /* end confdefs.h.  */
51698 #include <math.h>
51699 int
51700 main ()
51701 {
51702  __builtin_cos(0);
51703   ;
51704   return 0;
51705 }
51706 _ACEOF
51707 rm -f conftest.$ac_objext
51708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51709   (eval $ac_compile) 2>conftest.er1
51710   ac_status=$?
51711   grep -v '^ *+' conftest.er1 >conftest.err
51712   rm -f conftest.er1
51713   cat conftest.err >&5
51714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715   (exit $ac_status); } &&
51716          { ac_try='test -z "$ac_cxx_werror_flag"
51717                          || test ! -s conftest.err'
51718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51719   (eval $ac_try) 2>&5
51720   ac_status=$?
51721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51722   (exit $ac_status); }; } &&
51723          { ac_try='test -s conftest.$ac_objext'
51724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51725   (eval $ac_try) 2>&5
51726   ac_status=$?
51727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51728   (exit $ac_status); }; }; then
51729   glibcxx_cv_func___builtin_cos_use=yes
51730 else
51731   echo "$as_me: failed program was:" >&5
51732 sed 's/^/| /' conftest.$ac_ext >&5
51733
51734 glibcxx_cv_func___builtin_cos_use=no
51735 fi
51736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51737       ac_ext=c
51738 ac_cpp='$CPP $CPPFLAGS'
51739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51742
51743
51744 fi
51745
51746   fi
51747   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51748 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51749   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51750     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51751 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51752     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51753       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51754   echo $ECHO_N "(cached) $ECHO_C" >&6
51755 else
51756
51757         if test x$gcc_no_link = xyes; then
51758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51760    { (exit 1); exit 1; }; }
51761 fi
51762 cat >conftest.$ac_ext <<_ACEOF
51763 /* confdefs.h.  */
51764 _ACEOF
51765 cat confdefs.h >>conftest.$ac_ext
51766 cat >>conftest.$ac_ext <<_ACEOF
51767 /* end confdefs.h.  */
51768 #include <math.h>
51769 int
51770 main ()
51771 {
51772  __builtin_cos(0);
51773   ;
51774   return 0;
51775 }
51776 _ACEOF
51777 rm -f conftest.$ac_objext conftest$ac_exeext
51778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51779   (eval $ac_link) 2>conftest.er1
51780   ac_status=$?
51781   grep -v '^ *+' conftest.er1 >conftest.err
51782   rm -f conftest.er1
51783   cat conftest.err >&5
51784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51785   (exit $ac_status); } &&
51786          { ac_try='test -z "$ac_c_werror_flag"
51787                          || test ! -s conftest.err'
51788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51789   (eval $ac_try) 2>&5
51790   ac_status=$?
51791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51792   (exit $ac_status); }; } &&
51793          { ac_try='test -s conftest$ac_exeext'
51794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51795   (eval $ac_try) 2>&5
51796   ac_status=$?
51797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51798   (exit $ac_status); }; }; then
51799   glibcxx_cv_func___builtin_cos_link=yes
51800 else
51801   echo "$as_me: failed program was:" >&5
51802 sed 's/^/| /' conftest.$ac_ext >&5
51803
51804 glibcxx_cv_func___builtin_cos_link=no
51805 fi
51806 rm -f conftest.err conftest.$ac_objext \
51807       conftest$ac_exeext conftest.$ac_ext
51808
51809 fi
51810
51811     fi
51812     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51813 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51814
51815     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51816
51817 cat >>confdefs.h <<\_ACEOF
51818 #define HAVE___BUILTIN_COS 1
51819 _ACEOF
51820
51821     fi
51822
51823   fi
51824
51825
51826   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51827 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51828   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51829     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51830   echo $ECHO_N "(cached) $ECHO_C" >&6
51831 else
51832
51833
51834
51835       ac_ext=cc
51836 ac_cpp='$CXXCPP $CPPFLAGS'
51837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51840
51841       cat >conftest.$ac_ext <<_ACEOF
51842 /* confdefs.h.  */
51843 _ACEOF
51844 cat confdefs.h >>conftest.$ac_ext
51845 cat >>conftest.$ac_ext <<_ACEOF
51846 /* end confdefs.h.  */
51847 #include <math.h>
51848 int
51849 main ()
51850 {
51851  __builtin_cosl(0);
51852   ;
51853   return 0;
51854 }
51855 _ACEOF
51856 rm -f conftest.$ac_objext
51857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51858   (eval $ac_compile) 2>conftest.er1
51859   ac_status=$?
51860   grep -v '^ *+' conftest.er1 >conftest.err
51861   rm -f conftest.er1
51862   cat conftest.err >&5
51863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51864   (exit $ac_status); } &&
51865          { ac_try='test -z "$ac_cxx_werror_flag"
51866                          || test ! -s conftest.err'
51867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51868   (eval $ac_try) 2>&5
51869   ac_status=$?
51870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51871   (exit $ac_status); }; } &&
51872          { ac_try='test -s conftest.$ac_objext'
51873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51874   (eval $ac_try) 2>&5
51875   ac_status=$?
51876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51877   (exit $ac_status); }; }; then
51878   glibcxx_cv_func___builtin_cosl_use=yes
51879 else
51880   echo "$as_me: failed program was:" >&5
51881 sed 's/^/| /' conftest.$ac_ext >&5
51882
51883 glibcxx_cv_func___builtin_cosl_use=no
51884 fi
51885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51886       ac_ext=c
51887 ac_cpp='$CPP $CPPFLAGS'
51888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51891
51892
51893 fi
51894
51895   fi
51896   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51897 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51898   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51899     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51900 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51901     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51902       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51903   echo $ECHO_N "(cached) $ECHO_C" >&6
51904 else
51905
51906         if test x$gcc_no_link = xyes; then
51907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51909    { (exit 1); exit 1; }; }
51910 fi
51911 cat >conftest.$ac_ext <<_ACEOF
51912 /* confdefs.h.  */
51913 _ACEOF
51914 cat confdefs.h >>conftest.$ac_ext
51915 cat >>conftest.$ac_ext <<_ACEOF
51916 /* end confdefs.h.  */
51917 #include <math.h>
51918 int
51919 main ()
51920 {
51921  __builtin_cosl(0);
51922   ;
51923   return 0;
51924 }
51925 _ACEOF
51926 rm -f conftest.$ac_objext conftest$ac_exeext
51927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51928   (eval $ac_link) 2>conftest.er1
51929   ac_status=$?
51930   grep -v '^ *+' conftest.er1 >conftest.err
51931   rm -f conftest.er1
51932   cat conftest.err >&5
51933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51934   (exit $ac_status); } &&
51935          { ac_try='test -z "$ac_c_werror_flag"
51936                          || test ! -s conftest.err'
51937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51938   (eval $ac_try) 2>&5
51939   ac_status=$?
51940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941   (exit $ac_status); }; } &&
51942          { ac_try='test -s conftest$ac_exeext'
51943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51944   (eval $ac_try) 2>&5
51945   ac_status=$?
51946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51947   (exit $ac_status); }; }; then
51948   glibcxx_cv_func___builtin_cosl_link=yes
51949 else
51950   echo "$as_me: failed program was:" >&5
51951 sed 's/^/| /' conftest.$ac_ext >&5
51952
51953 glibcxx_cv_func___builtin_cosl_link=no
51954 fi
51955 rm -f conftest.err conftest.$ac_objext \
51956       conftest$ac_exeext conftest.$ac_ext
51957
51958 fi
51959
51960     fi
51961     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51962 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51963
51964     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51965
51966 cat >>confdefs.h <<\_ACEOF
51967 #define HAVE___BUILTIN_COSL 1
51968 _ACEOF
51969
51970     fi
51971
51972   fi
51973
51974
51975
51976
51977 echo "$as_me:$LINENO: checking for main in -lm" >&5
51978 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51979 if test "${ac_cv_lib_m_main+set}" = set; then
51980   echo $ECHO_N "(cached) $ECHO_C" >&6
51981 else
51982   ac_check_lib_save_LIBS=$LIBS
51983 LIBS="-lm  $LIBS"
51984 if test x$gcc_no_link = xyes; then
51985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51987    { (exit 1); exit 1; }; }
51988 fi
51989 cat >conftest.$ac_ext <<_ACEOF
51990 /* confdefs.h.  */
51991 _ACEOF
51992 cat confdefs.h >>conftest.$ac_ext
51993 cat >>conftest.$ac_ext <<_ACEOF
51994 /* end confdefs.h.  */
51995
51996
51997 int
51998 main ()
51999 {
52000 main ();
52001   ;
52002   return 0;
52003 }
52004 _ACEOF
52005 rm -f conftest.$ac_objext conftest$ac_exeext
52006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52007   (eval $ac_link) 2>conftest.er1
52008   ac_status=$?
52009   grep -v '^ *+' conftest.er1 >conftest.err
52010   rm -f conftest.er1
52011   cat conftest.err >&5
52012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52013   (exit $ac_status); } &&
52014          { ac_try='test -z "$ac_c_werror_flag"
52015                          || test ! -s conftest.err'
52016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52017   (eval $ac_try) 2>&5
52018   ac_status=$?
52019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52020   (exit $ac_status); }; } &&
52021          { ac_try='test -s conftest$ac_exeext'
52022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52023   (eval $ac_try) 2>&5
52024   ac_status=$?
52025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52026   (exit $ac_status); }; }; then
52027   ac_cv_lib_m_main=yes
52028 else
52029   echo "$as_me: failed program was:" >&5
52030 sed 's/^/| /' conftest.$ac_ext >&5
52031
52032 ac_cv_lib_m_main=no
52033 fi
52034 rm -f conftest.err conftest.$ac_objext \
52035       conftest$ac_exeext conftest.$ac_ext
52036 LIBS=$ac_check_lib_save_LIBS
52037 fi
52038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52039 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52040 if test $ac_cv_lib_m_main = yes; then
52041   cat >>confdefs.h <<_ACEOF
52042 #define HAVE_LIBM 1
52043 _ACEOF
52044
52045   LIBS="-lm $LIBS"
52046
52047 fi
52048
52049
52050 for ac_func in copysignf
52051 do
52052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52053 echo "$as_me:$LINENO: checking for $ac_func" >&5
52054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52055 if eval "test \"\${$as_ac_var+set}\" = set"; then
52056   echo $ECHO_N "(cached) $ECHO_C" >&6
52057 else
52058   if test x$gcc_no_link = xyes; then
52059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52061    { (exit 1); exit 1; }; }
52062 fi
52063 cat >conftest.$ac_ext <<_ACEOF
52064 /* confdefs.h.  */
52065 _ACEOF
52066 cat confdefs.h >>conftest.$ac_ext
52067 cat >>conftest.$ac_ext <<_ACEOF
52068 /* end confdefs.h.  */
52069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52071 #define $ac_func innocuous_$ac_func
52072
52073 /* System header to define __stub macros and hopefully few prototypes,
52074     which can conflict with char $ac_func (); below.
52075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52076     <limits.h> exists even on freestanding compilers.  */
52077
52078 #ifdef __STDC__
52079 # include <limits.h>
52080 #else
52081 # include <assert.h>
52082 #endif
52083
52084 #undef $ac_func
52085
52086 /* Override any gcc2 internal prototype to avoid an error.  */
52087 #ifdef __cplusplus
52088 extern "C"
52089 {
52090 #endif
52091 /* We use char because int might match the return type of a gcc2
52092    builtin and then its argument prototype would still apply.  */
52093 char $ac_func ();
52094 /* The GNU C library defines this for functions which it implements
52095     to always fail with ENOSYS.  Some functions are actually named
52096     something starting with __ and the normal name is an alias.  */
52097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52098 choke me
52099 #else
52100 char (*f) () = $ac_func;
52101 #endif
52102 #ifdef __cplusplus
52103 }
52104 #endif
52105
52106 int
52107 main ()
52108 {
52109 return f != $ac_func;
52110   ;
52111   return 0;
52112 }
52113 _ACEOF
52114 rm -f conftest.$ac_objext conftest$ac_exeext
52115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52116   (eval $ac_link) 2>conftest.er1
52117   ac_status=$?
52118   grep -v '^ *+' conftest.er1 >conftest.err
52119   rm -f conftest.er1
52120   cat conftest.err >&5
52121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52122   (exit $ac_status); } &&
52123          { ac_try='test -z "$ac_c_werror_flag"
52124                          || test ! -s conftest.err'
52125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52126   (eval $ac_try) 2>&5
52127   ac_status=$?
52128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52129   (exit $ac_status); }; } &&
52130          { ac_try='test -s conftest$ac_exeext'
52131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52132   (eval $ac_try) 2>&5
52133   ac_status=$?
52134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52135   (exit $ac_status); }; }; then
52136   eval "$as_ac_var=yes"
52137 else
52138   echo "$as_me: failed program was:" >&5
52139 sed 's/^/| /' conftest.$ac_ext >&5
52140
52141 eval "$as_ac_var=no"
52142 fi
52143 rm -f conftest.err conftest.$ac_objext \
52144       conftest$ac_exeext conftest.$ac_ext
52145 fi
52146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52148 if test `eval echo '${'$as_ac_var'}'` = yes; then
52149   cat >>confdefs.h <<_ACEOF
52150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52151 _ACEOF
52152
52153 else
52154   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52155 fi
52156 done
52157
52158
52159
52160 for ac_func in __signbit
52161 do
52162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52163 echo "$as_me:$LINENO: checking for $ac_func" >&5
52164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52165 if eval "test \"\${$as_ac_var+set}\" = set"; then
52166   echo $ECHO_N "(cached) $ECHO_C" >&6
52167 else
52168   if test x$gcc_no_link = xyes; then
52169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52171    { (exit 1); exit 1; }; }
52172 fi
52173 cat >conftest.$ac_ext <<_ACEOF
52174 /* confdefs.h.  */
52175 _ACEOF
52176 cat confdefs.h >>conftest.$ac_ext
52177 cat >>conftest.$ac_ext <<_ACEOF
52178 /* end confdefs.h.  */
52179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52181 #define $ac_func innocuous_$ac_func
52182
52183 /* System header to define __stub macros and hopefully few prototypes,
52184     which can conflict with char $ac_func (); below.
52185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52186     <limits.h> exists even on freestanding compilers.  */
52187
52188 #ifdef __STDC__
52189 # include <limits.h>
52190 #else
52191 # include <assert.h>
52192 #endif
52193
52194 #undef $ac_func
52195
52196 /* Override any gcc2 internal prototype to avoid an error.  */
52197 #ifdef __cplusplus
52198 extern "C"
52199 {
52200 #endif
52201 /* We use char because int might match the return type of a gcc2
52202    builtin and then its argument prototype would still apply.  */
52203 char $ac_func ();
52204 /* The GNU C library defines this for functions which it implements
52205     to always fail with ENOSYS.  Some functions are actually named
52206     something starting with __ and the normal name is an alias.  */
52207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52208 choke me
52209 #else
52210 char (*f) () = $ac_func;
52211 #endif
52212 #ifdef __cplusplus
52213 }
52214 #endif
52215
52216 int
52217 main ()
52218 {
52219 return f != $ac_func;
52220   ;
52221   return 0;
52222 }
52223 _ACEOF
52224 rm -f conftest.$ac_objext conftest$ac_exeext
52225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52226   (eval $ac_link) 2>conftest.er1
52227   ac_status=$?
52228   grep -v '^ *+' conftest.er1 >conftest.err
52229   rm -f conftest.er1
52230   cat conftest.err >&5
52231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52232   (exit $ac_status); } &&
52233          { ac_try='test -z "$ac_c_werror_flag"
52234                          || test ! -s conftest.err'
52235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52236   (eval $ac_try) 2>&5
52237   ac_status=$?
52238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52239   (exit $ac_status); }; } &&
52240          { ac_try='test -s conftest$ac_exeext'
52241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52242   (eval $ac_try) 2>&5
52243   ac_status=$?
52244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52245   (exit $ac_status); }; }; then
52246   eval "$as_ac_var=yes"
52247 else
52248   echo "$as_me: failed program was:" >&5
52249 sed 's/^/| /' conftest.$ac_ext >&5
52250
52251 eval "$as_ac_var=no"
52252 fi
52253 rm -f conftest.err conftest.$ac_objext \
52254       conftest$ac_exeext conftest.$ac_ext
52255 fi
52256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52258 if test `eval echo '${'$as_ac_var'}'` = yes; then
52259   cat >>confdefs.h <<_ACEOF
52260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52261 _ACEOF
52262
52263 else
52264   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52265 fi
52266 done
52267
52268
52269
52270 for ac_func in __signbitf
52271 do
52272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52273 echo "$as_me:$LINENO: checking for $ac_func" >&5
52274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52275 if eval "test \"\${$as_ac_var+set}\" = set"; then
52276   echo $ECHO_N "(cached) $ECHO_C" >&6
52277 else
52278   if test x$gcc_no_link = xyes; then
52279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52281    { (exit 1); exit 1; }; }
52282 fi
52283 cat >conftest.$ac_ext <<_ACEOF
52284 /* confdefs.h.  */
52285 _ACEOF
52286 cat confdefs.h >>conftest.$ac_ext
52287 cat >>conftest.$ac_ext <<_ACEOF
52288 /* end confdefs.h.  */
52289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52291 #define $ac_func innocuous_$ac_func
52292
52293 /* System header to define __stub macros and hopefully few prototypes,
52294     which can conflict with char $ac_func (); below.
52295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52296     <limits.h> exists even on freestanding compilers.  */
52297
52298 #ifdef __STDC__
52299 # include <limits.h>
52300 #else
52301 # include <assert.h>
52302 #endif
52303
52304 #undef $ac_func
52305
52306 /* Override any gcc2 internal prototype to avoid an error.  */
52307 #ifdef __cplusplus
52308 extern "C"
52309 {
52310 #endif
52311 /* We use char because int might match the return type of a gcc2
52312    builtin and then its argument prototype would still apply.  */
52313 char $ac_func ();
52314 /* The GNU C library defines this for functions which it implements
52315     to always fail with ENOSYS.  Some functions are actually named
52316     something starting with __ and the normal name is an alias.  */
52317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52318 choke me
52319 #else
52320 char (*f) () = $ac_func;
52321 #endif
52322 #ifdef __cplusplus
52323 }
52324 #endif
52325
52326 int
52327 main ()
52328 {
52329 return f != $ac_func;
52330   ;
52331   return 0;
52332 }
52333 _ACEOF
52334 rm -f conftest.$ac_objext conftest$ac_exeext
52335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52336   (eval $ac_link) 2>conftest.er1
52337   ac_status=$?
52338   grep -v '^ *+' conftest.er1 >conftest.err
52339   rm -f conftest.er1
52340   cat conftest.err >&5
52341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52342   (exit $ac_status); } &&
52343          { ac_try='test -z "$ac_c_werror_flag"
52344                          || test ! -s conftest.err'
52345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52346   (eval $ac_try) 2>&5
52347   ac_status=$?
52348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52349   (exit $ac_status); }; } &&
52350          { ac_try='test -s conftest$ac_exeext'
52351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52352   (eval $ac_try) 2>&5
52353   ac_status=$?
52354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52355   (exit $ac_status); }; }; then
52356   eval "$as_ac_var=yes"
52357 else
52358   echo "$as_me: failed program was:" >&5
52359 sed 's/^/| /' conftest.$ac_ext >&5
52360
52361 eval "$as_ac_var=no"
52362 fi
52363 rm -f conftest.err conftest.$ac_objext \
52364       conftest$ac_exeext conftest.$ac_ext
52365 fi
52366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52368 if test `eval echo '${'$as_ac_var'}'` = yes; then
52369   cat >>confdefs.h <<_ACEOF
52370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52371 _ACEOF
52372
52373 else
52374   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52375 fi
52376 done
52377
52378
52379           if test x$ac_cv_func_copysignl = x"yes"; then
52380
52381 for ac_func in __signbitl
52382 do
52383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52384 echo "$as_me:$LINENO: checking for $ac_func" >&5
52385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52386 if eval "test \"\${$as_ac_var+set}\" = set"; then
52387   echo $ECHO_N "(cached) $ECHO_C" >&6
52388 else
52389   if test x$gcc_no_link = xyes; then
52390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52392    { (exit 1); exit 1; }; }
52393 fi
52394 cat >conftest.$ac_ext <<_ACEOF
52395 /* confdefs.h.  */
52396 _ACEOF
52397 cat confdefs.h >>conftest.$ac_ext
52398 cat >>conftest.$ac_ext <<_ACEOF
52399 /* end confdefs.h.  */
52400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52402 #define $ac_func innocuous_$ac_func
52403
52404 /* System header to define __stub macros and hopefully few prototypes,
52405     which can conflict with char $ac_func (); below.
52406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52407     <limits.h> exists even on freestanding compilers.  */
52408
52409 #ifdef __STDC__
52410 # include <limits.h>
52411 #else
52412 # include <assert.h>
52413 #endif
52414
52415 #undef $ac_func
52416
52417 /* Override any gcc2 internal prototype to avoid an error.  */
52418 #ifdef __cplusplus
52419 extern "C"
52420 {
52421 #endif
52422 /* We use char because int might match the return type of a gcc2
52423    builtin and then its argument prototype would still apply.  */
52424 char $ac_func ();
52425 /* The GNU C library defines this for functions which it implements
52426     to always fail with ENOSYS.  Some functions are actually named
52427     something starting with __ and the normal name is an alias.  */
52428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52429 choke me
52430 #else
52431 char (*f) () = $ac_func;
52432 #endif
52433 #ifdef __cplusplus
52434 }
52435 #endif
52436
52437 int
52438 main ()
52439 {
52440 return f != $ac_func;
52441   ;
52442   return 0;
52443 }
52444 _ACEOF
52445 rm -f conftest.$ac_objext conftest$ac_exeext
52446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52447   (eval $ac_link) 2>conftest.er1
52448   ac_status=$?
52449   grep -v '^ *+' conftest.er1 >conftest.err
52450   rm -f conftest.er1
52451   cat conftest.err >&5
52452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52453   (exit $ac_status); } &&
52454          { ac_try='test -z "$ac_c_werror_flag"
52455                          || test ! -s conftest.err'
52456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52457   (eval $ac_try) 2>&5
52458   ac_status=$?
52459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52460   (exit $ac_status); }; } &&
52461          { ac_try='test -s conftest$ac_exeext'
52462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52463   (eval $ac_try) 2>&5
52464   ac_status=$?
52465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52466   (exit $ac_status); }; }; then
52467   eval "$as_ac_var=yes"
52468 else
52469   echo "$as_me: failed program was:" >&5
52470 sed 's/^/| /' conftest.$ac_ext >&5
52471
52472 eval "$as_ac_var=no"
52473 fi
52474 rm -f conftest.err conftest.$ac_objext \
52475       conftest$ac_exeext conftest.$ac_ext
52476 fi
52477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52479 if test `eval echo '${'$as_ac_var'}'` = yes; then
52480   cat >>confdefs.h <<_ACEOF
52481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52482 _ACEOF
52483
52484 else
52485   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52486 fi
52487 done
52488
52489   fi
52490
52491   # Used in libmath/Makefile.am.
52492   if test -n "$LIBMATHOBJS"; then
52493     need_libmath=yes
52494   fi
52495
52496
52497
52498
52499   enable_iconv=no
52500   # Only continue checking if the ISO C99 headers exist and support is on.
52501   if test x"$enable_wchar_t" = xyes; then
52502
52503     # From Bruno Haible's AM_ICONV, but without link tests.
52504     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52505     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
52506     # those with the standalone portable GNU libiconv installed).
52507
52508 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
52509 if test "${with_libiconv_prefix+set}" = set; then
52510   withval="$with_libiconv_prefix"
52511     for dir in `echo "$withval" | tr : ' '`; do
52512       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
52513       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
52514     done
52515     LIBICONV="$LIBICONV -liconv"
52516
52517 fi;
52518    if test x"$LIBICONV" != x; then
52519      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
52520 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
52521    fi
52522
52523     # Use iconv for wchar_t to char conversions. As such, check for
52524     # X/Open Portability Guide, version 2 features (XPG2).
52525     if test "${ac_cv_header_iconv_h+set}" = set; then
52526   echo "$as_me:$LINENO: checking for iconv.h" >&5
52527 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52528 if test "${ac_cv_header_iconv_h+set}" = set; then
52529   echo $ECHO_N "(cached) $ECHO_C" >&6
52530 fi
52531 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52532 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52533 else
52534   # Is the header compilable?
52535 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52536 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52537 cat >conftest.$ac_ext <<_ACEOF
52538 /* confdefs.h.  */
52539 _ACEOF
52540 cat confdefs.h >>conftest.$ac_ext
52541 cat >>conftest.$ac_ext <<_ACEOF
52542 /* end confdefs.h.  */
52543 $ac_includes_default
52544 #include <iconv.h>
52545 _ACEOF
52546 rm -f conftest.$ac_objext
52547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52548   (eval $ac_compile) 2>conftest.er1
52549   ac_status=$?
52550   grep -v '^ *+' conftest.er1 >conftest.err
52551   rm -f conftest.er1
52552   cat conftest.err >&5
52553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52554   (exit $ac_status); } &&
52555          { ac_try='test -z "$ac_c_werror_flag"
52556                          || test ! -s conftest.err'
52557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52558   (eval $ac_try) 2>&5
52559   ac_status=$?
52560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52561   (exit $ac_status); }; } &&
52562          { ac_try='test -s conftest.$ac_objext'
52563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52564   (eval $ac_try) 2>&5
52565   ac_status=$?
52566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52567   (exit $ac_status); }; }; then
52568   ac_header_compiler=yes
52569 else
52570   echo "$as_me: failed program was:" >&5
52571 sed 's/^/| /' conftest.$ac_ext >&5
52572
52573 ac_header_compiler=no
52574 fi
52575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52577 echo "${ECHO_T}$ac_header_compiler" >&6
52578
52579 # Is the header present?
52580 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52581 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52582 cat >conftest.$ac_ext <<_ACEOF
52583 /* confdefs.h.  */
52584 _ACEOF
52585 cat confdefs.h >>conftest.$ac_ext
52586 cat >>conftest.$ac_ext <<_ACEOF
52587 /* end confdefs.h.  */
52588 #include <iconv.h>
52589 _ACEOF
52590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52591   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52592   ac_status=$?
52593   grep -v '^ *+' conftest.er1 >conftest.err
52594   rm -f conftest.er1
52595   cat conftest.err >&5
52596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52597   (exit $ac_status); } >/dev/null; then
52598   if test -s conftest.err; then
52599     ac_cpp_err=$ac_c_preproc_warn_flag
52600     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52601   else
52602     ac_cpp_err=
52603   fi
52604 else
52605   ac_cpp_err=yes
52606 fi
52607 if test -z "$ac_cpp_err"; then
52608   ac_header_preproc=yes
52609 else
52610   echo "$as_me: failed program was:" >&5
52611 sed 's/^/| /' conftest.$ac_ext >&5
52612
52613   ac_header_preproc=no
52614 fi
52615 rm -f conftest.err conftest.$ac_ext
52616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52617 echo "${ECHO_T}$ac_header_preproc" >&6
52618
52619 # So?  What about this header?
52620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52621   yes:no: )
52622     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52623 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52624     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52625 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52626     ac_header_preproc=yes
52627     ;;
52628   no:yes:* )
52629     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52630 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52631     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
52632 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
52633     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52634 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52635     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
52636 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52637     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52638 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52639     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52640 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52641     (
52642       cat <<\_ASBOX
52643 ## ----------------------------------------- ##
52644 ## Report this to the package-unused lists.  ##
52645 ## ----------------------------------------- ##
52646 _ASBOX
52647     ) |
52648       sed "s/^/$as_me: WARNING:     /" >&2
52649     ;;
52650 esac
52651 echo "$as_me:$LINENO: checking for iconv.h" >&5
52652 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52653 if test "${ac_cv_header_iconv_h+set}" = set; then
52654   echo $ECHO_N "(cached) $ECHO_C" >&6
52655 else
52656   ac_cv_header_iconv_h=$ac_header_preproc
52657 fi
52658 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52659 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52660
52661 fi
52662 if test $ac_cv_header_iconv_h = yes; then
52663   ac_has_iconv_h=yes
52664 else
52665   ac_has_iconv_h=no
52666 fi
52667
52668
52669     if test "${ac_cv_header_langinfo_h+set}" = set; then
52670   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52671 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52672 if test "${ac_cv_header_langinfo_h+set}" = set; then
52673   echo $ECHO_N "(cached) $ECHO_C" >&6
52674 fi
52675 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52676 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52677 else
52678   # Is the header compilable?
52679 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52680 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52681 cat >conftest.$ac_ext <<_ACEOF
52682 /* confdefs.h.  */
52683 _ACEOF
52684 cat confdefs.h >>conftest.$ac_ext
52685 cat >>conftest.$ac_ext <<_ACEOF
52686 /* end confdefs.h.  */
52687 $ac_includes_default
52688 #include <langinfo.h>
52689 _ACEOF
52690 rm -f conftest.$ac_objext
52691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52692   (eval $ac_compile) 2>conftest.er1
52693   ac_status=$?
52694   grep -v '^ *+' conftest.er1 >conftest.err
52695   rm -f conftest.er1
52696   cat conftest.err >&5
52697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52698   (exit $ac_status); } &&
52699          { ac_try='test -z "$ac_c_werror_flag"
52700                          || test ! -s conftest.err'
52701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52702   (eval $ac_try) 2>&5
52703   ac_status=$?
52704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52705   (exit $ac_status); }; } &&
52706          { ac_try='test -s conftest.$ac_objext'
52707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52708   (eval $ac_try) 2>&5
52709   ac_status=$?
52710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52711   (exit $ac_status); }; }; then
52712   ac_header_compiler=yes
52713 else
52714   echo "$as_me: failed program was:" >&5
52715 sed 's/^/| /' conftest.$ac_ext >&5
52716
52717 ac_header_compiler=no
52718 fi
52719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52721 echo "${ECHO_T}$ac_header_compiler" >&6
52722
52723 # Is the header present?
52724 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52725 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52726 cat >conftest.$ac_ext <<_ACEOF
52727 /* confdefs.h.  */
52728 _ACEOF
52729 cat confdefs.h >>conftest.$ac_ext
52730 cat >>conftest.$ac_ext <<_ACEOF
52731 /* end confdefs.h.  */
52732 #include <langinfo.h>
52733 _ACEOF
52734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52735   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52736   ac_status=$?
52737   grep -v '^ *+' conftest.er1 >conftest.err
52738   rm -f conftest.er1
52739   cat conftest.err >&5
52740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52741   (exit $ac_status); } >/dev/null; then
52742   if test -s conftest.err; then
52743     ac_cpp_err=$ac_c_preproc_warn_flag
52744     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52745   else
52746     ac_cpp_err=
52747   fi
52748 else
52749   ac_cpp_err=yes
52750 fi
52751 if test -z "$ac_cpp_err"; then
52752   ac_header_preproc=yes
52753 else
52754   echo "$as_me: failed program was:" >&5
52755 sed 's/^/| /' conftest.$ac_ext >&5
52756
52757   ac_header_preproc=no
52758 fi
52759 rm -f conftest.err conftest.$ac_ext
52760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52761 echo "${ECHO_T}$ac_header_preproc" >&6
52762
52763 # So?  What about this header?
52764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52765   yes:no: )
52766     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52767 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52768     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52769 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52770     ac_header_preproc=yes
52771     ;;
52772   no:yes:* )
52773     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52774 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52775     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52776 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52777     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52778 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52779     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52780 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52781     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52782 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52783     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52784 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52785     (
52786       cat <<\_ASBOX
52787 ## ----------------------------------------- ##
52788 ## Report this to the package-unused lists.  ##
52789 ## ----------------------------------------- ##
52790 _ASBOX
52791     ) |
52792       sed "s/^/$as_me: WARNING:     /" >&2
52793     ;;
52794 esac
52795 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52796 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52797 if test "${ac_cv_header_langinfo_h+set}" = set; then
52798   echo $ECHO_N "(cached) $ECHO_C" >&6
52799 else
52800   ac_cv_header_langinfo_h=$ac_header_preproc
52801 fi
52802 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52803 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52804
52805 fi
52806 if test $ac_cv_header_langinfo_h = yes; then
52807   ac_has_langinfo_h=yes
52808 else
52809   ac_has_langinfo_h=no
52810 fi
52811
52812
52813
52814     ac_save_LIBS="$LIBS"
52815     LIBS="$LIBS $LIBICONV"
52816
52817
52818
52819
52820 for ac_func in iconv_open iconv_close iconv nl_langinfo
52821 do
52822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52823 echo "$as_me:$LINENO: checking for $ac_func" >&5
52824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52825 if eval "test \"\${$as_ac_var+set}\" = set"; then
52826   echo $ECHO_N "(cached) $ECHO_C" >&6
52827 else
52828   if test x$gcc_no_link = xyes; then
52829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52831    { (exit 1); exit 1; }; }
52832 fi
52833 cat >conftest.$ac_ext <<_ACEOF
52834 /* confdefs.h.  */
52835 _ACEOF
52836 cat confdefs.h >>conftest.$ac_ext
52837 cat >>conftest.$ac_ext <<_ACEOF
52838 /* end confdefs.h.  */
52839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52841 #define $ac_func innocuous_$ac_func
52842
52843 /* System header to define __stub macros and hopefully few prototypes,
52844     which can conflict with char $ac_func (); below.
52845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52846     <limits.h> exists even on freestanding compilers.  */
52847
52848 #ifdef __STDC__
52849 # include <limits.h>
52850 #else
52851 # include <assert.h>
52852 #endif
52853
52854 #undef $ac_func
52855
52856 /* Override any gcc2 internal prototype to avoid an error.  */
52857 #ifdef __cplusplus
52858 extern "C"
52859 {
52860 #endif
52861 /* We use char because int might match the return type of a gcc2
52862    builtin and then its argument prototype would still apply.  */
52863 char $ac_func ();
52864 /* The GNU C library defines this for functions which it implements
52865     to always fail with ENOSYS.  Some functions are actually named
52866     something starting with __ and the normal name is an alias.  */
52867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52868 choke me
52869 #else
52870 char (*f) () = $ac_func;
52871 #endif
52872 #ifdef __cplusplus
52873 }
52874 #endif
52875
52876 int
52877 main ()
52878 {
52879 return f != $ac_func;
52880   ;
52881   return 0;
52882 }
52883 _ACEOF
52884 rm -f conftest.$ac_objext conftest$ac_exeext
52885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52886   (eval $ac_link) 2>conftest.er1
52887   ac_status=$?
52888   grep -v '^ *+' conftest.er1 >conftest.err
52889   rm -f conftest.er1
52890   cat conftest.err >&5
52891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52892   (exit $ac_status); } &&
52893          { ac_try='test -z "$ac_c_werror_flag"
52894                          || test ! -s conftest.err'
52895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52896   (eval $ac_try) 2>&5
52897   ac_status=$?
52898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52899   (exit $ac_status); }; } &&
52900          { ac_try='test -s conftest$ac_exeext'
52901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52902   (eval $ac_try) 2>&5
52903   ac_status=$?
52904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52905   (exit $ac_status); }; }; then
52906   eval "$as_ac_var=yes"
52907 else
52908   echo "$as_me: failed program was:" >&5
52909 sed 's/^/| /' conftest.$ac_ext >&5
52910
52911 eval "$as_ac_var=no"
52912 fi
52913 rm -f conftest.err conftest.$ac_objext \
52914       conftest$ac_exeext conftest.$ac_ext
52915 fi
52916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52918 if test `eval echo '${'$as_ac_var'}'` = yes; then
52919   cat >>confdefs.h <<_ACEOF
52920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52921 _ACEOF
52922  ac_XPG2funcs=yes
52923 else
52924   ac_XPG2funcs=no
52925 fi
52926 done
52927
52928     LIBS="$ac_save_LIBS"
52929
52930     if test x"$ac_has_iconv_h" = xyes &&
52931        test x"$ac_has_langinfo_h" = xyes &&
52932        test x"$ac_XPG2funcs" = xyes;
52933     then
52934
52935 cat >>confdefs.h <<\_ACEOF
52936 #define _GLIBCXX_USE_ICONV 1
52937 _ACEOF
52938
52939       enable_iconv=yes
52940
52941     fi
52942   fi
52943   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
52944 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
52945   echo "$as_me:$LINENO: result: $enable_iconv" >&5
52946 echo "${ECHO_T}$enable_iconv" >&6
52947
52948
52949   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52950   ac_save_CXXFLAGS="$CXXFLAGS"
52951   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52952
52953
52954   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52955 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52956   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52957     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52958   echo $ECHO_N "(cached) $ECHO_C" >&6
52959 else
52960
52961
52962
52963       ac_ext=cc
52964 ac_cpp='$CXXCPP $CPPFLAGS'
52965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52968
52969       cat >conftest.$ac_ext <<_ACEOF
52970 /* confdefs.h.  */
52971 _ACEOF
52972 cat confdefs.h >>conftest.$ac_ext
52973 cat >>conftest.$ac_ext <<_ACEOF
52974 /* end confdefs.h.  */
52975 #include <stdlib.h>
52976 int
52977 main ()
52978 {
52979  strtold(0, 0);
52980   ;
52981   return 0;
52982 }
52983 _ACEOF
52984 rm -f conftest.$ac_objext
52985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52986   (eval $ac_compile) 2>conftest.er1
52987   ac_status=$?
52988   grep -v '^ *+' conftest.er1 >conftest.err
52989   rm -f conftest.er1
52990   cat conftest.err >&5
52991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52992   (exit $ac_status); } &&
52993          { ac_try='test -z "$ac_cxx_werror_flag"
52994                          || test ! -s conftest.err'
52995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52996   (eval $ac_try) 2>&5
52997   ac_status=$?
52998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52999   (exit $ac_status); }; } &&
53000          { ac_try='test -s conftest.$ac_objext'
53001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53002   (eval $ac_try) 2>&5
53003   ac_status=$?
53004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53005   (exit $ac_status); }; }; then
53006   glibcxx_cv_func_strtold_use=yes
53007 else
53008   echo "$as_me: failed program was:" >&5
53009 sed 's/^/| /' conftest.$ac_ext >&5
53010
53011 glibcxx_cv_func_strtold_use=no
53012 fi
53013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53014       ac_ext=c
53015 ac_cpp='$CPP $CPPFLAGS'
53016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53019
53020
53021 fi
53022
53023   fi
53024   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53025 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53026   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53027
53028 for ac_func in strtold
53029 do
53030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53031 echo "$as_me:$LINENO: checking for $ac_func" >&5
53032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53033 if eval "test \"\${$as_ac_var+set}\" = set"; then
53034   echo $ECHO_N "(cached) $ECHO_C" >&6
53035 else
53036   if test x$gcc_no_link = xyes; then
53037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53039    { (exit 1); exit 1; }; }
53040 fi
53041 cat >conftest.$ac_ext <<_ACEOF
53042 /* confdefs.h.  */
53043 _ACEOF
53044 cat confdefs.h >>conftest.$ac_ext
53045 cat >>conftest.$ac_ext <<_ACEOF
53046 /* end confdefs.h.  */
53047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53049 #define $ac_func innocuous_$ac_func
53050
53051 /* System header to define __stub macros and hopefully few prototypes,
53052     which can conflict with char $ac_func (); below.
53053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53054     <limits.h> exists even on freestanding compilers.  */
53055
53056 #ifdef __STDC__
53057 # include <limits.h>
53058 #else
53059 # include <assert.h>
53060 #endif
53061
53062 #undef $ac_func
53063
53064 /* Override any gcc2 internal prototype to avoid an error.  */
53065 #ifdef __cplusplus
53066 extern "C"
53067 {
53068 #endif
53069 /* We use char because int might match the return type of a gcc2
53070    builtin and then its argument prototype would still apply.  */
53071 char $ac_func ();
53072 /* The GNU C library defines this for functions which it implements
53073     to always fail with ENOSYS.  Some functions are actually named
53074     something starting with __ and the normal name is an alias.  */
53075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53076 choke me
53077 #else
53078 char (*f) () = $ac_func;
53079 #endif
53080 #ifdef __cplusplus
53081 }
53082 #endif
53083
53084 int
53085 main ()
53086 {
53087 return f != $ac_func;
53088   ;
53089   return 0;
53090 }
53091 _ACEOF
53092 rm -f conftest.$ac_objext conftest$ac_exeext
53093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53094   (eval $ac_link) 2>conftest.er1
53095   ac_status=$?
53096   grep -v '^ *+' conftest.er1 >conftest.err
53097   rm -f conftest.er1
53098   cat conftest.err >&5
53099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53100   (exit $ac_status); } &&
53101          { ac_try='test -z "$ac_c_werror_flag"
53102                          || test ! -s conftest.err'
53103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53104   (eval $ac_try) 2>&5
53105   ac_status=$?
53106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53107   (exit $ac_status); }; } &&
53108          { ac_try='test -s conftest$ac_exeext'
53109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53110   (eval $ac_try) 2>&5
53111   ac_status=$?
53112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53113   (exit $ac_status); }; }; then
53114   eval "$as_ac_var=yes"
53115 else
53116   echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53118
53119 eval "$as_ac_var=no"
53120 fi
53121 rm -f conftest.err conftest.$ac_objext \
53122       conftest$ac_exeext conftest.$ac_ext
53123 fi
53124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53126 if test `eval echo '${'$as_ac_var'}'` = yes; then
53127   cat >>confdefs.h <<_ACEOF
53128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53129 _ACEOF
53130
53131 fi
53132 done
53133
53134   fi
53135
53136
53137
53138
53139
53140   echo "$as_me:$LINENO: checking for strtof declaration" >&5
53141 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53142   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53143     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53144   echo $ECHO_N "(cached) $ECHO_C" >&6
53145 else
53146
53147
53148
53149       ac_ext=cc
53150 ac_cpp='$CXXCPP $CPPFLAGS'
53151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53154
53155       cat >conftest.$ac_ext <<_ACEOF
53156 /* confdefs.h.  */
53157 _ACEOF
53158 cat confdefs.h >>conftest.$ac_ext
53159 cat >>conftest.$ac_ext <<_ACEOF
53160 /* end confdefs.h.  */
53161 #include <stdlib.h>
53162 int
53163 main ()
53164 {
53165  strtof(0, 0);
53166   ;
53167   return 0;
53168 }
53169 _ACEOF
53170 rm -f conftest.$ac_objext
53171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53172   (eval $ac_compile) 2>conftest.er1
53173   ac_status=$?
53174   grep -v '^ *+' conftest.er1 >conftest.err
53175   rm -f conftest.er1
53176   cat conftest.err >&5
53177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178   (exit $ac_status); } &&
53179          { ac_try='test -z "$ac_cxx_werror_flag"
53180                          || test ! -s conftest.err'
53181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53182   (eval $ac_try) 2>&5
53183   ac_status=$?
53184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53185   (exit $ac_status); }; } &&
53186          { ac_try='test -s conftest.$ac_objext'
53187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53188   (eval $ac_try) 2>&5
53189   ac_status=$?
53190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191   (exit $ac_status); }; }; then
53192   glibcxx_cv_func_strtof_use=yes
53193 else
53194   echo "$as_me: failed program was:" >&5
53195 sed 's/^/| /' conftest.$ac_ext >&5
53196
53197 glibcxx_cv_func_strtof_use=no
53198 fi
53199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53200       ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53205
53206
53207 fi
53208
53209   fi
53210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53211 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53212   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53213
53214 for ac_func in strtof
53215 do
53216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53217 echo "$as_me:$LINENO: checking for $ac_func" >&5
53218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53219 if eval "test \"\${$as_ac_var+set}\" = set"; then
53220   echo $ECHO_N "(cached) $ECHO_C" >&6
53221 else
53222   if test x$gcc_no_link = xyes; then
53223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53225    { (exit 1); exit 1; }; }
53226 fi
53227 cat >conftest.$ac_ext <<_ACEOF
53228 /* confdefs.h.  */
53229 _ACEOF
53230 cat confdefs.h >>conftest.$ac_ext
53231 cat >>conftest.$ac_ext <<_ACEOF
53232 /* end confdefs.h.  */
53233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53235 #define $ac_func innocuous_$ac_func
53236
53237 /* System header to define __stub macros and hopefully few prototypes,
53238     which can conflict with char $ac_func (); below.
53239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53240     <limits.h> exists even on freestanding compilers.  */
53241
53242 #ifdef __STDC__
53243 # include <limits.h>
53244 #else
53245 # include <assert.h>
53246 #endif
53247
53248 #undef $ac_func
53249
53250 /* Override any gcc2 internal prototype to avoid an error.  */
53251 #ifdef __cplusplus
53252 extern "C"
53253 {
53254 #endif
53255 /* We use char because int might match the return type of a gcc2
53256    builtin and then its argument prototype would still apply.  */
53257 char $ac_func ();
53258 /* The GNU C library defines this for functions which it implements
53259     to always fail with ENOSYS.  Some functions are actually named
53260     something starting with __ and the normal name is an alias.  */
53261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53262 choke me
53263 #else
53264 char (*f) () = $ac_func;
53265 #endif
53266 #ifdef __cplusplus
53267 }
53268 #endif
53269
53270 int
53271 main ()
53272 {
53273 return f != $ac_func;
53274   ;
53275   return 0;
53276 }
53277 _ACEOF
53278 rm -f conftest.$ac_objext conftest$ac_exeext
53279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53280   (eval $ac_link) 2>conftest.er1
53281   ac_status=$?
53282   grep -v '^ *+' conftest.er1 >conftest.err
53283   rm -f conftest.er1
53284   cat conftest.err >&5
53285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53286   (exit $ac_status); } &&
53287          { ac_try='test -z "$ac_c_werror_flag"
53288                          || test ! -s conftest.err'
53289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53290   (eval $ac_try) 2>&5
53291   ac_status=$?
53292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53293   (exit $ac_status); }; } &&
53294          { ac_try='test -s conftest$ac_exeext'
53295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53296   (eval $ac_try) 2>&5
53297   ac_status=$?
53298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53299   (exit $ac_status); }; }; then
53300   eval "$as_ac_var=yes"
53301 else
53302   echo "$as_me: failed program was:" >&5
53303 sed 's/^/| /' conftest.$ac_ext >&5
53304
53305 eval "$as_ac_var=no"
53306 fi
53307 rm -f conftest.err conftest.$ac_objext \
53308       conftest$ac_exeext conftest.$ac_ext
53309 fi
53310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53312 if test `eval echo '${'$as_ac_var'}'` = yes; then
53313   cat >>confdefs.h <<_ACEOF
53314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53315 _ACEOF
53316
53317 fi
53318 done
53319
53320   fi
53321
53322
53323
53324
53325
53326   CXXFLAGS="$ac_save_CXXFLAGS"
53327
53328
53329     # For showmanyc_helper().
53330
53331
53332 for ac_header in sys/ioctl.h sys/filio.h
53333 do
53334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53336   echo "$as_me:$LINENO: checking for $ac_header" >&5
53337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53339   echo $ECHO_N "(cached) $ECHO_C" >&6
53340 fi
53341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53343 else
53344   # Is the header compilable?
53345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53347 cat >conftest.$ac_ext <<_ACEOF
53348 /* confdefs.h.  */
53349 _ACEOF
53350 cat confdefs.h >>conftest.$ac_ext
53351 cat >>conftest.$ac_ext <<_ACEOF
53352 /* end confdefs.h.  */
53353 $ac_includes_default
53354 #include <$ac_header>
53355 _ACEOF
53356 rm -f conftest.$ac_objext
53357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53358   (eval $ac_compile) 2>conftest.er1
53359   ac_status=$?
53360   grep -v '^ *+' conftest.er1 >conftest.err
53361   rm -f conftest.er1
53362   cat conftest.err >&5
53363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53364   (exit $ac_status); } &&
53365          { ac_try='test -z "$ac_c_werror_flag"
53366                          || test ! -s conftest.err'
53367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53368   (eval $ac_try) 2>&5
53369   ac_status=$?
53370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53371   (exit $ac_status); }; } &&
53372          { ac_try='test -s conftest.$ac_objext'
53373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53374   (eval $ac_try) 2>&5
53375   ac_status=$?
53376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53377   (exit $ac_status); }; }; then
53378   ac_header_compiler=yes
53379 else
53380   echo "$as_me: failed program was:" >&5
53381 sed 's/^/| /' conftest.$ac_ext >&5
53382
53383 ac_header_compiler=no
53384 fi
53385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53387 echo "${ECHO_T}$ac_header_compiler" >&6
53388
53389 # Is the header present?
53390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53392 cat >conftest.$ac_ext <<_ACEOF
53393 /* confdefs.h.  */
53394 _ACEOF
53395 cat confdefs.h >>conftest.$ac_ext
53396 cat >>conftest.$ac_ext <<_ACEOF
53397 /* end confdefs.h.  */
53398 #include <$ac_header>
53399 _ACEOF
53400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53401   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53402   ac_status=$?
53403   grep -v '^ *+' conftest.er1 >conftest.err
53404   rm -f conftest.er1
53405   cat conftest.err >&5
53406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53407   (exit $ac_status); } >/dev/null; then
53408   if test -s conftest.err; then
53409     ac_cpp_err=$ac_c_preproc_warn_flag
53410     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53411   else
53412     ac_cpp_err=
53413   fi
53414 else
53415   ac_cpp_err=yes
53416 fi
53417 if test -z "$ac_cpp_err"; then
53418   ac_header_preproc=yes
53419 else
53420   echo "$as_me: failed program was:" >&5
53421 sed 's/^/| /' conftest.$ac_ext >&5
53422
53423   ac_header_preproc=no
53424 fi
53425 rm -f conftest.err conftest.$ac_ext
53426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53427 echo "${ECHO_T}$ac_header_preproc" >&6
53428
53429 # So?  What about this header?
53430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53431   yes:no: )
53432     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53434     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53436     ac_header_preproc=yes
53437     ;;
53438   no:yes:* )
53439     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53441     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53442 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53443     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53445     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53446 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53447     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53449     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53451     (
53452       cat <<\_ASBOX
53453 ## ----------------------------------------- ##
53454 ## Report this to the package-unused lists.  ##
53455 ## ----------------------------------------- ##
53456 _ASBOX
53457     ) |
53458       sed "s/^/$as_me: WARNING:     /" >&2
53459     ;;
53460 esac
53461 echo "$as_me:$LINENO: checking for $ac_header" >&5
53462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53464   echo $ECHO_N "(cached) $ECHO_C" >&6
53465 else
53466   eval "$as_ac_Header=\$ac_header_preproc"
53467 fi
53468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53470
53471 fi
53472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53473   cat >>confdefs.h <<_ACEOF
53474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53475 _ACEOF
53476
53477 fi
53478
53479 done
53480
53481
53482   echo "$as_me:$LINENO: checking for poll" >&5
53483 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53484   if test "${glibcxx_cv_POLL+set}" = set; then
53485   echo $ECHO_N "(cached) $ECHO_C" >&6
53486 else
53487
53488     if test x$gcc_no_link = xyes; then
53489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53491    { (exit 1); exit 1; }; }
53492 fi
53493 cat >conftest.$ac_ext <<_ACEOF
53494 /* confdefs.h.  */
53495 _ACEOF
53496 cat confdefs.h >>conftest.$ac_ext
53497 cat >>conftest.$ac_ext <<_ACEOF
53498 /* end confdefs.h.  */
53499 #include <poll.h>
53500 int
53501 main ()
53502 {
53503 struct pollfd pfd[1];
53504        pfd[0].events = POLLIN;
53505        poll(pfd, 1, 0);
53506   ;
53507   return 0;
53508 }
53509 _ACEOF
53510 rm -f conftest.$ac_objext conftest$ac_exeext
53511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53512   (eval $ac_link) 2>conftest.er1
53513   ac_status=$?
53514   grep -v '^ *+' conftest.er1 >conftest.err
53515   rm -f conftest.er1
53516   cat conftest.err >&5
53517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53518   (exit $ac_status); } &&
53519          { ac_try='test -z "$ac_c_werror_flag"
53520                          || test ! -s conftest.err'
53521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53522   (eval $ac_try) 2>&5
53523   ac_status=$?
53524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53525   (exit $ac_status); }; } &&
53526          { ac_try='test -s conftest$ac_exeext'
53527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53528   (eval $ac_try) 2>&5
53529   ac_status=$?
53530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53531   (exit $ac_status); }; }; then
53532   glibcxx_cv_POLL=yes
53533 else
53534   echo "$as_me: failed program was:" >&5
53535 sed 's/^/| /' conftest.$ac_ext >&5
53536
53537 glibcxx_cv_POLL=no
53538 fi
53539 rm -f conftest.err conftest.$ac_objext \
53540       conftest$ac_exeext conftest.$ac_ext
53541
53542 fi
53543
53544   if test $glibcxx_cv_POLL = yes; then
53545
53546 cat >>confdefs.h <<\_ACEOF
53547 #define HAVE_POLL 1
53548 _ACEOF
53549
53550   fi
53551   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53552 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53553
53554
53555   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53556 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53557   if test "${glibcxx_cv_S_ISREG+set}" = set; then
53558   echo $ECHO_N "(cached) $ECHO_C" >&6
53559 else
53560
53561     if test x$gcc_no_link = xyes; then
53562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53564    { (exit 1); exit 1; }; }
53565 fi
53566 cat >conftest.$ac_ext <<_ACEOF
53567 /* confdefs.h.  */
53568 _ACEOF
53569 cat confdefs.h >>conftest.$ac_ext
53570 cat >>conftest.$ac_ext <<_ACEOF
53571 /* end confdefs.h.  */
53572 #include <sys/stat.h>
53573 int
53574 main ()
53575 {
53576 struct stat buffer;
53577        fstat(0, &buffer);
53578        S_ISREG(buffer.st_mode);
53579   ;
53580   return 0;
53581 }
53582 _ACEOF
53583 rm -f conftest.$ac_objext conftest$ac_exeext
53584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53585   (eval $ac_link) 2>conftest.er1
53586   ac_status=$?
53587   grep -v '^ *+' conftest.er1 >conftest.err
53588   rm -f conftest.er1
53589   cat conftest.err >&5
53590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53591   (exit $ac_status); } &&
53592          { ac_try='test -z "$ac_c_werror_flag"
53593                          || test ! -s conftest.err'
53594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53595   (eval $ac_try) 2>&5
53596   ac_status=$?
53597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53598   (exit $ac_status); }; } &&
53599          { ac_try='test -s conftest$ac_exeext'
53600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53601   (eval $ac_try) 2>&5
53602   ac_status=$?
53603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53604   (exit $ac_status); }; }; then
53605   glibcxx_cv_S_ISREG=yes
53606 else
53607   echo "$as_me: failed program was:" >&5
53608 sed 's/^/| /' conftest.$ac_ext >&5
53609
53610 glibcxx_cv_S_ISREG=no
53611 fi
53612 rm -f conftest.err conftest.$ac_objext \
53613       conftest$ac_exeext conftest.$ac_ext
53614
53615 fi
53616
53617   if test "${glibcxx_cv_S_IFREG+set}" = set; then
53618   echo $ECHO_N "(cached) $ECHO_C" >&6
53619 else
53620
53621     if test x$gcc_no_link = xyes; then
53622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53624    { (exit 1); exit 1; }; }
53625 fi
53626 cat >conftest.$ac_ext <<_ACEOF
53627 /* confdefs.h.  */
53628 _ACEOF
53629 cat confdefs.h >>conftest.$ac_ext
53630 cat >>conftest.$ac_ext <<_ACEOF
53631 /* end confdefs.h.  */
53632 #include <sys/stat.h>
53633 int
53634 main ()
53635 {
53636 struct stat buffer;
53637        fstat(0, &buffer);
53638        S_IFREG & buffer.st_mode;
53639   ;
53640   return 0;
53641 }
53642 _ACEOF
53643 rm -f conftest.$ac_objext conftest$ac_exeext
53644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53645   (eval $ac_link) 2>conftest.er1
53646   ac_status=$?
53647   grep -v '^ *+' conftest.er1 >conftest.err
53648   rm -f conftest.er1
53649   cat conftest.err >&5
53650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53651   (exit $ac_status); } &&
53652          { ac_try='test -z "$ac_c_werror_flag"
53653                          || test ! -s conftest.err'
53654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53655   (eval $ac_try) 2>&5
53656   ac_status=$?
53657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53658   (exit $ac_status); }; } &&
53659          { ac_try='test -s conftest$ac_exeext'
53660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53661   (eval $ac_try) 2>&5
53662   ac_status=$?
53663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53664   (exit $ac_status); }; }; then
53665   glibcxx_cv_S_IFREG=yes
53666 else
53667   echo "$as_me: failed program was:" >&5
53668 sed 's/^/| /' conftest.$ac_ext >&5
53669
53670 glibcxx_cv_S_IFREG=no
53671 fi
53672 rm -f conftest.err conftest.$ac_objext \
53673       conftest$ac_exeext conftest.$ac_ext
53674
53675 fi
53676
53677   res=no
53678   if test $glibcxx_cv_S_ISREG = yes; then
53679
53680 cat >>confdefs.h <<\_ACEOF
53681 #define HAVE_S_ISREG 1
53682 _ACEOF
53683
53684     res=S_ISREG
53685   elif test $glibcxx_cv_S_IFREG = yes; then
53686
53687 cat >>confdefs.h <<\_ACEOF
53688 #define HAVE_S_IFREG 1
53689 _ACEOF
53690
53691     res=S_IFREG
53692   fi
53693   echo "$as_me:$LINENO: result: $res" >&5
53694 echo "${ECHO_T}$res" >&6
53695
53696
53697     # For xsputn_2().
53698
53699 for ac_header in sys/uio.h
53700 do
53701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53703   echo "$as_me:$LINENO: checking for $ac_header" >&5
53704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53706   echo $ECHO_N "(cached) $ECHO_C" >&6
53707 fi
53708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53710 else
53711   # Is the header compilable?
53712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53714 cat >conftest.$ac_ext <<_ACEOF
53715 /* confdefs.h.  */
53716 _ACEOF
53717 cat confdefs.h >>conftest.$ac_ext
53718 cat >>conftest.$ac_ext <<_ACEOF
53719 /* end confdefs.h.  */
53720 $ac_includes_default
53721 #include <$ac_header>
53722 _ACEOF
53723 rm -f conftest.$ac_objext
53724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53725   (eval $ac_compile) 2>conftest.er1
53726   ac_status=$?
53727   grep -v '^ *+' conftest.er1 >conftest.err
53728   rm -f conftest.er1
53729   cat conftest.err >&5
53730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53731   (exit $ac_status); } &&
53732          { ac_try='test -z "$ac_c_werror_flag"
53733                          || test ! -s conftest.err'
53734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53735   (eval $ac_try) 2>&5
53736   ac_status=$?
53737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53738   (exit $ac_status); }; } &&
53739          { ac_try='test -s conftest.$ac_objext'
53740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53741   (eval $ac_try) 2>&5
53742   ac_status=$?
53743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53744   (exit $ac_status); }; }; then
53745   ac_header_compiler=yes
53746 else
53747   echo "$as_me: failed program was:" >&5
53748 sed 's/^/| /' conftest.$ac_ext >&5
53749
53750 ac_header_compiler=no
53751 fi
53752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53754 echo "${ECHO_T}$ac_header_compiler" >&6
53755
53756 # Is the header present?
53757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53759 cat >conftest.$ac_ext <<_ACEOF
53760 /* confdefs.h.  */
53761 _ACEOF
53762 cat confdefs.h >>conftest.$ac_ext
53763 cat >>conftest.$ac_ext <<_ACEOF
53764 /* end confdefs.h.  */
53765 #include <$ac_header>
53766 _ACEOF
53767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53768   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53769   ac_status=$?
53770   grep -v '^ *+' conftest.er1 >conftest.err
53771   rm -f conftest.er1
53772   cat conftest.err >&5
53773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774   (exit $ac_status); } >/dev/null; then
53775   if test -s conftest.err; then
53776     ac_cpp_err=$ac_c_preproc_warn_flag
53777     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53778   else
53779     ac_cpp_err=
53780   fi
53781 else
53782   ac_cpp_err=yes
53783 fi
53784 if test -z "$ac_cpp_err"; then
53785   ac_header_preproc=yes
53786 else
53787   echo "$as_me: failed program was:" >&5
53788 sed 's/^/| /' conftest.$ac_ext >&5
53789
53790   ac_header_preproc=no
53791 fi
53792 rm -f conftest.err conftest.$ac_ext
53793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53794 echo "${ECHO_T}$ac_header_preproc" >&6
53795
53796 # So?  What about this header?
53797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53798   yes:no: )
53799     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53803     ac_header_preproc=yes
53804     ;;
53805   no:yes:* )
53806     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53808     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53809 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53810     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53812     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53813 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53814     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53816     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53818     (
53819       cat <<\_ASBOX
53820 ## ----------------------------------------- ##
53821 ## Report this to the package-unused lists.  ##
53822 ## ----------------------------------------- ##
53823 _ASBOX
53824     ) |
53825       sed "s/^/$as_me: WARNING:     /" >&2
53826     ;;
53827 esac
53828 echo "$as_me:$LINENO: checking for $ac_header" >&5
53829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53831   echo $ECHO_N "(cached) $ECHO_C" >&6
53832 else
53833   eval "$as_ac_Header=\$ac_header_preproc"
53834 fi
53835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53837
53838 fi
53839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53840   cat >>confdefs.h <<_ACEOF
53841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53842 _ACEOF
53843
53844 fi
53845
53846 done
53847
53848
53849   echo "$as_me:$LINENO: checking for writev" >&5
53850 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53851   if test "${glibcxx_cv_WRITEV+set}" = set; then
53852   echo $ECHO_N "(cached) $ECHO_C" >&6
53853 else
53854
53855     if test x$gcc_no_link = xyes; then
53856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53858    { (exit 1); exit 1; }; }
53859 fi
53860 cat >conftest.$ac_ext <<_ACEOF
53861 /* confdefs.h.  */
53862 _ACEOF
53863 cat confdefs.h >>conftest.$ac_ext
53864 cat >>conftest.$ac_ext <<_ACEOF
53865 /* end confdefs.h.  */
53866 #include <sys/uio.h>
53867 int
53868 main ()
53869 {
53870 struct iovec iov[2];
53871        writev(0, iov, 0);
53872   ;
53873   return 0;
53874 }
53875 _ACEOF
53876 rm -f conftest.$ac_objext conftest$ac_exeext
53877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53878   (eval $ac_link) 2>conftest.er1
53879   ac_status=$?
53880   grep -v '^ *+' conftest.er1 >conftest.err
53881   rm -f conftest.er1
53882   cat conftest.err >&5
53883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53884   (exit $ac_status); } &&
53885          { ac_try='test -z "$ac_c_werror_flag"
53886                          || test ! -s conftest.err'
53887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53888   (eval $ac_try) 2>&5
53889   ac_status=$?
53890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891   (exit $ac_status); }; } &&
53892          { ac_try='test -s conftest$ac_exeext'
53893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53894   (eval $ac_try) 2>&5
53895   ac_status=$?
53896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53897   (exit $ac_status); }; }; then
53898   glibcxx_cv_WRITEV=yes
53899 else
53900   echo "$as_me: failed program was:" >&5
53901 sed 's/^/| /' conftest.$ac_ext >&5
53902
53903 glibcxx_cv_WRITEV=no
53904 fi
53905 rm -f conftest.err conftest.$ac_objext \
53906       conftest$ac_exeext conftest.$ac_ext
53907
53908 fi
53909
53910   if test $glibcxx_cv_WRITEV = yes; then
53911
53912 cat >>confdefs.h <<\_ACEOF
53913 #define HAVE_WRITEV 1
53914 _ACEOF
53915
53916   fi
53917   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53918 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53919
53920
53921     cat >>confdefs.h <<\_ACEOF
53922 #define HAVE_LC_MESSAGES 1
53923 _ACEOF
53924
53925
53926     cat >conftest.$ac_ext <<_ACEOF
53927 /* confdefs.h.  */
53928 _ACEOF
53929 cat confdefs.h >>conftest.$ac_ext
53930 cat >>conftest.$ac_ext <<_ACEOF
53931 /* end confdefs.h.  */
53932 #include <setjmp.h>
53933 int
53934 main ()
53935 {
53936 sigjmp_buf env;
53937        while (! sigsetjmp (env, 1))
53938          siglongjmp (env, 1);
53939
53940   ;
53941   return 0;
53942 }
53943 _ACEOF
53944 rm -f conftest.$ac_objext
53945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53946   (eval $ac_compile) 2>conftest.er1
53947   ac_status=$?
53948   grep -v '^ *+' conftest.er1 >conftest.err
53949   rm -f conftest.er1
53950   cat conftest.err >&5
53951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53952   (exit $ac_status); } &&
53953          { ac_try='test -z "$ac_c_werror_flag"
53954                          || test ! -s conftest.err'
53955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53956   (eval $ac_try) 2>&5
53957   ac_status=$?
53958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53959   (exit $ac_status); }; } &&
53960          { ac_try='test -s conftest.$ac_objext'
53961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53962   (eval $ac_try) 2>&5
53963   ac_status=$?
53964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53965   (exit $ac_status); }; }; then
53966
53967 cat >>confdefs.h <<\_ACEOF
53968 #define HAVE_SIGSETJMP 1
53969 _ACEOF
53970
53971 else
53972   echo "$as_me: failed program was:" >&5
53973 sed 's/^/| /' conftest.$ac_ext >&5
53974
53975 fi
53976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53977
53978     cat >>confdefs.h <<\_ACEOF
53979 #define HAVE_MMAP 1
53980 _ACEOF
53981
53982     ;;
53983
53984   *djgpp)
53985
53986
53987
53988
53989
53990
53991
53992
53993
53994
53995
53996
53997
53998
53999
54000
54001
54002
54003
54004
54005 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54006       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54007       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54008       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54009 do
54010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54012   echo "$as_me:$LINENO: checking for $ac_header" >&5
54013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54015   echo $ECHO_N "(cached) $ECHO_C" >&6
54016 fi
54017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54019 else
54020   # Is the header compilable?
54021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54023 cat >conftest.$ac_ext <<_ACEOF
54024 /* confdefs.h.  */
54025 _ACEOF
54026 cat confdefs.h >>conftest.$ac_ext
54027 cat >>conftest.$ac_ext <<_ACEOF
54028 /* end confdefs.h.  */
54029 $ac_includes_default
54030 #include <$ac_header>
54031 _ACEOF
54032 rm -f conftest.$ac_objext
54033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54034   (eval $ac_compile) 2>conftest.er1
54035   ac_status=$?
54036   grep -v '^ *+' conftest.er1 >conftest.err
54037   rm -f conftest.er1
54038   cat conftest.err >&5
54039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54040   (exit $ac_status); } &&
54041          { ac_try='test -z "$ac_c_werror_flag"
54042                          || test ! -s conftest.err'
54043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54044   (eval $ac_try) 2>&5
54045   ac_status=$?
54046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54047   (exit $ac_status); }; } &&
54048          { ac_try='test -s conftest.$ac_objext'
54049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54050   (eval $ac_try) 2>&5
54051   ac_status=$?
54052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54053   (exit $ac_status); }; }; then
54054   ac_header_compiler=yes
54055 else
54056   echo "$as_me: failed program was:" >&5
54057 sed 's/^/| /' conftest.$ac_ext >&5
54058
54059 ac_header_compiler=no
54060 fi
54061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54063 echo "${ECHO_T}$ac_header_compiler" >&6
54064
54065 # Is the header present?
54066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54068 cat >conftest.$ac_ext <<_ACEOF
54069 /* confdefs.h.  */
54070 _ACEOF
54071 cat confdefs.h >>conftest.$ac_ext
54072 cat >>conftest.$ac_ext <<_ACEOF
54073 /* end confdefs.h.  */
54074 #include <$ac_header>
54075 _ACEOF
54076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54077   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54078   ac_status=$?
54079   grep -v '^ *+' conftest.er1 >conftest.err
54080   rm -f conftest.er1
54081   cat conftest.err >&5
54082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54083   (exit $ac_status); } >/dev/null; then
54084   if test -s conftest.err; then
54085     ac_cpp_err=$ac_c_preproc_warn_flag
54086     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54087   else
54088     ac_cpp_err=
54089   fi
54090 else
54091   ac_cpp_err=yes
54092 fi
54093 if test -z "$ac_cpp_err"; then
54094   ac_header_preproc=yes
54095 else
54096   echo "$as_me: failed program was:" >&5
54097 sed 's/^/| /' conftest.$ac_ext >&5
54098
54099   ac_header_preproc=no
54100 fi
54101 rm -f conftest.err conftest.$ac_ext
54102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54103 echo "${ECHO_T}$ac_header_preproc" >&6
54104
54105 # So?  What about this header?
54106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54107   yes:no: )
54108     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54110     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54112     ac_header_preproc=yes
54113     ;;
54114   no:yes:* )
54115     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54117     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54118 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54119     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54121     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54122 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54123     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54125     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54127     (
54128       cat <<\_ASBOX
54129 ## ----------------------------------------- ##
54130 ## Report this to the package-unused lists.  ##
54131 ## ----------------------------------------- ##
54132 _ASBOX
54133     ) |
54134       sed "s/^/$as_me: WARNING:     /" >&2
54135     ;;
54136 esac
54137 echo "$as_me:$LINENO: checking for $ac_header" >&5
54138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54140   echo $ECHO_N "(cached) $ECHO_C" >&6
54141 else
54142   eval "$as_ac_Header=\$ac_header_preproc"
54143 fi
54144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54146
54147 fi
54148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54149   cat >>confdefs.h <<_ACEOF
54150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54151 _ACEOF
54152
54153 fi
54154
54155 done
54156
54157
54158   # If we're not using GNU ld, then there's no point in even trying these
54159   # tests.  Check for that first.  We should have already tested for gld
54160   # by now (in libtool), but require it now just to be safe...
54161   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54162   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54163
54164
54165
54166   # The name set by libtool depends on the version of libtool.  Shame on us
54167   # for depending on an impl detail, but c'est la vie.  Older versions used
54168   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54169   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54170   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54171   # set (hence we're using an older libtool), then set it.
54172   if test x${with_gnu_ld+set} != xset; then
54173     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54174       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54175       with_gnu_ld=no
54176     else
54177       with_gnu_ld=$ac_cv_prog_gnu_ld
54178     fi
54179   fi
54180
54181   # Start by getting the version number.  I think the libtool test already
54182   # does some of this, but throws away the result.
54183   if test x"$with_gnu_ld" = x"yes"; then
54184     echo "$as_me:$LINENO: checking for ld version" >&5
54185 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54186
54187     ldver=`$LD --version 2>/dev/null | head -1 | \
54188            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54189
54190     glibcxx_gnu_ld_version=`echo $ldver | \
54191            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54192     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54193 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54194   fi
54195
54196   # Set --gc-sections.
54197   glibcxx_gcsections_min_ld=21602
54198   if test x"$with_gnu_ld" = x"yes" &&
54199         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54200
54201     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54202     # NB: This flag only works reliably after 2.16.1. Configure tests
54203     # for this are difficult, so hard wire a value that should work.
54204
54205     # All these tests are for C++, but run with the "C" compiler driver.
54206     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54207     ac_test_CFLAGS="${CFLAGS+set}"
54208     ac_save_CFLAGS="$CFLAGS"
54209     CFLAGS='-x c++ -Wl,--gc-sections'
54210
54211     # Check for -Wl,--gc-sections
54212     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54213 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54214     if test x$gcc_no_link = xyes; then
54215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54217    { (exit 1); exit 1; }; }
54218 fi
54219 cat >conftest.$ac_ext <<_ACEOF
54220 /* confdefs.h.  */
54221 _ACEOF
54222 cat confdefs.h >>conftest.$ac_ext
54223 cat >>conftest.$ac_ext <<_ACEOF
54224 /* end confdefs.h.  */
54225  int one(void) { return 1; }
54226      int two(void) { return 2; }
54227
54228 int
54229 main ()
54230 {
54231  two();
54232   ;
54233   return 0;
54234 }
54235 _ACEOF
54236 rm -f conftest.$ac_objext conftest$ac_exeext
54237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54238   (eval $ac_link) 2>conftest.er1
54239   ac_status=$?
54240   grep -v '^ *+' conftest.er1 >conftest.err
54241   rm -f conftest.er1
54242   cat conftest.err >&5
54243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54244   (exit $ac_status); } &&
54245          { ac_try='test -z "$ac_c_werror_flag"
54246                          || test ! -s conftest.err'
54247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54248   (eval $ac_try) 2>&5
54249   ac_status=$?
54250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54251   (exit $ac_status); }; } &&
54252          { ac_try='test -s conftest$ac_exeext'
54253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54254   (eval $ac_try) 2>&5
54255   ac_status=$?
54256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54257   (exit $ac_status); }; }; then
54258   ac_gcsections=yes
54259 else
54260   echo "$as_me: failed program was:" >&5
54261 sed 's/^/| /' conftest.$ac_ext >&5
54262
54263 ac_gcsections=no
54264 fi
54265 rm -f conftest.err conftest.$ac_objext \
54266       conftest$ac_exeext conftest.$ac_ext
54267     if test "$ac_gcsections" = "yes"; then
54268       rm -f conftest.c
54269       touch conftest.c
54270       if $CC -c conftest.c; then
54271         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54272            grep "Warning: gc-sections option ignored" > /dev/null; then
54273           ac_gcsections=no
54274         fi
54275       fi
54276       rm -f conftest.c conftest.o conftest
54277     fi
54278     if test "$ac_gcsections" = "yes"; then
54279       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54280     fi
54281     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54282 echo "${ECHO_T}$ac_gcsections" >&6
54283
54284     if test "$ac_test_CFLAGS" = set; then
54285       CFLAGS="$ac_save_CFLAGS"
54286     else
54287       # this is the suspicious part
54288       CFLAGS=''
54289     fi
54290   fi
54291
54292   # Set -z,relro.
54293   # Note this is only for shared objects.
54294   ac_ld_relro=no
54295   if test x"$with_gnu_ld" = x"yes"; then
54296     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54297 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54298     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54299     if test -n "$cxx_z_relo"; then
54300       OPT_LDFLAGS="-Wl,-z,relro"
54301       ac_ld_relro=yes
54302     fi
54303     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54304 echo "${ECHO_T}$ac_ld_relro" >&6
54305   fi
54306
54307   # Set linker optimization flags.
54308   if test x"$with_gnu_ld" = x"yes"; then
54309     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54310   fi
54311
54312
54313
54314
54315
54316   ac_test_CXXFLAGS="${CXXFLAGS+set}"
54317   ac_save_CXXFLAGS="$CXXFLAGS"
54318   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54319
54320     echo "$as_me:$LINENO: checking for sin in -lm" >&5
54321 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54322 if test "${ac_cv_lib_m_sin+set}" = set; then
54323   echo $ECHO_N "(cached) $ECHO_C" >&6
54324 else
54325   ac_check_lib_save_LIBS=$LIBS
54326 LIBS="-lm  $LIBS"
54327 if test x$gcc_no_link = xyes; then
54328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54330    { (exit 1); exit 1; }; }
54331 fi
54332 cat >conftest.$ac_ext <<_ACEOF
54333 /* confdefs.h.  */
54334 _ACEOF
54335 cat confdefs.h >>conftest.$ac_ext
54336 cat >>conftest.$ac_ext <<_ACEOF
54337 /* end confdefs.h.  */
54338
54339 /* Override any gcc2 internal prototype to avoid an error.  */
54340 #ifdef __cplusplus
54341 extern "C"
54342 #endif
54343 /* We use char because int might match the return type of a gcc2
54344    builtin and then its argument prototype would still apply.  */
54345 char sin ();
54346 int
54347 main ()
54348 {
54349 sin ();
54350   ;
54351   return 0;
54352 }
54353 _ACEOF
54354 rm -f conftest.$ac_objext conftest$ac_exeext
54355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54356   (eval $ac_link) 2>conftest.er1
54357   ac_status=$?
54358   grep -v '^ *+' conftest.er1 >conftest.err
54359   rm -f conftest.er1
54360   cat conftest.err >&5
54361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362   (exit $ac_status); } &&
54363          { ac_try='test -z "$ac_c_werror_flag"
54364                          || test ! -s conftest.err'
54365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54366   (eval $ac_try) 2>&5
54367   ac_status=$?
54368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54369   (exit $ac_status); }; } &&
54370          { ac_try='test -s conftest$ac_exeext'
54371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54372   (eval $ac_try) 2>&5
54373   ac_status=$?
54374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375   (exit $ac_status); }; }; then
54376   ac_cv_lib_m_sin=yes
54377 else
54378   echo "$as_me: failed program was:" >&5
54379 sed 's/^/| /' conftest.$ac_ext >&5
54380
54381 ac_cv_lib_m_sin=no
54382 fi
54383 rm -f conftest.err conftest.$ac_objext \
54384       conftest$ac_exeext conftest.$ac_ext
54385 LIBS=$ac_check_lib_save_LIBS
54386 fi
54387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54388 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54389 if test $ac_cv_lib_m_sin = yes; then
54390   libm="-lm"
54391 fi
54392
54393   ac_save_LIBS="$LIBS"
54394   LIBS="$LIBS $libm"
54395
54396
54397
54398   echo "$as_me:$LINENO: checking for isinf declaration" >&5
54399 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54400   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54401     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54402   echo $ECHO_N "(cached) $ECHO_C" >&6
54403 else
54404
54405
54406
54407       ac_ext=cc
54408 ac_cpp='$CXXCPP $CPPFLAGS'
54409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54412
54413       cat >conftest.$ac_ext <<_ACEOF
54414 /* confdefs.h.  */
54415 _ACEOF
54416 cat confdefs.h >>conftest.$ac_ext
54417 cat >>conftest.$ac_ext <<_ACEOF
54418 /* end confdefs.h.  */
54419 #include <math.h>
54420                       #ifdef HAVE_IEEEFP_H
54421                       #include <ieeefp.h>
54422                       #endif
54423
54424 int
54425 main ()
54426 {
54427  isinf(0);
54428   ;
54429   return 0;
54430 }
54431 _ACEOF
54432 rm -f conftest.$ac_objext
54433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54434   (eval $ac_compile) 2>conftest.er1
54435   ac_status=$?
54436   grep -v '^ *+' conftest.er1 >conftest.err
54437   rm -f conftest.er1
54438   cat conftest.err >&5
54439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54440   (exit $ac_status); } &&
54441          { ac_try='test -z "$ac_cxx_werror_flag"
54442                          || test ! -s conftest.err'
54443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54444   (eval $ac_try) 2>&5
54445   ac_status=$?
54446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54447   (exit $ac_status); }; } &&
54448          { ac_try='test -s conftest.$ac_objext'
54449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54450   (eval $ac_try) 2>&5
54451   ac_status=$?
54452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54453   (exit $ac_status); }; }; then
54454   glibcxx_cv_func_isinf_use=yes
54455 else
54456   echo "$as_me: failed program was:" >&5
54457 sed 's/^/| /' conftest.$ac_ext >&5
54458
54459 glibcxx_cv_func_isinf_use=no
54460 fi
54461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54462       ac_ext=c
54463 ac_cpp='$CPP $CPPFLAGS'
54464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54467
54468
54469 fi
54470
54471   fi
54472   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54473 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54474
54475   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54476
54477 for ac_func in isinf
54478 do
54479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54480 echo "$as_me:$LINENO: checking for $ac_func" >&5
54481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54482 if eval "test \"\${$as_ac_var+set}\" = set"; then
54483   echo $ECHO_N "(cached) $ECHO_C" >&6
54484 else
54485   if test x$gcc_no_link = xyes; then
54486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54488    { (exit 1); exit 1; }; }
54489 fi
54490 cat >conftest.$ac_ext <<_ACEOF
54491 /* confdefs.h.  */
54492 _ACEOF
54493 cat confdefs.h >>conftest.$ac_ext
54494 cat >>conftest.$ac_ext <<_ACEOF
54495 /* end confdefs.h.  */
54496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54498 #define $ac_func innocuous_$ac_func
54499
54500 /* System header to define __stub macros and hopefully few prototypes,
54501     which can conflict with char $ac_func (); below.
54502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54503     <limits.h> exists even on freestanding compilers.  */
54504
54505 #ifdef __STDC__
54506 # include <limits.h>
54507 #else
54508 # include <assert.h>
54509 #endif
54510
54511 #undef $ac_func
54512
54513 /* Override any gcc2 internal prototype to avoid an error.  */
54514 #ifdef __cplusplus
54515 extern "C"
54516 {
54517 #endif
54518 /* We use char because int might match the return type of a gcc2
54519    builtin and then its argument prototype would still apply.  */
54520 char $ac_func ();
54521 /* The GNU C library defines this for functions which it implements
54522     to always fail with ENOSYS.  Some functions are actually named
54523     something starting with __ and the normal name is an alias.  */
54524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54525 choke me
54526 #else
54527 char (*f) () = $ac_func;
54528 #endif
54529 #ifdef __cplusplus
54530 }
54531 #endif
54532
54533 int
54534 main ()
54535 {
54536 return f != $ac_func;
54537   ;
54538   return 0;
54539 }
54540 _ACEOF
54541 rm -f conftest.$ac_objext conftest$ac_exeext
54542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54543   (eval $ac_link) 2>conftest.er1
54544   ac_status=$?
54545   grep -v '^ *+' conftest.er1 >conftest.err
54546   rm -f conftest.er1
54547   cat conftest.err >&5
54548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54549   (exit $ac_status); } &&
54550          { ac_try='test -z "$ac_c_werror_flag"
54551                          || test ! -s conftest.err'
54552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54553   (eval $ac_try) 2>&5
54554   ac_status=$?
54555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54556   (exit $ac_status); }; } &&
54557          { ac_try='test -s conftest$ac_exeext'
54558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54559   (eval $ac_try) 2>&5
54560   ac_status=$?
54561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54562   (exit $ac_status); }; }; then
54563   eval "$as_ac_var=yes"
54564 else
54565   echo "$as_me: failed program was:" >&5
54566 sed 's/^/| /' conftest.$ac_ext >&5
54567
54568 eval "$as_ac_var=no"
54569 fi
54570 rm -f conftest.err conftest.$ac_objext \
54571       conftest$ac_exeext conftest.$ac_ext
54572 fi
54573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54575 if test `eval echo '${'$as_ac_var'}'` = yes; then
54576   cat >>confdefs.h <<_ACEOF
54577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54578 _ACEOF
54579
54580 fi
54581 done
54582
54583   else
54584
54585   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54586 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54587   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54588     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54589   echo $ECHO_N "(cached) $ECHO_C" >&6
54590 else
54591
54592
54593
54594       ac_ext=cc
54595 ac_cpp='$CXXCPP $CPPFLAGS'
54596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54599
54600       cat >conftest.$ac_ext <<_ACEOF
54601 /* confdefs.h.  */
54602 _ACEOF
54603 cat confdefs.h >>conftest.$ac_ext
54604 cat >>conftest.$ac_ext <<_ACEOF
54605 /* end confdefs.h.  */
54606 #include <math.h>
54607                       #ifdef HAVE_IEEEFP_H
54608                       #include <ieeefp.h>
54609                       #endif
54610
54611 int
54612 main ()
54613 {
54614  _isinf(0);
54615   ;
54616   return 0;
54617 }
54618 _ACEOF
54619 rm -f conftest.$ac_objext
54620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54621   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__isinf_use=yes
54642 else
54643   echo "$as_me: failed program was:" >&5
54644 sed 's/^/| /' conftest.$ac_ext >&5
54645
54646 glibcxx_cv_func__isinf_use=no
54647 fi
54648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54649       ac_ext=c
54650 ac_cpp='$CPP $CPPFLAGS'
54651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54654
54655
54656 fi
54657
54658   fi
54659   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54660 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54661
54662     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54663
54664 for ac_func in _isinf
54665 do
54666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54667 echo "$as_me:$LINENO: checking for $ac_func" >&5
54668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54669 if eval "test \"\${$as_ac_var+set}\" = set"; then
54670   echo $ECHO_N "(cached) $ECHO_C" >&6
54671 else
54672   if test x$gcc_no_link = xyes; then
54673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54675    { (exit 1); exit 1; }; }
54676 fi
54677 cat >conftest.$ac_ext <<_ACEOF
54678 /* confdefs.h.  */
54679 _ACEOF
54680 cat confdefs.h >>conftest.$ac_ext
54681 cat >>conftest.$ac_ext <<_ACEOF
54682 /* end confdefs.h.  */
54683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54685 #define $ac_func innocuous_$ac_func
54686
54687 /* System header to define __stub macros and hopefully few prototypes,
54688     which can conflict with char $ac_func (); below.
54689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54690     <limits.h> exists even on freestanding compilers.  */
54691
54692 #ifdef __STDC__
54693 # include <limits.h>
54694 #else
54695 # include <assert.h>
54696 #endif
54697
54698 #undef $ac_func
54699
54700 /* Override any gcc2 internal prototype to avoid an error.  */
54701 #ifdef __cplusplus
54702 extern "C"
54703 {
54704 #endif
54705 /* We use char because int might match the return type of a gcc2
54706    builtin and then its argument prototype would still apply.  */
54707 char $ac_func ();
54708 /* The GNU C library defines this for functions which it implements
54709     to always fail with ENOSYS.  Some functions are actually named
54710     something starting with __ and the normal name is an alias.  */
54711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54712 choke me
54713 #else
54714 char (*f) () = $ac_func;
54715 #endif
54716 #ifdef __cplusplus
54717 }
54718 #endif
54719
54720 int
54721 main ()
54722 {
54723 return f != $ac_func;
54724   ;
54725   return 0;
54726 }
54727 _ACEOF
54728 rm -f conftest.$ac_objext conftest$ac_exeext
54729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54730   (eval $ac_link) 2>conftest.er1
54731   ac_status=$?
54732   grep -v '^ *+' conftest.er1 >conftest.err
54733   rm -f conftest.er1
54734   cat conftest.err >&5
54735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54736   (exit $ac_status); } &&
54737          { ac_try='test -z "$ac_c_werror_flag"
54738                          || test ! -s conftest.err'
54739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54740   (eval $ac_try) 2>&5
54741   ac_status=$?
54742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54743   (exit $ac_status); }; } &&
54744          { ac_try='test -s conftest$ac_exeext'
54745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54746   (eval $ac_try) 2>&5
54747   ac_status=$?
54748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54749   (exit $ac_status); }; }; then
54750   eval "$as_ac_var=yes"
54751 else
54752   echo "$as_me: failed program was:" >&5
54753 sed 's/^/| /' conftest.$ac_ext >&5
54754
54755 eval "$as_ac_var=no"
54756 fi
54757 rm -f conftest.err conftest.$ac_objext \
54758       conftest$ac_exeext conftest.$ac_ext
54759 fi
54760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54762 if test `eval echo '${'$as_ac_var'}'` = yes; then
54763   cat >>confdefs.h <<_ACEOF
54764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54765 _ACEOF
54766
54767 fi
54768 done
54769
54770     fi
54771   fi
54772
54773
54774
54775
54776
54777
54778   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54779 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54780   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54781     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54782   echo $ECHO_N "(cached) $ECHO_C" >&6
54783 else
54784
54785
54786
54787       ac_ext=cc
54788 ac_cpp='$CXXCPP $CPPFLAGS'
54789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54792
54793       cat >conftest.$ac_ext <<_ACEOF
54794 /* confdefs.h.  */
54795 _ACEOF
54796 cat confdefs.h >>conftest.$ac_ext
54797 cat >>conftest.$ac_ext <<_ACEOF
54798 /* end confdefs.h.  */
54799 #include <math.h>
54800                       #ifdef HAVE_IEEEFP_H
54801                       #include <ieeefp.h>
54802                       #endif
54803
54804 int
54805 main ()
54806 {
54807  isnan(0);
54808   ;
54809   return 0;
54810 }
54811 _ACEOF
54812 rm -f conftest.$ac_objext
54813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54814   (eval $ac_compile) 2>conftest.er1
54815   ac_status=$?
54816   grep -v '^ *+' conftest.er1 >conftest.err
54817   rm -f conftest.er1
54818   cat conftest.err >&5
54819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54820   (exit $ac_status); } &&
54821          { ac_try='test -z "$ac_cxx_werror_flag"
54822                          || test ! -s conftest.err'
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); }; } &&
54828          { ac_try='test -s conftest.$ac_objext'
54829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54830   (eval $ac_try) 2>&5
54831   ac_status=$?
54832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54833   (exit $ac_status); }; }; then
54834   glibcxx_cv_func_isnan_use=yes
54835 else
54836   echo "$as_me: failed program was:" >&5
54837 sed 's/^/| /' conftest.$ac_ext >&5
54838
54839 glibcxx_cv_func_isnan_use=no
54840 fi
54841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54842       ac_ext=c
54843 ac_cpp='$CPP $CPPFLAGS'
54844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54847
54848
54849 fi
54850
54851   fi
54852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54853 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54854
54855   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54856
54857 for ac_func in isnan
54858 do
54859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54860 echo "$as_me:$LINENO: checking for $ac_func" >&5
54861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54862 if eval "test \"\${$as_ac_var+set}\" = set"; then
54863   echo $ECHO_N "(cached) $ECHO_C" >&6
54864 else
54865   if test x$gcc_no_link = xyes; then
54866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54868    { (exit 1); exit 1; }; }
54869 fi
54870 cat >conftest.$ac_ext <<_ACEOF
54871 /* confdefs.h.  */
54872 _ACEOF
54873 cat confdefs.h >>conftest.$ac_ext
54874 cat >>conftest.$ac_ext <<_ACEOF
54875 /* end confdefs.h.  */
54876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54878 #define $ac_func innocuous_$ac_func
54879
54880 /* System header to define __stub macros and hopefully few prototypes,
54881     which can conflict with char $ac_func (); below.
54882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54883     <limits.h> exists even on freestanding compilers.  */
54884
54885 #ifdef __STDC__
54886 # include <limits.h>
54887 #else
54888 # include <assert.h>
54889 #endif
54890
54891 #undef $ac_func
54892
54893 /* Override any gcc2 internal prototype to avoid an error.  */
54894 #ifdef __cplusplus
54895 extern "C"
54896 {
54897 #endif
54898 /* We use char because int might match the return type of a gcc2
54899    builtin and then its argument prototype would still apply.  */
54900 char $ac_func ();
54901 /* The GNU C library defines this for functions which it implements
54902     to always fail with ENOSYS.  Some functions are actually named
54903     something starting with __ and the normal name is an alias.  */
54904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54905 choke me
54906 #else
54907 char (*f) () = $ac_func;
54908 #endif
54909 #ifdef __cplusplus
54910 }
54911 #endif
54912
54913 int
54914 main ()
54915 {
54916 return f != $ac_func;
54917   ;
54918   return 0;
54919 }
54920 _ACEOF
54921 rm -f conftest.$ac_objext conftest$ac_exeext
54922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54923   (eval $ac_link) 2>conftest.er1
54924   ac_status=$?
54925   grep -v '^ *+' conftest.er1 >conftest.err
54926   rm -f conftest.er1
54927   cat conftest.err >&5
54928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54929   (exit $ac_status); } &&
54930          { ac_try='test -z "$ac_c_werror_flag"
54931                          || test ! -s conftest.err'
54932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54933   (eval $ac_try) 2>&5
54934   ac_status=$?
54935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54936   (exit $ac_status); }; } &&
54937          { ac_try='test -s conftest$ac_exeext'
54938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54939   (eval $ac_try) 2>&5
54940   ac_status=$?
54941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942   (exit $ac_status); }; }; then
54943   eval "$as_ac_var=yes"
54944 else
54945   echo "$as_me: failed program was:" >&5
54946 sed 's/^/| /' conftest.$ac_ext >&5
54947
54948 eval "$as_ac_var=no"
54949 fi
54950 rm -f conftest.err conftest.$ac_objext \
54951       conftest$ac_exeext conftest.$ac_ext
54952 fi
54953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54955 if test `eval echo '${'$as_ac_var'}'` = yes; then
54956   cat >>confdefs.h <<_ACEOF
54957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54958 _ACEOF
54959
54960 fi
54961 done
54962
54963   else
54964
54965   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54966 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54967   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54968     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54969   echo $ECHO_N "(cached) $ECHO_C" >&6
54970 else
54971
54972
54973
54974       ac_ext=cc
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980       cat >conftest.$ac_ext <<_ACEOF
54981 /* confdefs.h.  */
54982 _ACEOF
54983 cat confdefs.h >>conftest.$ac_ext
54984 cat >>conftest.$ac_ext <<_ACEOF
54985 /* end confdefs.h.  */
54986 #include <math.h>
54987                       #ifdef HAVE_IEEEFP_H
54988                       #include <ieeefp.h>
54989                       #endif
54990
54991 int
54992 main ()
54993 {
54994  _isnan(0);
54995   ;
54996   return 0;
54997 }
54998 _ACEOF
54999 rm -f conftest.$ac_objext
55000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55001   (eval $ac_compile) 2>conftest.er1
55002   ac_status=$?
55003   grep -v '^ *+' conftest.er1 >conftest.err
55004   rm -f conftest.er1
55005   cat conftest.err >&5
55006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55007   (exit $ac_status); } &&
55008          { ac_try='test -z "$ac_cxx_werror_flag"
55009                          || test ! -s conftest.err'
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); }; } &&
55015          { ac_try='test -s conftest.$ac_objext'
55016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55017   (eval $ac_try) 2>&5
55018   ac_status=$?
55019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55020   (exit $ac_status); }; }; then
55021   glibcxx_cv_func__isnan_use=yes
55022 else
55023   echo "$as_me: failed program was:" >&5
55024 sed 's/^/| /' conftest.$ac_ext >&5
55025
55026 glibcxx_cv_func__isnan_use=no
55027 fi
55028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55029       ac_ext=c
55030 ac_cpp='$CPP $CPPFLAGS'
55031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55034
55035
55036 fi
55037
55038   fi
55039   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55040 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55041
55042     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55043
55044 for ac_func in _isnan
55045 do
55046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55047 echo "$as_me:$LINENO: checking for $ac_func" >&5
55048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55049 if eval "test \"\${$as_ac_var+set}\" = set"; then
55050   echo $ECHO_N "(cached) $ECHO_C" >&6
55051 else
55052   if test x$gcc_no_link = xyes; then
55053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55055    { (exit 1); exit 1; }; }
55056 fi
55057 cat >conftest.$ac_ext <<_ACEOF
55058 /* confdefs.h.  */
55059 _ACEOF
55060 cat confdefs.h >>conftest.$ac_ext
55061 cat >>conftest.$ac_ext <<_ACEOF
55062 /* end confdefs.h.  */
55063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55065 #define $ac_func innocuous_$ac_func
55066
55067 /* System header to define __stub macros and hopefully few prototypes,
55068     which can conflict with char $ac_func (); below.
55069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55070     <limits.h> exists even on freestanding compilers.  */
55071
55072 #ifdef __STDC__
55073 # include <limits.h>
55074 #else
55075 # include <assert.h>
55076 #endif
55077
55078 #undef $ac_func
55079
55080 /* Override any gcc2 internal prototype to avoid an error.  */
55081 #ifdef __cplusplus
55082 extern "C"
55083 {
55084 #endif
55085 /* We use char because int might match the return type of a gcc2
55086    builtin and then its argument prototype would still apply.  */
55087 char $ac_func ();
55088 /* The GNU C library defines this for functions which it implements
55089     to always fail with ENOSYS.  Some functions are actually named
55090     something starting with __ and the normal name is an alias.  */
55091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55092 choke me
55093 #else
55094 char (*f) () = $ac_func;
55095 #endif
55096 #ifdef __cplusplus
55097 }
55098 #endif
55099
55100 int
55101 main ()
55102 {
55103 return f != $ac_func;
55104   ;
55105   return 0;
55106 }
55107 _ACEOF
55108 rm -f conftest.$ac_objext conftest$ac_exeext
55109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55110   (eval $ac_link) 2>conftest.er1
55111   ac_status=$?
55112   grep -v '^ *+' conftest.er1 >conftest.err
55113   rm -f conftest.er1
55114   cat conftest.err >&5
55115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55116   (exit $ac_status); } &&
55117          { ac_try='test -z "$ac_c_werror_flag"
55118                          || test ! -s conftest.err'
55119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55120   (eval $ac_try) 2>&5
55121   ac_status=$?
55122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55123   (exit $ac_status); }; } &&
55124          { ac_try='test -s conftest$ac_exeext'
55125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126   (eval $ac_try) 2>&5
55127   ac_status=$?
55128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129   (exit $ac_status); }; }; then
55130   eval "$as_ac_var=yes"
55131 else
55132   echo "$as_me: failed program was:" >&5
55133 sed 's/^/| /' conftest.$ac_ext >&5
55134
55135 eval "$as_ac_var=no"
55136 fi
55137 rm -f conftest.err conftest.$ac_objext \
55138       conftest$ac_exeext conftest.$ac_ext
55139 fi
55140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55142 if test `eval echo '${'$as_ac_var'}'` = yes; then
55143   cat >>confdefs.h <<_ACEOF
55144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55145 _ACEOF
55146
55147 fi
55148 done
55149
55150     fi
55151   fi
55152
55153
55154
55155
55156
55157
55158   echo "$as_me:$LINENO: checking for finite declaration" >&5
55159 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55160   if test x${glibcxx_cv_func_finite_use+set} != xset; then
55161     if test "${glibcxx_cv_func_finite_use+set}" = set; then
55162   echo $ECHO_N "(cached) $ECHO_C" >&6
55163 else
55164
55165
55166
55167       ac_ext=cc
55168 ac_cpp='$CXXCPP $CPPFLAGS'
55169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55172
55173       cat >conftest.$ac_ext <<_ACEOF
55174 /* confdefs.h.  */
55175 _ACEOF
55176 cat confdefs.h >>conftest.$ac_ext
55177 cat >>conftest.$ac_ext <<_ACEOF
55178 /* end confdefs.h.  */
55179 #include <math.h>
55180                       #ifdef HAVE_IEEEFP_H
55181                       #include <ieeefp.h>
55182                       #endif
55183
55184 int
55185 main ()
55186 {
55187  finite(0);
55188   ;
55189   return 0;
55190 }
55191 _ACEOF
55192 rm -f conftest.$ac_objext
55193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55194   (eval $ac_compile) 2>conftest.er1
55195   ac_status=$?
55196   grep -v '^ *+' conftest.er1 >conftest.err
55197   rm -f conftest.er1
55198   cat conftest.err >&5
55199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55200   (exit $ac_status); } &&
55201          { ac_try='test -z "$ac_cxx_werror_flag"
55202                          || test ! -s conftest.err'
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); }; } &&
55208          { ac_try='test -s conftest.$ac_objext'
55209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55210   (eval $ac_try) 2>&5
55211   ac_status=$?
55212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55213   (exit $ac_status); }; }; then
55214   glibcxx_cv_func_finite_use=yes
55215 else
55216   echo "$as_me: failed program was:" >&5
55217 sed 's/^/| /' conftest.$ac_ext >&5
55218
55219 glibcxx_cv_func_finite_use=no
55220 fi
55221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55222       ac_ext=c
55223 ac_cpp='$CPP $CPPFLAGS'
55224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55227
55228
55229 fi
55230
55231   fi
55232   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55233 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55234
55235   if test x$glibcxx_cv_func_finite_use = x"yes"; then
55236
55237 for ac_func in finite
55238 do
55239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55240 echo "$as_me:$LINENO: checking for $ac_func" >&5
55241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55242 if eval "test \"\${$as_ac_var+set}\" = set"; then
55243   echo $ECHO_N "(cached) $ECHO_C" >&6
55244 else
55245   if test x$gcc_no_link = xyes; then
55246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55248    { (exit 1); exit 1; }; }
55249 fi
55250 cat >conftest.$ac_ext <<_ACEOF
55251 /* confdefs.h.  */
55252 _ACEOF
55253 cat confdefs.h >>conftest.$ac_ext
55254 cat >>conftest.$ac_ext <<_ACEOF
55255 /* end confdefs.h.  */
55256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55258 #define $ac_func innocuous_$ac_func
55259
55260 /* System header to define __stub macros and hopefully few prototypes,
55261     which can conflict with char $ac_func (); below.
55262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55263     <limits.h> exists even on freestanding compilers.  */
55264
55265 #ifdef __STDC__
55266 # include <limits.h>
55267 #else
55268 # include <assert.h>
55269 #endif
55270
55271 #undef $ac_func
55272
55273 /* Override any gcc2 internal prototype to avoid an error.  */
55274 #ifdef __cplusplus
55275 extern "C"
55276 {
55277 #endif
55278 /* We use char because int might match the return type of a gcc2
55279    builtin and then its argument prototype would still apply.  */
55280 char $ac_func ();
55281 /* The GNU C library defines this for functions which it implements
55282     to always fail with ENOSYS.  Some functions are actually named
55283     something starting with __ and the normal name is an alias.  */
55284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55285 choke me
55286 #else
55287 char (*f) () = $ac_func;
55288 #endif
55289 #ifdef __cplusplus
55290 }
55291 #endif
55292
55293 int
55294 main ()
55295 {
55296 return f != $ac_func;
55297   ;
55298   return 0;
55299 }
55300 _ACEOF
55301 rm -f conftest.$ac_objext conftest$ac_exeext
55302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55303   (eval $ac_link) 2>conftest.er1
55304   ac_status=$?
55305   grep -v '^ *+' conftest.er1 >conftest.err
55306   rm -f conftest.er1
55307   cat conftest.err >&5
55308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55309   (exit $ac_status); } &&
55310          { ac_try='test -z "$ac_c_werror_flag"
55311                          || test ! -s conftest.err'
55312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55313   (eval $ac_try) 2>&5
55314   ac_status=$?
55315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55316   (exit $ac_status); }; } &&
55317          { ac_try='test -s conftest$ac_exeext'
55318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55319   (eval $ac_try) 2>&5
55320   ac_status=$?
55321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55322   (exit $ac_status); }; }; then
55323   eval "$as_ac_var=yes"
55324 else
55325   echo "$as_me: failed program was:" >&5
55326 sed 's/^/| /' conftest.$ac_ext >&5
55327
55328 eval "$as_ac_var=no"
55329 fi
55330 rm -f conftest.err conftest.$ac_objext \
55331       conftest$ac_exeext conftest.$ac_ext
55332 fi
55333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55335 if test `eval echo '${'$as_ac_var'}'` = yes; then
55336   cat >>confdefs.h <<_ACEOF
55337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55338 _ACEOF
55339
55340 fi
55341 done
55342
55343   else
55344
55345   echo "$as_me:$LINENO: checking for _finite declaration" >&5
55346 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55347   if test x${glibcxx_cv_func__finite_use+set} != xset; then
55348     if test "${glibcxx_cv_func__finite_use+set}" = set; then
55349   echo $ECHO_N "(cached) $ECHO_C" >&6
55350 else
55351
55352
55353
55354       ac_ext=cc
55355 ac_cpp='$CXXCPP $CPPFLAGS'
55356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55359
55360       cat >conftest.$ac_ext <<_ACEOF
55361 /* confdefs.h.  */
55362 _ACEOF
55363 cat confdefs.h >>conftest.$ac_ext
55364 cat >>conftest.$ac_ext <<_ACEOF
55365 /* end confdefs.h.  */
55366 #include <math.h>
55367                       #ifdef HAVE_IEEEFP_H
55368                       #include <ieeefp.h>
55369                       #endif
55370
55371 int
55372 main ()
55373 {
55374  _finite(0);
55375   ;
55376   return 0;
55377 }
55378 _ACEOF
55379 rm -f conftest.$ac_objext
55380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55381   (eval $ac_compile) 2>conftest.er1
55382   ac_status=$?
55383   grep -v '^ *+' conftest.er1 >conftest.err
55384   rm -f conftest.er1
55385   cat conftest.err >&5
55386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55387   (exit $ac_status); } &&
55388          { ac_try='test -z "$ac_cxx_werror_flag"
55389                          || test ! -s conftest.err'
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); }; } &&
55395          { ac_try='test -s conftest.$ac_objext'
55396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55397   (eval $ac_try) 2>&5
55398   ac_status=$?
55399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55400   (exit $ac_status); }; }; then
55401   glibcxx_cv_func__finite_use=yes
55402 else
55403   echo "$as_me: failed program was:" >&5
55404 sed 's/^/| /' conftest.$ac_ext >&5
55405
55406 glibcxx_cv_func__finite_use=no
55407 fi
55408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55409       ac_ext=c
55410 ac_cpp='$CPP $CPPFLAGS'
55411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55414
55415
55416 fi
55417
55418   fi
55419   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55420 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55421
55422     if test x$glibcxx_cv_func__finite_use = x"yes"; then
55423
55424 for ac_func in _finite
55425 do
55426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55427 echo "$as_me:$LINENO: checking for $ac_func" >&5
55428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55429 if eval "test \"\${$as_ac_var+set}\" = set"; then
55430   echo $ECHO_N "(cached) $ECHO_C" >&6
55431 else
55432   if test x$gcc_no_link = xyes; then
55433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55435    { (exit 1); exit 1; }; }
55436 fi
55437 cat >conftest.$ac_ext <<_ACEOF
55438 /* confdefs.h.  */
55439 _ACEOF
55440 cat confdefs.h >>conftest.$ac_ext
55441 cat >>conftest.$ac_ext <<_ACEOF
55442 /* end confdefs.h.  */
55443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55445 #define $ac_func innocuous_$ac_func
55446
55447 /* System header to define __stub macros and hopefully few prototypes,
55448     which can conflict with char $ac_func (); below.
55449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55450     <limits.h> exists even on freestanding compilers.  */
55451
55452 #ifdef __STDC__
55453 # include <limits.h>
55454 #else
55455 # include <assert.h>
55456 #endif
55457
55458 #undef $ac_func
55459
55460 /* Override any gcc2 internal prototype to avoid an error.  */
55461 #ifdef __cplusplus
55462 extern "C"
55463 {
55464 #endif
55465 /* We use char because int might match the return type of a gcc2
55466    builtin and then its argument prototype would still apply.  */
55467 char $ac_func ();
55468 /* The GNU C library defines this for functions which it implements
55469     to always fail with ENOSYS.  Some functions are actually named
55470     something starting with __ and the normal name is an alias.  */
55471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55472 choke me
55473 #else
55474 char (*f) () = $ac_func;
55475 #endif
55476 #ifdef __cplusplus
55477 }
55478 #endif
55479
55480 int
55481 main ()
55482 {
55483 return f != $ac_func;
55484   ;
55485   return 0;
55486 }
55487 _ACEOF
55488 rm -f conftest.$ac_objext conftest$ac_exeext
55489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55490   (eval $ac_link) 2>conftest.er1
55491   ac_status=$?
55492   grep -v '^ *+' conftest.er1 >conftest.err
55493   rm -f conftest.er1
55494   cat conftest.err >&5
55495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55496   (exit $ac_status); } &&
55497          { ac_try='test -z "$ac_c_werror_flag"
55498                          || test ! -s conftest.err'
55499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55500   (eval $ac_try) 2>&5
55501   ac_status=$?
55502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55503   (exit $ac_status); }; } &&
55504          { ac_try='test -s conftest$ac_exeext'
55505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55506   (eval $ac_try) 2>&5
55507   ac_status=$?
55508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55509   (exit $ac_status); }; }; then
55510   eval "$as_ac_var=yes"
55511 else
55512   echo "$as_me: failed program was:" >&5
55513 sed 's/^/| /' conftest.$ac_ext >&5
55514
55515 eval "$as_ac_var=no"
55516 fi
55517 rm -f conftest.err conftest.$ac_objext \
55518       conftest$ac_exeext conftest.$ac_ext
55519 fi
55520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55522 if test `eval echo '${'$as_ac_var'}'` = yes; then
55523   cat >>confdefs.h <<_ACEOF
55524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55525 _ACEOF
55526
55527 fi
55528 done
55529
55530     fi
55531   fi
55532
55533
55534
55535
55536
55537
55538   echo "$as_me:$LINENO: checking for copysign declaration" >&5
55539 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55540   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55541     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55542   echo $ECHO_N "(cached) $ECHO_C" >&6
55543 else
55544
55545
55546
55547       ac_ext=cc
55548 ac_cpp='$CXXCPP $CPPFLAGS'
55549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55552
55553       cat >conftest.$ac_ext <<_ACEOF
55554 /* confdefs.h.  */
55555 _ACEOF
55556 cat confdefs.h >>conftest.$ac_ext
55557 cat >>conftest.$ac_ext <<_ACEOF
55558 /* end confdefs.h.  */
55559 #include <math.h>
55560 int
55561 main ()
55562 {
55563  copysign(0, 0);
55564   ;
55565   return 0;
55566 }
55567 _ACEOF
55568 rm -f conftest.$ac_objext
55569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55570   (eval $ac_compile) 2>conftest.er1
55571   ac_status=$?
55572   grep -v '^ *+' conftest.er1 >conftest.err
55573   rm -f conftest.er1
55574   cat conftest.err >&5
55575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55576   (exit $ac_status); } &&
55577          { ac_try='test -z "$ac_cxx_werror_flag"
55578                          || test ! -s conftest.err'
55579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55580   (eval $ac_try) 2>&5
55581   ac_status=$?
55582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55583   (exit $ac_status); }; } &&
55584          { ac_try='test -s conftest.$ac_objext'
55585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55586   (eval $ac_try) 2>&5
55587   ac_status=$?
55588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55589   (exit $ac_status); }; }; then
55590   glibcxx_cv_func_copysign_use=yes
55591 else
55592   echo "$as_me: failed program was:" >&5
55593 sed 's/^/| /' conftest.$ac_ext >&5
55594
55595 glibcxx_cv_func_copysign_use=no
55596 fi
55597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55598       ac_ext=c
55599 ac_cpp='$CPP $CPPFLAGS'
55600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55603
55604
55605 fi
55606
55607   fi
55608   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55609 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55610
55611   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55612
55613 for ac_func in copysign
55614 do
55615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55616 echo "$as_me:$LINENO: checking for $ac_func" >&5
55617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55618 if eval "test \"\${$as_ac_var+set}\" = set"; then
55619   echo $ECHO_N "(cached) $ECHO_C" >&6
55620 else
55621   if test x$gcc_no_link = xyes; then
55622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55624    { (exit 1); exit 1; }; }
55625 fi
55626 cat >conftest.$ac_ext <<_ACEOF
55627 /* confdefs.h.  */
55628 _ACEOF
55629 cat confdefs.h >>conftest.$ac_ext
55630 cat >>conftest.$ac_ext <<_ACEOF
55631 /* end confdefs.h.  */
55632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55634 #define $ac_func innocuous_$ac_func
55635
55636 /* System header to define __stub macros and hopefully few prototypes,
55637     which can conflict with char $ac_func (); below.
55638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55639     <limits.h> exists even on freestanding compilers.  */
55640
55641 #ifdef __STDC__
55642 # include <limits.h>
55643 #else
55644 # include <assert.h>
55645 #endif
55646
55647 #undef $ac_func
55648
55649 /* Override any gcc2 internal prototype to avoid an error.  */
55650 #ifdef __cplusplus
55651 extern "C"
55652 {
55653 #endif
55654 /* We use char because int might match the return type of a gcc2
55655    builtin and then its argument prototype would still apply.  */
55656 char $ac_func ();
55657 /* The GNU C library defines this for functions which it implements
55658     to always fail with ENOSYS.  Some functions are actually named
55659     something starting with __ and the normal name is an alias.  */
55660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55661 choke me
55662 #else
55663 char (*f) () = $ac_func;
55664 #endif
55665 #ifdef __cplusplus
55666 }
55667 #endif
55668
55669 int
55670 main ()
55671 {
55672 return f != $ac_func;
55673   ;
55674   return 0;
55675 }
55676 _ACEOF
55677 rm -f conftest.$ac_objext conftest$ac_exeext
55678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55679   (eval $ac_link) 2>conftest.er1
55680   ac_status=$?
55681   grep -v '^ *+' conftest.er1 >conftest.err
55682   rm -f conftest.er1
55683   cat conftest.err >&5
55684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55685   (exit $ac_status); } &&
55686          { ac_try='test -z "$ac_c_werror_flag"
55687                          || test ! -s conftest.err'
55688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55689   (eval $ac_try) 2>&5
55690   ac_status=$?
55691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55692   (exit $ac_status); }; } &&
55693          { ac_try='test -s conftest$ac_exeext'
55694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55695   (eval $ac_try) 2>&5
55696   ac_status=$?
55697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55698   (exit $ac_status); }; }; then
55699   eval "$as_ac_var=yes"
55700 else
55701   echo "$as_me: failed program was:" >&5
55702 sed 's/^/| /' conftest.$ac_ext >&5
55703
55704 eval "$as_ac_var=no"
55705 fi
55706 rm -f conftest.err conftest.$ac_objext \
55707       conftest$ac_exeext conftest.$ac_ext
55708 fi
55709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55711 if test `eval echo '${'$as_ac_var'}'` = yes; then
55712   cat >>confdefs.h <<_ACEOF
55713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55714 _ACEOF
55715
55716 fi
55717 done
55718
55719   else
55720
55721   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55722 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55723   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55724     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55725   echo $ECHO_N "(cached) $ECHO_C" >&6
55726 else
55727
55728
55729
55730       ac_ext=cc
55731 ac_cpp='$CXXCPP $CPPFLAGS'
55732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55735
55736       cat >conftest.$ac_ext <<_ACEOF
55737 /* confdefs.h.  */
55738 _ACEOF
55739 cat confdefs.h >>conftest.$ac_ext
55740 cat >>conftest.$ac_ext <<_ACEOF
55741 /* end confdefs.h.  */
55742 #include <math.h>
55743 int
55744 main ()
55745 {
55746  _copysign(0, 0);
55747   ;
55748   return 0;
55749 }
55750 _ACEOF
55751 rm -f conftest.$ac_objext
55752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55753   (eval $ac_compile) 2>conftest.er1
55754   ac_status=$?
55755   grep -v '^ *+' conftest.er1 >conftest.err
55756   rm -f conftest.er1
55757   cat conftest.err >&5
55758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55759   (exit $ac_status); } &&
55760          { ac_try='test -z "$ac_cxx_werror_flag"
55761                          || test ! -s conftest.err'
55762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55763   (eval $ac_try) 2>&5
55764   ac_status=$?
55765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55766   (exit $ac_status); }; } &&
55767          { ac_try='test -s conftest.$ac_objext'
55768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55769   (eval $ac_try) 2>&5
55770   ac_status=$?
55771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55772   (exit $ac_status); }; }; then
55773   glibcxx_cv_func__copysign_use=yes
55774 else
55775   echo "$as_me: failed program was:" >&5
55776 sed 's/^/| /' conftest.$ac_ext >&5
55777
55778 glibcxx_cv_func__copysign_use=no
55779 fi
55780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55781       ac_ext=c
55782 ac_cpp='$CPP $CPPFLAGS'
55783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55786
55787
55788 fi
55789
55790   fi
55791   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55792 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55793
55794     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55795
55796 for ac_func in _copysign
55797 do
55798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55799 echo "$as_me:$LINENO: checking for $ac_func" >&5
55800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55801 if eval "test \"\${$as_ac_var+set}\" = set"; then
55802   echo $ECHO_N "(cached) $ECHO_C" >&6
55803 else
55804   if test x$gcc_no_link = xyes; then
55805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55807    { (exit 1); exit 1; }; }
55808 fi
55809 cat >conftest.$ac_ext <<_ACEOF
55810 /* confdefs.h.  */
55811 _ACEOF
55812 cat confdefs.h >>conftest.$ac_ext
55813 cat >>conftest.$ac_ext <<_ACEOF
55814 /* end confdefs.h.  */
55815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55817 #define $ac_func innocuous_$ac_func
55818
55819 /* System header to define __stub macros and hopefully few prototypes,
55820     which can conflict with char $ac_func (); below.
55821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55822     <limits.h> exists even on freestanding compilers.  */
55823
55824 #ifdef __STDC__
55825 # include <limits.h>
55826 #else
55827 # include <assert.h>
55828 #endif
55829
55830 #undef $ac_func
55831
55832 /* Override any gcc2 internal prototype to avoid an error.  */
55833 #ifdef __cplusplus
55834 extern "C"
55835 {
55836 #endif
55837 /* We use char because int might match the return type of a gcc2
55838    builtin and then its argument prototype would still apply.  */
55839 char $ac_func ();
55840 /* The GNU C library defines this for functions which it implements
55841     to always fail with ENOSYS.  Some functions are actually named
55842     something starting with __ and the normal name is an alias.  */
55843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55844 choke me
55845 #else
55846 char (*f) () = $ac_func;
55847 #endif
55848 #ifdef __cplusplus
55849 }
55850 #endif
55851
55852 int
55853 main ()
55854 {
55855 return f != $ac_func;
55856   ;
55857   return 0;
55858 }
55859 _ACEOF
55860 rm -f conftest.$ac_objext conftest$ac_exeext
55861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55862   (eval $ac_link) 2>conftest.er1
55863   ac_status=$?
55864   grep -v '^ *+' conftest.er1 >conftest.err
55865   rm -f conftest.er1
55866   cat conftest.err >&5
55867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55868   (exit $ac_status); } &&
55869          { ac_try='test -z "$ac_c_werror_flag"
55870                          || test ! -s conftest.err'
55871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55872   (eval $ac_try) 2>&5
55873   ac_status=$?
55874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55875   (exit $ac_status); }; } &&
55876          { ac_try='test -s conftest$ac_exeext'
55877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55878   (eval $ac_try) 2>&5
55879   ac_status=$?
55880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55881   (exit $ac_status); }; }; then
55882   eval "$as_ac_var=yes"
55883 else
55884   echo "$as_me: failed program was:" >&5
55885 sed 's/^/| /' conftest.$ac_ext >&5
55886
55887 eval "$as_ac_var=no"
55888 fi
55889 rm -f conftest.err conftest.$ac_objext \
55890       conftest$ac_exeext conftest.$ac_ext
55891 fi
55892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55894 if test `eval echo '${'$as_ac_var'}'` = yes; then
55895   cat >>confdefs.h <<_ACEOF
55896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55897 _ACEOF
55898
55899 fi
55900 done
55901
55902     fi
55903   fi
55904
55905
55906
55907
55908
55909
55910   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55911 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55912   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55913     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55914   echo $ECHO_N "(cached) $ECHO_C" >&6
55915 else
55916
55917
55918
55919       ac_ext=cc
55920 ac_cpp='$CXXCPP $CPPFLAGS'
55921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55924
55925       cat >conftest.$ac_ext <<_ACEOF
55926 /* confdefs.h.  */
55927 _ACEOF
55928 cat confdefs.h >>conftest.$ac_ext
55929 cat >>conftest.$ac_ext <<_ACEOF
55930 /* end confdefs.h.  */
55931 #include <math.h>
55932 int
55933 main ()
55934 {
55935  sincos(0, 0, 0);
55936   ;
55937   return 0;
55938 }
55939 _ACEOF
55940 rm -f conftest.$ac_objext
55941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55942   (eval $ac_compile) 2>conftest.er1
55943   ac_status=$?
55944   grep -v '^ *+' conftest.er1 >conftest.err
55945   rm -f conftest.er1
55946   cat conftest.err >&5
55947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55948   (exit $ac_status); } &&
55949          { ac_try='test -z "$ac_cxx_werror_flag"
55950                          || test ! -s conftest.err'
55951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55952   (eval $ac_try) 2>&5
55953   ac_status=$?
55954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55955   (exit $ac_status); }; } &&
55956          { ac_try='test -s conftest.$ac_objext'
55957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55958   (eval $ac_try) 2>&5
55959   ac_status=$?
55960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55961   (exit $ac_status); }; }; then
55962   glibcxx_cv_func_sincos_use=yes
55963 else
55964   echo "$as_me: failed program was:" >&5
55965 sed 's/^/| /' conftest.$ac_ext >&5
55966
55967 glibcxx_cv_func_sincos_use=no
55968 fi
55969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55970       ac_ext=c
55971 ac_cpp='$CPP $CPPFLAGS'
55972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55975
55976
55977 fi
55978
55979   fi
55980   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55981 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55982
55983   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55984
55985 for ac_func in sincos
55986 do
55987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55988 echo "$as_me:$LINENO: checking for $ac_func" >&5
55989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55990 if eval "test \"\${$as_ac_var+set}\" = set"; then
55991   echo $ECHO_N "(cached) $ECHO_C" >&6
55992 else
55993   if test x$gcc_no_link = xyes; then
55994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55996    { (exit 1); exit 1; }; }
55997 fi
55998 cat >conftest.$ac_ext <<_ACEOF
55999 /* confdefs.h.  */
56000 _ACEOF
56001 cat confdefs.h >>conftest.$ac_ext
56002 cat >>conftest.$ac_ext <<_ACEOF
56003 /* end confdefs.h.  */
56004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56006 #define $ac_func innocuous_$ac_func
56007
56008 /* System header to define __stub macros and hopefully few prototypes,
56009     which can conflict with char $ac_func (); below.
56010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56011     <limits.h> exists even on freestanding compilers.  */
56012
56013 #ifdef __STDC__
56014 # include <limits.h>
56015 #else
56016 # include <assert.h>
56017 #endif
56018
56019 #undef $ac_func
56020
56021 /* Override any gcc2 internal prototype to avoid an error.  */
56022 #ifdef __cplusplus
56023 extern "C"
56024 {
56025 #endif
56026 /* We use char because int might match the return type of a gcc2
56027    builtin and then its argument prototype would still apply.  */
56028 char $ac_func ();
56029 /* The GNU C library defines this for functions which it implements
56030     to always fail with ENOSYS.  Some functions are actually named
56031     something starting with __ and the normal name is an alias.  */
56032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56033 choke me
56034 #else
56035 char (*f) () = $ac_func;
56036 #endif
56037 #ifdef __cplusplus
56038 }
56039 #endif
56040
56041 int
56042 main ()
56043 {
56044 return f != $ac_func;
56045   ;
56046   return 0;
56047 }
56048 _ACEOF
56049 rm -f conftest.$ac_objext conftest$ac_exeext
56050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56051   (eval $ac_link) 2>conftest.er1
56052   ac_status=$?
56053   grep -v '^ *+' conftest.er1 >conftest.err
56054   rm -f conftest.er1
56055   cat conftest.err >&5
56056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56057   (exit $ac_status); } &&
56058          { ac_try='test -z "$ac_c_werror_flag"
56059                          || test ! -s conftest.err'
56060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56061   (eval $ac_try) 2>&5
56062   ac_status=$?
56063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56064   (exit $ac_status); }; } &&
56065          { ac_try='test -s conftest$ac_exeext'
56066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56067   (eval $ac_try) 2>&5
56068   ac_status=$?
56069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56070   (exit $ac_status); }; }; then
56071   eval "$as_ac_var=yes"
56072 else
56073   echo "$as_me: failed program was:" >&5
56074 sed 's/^/| /' conftest.$ac_ext >&5
56075
56076 eval "$as_ac_var=no"
56077 fi
56078 rm -f conftest.err conftest.$ac_objext \
56079       conftest$ac_exeext conftest.$ac_ext
56080 fi
56081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56083 if test `eval echo '${'$as_ac_var'}'` = yes; then
56084   cat >>confdefs.h <<_ACEOF
56085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56086 _ACEOF
56087
56088 fi
56089 done
56090
56091   else
56092
56093   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56094 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56095   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56096     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56097   echo $ECHO_N "(cached) $ECHO_C" >&6
56098 else
56099
56100
56101
56102       ac_ext=cc
56103 ac_cpp='$CXXCPP $CPPFLAGS'
56104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56107
56108       cat >conftest.$ac_ext <<_ACEOF
56109 /* confdefs.h.  */
56110 _ACEOF
56111 cat confdefs.h >>conftest.$ac_ext
56112 cat >>conftest.$ac_ext <<_ACEOF
56113 /* end confdefs.h.  */
56114 #include <math.h>
56115 int
56116 main ()
56117 {
56118  _sincos(0, 0, 0);
56119   ;
56120   return 0;
56121 }
56122 _ACEOF
56123 rm -f conftest.$ac_objext
56124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56125   (eval $ac_compile) 2>conftest.er1
56126   ac_status=$?
56127   grep -v '^ *+' conftest.er1 >conftest.err
56128   rm -f conftest.er1
56129   cat conftest.err >&5
56130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56131   (exit $ac_status); } &&
56132          { ac_try='test -z "$ac_cxx_werror_flag"
56133                          || test ! -s conftest.err'
56134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56135   (eval $ac_try) 2>&5
56136   ac_status=$?
56137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56138   (exit $ac_status); }; } &&
56139          { ac_try='test -s conftest.$ac_objext'
56140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56141   (eval $ac_try) 2>&5
56142   ac_status=$?
56143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56144   (exit $ac_status); }; }; then
56145   glibcxx_cv_func__sincos_use=yes
56146 else
56147   echo "$as_me: failed program was:" >&5
56148 sed 's/^/| /' conftest.$ac_ext >&5
56149
56150 glibcxx_cv_func__sincos_use=no
56151 fi
56152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56153       ac_ext=c
56154 ac_cpp='$CPP $CPPFLAGS'
56155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56158
56159
56160 fi
56161
56162   fi
56163   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56164 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56165
56166     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56167
56168 for ac_func in _sincos
56169 do
56170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56171 echo "$as_me:$LINENO: checking for $ac_func" >&5
56172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56173 if eval "test \"\${$as_ac_var+set}\" = set"; then
56174   echo $ECHO_N "(cached) $ECHO_C" >&6
56175 else
56176   if test x$gcc_no_link = xyes; then
56177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56179    { (exit 1); exit 1; }; }
56180 fi
56181 cat >conftest.$ac_ext <<_ACEOF
56182 /* confdefs.h.  */
56183 _ACEOF
56184 cat confdefs.h >>conftest.$ac_ext
56185 cat >>conftest.$ac_ext <<_ACEOF
56186 /* end confdefs.h.  */
56187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56189 #define $ac_func innocuous_$ac_func
56190
56191 /* System header to define __stub macros and hopefully few prototypes,
56192     which can conflict with char $ac_func (); below.
56193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56194     <limits.h> exists even on freestanding compilers.  */
56195
56196 #ifdef __STDC__
56197 # include <limits.h>
56198 #else
56199 # include <assert.h>
56200 #endif
56201
56202 #undef $ac_func
56203
56204 /* Override any gcc2 internal prototype to avoid an error.  */
56205 #ifdef __cplusplus
56206 extern "C"
56207 {
56208 #endif
56209 /* We use char because int might match the return type of a gcc2
56210    builtin and then its argument prototype would still apply.  */
56211 char $ac_func ();
56212 /* The GNU C library defines this for functions which it implements
56213     to always fail with ENOSYS.  Some functions are actually named
56214     something starting with __ and the normal name is an alias.  */
56215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56216 choke me
56217 #else
56218 char (*f) () = $ac_func;
56219 #endif
56220 #ifdef __cplusplus
56221 }
56222 #endif
56223
56224 int
56225 main ()
56226 {
56227 return f != $ac_func;
56228   ;
56229   return 0;
56230 }
56231 _ACEOF
56232 rm -f conftest.$ac_objext conftest$ac_exeext
56233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56234   (eval $ac_link) 2>conftest.er1
56235   ac_status=$?
56236   grep -v '^ *+' conftest.er1 >conftest.err
56237   rm -f conftest.er1
56238   cat conftest.err >&5
56239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240   (exit $ac_status); } &&
56241          { ac_try='test -z "$ac_c_werror_flag"
56242                          || test ! -s conftest.err'
56243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56244   (eval $ac_try) 2>&5
56245   ac_status=$?
56246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56247   (exit $ac_status); }; } &&
56248          { ac_try='test -s conftest$ac_exeext'
56249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56250   (eval $ac_try) 2>&5
56251   ac_status=$?
56252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56253   (exit $ac_status); }; }; then
56254   eval "$as_ac_var=yes"
56255 else
56256   echo "$as_me: failed program was:" >&5
56257 sed 's/^/| /' conftest.$ac_ext >&5
56258
56259 eval "$as_ac_var=no"
56260 fi
56261 rm -f conftest.err conftest.$ac_objext \
56262       conftest$ac_exeext conftest.$ac_ext
56263 fi
56264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56266 if test `eval echo '${'$as_ac_var'}'` = yes; then
56267   cat >>confdefs.h <<_ACEOF
56268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56269 _ACEOF
56270
56271 fi
56272 done
56273
56274     fi
56275   fi
56276
56277
56278
56279
56280
56281
56282   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56283 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56284   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56285     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56286   echo $ECHO_N "(cached) $ECHO_C" >&6
56287 else
56288
56289
56290
56291       ac_ext=cc
56292 ac_cpp='$CXXCPP $CPPFLAGS'
56293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56296
56297       cat >conftest.$ac_ext <<_ACEOF
56298 /* confdefs.h.  */
56299 _ACEOF
56300 cat confdefs.h >>conftest.$ac_ext
56301 cat >>conftest.$ac_ext <<_ACEOF
56302 /* end confdefs.h.  */
56303 #include <math.h>
56304                       #ifdef HAVE_IEEEFP_H
56305                       #include <ieeefp.h>
56306                       #endif
56307
56308 int
56309 main ()
56310 {
56311  fpclass(0);
56312   ;
56313   return 0;
56314 }
56315 _ACEOF
56316 rm -f conftest.$ac_objext
56317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56318   (eval $ac_compile) 2>conftest.er1
56319   ac_status=$?
56320   grep -v '^ *+' conftest.er1 >conftest.err
56321   rm -f conftest.er1
56322   cat conftest.err >&5
56323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56324   (exit $ac_status); } &&
56325          { ac_try='test -z "$ac_cxx_werror_flag"
56326                          || test ! -s conftest.err'
56327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56328   (eval $ac_try) 2>&5
56329   ac_status=$?
56330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56331   (exit $ac_status); }; } &&
56332          { ac_try='test -s conftest.$ac_objext'
56333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56334   (eval $ac_try) 2>&5
56335   ac_status=$?
56336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56337   (exit $ac_status); }; }; then
56338   glibcxx_cv_func_fpclass_use=yes
56339 else
56340   echo "$as_me: failed program was:" >&5
56341 sed 's/^/| /' conftest.$ac_ext >&5
56342
56343 glibcxx_cv_func_fpclass_use=no
56344 fi
56345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56346       ac_ext=c
56347 ac_cpp='$CPP $CPPFLAGS'
56348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56351
56352
56353 fi
56354
56355   fi
56356   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56357 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56358
56359   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56360
56361 for ac_func in fpclass
56362 do
56363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56364 echo "$as_me:$LINENO: checking for $ac_func" >&5
56365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56366 if eval "test \"\${$as_ac_var+set}\" = set"; then
56367   echo $ECHO_N "(cached) $ECHO_C" >&6
56368 else
56369   if test x$gcc_no_link = xyes; then
56370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56372    { (exit 1); exit 1; }; }
56373 fi
56374 cat >conftest.$ac_ext <<_ACEOF
56375 /* confdefs.h.  */
56376 _ACEOF
56377 cat confdefs.h >>conftest.$ac_ext
56378 cat >>conftest.$ac_ext <<_ACEOF
56379 /* end confdefs.h.  */
56380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56382 #define $ac_func innocuous_$ac_func
56383
56384 /* System header to define __stub macros and hopefully few prototypes,
56385     which can conflict with char $ac_func (); below.
56386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56387     <limits.h> exists even on freestanding compilers.  */
56388
56389 #ifdef __STDC__
56390 # include <limits.h>
56391 #else
56392 # include <assert.h>
56393 #endif
56394
56395 #undef $ac_func
56396
56397 /* Override any gcc2 internal prototype to avoid an error.  */
56398 #ifdef __cplusplus
56399 extern "C"
56400 {
56401 #endif
56402 /* We use char because int might match the return type of a gcc2
56403    builtin and then its argument prototype would still apply.  */
56404 char $ac_func ();
56405 /* The GNU C library defines this for functions which it implements
56406     to always fail with ENOSYS.  Some functions are actually named
56407     something starting with __ and the normal name is an alias.  */
56408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56409 choke me
56410 #else
56411 char (*f) () = $ac_func;
56412 #endif
56413 #ifdef __cplusplus
56414 }
56415 #endif
56416
56417 int
56418 main ()
56419 {
56420 return f != $ac_func;
56421   ;
56422   return 0;
56423 }
56424 _ACEOF
56425 rm -f conftest.$ac_objext conftest$ac_exeext
56426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56427   (eval $ac_link) 2>conftest.er1
56428   ac_status=$?
56429   grep -v '^ *+' conftest.er1 >conftest.err
56430   rm -f conftest.er1
56431   cat conftest.err >&5
56432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56433   (exit $ac_status); } &&
56434          { ac_try='test -z "$ac_c_werror_flag"
56435                          || test ! -s conftest.err'
56436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56437   (eval $ac_try) 2>&5
56438   ac_status=$?
56439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56440   (exit $ac_status); }; } &&
56441          { ac_try='test -s conftest$ac_exeext'
56442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56443   (eval $ac_try) 2>&5
56444   ac_status=$?
56445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56446   (exit $ac_status); }; }; then
56447   eval "$as_ac_var=yes"
56448 else
56449   echo "$as_me: failed program was:" >&5
56450 sed 's/^/| /' conftest.$ac_ext >&5
56451
56452 eval "$as_ac_var=no"
56453 fi
56454 rm -f conftest.err conftest.$ac_objext \
56455       conftest$ac_exeext conftest.$ac_ext
56456 fi
56457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56459 if test `eval echo '${'$as_ac_var'}'` = yes; then
56460   cat >>confdefs.h <<_ACEOF
56461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56462 _ACEOF
56463
56464 fi
56465 done
56466
56467   else
56468
56469   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56470 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56471   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56472     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56473   echo $ECHO_N "(cached) $ECHO_C" >&6
56474 else
56475
56476
56477
56478       ac_ext=cc
56479 ac_cpp='$CXXCPP $CPPFLAGS'
56480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56483
56484       cat >conftest.$ac_ext <<_ACEOF
56485 /* confdefs.h.  */
56486 _ACEOF
56487 cat confdefs.h >>conftest.$ac_ext
56488 cat >>conftest.$ac_ext <<_ACEOF
56489 /* end confdefs.h.  */
56490 #include <math.h>
56491                       #ifdef HAVE_IEEEFP_H
56492                       #include <ieeefp.h>
56493                       #endif
56494
56495 int
56496 main ()
56497 {
56498  _fpclass(0);
56499   ;
56500   return 0;
56501 }
56502 _ACEOF
56503 rm -f conftest.$ac_objext
56504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56505   (eval $ac_compile) 2>conftest.er1
56506   ac_status=$?
56507   grep -v '^ *+' conftest.er1 >conftest.err
56508   rm -f conftest.er1
56509   cat conftest.err >&5
56510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56511   (exit $ac_status); } &&
56512          { ac_try='test -z "$ac_cxx_werror_flag"
56513                          || test ! -s conftest.err'
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); }; } &&
56519          { ac_try='test -s conftest.$ac_objext'
56520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56521   (eval $ac_try) 2>&5
56522   ac_status=$?
56523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56524   (exit $ac_status); }; }; then
56525   glibcxx_cv_func__fpclass_use=yes
56526 else
56527   echo "$as_me: failed program was:" >&5
56528 sed 's/^/| /' conftest.$ac_ext >&5
56529
56530 glibcxx_cv_func__fpclass_use=no
56531 fi
56532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56533       ac_ext=c
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56538
56539
56540 fi
56541
56542   fi
56543   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56544 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56545
56546     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56547
56548 for ac_func in _fpclass
56549 do
56550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56551 echo "$as_me:$LINENO: checking for $ac_func" >&5
56552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56553 if eval "test \"\${$as_ac_var+set}\" = set"; then
56554   echo $ECHO_N "(cached) $ECHO_C" >&6
56555 else
56556   if test x$gcc_no_link = xyes; then
56557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56559    { (exit 1); exit 1; }; }
56560 fi
56561 cat >conftest.$ac_ext <<_ACEOF
56562 /* confdefs.h.  */
56563 _ACEOF
56564 cat confdefs.h >>conftest.$ac_ext
56565 cat >>conftest.$ac_ext <<_ACEOF
56566 /* end confdefs.h.  */
56567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56569 #define $ac_func innocuous_$ac_func
56570
56571 /* System header to define __stub macros and hopefully few prototypes,
56572     which can conflict with char $ac_func (); below.
56573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56574     <limits.h> exists even on freestanding compilers.  */
56575
56576 #ifdef __STDC__
56577 # include <limits.h>
56578 #else
56579 # include <assert.h>
56580 #endif
56581
56582 #undef $ac_func
56583
56584 /* Override any gcc2 internal prototype to avoid an error.  */
56585 #ifdef __cplusplus
56586 extern "C"
56587 {
56588 #endif
56589 /* We use char because int might match the return type of a gcc2
56590    builtin and then its argument prototype would still apply.  */
56591 char $ac_func ();
56592 /* The GNU C library defines this for functions which it implements
56593     to always fail with ENOSYS.  Some functions are actually named
56594     something starting with __ and the normal name is an alias.  */
56595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56596 choke me
56597 #else
56598 char (*f) () = $ac_func;
56599 #endif
56600 #ifdef __cplusplus
56601 }
56602 #endif
56603
56604 int
56605 main ()
56606 {
56607 return f != $ac_func;
56608   ;
56609   return 0;
56610 }
56611 _ACEOF
56612 rm -f conftest.$ac_objext conftest$ac_exeext
56613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56614   (eval $ac_link) 2>conftest.er1
56615   ac_status=$?
56616   grep -v '^ *+' conftest.er1 >conftest.err
56617   rm -f conftest.er1
56618   cat conftest.err >&5
56619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56620   (exit $ac_status); } &&
56621          { ac_try='test -z "$ac_c_werror_flag"
56622                          || test ! -s conftest.err'
56623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56624   (eval $ac_try) 2>&5
56625   ac_status=$?
56626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56627   (exit $ac_status); }; } &&
56628          { ac_try='test -s conftest$ac_exeext'
56629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56630   (eval $ac_try) 2>&5
56631   ac_status=$?
56632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56633   (exit $ac_status); }; }; then
56634   eval "$as_ac_var=yes"
56635 else
56636   echo "$as_me: failed program was:" >&5
56637 sed 's/^/| /' conftest.$ac_ext >&5
56638
56639 eval "$as_ac_var=no"
56640 fi
56641 rm -f conftest.err conftest.$ac_objext \
56642       conftest$ac_exeext conftest.$ac_ext
56643 fi
56644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56646 if test `eval echo '${'$as_ac_var'}'` = yes; then
56647   cat >>confdefs.h <<_ACEOF
56648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56649 _ACEOF
56650
56651 fi
56652 done
56653
56654     fi
56655   fi
56656
56657
56658
56659
56660
56661
56662   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56663 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56664   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56665     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56666   echo $ECHO_N "(cached) $ECHO_C" >&6
56667 else
56668
56669
56670
56671       ac_ext=cc
56672 ac_cpp='$CXXCPP $CPPFLAGS'
56673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56676
56677       cat >conftest.$ac_ext <<_ACEOF
56678 /* confdefs.h.  */
56679 _ACEOF
56680 cat confdefs.h >>conftest.$ac_ext
56681 cat >>conftest.$ac_ext <<_ACEOF
56682 /* end confdefs.h.  */
56683 #include <math.h>
56684                       #ifdef HAVE_IEEEFP_H
56685                       #include <ieeefp.h>
56686                       #endif
56687
56688 int
56689 main ()
56690 {
56691  qfpclass(0);
56692   ;
56693   return 0;
56694 }
56695 _ACEOF
56696 rm -f conftest.$ac_objext
56697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56698   (eval $ac_compile) 2>conftest.er1
56699   ac_status=$?
56700   grep -v '^ *+' conftest.er1 >conftest.err
56701   rm -f conftest.er1
56702   cat conftest.err >&5
56703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56704   (exit $ac_status); } &&
56705          { ac_try='test -z "$ac_cxx_werror_flag"
56706                          || test ! -s conftest.err'
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); }; } &&
56712          { ac_try='test -s conftest.$ac_objext'
56713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56714   (eval $ac_try) 2>&5
56715   ac_status=$?
56716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56717   (exit $ac_status); }; }; then
56718   glibcxx_cv_func_qfpclass_use=yes
56719 else
56720   echo "$as_me: failed program was:" >&5
56721 sed 's/^/| /' conftest.$ac_ext >&5
56722
56723 glibcxx_cv_func_qfpclass_use=no
56724 fi
56725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56726       ac_ext=c
56727 ac_cpp='$CPP $CPPFLAGS'
56728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56731
56732
56733 fi
56734
56735   fi
56736   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56737 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56738
56739   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56740
56741 for ac_func in qfpclass
56742 do
56743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56744 echo "$as_me:$LINENO: checking for $ac_func" >&5
56745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56746 if eval "test \"\${$as_ac_var+set}\" = set"; then
56747   echo $ECHO_N "(cached) $ECHO_C" >&6
56748 else
56749   if test x$gcc_no_link = xyes; then
56750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56752    { (exit 1); exit 1; }; }
56753 fi
56754 cat >conftest.$ac_ext <<_ACEOF
56755 /* confdefs.h.  */
56756 _ACEOF
56757 cat confdefs.h >>conftest.$ac_ext
56758 cat >>conftest.$ac_ext <<_ACEOF
56759 /* end confdefs.h.  */
56760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56762 #define $ac_func innocuous_$ac_func
56763
56764 /* System header to define __stub macros and hopefully few prototypes,
56765     which can conflict with char $ac_func (); below.
56766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56767     <limits.h> exists even on freestanding compilers.  */
56768
56769 #ifdef __STDC__
56770 # include <limits.h>
56771 #else
56772 # include <assert.h>
56773 #endif
56774
56775 #undef $ac_func
56776
56777 /* Override any gcc2 internal prototype to avoid an error.  */
56778 #ifdef __cplusplus
56779 extern "C"
56780 {
56781 #endif
56782 /* We use char because int might match the return type of a gcc2
56783    builtin and then its argument prototype would still apply.  */
56784 char $ac_func ();
56785 /* The GNU C library defines this for functions which it implements
56786     to always fail with ENOSYS.  Some functions are actually named
56787     something starting with __ and the normal name is an alias.  */
56788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56789 choke me
56790 #else
56791 char (*f) () = $ac_func;
56792 #endif
56793 #ifdef __cplusplus
56794 }
56795 #endif
56796
56797 int
56798 main ()
56799 {
56800 return f != $ac_func;
56801   ;
56802   return 0;
56803 }
56804 _ACEOF
56805 rm -f conftest.$ac_objext conftest$ac_exeext
56806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56807   (eval $ac_link) 2>conftest.er1
56808   ac_status=$?
56809   grep -v '^ *+' conftest.er1 >conftest.err
56810   rm -f conftest.er1
56811   cat conftest.err >&5
56812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56813   (exit $ac_status); } &&
56814          { ac_try='test -z "$ac_c_werror_flag"
56815                          || test ! -s conftest.err'
56816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56817   (eval $ac_try) 2>&5
56818   ac_status=$?
56819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56820   (exit $ac_status); }; } &&
56821          { ac_try='test -s conftest$ac_exeext'
56822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56823   (eval $ac_try) 2>&5
56824   ac_status=$?
56825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56826   (exit $ac_status); }; }; then
56827   eval "$as_ac_var=yes"
56828 else
56829   echo "$as_me: failed program was:" >&5
56830 sed 's/^/| /' conftest.$ac_ext >&5
56831
56832 eval "$as_ac_var=no"
56833 fi
56834 rm -f conftest.err conftest.$ac_objext \
56835       conftest$ac_exeext conftest.$ac_ext
56836 fi
56837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56839 if test `eval echo '${'$as_ac_var'}'` = yes; then
56840   cat >>confdefs.h <<_ACEOF
56841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56842 _ACEOF
56843
56844 fi
56845 done
56846
56847   else
56848
56849   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56850 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56851   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56852     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56853   echo $ECHO_N "(cached) $ECHO_C" >&6
56854 else
56855
56856
56857
56858       ac_ext=cc
56859 ac_cpp='$CXXCPP $CPPFLAGS'
56860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56863
56864       cat >conftest.$ac_ext <<_ACEOF
56865 /* confdefs.h.  */
56866 _ACEOF
56867 cat confdefs.h >>conftest.$ac_ext
56868 cat >>conftest.$ac_ext <<_ACEOF
56869 /* end confdefs.h.  */
56870 #include <math.h>
56871                       #ifdef HAVE_IEEEFP_H
56872                       #include <ieeefp.h>
56873                       #endif
56874
56875 int
56876 main ()
56877 {
56878  _qfpclass(0);
56879   ;
56880   return 0;
56881 }
56882 _ACEOF
56883 rm -f conftest.$ac_objext
56884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56885   (eval $ac_compile) 2>conftest.er1
56886   ac_status=$?
56887   grep -v '^ *+' conftest.er1 >conftest.err
56888   rm -f conftest.er1
56889   cat conftest.err >&5
56890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891   (exit $ac_status); } &&
56892          { ac_try='test -z "$ac_cxx_werror_flag"
56893                          || test ! -s conftest.err'
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); }; } &&
56899          { ac_try='test -s conftest.$ac_objext'
56900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56901   (eval $ac_try) 2>&5
56902   ac_status=$?
56903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56904   (exit $ac_status); }; }; then
56905   glibcxx_cv_func__qfpclass_use=yes
56906 else
56907   echo "$as_me: failed program was:" >&5
56908 sed 's/^/| /' conftest.$ac_ext >&5
56909
56910 glibcxx_cv_func__qfpclass_use=no
56911 fi
56912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56913       ac_ext=c
56914 ac_cpp='$CPP $CPPFLAGS'
56915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56918
56919
56920 fi
56921
56922   fi
56923   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56924 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56925
56926     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56927
56928 for ac_func in _qfpclass
56929 do
56930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56931 echo "$as_me:$LINENO: checking for $ac_func" >&5
56932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56933 if eval "test \"\${$as_ac_var+set}\" = set"; then
56934   echo $ECHO_N "(cached) $ECHO_C" >&6
56935 else
56936   if test x$gcc_no_link = xyes; then
56937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56939    { (exit 1); exit 1; }; }
56940 fi
56941 cat >conftest.$ac_ext <<_ACEOF
56942 /* confdefs.h.  */
56943 _ACEOF
56944 cat confdefs.h >>conftest.$ac_ext
56945 cat >>conftest.$ac_ext <<_ACEOF
56946 /* end confdefs.h.  */
56947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56949 #define $ac_func innocuous_$ac_func
56950
56951 /* System header to define __stub macros and hopefully few prototypes,
56952     which can conflict with char $ac_func (); below.
56953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56954     <limits.h> exists even on freestanding compilers.  */
56955
56956 #ifdef __STDC__
56957 # include <limits.h>
56958 #else
56959 # include <assert.h>
56960 #endif
56961
56962 #undef $ac_func
56963
56964 /* Override any gcc2 internal prototype to avoid an error.  */
56965 #ifdef __cplusplus
56966 extern "C"
56967 {
56968 #endif
56969 /* We use char because int might match the return type of a gcc2
56970    builtin and then its argument prototype would still apply.  */
56971 char $ac_func ();
56972 /* The GNU C library defines this for functions which it implements
56973     to always fail with ENOSYS.  Some functions are actually named
56974     something starting with __ and the normal name is an alias.  */
56975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56976 choke me
56977 #else
56978 char (*f) () = $ac_func;
56979 #endif
56980 #ifdef __cplusplus
56981 }
56982 #endif
56983
56984 int
56985 main ()
56986 {
56987 return f != $ac_func;
56988   ;
56989   return 0;
56990 }
56991 _ACEOF
56992 rm -f conftest.$ac_objext conftest$ac_exeext
56993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56994   (eval $ac_link) 2>conftest.er1
56995   ac_status=$?
56996   grep -v '^ *+' conftest.er1 >conftest.err
56997   rm -f conftest.er1
56998   cat conftest.err >&5
56999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57000   (exit $ac_status); } &&
57001          { ac_try='test -z "$ac_c_werror_flag"
57002                          || test ! -s conftest.err'
57003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57004   (eval $ac_try) 2>&5
57005   ac_status=$?
57006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57007   (exit $ac_status); }; } &&
57008          { ac_try='test -s conftest$ac_exeext'
57009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57010   (eval $ac_try) 2>&5
57011   ac_status=$?
57012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57013   (exit $ac_status); }; }; then
57014   eval "$as_ac_var=yes"
57015 else
57016   echo "$as_me: failed program was:" >&5
57017 sed 's/^/| /' conftest.$ac_ext >&5
57018
57019 eval "$as_ac_var=no"
57020 fi
57021 rm -f conftest.err conftest.$ac_objext \
57022       conftest$ac_exeext conftest.$ac_ext
57023 fi
57024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57026 if test `eval echo '${'$as_ac_var'}'` = yes; then
57027   cat >>confdefs.h <<_ACEOF
57028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57029 _ACEOF
57030
57031 fi
57032 done
57033
57034     fi
57035   fi
57036
57037
57038
57039
57040
57041
57042   echo "$as_me:$LINENO: checking for hypot declaration" >&5
57043 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57044   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57045     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57046   echo $ECHO_N "(cached) $ECHO_C" >&6
57047 else
57048
57049
57050
57051       ac_ext=cc
57052 ac_cpp='$CXXCPP $CPPFLAGS'
57053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57056
57057       cat >conftest.$ac_ext <<_ACEOF
57058 /* confdefs.h.  */
57059 _ACEOF
57060 cat confdefs.h >>conftest.$ac_ext
57061 cat >>conftest.$ac_ext <<_ACEOF
57062 /* end confdefs.h.  */
57063 #include <math.h>
57064 int
57065 main ()
57066 {
57067  hypot(0, 0);
57068   ;
57069   return 0;
57070 }
57071 _ACEOF
57072 rm -f conftest.$ac_objext
57073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57074   (eval $ac_compile) 2>conftest.er1
57075   ac_status=$?
57076   grep -v '^ *+' conftest.er1 >conftest.err
57077   rm -f conftest.er1
57078   cat conftest.err >&5
57079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57080   (exit $ac_status); } &&
57081          { ac_try='test -z "$ac_cxx_werror_flag"
57082                          || test ! -s conftest.err'
57083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57084   (eval $ac_try) 2>&5
57085   ac_status=$?
57086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57087   (exit $ac_status); }; } &&
57088          { ac_try='test -s conftest.$ac_objext'
57089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57090   (eval $ac_try) 2>&5
57091   ac_status=$?
57092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57093   (exit $ac_status); }; }; then
57094   glibcxx_cv_func_hypot_use=yes
57095 else
57096   echo "$as_me: failed program was:" >&5
57097 sed 's/^/| /' conftest.$ac_ext >&5
57098
57099 glibcxx_cv_func_hypot_use=no
57100 fi
57101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57102       ac_ext=c
57103 ac_cpp='$CPP $CPPFLAGS'
57104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57107
57108
57109 fi
57110
57111   fi
57112   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57113 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57114
57115   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57116
57117 for ac_func in hypot
57118 do
57119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57120 echo "$as_me:$LINENO: checking for $ac_func" >&5
57121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57122 if eval "test \"\${$as_ac_var+set}\" = set"; then
57123   echo $ECHO_N "(cached) $ECHO_C" >&6
57124 else
57125   if test x$gcc_no_link = xyes; then
57126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57128    { (exit 1); exit 1; }; }
57129 fi
57130 cat >conftest.$ac_ext <<_ACEOF
57131 /* confdefs.h.  */
57132 _ACEOF
57133 cat confdefs.h >>conftest.$ac_ext
57134 cat >>conftest.$ac_ext <<_ACEOF
57135 /* end confdefs.h.  */
57136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57138 #define $ac_func innocuous_$ac_func
57139
57140 /* System header to define __stub macros and hopefully few prototypes,
57141     which can conflict with char $ac_func (); below.
57142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57143     <limits.h> exists even on freestanding compilers.  */
57144
57145 #ifdef __STDC__
57146 # include <limits.h>
57147 #else
57148 # include <assert.h>
57149 #endif
57150
57151 #undef $ac_func
57152
57153 /* Override any gcc2 internal prototype to avoid an error.  */
57154 #ifdef __cplusplus
57155 extern "C"
57156 {
57157 #endif
57158 /* We use char because int might match the return type of a gcc2
57159    builtin and then its argument prototype would still apply.  */
57160 char $ac_func ();
57161 /* The GNU C library defines this for functions which it implements
57162     to always fail with ENOSYS.  Some functions are actually named
57163     something starting with __ and the normal name is an alias.  */
57164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57165 choke me
57166 #else
57167 char (*f) () = $ac_func;
57168 #endif
57169 #ifdef __cplusplus
57170 }
57171 #endif
57172
57173 int
57174 main ()
57175 {
57176 return f != $ac_func;
57177   ;
57178   return 0;
57179 }
57180 _ACEOF
57181 rm -f conftest.$ac_objext conftest$ac_exeext
57182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57183   (eval $ac_link) 2>conftest.er1
57184   ac_status=$?
57185   grep -v '^ *+' conftest.er1 >conftest.err
57186   rm -f conftest.er1
57187   cat conftest.err >&5
57188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57189   (exit $ac_status); } &&
57190          { ac_try='test -z "$ac_c_werror_flag"
57191                          || test ! -s conftest.err'
57192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57193   (eval $ac_try) 2>&5
57194   ac_status=$?
57195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57196   (exit $ac_status); }; } &&
57197          { ac_try='test -s conftest$ac_exeext'
57198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57199   (eval $ac_try) 2>&5
57200   ac_status=$?
57201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57202   (exit $ac_status); }; }; then
57203   eval "$as_ac_var=yes"
57204 else
57205   echo "$as_me: failed program was:" >&5
57206 sed 's/^/| /' conftest.$ac_ext >&5
57207
57208 eval "$as_ac_var=no"
57209 fi
57210 rm -f conftest.err conftest.$ac_objext \
57211       conftest$ac_exeext conftest.$ac_ext
57212 fi
57213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57215 if test `eval echo '${'$as_ac_var'}'` = yes; then
57216   cat >>confdefs.h <<_ACEOF
57217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57218 _ACEOF
57219
57220 fi
57221 done
57222
57223   else
57224
57225   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57226 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57227   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57228     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57229   echo $ECHO_N "(cached) $ECHO_C" >&6
57230 else
57231
57232
57233
57234       ac_ext=cc
57235 ac_cpp='$CXXCPP $CPPFLAGS'
57236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57239
57240       cat >conftest.$ac_ext <<_ACEOF
57241 /* confdefs.h.  */
57242 _ACEOF
57243 cat confdefs.h >>conftest.$ac_ext
57244 cat >>conftest.$ac_ext <<_ACEOF
57245 /* end confdefs.h.  */
57246 #include <math.h>
57247 int
57248 main ()
57249 {
57250  _hypot(0, 0);
57251   ;
57252   return 0;
57253 }
57254 _ACEOF
57255 rm -f conftest.$ac_objext
57256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57257   (eval $ac_compile) 2>conftest.er1
57258   ac_status=$?
57259   grep -v '^ *+' conftest.er1 >conftest.err
57260   rm -f conftest.er1
57261   cat conftest.err >&5
57262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57263   (exit $ac_status); } &&
57264          { ac_try='test -z "$ac_cxx_werror_flag"
57265                          || test ! -s conftest.err'
57266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57267   (eval $ac_try) 2>&5
57268   ac_status=$?
57269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57270   (exit $ac_status); }; } &&
57271          { ac_try='test -s conftest.$ac_objext'
57272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57273   (eval $ac_try) 2>&5
57274   ac_status=$?
57275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57276   (exit $ac_status); }; }; then
57277   glibcxx_cv_func__hypot_use=yes
57278 else
57279   echo "$as_me: failed program was:" >&5
57280 sed 's/^/| /' conftest.$ac_ext >&5
57281
57282 glibcxx_cv_func__hypot_use=no
57283 fi
57284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57285       ac_ext=c
57286 ac_cpp='$CPP $CPPFLAGS'
57287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57290
57291
57292 fi
57293
57294   fi
57295   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57296 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57297
57298     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57299
57300 for ac_func in _hypot
57301 do
57302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57303 echo "$as_me:$LINENO: checking for $ac_func" >&5
57304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57305 if eval "test \"\${$as_ac_var+set}\" = set"; then
57306   echo $ECHO_N "(cached) $ECHO_C" >&6
57307 else
57308   if test x$gcc_no_link = xyes; then
57309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57311    { (exit 1); exit 1; }; }
57312 fi
57313 cat >conftest.$ac_ext <<_ACEOF
57314 /* confdefs.h.  */
57315 _ACEOF
57316 cat confdefs.h >>conftest.$ac_ext
57317 cat >>conftest.$ac_ext <<_ACEOF
57318 /* end confdefs.h.  */
57319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57321 #define $ac_func innocuous_$ac_func
57322
57323 /* System header to define __stub macros and hopefully few prototypes,
57324     which can conflict with char $ac_func (); below.
57325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57326     <limits.h> exists even on freestanding compilers.  */
57327
57328 #ifdef __STDC__
57329 # include <limits.h>
57330 #else
57331 # include <assert.h>
57332 #endif
57333
57334 #undef $ac_func
57335
57336 /* Override any gcc2 internal prototype to avoid an error.  */
57337 #ifdef __cplusplus
57338 extern "C"
57339 {
57340 #endif
57341 /* We use char because int might match the return type of a gcc2
57342    builtin and then its argument prototype would still apply.  */
57343 char $ac_func ();
57344 /* The GNU C library defines this for functions which it implements
57345     to always fail with ENOSYS.  Some functions are actually named
57346     something starting with __ and the normal name is an alias.  */
57347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57348 choke me
57349 #else
57350 char (*f) () = $ac_func;
57351 #endif
57352 #ifdef __cplusplus
57353 }
57354 #endif
57355
57356 int
57357 main ()
57358 {
57359 return f != $ac_func;
57360   ;
57361   return 0;
57362 }
57363 _ACEOF
57364 rm -f conftest.$ac_objext conftest$ac_exeext
57365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57366   (eval $ac_link) 2>conftest.er1
57367   ac_status=$?
57368   grep -v '^ *+' conftest.er1 >conftest.err
57369   rm -f conftest.er1
57370   cat conftest.err >&5
57371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57372   (exit $ac_status); } &&
57373          { ac_try='test -z "$ac_c_werror_flag"
57374                          || test ! -s conftest.err'
57375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57376   (eval $ac_try) 2>&5
57377   ac_status=$?
57378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57379   (exit $ac_status); }; } &&
57380          { ac_try='test -s conftest$ac_exeext'
57381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57382   (eval $ac_try) 2>&5
57383   ac_status=$?
57384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57385   (exit $ac_status); }; }; then
57386   eval "$as_ac_var=yes"
57387 else
57388   echo "$as_me: failed program was:" >&5
57389 sed 's/^/| /' conftest.$ac_ext >&5
57390
57391 eval "$as_ac_var=no"
57392 fi
57393 rm -f conftest.err conftest.$ac_objext \
57394       conftest$ac_exeext conftest.$ac_ext
57395 fi
57396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57398 if test `eval echo '${'$as_ac_var'}'` = yes; then
57399   cat >>confdefs.h <<_ACEOF
57400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57401 _ACEOF
57402
57403 fi
57404 done
57405
57406     fi
57407   fi
57408
57409
57410
57411
57412
57413
57414     echo "$as_me:$LINENO: checking for float trig functions" >&5
57415 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57416   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57417   echo $ECHO_N "(cached) $ECHO_C" >&6
57418 else
57419
57420
57421
57422     ac_ext=cc
57423 ac_cpp='$CXXCPP $CPPFLAGS'
57424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57427
57428     cat >conftest.$ac_ext <<_ACEOF
57429 /* confdefs.h.  */
57430 _ACEOF
57431 cat confdefs.h >>conftest.$ac_ext
57432 cat >>conftest.$ac_ext <<_ACEOF
57433 /* end confdefs.h.  */
57434 #include <math.h>
57435 int
57436 main ()
57437 {
57438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57439   ;
57440   return 0;
57441 }
57442 _ACEOF
57443 rm -f conftest.$ac_objext
57444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57445   (eval $ac_compile) 2>conftest.er1
57446   ac_status=$?
57447   grep -v '^ *+' conftest.er1 >conftest.err
57448   rm -f conftest.er1
57449   cat conftest.err >&5
57450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451   (exit $ac_status); } &&
57452          { ac_try='test -z "$ac_cxx_werror_flag"
57453                          || test ! -s conftest.err'
57454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57455   (eval $ac_try) 2>&5
57456   ac_status=$?
57457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57458   (exit $ac_status); }; } &&
57459          { ac_try='test -s conftest.$ac_objext'
57460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57461   (eval $ac_try) 2>&5
57462   ac_status=$?
57463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57464   (exit $ac_status); }; }; then
57465   glibcxx_cv_func_float_trig_use=yes
57466 else
57467   echo "$as_me: failed program was:" >&5
57468 sed 's/^/| /' conftest.$ac_ext >&5
57469
57470 glibcxx_cv_func_float_trig_use=no
57471 fi
57472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57473     ac_ext=c
57474 ac_cpp='$CPP $CPPFLAGS'
57475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57478
57479 fi
57480
57481   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57482 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57483   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57494 do
57495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57496 echo "$as_me:$LINENO: checking for $ac_func" >&5
57497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57498 if eval "test \"\${$as_ac_var+set}\" = set"; then
57499   echo $ECHO_N "(cached) $ECHO_C" >&6
57500 else
57501   if test x$gcc_no_link = xyes; then
57502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57504    { (exit 1); exit 1; }; }
57505 fi
57506 cat >conftest.$ac_ext <<_ACEOF
57507 /* confdefs.h.  */
57508 _ACEOF
57509 cat confdefs.h >>conftest.$ac_ext
57510 cat >>conftest.$ac_ext <<_ACEOF
57511 /* end confdefs.h.  */
57512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57514 #define $ac_func innocuous_$ac_func
57515
57516 /* System header to define __stub macros and hopefully few prototypes,
57517     which can conflict with char $ac_func (); below.
57518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57519     <limits.h> exists even on freestanding compilers.  */
57520
57521 #ifdef __STDC__
57522 # include <limits.h>
57523 #else
57524 # include <assert.h>
57525 #endif
57526
57527 #undef $ac_func
57528
57529 /* Override any gcc2 internal prototype to avoid an error.  */
57530 #ifdef __cplusplus
57531 extern "C"
57532 {
57533 #endif
57534 /* We use char because int might match the return type of a gcc2
57535    builtin and then its argument prototype would still apply.  */
57536 char $ac_func ();
57537 /* The GNU C library defines this for functions which it implements
57538     to always fail with ENOSYS.  Some functions are actually named
57539     something starting with __ and the normal name is an alias.  */
57540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57541 choke me
57542 #else
57543 char (*f) () = $ac_func;
57544 #endif
57545 #ifdef __cplusplus
57546 }
57547 #endif
57548
57549 int
57550 main ()
57551 {
57552 return f != $ac_func;
57553   ;
57554   return 0;
57555 }
57556 _ACEOF
57557 rm -f conftest.$ac_objext conftest$ac_exeext
57558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57559   (eval $ac_link) 2>conftest.er1
57560   ac_status=$?
57561   grep -v '^ *+' conftest.er1 >conftest.err
57562   rm -f conftest.er1
57563   cat conftest.err >&5
57564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57565   (exit $ac_status); } &&
57566          { ac_try='test -z "$ac_c_werror_flag"
57567                          || test ! -s conftest.err'
57568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57569   (eval $ac_try) 2>&5
57570   ac_status=$?
57571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57572   (exit $ac_status); }; } &&
57573          { ac_try='test -s conftest$ac_exeext'
57574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57575   (eval $ac_try) 2>&5
57576   ac_status=$?
57577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57578   (exit $ac_status); }; }; then
57579   eval "$as_ac_var=yes"
57580 else
57581   echo "$as_me: failed program was:" >&5
57582 sed 's/^/| /' conftest.$ac_ext >&5
57583
57584 eval "$as_ac_var=no"
57585 fi
57586 rm -f conftest.err conftest.$ac_objext \
57587       conftest$ac_exeext conftest.$ac_ext
57588 fi
57589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57591 if test `eval echo '${'$as_ac_var'}'` = yes; then
57592   cat >>confdefs.h <<_ACEOF
57593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57594 _ACEOF
57595
57596 fi
57597 done
57598
57599   else
57600     echo "$as_me:$LINENO: checking for _float trig functions" >&5
57601 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57602     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57603   echo $ECHO_N "(cached) $ECHO_C" >&6
57604 else
57605
57606
57607
57608       ac_ext=cc
57609 ac_cpp='$CXXCPP $CPPFLAGS'
57610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57613
57614       cat >conftest.$ac_ext <<_ACEOF
57615 /* confdefs.h.  */
57616 _ACEOF
57617 cat confdefs.h >>conftest.$ac_ext
57618 cat >>conftest.$ac_ext <<_ACEOF
57619 /* end confdefs.h.  */
57620 #include <math.h>
57621 int
57622 main ()
57623 {
57624 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57625   ;
57626   return 0;
57627 }
57628 _ACEOF
57629 rm -f conftest.$ac_objext
57630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57631   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__float_trig_use=yes
57652 else
57653   echo "$as_me: failed program was:" >&5
57654 sed 's/^/| /' conftest.$ac_ext >&5
57655
57656 glibcxx_cv_func__float_trig_use=no
57657 fi
57658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57659       ac_ext=c
57660 ac_cpp='$CPP $CPPFLAGS'
57661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57664
57665 fi
57666
57667     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57668 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57669     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57680 do
57681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57682 echo "$as_me:$LINENO: checking for $ac_func" >&5
57683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57684 if eval "test \"\${$as_ac_var+set}\" = set"; then
57685   echo $ECHO_N "(cached) $ECHO_C" >&6
57686 else
57687   if test x$gcc_no_link = xyes; then
57688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57690    { (exit 1); exit 1; }; }
57691 fi
57692 cat >conftest.$ac_ext <<_ACEOF
57693 /* confdefs.h.  */
57694 _ACEOF
57695 cat confdefs.h >>conftest.$ac_ext
57696 cat >>conftest.$ac_ext <<_ACEOF
57697 /* end confdefs.h.  */
57698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57700 #define $ac_func innocuous_$ac_func
57701
57702 /* System header to define __stub macros and hopefully few prototypes,
57703     which can conflict with char $ac_func (); below.
57704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57705     <limits.h> exists even on freestanding compilers.  */
57706
57707 #ifdef __STDC__
57708 # include <limits.h>
57709 #else
57710 # include <assert.h>
57711 #endif
57712
57713 #undef $ac_func
57714
57715 /* Override any gcc2 internal prototype to avoid an error.  */
57716 #ifdef __cplusplus
57717 extern "C"
57718 {
57719 #endif
57720 /* We use char because int might match the return type of a gcc2
57721    builtin and then its argument prototype would still apply.  */
57722 char $ac_func ();
57723 /* The GNU C library defines this for functions which it implements
57724     to always fail with ENOSYS.  Some functions are actually named
57725     something starting with __ and the normal name is an alias.  */
57726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57727 choke me
57728 #else
57729 char (*f) () = $ac_func;
57730 #endif
57731 #ifdef __cplusplus
57732 }
57733 #endif
57734
57735 int
57736 main ()
57737 {
57738 return f != $ac_func;
57739   ;
57740   return 0;
57741 }
57742 _ACEOF
57743 rm -f conftest.$ac_objext conftest$ac_exeext
57744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57745   (eval $ac_link) 2>conftest.er1
57746   ac_status=$?
57747   grep -v '^ *+' conftest.er1 >conftest.err
57748   rm -f conftest.er1
57749   cat conftest.err >&5
57750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57751   (exit $ac_status); } &&
57752          { ac_try='test -z "$ac_c_werror_flag"
57753                          || test ! -s conftest.err'
57754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57755   (eval $ac_try) 2>&5
57756   ac_status=$?
57757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57758   (exit $ac_status); }; } &&
57759          { ac_try='test -s conftest$ac_exeext'
57760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57761   (eval $ac_try) 2>&5
57762   ac_status=$?
57763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57764   (exit $ac_status); }; }; then
57765   eval "$as_ac_var=yes"
57766 else
57767   echo "$as_me: failed program was:" >&5
57768 sed 's/^/| /' conftest.$ac_ext >&5
57769
57770 eval "$as_ac_var=no"
57771 fi
57772 rm -f conftest.err conftest.$ac_objext \
57773       conftest$ac_exeext conftest.$ac_ext
57774 fi
57775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57777 if test `eval echo '${'$as_ac_var'}'` = yes; then
57778   cat >>confdefs.h <<_ACEOF
57779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57780 _ACEOF
57781
57782 fi
57783 done
57784
57785     fi
57786   fi
57787
57788
57789
57790
57791
57792
57793
57794
57795
57796
57797
57798
57799
57800
57801     echo "$as_me:$LINENO: checking for float round functions" >&5
57802 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57803   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57804   echo $ECHO_N "(cached) $ECHO_C" >&6
57805 else
57806
57807
57808
57809     ac_ext=cc
57810 ac_cpp='$CXXCPP $CPPFLAGS'
57811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57814
57815     cat >conftest.$ac_ext <<_ACEOF
57816 /* confdefs.h.  */
57817 _ACEOF
57818 cat confdefs.h >>conftest.$ac_ext
57819 cat >>conftest.$ac_ext <<_ACEOF
57820 /* end confdefs.h.  */
57821 #include <math.h>
57822 int
57823 main ()
57824 {
57825 ceilf (0); floorf (0);
57826   ;
57827   return 0;
57828 }
57829 _ACEOF
57830 rm -f conftest.$ac_objext
57831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57832   (eval $ac_compile) 2>conftest.er1
57833   ac_status=$?
57834   grep -v '^ *+' conftest.er1 >conftest.err
57835   rm -f conftest.er1
57836   cat conftest.err >&5
57837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838   (exit $ac_status); } &&
57839          { ac_try='test -z "$ac_cxx_werror_flag"
57840                          || test ! -s conftest.err'
57841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57842   (eval $ac_try) 2>&5
57843   ac_status=$?
57844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845   (exit $ac_status); }; } &&
57846          { ac_try='test -s conftest.$ac_objext'
57847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848   (eval $ac_try) 2>&5
57849   ac_status=$?
57850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851   (exit $ac_status); }; }; then
57852   glibcxx_cv_func_float_round_use=yes
57853 else
57854   echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57856
57857 glibcxx_cv_func_float_round_use=no
57858 fi
57859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57860     ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865
57866 fi
57867
57868   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57869 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57870   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57871
57872
57873 for ac_func in ceilf floorf
57874 do
57875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57876 echo "$as_me:$LINENO: checking for $ac_func" >&5
57877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57878 if eval "test \"\${$as_ac_var+set}\" = set"; then
57879   echo $ECHO_N "(cached) $ECHO_C" >&6
57880 else
57881   if test x$gcc_no_link = xyes; then
57882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57884    { (exit 1); exit 1; }; }
57885 fi
57886 cat >conftest.$ac_ext <<_ACEOF
57887 /* confdefs.h.  */
57888 _ACEOF
57889 cat confdefs.h >>conftest.$ac_ext
57890 cat >>conftest.$ac_ext <<_ACEOF
57891 /* end confdefs.h.  */
57892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57894 #define $ac_func innocuous_$ac_func
57895
57896 /* System header to define __stub macros and hopefully few prototypes,
57897     which can conflict with char $ac_func (); below.
57898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57899     <limits.h> exists even on freestanding compilers.  */
57900
57901 #ifdef __STDC__
57902 # include <limits.h>
57903 #else
57904 # include <assert.h>
57905 #endif
57906
57907 #undef $ac_func
57908
57909 /* Override any gcc2 internal prototype to avoid an error.  */
57910 #ifdef __cplusplus
57911 extern "C"
57912 {
57913 #endif
57914 /* We use char because int might match the return type of a gcc2
57915    builtin and then its argument prototype would still apply.  */
57916 char $ac_func ();
57917 /* The GNU C library defines this for functions which it implements
57918     to always fail with ENOSYS.  Some functions are actually named
57919     something starting with __ and the normal name is an alias.  */
57920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57921 choke me
57922 #else
57923 char (*f) () = $ac_func;
57924 #endif
57925 #ifdef __cplusplus
57926 }
57927 #endif
57928
57929 int
57930 main ()
57931 {
57932 return f != $ac_func;
57933   ;
57934   return 0;
57935 }
57936 _ACEOF
57937 rm -f conftest.$ac_objext conftest$ac_exeext
57938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57939   (eval $ac_link) 2>conftest.er1
57940   ac_status=$?
57941   grep -v '^ *+' conftest.er1 >conftest.err
57942   rm -f conftest.er1
57943   cat conftest.err >&5
57944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57945   (exit $ac_status); } &&
57946          { ac_try='test -z "$ac_c_werror_flag"
57947                          || test ! -s conftest.err'
57948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57949   (eval $ac_try) 2>&5
57950   ac_status=$?
57951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57952   (exit $ac_status); }; } &&
57953          { ac_try='test -s conftest$ac_exeext'
57954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57955   (eval $ac_try) 2>&5
57956   ac_status=$?
57957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57958   (exit $ac_status); }; }; then
57959   eval "$as_ac_var=yes"
57960 else
57961   echo "$as_me: failed program was:" >&5
57962 sed 's/^/| /' conftest.$ac_ext >&5
57963
57964 eval "$as_ac_var=no"
57965 fi
57966 rm -f conftest.err conftest.$ac_objext \
57967       conftest$ac_exeext conftest.$ac_ext
57968 fi
57969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57971 if test `eval echo '${'$as_ac_var'}'` = yes; then
57972   cat >>confdefs.h <<_ACEOF
57973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57974 _ACEOF
57975
57976 fi
57977 done
57978
57979   else
57980     echo "$as_me:$LINENO: checking for _float round functions" >&5
57981 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
57982     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
57983   echo $ECHO_N "(cached) $ECHO_C" >&6
57984 else
57985
57986
57987
57988       ac_ext=cc
57989 ac_cpp='$CXXCPP $CPPFLAGS'
57990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57993
57994       cat >conftest.$ac_ext <<_ACEOF
57995 /* confdefs.h.  */
57996 _ACEOF
57997 cat confdefs.h >>conftest.$ac_ext
57998 cat >>conftest.$ac_ext <<_ACEOF
57999 /* end confdefs.h.  */
58000 #include <math.h>
58001 int
58002 main ()
58003 {
58004 _ceilf (0); _floorf (0);
58005   ;
58006   return 0;
58007 }
58008 _ACEOF
58009 rm -f conftest.$ac_objext
58010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58011   (eval $ac_compile) 2>conftest.er1
58012   ac_status=$?
58013   grep -v '^ *+' conftest.er1 >conftest.err
58014   rm -f conftest.er1
58015   cat conftest.err >&5
58016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58017   (exit $ac_status); } &&
58018          { ac_try='test -z "$ac_cxx_werror_flag"
58019                          || test ! -s conftest.err'
58020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58021   (eval $ac_try) 2>&5
58022   ac_status=$?
58023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58024   (exit $ac_status); }; } &&
58025          { ac_try='test -s conftest.$ac_objext'
58026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58027   (eval $ac_try) 2>&5
58028   ac_status=$?
58029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58030   (exit $ac_status); }; }; then
58031   glibcxx_cv_func__float_round_use=yes
58032 else
58033   echo "$as_me: failed program was:" >&5
58034 sed 's/^/| /' conftest.$ac_ext >&5
58035
58036 glibcxx_cv_func__float_round_use=no
58037 fi
58038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58039       ac_ext=c
58040 ac_cpp='$CPP $CPPFLAGS'
58041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58044
58045 fi
58046
58047     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58048 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58049     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58050
58051
58052 for ac_func in _ceilf _floorf
58053 do
58054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58055 echo "$as_me:$LINENO: checking for $ac_func" >&5
58056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58057 if eval "test \"\${$as_ac_var+set}\" = set"; then
58058   echo $ECHO_N "(cached) $ECHO_C" >&6
58059 else
58060   if test x$gcc_no_link = xyes; then
58061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58063    { (exit 1); exit 1; }; }
58064 fi
58065 cat >conftest.$ac_ext <<_ACEOF
58066 /* confdefs.h.  */
58067 _ACEOF
58068 cat confdefs.h >>conftest.$ac_ext
58069 cat >>conftest.$ac_ext <<_ACEOF
58070 /* end confdefs.h.  */
58071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58073 #define $ac_func innocuous_$ac_func
58074
58075 /* System header to define __stub macros and hopefully few prototypes,
58076     which can conflict with char $ac_func (); below.
58077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58078     <limits.h> exists even on freestanding compilers.  */
58079
58080 #ifdef __STDC__
58081 # include <limits.h>
58082 #else
58083 # include <assert.h>
58084 #endif
58085
58086 #undef $ac_func
58087
58088 /* Override any gcc2 internal prototype to avoid an error.  */
58089 #ifdef __cplusplus
58090 extern "C"
58091 {
58092 #endif
58093 /* We use char because int might match the return type of a gcc2
58094    builtin and then its argument prototype would still apply.  */
58095 char $ac_func ();
58096 /* The GNU C library defines this for functions which it implements
58097     to always fail with ENOSYS.  Some functions are actually named
58098     something starting with __ and the normal name is an alias.  */
58099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58100 choke me
58101 #else
58102 char (*f) () = $ac_func;
58103 #endif
58104 #ifdef __cplusplus
58105 }
58106 #endif
58107
58108 int
58109 main ()
58110 {
58111 return f != $ac_func;
58112   ;
58113   return 0;
58114 }
58115 _ACEOF
58116 rm -f conftest.$ac_objext conftest$ac_exeext
58117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58118   (eval $ac_link) 2>conftest.er1
58119   ac_status=$?
58120   grep -v '^ *+' conftest.er1 >conftest.err
58121   rm -f conftest.er1
58122   cat conftest.err >&5
58123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58124   (exit $ac_status); } &&
58125          { ac_try='test -z "$ac_c_werror_flag"
58126                          || test ! -s conftest.err'
58127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58128   (eval $ac_try) 2>&5
58129   ac_status=$?
58130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131   (exit $ac_status); }; } &&
58132          { ac_try='test -s conftest$ac_exeext'
58133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58134   (eval $ac_try) 2>&5
58135   ac_status=$?
58136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58137   (exit $ac_status); }; }; then
58138   eval "$as_ac_var=yes"
58139 else
58140   echo "$as_me: failed program was:" >&5
58141 sed 's/^/| /' conftest.$ac_ext >&5
58142
58143 eval "$as_ac_var=no"
58144 fi
58145 rm -f conftest.err conftest.$ac_objext \
58146       conftest$ac_exeext conftest.$ac_ext
58147 fi
58148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58150 if test `eval echo '${'$as_ac_var'}'` = yes; then
58151   cat >>confdefs.h <<_ACEOF
58152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58153 _ACEOF
58154
58155 fi
58156 done
58157
58158     fi
58159   fi
58160
58161
58162
58163
58164
58165
58166
58167
58168   echo "$as_me:$LINENO: checking for expf declaration" >&5
58169 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58170   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58171     if test "${glibcxx_cv_func_expf_use+set}" = set; then
58172   echo $ECHO_N "(cached) $ECHO_C" >&6
58173 else
58174
58175
58176
58177       ac_ext=cc
58178 ac_cpp='$CXXCPP $CPPFLAGS'
58179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58182
58183       cat >conftest.$ac_ext <<_ACEOF
58184 /* confdefs.h.  */
58185 _ACEOF
58186 cat confdefs.h >>conftest.$ac_ext
58187 cat >>conftest.$ac_ext <<_ACEOF
58188 /* end confdefs.h.  */
58189 #include <math.h>
58190                       #ifdef HAVE_IEEEFP_H
58191                       #include <ieeefp.h>
58192                       #endif
58193
58194 int
58195 main ()
58196 {
58197  expf(0);
58198   ;
58199   return 0;
58200 }
58201 _ACEOF
58202 rm -f conftest.$ac_objext
58203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58204   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_expf_use=yes
58225 else
58226   echo "$as_me: failed program was:" >&5
58227 sed 's/^/| /' conftest.$ac_ext >&5
58228
58229 glibcxx_cv_func_expf_use=no
58230 fi
58231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58232       ac_ext=c
58233 ac_cpp='$CPP $CPPFLAGS'
58234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58237
58238
58239 fi
58240
58241   fi
58242   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58243 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58244
58245   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58246
58247 for ac_func in expf
58248 do
58249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58250 echo "$as_me:$LINENO: checking for $ac_func" >&5
58251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58252 if eval "test \"\${$as_ac_var+set}\" = set"; then
58253   echo $ECHO_N "(cached) $ECHO_C" >&6
58254 else
58255   if test x$gcc_no_link = xyes; then
58256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58258    { (exit 1); exit 1; }; }
58259 fi
58260 cat >conftest.$ac_ext <<_ACEOF
58261 /* confdefs.h.  */
58262 _ACEOF
58263 cat confdefs.h >>conftest.$ac_ext
58264 cat >>conftest.$ac_ext <<_ACEOF
58265 /* end confdefs.h.  */
58266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58267    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58268 #define $ac_func innocuous_$ac_func
58269
58270 /* System header to define __stub macros and hopefully few prototypes,
58271     which can conflict with char $ac_func (); below.
58272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58273     <limits.h> exists even on freestanding compilers.  */
58274
58275 #ifdef __STDC__
58276 # include <limits.h>
58277 #else
58278 # include <assert.h>
58279 #endif
58280
58281 #undef $ac_func
58282
58283 /* Override any gcc2 internal prototype to avoid an error.  */
58284 #ifdef __cplusplus
58285 extern "C"
58286 {
58287 #endif
58288 /* We use char because int might match the return type of a gcc2
58289    builtin and then its argument prototype would still apply.  */
58290 char $ac_func ();
58291 /* The GNU C library defines this for functions which it implements
58292     to always fail with ENOSYS.  Some functions are actually named
58293     something starting with __ and the normal name is an alias.  */
58294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58295 choke me
58296 #else
58297 char (*f) () = $ac_func;
58298 #endif
58299 #ifdef __cplusplus
58300 }
58301 #endif
58302
58303 int
58304 main ()
58305 {
58306 return f != $ac_func;
58307   ;
58308   return 0;
58309 }
58310 _ACEOF
58311 rm -f conftest.$ac_objext conftest$ac_exeext
58312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58313   (eval $ac_link) 2>conftest.er1
58314   ac_status=$?
58315   grep -v '^ *+' conftest.er1 >conftest.err
58316   rm -f conftest.er1
58317   cat conftest.err >&5
58318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58319   (exit $ac_status); } &&
58320          { ac_try='test -z "$ac_c_werror_flag"
58321                          || test ! -s conftest.err'
58322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58323   (eval $ac_try) 2>&5
58324   ac_status=$?
58325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58326   (exit $ac_status); }; } &&
58327          { ac_try='test -s conftest$ac_exeext'
58328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58329   (eval $ac_try) 2>&5
58330   ac_status=$?
58331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58332   (exit $ac_status); }; }; then
58333   eval "$as_ac_var=yes"
58334 else
58335   echo "$as_me: failed program was:" >&5
58336 sed 's/^/| /' conftest.$ac_ext >&5
58337
58338 eval "$as_ac_var=no"
58339 fi
58340 rm -f conftest.err conftest.$ac_objext \
58341       conftest$ac_exeext conftest.$ac_ext
58342 fi
58343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58345 if test `eval echo '${'$as_ac_var'}'` = yes; then
58346   cat >>confdefs.h <<_ACEOF
58347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58348 _ACEOF
58349
58350 fi
58351 done
58352
58353   else
58354
58355   echo "$as_me:$LINENO: checking for _expf declaration" >&5
58356 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58357   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58358     if test "${glibcxx_cv_func__expf_use+set}" = set; then
58359   echo $ECHO_N "(cached) $ECHO_C" >&6
58360 else
58361
58362
58363
58364       ac_ext=cc
58365 ac_cpp='$CXXCPP $CPPFLAGS'
58366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58369
58370       cat >conftest.$ac_ext <<_ACEOF
58371 /* confdefs.h.  */
58372 _ACEOF
58373 cat confdefs.h >>conftest.$ac_ext
58374 cat >>conftest.$ac_ext <<_ACEOF
58375 /* end confdefs.h.  */
58376 #include <math.h>
58377                       #ifdef HAVE_IEEEFP_H
58378                       #include <ieeefp.h>
58379                       #endif
58380
58381 int
58382 main ()
58383 {
58384  _expf(0);
58385   ;
58386   return 0;
58387 }
58388 _ACEOF
58389 rm -f conftest.$ac_objext
58390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58391   (eval $ac_compile) 2>conftest.er1
58392   ac_status=$?
58393   grep -v '^ *+' conftest.er1 >conftest.err
58394   rm -f conftest.er1
58395   cat conftest.err >&5
58396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58397   (exit $ac_status); } &&
58398          { ac_try='test -z "$ac_cxx_werror_flag"
58399                          || test ! -s conftest.err'
58400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58401   (eval $ac_try) 2>&5
58402   ac_status=$?
58403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58404   (exit $ac_status); }; } &&
58405          { ac_try='test -s conftest.$ac_objext'
58406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58407   (eval $ac_try) 2>&5
58408   ac_status=$?
58409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58410   (exit $ac_status); }; }; then
58411   glibcxx_cv_func__expf_use=yes
58412 else
58413   echo "$as_me: failed program was:" >&5
58414 sed 's/^/| /' conftest.$ac_ext >&5
58415
58416 glibcxx_cv_func__expf_use=no
58417 fi
58418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58419       ac_ext=c
58420 ac_cpp='$CPP $CPPFLAGS'
58421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58424
58425
58426 fi
58427
58428   fi
58429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58430 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58431
58432     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58433
58434 for ac_func in _expf
58435 do
58436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58437 echo "$as_me:$LINENO: checking for $ac_func" >&5
58438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58439 if eval "test \"\${$as_ac_var+set}\" = set"; then
58440   echo $ECHO_N "(cached) $ECHO_C" >&6
58441 else
58442   if test x$gcc_no_link = xyes; then
58443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58445    { (exit 1); exit 1; }; }
58446 fi
58447 cat >conftest.$ac_ext <<_ACEOF
58448 /* confdefs.h.  */
58449 _ACEOF
58450 cat confdefs.h >>conftest.$ac_ext
58451 cat >>conftest.$ac_ext <<_ACEOF
58452 /* end confdefs.h.  */
58453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58455 #define $ac_func innocuous_$ac_func
58456
58457 /* System header to define __stub macros and hopefully few prototypes,
58458     which can conflict with char $ac_func (); below.
58459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58460     <limits.h> exists even on freestanding compilers.  */
58461
58462 #ifdef __STDC__
58463 # include <limits.h>
58464 #else
58465 # include <assert.h>
58466 #endif
58467
58468 #undef $ac_func
58469
58470 /* Override any gcc2 internal prototype to avoid an error.  */
58471 #ifdef __cplusplus
58472 extern "C"
58473 {
58474 #endif
58475 /* We use char because int might match the return type of a gcc2
58476    builtin and then its argument prototype would still apply.  */
58477 char $ac_func ();
58478 /* The GNU C library defines this for functions which it implements
58479     to always fail with ENOSYS.  Some functions are actually named
58480     something starting with __ and the normal name is an alias.  */
58481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58482 choke me
58483 #else
58484 char (*f) () = $ac_func;
58485 #endif
58486 #ifdef __cplusplus
58487 }
58488 #endif
58489
58490 int
58491 main ()
58492 {
58493 return f != $ac_func;
58494   ;
58495   return 0;
58496 }
58497 _ACEOF
58498 rm -f conftest.$ac_objext conftest$ac_exeext
58499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58500   (eval $ac_link) 2>conftest.er1
58501   ac_status=$?
58502   grep -v '^ *+' conftest.er1 >conftest.err
58503   rm -f conftest.er1
58504   cat conftest.err >&5
58505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58506   (exit $ac_status); } &&
58507          { ac_try='test -z "$ac_c_werror_flag"
58508                          || test ! -s conftest.err'
58509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58510   (eval $ac_try) 2>&5
58511   ac_status=$?
58512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58513   (exit $ac_status); }; } &&
58514          { ac_try='test -s conftest$ac_exeext'
58515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58516   (eval $ac_try) 2>&5
58517   ac_status=$?
58518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58519   (exit $ac_status); }; }; then
58520   eval "$as_ac_var=yes"
58521 else
58522   echo "$as_me: failed program was:" >&5
58523 sed 's/^/| /' conftest.$ac_ext >&5
58524
58525 eval "$as_ac_var=no"
58526 fi
58527 rm -f conftest.err conftest.$ac_objext \
58528       conftest$ac_exeext conftest.$ac_ext
58529 fi
58530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58532 if test `eval echo '${'$as_ac_var'}'` = yes; then
58533   cat >>confdefs.h <<_ACEOF
58534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58535 _ACEOF
58536
58537 fi
58538 done
58539
58540     fi
58541   fi
58542
58543
58544
58545
58546
58547
58548   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58549 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58550   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58551     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58552   echo $ECHO_N "(cached) $ECHO_C" >&6
58553 else
58554
58555
58556
58557       ac_ext=cc
58558 ac_cpp='$CXXCPP $CPPFLAGS'
58559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58562
58563       cat >conftest.$ac_ext <<_ACEOF
58564 /* confdefs.h.  */
58565 _ACEOF
58566 cat confdefs.h >>conftest.$ac_ext
58567 cat >>conftest.$ac_ext <<_ACEOF
58568 /* end confdefs.h.  */
58569 #include <math.h>
58570                       #ifdef HAVE_IEEEFP_H
58571                       #include <ieeefp.h>
58572                       #endif
58573
58574 int
58575 main ()
58576 {
58577  isnanf(0);
58578   ;
58579   return 0;
58580 }
58581 _ACEOF
58582 rm -f conftest.$ac_objext
58583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58584   (eval $ac_compile) 2>conftest.er1
58585   ac_status=$?
58586   grep -v '^ *+' conftest.er1 >conftest.err
58587   rm -f conftest.er1
58588   cat conftest.err >&5
58589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58590   (exit $ac_status); } &&
58591          { ac_try='test -z "$ac_cxx_werror_flag"
58592                          || test ! -s conftest.err'
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); }; } &&
58598          { ac_try='test -s conftest.$ac_objext'
58599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58600   (eval $ac_try) 2>&5
58601   ac_status=$?
58602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58603   (exit $ac_status); }; }; then
58604   glibcxx_cv_func_isnanf_use=yes
58605 else
58606   echo "$as_me: failed program was:" >&5
58607 sed 's/^/| /' conftest.$ac_ext >&5
58608
58609 glibcxx_cv_func_isnanf_use=no
58610 fi
58611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58612       ac_ext=c
58613 ac_cpp='$CPP $CPPFLAGS'
58614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58617
58618
58619 fi
58620
58621   fi
58622   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58623 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58624
58625   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58626
58627 for ac_func in isnanf
58628 do
58629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58630 echo "$as_me:$LINENO: checking for $ac_func" >&5
58631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58632 if eval "test \"\${$as_ac_var+set}\" = set"; then
58633   echo $ECHO_N "(cached) $ECHO_C" >&6
58634 else
58635   if test x$gcc_no_link = xyes; then
58636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58638    { (exit 1); exit 1; }; }
58639 fi
58640 cat >conftest.$ac_ext <<_ACEOF
58641 /* confdefs.h.  */
58642 _ACEOF
58643 cat confdefs.h >>conftest.$ac_ext
58644 cat >>conftest.$ac_ext <<_ACEOF
58645 /* end confdefs.h.  */
58646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58648 #define $ac_func innocuous_$ac_func
58649
58650 /* System header to define __stub macros and hopefully few prototypes,
58651     which can conflict with char $ac_func (); below.
58652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58653     <limits.h> exists even on freestanding compilers.  */
58654
58655 #ifdef __STDC__
58656 # include <limits.h>
58657 #else
58658 # include <assert.h>
58659 #endif
58660
58661 #undef $ac_func
58662
58663 /* Override any gcc2 internal prototype to avoid an error.  */
58664 #ifdef __cplusplus
58665 extern "C"
58666 {
58667 #endif
58668 /* We use char because int might match the return type of a gcc2
58669    builtin and then its argument prototype would still apply.  */
58670 char $ac_func ();
58671 /* The GNU C library defines this for functions which it implements
58672     to always fail with ENOSYS.  Some functions are actually named
58673     something starting with __ and the normal name is an alias.  */
58674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58675 choke me
58676 #else
58677 char (*f) () = $ac_func;
58678 #endif
58679 #ifdef __cplusplus
58680 }
58681 #endif
58682
58683 int
58684 main ()
58685 {
58686 return f != $ac_func;
58687   ;
58688   return 0;
58689 }
58690 _ACEOF
58691 rm -f conftest.$ac_objext conftest$ac_exeext
58692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58693   (eval $ac_link) 2>conftest.er1
58694   ac_status=$?
58695   grep -v '^ *+' conftest.er1 >conftest.err
58696   rm -f conftest.er1
58697   cat conftest.err >&5
58698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58699   (exit $ac_status); } &&
58700          { ac_try='test -z "$ac_c_werror_flag"
58701                          || test ! -s conftest.err'
58702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58703   (eval $ac_try) 2>&5
58704   ac_status=$?
58705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58706   (exit $ac_status); }; } &&
58707          { ac_try='test -s conftest$ac_exeext'
58708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58709   (eval $ac_try) 2>&5
58710   ac_status=$?
58711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58712   (exit $ac_status); }; }; then
58713   eval "$as_ac_var=yes"
58714 else
58715   echo "$as_me: failed program was:" >&5
58716 sed 's/^/| /' conftest.$ac_ext >&5
58717
58718 eval "$as_ac_var=no"
58719 fi
58720 rm -f conftest.err conftest.$ac_objext \
58721       conftest$ac_exeext conftest.$ac_ext
58722 fi
58723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58725 if test `eval echo '${'$as_ac_var'}'` = yes; then
58726   cat >>confdefs.h <<_ACEOF
58727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58728 _ACEOF
58729
58730 fi
58731 done
58732
58733   else
58734
58735   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58736 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58737   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58738     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58739   echo $ECHO_N "(cached) $ECHO_C" >&6
58740 else
58741
58742
58743
58744       ac_ext=cc
58745 ac_cpp='$CXXCPP $CPPFLAGS'
58746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749
58750       cat >conftest.$ac_ext <<_ACEOF
58751 /* confdefs.h.  */
58752 _ACEOF
58753 cat confdefs.h >>conftest.$ac_ext
58754 cat >>conftest.$ac_ext <<_ACEOF
58755 /* end confdefs.h.  */
58756 #include <math.h>
58757                       #ifdef HAVE_IEEEFP_H
58758                       #include <ieeefp.h>
58759                       #endif
58760
58761 int
58762 main ()
58763 {
58764  _isnanf(0);
58765   ;
58766   return 0;
58767 }
58768 _ACEOF
58769 rm -f conftest.$ac_objext
58770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58771   (eval $ac_compile) 2>conftest.er1
58772   ac_status=$?
58773   grep -v '^ *+' conftest.er1 >conftest.err
58774   rm -f conftest.er1
58775   cat conftest.err >&5
58776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58777   (exit $ac_status); } &&
58778          { ac_try='test -z "$ac_cxx_werror_flag"
58779                          || test ! -s conftest.err'
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); }; } &&
58785          { ac_try='test -s conftest.$ac_objext'
58786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58787   (eval $ac_try) 2>&5
58788   ac_status=$?
58789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58790   (exit $ac_status); }; }; then
58791   glibcxx_cv_func__isnanf_use=yes
58792 else
58793   echo "$as_me: failed program was:" >&5
58794 sed 's/^/| /' conftest.$ac_ext >&5
58795
58796 glibcxx_cv_func__isnanf_use=no
58797 fi
58798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58799       ac_ext=c
58800 ac_cpp='$CPP $CPPFLAGS'
58801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58804
58805
58806 fi
58807
58808   fi
58809   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58810 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58811
58812     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58813
58814 for ac_func in _isnanf
58815 do
58816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58817 echo "$as_me:$LINENO: checking for $ac_func" >&5
58818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58819 if eval "test \"\${$as_ac_var+set}\" = set"; then
58820   echo $ECHO_N "(cached) $ECHO_C" >&6
58821 else
58822   if test x$gcc_no_link = xyes; then
58823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58825    { (exit 1); exit 1; }; }
58826 fi
58827 cat >conftest.$ac_ext <<_ACEOF
58828 /* confdefs.h.  */
58829 _ACEOF
58830 cat confdefs.h >>conftest.$ac_ext
58831 cat >>conftest.$ac_ext <<_ACEOF
58832 /* end confdefs.h.  */
58833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58834    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58835 #define $ac_func innocuous_$ac_func
58836
58837 /* System header to define __stub macros and hopefully few prototypes,
58838     which can conflict with char $ac_func (); below.
58839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58840     <limits.h> exists even on freestanding compilers.  */
58841
58842 #ifdef __STDC__
58843 # include <limits.h>
58844 #else
58845 # include <assert.h>
58846 #endif
58847
58848 #undef $ac_func
58849
58850 /* Override any gcc2 internal prototype to avoid an error.  */
58851 #ifdef __cplusplus
58852 extern "C"
58853 {
58854 #endif
58855 /* We use char because int might match the return type of a gcc2
58856    builtin and then its argument prototype would still apply.  */
58857 char $ac_func ();
58858 /* The GNU C library defines this for functions which it implements
58859     to always fail with ENOSYS.  Some functions are actually named
58860     something starting with __ and the normal name is an alias.  */
58861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58862 choke me
58863 #else
58864 char (*f) () = $ac_func;
58865 #endif
58866 #ifdef __cplusplus
58867 }
58868 #endif
58869
58870 int
58871 main ()
58872 {
58873 return f != $ac_func;
58874   ;
58875   return 0;
58876 }
58877 _ACEOF
58878 rm -f conftest.$ac_objext conftest$ac_exeext
58879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58880   (eval $ac_link) 2>conftest.er1
58881   ac_status=$?
58882   grep -v '^ *+' conftest.er1 >conftest.err
58883   rm -f conftest.er1
58884   cat conftest.err >&5
58885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58886   (exit $ac_status); } &&
58887          { ac_try='test -z "$ac_c_werror_flag"
58888                          || test ! -s conftest.err'
58889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58890   (eval $ac_try) 2>&5
58891   ac_status=$?
58892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58893   (exit $ac_status); }; } &&
58894          { ac_try='test -s conftest$ac_exeext'
58895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58896   (eval $ac_try) 2>&5
58897   ac_status=$?
58898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58899   (exit $ac_status); }; }; then
58900   eval "$as_ac_var=yes"
58901 else
58902   echo "$as_me: failed program was:" >&5
58903 sed 's/^/| /' conftest.$ac_ext >&5
58904
58905 eval "$as_ac_var=no"
58906 fi
58907 rm -f conftest.err conftest.$ac_objext \
58908       conftest$ac_exeext conftest.$ac_ext
58909 fi
58910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58912 if test `eval echo '${'$as_ac_var'}'` = yes; then
58913   cat >>confdefs.h <<_ACEOF
58914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58915 _ACEOF
58916
58917 fi
58918 done
58919
58920     fi
58921   fi
58922
58923
58924
58925
58926
58927
58928   echo "$as_me:$LINENO: checking for isinff declaration" >&5
58929 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58930   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58931     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58932   echo $ECHO_N "(cached) $ECHO_C" >&6
58933 else
58934
58935
58936
58937       ac_ext=cc
58938 ac_cpp='$CXXCPP $CPPFLAGS'
58939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58942
58943       cat >conftest.$ac_ext <<_ACEOF
58944 /* confdefs.h.  */
58945 _ACEOF
58946 cat confdefs.h >>conftest.$ac_ext
58947 cat >>conftest.$ac_ext <<_ACEOF
58948 /* end confdefs.h.  */
58949 #include <math.h>
58950                       #ifdef HAVE_IEEEFP_H
58951                       #include <ieeefp.h>
58952                       #endif
58953
58954 int
58955 main ()
58956 {
58957  isinff(0);
58958   ;
58959   return 0;
58960 }
58961 _ACEOF
58962 rm -f conftest.$ac_objext
58963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58964   (eval $ac_compile) 2>conftest.er1
58965   ac_status=$?
58966   grep -v '^ *+' conftest.er1 >conftest.err
58967   rm -f conftest.er1
58968   cat conftest.err >&5
58969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58970   (exit $ac_status); } &&
58971          { ac_try='test -z "$ac_cxx_werror_flag"
58972                          || test ! -s conftest.err'
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); }; } &&
58978          { ac_try='test -s conftest.$ac_objext'
58979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58980   (eval $ac_try) 2>&5
58981   ac_status=$?
58982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58983   (exit $ac_status); }; }; then
58984   glibcxx_cv_func_isinff_use=yes
58985 else
58986   echo "$as_me: failed program was:" >&5
58987 sed 's/^/| /' conftest.$ac_ext >&5
58988
58989 glibcxx_cv_func_isinff_use=no
58990 fi
58991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58992       ac_ext=c
58993 ac_cpp='$CPP $CPPFLAGS'
58994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58997
58998
58999 fi
59000
59001   fi
59002   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59003 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59004
59005   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59006
59007 for ac_func in isinff
59008 do
59009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59010 echo "$as_me:$LINENO: checking for $ac_func" >&5
59011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59012 if eval "test \"\${$as_ac_var+set}\" = set"; then
59013   echo $ECHO_N "(cached) $ECHO_C" >&6
59014 else
59015   if test x$gcc_no_link = xyes; then
59016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59018    { (exit 1); exit 1; }; }
59019 fi
59020 cat >conftest.$ac_ext <<_ACEOF
59021 /* confdefs.h.  */
59022 _ACEOF
59023 cat confdefs.h >>conftest.$ac_ext
59024 cat >>conftest.$ac_ext <<_ACEOF
59025 /* end confdefs.h.  */
59026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59028 #define $ac_func innocuous_$ac_func
59029
59030 /* System header to define __stub macros and hopefully few prototypes,
59031     which can conflict with char $ac_func (); below.
59032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59033     <limits.h> exists even on freestanding compilers.  */
59034
59035 #ifdef __STDC__
59036 # include <limits.h>
59037 #else
59038 # include <assert.h>
59039 #endif
59040
59041 #undef $ac_func
59042
59043 /* Override any gcc2 internal prototype to avoid an error.  */
59044 #ifdef __cplusplus
59045 extern "C"
59046 {
59047 #endif
59048 /* We use char because int might match the return type of a gcc2
59049    builtin and then its argument prototype would still apply.  */
59050 char $ac_func ();
59051 /* The GNU C library defines this for functions which it implements
59052     to always fail with ENOSYS.  Some functions are actually named
59053     something starting with __ and the normal name is an alias.  */
59054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59055 choke me
59056 #else
59057 char (*f) () = $ac_func;
59058 #endif
59059 #ifdef __cplusplus
59060 }
59061 #endif
59062
59063 int
59064 main ()
59065 {
59066 return f != $ac_func;
59067   ;
59068   return 0;
59069 }
59070 _ACEOF
59071 rm -f conftest.$ac_objext conftest$ac_exeext
59072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59073   (eval $ac_link) 2>conftest.er1
59074   ac_status=$?
59075   grep -v '^ *+' conftest.er1 >conftest.err
59076   rm -f conftest.er1
59077   cat conftest.err >&5
59078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59079   (exit $ac_status); } &&
59080          { ac_try='test -z "$ac_c_werror_flag"
59081                          || test ! -s conftest.err'
59082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59083   (eval $ac_try) 2>&5
59084   ac_status=$?
59085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59086   (exit $ac_status); }; } &&
59087          { ac_try='test -s conftest$ac_exeext'
59088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59089   (eval $ac_try) 2>&5
59090   ac_status=$?
59091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59092   (exit $ac_status); }; }; then
59093   eval "$as_ac_var=yes"
59094 else
59095   echo "$as_me: failed program was:" >&5
59096 sed 's/^/| /' conftest.$ac_ext >&5
59097
59098 eval "$as_ac_var=no"
59099 fi
59100 rm -f conftest.err conftest.$ac_objext \
59101       conftest$ac_exeext conftest.$ac_ext
59102 fi
59103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59105 if test `eval echo '${'$as_ac_var'}'` = yes; then
59106   cat >>confdefs.h <<_ACEOF
59107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59108 _ACEOF
59109
59110 fi
59111 done
59112
59113   else
59114
59115   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59116 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59117   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59118     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59119   echo $ECHO_N "(cached) $ECHO_C" >&6
59120 else
59121
59122
59123
59124       ac_ext=cc
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59129
59130       cat >conftest.$ac_ext <<_ACEOF
59131 /* confdefs.h.  */
59132 _ACEOF
59133 cat confdefs.h >>conftest.$ac_ext
59134 cat >>conftest.$ac_ext <<_ACEOF
59135 /* end confdefs.h.  */
59136 #include <math.h>
59137                       #ifdef HAVE_IEEEFP_H
59138                       #include <ieeefp.h>
59139                       #endif
59140
59141 int
59142 main ()
59143 {
59144  _isinff(0);
59145   ;
59146   return 0;
59147 }
59148 _ACEOF
59149 rm -f conftest.$ac_objext
59150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59151   (eval $ac_compile) 2>conftest.er1
59152   ac_status=$?
59153   grep -v '^ *+' conftest.er1 >conftest.err
59154   rm -f conftest.er1
59155   cat conftest.err >&5
59156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59157   (exit $ac_status); } &&
59158          { ac_try='test -z "$ac_cxx_werror_flag"
59159                          || test ! -s conftest.err'
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); }; } &&
59165          { ac_try='test -s conftest.$ac_objext'
59166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59167   (eval $ac_try) 2>&5
59168   ac_status=$?
59169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59170   (exit $ac_status); }; }; then
59171   glibcxx_cv_func__isinff_use=yes
59172 else
59173   echo "$as_me: failed program was:" >&5
59174 sed 's/^/| /' conftest.$ac_ext >&5
59175
59176 glibcxx_cv_func__isinff_use=no
59177 fi
59178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59179       ac_ext=c
59180 ac_cpp='$CPP $CPPFLAGS'
59181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59184
59185
59186 fi
59187
59188   fi
59189   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59190 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59191
59192     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59193
59194 for ac_func in _isinff
59195 do
59196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59197 echo "$as_me:$LINENO: checking for $ac_func" >&5
59198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59199 if eval "test \"\${$as_ac_var+set}\" = set"; then
59200   echo $ECHO_N "(cached) $ECHO_C" >&6
59201 else
59202   if test x$gcc_no_link = xyes; then
59203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59205    { (exit 1); exit 1; }; }
59206 fi
59207 cat >conftest.$ac_ext <<_ACEOF
59208 /* confdefs.h.  */
59209 _ACEOF
59210 cat confdefs.h >>conftest.$ac_ext
59211 cat >>conftest.$ac_ext <<_ACEOF
59212 /* end confdefs.h.  */
59213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59215 #define $ac_func innocuous_$ac_func
59216
59217 /* System header to define __stub macros and hopefully few prototypes,
59218     which can conflict with char $ac_func (); below.
59219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59220     <limits.h> exists even on freestanding compilers.  */
59221
59222 #ifdef __STDC__
59223 # include <limits.h>
59224 #else
59225 # include <assert.h>
59226 #endif
59227
59228 #undef $ac_func
59229
59230 /* Override any gcc2 internal prototype to avoid an error.  */
59231 #ifdef __cplusplus
59232 extern "C"
59233 {
59234 #endif
59235 /* We use char because int might match the return type of a gcc2
59236    builtin and then its argument prototype would still apply.  */
59237 char $ac_func ();
59238 /* The GNU C library defines this for functions which it implements
59239     to always fail with ENOSYS.  Some functions are actually named
59240     something starting with __ and the normal name is an alias.  */
59241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59242 choke me
59243 #else
59244 char (*f) () = $ac_func;
59245 #endif
59246 #ifdef __cplusplus
59247 }
59248 #endif
59249
59250 int
59251 main ()
59252 {
59253 return f != $ac_func;
59254   ;
59255   return 0;
59256 }
59257 _ACEOF
59258 rm -f conftest.$ac_objext conftest$ac_exeext
59259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59260   (eval $ac_link) 2>conftest.er1
59261   ac_status=$?
59262   grep -v '^ *+' conftest.er1 >conftest.err
59263   rm -f conftest.er1
59264   cat conftest.err >&5
59265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59266   (exit $ac_status); } &&
59267          { ac_try='test -z "$ac_c_werror_flag"
59268                          || test ! -s conftest.err'
59269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59270   (eval $ac_try) 2>&5
59271   ac_status=$?
59272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59273   (exit $ac_status); }; } &&
59274          { ac_try='test -s conftest$ac_exeext'
59275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59276   (eval $ac_try) 2>&5
59277   ac_status=$?
59278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59279   (exit $ac_status); }; }; then
59280   eval "$as_ac_var=yes"
59281 else
59282   echo "$as_me: failed program was:" >&5
59283 sed 's/^/| /' conftest.$ac_ext >&5
59284
59285 eval "$as_ac_var=no"
59286 fi
59287 rm -f conftest.err conftest.$ac_objext \
59288       conftest$ac_exeext conftest.$ac_ext
59289 fi
59290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59292 if test `eval echo '${'$as_ac_var'}'` = yes; then
59293   cat >>confdefs.h <<_ACEOF
59294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59295 _ACEOF
59296
59297 fi
59298 done
59299
59300     fi
59301   fi
59302
59303
59304
59305
59306
59307
59308   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59309 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59310   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59311     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59312   echo $ECHO_N "(cached) $ECHO_C" >&6
59313 else
59314
59315
59316
59317       ac_ext=cc
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322
59323       cat >conftest.$ac_ext <<_ACEOF
59324 /* confdefs.h.  */
59325 _ACEOF
59326 cat confdefs.h >>conftest.$ac_ext
59327 cat >>conftest.$ac_ext <<_ACEOF
59328 /* end confdefs.h.  */
59329 #include <math.h>
59330 int
59331 main ()
59332 {
59333  atan2f(0, 0);
59334   ;
59335   return 0;
59336 }
59337 _ACEOF
59338 rm -f conftest.$ac_objext
59339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59340   (eval $ac_compile) 2>conftest.er1
59341   ac_status=$?
59342   grep -v '^ *+' conftest.er1 >conftest.err
59343   rm -f conftest.er1
59344   cat conftest.err >&5
59345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59346   (exit $ac_status); } &&
59347          { ac_try='test -z "$ac_cxx_werror_flag"
59348                          || test ! -s conftest.err'
59349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59350   (eval $ac_try) 2>&5
59351   ac_status=$?
59352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59353   (exit $ac_status); }; } &&
59354          { ac_try='test -s conftest.$ac_objext'
59355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59356   (eval $ac_try) 2>&5
59357   ac_status=$?
59358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59359   (exit $ac_status); }; }; then
59360   glibcxx_cv_func_atan2f_use=yes
59361 else
59362   echo "$as_me: failed program was:" >&5
59363 sed 's/^/| /' conftest.$ac_ext >&5
59364
59365 glibcxx_cv_func_atan2f_use=no
59366 fi
59367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59368       ac_ext=c
59369 ac_cpp='$CPP $CPPFLAGS'
59370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59373
59374
59375 fi
59376
59377   fi
59378   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59379 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59380
59381   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59382
59383 for ac_func in atan2f
59384 do
59385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59386 echo "$as_me:$LINENO: checking for $ac_func" >&5
59387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59388 if eval "test \"\${$as_ac_var+set}\" = set"; then
59389   echo $ECHO_N "(cached) $ECHO_C" >&6
59390 else
59391   if test x$gcc_no_link = xyes; then
59392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59394    { (exit 1); exit 1; }; }
59395 fi
59396 cat >conftest.$ac_ext <<_ACEOF
59397 /* confdefs.h.  */
59398 _ACEOF
59399 cat confdefs.h >>conftest.$ac_ext
59400 cat >>conftest.$ac_ext <<_ACEOF
59401 /* end confdefs.h.  */
59402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59404 #define $ac_func innocuous_$ac_func
59405
59406 /* System header to define __stub macros and hopefully few prototypes,
59407     which can conflict with char $ac_func (); below.
59408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59409     <limits.h> exists even on freestanding compilers.  */
59410
59411 #ifdef __STDC__
59412 # include <limits.h>
59413 #else
59414 # include <assert.h>
59415 #endif
59416
59417 #undef $ac_func
59418
59419 /* Override any gcc2 internal prototype to avoid an error.  */
59420 #ifdef __cplusplus
59421 extern "C"
59422 {
59423 #endif
59424 /* We use char because int might match the return type of a gcc2
59425    builtin and then its argument prototype would still apply.  */
59426 char $ac_func ();
59427 /* The GNU C library defines this for functions which it implements
59428     to always fail with ENOSYS.  Some functions are actually named
59429     something starting with __ and the normal name is an alias.  */
59430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59431 choke me
59432 #else
59433 char (*f) () = $ac_func;
59434 #endif
59435 #ifdef __cplusplus
59436 }
59437 #endif
59438
59439 int
59440 main ()
59441 {
59442 return f != $ac_func;
59443   ;
59444   return 0;
59445 }
59446 _ACEOF
59447 rm -f conftest.$ac_objext conftest$ac_exeext
59448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59449   (eval $ac_link) 2>conftest.er1
59450   ac_status=$?
59451   grep -v '^ *+' conftest.er1 >conftest.err
59452   rm -f conftest.er1
59453   cat conftest.err >&5
59454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59455   (exit $ac_status); } &&
59456          { ac_try='test -z "$ac_c_werror_flag"
59457                          || test ! -s conftest.err'
59458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59459   (eval $ac_try) 2>&5
59460   ac_status=$?
59461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59462   (exit $ac_status); }; } &&
59463          { ac_try='test -s conftest$ac_exeext'
59464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59465   (eval $ac_try) 2>&5
59466   ac_status=$?
59467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59468   (exit $ac_status); }; }; then
59469   eval "$as_ac_var=yes"
59470 else
59471   echo "$as_me: failed program was:" >&5
59472 sed 's/^/| /' conftest.$ac_ext >&5
59473
59474 eval "$as_ac_var=no"
59475 fi
59476 rm -f conftest.err conftest.$ac_objext \
59477       conftest$ac_exeext conftest.$ac_ext
59478 fi
59479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59481 if test `eval echo '${'$as_ac_var'}'` = yes; then
59482   cat >>confdefs.h <<_ACEOF
59483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59484 _ACEOF
59485
59486 fi
59487 done
59488
59489   else
59490
59491   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59492 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59493   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59494     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59495   echo $ECHO_N "(cached) $ECHO_C" >&6
59496 else
59497
59498
59499
59500       ac_ext=cc
59501 ac_cpp='$CXXCPP $CPPFLAGS'
59502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59505
59506       cat >conftest.$ac_ext <<_ACEOF
59507 /* confdefs.h.  */
59508 _ACEOF
59509 cat confdefs.h >>conftest.$ac_ext
59510 cat >>conftest.$ac_ext <<_ACEOF
59511 /* end confdefs.h.  */
59512 #include <math.h>
59513 int
59514 main ()
59515 {
59516  _atan2f(0, 0);
59517   ;
59518   return 0;
59519 }
59520 _ACEOF
59521 rm -f conftest.$ac_objext
59522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59523   (eval $ac_compile) 2>conftest.er1
59524   ac_status=$?
59525   grep -v '^ *+' conftest.er1 >conftest.err
59526   rm -f conftest.er1
59527   cat conftest.err >&5
59528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59529   (exit $ac_status); } &&
59530          { ac_try='test -z "$ac_cxx_werror_flag"
59531                          || test ! -s conftest.err'
59532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59533   (eval $ac_try) 2>&5
59534   ac_status=$?
59535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59536   (exit $ac_status); }; } &&
59537          { ac_try='test -s conftest.$ac_objext'
59538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59539   (eval $ac_try) 2>&5
59540   ac_status=$?
59541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59542   (exit $ac_status); }; }; then
59543   glibcxx_cv_func__atan2f_use=yes
59544 else
59545   echo "$as_me: failed program was:" >&5
59546 sed 's/^/| /' conftest.$ac_ext >&5
59547
59548 glibcxx_cv_func__atan2f_use=no
59549 fi
59550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59551       ac_ext=c
59552 ac_cpp='$CPP $CPPFLAGS'
59553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59556
59557
59558 fi
59559
59560   fi
59561   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59562 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59563
59564     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59565
59566 for ac_func in _atan2f
59567 do
59568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59569 echo "$as_me:$LINENO: checking for $ac_func" >&5
59570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59571 if eval "test \"\${$as_ac_var+set}\" = set"; then
59572   echo $ECHO_N "(cached) $ECHO_C" >&6
59573 else
59574   if test x$gcc_no_link = xyes; then
59575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59577    { (exit 1); exit 1; }; }
59578 fi
59579 cat >conftest.$ac_ext <<_ACEOF
59580 /* confdefs.h.  */
59581 _ACEOF
59582 cat confdefs.h >>conftest.$ac_ext
59583 cat >>conftest.$ac_ext <<_ACEOF
59584 /* end confdefs.h.  */
59585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59587 #define $ac_func innocuous_$ac_func
59588
59589 /* System header to define __stub macros and hopefully few prototypes,
59590     which can conflict with char $ac_func (); below.
59591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59592     <limits.h> exists even on freestanding compilers.  */
59593
59594 #ifdef __STDC__
59595 # include <limits.h>
59596 #else
59597 # include <assert.h>
59598 #endif
59599
59600 #undef $ac_func
59601
59602 /* Override any gcc2 internal prototype to avoid an error.  */
59603 #ifdef __cplusplus
59604 extern "C"
59605 {
59606 #endif
59607 /* We use char because int might match the return type of a gcc2
59608    builtin and then its argument prototype would still apply.  */
59609 char $ac_func ();
59610 /* The GNU C library defines this for functions which it implements
59611     to always fail with ENOSYS.  Some functions are actually named
59612     something starting with __ and the normal name is an alias.  */
59613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59614 choke me
59615 #else
59616 char (*f) () = $ac_func;
59617 #endif
59618 #ifdef __cplusplus
59619 }
59620 #endif
59621
59622 int
59623 main ()
59624 {
59625 return f != $ac_func;
59626   ;
59627   return 0;
59628 }
59629 _ACEOF
59630 rm -f conftest.$ac_objext conftest$ac_exeext
59631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59632   (eval $ac_link) 2>conftest.er1
59633   ac_status=$?
59634   grep -v '^ *+' conftest.er1 >conftest.err
59635   rm -f conftest.er1
59636   cat conftest.err >&5
59637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59638   (exit $ac_status); } &&
59639          { ac_try='test -z "$ac_c_werror_flag"
59640                          || test ! -s conftest.err'
59641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59642   (eval $ac_try) 2>&5
59643   ac_status=$?
59644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59645   (exit $ac_status); }; } &&
59646          { ac_try='test -s conftest$ac_exeext'
59647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59648   (eval $ac_try) 2>&5
59649   ac_status=$?
59650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59651   (exit $ac_status); }; }; then
59652   eval "$as_ac_var=yes"
59653 else
59654   echo "$as_me: failed program was:" >&5
59655 sed 's/^/| /' conftest.$ac_ext >&5
59656
59657 eval "$as_ac_var=no"
59658 fi
59659 rm -f conftest.err conftest.$ac_objext \
59660       conftest$ac_exeext conftest.$ac_ext
59661 fi
59662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59664 if test `eval echo '${'$as_ac_var'}'` = yes; then
59665   cat >>confdefs.h <<_ACEOF
59666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59667 _ACEOF
59668
59669 fi
59670 done
59671
59672     fi
59673   fi
59674
59675
59676
59677
59678
59679
59680   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59681 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59682   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59683     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59684   echo $ECHO_N "(cached) $ECHO_C" >&6
59685 else
59686
59687
59688
59689       ac_ext=cc
59690 ac_cpp='$CXXCPP $CPPFLAGS'
59691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59694
59695       cat >conftest.$ac_ext <<_ACEOF
59696 /* confdefs.h.  */
59697 _ACEOF
59698 cat confdefs.h >>conftest.$ac_ext
59699 cat >>conftest.$ac_ext <<_ACEOF
59700 /* end confdefs.h.  */
59701 #include <math.h>
59702                       #ifdef HAVE_IEEEFP_H
59703                       #include <ieeefp.h>
59704                       #endif
59705
59706 int
59707 main ()
59708 {
59709  fabsf(0);
59710   ;
59711   return 0;
59712 }
59713 _ACEOF
59714 rm -f conftest.$ac_objext
59715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59716   (eval $ac_compile) 2>conftest.er1
59717   ac_status=$?
59718   grep -v '^ *+' conftest.er1 >conftest.err
59719   rm -f conftest.er1
59720   cat conftest.err >&5
59721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59722   (exit $ac_status); } &&
59723          { ac_try='test -z "$ac_cxx_werror_flag"
59724                          || test ! -s conftest.err'
59725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59726   (eval $ac_try) 2>&5
59727   ac_status=$?
59728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59729   (exit $ac_status); }; } &&
59730          { ac_try='test -s conftest.$ac_objext'
59731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59732   (eval $ac_try) 2>&5
59733   ac_status=$?
59734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59735   (exit $ac_status); }; }; then
59736   glibcxx_cv_func_fabsf_use=yes
59737 else
59738   echo "$as_me: failed program was:" >&5
59739 sed 's/^/| /' conftest.$ac_ext >&5
59740
59741 glibcxx_cv_func_fabsf_use=no
59742 fi
59743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59744       ac_ext=c
59745 ac_cpp='$CPP $CPPFLAGS'
59746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59749
59750
59751 fi
59752
59753   fi
59754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59755 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59756
59757   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59758
59759 for ac_func in fabsf
59760 do
59761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59762 echo "$as_me:$LINENO: checking for $ac_func" >&5
59763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59764 if eval "test \"\${$as_ac_var+set}\" = set"; then
59765   echo $ECHO_N "(cached) $ECHO_C" >&6
59766 else
59767   if test x$gcc_no_link = xyes; then
59768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59770    { (exit 1); exit 1; }; }
59771 fi
59772 cat >conftest.$ac_ext <<_ACEOF
59773 /* confdefs.h.  */
59774 _ACEOF
59775 cat confdefs.h >>conftest.$ac_ext
59776 cat >>conftest.$ac_ext <<_ACEOF
59777 /* end confdefs.h.  */
59778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59780 #define $ac_func innocuous_$ac_func
59781
59782 /* System header to define __stub macros and hopefully few prototypes,
59783     which can conflict with char $ac_func (); below.
59784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59785     <limits.h> exists even on freestanding compilers.  */
59786
59787 #ifdef __STDC__
59788 # include <limits.h>
59789 #else
59790 # include <assert.h>
59791 #endif
59792
59793 #undef $ac_func
59794
59795 /* Override any gcc2 internal prototype to avoid an error.  */
59796 #ifdef __cplusplus
59797 extern "C"
59798 {
59799 #endif
59800 /* We use char because int might match the return type of a gcc2
59801    builtin and then its argument prototype would still apply.  */
59802 char $ac_func ();
59803 /* The GNU C library defines this for functions which it implements
59804     to always fail with ENOSYS.  Some functions are actually named
59805     something starting with __ and the normal name is an alias.  */
59806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59807 choke me
59808 #else
59809 char (*f) () = $ac_func;
59810 #endif
59811 #ifdef __cplusplus
59812 }
59813 #endif
59814
59815 int
59816 main ()
59817 {
59818 return f != $ac_func;
59819   ;
59820   return 0;
59821 }
59822 _ACEOF
59823 rm -f conftest.$ac_objext conftest$ac_exeext
59824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59825   (eval $ac_link) 2>conftest.er1
59826   ac_status=$?
59827   grep -v '^ *+' conftest.er1 >conftest.err
59828   rm -f conftest.er1
59829   cat conftest.err >&5
59830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59831   (exit $ac_status); } &&
59832          { ac_try='test -z "$ac_c_werror_flag"
59833                          || test ! -s conftest.err'
59834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835   (eval $ac_try) 2>&5
59836   ac_status=$?
59837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838   (exit $ac_status); }; } &&
59839          { ac_try='test -s conftest$ac_exeext'
59840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59841   (eval $ac_try) 2>&5
59842   ac_status=$?
59843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844   (exit $ac_status); }; }; then
59845   eval "$as_ac_var=yes"
59846 else
59847   echo "$as_me: failed program was:" >&5
59848 sed 's/^/| /' conftest.$ac_ext >&5
59849
59850 eval "$as_ac_var=no"
59851 fi
59852 rm -f conftest.err conftest.$ac_objext \
59853       conftest$ac_exeext conftest.$ac_ext
59854 fi
59855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59857 if test `eval echo '${'$as_ac_var'}'` = yes; then
59858   cat >>confdefs.h <<_ACEOF
59859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59860 _ACEOF
59861
59862 fi
59863 done
59864
59865   else
59866
59867   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59868 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59869   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59870     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59871   echo $ECHO_N "(cached) $ECHO_C" >&6
59872 else
59873
59874
59875
59876       ac_ext=cc
59877 ac_cpp='$CXXCPP $CPPFLAGS'
59878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59881
59882       cat >conftest.$ac_ext <<_ACEOF
59883 /* confdefs.h.  */
59884 _ACEOF
59885 cat confdefs.h >>conftest.$ac_ext
59886 cat >>conftest.$ac_ext <<_ACEOF
59887 /* end confdefs.h.  */
59888 #include <math.h>
59889                       #ifdef HAVE_IEEEFP_H
59890                       #include <ieeefp.h>
59891                       #endif
59892
59893 int
59894 main ()
59895 {
59896  _fabsf(0);
59897   ;
59898   return 0;
59899 }
59900 _ACEOF
59901 rm -f conftest.$ac_objext
59902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59903   (eval $ac_compile) 2>conftest.er1
59904   ac_status=$?
59905   grep -v '^ *+' conftest.er1 >conftest.err
59906   rm -f conftest.er1
59907   cat conftest.err >&5
59908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59909   (exit $ac_status); } &&
59910          { ac_try='test -z "$ac_cxx_werror_flag"
59911                          || test ! -s conftest.err'
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); }; } &&
59917          { ac_try='test -s conftest.$ac_objext'
59918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59919   (eval $ac_try) 2>&5
59920   ac_status=$?
59921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59922   (exit $ac_status); }; }; then
59923   glibcxx_cv_func__fabsf_use=yes
59924 else
59925   echo "$as_me: failed program was:" >&5
59926 sed 's/^/| /' conftest.$ac_ext >&5
59927
59928 glibcxx_cv_func__fabsf_use=no
59929 fi
59930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59931       ac_ext=c
59932 ac_cpp='$CPP $CPPFLAGS'
59933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59936
59937
59938 fi
59939
59940   fi
59941   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59942 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59943
59944     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59945
59946 for ac_func in _fabsf
59947 do
59948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59949 echo "$as_me:$LINENO: checking for $ac_func" >&5
59950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59951 if eval "test \"\${$as_ac_var+set}\" = set"; then
59952   echo $ECHO_N "(cached) $ECHO_C" >&6
59953 else
59954   if test x$gcc_no_link = xyes; then
59955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59957    { (exit 1); exit 1; }; }
59958 fi
59959 cat >conftest.$ac_ext <<_ACEOF
59960 /* confdefs.h.  */
59961 _ACEOF
59962 cat confdefs.h >>conftest.$ac_ext
59963 cat >>conftest.$ac_ext <<_ACEOF
59964 /* end confdefs.h.  */
59965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59967 #define $ac_func innocuous_$ac_func
59968
59969 /* System header to define __stub macros and hopefully few prototypes,
59970     which can conflict with char $ac_func (); below.
59971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59972     <limits.h> exists even on freestanding compilers.  */
59973
59974 #ifdef __STDC__
59975 # include <limits.h>
59976 #else
59977 # include <assert.h>
59978 #endif
59979
59980 #undef $ac_func
59981
59982 /* Override any gcc2 internal prototype to avoid an error.  */
59983 #ifdef __cplusplus
59984 extern "C"
59985 {
59986 #endif
59987 /* We use char because int might match the return type of a gcc2
59988    builtin and then its argument prototype would still apply.  */
59989 char $ac_func ();
59990 /* The GNU C library defines this for functions which it implements
59991     to always fail with ENOSYS.  Some functions are actually named
59992     something starting with __ and the normal name is an alias.  */
59993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59994 choke me
59995 #else
59996 char (*f) () = $ac_func;
59997 #endif
59998 #ifdef __cplusplus
59999 }
60000 #endif
60001
60002 int
60003 main ()
60004 {
60005 return f != $ac_func;
60006   ;
60007   return 0;
60008 }
60009 _ACEOF
60010 rm -f conftest.$ac_objext conftest$ac_exeext
60011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60012   (eval $ac_link) 2>conftest.er1
60013   ac_status=$?
60014   grep -v '^ *+' conftest.er1 >conftest.err
60015   rm -f conftest.er1
60016   cat conftest.err >&5
60017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60018   (exit $ac_status); } &&
60019          { ac_try='test -z "$ac_c_werror_flag"
60020                          || test ! -s conftest.err'
60021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60022   (eval $ac_try) 2>&5
60023   ac_status=$?
60024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60025   (exit $ac_status); }; } &&
60026          { ac_try='test -s conftest$ac_exeext'
60027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60028   (eval $ac_try) 2>&5
60029   ac_status=$?
60030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60031   (exit $ac_status); }; }; then
60032   eval "$as_ac_var=yes"
60033 else
60034   echo "$as_me: failed program was:" >&5
60035 sed 's/^/| /' conftest.$ac_ext >&5
60036
60037 eval "$as_ac_var=no"
60038 fi
60039 rm -f conftest.err conftest.$ac_objext \
60040       conftest$ac_exeext conftest.$ac_ext
60041 fi
60042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60044 if test `eval echo '${'$as_ac_var'}'` = yes; then
60045   cat >>confdefs.h <<_ACEOF
60046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60047 _ACEOF
60048
60049 fi
60050 done
60051
60052     fi
60053   fi
60054
60055
60056
60057
60058
60059
60060   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60061 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60062   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60063     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60064   echo $ECHO_N "(cached) $ECHO_C" >&6
60065 else
60066
60067
60068
60069       ac_ext=cc
60070 ac_cpp='$CXXCPP $CPPFLAGS'
60071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60074
60075       cat >conftest.$ac_ext <<_ACEOF
60076 /* confdefs.h.  */
60077 _ACEOF
60078 cat confdefs.h >>conftest.$ac_ext
60079 cat >>conftest.$ac_ext <<_ACEOF
60080 /* end confdefs.h.  */
60081 #include <math.h>
60082 int
60083 main ()
60084 {
60085  fmodf(0, 0);
60086   ;
60087   return 0;
60088 }
60089 _ACEOF
60090 rm -f conftest.$ac_objext
60091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60092   (eval $ac_compile) 2>conftest.er1
60093   ac_status=$?
60094   grep -v '^ *+' conftest.er1 >conftest.err
60095   rm -f conftest.er1
60096   cat conftest.err >&5
60097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60098   (exit $ac_status); } &&
60099          { ac_try='test -z "$ac_cxx_werror_flag"
60100                          || test ! -s conftest.err'
60101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60102   (eval $ac_try) 2>&5
60103   ac_status=$?
60104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60105   (exit $ac_status); }; } &&
60106          { ac_try='test -s conftest.$ac_objext'
60107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60108   (eval $ac_try) 2>&5
60109   ac_status=$?
60110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60111   (exit $ac_status); }; }; then
60112   glibcxx_cv_func_fmodf_use=yes
60113 else
60114   echo "$as_me: failed program was:" >&5
60115 sed 's/^/| /' conftest.$ac_ext >&5
60116
60117 glibcxx_cv_func_fmodf_use=no
60118 fi
60119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60120       ac_ext=c
60121 ac_cpp='$CPP $CPPFLAGS'
60122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60125
60126
60127 fi
60128
60129   fi
60130   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60131 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60132
60133   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60134
60135 for ac_func in fmodf
60136 do
60137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60138 echo "$as_me:$LINENO: checking for $ac_func" >&5
60139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60140 if eval "test \"\${$as_ac_var+set}\" = set"; then
60141   echo $ECHO_N "(cached) $ECHO_C" >&6
60142 else
60143   if test x$gcc_no_link = xyes; then
60144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60146    { (exit 1); exit 1; }; }
60147 fi
60148 cat >conftest.$ac_ext <<_ACEOF
60149 /* confdefs.h.  */
60150 _ACEOF
60151 cat confdefs.h >>conftest.$ac_ext
60152 cat >>conftest.$ac_ext <<_ACEOF
60153 /* end confdefs.h.  */
60154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60156 #define $ac_func innocuous_$ac_func
60157
60158 /* System header to define __stub macros and hopefully few prototypes,
60159     which can conflict with char $ac_func (); below.
60160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60161     <limits.h> exists even on freestanding compilers.  */
60162
60163 #ifdef __STDC__
60164 # include <limits.h>
60165 #else
60166 # include <assert.h>
60167 #endif
60168
60169 #undef $ac_func
60170
60171 /* Override any gcc2 internal prototype to avoid an error.  */
60172 #ifdef __cplusplus
60173 extern "C"
60174 {
60175 #endif
60176 /* We use char because int might match the return type of a gcc2
60177    builtin and then its argument prototype would still apply.  */
60178 char $ac_func ();
60179 /* The GNU C library defines this for functions which it implements
60180     to always fail with ENOSYS.  Some functions are actually named
60181     something starting with __ and the normal name is an alias.  */
60182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60183 choke me
60184 #else
60185 char (*f) () = $ac_func;
60186 #endif
60187 #ifdef __cplusplus
60188 }
60189 #endif
60190
60191 int
60192 main ()
60193 {
60194 return f != $ac_func;
60195   ;
60196   return 0;
60197 }
60198 _ACEOF
60199 rm -f conftest.$ac_objext conftest$ac_exeext
60200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60201   (eval $ac_link) 2>conftest.er1
60202   ac_status=$?
60203   grep -v '^ *+' conftest.er1 >conftest.err
60204   rm -f conftest.er1
60205   cat conftest.err >&5
60206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60207   (exit $ac_status); } &&
60208          { ac_try='test -z "$ac_c_werror_flag"
60209                          || test ! -s conftest.err'
60210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60211   (eval $ac_try) 2>&5
60212   ac_status=$?
60213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60214   (exit $ac_status); }; } &&
60215          { ac_try='test -s conftest$ac_exeext'
60216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60217   (eval $ac_try) 2>&5
60218   ac_status=$?
60219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60220   (exit $ac_status); }; }; then
60221   eval "$as_ac_var=yes"
60222 else
60223   echo "$as_me: failed program was:" >&5
60224 sed 's/^/| /' conftest.$ac_ext >&5
60225
60226 eval "$as_ac_var=no"
60227 fi
60228 rm -f conftest.err conftest.$ac_objext \
60229       conftest$ac_exeext conftest.$ac_ext
60230 fi
60231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60233 if test `eval echo '${'$as_ac_var'}'` = yes; then
60234   cat >>confdefs.h <<_ACEOF
60235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60236 _ACEOF
60237
60238 fi
60239 done
60240
60241   else
60242
60243   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60244 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60245   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60246     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60247   echo $ECHO_N "(cached) $ECHO_C" >&6
60248 else
60249
60250
60251
60252       ac_ext=cc
60253 ac_cpp='$CXXCPP $CPPFLAGS'
60254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60257
60258       cat >conftest.$ac_ext <<_ACEOF
60259 /* confdefs.h.  */
60260 _ACEOF
60261 cat confdefs.h >>conftest.$ac_ext
60262 cat >>conftest.$ac_ext <<_ACEOF
60263 /* end confdefs.h.  */
60264 #include <math.h>
60265 int
60266 main ()
60267 {
60268  _fmodf(0, 0);
60269   ;
60270   return 0;
60271 }
60272 _ACEOF
60273 rm -f conftest.$ac_objext
60274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60275   (eval $ac_compile) 2>conftest.er1
60276   ac_status=$?
60277   grep -v '^ *+' conftest.er1 >conftest.err
60278   rm -f conftest.er1
60279   cat conftest.err >&5
60280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60281   (exit $ac_status); } &&
60282          { ac_try='test -z "$ac_cxx_werror_flag"
60283                          || test ! -s conftest.err'
60284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60285   (eval $ac_try) 2>&5
60286   ac_status=$?
60287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60288   (exit $ac_status); }; } &&
60289          { ac_try='test -s conftest.$ac_objext'
60290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60291   (eval $ac_try) 2>&5
60292   ac_status=$?
60293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60294   (exit $ac_status); }; }; then
60295   glibcxx_cv_func__fmodf_use=yes
60296 else
60297   echo "$as_me: failed program was:" >&5
60298 sed 's/^/| /' conftest.$ac_ext >&5
60299
60300 glibcxx_cv_func__fmodf_use=no
60301 fi
60302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60303       ac_ext=c
60304 ac_cpp='$CPP $CPPFLAGS'
60305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60308
60309
60310 fi
60311
60312   fi
60313   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60314 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60315
60316     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60317
60318 for ac_func in _fmodf
60319 do
60320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60321 echo "$as_me:$LINENO: checking for $ac_func" >&5
60322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60323 if eval "test \"\${$as_ac_var+set}\" = set"; then
60324   echo $ECHO_N "(cached) $ECHO_C" >&6
60325 else
60326   if test x$gcc_no_link = xyes; then
60327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60329    { (exit 1); exit 1; }; }
60330 fi
60331 cat >conftest.$ac_ext <<_ACEOF
60332 /* confdefs.h.  */
60333 _ACEOF
60334 cat confdefs.h >>conftest.$ac_ext
60335 cat >>conftest.$ac_ext <<_ACEOF
60336 /* end confdefs.h.  */
60337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60339 #define $ac_func innocuous_$ac_func
60340
60341 /* System header to define __stub macros and hopefully few prototypes,
60342     which can conflict with char $ac_func (); below.
60343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60344     <limits.h> exists even on freestanding compilers.  */
60345
60346 #ifdef __STDC__
60347 # include <limits.h>
60348 #else
60349 # include <assert.h>
60350 #endif
60351
60352 #undef $ac_func
60353
60354 /* Override any gcc2 internal prototype to avoid an error.  */
60355 #ifdef __cplusplus
60356 extern "C"
60357 {
60358 #endif
60359 /* We use char because int might match the return type of a gcc2
60360    builtin and then its argument prototype would still apply.  */
60361 char $ac_func ();
60362 /* The GNU C library defines this for functions which it implements
60363     to always fail with ENOSYS.  Some functions are actually named
60364     something starting with __ and the normal name is an alias.  */
60365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60366 choke me
60367 #else
60368 char (*f) () = $ac_func;
60369 #endif
60370 #ifdef __cplusplus
60371 }
60372 #endif
60373
60374 int
60375 main ()
60376 {
60377 return f != $ac_func;
60378   ;
60379   return 0;
60380 }
60381 _ACEOF
60382 rm -f conftest.$ac_objext conftest$ac_exeext
60383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60384   (eval $ac_link) 2>conftest.er1
60385   ac_status=$?
60386   grep -v '^ *+' conftest.er1 >conftest.err
60387   rm -f conftest.er1
60388   cat conftest.err >&5
60389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60390   (exit $ac_status); } &&
60391          { ac_try='test -z "$ac_c_werror_flag"
60392                          || test ! -s conftest.err'
60393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60394   (eval $ac_try) 2>&5
60395   ac_status=$?
60396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60397   (exit $ac_status); }; } &&
60398          { ac_try='test -s conftest$ac_exeext'
60399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60400   (eval $ac_try) 2>&5
60401   ac_status=$?
60402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60403   (exit $ac_status); }; }; then
60404   eval "$as_ac_var=yes"
60405 else
60406   echo "$as_me: failed program was:" >&5
60407 sed 's/^/| /' conftest.$ac_ext >&5
60408
60409 eval "$as_ac_var=no"
60410 fi
60411 rm -f conftest.err conftest.$ac_objext \
60412       conftest$ac_exeext conftest.$ac_ext
60413 fi
60414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60416 if test `eval echo '${'$as_ac_var'}'` = yes; then
60417   cat >>confdefs.h <<_ACEOF
60418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60419 _ACEOF
60420
60421 fi
60422 done
60423
60424     fi
60425   fi
60426
60427
60428
60429
60430
60431
60432   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60433 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60434   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60435     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60436   echo $ECHO_N "(cached) $ECHO_C" >&6
60437 else
60438
60439
60440
60441       ac_ext=cc
60442 ac_cpp='$CXXCPP $CPPFLAGS'
60443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60446
60447       cat >conftest.$ac_ext <<_ACEOF
60448 /* confdefs.h.  */
60449 _ACEOF
60450 cat confdefs.h >>conftest.$ac_ext
60451 cat >>conftest.$ac_ext <<_ACEOF
60452 /* end confdefs.h.  */
60453 #include <math.h>
60454 int
60455 main ()
60456 {
60457  frexpf(0, 0);
60458   ;
60459   return 0;
60460 }
60461 _ACEOF
60462 rm -f conftest.$ac_objext
60463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60464   (eval $ac_compile) 2>conftest.er1
60465   ac_status=$?
60466   grep -v '^ *+' conftest.er1 >conftest.err
60467   rm -f conftest.er1
60468   cat conftest.err >&5
60469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60470   (exit $ac_status); } &&
60471          { ac_try='test -z "$ac_cxx_werror_flag"
60472                          || test ! -s conftest.err'
60473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60474   (eval $ac_try) 2>&5
60475   ac_status=$?
60476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60477   (exit $ac_status); }; } &&
60478          { ac_try='test -s conftest.$ac_objext'
60479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60480   (eval $ac_try) 2>&5
60481   ac_status=$?
60482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60483   (exit $ac_status); }; }; then
60484   glibcxx_cv_func_frexpf_use=yes
60485 else
60486   echo "$as_me: failed program was:" >&5
60487 sed 's/^/| /' conftest.$ac_ext >&5
60488
60489 glibcxx_cv_func_frexpf_use=no
60490 fi
60491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60492       ac_ext=c
60493 ac_cpp='$CPP $CPPFLAGS'
60494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60497
60498
60499 fi
60500
60501   fi
60502   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60503 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60504
60505   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60506
60507 for ac_func in frexpf
60508 do
60509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60510 echo "$as_me:$LINENO: checking for $ac_func" >&5
60511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60512 if eval "test \"\${$as_ac_var+set}\" = set"; then
60513   echo $ECHO_N "(cached) $ECHO_C" >&6
60514 else
60515   if test x$gcc_no_link = xyes; then
60516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60518    { (exit 1); exit 1; }; }
60519 fi
60520 cat >conftest.$ac_ext <<_ACEOF
60521 /* confdefs.h.  */
60522 _ACEOF
60523 cat confdefs.h >>conftest.$ac_ext
60524 cat >>conftest.$ac_ext <<_ACEOF
60525 /* end confdefs.h.  */
60526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60528 #define $ac_func innocuous_$ac_func
60529
60530 /* System header to define __stub macros and hopefully few prototypes,
60531     which can conflict with char $ac_func (); below.
60532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60533     <limits.h> exists even on freestanding compilers.  */
60534
60535 #ifdef __STDC__
60536 # include <limits.h>
60537 #else
60538 # include <assert.h>
60539 #endif
60540
60541 #undef $ac_func
60542
60543 /* Override any gcc2 internal prototype to avoid an error.  */
60544 #ifdef __cplusplus
60545 extern "C"
60546 {
60547 #endif
60548 /* We use char because int might match the return type of a gcc2
60549    builtin and then its argument prototype would still apply.  */
60550 char $ac_func ();
60551 /* The GNU C library defines this for functions which it implements
60552     to always fail with ENOSYS.  Some functions are actually named
60553     something starting with __ and the normal name is an alias.  */
60554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60555 choke me
60556 #else
60557 char (*f) () = $ac_func;
60558 #endif
60559 #ifdef __cplusplus
60560 }
60561 #endif
60562
60563 int
60564 main ()
60565 {
60566 return f != $ac_func;
60567   ;
60568   return 0;
60569 }
60570 _ACEOF
60571 rm -f conftest.$ac_objext conftest$ac_exeext
60572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60573   (eval $ac_link) 2>conftest.er1
60574   ac_status=$?
60575   grep -v '^ *+' conftest.er1 >conftest.err
60576   rm -f conftest.er1
60577   cat conftest.err >&5
60578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60579   (exit $ac_status); } &&
60580          { ac_try='test -z "$ac_c_werror_flag"
60581                          || test ! -s conftest.err'
60582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60583   (eval $ac_try) 2>&5
60584   ac_status=$?
60585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60586   (exit $ac_status); }; } &&
60587          { ac_try='test -s conftest$ac_exeext'
60588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60589   (eval $ac_try) 2>&5
60590   ac_status=$?
60591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60592   (exit $ac_status); }; }; then
60593   eval "$as_ac_var=yes"
60594 else
60595   echo "$as_me: failed program was:" >&5
60596 sed 's/^/| /' conftest.$ac_ext >&5
60597
60598 eval "$as_ac_var=no"
60599 fi
60600 rm -f conftest.err conftest.$ac_objext \
60601       conftest$ac_exeext conftest.$ac_ext
60602 fi
60603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60605 if test `eval echo '${'$as_ac_var'}'` = yes; then
60606   cat >>confdefs.h <<_ACEOF
60607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60608 _ACEOF
60609
60610 fi
60611 done
60612
60613   else
60614
60615   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60616 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60617   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60618     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60619   echo $ECHO_N "(cached) $ECHO_C" >&6
60620 else
60621
60622
60623
60624       ac_ext=cc
60625 ac_cpp='$CXXCPP $CPPFLAGS'
60626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60629
60630       cat >conftest.$ac_ext <<_ACEOF
60631 /* confdefs.h.  */
60632 _ACEOF
60633 cat confdefs.h >>conftest.$ac_ext
60634 cat >>conftest.$ac_ext <<_ACEOF
60635 /* end confdefs.h.  */
60636 #include <math.h>
60637 int
60638 main ()
60639 {
60640  _frexpf(0, 0);
60641   ;
60642   return 0;
60643 }
60644 _ACEOF
60645 rm -f conftest.$ac_objext
60646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60647   (eval $ac_compile) 2>conftest.er1
60648   ac_status=$?
60649   grep -v '^ *+' conftest.er1 >conftest.err
60650   rm -f conftest.er1
60651   cat conftest.err >&5
60652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60653   (exit $ac_status); } &&
60654          { ac_try='test -z "$ac_cxx_werror_flag"
60655                          || test ! -s conftest.err'
60656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60657   (eval $ac_try) 2>&5
60658   ac_status=$?
60659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60660   (exit $ac_status); }; } &&
60661          { ac_try='test -s conftest.$ac_objext'
60662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60663   (eval $ac_try) 2>&5
60664   ac_status=$?
60665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60666   (exit $ac_status); }; }; then
60667   glibcxx_cv_func__frexpf_use=yes
60668 else
60669   echo "$as_me: failed program was:" >&5
60670 sed 's/^/| /' conftest.$ac_ext >&5
60671
60672 glibcxx_cv_func__frexpf_use=no
60673 fi
60674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60675       ac_ext=c
60676 ac_cpp='$CPP $CPPFLAGS'
60677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60680
60681
60682 fi
60683
60684   fi
60685   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60686 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60687
60688     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60689
60690 for ac_func in _frexpf
60691 do
60692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60693 echo "$as_me:$LINENO: checking for $ac_func" >&5
60694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60695 if eval "test \"\${$as_ac_var+set}\" = set"; then
60696   echo $ECHO_N "(cached) $ECHO_C" >&6
60697 else
60698   if test x$gcc_no_link = xyes; then
60699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60701    { (exit 1); exit 1; }; }
60702 fi
60703 cat >conftest.$ac_ext <<_ACEOF
60704 /* confdefs.h.  */
60705 _ACEOF
60706 cat confdefs.h >>conftest.$ac_ext
60707 cat >>conftest.$ac_ext <<_ACEOF
60708 /* end confdefs.h.  */
60709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60711 #define $ac_func innocuous_$ac_func
60712
60713 /* System header to define __stub macros and hopefully few prototypes,
60714     which can conflict with char $ac_func (); below.
60715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60716     <limits.h> exists even on freestanding compilers.  */
60717
60718 #ifdef __STDC__
60719 # include <limits.h>
60720 #else
60721 # include <assert.h>
60722 #endif
60723
60724 #undef $ac_func
60725
60726 /* Override any gcc2 internal prototype to avoid an error.  */
60727 #ifdef __cplusplus
60728 extern "C"
60729 {
60730 #endif
60731 /* We use char because int might match the return type of a gcc2
60732    builtin and then its argument prototype would still apply.  */
60733 char $ac_func ();
60734 /* The GNU C library defines this for functions which it implements
60735     to always fail with ENOSYS.  Some functions are actually named
60736     something starting with __ and the normal name is an alias.  */
60737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60738 choke me
60739 #else
60740 char (*f) () = $ac_func;
60741 #endif
60742 #ifdef __cplusplus
60743 }
60744 #endif
60745
60746 int
60747 main ()
60748 {
60749 return f != $ac_func;
60750   ;
60751   return 0;
60752 }
60753 _ACEOF
60754 rm -f conftest.$ac_objext conftest$ac_exeext
60755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60756   (eval $ac_link) 2>conftest.er1
60757   ac_status=$?
60758   grep -v '^ *+' conftest.er1 >conftest.err
60759   rm -f conftest.er1
60760   cat conftest.err >&5
60761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60762   (exit $ac_status); } &&
60763          { ac_try='test -z "$ac_c_werror_flag"
60764                          || test ! -s conftest.err'
60765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60766   (eval $ac_try) 2>&5
60767   ac_status=$?
60768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60769   (exit $ac_status); }; } &&
60770          { ac_try='test -s conftest$ac_exeext'
60771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60772   (eval $ac_try) 2>&5
60773   ac_status=$?
60774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60775   (exit $ac_status); }; }; then
60776   eval "$as_ac_var=yes"
60777 else
60778   echo "$as_me: failed program was:" >&5
60779 sed 's/^/| /' conftest.$ac_ext >&5
60780
60781 eval "$as_ac_var=no"
60782 fi
60783 rm -f conftest.err conftest.$ac_objext \
60784       conftest$ac_exeext conftest.$ac_ext
60785 fi
60786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60788 if test `eval echo '${'$as_ac_var'}'` = yes; then
60789   cat >>confdefs.h <<_ACEOF
60790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60791 _ACEOF
60792
60793 fi
60794 done
60795
60796     fi
60797   fi
60798
60799
60800
60801
60802
60803
60804   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60805 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60806   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60807     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60808   echo $ECHO_N "(cached) $ECHO_C" >&6
60809 else
60810
60811
60812
60813       ac_ext=cc
60814 ac_cpp='$CXXCPP $CPPFLAGS'
60815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60818
60819       cat >conftest.$ac_ext <<_ACEOF
60820 /* confdefs.h.  */
60821 _ACEOF
60822 cat confdefs.h >>conftest.$ac_ext
60823 cat >>conftest.$ac_ext <<_ACEOF
60824 /* end confdefs.h.  */
60825 #include <math.h>
60826 int
60827 main ()
60828 {
60829  hypotf(0, 0);
60830   ;
60831   return 0;
60832 }
60833 _ACEOF
60834 rm -f conftest.$ac_objext
60835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60836   (eval $ac_compile) 2>conftest.er1
60837   ac_status=$?
60838   grep -v '^ *+' conftest.er1 >conftest.err
60839   rm -f conftest.er1
60840   cat conftest.err >&5
60841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60842   (exit $ac_status); } &&
60843          { ac_try='test -z "$ac_cxx_werror_flag"
60844                          || test ! -s conftest.err'
60845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60846   (eval $ac_try) 2>&5
60847   ac_status=$?
60848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60849   (exit $ac_status); }; } &&
60850          { ac_try='test -s conftest.$ac_objext'
60851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60852   (eval $ac_try) 2>&5
60853   ac_status=$?
60854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60855   (exit $ac_status); }; }; then
60856   glibcxx_cv_func_hypotf_use=yes
60857 else
60858   echo "$as_me: failed program was:" >&5
60859 sed 's/^/| /' conftest.$ac_ext >&5
60860
60861 glibcxx_cv_func_hypotf_use=no
60862 fi
60863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60864       ac_ext=c
60865 ac_cpp='$CPP $CPPFLAGS'
60866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60869
60870
60871 fi
60872
60873   fi
60874   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60875 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60876
60877   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60878
60879 for ac_func in hypotf
60880 do
60881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60882 echo "$as_me:$LINENO: checking for $ac_func" >&5
60883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60884 if eval "test \"\${$as_ac_var+set}\" = set"; then
60885   echo $ECHO_N "(cached) $ECHO_C" >&6
60886 else
60887   if test x$gcc_no_link = xyes; then
60888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60890    { (exit 1); exit 1; }; }
60891 fi
60892 cat >conftest.$ac_ext <<_ACEOF
60893 /* confdefs.h.  */
60894 _ACEOF
60895 cat confdefs.h >>conftest.$ac_ext
60896 cat >>conftest.$ac_ext <<_ACEOF
60897 /* end confdefs.h.  */
60898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60900 #define $ac_func innocuous_$ac_func
60901
60902 /* System header to define __stub macros and hopefully few prototypes,
60903     which can conflict with char $ac_func (); below.
60904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60905     <limits.h> exists even on freestanding compilers.  */
60906
60907 #ifdef __STDC__
60908 # include <limits.h>
60909 #else
60910 # include <assert.h>
60911 #endif
60912
60913 #undef $ac_func
60914
60915 /* Override any gcc2 internal prototype to avoid an error.  */
60916 #ifdef __cplusplus
60917 extern "C"
60918 {
60919 #endif
60920 /* We use char because int might match the return type of a gcc2
60921    builtin and then its argument prototype would still apply.  */
60922 char $ac_func ();
60923 /* The GNU C library defines this for functions which it implements
60924     to always fail with ENOSYS.  Some functions are actually named
60925     something starting with __ and the normal name is an alias.  */
60926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60927 choke me
60928 #else
60929 char (*f) () = $ac_func;
60930 #endif
60931 #ifdef __cplusplus
60932 }
60933 #endif
60934
60935 int
60936 main ()
60937 {
60938 return f != $ac_func;
60939   ;
60940   return 0;
60941 }
60942 _ACEOF
60943 rm -f conftest.$ac_objext conftest$ac_exeext
60944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60945   (eval $ac_link) 2>conftest.er1
60946   ac_status=$?
60947   grep -v '^ *+' conftest.er1 >conftest.err
60948   rm -f conftest.er1
60949   cat conftest.err >&5
60950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60951   (exit $ac_status); } &&
60952          { ac_try='test -z "$ac_c_werror_flag"
60953                          || test ! -s conftest.err'
60954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60955   (eval $ac_try) 2>&5
60956   ac_status=$?
60957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60958   (exit $ac_status); }; } &&
60959          { ac_try='test -s conftest$ac_exeext'
60960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60961   (eval $ac_try) 2>&5
60962   ac_status=$?
60963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60964   (exit $ac_status); }; }; then
60965   eval "$as_ac_var=yes"
60966 else
60967   echo "$as_me: failed program was:" >&5
60968 sed 's/^/| /' conftest.$ac_ext >&5
60969
60970 eval "$as_ac_var=no"
60971 fi
60972 rm -f conftest.err conftest.$ac_objext \
60973       conftest$ac_exeext conftest.$ac_ext
60974 fi
60975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60977 if test `eval echo '${'$as_ac_var'}'` = yes; then
60978   cat >>confdefs.h <<_ACEOF
60979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60980 _ACEOF
60981
60982 fi
60983 done
60984
60985   else
60986
60987   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
60988 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
60989   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60990     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
60991   echo $ECHO_N "(cached) $ECHO_C" >&6
60992 else
60993
60994
60995
60996       ac_ext=cc
60997 ac_cpp='$CXXCPP $CPPFLAGS'
60998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61001
61002       cat >conftest.$ac_ext <<_ACEOF
61003 /* confdefs.h.  */
61004 _ACEOF
61005 cat confdefs.h >>conftest.$ac_ext
61006 cat >>conftest.$ac_ext <<_ACEOF
61007 /* end confdefs.h.  */
61008 #include <math.h>
61009 int
61010 main ()
61011 {
61012  _hypotf(0, 0);
61013   ;
61014   return 0;
61015 }
61016 _ACEOF
61017 rm -f conftest.$ac_objext
61018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61019   (eval $ac_compile) 2>conftest.er1
61020   ac_status=$?
61021   grep -v '^ *+' conftest.er1 >conftest.err
61022   rm -f conftest.er1
61023   cat conftest.err >&5
61024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61025   (exit $ac_status); } &&
61026          { ac_try='test -z "$ac_cxx_werror_flag"
61027                          || test ! -s conftest.err'
61028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61029   (eval $ac_try) 2>&5
61030   ac_status=$?
61031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61032   (exit $ac_status); }; } &&
61033          { ac_try='test -s conftest.$ac_objext'
61034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61035   (eval $ac_try) 2>&5
61036   ac_status=$?
61037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61038   (exit $ac_status); }; }; then
61039   glibcxx_cv_func__hypotf_use=yes
61040 else
61041   echo "$as_me: failed program was:" >&5
61042 sed 's/^/| /' conftest.$ac_ext >&5
61043
61044 glibcxx_cv_func__hypotf_use=no
61045 fi
61046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61047       ac_ext=c
61048 ac_cpp='$CPP $CPPFLAGS'
61049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61052
61053
61054 fi
61055
61056   fi
61057   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61058 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61059
61060     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61061
61062 for ac_func in _hypotf
61063 do
61064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61065 echo "$as_me:$LINENO: checking for $ac_func" >&5
61066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61067 if eval "test \"\${$as_ac_var+set}\" = set"; then
61068   echo $ECHO_N "(cached) $ECHO_C" >&6
61069 else
61070   if test x$gcc_no_link = xyes; then
61071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61073    { (exit 1); exit 1; }; }
61074 fi
61075 cat >conftest.$ac_ext <<_ACEOF
61076 /* confdefs.h.  */
61077 _ACEOF
61078 cat confdefs.h >>conftest.$ac_ext
61079 cat >>conftest.$ac_ext <<_ACEOF
61080 /* end confdefs.h.  */
61081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61083 #define $ac_func innocuous_$ac_func
61084
61085 /* System header to define __stub macros and hopefully few prototypes,
61086     which can conflict with char $ac_func (); below.
61087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61088     <limits.h> exists even on freestanding compilers.  */
61089
61090 #ifdef __STDC__
61091 # include <limits.h>
61092 #else
61093 # include <assert.h>
61094 #endif
61095
61096 #undef $ac_func
61097
61098 /* Override any gcc2 internal prototype to avoid an error.  */
61099 #ifdef __cplusplus
61100 extern "C"
61101 {
61102 #endif
61103 /* We use char because int might match the return type of a gcc2
61104    builtin and then its argument prototype would still apply.  */
61105 char $ac_func ();
61106 /* The GNU C library defines this for functions which it implements
61107     to always fail with ENOSYS.  Some functions are actually named
61108     something starting with __ and the normal name is an alias.  */
61109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61110 choke me
61111 #else
61112 char (*f) () = $ac_func;
61113 #endif
61114 #ifdef __cplusplus
61115 }
61116 #endif
61117
61118 int
61119 main ()
61120 {
61121 return f != $ac_func;
61122   ;
61123   return 0;
61124 }
61125 _ACEOF
61126 rm -f conftest.$ac_objext conftest$ac_exeext
61127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61128   (eval $ac_link) 2>conftest.er1
61129   ac_status=$?
61130   grep -v '^ *+' conftest.er1 >conftest.err
61131   rm -f conftest.er1
61132   cat conftest.err >&5
61133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61134   (exit $ac_status); } &&
61135          { ac_try='test -z "$ac_c_werror_flag"
61136                          || test ! -s conftest.err'
61137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61138   (eval $ac_try) 2>&5
61139   ac_status=$?
61140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61141   (exit $ac_status); }; } &&
61142          { ac_try='test -s conftest$ac_exeext'
61143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61144   (eval $ac_try) 2>&5
61145   ac_status=$?
61146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61147   (exit $ac_status); }; }; then
61148   eval "$as_ac_var=yes"
61149 else
61150   echo "$as_me: failed program was:" >&5
61151 sed 's/^/| /' conftest.$ac_ext >&5
61152
61153 eval "$as_ac_var=no"
61154 fi
61155 rm -f conftest.err conftest.$ac_objext \
61156       conftest$ac_exeext conftest.$ac_ext
61157 fi
61158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61160 if test `eval echo '${'$as_ac_var'}'` = yes; then
61161   cat >>confdefs.h <<_ACEOF
61162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61163 _ACEOF
61164
61165 fi
61166 done
61167
61168     fi
61169   fi
61170
61171
61172
61173
61174
61175
61176   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61177 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61178   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61179     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61180   echo $ECHO_N "(cached) $ECHO_C" >&6
61181 else
61182
61183
61184
61185       ac_ext=cc
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61190
61191       cat >conftest.$ac_ext <<_ACEOF
61192 /* confdefs.h.  */
61193 _ACEOF
61194 cat confdefs.h >>conftest.$ac_ext
61195 cat >>conftest.$ac_ext <<_ACEOF
61196 /* end confdefs.h.  */
61197 #include <math.h>
61198 int
61199 main ()
61200 {
61201  ldexpf(0, 0);
61202   ;
61203   return 0;
61204 }
61205 _ACEOF
61206 rm -f conftest.$ac_objext
61207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61208   (eval $ac_compile) 2>conftest.er1
61209   ac_status=$?
61210   grep -v '^ *+' conftest.er1 >conftest.err
61211   rm -f conftest.er1
61212   cat conftest.err >&5
61213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214   (exit $ac_status); } &&
61215          { ac_try='test -z "$ac_cxx_werror_flag"
61216                          || test ! -s conftest.err'
61217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61218   (eval $ac_try) 2>&5
61219   ac_status=$?
61220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221   (exit $ac_status); }; } &&
61222          { ac_try='test -s conftest.$ac_objext'
61223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61224   (eval $ac_try) 2>&5
61225   ac_status=$?
61226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61227   (exit $ac_status); }; }; then
61228   glibcxx_cv_func_ldexpf_use=yes
61229 else
61230   echo "$as_me: failed program was:" >&5
61231 sed 's/^/| /' conftest.$ac_ext >&5
61232
61233 glibcxx_cv_func_ldexpf_use=no
61234 fi
61235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61236       ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61241
61242
61243 fi
61244
61245   fi
61246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61247 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61248
61249   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61250
61251 for ac_func in ldexpf
61252 do
61253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61254 echo "$as_me:$LINENO: checking for $ac_func" >&5
61255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61256 if eval "test \"\${$as_ac_var+set}\" = set"; then
61257   echo $ECHO_N "(cached) $ECHO_C" >&6
61258 else
61259   if test x$gcc_no_link = xyes; then
61260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61262    { (exit 1); exit 1; }; }
61263 fi
61264 cat >conftest.$ac_ext <<_ACEOF
61265 /* confdefs.h.  */
61266 _ACEOF
61267 cat confdefs.h >>conftest.$ac_ext
61268 cat >>conftest.$ac_ext <<_ACEOF
61269 /* end confdefs.h.  */
61270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61272 #define $ac_func innocuous_$ac_func
61273
61274 /* System header to define __stub macros and hopefully few prototypes,
61275     which can conflict with char $ac_func (); below.
61276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61277     <limits.h> exists even on freestanding compilers.  */
61278
61279 #ifdef __STDC__
61280 # include <limits.h>
61281 #else
61282 # include <assert.h>
61283 #endif
61284
61285 #undef $ac_func
61286
61287 /* Override any gcc2 internal prototype to avoid an error.  */
61288 #ifdef __cplusplus
61289 extern "C"
61290 {
61291 #endif
61292 /* We use char because int might match the return type of a gcc2
61293    builtin and then its argument prototype would still apply.  */
61294 char $ac_func ();
61295 /* The GNU C library defines this for functions which it implements
61296     to always fail with ENOSYS.  Some functions are actually named
61297     something starting with __ and the normal name is an alias.  */
61298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61299 choke me
61300 #else
61301 char (*f) () = $ac_func;
61302 #endif
61303 #ifdef __cplusplus
61304 }
61305 #endif
61306
61307 int
61308 main ()
61309 {
61310 return f != $ac_func;
61311   ;
61312   return 0;
61313 }
61314 _ACEOF
61315 rm -f conftest.$ac_objext conftest$ac_exeext
61316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61317   (eval $ac_link) 2>conftest.er1
61318   ac_status=$?
61319   grep -v '^ *+' conftest.er1 >conftest.err
61320   rm -f conftest.er1
61321   cat conftest.err >&5
61322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61323   (exit $ac_status); } &&
61324          { ac_try='test -z "$ac_c_werror_flag"
61325                          || test ! -s conftest.err'
61326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61327   (eval $ac_try) 2>&5
61328   ac_status=$?
61329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61330   (exit $ac_status); }; } &&
61331          { ac_try='test -s conftest$ac_exeext'
61332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61333   (eval $ac_try) 2>&5
61334   ac_status=$?
61335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61336   (exit $ac_status); }; }; then
61337   eval "$as_ac_var=yes"
61338 else
61339   echo "$as_me: failed program was:" >&5
61340 sed 's/^/| /' conftest.$ac_ext >&5
61341
61342 eval "$as_ac_var=no"
61343 fi
61344 rm -f conftest.err conftest.$ac_objext \
61345       conftest$ac_exeext conftest.$ac_ext
61346 fi
61347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61349 if test `eval echo '${'$as_ac_var'}'` = yes; then
61350   cat >>confdefs.h <<_ACEOF
61351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61352 _ACEOF
61353
61354 fi
61355 done
61356
61357   else
61358
61359   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61360 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61361   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61362     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61363   echo $ECHO_N "(cached) $ECHO_C" >&6
61364 else
61365
61366
61367
61368       ac_ext=cc
61369 ac_cpp='$CXXCPP $CPPFLAGS'
61370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61373
61374       cat >conftest.$ac_ext <<_ACEOF
61375 /* confdefs.h.  */
61376 _ACEOF
61377 cat confdefs.h >>conftest.$ac_ext
61378 cat >>conftest.$ac_ext <<_ACEOF
61379 /* end confdefs.h.  */
61380 #include <math.h>
61381 int
61382 main ()
61383 {
61384  _ldexpf(0, 0);
61385   ;
61386   return 0;
61387 }
61388 _ACEOF
61389 rm -f conftest.$ac_objext
61390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61391   (eval $ac_compile) 2>conftest.er1
61392   ac_status=$?
61393   grep -v '^ *+' conftest.er1 >conftest.err
61394   rm -f conftest.er1
61395   cat conftest.err >&5
61396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61397   (exit $ac_status); } &&
61398          { ac_try='test -z "$ac_cxx_werror_flag"
61399                          || test ! -s conftest.err'
61400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61401   (eval $ac_try) 2>&5
61402   ac_status=$?
61403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61404   (exit $ac_status); }; } &&
61405          { ac_try='test -s conftest.$ac_objext'
61406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61407   (eval $ac_try) 2>&5
61408   ac_status=$?
61409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61410   (exit $ac_status); }; }; then
61411   glibcxx_cv_func__ldexpf_use=yes
61412 else
61413   echo "$as_me: failed program was:" >&5
61414 sed 's/^/| /' conftest.$ac_ext >&5
61415
61416 glibcxx_cv_func__ldexpf_use=no
61417 fi
61418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61419       ac_ext=c
61420 ac_cpp='$CPP $CPPFLAGS'
61421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61424
61425
61426 fi
61427
61428   fi
61429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61430 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61431
61432     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61433
61434 for ac_func in _ldexpf
61435 do
61436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61437 echo "$as_me:$LINENO: checking for $ac_func" >&5
61438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61439 if eval "test \"\${$as_ac_var+set}\" = set"; then
61440   echo $ECHO_N "(cached) $ECHO_C" >&6
61441 else
61442   if test x$gcc_no_link = xyes; then
61443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61445    { (exit 1); exit 1; }; }
61446 fi
61447 cat >conftest.$ac_ext <<_ACEOF
61448 /* confdefs.h.  */
61449 _ACEOF
61450 cat confdefs.h >>conftest.$ac_ext
61451 cat >>conftest.$ac_ext <<_ACEOF
61452 /* end confdefs.h.  */
61453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61455 #define $ac_func innocuous_$ac_func
61456
61457 /* System header to define __stub macros and hopefully few prototypes,
61458     which can conflict with char $ac_func (); below.
61459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61460     <limits.h> exists even on freestanding compilers.  */
61461
61462 #ifdef __STDC__
61463 # include <limits.h>
61464 #else
61465 # include <assert.h>
61466 #endif
61467
61468 #undef $ac_func
61469
61470 /* Override any gcc2 internal prototype to avoid an error.  */
61471 #ifdef __cplusplus
61472 extern "C"
61473 {
61474 #endif
61475 /* We use char because int might match the return type of a gcc2
61476    builtin and then its argument prototype would still apply.  */
61477 char $ac_func ();
61478 /* The GNU C library defines this for functions which it implements
61479     to always fail with ENOSYS.  Some functions are actually named
61480     something starting with __ and the normal name is an alias.  */
61481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61482 choke me
61483 #else
61484 char (*f) () = $ac_func;
61485 #endif
61486 #ifdef __cplusplus
61487 }
61488 #endif
61489
61490 int
61491 main ()
61492 {
61493 return f != $ac_func;
61494   ;
61495   return 0;
61496 }
61497 _ACEOF
61498 rm -f conftest.$ac_objext conftest$ac_exeext
61499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61500   (eval $ac_link) 2>conftest.er1
61501   ac_status=$?
61502   grep -v '^ *+' conftest.er1 >conftest.err
61503   rm -f conftest.er1
61504   cat conftest.err >&5
61505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61506   (exit $ac_status); } &&
61507          { ac_try='test -z "$ac_c_werror_flag"
61508                          || test ! -s conftest.err'
61509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61510   (eval $ac_try) 2>&5
61511   ac_status=$?
61512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61513   (exit $ac_status); }; } &&
61514          { ac_try='test -s conftest$ac_exeext'
61515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61516   (eval $ac_try) 2>&5
61517   ac_status=$?
61518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61519   (exit $ac_status); }; }; then
61520   eval "$as_ac_var=yes"
61521 else
61522   echo "$as_me: failed program was:" >&5
61523 sed 's/^/| /' conftest.$ac_ext >&5
61524
61525 eval "$as_ac_var=no"
61526 fi
61527 rm -f conftest.err conftest.$ac_objext \
61528       conftest$ac_exeext conftest.$ac_ext
61529 fi
61530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61532 if test `eval echo '${'$as_ac_var'}'` = yes; then
61533   cat >>confdefs.h <<_ACEOF
61534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61535 _ACEOF
61536
61537 fi
61538 done
61539
61540     fi
61541   fi
61542
61543
61544
61545
61546
61547
61548   echo "$as_me:$LINENO: checking for logf declaration" >&5
61549 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61550   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61551     if test "${glibcxx_cv_func_logf_use+set}" = set; then
61552   echo $ECHO_N "(cached) $ECHO_C" >&6
61553 else
61554
61555
61556
61557       ac_ext=cc
61558 ac_cpp='$CXXCPP $CPPFLAGS'
61559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61562
61563       cat >conftest.$ac_ext <<_ACEOF
61564 /* confdefs.h.  */
61565 _ACEOF
61566 cat confdefs.h >>conftest.$ac_ext
61567 cat >>conftest.$ac_ext <<_ACEOF
61568 /* end confdefs.h.  */
61569 #include <math.h>
61570                       #ifdef HAVE_IEEEFP_H
61571                       #include <ieeefp.h>
61572                       #endif
61573
61574 int
61575 main ()
61576 {
61577  logf(0);
61578   ;
61579   return 0;
61580 }
61581 _ACEOF
61582 rm -f conftest.$ac_objext
61583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61584   (eval $ac_compile) 2>conftest.er1
61585   ac_status=$?
61586   grep -v '^ *+' conftest.er1 >conftest.err
61587   rm -f conftest.er1
61588   cat conftest.err >&5
61589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590   (exit $ac_status); } &&
61591          { ac_try='test -z "$ac_cxx_werror_flag"
61592                          || test ! -s conftest.err'
61593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61594   (eval $ac_try) 2>&5
61595   ac_status=$?
61596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61597   (exit $ac_status); }; } &&
61598          { ac_try='test -s conftest.$ac_objext'
61599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61600   (eval $ac_try) 2>&5
61601   ac_status=$?
61602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61603   (exit $ac_status); }; }; then
61604   glibcxx_cv_func_logf_use=yes
61605 else
61606   echo "$as_me: failed program was:" >&5
61607 sed 's/^/| /' conftest.$ac_ext >&5
61608
61609 glibcxx_cv_func_logf_use=no
61610 fi
61611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61612       ac_ext=c
61613 ac_cpp='$CPP $CPPFLAGS'
61614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61617
61618
61619 fi
61620
61621   fi
61622   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61623 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61624
61625   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61626
61627 for ac_func in logf
61628 do
61629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61630 echo "$as_me:$LINENO: checking for $ac_func" >&5
61631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61632 if eval "test \"\${$as_ac_var+set}\" = set"; then
61633   echo $ECHO_N "(cached) $ECHO_C" >&6
61634 else
61635   if test x$gcc_no_link = xyes; then
61636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61638    { (exit 1); exit 1; }; }
61639 fi
61640 cat >conftest.$ac_ext <<_ACEOF
61641 /* confdefs.h.  */
61642 _ACEOF
61643 cat confdefs.h >>conftest.$ac_ext
61644 cat >>conftest.$ac_ext <<_ACEOF
61645 /* end confdefs.h.  */
61646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61648 #define $ac_func innocuous_$ac_func
61649
61650 /* System header to define __stub macros and hopefully few prototypes,
61651     which can conflict with char $ac_func (); below.
61652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61653     <limits.h> exists even on freestanding compilers.  */
61654
61655 #ifdef __STDC__
61656 # include <limits.h>
61657 #else
61658 # include <assert.h>
61659 #endif
61660
61661 #undef $ac_func
61662
61663 /* Override any gcc2 internal prototype to avoid an error.  */
61664 #ifdef __cplusplus
61665 extern "C"
61666 {
61667 #endif
61668 /* We use char because int might match the return type of a gcc2
61669    builtin and then its argument prototype would still apply.  */
61670 char $ac_func ();
61671 /* The GNU C library defines this for functions which it implements
61672     to always fail with ENOSYS.  Some functions are actually named
61673     something starting with __ and the normal name is an alias.  */
61674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61675 choke me
61676 #else
61677 char (*f) () = $ac_func;
61678 #endif
61679 #ifdef __cplusplus
61680 }
61681 #endif
61682
61683 int
61684 main ()
61685 {
61686 return f != $ac_func;
61687   ;
61688   return 0;
61689 }
61690 _ACEOF
61691 rm -f conftest.$ac_objext conftest$ac_exeext
61692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61693   (eval $ac_link) 2>conftest.er1
61694   ac_status=$?
61695   grep -v '^ *+' conftest.er1 >conftest.err
61696   rm -f conftest.er1
61697   cat conftest.err >&5
61698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61699   (exit $ac_status); } &&
61700          { ac_try='test -z "$ac_c_werror_flag"
61701                          || test ! -s conftest.err'
61702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61703   (eval $ac_try) 2>&5
61704   ac_status=$?
61705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61706   (exit $ac_status); }; } &&
61707          { ac_try='test -s conftest$ac_exeext'
61708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61709   (eval $ac_try) 2>&5
61710   ac_status=$?
61711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61712   (exit $ac_status); }; }; then
61713   eval "$as_ac_var=yes"
61714 else
61715   echo "$as_me: failed program was:" >&5
61716 sed 's/^/| /' conftest.$ac_ext >&5
61717
61718 eval "$as_ac_var=no"
61719 fi
61720 rm -f conftest.err conftest.$ac_objext \
61721       conftest$ac_exeext conftest.$ac_ext
61722 fi
61723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61725 if test `eval echo '${'$as_ac_var'}'` = yes; then
61726   cat >>confdefs.h <<_ACEOF
61727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61728 _ACEOF
61729
61730 fi
61731 done
61732
61733   else
61734
61735   echo "$as_me:$LINENO: checking for _logf declaration" >&5
61736 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61737   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61738     if test "${glibcxx_cv_func__logf_use+set}" = set; then
61739   echo $ECHO_N "(cached) $ECHO_C" >&6
61740 else
61741
61742
61743
61744       ac_ext=cc
61745 ac_cpp='$CXXCPP $CPPFLAGS'
61746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61749
61750       cat >conftest.$ac_ext <<_ACEOF
61751 /* confdefs.h.  */
61752 _ACEOF
61753 cat confdefs.h >>conftest.$ac_ext
61754 cat >>conftest.$ac_ext <<_ACEOF
61755 /* end confdefs.h.  */
61756 #include <math.h>
61757                       #ifdef HAVE_IEEEFP_H
61758                       #include <ieeefp.h>
61759                       #endif
61760
61761 int
61762 main ()
61763 {
61764  _logf(0);
61765   ;
61766   return 0;
61767 }
61768 _ACEOF
61769 rm -f conftest.$ac_objext
61770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61771   (eval $ac_compile) 2>conftest.er1
61772   ac_status=$?
61773   grep -v '^ *+' conftest.er1 >conftest.err
61774   rm -f conftest.er1
61775   cat conftest.err >&5
61776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61777   (exit $ac_status); } &&
61778          { ac_try='test -z "$ac_cxx_werror_flag"
61779                          || test ! -s conftest.err'
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); }; } &&
61785          { ac_try='test -s conftest.$ac_objext'
61786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61787   (eval $ac_try) 2>&5
61788   ac_status=$?
61789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61790   (exit $ac_status); }; }; then
61791   glibcxx_cv_func__logf_use=yes
61792 else
61793   echo "$as_me: failed program was:" >&5
61794 sed 's/^/| /' conftest.$ac_ext >&5
61795
61796 glibcxx_cv_func__logf_use=no
61797 fi
61798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61799       ac_ext=c
61800 ac_cpp='$CPP $CPPFLAGS'
61801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61804
61805
61806 fi
61807
61808   fi
61809   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61810 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61811
61812     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61813
61814 for ac_func in _logf
61815 do
61816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61817 echo "$as_me:$LINENO: checking for $ac_func" >&5
61818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61819 if eval "test \"\${$as_ac_var+set}\" = set"; then
61820   echo $ECHO_N "(cached) $ECHO_C" >&6
61821 else
61822   if test x$gcc_no_link = xyes; then
61823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61825    { (exit 1); exit 1; }; }
61826 fi
61827 cat >conftest.$ac_ext <<_ACEOF
61828 /* confdefs.h.  */
61829 _ACEOF
61830 cat confdefs.h >>conftest.$ac_ext
61831 cat >>conftest.$ac_ext <<_ACEOF
61832 /* end confdefs.h.  */
61833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61834    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61835 #define $ac_func innocuous_$ac_func
61836
61837 /* System header to define __stub macros and hopefully few prototypes,
61838     which can conflict with char $ac_func (); below.
61839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61840     <limits.h> exists even on freestanding compilers.  */
61841
61842 #ifdef __STDC__
61843 # include <limits.h>
61844 #else
61845 # include <assert.h>
61846 #endif
61847
61848 #undef $ac_func
61849
61850 /* Override any gcc2 internal prototype to avoid an error.  */
61851 #ifdef __cplusplus
61852 extern "C"
61853 {
61854 #endif
61855 /* We use char because int might match the return type of a gcc2
61856    builtin and then its argument prototype would still apply.  */
61857 char $ac_func ();
61858 /* The GNU C library defines this for functions which it implements
61859     to always fail with ENOSYS.  Some functions are actually named
61860     something starting with __ and the normal name is an alias.  */
61861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61862 choke me
61863 #else
61864 char (*f) () = $ac_func;
61865 #endif
61866 #ifdef __cplusplus
61867 }
61868 #endif
61869
61870 int
61871 main ()
61872 {
61873 return f != $ac_func;
61874   ;
61875   return 0;
61876 }
61877 _ACEOF
61878 rm -f conftest.$ac_objext conftest$ac_exeext
61879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61880   (eval $ac_link) 2>conftest.er1
61881   ac_status=$?
61882   grep -v '^ *+' conftest.er1 >conftest.err
61883   rm -f conftest.er1
61884   cat conftest.err >&5
61885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61886   (exit $ac_status); } &&
61887          { ac_try='test -z "$ac_c_werror_flag"
61888                          || test ! -s conftest.err'
61889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61890   (eval $ac_try) 2>&5
61891   ac_status=$?
61892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61893   (exit $ac_status); }; } &&
61894          { ac_try='test -s conftest$ac_exeext'
61895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61896   (eval $ac_try) 2>&5
61897   ac_status=$?
61898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61899   (exit $ac_status); }; }; then
61900   eval "$as_ac_var=yes"
61901 else
61902   echo "$as_me: failed program was:" >&5
61903 sed 's/^/| /' conftest.$ac_ext >&5
61904
61905 eval "$as_ac_var=no"
61906 fi
61907 rm -f conftest.err conftest.$ac_objext \
61908       conftest$ac_exeext conftest.$ac_ext
61909 fi
61910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61912 if test `eval echo '${'$as_ac_var'}'` = yes; then
61913   cat >>confdefs.h <<_ACEOF
61914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61915 _ACEOF
61916
61917 fi
61918 done
61919
61920     fi
61921   fi
61922
61923
61924
61925
61926
61927
61928   echo "$as_me:$LINENO: checking for log10f declaration" >&5
61929 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61930   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61931     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61932   echo $ECHO_N "(cached) $ECHO_C" >&6
61933 else
61934
61935
61936
61937       ac_ext=cc
61938 ac_cpp='$CXXCPP $CPPFLAGS'
61939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61942
61943       cat >conftest.$ac_ext <<_ACEOF
61944 /* confdefs.h.  */
61945 _ACEOF
61946 cat confdefs.h >>conftest.$ac_ext
61947 cat >>conftest.$ac_ext <<_ACEOF
61948 /* end confdefs.h.  */
61949 #include <math.h>
61950                       #ifdef HAVE_IEEEFP_H
61951                       #include <ieeefp.h>
61952                       #endif
61953
61954 int
61955 main ()
61956 {
61957  log10f(0);
61958   ;
61959   return 0;
61960 }
61961 _ACEOF
61962 rm -f conftest.$ac_objext
61963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61964   (eval $ac_compile) 2>conftest.er1
61965   ac_status=$?
61966   grep -v '^ *+' conftest.er1 >conftest.err
61967   rm -f conftest.er1
61968   cat conftest.err >&5
61969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61970   (exit $ac_status); } &&
61971          { ac_try='test -z "$ac_cxx_werror_flag"
61972                          || test ! -s conftest.err'
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); }; } &&
61978          { ac_try='test -s conftest.$ac_objext'
61979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61980   (eval $ac_try) 2>&5
61981   ac_status=$?
61982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61983   (exit $ac_status); }; }; then
61984   glibcxx_cv_func_log10f_use=yes
61985 else
61986   echo "$as_me: failed program was:" >&5
61987 sed 's/^/| /' conftest.$ac_ext >&5
61988
61989 glibcxx_cv_func_log10f_use=no
61990 fi
61991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61992       ac_ext=c
61993 ac_cpp='$CPP $CPPFLAGS'
61994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61997
61998
61999 fi
62000
62001   fi
62002   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62003 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62004
62005   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62006
62007 for ac_func in log10f
62008 do
62009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62010 echo "$as_me:$LINENO: checking for $ac_func" >&5
62011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62012 if eval "test \"\${$as_ac_var+set}\" = set"; then
62013   echo $ECHO_N "(cached) $ECHO_C" >&6
62014 else
62015   if test x$gcc_no_link = xyes; then
62016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62018    { (exit 1); exit 1; }; }
62019 fi
62020 cat >conftest.$ac_ext <<_ACEOF
62021 /* confdefs.h.  */
62022 _ACEOF
62023 cat confdefs.h >>conftest.$ac_ext
62024 cat >>conftest.$ac_ext <<_ACEOF
62025 /* end confdefs.h.  */
62026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62028 #define $ac_func innocuous_$ac_func
62029
62030 /* System header to define __stub macros and hopefully few prototypes,
62031     which can conflict with char $ac_func (); below.
62032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62033     <limits.h> exists even on freestanding compilers.  */
62034
62035 #ifdef __STDC__
62036 # include <limits.h>
62037 #else
62038 # include <assert.h>
62039 #endif
62040
62041 #undef $ac_func
62042
62043 /* Override any gcc2 internal prototype to avoid an error.  */
62044 #ifdef __cplusplus
62045 extern "C"
62046 {
62047 #endif
62048 /* We use char because int might match the return type of a gcc2
62049    builtin and then its argument prototype would still apply.  */
62050 char $ac_func ();
62051 /* The GNU C library defines this for functions which it implements
62052     to always fail with ENOSYS.  Some functions are actually named
62053     something starting with __ and the normal name is an alias.  */
62054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62055 choke me
62056 #else
62057 char (*f) () = $ac_func;
62058 #endif
62059 #ifdef __cplusplus
62060 }
62061 #endif
62062
62063 int
62064 main ()
62065 {
62066 return f != $ac_func;
62067   ;
62068   return 0;
62069 }
62070 _ACEOF
62071 rm -f conftest.$ac_objext conftest$ac_exeext
62072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62073   (eval $ac_link) 2>conftest.er1
62074   ac_status=$?
62075   grep -v '^ *+' conftest.er1 >conftest.err
62076   rm -f conftest.er1
62077   cat conftest.err >&5
62078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079   (exit $ac_status); } &&
62080          { ac_try='test -z "$ac_c_werror_flag"
62081                          || test ! -s conftest.err'
62082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62083   (eval $ac_try) 2>&5
62084   ac_status=$?
62085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62086   (exit $ac_status); }; } &&
62087          { ac_try='test -s conftest$ac_exeext'
62088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62089   (eval $ac_try) 2>&5
62090   ac_status=$?
62091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62092   (exit $ac_status); }; }; then
62093   eval "$as_ac_var=yes"
62094 else
62095   echo "$as_me: failed program was:" >&5
62096 sed 's/^/| /' conftest.$ac_ext >&5
62097
62098 eval "$as_ac_var=no"
62099 fi
62100 rm -f conftest.err conftest.$ac_objext \
62101       conftest$ac_exeext conftest.$ac_ext
62102 fi
62103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62105 if test `eval echo '${'$as_ac_var'}'` = yes; then
62106   cat >>confdefs.h <<_ACEOF
62107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62108 _ACEOF
62109
62110 fi
62111 done
62112
62113   else
62114
62115   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62116 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62117   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62118     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62119   echo $ECHO_N "(cached) $ECHO_C" >&6
62120 else
62121
62122
62123
62124       ac_ext=cc
62125 ac_cpp='$CXXCPP $CPPFLAGS'
62126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62129
62130       cat >conftest.$ac_ext <<_ACEOF
62131 /* confdefs.h.  */
62132 _ACEOF
62133 cat confdefs.h >>conftest.$ac_ext
62134 cat >>conftest.$ac_ext <<_ACEOF
62135 /* end confdefs.h.  */
62136 #include <math.h>
62137                       #ifdef HAVE_IEEEFP_H
62138                       #include <ieeefp.h>
62139                       #endif
62140
62141 int
62142 main ()
62143 {
62144  _log10f(0);
62145   ;
62146   return 0;
62147 }
62148 _ACEOF
62149 rm -f conftest.$ac_objext
62150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62151   (eval $ac_compile) 2>conftest.er1
62152   ac_status=$?
62153   grep -v '^ *+' conftest.er1 >conftest.err
62154   rm -f conftest.er1
62155   cat conftest.err >&5
62156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62157   (exit $ac_status); } &&
62158          { ac_try='test -z "$ac_cxx_werror_flag"
62159                          || test ! -s conftest.err'
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); }; } &&
62165          { ac_try='test -s conftest.$ac_objext'
62166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62167   (eval $ac_try) 2>&5
62168   ac_status=$?
62169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62170   (exit $ac_status); }; }; then
62171   glibcxx_cv_func__log10f_use=yes
62172 else
62173   echo "$as_me: failed program was:" >&5
62174 sed 's/^/| /' conftest.$ac_ext >&5
62175
62176 glibcxx_cv_func__log10f_use=no
62177 fi
62178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62179       ac_ext=c
62180 ac_cpp='$CPP $CPPFLAGS'
62181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62184
62185
62186 fi
62187
62188   fi
62189   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62190 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62191
62192     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62193
62194 for ac_func in _log10f
62195 do
62196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62197 echo "$as_me:$LINENO: checking for $ac_func" >&5
62198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62199 if eval "test \"\${$as_ac_var+set}\" = set"; then
62200   echo $ECHO_N "(cached) $ECHO_C" >&6
62201 else
62202   if test x$gcc_no_link = xyes; then
62203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62205    { (exit 1); exit 1; }; }
62206 fi
62207 cat >conftest.$ac_ext <<_ACEOF
62208 /* confdefs.h.  */
62209 _ACEOF
62210 cat confdefs.h >>conftest.$ac_ext
62211 cat >>conftest.$ac_ext <<_ACEOF
62212 /* end confdefs.h.  */
62213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62215 #define $ac_func innocuous_$ac_func
62216
62217 /* System header to define __stub macros and hopefully few prototypes,
62218     which can conflict with char $ac_func (); below.
62219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62220     <limits.h> exists even on freestanding compilers.  */
62221
62222 #ifdef __STDC__
62223 # include <limits.h>
62224 #else
62225 # include <assert.h>
62226 #endif
62227
62228 #undef $ac_func
62229
62230 /* Override any gcc2 internal prototype to avoid an error.  */
62231 #ifdef __cplusplus
62232 extern "C"
62233 {
62234 #endif
62235 /* We use char because int might match the return type of a gcc2
62236    builtin and then its argument prototype would still apply.  */
62237 char $ac_func ();
62238 /* The GNU C library defines this for functions which it implements
62239     to always fail with ENOSYS.  Some functions are actually named
62240     something starting with __ and the normal name is an alias.  */
62241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62242 choke me
62243 #else
62244 char (*f) () = $ac_func;
62245 #endif
62246 #ifdef __cplusplus
62247 }
62248 #endif
62249
62250 int
62251 main ()
62252 {
62253 return f != $ac_func;
62254   ;
62255   return 0;
62256 }
62257 _ACEOF
62258 rm -f conftest.$ac_objext conftest$ac_exeext
62259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62260   (eval $ac_link) 2>conftest.er1
62261   ac_status=$?
62262   grep -v '^ *+' conftest.er1 >conftest.err
62263   rm -f conftest.er1
62264   cat conftest.err >&5
62265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62266   (exit $ac_status); } &&
62267          { ac_try='test -z "$ac_c_werror_flag"
62268                          || test ! -s conftest.err'
62269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62270   (eval $ac_try) 2>&5
62271   ac_status=$?
62272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62273   (exit $ac_status); }; } &&
62274          { ac_try='test -s conftest$ac_exeext'
62275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62276   (eval $ac_try) 2>&5
62277   ac_status=$?
62278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62279   (exit $ac_status); }; }; then
62280   eval "$as_ac_var=yes"
62281 else
62282   echo "$as_me: failed program was:" >&5
62283 sed 's/^/| /' conftest.$ac_ext >&5
62284
62285 eval "$as_ac_var=no"
62286 fi
62287 rm -f conftest.err conftest.$ac_objext \
62288       conftest$ac_exeext conftest.$ac_ext
62289 fi
62290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62292 if test `eval echo '${'$as_ac_var'}'` = yes; then
62293   cat >>confdefs.h <<_ACEOF
62294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62295 _ACEOF
62296
62297 fi
62298 done
62299
62300     fi
62301   fi
62302
62303
62304
62305
62306
62307
62308   echo "$as_me:$LINENO: checking for modff declaration" >&5
62309 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62310   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62311     if test "${glibcxx_cv_func_modff_use+set}" = set; then
62312   echo $ECHO_N "(cached) $ECHO_C" >&6
62313 else
62314
62315
62316
62317       ac_ext=cc
62318 ac_cpp='$CXXCPP $CPPFLAGS'
62319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62322
62323       cat >conftest.$ac_ext <<_ACEOF
62324 /* confdefs.h.  */
62325 _ACEOF
62326 cat confdefs.h >>conftest.$ac_ext
62327 cat >>conftest.$ac_ext <<_ACEOF
62328 /* end confdefs.h.  */
62329 #include <math.h>
62330 int
62331 main ()
62332 {
62333  modff(0, 0);
62334   ;
62335   return 0;
62336 }
62337 _ACEOF
62338 rm -f conftest.$ac_objext
62339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62340   (eval $ac_compile) 2>conftest.er1
62341   ac_status=$?
62342   grep -v '^ *+' conftest.er1 >conftest.err
62343   rm -f conftest.er1
62344   cat conftest.err >&5
62345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62346   (exit $ac_status); } &&
62347          { ac_try='test -z "$ac_cxx_werror_flag"
62348                          || test ! -s conftest.err'
62349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62350   (eval $ac_try) 2>&5
62351   ac_status=$?
62352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62353   (exit $ac_status); }; } &&
62354          { ac_try='test -s conftest.$ac_objext'
62355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62356   (eval $ac_try) 2>&5
62357   ac_status=$?
62358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62359   (exit $ac_status); }; }; then
62360   glibcxx_cv_func_modff_use=yes
62361 else
62362   echo "$as_me: failed program was:" >&5
62363 sed 's/^/| /' conftest.$ac_ext >&5
62364
62365 glibcxx_cv_func_modff_use=no
62366 fi
62367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62368       ac_ext=c
62369 ac_cpp='$CPP $CPPFLAGS'
62370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62373
62374
62375 fi
62376
62377   fi
62378   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62379 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62380
62381   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62382
62383 for ac_func in modff
62384 do
62385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62386 echo "$as_me:$LINENO: checking for $ac_func" >&5
62387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62388 if eval "test \"\${$as_ac_var+set}\" = set"; then
62389   echo $ECHO_N "(cached) $ECHO_C" >&6
62390 else
62391   if test x$gcc_no_link = xyes; then
62392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62394    { (exit 1); exit 1; }; }
62395 fi
62396 cat >conftest.$ac_ext <<_ACEOF
62397 /* confdefs.h.  */
62398 _ACEOF
62399 cat confdefs.h >>conftest.$ac_ext
62400 cat >>conftest.$ac_ext <<_ACEOF
62401 /* end confdefs.h.  */
62402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62404 #define $ac_func innocuous_$ac_func
62405
62406 /* System header to define __stub macros and hopefully few prototypes,
62407     which can conflict with char $ac_func (); below.
62408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62409     <limits.h> exists even on freestanding compilers.  */
62410
62411 #ifdef __STDC__
62412 # include <limits.h>
62413 #else
62414 # include <assert.h>
62415 #endif
62416
62417 #undef $ac_func
62418
62419 /* Override any gcc2 internal prototype to avoid an error.  */
62420 #ifdef __cplusplus
62421 extern "C"
62422 {
62423 #endif
62424 /* We use char because int might match the return type of a gcc2
62425    builtin and then its argument prototype would still apply.  */
62426 char $ac_func ();
62427 /* The GNU C library defines this for functions which it implements
62428     to always fail with ENOSYS.  Some functions are actually named
62429     something starting with __ and the normal name is an alias.  */
62430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62431 choke me
62432 #else
62433 char (*f) () = $ac_func;
62434 #endif
62435 #ifdef __cplusplus
62436 }
62437 #endif
62438
62439 int
62440 main ()
62441 {
62442 return f != $ac_func;
62443   ;
62444   return 0;
62445 }
62446 _ACEOF
62447 rm -f conftest.$ac_objext conftest$ac_exeext
62448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62449   (eval $ac_link) 2>conftest.er1
62450   ac_status=$?
62451   grep -v '^ *+' conftest.er1 >conftest.err
62452   rm -f conftest.er1
62453   cat conftest.err >&5
62454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62455   (exit $ac_status); } &&
62456          { ac_try='test -z "$ac_c_werror_flag"
62457                          || test ! -s conftest.err'
62458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62459   (eval $ac_try) 2>&5
62460   ac_status=$?
62461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62462   (exit $ac_status); }; } &&
62463          { ac_try='test -s conftest$ac_exeext'
62464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62465   (eval $ac_try) 2>&5
62466   ac_status=$?
62467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62468   (exit $ac_status); }; }; then
62469   eval "$as_ac_var=yes"
62470 else
62471   echo "$as_me: failed program was:" >&5
62472 sed 's/^/| /' conftest.$ac_ext >&5
62473
62474 eval "$as_ac_var=no"
62475 fi
62476 rm -f conftest.err conftest.$ac_objext \
62477       conftest$ac_exeext conftest.$ac_ext
62478 fi
62479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62481 if test `eval echo '${'$as_ac_var'}'` = yes; then
62482   cat >>confdefs.h <<_ACEOF
62483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62484 _ACEOF
62485
62486 fi
62487 done
62488
62489   else
62490
62491   echo "$as_me:$LINENO: checking for _modff declaration" >&5
62492 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62493   if test x${glibcxx_cv_func__modff_use+set} != xset; then
62494     if test "${glibcxx_cv_func__modff_use+set}" = set; then
62495   echo $ECHO_N "(cached) $ECHO_C" >&6
62496 else
62497
62498
62499
62500       ac_ext=cc
62501 ac_cpp='$CXXCPP $CPPFLAGS'
62502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62505
62506       cat >conftest.$ac_ext <<_ACEOF
62507 /* confdefs.h.  */
62508 _ACEOF
62509 cat confdefs.h >>conftest.$ac_ext
62510 cat >>conftest.$ac_ext <<_ACEOF
62511 /* end confdefs.h.  */
62512 #include <math.h>
62513 int
62514 main ()
62515 {
62516  _modff(0, 0);
62517   ;
62518   return 0;
62519 }
62520 _ACEOF
62521 rm -f conftest.$ac_objext
62522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62523   (eval $ac_compile) 2>conftest.er1
62524   ac_status=$?
62525   grep -v '^ *+' conftest.er1 >conftest.err
62526   rm -f conftest.er1
62527   cat conftest.err >&5
62528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62529   (exit $ac_status); } &&
62530          { ac_try='test -z "$ac_cxx_werror_flag"
62531                          || test ! -s conftest.err'
62532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62533   (eval $ac_try) 2>&5
62534   ac_status=$?
62535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62536   (exit $ac_status); }; } &&
62537          { ac_try='test -s conftest.$ac_objext'
62538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62539   (eval $ac_try) 2>&5
62540   ac_status=$?
62541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62542   (exit $ac_status); }; }; then
62543   glibcxx_cv_func__modff_use=yes
62544 else
62545   echo "$as_me: failed program was:" >&5
62546 sed 's/^/| /' conftest.$ac_ext >&5
62547
62548 glibcxx_cv_func__modff_use=no
62549 fi
62550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62551       ac_ext=c
62552 ac_cpp='$CPP $CPPFLAGS'
62553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556
62557
62558 fi
62559
62560   fi
62561   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62562 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62563
62564     if test x$glibcxx_cv_func__modff_use = x"yes"; then
62565
62566 for ac_func in _modff
62567 do
62568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62569 echo "$as_me:$LINENO: checking for $ac_func" >&5
62570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62571 if eval "test \"\${$as_ac_var+set}\" = set"; then
62572   echo $ECHO_N "(cached) $ECHO_C" >&6
62573 else
62574   if test x$gcc_no_link = xyes; then
62575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62577    { (exit 1); exit 1; }; }
62578 fi
62579 cat >conftest.$ac_ext <<_ACEOF
62580 /* confdefs.h.  */
62581 _ACEOF
62582 cat confdefs.h >>conftest.$ac_ext
62583 cat >>conftest.$ac_ext <<_ACEOF
62584 /* end confdefs.h.  */
62585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62587 #define $ac_func innocuous_$ac_func
62588
62589 /* System header to define __stub macros and hopefully few prototypes,
62590     which can conflict with char $ac_func (); below.
62591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62592     <limits.h> exists even on freestanding compilers.  */
62593
62594 #ifdef __STDC__
62595 # include <limits.h>
62596 #else
62597 # include <assert.h>
62598 #endif
62599
62600 #undef $ac_func
62601
62602 /* Override any gcc2 internal prototype to avoid an error.  */
62603 #ifdef __cplusplus
62604 extern "C"
62605 {
62606 #endif
62607 /* We use char because int might match the return type of a gcc2
62608    builtin and then its argument prototype would still apply.  */
62609 char $ac_func ();
62610 /* The GNU C library defines this for functions which it implements
62611     to always fail with ENOSYS.  Some functions are actually named
62612     something starting with __ and the normal name is an alias.  */
62613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62614 choke me
62615 #else
62616 char (*f) () = $ac_func;
62617 #endif
62618 #ifdef __cplusplus
62619 }
62620 #endif
62621
62622 int
62623 main ()
62624 {
62625 return f != $ac_func;
62626   ;
62627   return 0;
62628 }
62629 _ACEOF
62630 rm -f conftest.$ac_objext conftest$ac_exeext
62631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62632   (eval $ac_link) 2>conftest.er1
62633   ac_status=$?
62634   grep -v '^ *+' conftest.er1 >conftest.err
62635   rm -f conftest.er1
62636   cat conftest.err >&5
62637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62638   (exit $ac_status); } &&
62639          { ac_try='test -z "$ac_c_werror_flag"
62640                          || test ! -s conftest.err'
62641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62642   (eval $ac_try) 2>&5
62643   ac_status=$?
62644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62645   (exit $ac_status); }; } &&
62646          { ac_try='test -s conftest$ac_exeext'
62647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62648   (eval $ac_try) 2>&5
62649   ac_status=$?
62650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62651   (exit $ac_status); }; }; then
62652   eval "$as_ac_var=yes"
62653 else
62654   echo "$as_me: failed program was:" >&5
62655 sed 's/^/| /' conftest.$ac_ext >&5
62656
62657 eval "$as_ac_var=no"
62658 fi
62659 rm -f conftest.err conftest.$ac_objext \
62660       conftest$ac_exeext conftest.$ac_ext
62661 fi
62662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62664 if test `eval echo '${'$as_ac_var'}'` = yes; then
62665   cat >>confdefs.h <<_ACEOF
62666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62667 _ACEOF
62668
62669 fi
62670 done
62671
62672     fi
62673   fi
62674
62675
62676
62677
62678
62679
62680   echo "$as_me:$LINENO: checking for modf declaration" >&5
62681 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62682   if test x${glibcxx_cv_func_modf_use+set} != xset; then
62683     if test "${glibcxx_cv_func_modf_use+set}" = set; then
62684   echo $ECHO_N "(cached) $ECHO_C" >&6
62685 else
62686
62687
62688
62689       ac_ext=cc
62690 ac_cpp='$CXXCPP $CPPFLAGS'
62691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62694
62695       cat >conftest.$ac_ext <<_ACEOF
62696 /* confdefs.h.  */
62697 _ACEOF
62698 cat confdefs.h >>conftest.$ac_ext
62699 cat >>conftest.$ac_ext <<_ACEOF
62700 /* end confdefs.h.  */
62701 #include <math.h>
62702 int
62703 main ()
62704 {
62705  modf(0, 0);
62706   ;
62707   return 0;
62708 }
62709 _ACEOF
62710 rm -f conftest.$ac_objext
62711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62712   (eval $ac_compile) 2>conftest.er1
62713   ac_status=$?
62714   grep -v '^ *+' conftest.er1 >conftest.err
62715   rm -f conftest.er1
62716   cat conftest.err >&5
62717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718   (exit $ac_status); } &&
62719          { ac_try='test -z "$ac_cxx_werror_flag"
62720                          || test ! -s conftest.err'
62721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62722   (eval $ac_try) 2>&5
62723   ac_status=$?
62724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62725   (exit $ac_status); }; } &&
62726          { ac_try='test -s conftest.$ac_objext'
62727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62728   (eval $ac_try) 2>&5
62729   ac_status=$?
62730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62731   (exit $ac_status); }; }; then
62732   glibcxx_cv_func_modf_use=yes
62733 else
62734   echo "$as_me: failed program was:" >&5
62735 sed 's/^/| /' conftest.$ac_ext >&5
62736
62737 glibcxx_cv_func_modf_use=no
62738 fi
62739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62740       ac_ext=c
62741 ac_cpp='$CPP $CPPFLAGS'
62742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62745
62746
62747 fi
62748
62749   fi
62750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62751 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62752
62753   if test x$glibcxx_cv_func_modf_use = x"yes"; then
62754
62755 for ac_func in modf
62756 do
62757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62758 echo "$as_me:$LINENO: checking for $ac_func" >&5
62759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62760 if eval "test \"\${$as_ac_var+set}\" = set"; then
62761   echo $ECHO_N "(cached) $ECHO_C" >&6
62762 else
62763   if test x$gcc_no_link = xyes; then
62764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62766    { (exit 1); exit 1; }; }
62767 fi
62768 cat >conftest.$ac_ext <<_ACEOF
62769 /* confdefs.h.  */
62770 _ACEOF
62771 cat confdefs.h >>conftest.$ac_ext
62772 cat >>conftest.$ac_ext <<_ACEOF
62773 /* end confdefs.h.  */
62774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62776 #define $ac_func innocuous_$ac_func
62777
62778 /* System header to define __stub macros and hopefully few prototypes,
62779     which can conflict with char $ac_func (); below.
62780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62781     <limits.h> exists even on freestanding compilers.  */
62782
62783 #ifdef __STDC__
62784 # include <limits.h>
62785 #else
62786 # include <assert.h>
62787 #endif
62788
62789 #undef $ac_func
62790
62791 /* Override any gcc2 internal prototype to avoid an error.  */
62792 #ifdef __cplusplus
62793 extern "C"
62794 {
62795 #endif
62796 /* We use char because int might match the return type of a gcc2
62797    builtin and then its argument prototype would still apply.  */
62798 char $ac_func ();
62799 /* The GNU C library defines this for functions which it implements
62800     to always fail with ENOSYS.  Some functions are actually named
62801     something starting with __ and the normal name is an alias.  */
62802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62803 choke me
62804 #else
62805 char (*f) () = $ac_func;
62806 #endif
62807 #ifdef __cplusplus
62808 }
62809 #endif
62810
62811 int
62812 main ()
62813 {
62814 return f != $ac_func;
62815   ;
62816   return 0;
62817 }
62818 _ACEOF
62819 rm -f conftest.$ac_objext conftest$ac_exeext
62820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62821   (eval $ac_link) 2>conftest.er1
62822   ac_status=$?
62823   grep -v '^ *+' conftest.er1 >conftest.err
62824   rm -f conftest.er1
62825   cat conftest.err >&5
62826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62827   (exit $ac_status); } &&
62828          { ac_try='test -z "$ac_c_werror_flag"
62829                          || test ! -s conftest.err'
62830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62831   (eval $ac_try) 2>&5
62832   ac_status=$?
62833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62834   (exit $ac_status); }; } &&
62835          { ac_try='test -s conftest$ac_exeext'
62836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62837   (eval $ac_try) 2>&5
62838   ac_status=$?
62839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62840   (exit $ac_status); }; }; then
62841   eval "$as_ac_var=yes"
62842 else
62843   echo "$as_me: failed program was:" >&5
62844 sed 's/^/| /' conftest.$ac_ext >&5
62845
62846 eval "$as_ac_var=no"
62847 fi
62848 rm -f conftest.err conftest.$ac_objext \
62849       conftest$ac_exeext conftest.$ac_ext
62850 fi
62851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62853 if test `eval echo '${'$as_ac_var'}'` = yes; then
62854   cat >>confdefs.h <<_ACEOF
62855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62856 _ACEOF
62857
62858 fi
62859 done
62860
62861   else
62862
62863   echo "$as_me:$LINENO: checking for _modf declaration" >&5
62864 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62865   if test x${glibcxx_cv_func__modf_use+set} != xset; then
62866     if test "${glibcxx_cv_func__modf_use+set}" = set; then
62867   echo $ECHO_N "(cached) $ECHO_C" >&6
62868 else
62869
62870
62871
62872       ac_ext=cc
62873 ac_cpp='$CXXCPP $CPPFLAGS'
62874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62877
62878       cat >conftest.$ac_ext <<_ACEOF
62879 /* confdefs.h.  */
62880 _ACEOF
62881 cat confdefs.h >>conftest.$ac_ext
62882 cat >>conftest.$ac_ext <<_ACEOF
62883 /* end confdefs.h.  */
62884 #include <math.h>
62885 int
62886 main ()
62887 {
62888  _modf(0, 0);
62889   ;
62890   return 0;
62891 }
62892 _ACEOF
62893 rm -f conftest.$ac_objext
62894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62895   (eval $ac_compile) 2>conftest.er1
62896   ac_status=$?
62897   grep -v '^ *+' conftest.er1 >conftest.err
62898   rm -f conftest.er1
62899   cat conftest.err >&5
62900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62901   (exit $ac_status); } &&
62902          { ac_try='test -z "$ac_cxx_werror_flag"
62903                          || test ! -s conftest.err'
62904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62905   (eval $ac_try) 2>&5
62906   ac_status=$?
62907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62908   (exit $ac_status); }; } &&
62909          { ac_try='test -s conftest.$ac_objext'
62910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62911   (eval $ac_try) 2>&5
62912   ac_status=$?
62913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62914   (exit $ac_status); }; }; then
62915   glibcxx_cv_func__modf_use=yes
62916 else
62917   echo "$as_me: failed program was:" >&5
62918 sed 's/^/| /' conftest.$ac_ext >&5
62919
62920 glibcxx_cv_func__modf_use=no
62921 fi
62922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62923       ac_ext=c
62924 ac_cpp='$CPP $CPPFLAGS'
62925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62928
62929
62930 fi
62931
62932   fi
62933   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62934 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62935
62936     if test x$glibcxx_cv_func__modf_use = x"yes"; then
62937
62938 for ac_func in _modf
62939 do
62940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62941 echo "$as_me:$LINENO: checking for $ac_func" >&5
62942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62943 if eval "test \"\${$as_ac_var+set}\" = set"; then
62944   echo $ECHO_N "(cached) $ECHO_C" >&6
62945 else
62946   if test x$gcc_no_link = xyes; then
62947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62949    { (exit 1); exit 1; }; }
62950 fi
62951 cat >conftest.$ac_ext <<_ACEOF
62952 /* confdefs.h.  */
62953 _ACEOF
62954 cat confdefs.h >>conftest.$ac_ext
62955 cat >>conftest.$ac_ext <<_ACEOF
62956 /* end confdefs.h.  */
62957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62959 #define $ac_func innocuous_$ac_func
62960
62961 /* System header to define __stub macros and hopefully few prototypes,
62962     which can conflict with char $ac_func (); below.
62963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62964     <limits.h> exists even on freestanding compilers.  */
62965
62966 #ifdef __STDC__
62967 # include <limits.h>
62968 #else
62969 # include <assert.h>
62970 #endif
62971
62972 #undef $ac_func
62973
62974 /* Override any gcc2 internal prototype to avoid an error.  */
62975 #ifdef __cplusplus
62976 extern "C"
62977 {
62978 #endif
62979 /* We use char because int might match the return type of a gcc2
62980    builtin and then its argument prototype would still apply.  */
62981 char $ac_func ();
62982 /* The GNU C library defines this for functions which it implements
62983     to always fail with ENOSYS.  Some functions are actually named
62984     something starting with __ and the normal name is an alias.  */
62985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62986 choke me
62987 #else
62988 char (*f) () = $ac_func;
62989 #endif
62990 #ifdef __cplusplus
62991 }
62992 #endif
62993
62994 int
62995 main ()
62996 {
62997 return f != $ac_func;
62998   ;
62999   return 0;
63000 }
63001 _ACEOF
63002 rm -f conftest.$ac_objext conftest$ac_exeext
63003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63004   (eval $ac_link) 2>conftest.er1
63005   ac_status=$?
63006   grep -v '^ *+' conftest.er1 >conftest.err
63007   rm -f conftest.er1
63008   cat conftest.err >&5
63009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63010   (exit $ac_status); } &&
63011          { ac_try='test -z "$ac_c_werror_flag"
63012                          || test ! -s conftest.err'
63013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63014   (eval $ac_try) 2>&5
63015   ac_status=$?
63016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63017   (exit $ac_status); }; } &&
63018          { ac_try='test -s conftest$ac_exeext'
63019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63020   (eval $ac_try) 2>&5
63021   ac_status=$?
63022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63023   (exit $ac_status); }; }; then
63024   eval "$as_ac_var=yes"
63025 else
63026   echo "$as_me: failed program was:" >&5
63027 sed 's/^/| /' conftest.$ac_ext >&5
63028
63029 eval "$as_ac_var=no"
63030 fi
63031 rm -f conftest.err conftest.$ac_objext \
63032       conftest$ac_exeext conftest.$ac_ext
63033 fi
63034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63036 if test `eval echo '${'$as_ac_var'}'` = yes; then
63037   cat >>confdefs.h <<_ACEOF
63038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63039 _ACEOF
63040
63041 fi
63042 done
63043
63044     fi
63045   fi
63046
63047
63048
63049
63050
63051
63052   echo "$as_me:$LINENO: checking for powf declaration" >&5
63053 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63054   if test x${glibcxx_cv_func_powf_use+set} != xset; then
63055     if test "${glibcxx_cv_func_powf_use+set}" = set; then
63056   echo $ECHO_N "(cached) $ECHO_C" >&6
63057 else
63058
63059
63060
63061       ac_ext=cc
63062 ac_cpp='$CXXCPP $CPPFLAGS'
63063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63066
63067       cat >conftest.$ac_ext <<_ACEOF
63068 /* confdefs.h.  */
63069 _ACEOF
63070 cat confdefs.h >>conftest.$ac_ext
63071 cat >>conftest.$ac_ext <<_ACEOF
63072 /* end confdefs.h.  */
63073 #include <math.h>
63074 int
63075 main ()
63076 {
63077  powf(0, 0);
63078   ;
63079   return 0;
63080 }
63081 _ACEOF
63082 rm -f conftest.$ac_objext
63083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63084   (eval $ac_compile) 2>conftest.er1
63085   ac_status=$?
63086   grep -v '^ *+' conftest.er1 >conftest.err
63087   rm -f conftest.er1
63088   cat conftest.err >&5
63089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63090   (exit $ac_status); } &&
63091          { ac_try='test -z "$ac_cxx_werror_flag"
63092                          || test ! -s conftest.err'
63093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63094   (eval $ac_try) 2>&5
63095   ac_status=$?
63096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63097   (exit $ac_status); }; } &&
63098          { ac_try='test -s conftest.$ac_objext'
63099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63100   (eval $ac_try) 2>&5
63101   ac_status=$?
63102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63103   (exit $ac_status); }; }; then
63104   glibcxx_cv_func_powf_use=yes
63105 else
63106   echo "$as_me: failed program was:" >&5
63107 sed 's/^/| /' conftest.$ac_ext >&5
63108
63109 glibcxx_cv_func_powf_use=no
63110 fi
63111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63112       ac_ext=c
63113 ac_cpp='$CPP $CPPFLAGS'
63114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63117
63118
63119 fi
63120
63121   fi
63122   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63123 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63124
63125   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63126
63127 for ac_func in powf
63128 do
63129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63130 echo "$as_me:$LINENO: checking for $ac_func" >&5
63131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63132 if eval "test \"\${$as_ac_var+set}\" = set"; then
63133   echo $ECHO_N "(cached) $ECHO_C" >&6
63134 else
63135   if test x$gcc_no_link = xyes; then
63136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63138    { (exit 1); exit 1; }; }
63139 fi
63140 cat >conftest.$ac_ext <<_ACEOF
63141 /* confdefs.h.  */
63142 _ACEOF
63143 cat confdefs.h >>conftest.$ac_ext
63144 cat >>conftest.$ac_ext <<_ACEOF
63145 /* end confdefs.h.  */
63146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63148 #define $ac_func innocuous_$ac_func
63149
63150 /* System header to define __stub macros and hopefully few prototypes,
63151     which can conflict with char $ac_func (); below.
63152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63153     <limits.h> exists even on freestanding compilers.  */
63154
63155 #ifdef __STDC__
63156 # include <limits.h>
63157 #else
63158 # include <assert.h>
63159 #endif
63160
63161 #undef $ac_func
63162
63163 /* Override any gcc2 internal prototype to avoid an error.  */
63164 #ifdef __cplusplus
63165 extern "C"
63166 {
63167 #endif
63168 /* We use char because int might match the return type of a gcc2
63169    builtin and then its argument prototype would still apply.  */
63170 char $ac_func ();
63171 /* The GNU C library defines this for functions which it implements
63172     to always fail with ENOSYS.  Some functions are actually named
63173     something starting with __ and the normal name is an alias.  */
63174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63175 choke me
63176 #else
63177 char (*f) () = $ac_func;
63178 #endif
63179 #ifdef __cplusplus
63180 }
63181 #endif
63182
63183 int
63184 main ()
63185 {
63186 return f != $ac_func;
63187   ;
63188   return 0;
63189 }
63190 _ACEOF
63191 rm -f conftest.$ac_objext conftest$ac_exeext
63192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63193   (eval $ac_link) 2>conftest.er1
63194   ac_status=$?
63195   grep -v '^ *+' conftest.er1 >conftest.err
63196   rm -f conftest.er1
63197   cat conftest.err >&5
63198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63199   (exit $ac_status); } &&
63200          { ac_try='test -z "$ac_c_werror_flag"
63201                          || test ! -s conftest.err'
63202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63203   (eval $ac_try) 2>&5
63204   ac_status=$?
63205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63206   (exit $ac_status); }; } &&
63207          { ac_try='test -s conftest$ac_exeext'
63208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63209   (eval $ac_try) 2>&5
63210   ac_status=$?
63211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63212   (exit $ac_status); }; }; then
63213   eval "$as_ac_var=yes"
63214 else
63215   echo "$as_me: failed program was:" >&5
63216 sed 's/^/| /' conftest.$ac_ext >&5
63217
63218 eval "$as_ac_var=no"
63219 fi
63220 rm -f conftest.err conftest.$ac_objext \
63221       conftest$ac_exeext conftest.$ac_ext
63222 fi
63223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63225 if test `eval echo '${'$as_ac_var'}'` = yes; then
63226   cat >>confdefs.h <<_ACEOF
63227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63228 _ACEOF
63229
63230 fi
63231 done
63232
63233   else
63234
63235   echo "$as_me:$LINENO: checking for _powf declaration" >&5
63236 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63237   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63238     if test "${glibcxx_cv_func__powf_use+set}" = set; then
63239   echo $ECHO_N "(cached) $ECHO_C" >&6
63240 else
63241
63242
63243
63244       ac_ext=cc
63245 ac_cpp='$CXXCPP $CPPFLAGS'
63246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63249
63250       cat >conftest.$ac_ext <<_ACEOF
63251 /* confdefs.h.  */
63252 _ACEOF
63253 cat confdefs.h >>conftest.$ac_ext
63254 cat >>conftest.$ac_ext <<_ACEOF
63255 /* end confdefs.h.  */
63256 #include <math.h>
63257 int
63258 main ()
63259 {
63260  _powf(0, 0);
63261   ;
63262   return 0;
63263 }
63264 _ACEOF
63265 rm -f conftest.$ac_objext
63266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63267   (eval $ac_compile) 2>conftest.er1
63268   ac_status=$?
63269   grep -v '^ *+' conftest.er1 >conftest.err
63270   rm -f conftest.er1
63271   cat conftest.err >&5
63272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63273   (exit $ac_status); } &&
63274          { ac_try='test -z "$ac_cxx_werror_flag"
63275                          || test ! -s conftest.err'
63276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63277   (eval $ac_try) 2>&5
63278   ac_status=$?
63279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63280   (exit $ac_status); }; } &&
63281          { ac_try='test -s conftest.$ac_objext'
63282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63283   (eval $ac_try) 2>&5
63284   ac_status=$?
63285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63286   (exit $ac_status); }; }; then
63287   glibcxx_cv_func__powf_use=yes
63288 else
63289   echo "$as_me: failed program was:" >&5
63290 sed 's/^/| /' conftest.$ac_ext >&5
63291
63292 glibcxx_cv_func__powf_use=no
63293 fi
63294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63295       ac_ext=c
63296 ac_cpp='$CPP $CPPFLAGS'
63297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63300
63301
63302 fi
63303
63304   fi
63305   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63306 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63307
63308     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63309
63310 for ac_func in _powf
63311 do
63312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63313 echo "$as_me:$LINENO: checking for $ac_func" >&5
63314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63315 if eval "test \"\${$as_ac_var+set}\" = set"; then
63316   echo $ECHO_N "(cached) $ECHO_C" >&6
63317 else
63318   if test x$gcc_no_link = xyes; then
63319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63321    { (exit 1); exit 1; }; }
63322 fi
63323 cat >conftest.$ac_ext <<_ACEOF
63324 /* confdefs.h.  */
63325 _ACEOF
63326 cat confdefs.h >>conftest.$ac_ext
63327 cat >>conftest.$ac_ext <<_ACEOF
63328 /* end confdefs.h.  */
63329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63331 #define $ac_func innocuous_$ac_func
63332
63333 /* System header to define __stub macros and hopefully few prototypes,
63334     which can conflict with char $ac_func (); below.
63335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63336     <limits.h> exists even on freestanding compilers.  */
63337
63338 #ifdef __STDC__
63339 # include <limits.h>
63340 #else
63341 # include <assert.h>
63342 #endif
63343
63344 #undef $ac_func
63345
63346 /* Override any gcc2 internal prototype to avoid an error.  */
63347 #ifdef __cplusplus
63348 extern "C"
63349 {
63350 #endif
63351 /* We use char because int might match the return type of a gcc2
63352    builtin and then its argument prototype would still apply.  */
63353 char $ac_func ();
63354 /* The GNU C library defines this for functions which it implements
63355     to always fail with ENOSYS.  Some functions are actually named
63356     something starting with __ and the normal name is an alias.  */
63357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63358 choke me
63359 #else
63360 char (*f) () = $ac_func;
63361 #endif
63362 #ifdef __cplusplus
63363 }
63364 #endif
63365
63366 int
63367 main ()
63368 {
63369 return f != $ac_func;
63370   ;
63371   return 0;
63372 }
63373 _ACEOF
63374 rm -f conftest.$ac_objext conftest$ac_exeext
63375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63376   (eval $ac_link) 2>conftest.er1
63377   ac_status=$?
63378   grep -v '^ *+' conftest.er1 >conftest.err
63379   rm -f conftest.er1
63380   cat conftest.err >&5
63381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63382   (exit $ac_status); } &&
63383          { ac_try='test -z "$ac_c_werror_flag"
63384                          || test ! -s conftest.err'
63385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63386   (eval $ac_try) 2>&5
63387   ac_status=$?
63388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63389   (exit $ac_status); }; } &&
63390          { ac_try='test -s conftest$ac_exeext'
63391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63392   (eval $ac_try) 2>&5
63393   ac_status=$?
63394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63395   (exit $ac_status); }; }; then
63396   eval "$as_ac_var=yes"
63397 else
63398   echo "$as_me: failed program was:" >&5
63399 sed 's/^/| /' conftest.$ac_ext >&5
63400
63401 eval "$as_ac_var=no"
63402 fi
63403 rm -f conftest.err conftest.$ac_objext \
63404       conftest$ac_exeext conftest.$ac_ext
63405 fi
63406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63408 if test `eval echo '${'$as_ac_var'}'` = yes; then
63409   cat >>confdefs.h <<_ACEOF
63410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63411 _ACEOF
63412
63413 fi
63414 done
63415
63416     fi
63417   fi
63418
63419
63420
63421
63422
63423
63424   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63425 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63426   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63427     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63428   echo $ECHO_N "(cached) $ECHO_C" >&6
63429 else
63430
63431
63432
63433       ac_ext=cc
63434 ac_cpp='$CXXCPP $CPPFLAGS'
63435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63438
63439       cat >conftest.$ac_ext <<_ACEOF
63440 /* confdefs.h.  */
63441 _ACEOF
63442 cat confdefs.h >>conftest.$ac_ext
63443 cat >>conftest.$ac_ext <<_ACEOF
63444 /* end confdefs.h.  */
63445 #include <math.h>
63446                       #ifdef HAVE_IEEEFP_H
63447                       #include <ieeefp.h>
63448                       #endif
63449
63450 int
63451 main ()
63452 {
63453  sqrtf(0);
63454   ;
63455   return 0;
63456 }
63457 _ACEOF
63458 rm -f conftest.$ac_objext
63459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63460   (eval $ac_compile) 2>conftest.er1
63461   ac_status=$?
63462   grep -v '^ *+' conftest.er1 >conftest.err
63463   rm -f conftest.er1
63464   cat conftest.err >&5
63465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63466   (exit $ac_status); } &&
63467          { ac_try='test -z "$ac_cxx_werror_flag"
63468                          || test ! -s conftest.err'
63469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63470   (eval $ac_try) 2>&5
63471   ac_status=$?
63472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63473   (exit $ac_status); }; } &&
63474          { ac_try='test -s conftest.$ac_objext'
63475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63476   (eval $ac_try) 2>&5
63477   ac_status=$?
63478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63479   (exit $ac_status); }; }; then
63480   glibcxx_cv_func_sqrtf_use=yes
63481 else
63482   echo "$as_me: failed program was:" >&5
63483 sed 's/^/| /' conftest.$ac_ext >&5
63484
63485 glibcxx_cv_func_sqrtf_use=no
63486 fi
63487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63488       ac_ext=c
63489 ac_cpp='$CPP $CPPFLAGS'
63490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63493
63494
63495 fi
63496
63497   fi
63498   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63499 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63500
63501   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63502
63503 for ac_func in sqrtf
63504 do
63505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63506 echo "$as_me:$LINENO: checking for $ac_func" >&5
63507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63508 if eval "test \"\${$as_ac_var+set}\" = set"; then
63509   echo $ECHO_N "(cached) $ECHO_C" >&6
63510 else
63511   if test x$gcc_no_link = xyes; then
63512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63514    { (exit 1); exit 1; }; }
63515 fi
63516 cat >conftest.$ac_ext <<_ACEOF
63517 /* confdefs.h.  */
63518 _ACEOF
63519 cat confdefs.h >>conftest.$ac_ext
63520 cat >>conftest.$ac_ext <<_ACEOF
63521 /* end confdefs.h.  */
63522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63524 #define $ac_func innocuous_$ac_func
63525
63526 /* System header to define __stub macros and hopefully few prototypes,
63527     which can conflict with char $ac_func (); below.
63528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63529     <limits.h> exists even on freestanding compilers.  */
63530
63531 #ifdef __STDC__
63532 # include <limits.h>
63533 #else
63534 # include <assert.h>
63535 #endif
63536
63537 #undef $ac_func
63538
63539 /* Override any gcc2 internal prototype to avoid an error.  */
63540 #ifdef __cplusplus
63541 extern "C"
63542 {
63543 #endif
63544 /* We use char because int might match the return type of a gcc2
63545    builtin and then its argument prototype would still apply.  */
63546 char $ac_func ();
63547 /* The GNU C library defines this for functions which it implements
63548     to always fail with ENOSYS.  Some functions are actually named
63549     something starting with __ and the normal name is an alias.  */
63550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63551 choke me
63552 #else
63553 char (*f) () = $ac_func;
63554 #endif
63555 #ifdef __cplusplus
63556 }
63557 #endif
63558
63559 int
63560 main ()
63561 {
63562 return f != $ac_func;
63563   ;
63564   return 0;
63565 }
63566 _ACEOF
63567 rm -f conftest.$ac_objext conftest$ac_exeext
63568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63569   (eval $ac_link) 2>conftest.er1
63570   ac_status=$?
63571   grep -v '^ *+' conftest.er1 >conftest.err
63572   rm -f conftest.er1
63573   cat conftest.err >&5
63574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63575   (exit $ac_status); } &&
63576          { ac_try='test -z "$ac_c_werror_flag"
63577                          || test ! -s conftest.err'
63578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63579   (eval $ac_try) 2>&5
63580   ac_status=$?
63581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63582   (exit $ac_status); }; } &&
63583          { ac_try='test -s conftest$ac_exeext'
63584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63585   (eval $ac_try) 2>&5
63586   ac_status=$?
63587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63588   (exit $ac_status); }; }; then
63589   eval "$as_ac_var=yes"
63590 else
63591   echo "$as_me: failed program was:" >&5
63592 sed 's/^/| /' conftest.$ac_ext >&5
63593
63594 eval "$as_ac_var=no"
63595 fi
63596 rm -f conftest.err conftest.$ac_objext \
63597       conftest$ac_exeext conftest.$ac_ext
63598 fi
63599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63601 if test `eval echo '${'$as_ac_var'}'` = yes; then
63602   cat >>confdefs.h <<_ACEOF
63603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63604 _ACEOF
63605
63606 fi
63607 done
63608
63609   else
63610
63611   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63612 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63613   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63614     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63615   echo $ECHO_N "(cached) $ECHO_C" >&6
63616 else
63617
63618
63619
63620       ac_ext=cc
63621 ac_cpp='$CXXCPP $CPPFLAGS'
63622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63625
63626       cat >conftest.$ac_ext <<_ACEOF
63627 /* confdefs.h.  */
63628 _ACEOF
63629 cat confdefs.h >>conftest.$ac_ext
63630 cat >>conftest.$ac_ext <<_ACEOF
63631 /* end confdefs.h.  */
63632 #include <math.h>
63633                       #ifdef HAVE_IEEEFP_H
63634                       #include <ieeefp.h>
63635                       #endif
63636
63637 int
63638 main ()
63639 {
63640  _sqrtf(0);
63641   ;
63642   return 0;
63643 }
63644 _ACEOF
63645 rm -f conftest.$ac_objext
63646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63647   (eval $ac_compile) 2>conftest.er1
63648   ac_status=$?
63649   grep -v '^ *+' conftest.er1 >conftest.err
63650   rm -f conftest.er1
63651   cat conftest.err >&5
63652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63653   (exit $ac_status); } &&
63654          { ac_try='test -z "$ac_cxx_werror_flag"
63655                          || test ! -s conftest.err'
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); }; } &&
63661          { ac_try='test -s conftest.$ac_objext'
63662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63663   (eval $ac_try) 2>&5
63664   ac_status=$?
63665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63666   (exit $ac_status); }; }; then
63667   glibcxx_cv_func__sqrtf_use=yes
63668 else
63669   echo "$as_me: failed program was:" >&5
63670 sed 's/^/| /' conftest.$ac_ext >&5
63671
63672 glibcxx_cv_func__sqrtf_use=no
63673 fi
63674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63675       ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63680
63681
63682 fi
63683
63684   fi
63685   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63686 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63687
63688     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63689
63690 for ac_func in _sqrtf
63691 do
63692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63693 echo "$as_me:$LINENO: checking for $ac_func" >&5
63694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63695 if eval "test \"\${$as_ac_var+set}\" = set"; then
63696   echo $ECHO_N "(cached) $ECHO_C" >&6
63697 else
63698   if test x$gcc_no_link = xyes; then
63699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63701    { (exit 1); exit 1; }; }
63702 fi
63703 cat >conftest.$ac_ext <<_ACEOF
63704 /* confdefs.h.  */
63705 _ACEOF
63706 cat confdefs.h >>conftest.$ac_ext
63707 cat >>conftest.$ac_ext <<_ACEOF
63708 /* end confdefs.h.  */
63709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63711 #define $ac_func innocuous_$ac_func
63712
63713 /* System header to define __stub macros and hopefully few prototypes,
63714     which can conflict with char $ac_func (); below.
63715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63716     <limits.h> exists even on freestanding compilers.  */
63717
63718 #ifdef __STDC__
63719 # include <limits.h>
63720 #else
63721 # include <assert.h>
63722 #endif
63723
63724 #undef $ac_func
63725
63726 /* Override any gcc2 internal prototype to avoid an error.  */
63727 #ifdef __cplusplus
63728 extern "C"
63729 {
63730 #endif
63731 /* We use char because int might match the return type of a gcc2
63732    builtin and then its argument prototype would still apply.  */
63733 char $ac_func ();
63734 /* The GNU C library defines this for functions which it implements
63735     to always fail with ENOSYS.  Some functions are actually named
63736     something starting with __ and the normal name is an alias.  */
63737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63738 choke me
63739 #else
63740 char (*f) () = $ac_func;
63741 #endif
63742 #ifdef __cplusplus
63743 }
63744 #endif
63745
63746 int
63747 main ()
63748 {
63749 return f != $ac_func;
63750   ;
63751   return 0;
63752 }
63753 _ACEOF
63754 rm -f conftest.$ac_objext conftest$ac_exeext
63755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63756   (eval $ac_link) 2>conftest.er1
63757   ac_status=$?
63758   grep -v '^ *+' conftest.er1 >conftest.err
63759   rm -f conftest.er1
63760   cat conftest.err >&5
63761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63762   (exit $ac_status); } &&
63763          { ac_try='test -z "$ac_c_werror_flag"
63764                          || test ! -s conftest.err'
63765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63766   (eval $ac_try) 2>&5
63767   ac_status=$?
63768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63769   (exit $ac_status); }; } &&
63770          { ac_try='test -s conftest$ac_exeext'
63771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63772   (eval $ac_try) 2>&5
63773   ac_status=$?
63774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63775   (exit $ac_status); }; }; then
63776   eval "$as_ac_var=yes"
63777 else
63778   echo "$as_me: failed program was:" >&5
63779 sed 's/^/| /' conftest.$ac_ext >&5
63780
63781 eval "$as_ac_var=no"
63782 fi
63783 rm -f conftest.err conftest.$ac_objext \
63784       conftest$ac_exeext conftest.$ac_ext
63785 fi
63786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63788 if test `eval echo '${'$as_ac_var'}'` = yes; then
63789   cat >>confdefs.h <<_ACEOF
63790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63791 _ACEOF
63792
63793 fi
63794 done
63795
63796     fi
63797   fi
63798
63799
63800
63801
63802
63803
63804   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63805 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63806   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63807     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63808   echo $ECHO_N "(cached) $ECHO_C" >&6
63809 else
63810
63811
63812
63813       ac_ext=cc
63814 ac_cpp='$CXXCPP $CPPFLAGS'
63815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63818
63819       cat >conftest.$ac_ext <<_ACEOF
63820 /* confdefs.h.  */
63821 _ACEOF
63822 cat confdefs.h >>conftest.$ac_ext
63823 cat >>conftest.$ac_ext <<_ACEOF
63824 /* end confdefs.h.  */
63825 #include <math.h>
63826 int
63827 main ()
63828 {
63829  sincosf(0, 0, 0);
63830   ;
63831   return 0;
63832 }
63833 _ACEOF
63834 rm -f conftest.$ac_objext
63835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63836   (eval $ac_compile) 2>conftest.er1
63837   ac_status=$?
63838   grep -v '^ *+' conftest.er1 >conftest.err
63839   rm -f conftest.er1
63840   cat conftest.err >&5
63841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63842   (exit $ac_status); } &&
63843          { ac_try='test -z "$ac_cxx_werror_flag"
63844                          || test ! -s conftest.err'
63845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63846   (eval $ac_try) 2>&5
63847   ac_status=$?
63848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63849   (exit $ac_status); }; } &&
63850          { ac_try='test -s conftest.$ac_objext'
63851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63852   (eval $ac_try) 2>&5
63853   ac_status=$?
63854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63855   (exit $ac_status); }; }; then
63856   glibcxx_cv_func_sincosf_use=yes
63857 else
63858   echo "$as_me: failed program was:" >&5
63859 sed 's/^/| /' conftest.$ac_ext >&5
63860
63861 glibcxx_cv_func_sincosf_use=no
63862 fi
63863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63864       ac_ext=c
63865 ac_cpp='$CPP $CPPFLAGS'
63866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63869
63870
63871 fi
63872
63873   fi
63874   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63875 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63876
63877   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63878
63879 for ac_func in sincosf
63880 do
63881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63882 echo "$as_me:$LINENO: checking for $ac_func" >&5
63883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63884 if eval "test \"\${$as_ac_var+set}\" = set"; then
63885   echo $ECHO_N "(cached) $ECHO_C" >&6
63886 else
63887   if test x$gcc_no_link = xyes; then
63888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63890    { (exit 1); exit 1; }; }
63891 fi
63892 cat >conftest.$ac_ext <<_ACEOF
63893 /* confdefs.h.  */
63894 _ACEOF
63895 cat confdefs.h >>conftest.$ac_ext
63896 cat >>conftest.$ac_ext <<_ACEOF
63897 /* end confdefs.h.  */
63898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63900 #define $ac_func innocuous_$ac_func
63901
63902 /* System header to define __stub macros and hopefully few prototypes,
63903     which can conflict with char $ac_func (); below.
63904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63905     <limits.h> exists even on freestanding compilers.  */
63906
63907 #ifdef __STDC__
63908 # include <limits.h>
63909 #else
63910 # include <assert.h>
63911 #endif
63912
63913 #undef $ac_func
63914
63915 /* Override any gcc2 internal prototype to avoid an error.  */
63916 #ifdef __cplusplus
63917 extern "C"
63918 {
63919 #endif
63920 /* We use char because int might match the return type of a gcc2
63921    builtin and then its argument prototype would still apply.  */
63922 char $ac_func ();
63923 /* The GNU C library defines this for functions which it implements
63924     to always fail with ENOSYS.  Some functions are actually named
63925     something starting with __ and the normal name is an alias.  */
63926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63927 choke me
63928 #else
63929 char (*f) () = $ac_func;
63930 #endif
63931 #ifdef __cplusplus
63932 }
63933 #endif
63934
63935 int
63936 main ()
63937 {
63938 return f != $ac_func;
63939   ;
63940   return 0;
63941 }
63942 _ACEOF
63943 rm -f conftest.$ac_objext conftest$ac_exeext
63944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63945   (eval $ac_link) 2>conftest.er1
63946   ac_status=$?
63947   grep -v '^ *+' conftest.er1 >conftest.err
63948   rm -f conftest.er1
63949   cat conftest.err >&5
63950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63951   (exit $ac_status); } &&
63952          { ac_try='test -z "$ac_c_werror_flag"
63953                          || test ! -s conftest.err'
63954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63955   (eval $ac_try) 2>&5
63956   ac_status=$?
63957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63958   (exit $ac_status); }; } &&
63959          { ac_try='test -s conftest$ac_exeext'
63960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63961   (eval $ac_try) 2>&5
63962   ac_status=$?
63963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63964   (exit $ac_status); }; }; then
63965   eval "$as_ac_var=yes"
63966 else
63967   echo "$as_me: failed program was:" >&5
63968 sed 's/^/| /' conftest.$ac_ext >&5
63969
63970 eval "$as_ac_var=no"
63971 fi
63972 rm -f conftest.err conftest.$ac_objext \
63973       conftest$ac_exeext conftest.$ac_ext
63974 fi
63975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63977 if test `eval echo '${'$as_ac_var'}'` = yes; then
63978   cat >>confdefs.h <<_ACEOF
63979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63980 _ACEOF
63981
63982 fi
63983 done
63984
63985   else
63986
63987   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
63988 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
63989   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63990     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
63991   echo $ECHO_N "(cached) $ECHO_C" >&6
63992 else
63993
63994
63995
63996       ac_ext=cc
63997 ac_cpp='$CXXCPP $CPPFLAGS'
63998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64001
64002       cat >conftest.$ac_ext <<_ACEOF
64003 /* confdefs.h.  */
64004 _ACEOF
64005 cat confdefs.h >>conftest.$ac_ext
64006 cat >>conftest.$ac_ext <<_ACEOF
64007 /* end confdefs.h.  */
64008 #include <math.h>
64009 int
64010 main ()
64011 {
64012  _sincosf(0, 0, 0);
64013   ;
64014   return 0;
64015 }
64016 _ACEOF
64017 rm -f conftest.$ac_objext
64018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64019   (eval $ac_compile) 2>conftest.er1
64020   ac_status=$?
64021   grep -v '^ *+' conftest.er1 >conftest.err
64022   rm -f conftest.er1
64023   cat conftest.err >&5
64024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64025   (exit $ac_status); } &&
64026          { ac_try='test -z "$ac_cxx_werror_flag"
64027                          || test ! -s conftest.err'
64028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64029   (eval $ac_try) 2>&5
64030   ac_status=$?
64031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64032   (exit $ac_status); }; } &&
64033          { ac_try='test -s conftest.$ac_objext'
64034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64035   (eval $ac_try) 2>&5
64036   ac_status=$?
64037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64038   (exit $ac_status); }; }; then
64039   glibcxx_cv_func__sincosf_use=yes
64040 else
64041   echo "$as_me: failed program was:" >&5
64042 sed 's/^/| /' conftest.$ac_ext >&5
64043
64044 glibcxx_cv_func__sincosf_use=no
64045 fi
64046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64047       ac_ext=c
64048 ac_cpp='$CPP $CPPFLAGS'
64049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64052
64053
64054 fi
64055
64056   fi
64057   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64058 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64059
64060     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64061
64062 for ac_func in _sincosf
64063 do
64064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64065 echo "$as_me:$LINENO: checking for $ac_func" >&5
64066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64067 if eval "test \"\${$as_ac_var+set}\" = set"; then
64068   echo $ECHO_N "(cached) $ECHO_C" >&6
64069 else
64070   if test x$gcc_no_link = xyes; then
64071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64073    { (exit 1); exit 1; }; }
64074 fi
64075 cat >conftest.$ac_ext <<_ACEOF
64076 /* confdefs.h.  */
64077 _ACEOF
64078 cat confdefs.h >>conftest.$ac_ext
64079 cat >>conftest.$ac_ext <<_ACEOF
64080 /* end confdefs.h.  */
64081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64083 #define $ac_func innocuous_$ac_func
64084
64085 /* System header to define __stub macros and hopefully few prototypes,
64086     which can conflict with char $ac_func (); below.
64087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64088     <limits.h> exists even on freestanding compilers.  */
64089
64090 #ifdef __STDC__
64091 # include <limits.h>
64092 #else
64093 # include <assert.h>
64094 #endif
64095
64096 #undef $ac_func
64097
64098 /* Override any gcc2 internal prototype to avoid an error.  */
64099 #ifdef __cplusplus
64100 extern "C"
64101 {
64102 #endif
64103 /* We use char because int might match the return type of a gcc2
64104    builtin and then its argument prototype would still apply.  */
64105 char $ac_func ();
64106 /* The GNU C library defines this for functions which it implements
64107     to always fail with ENOSYS.  Some functions are actually named
64108     something starting with __ and the normal name is an alias.  */
64109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64110 choke me
64111 #else
64112 char (*f) () = $ac_func;
64113 #endif
64114 #ifdef __cplusplus
64115 }
64116 #endif
64117
64118 int
64119 main ()
64120 {
64121 return f != $ac_func;
64122   ;
64123   return 0;
64124 }
64125 _ACEOF
64126 rm -f conftest.$ac_objext conftest$ac_exeext
64127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64128   (eval $ac_link) 2>conftest.er1
64129   ac_status=$?
64130   grep -v '^ *+' conftest.er1 >conftest.err
64131   rm -f conftest.er1
64132   cat conftest.err >&5
64133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64134   (exit $ac_status); } &&
64135          { ac_try='test -z "$ac_c_werror_flag"
64136                          || test ! -s conftest.err'
64137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64138   (eval $ac_try) 2>&5
64139   ac_status=$?
64140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64141   (exit $ac_status); }; } &&
64142          { ac_try='test -s conftest$ac_exeext'
64143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64144   (eval $ac_try) 2>&5
64145   ac_status=$?
64146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64147   (exit $ac_status); }; }; then
64148   eval "$as_ac_var=yes"
64149 else
64150   echo "$as_me: failed program was:" >&5
64151 sed 's/^/| /' conftest.$ac_ext >&5
64152
64153 eval "$as_ac_var=no"
64154 fi
64155 rm -f conftest.err conftest.$ac_objext \
64156       conftest$ac_exeext conftest.$ac_ext
64157 fi
64158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64160 if test `eval echo '${'$as_ac_var'}'` = yes; then
64161   cat >>confdefs.h <<_ACEOF
64162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64163 _ACEOF
64164
64165 fi
64166 done
64167
64168     fi
64169   fi
64170
64171
64172
64173
64174
64175
64176   echo "$as_me:$LINENO: checking for finitef declaration" >&5
64177 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64178   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64179     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64180   echo $ECHO_N "(cached) $ECHO_C" >&6
64181 else
64182
64183
64184
64185       ac_ext=cc
64186 ac_cpp='$CXXCPP $CPPFLAGS'
64187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64190
64191       cat >conftest.$ac_ext <<_ACEOF
64192 /* confdefs.h.  */
64193 _ACEOF
64194 cat confdefs.h >>conftest.$ac_ext
64195 cat >>conftest.$ac_ext <<_ACEOF
64196 /* end confdefs.h.  */
64197 #include <math.h>
64198                       #ifdef HAVE_IEEEFP_H
64199                       #include <ieeefp.h>
64200                       #endif
64201
64202 int
64203 main ()
64204 {
64205  finitef(0);
64206   ;
64207   return 0;
64208 }
64209 _ACEOF
64210 rm -f conftest.$ac_objext
64211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64212   (eval $ac_compile) 2>conftest.er1
64213   ac_status=$?
64214   grep -v '^ *+' conftest.er1 >conftest.err
64215   rm -f conftest.er1
64216   cat conftest.err >&5
64217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64218   (exit $ac_status); } &&
64219          { ac_try='test -z "$ac_cxx_werror_flag"
64220                          || test ! -s conftest.err'
64221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64222   (eval $ac_try) 2>&5
64223   ac_status=$?
64224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64225   (exit $ac_status); }; } &&
64226          { ac_try='test -s conftest.$ac_objext'
64227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64228   (eval $ac_try) 2>&5
64229   ac_status=$?
64230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64231   (exit $ac_status); }; }; then
64232   glibcxx_cv_func_finitef_use=yes
64233 else
64234   echo "$as_me: failed program was:" >&5
64235 sed 's/^/| /' conftest.$ac_ext >&5
64236
64237 glibcxx_cv_func_finitef_use=no
64238 fi
64239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64240       ac_ext=c
64241 ac_cpp='$CPP $CPPFLAGS'
64242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64245
64246
64247 fi
64248
64249   fi
64250   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64251 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64252
64253   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64254
64255 for ac_func in finitef
64256 do
64257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64258 echo "$as_me:$LINENO: checking for $ac_func" >&5
64259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64260 if eval "test \"\${$as_ac_var+set}\" = set"; then
64261   echo $ECHO_N "(cached) $ECHO_C" >&6
64262 else
64263   if test x$gcc_no_link = xyes; then
64264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64266    { (exit 1); exit 1; }; }
64267 fi
64268 cat >conftest.$ac_ext <<_ACEOF
64269 /* confdefs.h.  */
64270 _ACEOF
64271 cat confdefs.h >>conftest.$ac_ext
64272 cat >>conftest.$ac_ext <<_ACEOF
64273 /* end confdefs.h.  */
64274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64276 #define $ac_func innocuous_$ac_func
64277
64278 /* System header to define __stub macros and hopefully few prototypes,
64279     which can conflict with char $ac_func (); below.
64280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64281     <limits.h> exists even on freestanding compilers.  */
64282
64283 #ifdef __STDC__
64284 # include <limits.h>
64285 #else
64286 # include <assert.h>
64287 #endif
64288
64289 #undef $ac_func
64290
64291 /* Override any gcc2 internal prototype to avoid an error.  */
64292 #ifdef __cplusplus
64293 extern "C"
64294 {
64295 #endif
64296 /* We use char because int might match the return type of a gcc2
64297    builtin and then its argument prototype would still apply.  */
64298 char $ac_func ();
64299 /* The GNU C library defines this for functions which it implements
64300     to always fail with ENOSYS.  Some functions are actually named
64301     something starting with __ and the normal name is an alias.  */
64302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64303 choke me
64304 #else
64305 char (*f) () = $ac_func;
64306 #endif
64307 #ifdef __cplusplus
64308 }
64309 #endif
64310
64311 int
64312 main ()
64313 {
64314 return f != $ac_func;
64315   ;
64316   return 0;
64317 }
64318 _ACEOF
64319 rm -f conftest.$ac_objext conftest$ac_exeext
64320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64321   (eval $ac_link) 2>conftest.er1
64322   ac_status=$?
64323   grep -v '^ *+' conftest.er1 >conftest.err
64324   rm -f conftest.er1
64325   cat conftest.err >&5
64326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64327   (exit $ac_status); } &&
64328          { ac_try='test -z "$ac_c_werror_flag"
64329                          || test ! -s conftest.err'
64330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64331   (eval $ac_try) 2>&5
64332   ac_status=$?
64333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64334   (exit $ac_status); }; } &&
64335          { ac_try='test -s conftest$ac_exeext'
64336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64337   (eval $ac_try) 2>&5
64338   ac_status=$?
64339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64340   (exit $ac_status); }; }; then
64341   eval "$as_ac_var=yes"
64342 else
64343   echo "$as_me: failed program was:" >&5
64344 sed 's/^/| /' conftest.$ac_ext >&5
64345
64346 eval "$as_ac_var=no"
64347 fi
64348 rm -f conftest.err conftest.$ac_objext \
64349       conftest$ac_exeext conftest.$ac_ext
64350 fi
64351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64353 if test `eval echo '${'$as_ac_var'}'` = yes; then
64354   cat >>confdefs.h <<_ACEOF
64355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64356 _ACEOF
64357
64358 fi
64359 done
64360
64361   else
64362
64363   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64364 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64365   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64366     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64367   echo $ECHO_N "(cached) $ECHO_C" >&6
64368 else
64369
64370
64371
64372       ac_ext=cc
64373 ac_cpp='$CXXCPP $CPPFLAGS'
64374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64377
64378       cat >conftest.$ac_ext <<_ACEOF
64379 /* confdefs.h.  */
64380 _ACEOF
64381 cat confdefs.h >>conftest.$ac_ext
64382 cat >>conftest.$ac_ext <<_ACEOF
64383 /* end confdefs.h.  */
64384 #include <math.h>
64385                       #ifdef HAVE_IEEEFP_H
64386                       #include <ieeefp.h>
64387                       #endif
64388
64389 int
64390 main ()
64391 {
64392  _finitef(0);
64393   ;
64394   return 0;
64395 }
64396 _ACEOF
64397 rm -f conftest.$ac_objext
64398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64399   (eval $ac_compile) 2>conftest.er1
64400   ac_status=$?
64401   grep -v '^ *+' conftest.er1 >conftest.err
64402   rm -f conftest.er1
64403   cat conftest.err >&5
64404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64405   (exit $ac_status); } &&
64406          { ac_try='test -z "$ac_cxx_werror_flag"
64407                          || test ! -s conftest.err'
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); }; } &&
64413          { ac_try='test -s conftest.$ac_objext'
64414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64415   (eval $ac_try) 2>&5
64416   ac_status=$?
64417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64418   (exit $ac_status); }; }; then
64419   glibcxx_cv_func__finitef_use=yes
64420 else
64421   echo "$as_me: failed program was:" >&5
64422 sed 's/^/| /' conftest.$ac_ext >&5
64423
64424 glibcxx_cv_func__finitef_use=no
64425 fi
64426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64427       ac_ext=c
64428 ac_cpp='$CPP $CPPFLAGS'
64429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64432
64433
64434 fi
64435
64436   fi
64437   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64438 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64439
64440     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64441
64442 for ac_func in _finitef
64443 do
64444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64445 echo "$as_me:$LINENO: checking for $ac_func" >&5
64446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64447 if eval "test \"\${$as_ac_var+set}\" = set"; then
64448   echo $ECHO_N "(cached) $ECHO_C" >&6
64449 else
64450   if test x$gcc_no_link = xyes; then
64451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64453    { (exit 1); exit 1; }; }
64454 fi
64455 cat >conftest.$ac_ext <<_ACEOF
64456 /* confdefs.h.  */
64457 _ACEOF
64458 cat confdefs.h >>conftest.$ac_ext
64459 cat >>conftest.$ac_ext <<_ACEOF
64460 /* end confdefs.h.  */
64461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64463 #define $ac_func innocuous_$ac_func
64464
64465 /* System header to define __stub macros and hopefully few prototypes,
64466     which can conflict with char $ac_func (); below.
64467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64468     <limits.h> exists even on freestanding compilers.  */
64469
64470 #ifdef __STDC__
64471 # include <limits.h>
64472 #else
64473 # include <assert.h>
64474 #endif
64475
64476 #undef $ac_func
64477
64478 /* Override any gcc2 internal prototype to avoid an error.  */
64479 #ifdef __cplusplus
64480 extern "C"
64481 {
64482 #endif
64483 /* We use char because int might match the return type of a gcc2
64484    builtin and then its argument prototype would still apply.  */
64485 char $ac_func ();
64486 /* The GNU C library defines this for functions which it implements
64487     to always fail with ENOSYS.  Some functions are actually named
64488     something starting with __ and the normal name is an alias.  */
64489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64490 choke me
64491 #else
64492 char (*f) () = $ac_func;
64493 #endif
64494 #ifdef __cplusplus
64495 }
64496 #endif
64497
64498 int
64499 main ()
64500 {
64501 return f != $ac_func;
64502   ;
64503   return 0;
64504 }
64505 _ACEOF
64506 rm -f conftest.$ac_objext conftest$ac_exeext
64507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64508   (eval $ac_link) 2>conftest.er1
64509   ac_status=$?
64510   grep -v '^ *+' conftest.er1 >conftest.err
64511   rm -f conftest.er1
64512   cat conftest.err >&5
64513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64514   (exit $ac_status); } &&
64515          { ac_try='test -z "$ac_c_werror_flag"
64516                          || test ! -s conftest.err'
64517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64518   (eval $ac_try) 2>&5
64519   ac_status=$?
64520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64521   (exit $ac_status); }; } &&
64522          { ac_try='test -s conftest$ac_exeext'
64523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64524   (eval $ac_try) 2>&5
64525   ac_status=$?
64526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64527   (exit $ac_status); }; }; then
64528   eval "$as_ac_var=yes"
64529 else
64530   echo "$as_me: failed program was:" >&5
64531 sed 's/^/| /' conftest.$ac_ext >&5
64532
64533 eval "$as_ac_var=no"
64534 fi
64535 rm -f conftest.err conftest.$ac_objext \
64536       conftest$ac_exeext conftest.$ac_ext
64537 fi
64538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64540 if test `eval echo '${'$as_ac_var'}'` = yes; then
64541   cat >>confdefs.h <<_ACEOF
64542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64543 _ACEOF
64544
64545 fi
64546 done
64547
64548     fi
64549   fi
64550
64551
64552
64553
64554
64555
64556     echo "$as_me:$LINENO: checking for long double trig functions" >&5
64557 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64558   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64559   echo $ECHO_N "(cached) $ECHO_C" >&6
64560 else
64561
64562
64563
64564     ac_ext=cc
64565 ac_cpp='$CXXCPP $CPPFLAGS'
64566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64569
64570     cat >conftest.$ac_ext <<_ACEOF
64571 /* confdefs.h.  */
64572 _ACEOF
64573 cat confdefs.h >>conftest.$ac_ext
64574 cat >>conftest.$ac_ext <<_ACEOF
64575 /* end confdefs.h.  */
64576 #include <math.h>
64577 int
64578 main ()
64579 {
64580 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64581   ;
64582   return 0;
64583 }
64584 _ACEOF
64585 rm -f conftest.$ac_objext
64586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64587   (eval $ac_compile) 2>conftest.er1
64588   ac_status=$?
64589   grep -v '^ *+' conftest.er1 >conftest.err
64590   rm -f conftest.er1
64591   cat conftest.err >&5
64592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64593   (exit $ac_status); } &&
64594          { ac_try='test -z "$ac_cxx_werror_flag"
64595                          || test ! -s conftest.err'
64596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597   (eval $ac_try) 2>&5
64598   ac_status=$?
64599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600   (exit $ac_status); }; } &&
64601          { ac_try='test -s conftest.$ac_objext'
64602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64603   (eval $ac_try) 2>&5
64604   ac_status=$?
64605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64606   (exit $ac_status); }; }; then
64607   glibcxx_cv_func_long_double_trig_use=yes
64608 else
64609   echo "$as_me: failed program was:" >&5
64610 sed 's/^/| /' conftest.$ac_ext >&5
64611
64612 glibcxx_cv_func_long_double_trig_use=no
64613 fi
64614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64615     ac_ext=c
64616 ac_cpp='$CPP $CPPFLAGS'
64617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64620
64621 fi
64622
64623   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64624 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64625   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64626
64627
64628
64629
64630
64631
64632
64633
64634
64635 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64636 do
64637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64638 echo "$as_me:$LINENO: checking for $ac_func" >&5
64639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64640 if eval "test \"\${$as_ac_var+set}\" = set"; then
64641   echo $ECHO_N "(cached) $ECHO_C" >&6
64642 else
64643   if test x$gcc_no_link = xyes; then
64644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64646    { (exit 1); exit 1; }; }
64647 fi
64648 cat >conftest.$ac_ext <<_ACEOF
64649 /* confdefs.h.  */
64650 _ACEOF
64651 cat confdefs.h >>conftest.$ac_ext
64652 cat >>conftest.$ac_ext <<_ACEOF
64653 /* end confdefs.h.  */
64654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64656 #define $ac_func innocuous_$ac_func
64657
64658 /* System header to define __stub macros and hopefully few prototypes,
64659     which can conflict with char $ac_func (); below.
64660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64661     <limits.h> exists even on freestanding compilers.  */
64662
64663 #ifdef __STDC__
64664 # include <limits.h>
64665 #else
64666 # include <assert.h>
64667 #endif
64668
64669 #undef $ac_func
64670
64671 /* Override any gcc2 internal prototype to avoid an error.  */
64672 #ifdef __cplusplus
64673 extern "C"
64674 {
64675 #endif
64676 /* We use char because int might match the return type of a gcc2
64677    builtin and then its argument prototype would still apply.  */
64678 char $ac_func ();
64679 /* The GNU C library defines this for functions which it implements
64680     to always fail with ENOSYS.  Some functions are actually named
64681     something starting with __ and the normal name is an alias.  */
64682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64683 choke me
64684 #else
64685 char (*f) () = $ac_func;
64686 #endif
64687 #ifdef __cplusplus
64688 }
64689 #endif
64690
64691 int
64692 main ()
64693 {
64694 return f != $ac_func;
64695   ;
64696   return 0;
64697 }
64698 _ACEOF
64699 rm -f conftest.$ac_objext conftest$ac_exeext
64700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64701   (eval $ac_link) 2>conftest.er1
64702   ac_status=$?
64703   grep -v '^ *+' conftest.er1 >conftest.err
64704   rm -f conftest.er1
64705   cat conftest.err >&5
64706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64707   (exit $ac_status); } &&
64708          { ac_try='test -z "$ac_c_werror_flag"
64709                          || test ! -s conftest.err'
64710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64711   (eval $ac_try) 2>&5
64712   ac_status=$?
64713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64714   (exit $ac_status); }; } &&
64715          { ac_try='test -s conftest$ac_exeext'
64716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64717   (eval $ac_try) 2>&5
64718   ac_status=$?
64719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64720   (exit $ac_status); }; }; then
64721   eval "$as_ac_var=yes"
64722 else
64723   echo "$as_me: failed program was:" >&5
64724 sed 's/^/| /' conftest.$ac_ext >&5
64725
64726 eval "$as_ac_var=no"
64727 fi
64728 rm -f conftest.err conftest.$ac_objext \
64729       conftest$ac_exeext conftest.$ac_ext
64730 fi
64731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64733 if test `eval echo '${'$as_ac_var'}'` = yes; then
64734   cat >>confdefs.h <<_ACEOF
64735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64736 _ACEOF
64737
64738 fi
64739 done
64740
64741   else
64742     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64743 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64744     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64745   echo $ECHO_N "(cached) $ECHO_C" >&6
64746 else
64747
64748
64749
64750       ac_ext=cc
64751 ac_cpp='$CXXCPP $CPPFLAGS'
64752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64755
64756       cat >conftest.$ac_ext <<_ACEOF
64757 /* confdefs.h.  */
64758 _ACEOF
64759 cat confdefs.h >>conftest.$ac_ext
64760 cat >>conftest.$ac_ext <<_ACEOF
64761 /* end confdefs.h.  */
64762 #include <math.h>
64763 int
64764 main ()
64765 {
64766 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64767   ;
64768   return 0;
64769 }
64770 _ACEOF
64771 rm -f conftest.$ac_objext
64772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64773   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__long_double_trig_use=yes
64794 else
64795   echo "$as_me: failed program was:" >&5
64796 sed 's/^/| /' conftest.$ac_ext >&5
64797
64798 glibcxx_cv_func__long_double_trig_use=no
64799 fi
64800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64801       ac_ext=c
64802 ac_cpp='$CPP $CPPFLAGS'
64803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64806
64807 fi
64808
64809     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64810 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64811     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64812
64813
64814
64815
64816
64817
64818
64819
64820
64821 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64822 do
64823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64824 echo "$as_me:$LINENO: checking for $ac_func" >&5
64825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64826 if eval "test \"\${$as_ac_var+set}\" = set"; then
64827   echo $ECHO_N "(cached) $ECHO_C" >&6
64828 else
64829   if test x$gcc_no_link = xyes; then
64830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64832    { (exit 1); exit 1; }; }
64833 fi
64834 cat >conftest.$ac_ext <<_ACEOF
64835 /* confdefs.h.  */
64836 _ACEOF
64837 cat confdefs.h >>conftest.$ac_ext
64838 cat >>conftest.$ac_ext <<_ACEOF
64839 /* end confdefs.h.  */
64840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64842 #define $ac_func innocuous_$ac_func
64843
64844 /* System header to define __stub macros and hopefully few prototypes,
64845     which can conflict with char $ac_func (); below.
64846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64847     <limits.h> exists even on freestanding compilers.  */
64848
64849 #ifdef __STDC__
64850 # include <limits.h>
64851 #else
64852 # include <assert.h>
64853 #endif
64854
64855 #undef $ac_func
64856
64857 /* Override any gcc2 internal prototype to avoid an error.  */
64858 #ifdef __cplusplus
64859 extern "C"
64860 {
64861 #endif
64862 /* We use char because int might match the return type of a gcc2
64863    builtin and then its argument prototype would still apply.  */
64864 char $ac_func ();
64865 /* The GNU C library defines this for functions which it implements
64866     to always fail with ENOSYS.  Some functions are actually named
64867     something starting with __ and the normal name is an alias.  */
64868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64869 choke me
64870 #else
64871 char (*f) () = $ac_func;
64872 #endif
64873 #ifdef __cplusplus
64874 }
64875 #endif
64876
64877 int
64878 main ()
64879 {
64880 return f != $ac_func;
64881   ;
64882   return 0;
64883 }
64884 _ACEOF
64885 rm -f conftest.$ac_objext conftest$ac_exeext
64886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64887   (eval $ac_link) 2>conftest.er1
64888   ac_status=$?
64889   grep -v '^ *+' conftest.er1 >conftest.err
64890   rm -f conftest.er1
64891   cat conftest.err >&5
64892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893   (exit $ac_status); } &&
64894          { ac_try='test -z "$ac_c_werror_flag"
64895                          || test ! -s conftest.err'
64896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64897   (eval $ac_try) 2>&5
64898   ac_status=$?
64899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64900   (exit $ac_status); }; } &&
64901          { ac_try='test -s conftest$ac_exeext'
64902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64903   (eval $ac_try) 2>&5
64904   ac_status=$?
64905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906   (exit $ac_status); }; }; then
64907   eval "$as_ac_var=yes"
64908 else
64909   echo "$as_me: failed program was:" >&5
64910 sed 's/^/| /' conftest.$ac_ext >&5
64911
64912 eval "$as_ac_var=no"
64913 fi
64914 rm -f conftest.err conftest.$ac_objext \
64915       conftest$ac_exeext conftest.$ac_ext
64916 fi
64917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64919 if test `eval echo '${'$as_ac_var'}'` = yes; then
64920   cat >>confdefs.h <<_ACEOF
64921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64922 _ACEOF
64923
64924 fi
64925 done
64926
64927     fi
64928   fi
64929
64930
64931
64932
64933
64934
64935
64936
64937
64938
64939
64940
64941
64942
64943     echo "$as_me:$LINENO: checking for long double round functions" >&5
64944 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64945   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64946   echo $ECHO_N "(cached) $ECHO_C" >&6
64947 else
64948
64949
64950
64951     ac_ext=cc
64952 ac_cpp='$CXXCPP $CPPFLAGS'
64953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64956
64957     cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h.  */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h.  */
64963 #include <math.h>
64964 int
64965 main ()
64966 {
64967 ceill (0); floorl (0);
64968   ;
64969   return 0;
64970 }
64971 _ACEOF
64972 rm -f conftest.$ac_objext
64973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64974   (eval $ac_compile) 2>conftest.er1
64975   ac_status=$?
64976   grep -v '^ *+' conftest.er1 >conftest.err
64977   rm -f conftest.er1
64978   cat conftest.err >&5
64979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64980   (exit $ac_status); } &&
64981          { ac_try='test -z "$ac_cxx_werror_flag"
64982                          || test ! -s conftest.err'
64983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64984   (eval $ac_try) 2>&5
64985   ac_status=$?
64986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64987   (exit $ac_status); }; } &&
64988          { ac_try='test -s conftest.$ac_objext'
64989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64990   (eval $ac_try) 2>&5
64991   ac_status=$?
64992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64993   (exit $ac_status); }; }; then
64994   glibcxx_cv_func_long_double_round_use=yes
64995 else
64996   echo "$as_me: failed program was:" >&5
64997 sed 's/^/| /' conftest.$ac_ext >&5
64998
64999 glibcxx_cv_func_long_double_round_use=no
65000 fi
65001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65002     ac_ext=c
65003 ac_cpp='$CPP $CPPFLAGS'
65004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65007
65008 fi
65009
65010   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65011 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65012   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65013
65014
65015 for ac_func in ceill floorl
65016 do
65017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65018 echo "$as_me:$LINENO: checking for $ac_func" >&5
65019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65020 if eval "test \"\${$as_ac_var+set}\" = set"; then
65021   echo $ECHO_N "(cached) $ECHO_C" >&6
65022 else
65023   if test x$gcc_no_link = xyes; then
65024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65026    { (exit 1); exit 1; }; }
65027 fi
65028 cat >conftest.$ac_ext <<_ACEOF
65029 /* confdefs.h.  */
65030 _ACEOF
65031 cat confdefs.h >>conftest.$ac_ext
65032 cat >>conftest.$ac_ext <<_ACEOF
65033 /* end confdefs.h.  */
65034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65036 #define $ac_func innocuous_$ac_func
65037
65038 /* System header to define __stub macros and hopefully few prototypes,
65039     which can conflict with char $ac_func (); below.
65040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65041     <limits.h> exists even on freestanding compilers.  */
65042
65043 #ifdef __STDC__
65044 # include <limits.h>
65045 #else
65046 # include <assert.h>
65047 #endif
65048
65049 #undef $ac_func
65050
65051 /* Override any gcc2 internal prototype to avoid an error.  */
65052 #ifdef __cplusplus
65053 extern "C"
65054 {
65055 #endif
65056 /* We use char because int might match the return type of a gcc2
65057    builtin and then its argument prototype would still apply.  */
65058 char $ac_func ();
65059 /* The GNU C library defines this for functions which it implements
65060     to always fail with ENOSYS.  Some functions are actually named
65061     something starting with __ and the normal name is an alias.  */
65062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65063 choke me
65064 #else
65065 char (*f) () = $ac_func;
65066 #endif
65067 #ifdef __cplusplus
65068 }
65069 #endif
65070
65071 int
65072 main ()
65073 {
65074 return f != $ac_func;
65075   ;
65076   return 0;
65077 }
65078 _ACEOF
65079 rm -f conftest.$ac_objext conftest$ac_exeext
65080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65081   (eval $ac_link) 2>conftest.er1
65082   ac_status=$?
65083   grep -v '^ *+' conftest.er1 >conftest.err
65084   rm -f conftest.er1
65085   cat conftest.err >&5
65086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65087   (exit $ac_status); } &&
65088          { ac_try='test -z "$ac_c_werror_flag"
65089                          || test ! -s conftest.err'
65090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65091   (eval $ac_try) 2>&5
65092   ac_status=$?
65093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65094   (exit $ac_status); }; } &&
65095          { ac_try='test -s conftest$ac_exeext'
65096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65097   (eval $ac_try) 2>&5
65098   ac_status=$?
65099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100   (exit $ac_status); }; }; then
65101   eval "$as_ac_var=yes"
65102 else
65103   echo "$as_me: failed program was:" >&5
65104 sed 's/^/| /' conftest.$ac_ext >&5
65105
65106 eval "$as_ac_var=no"
65107 fi
65108 rm -f conftest.err conftest.$ac_objext \
65109       conftest$ac_exeext conftest.$ac_ext
65110 fi
65111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65113 if test `eval echo '${'$as_ac_var'}'` = yes; then
65114   cat >>confdefs.h <<_ACEOF
65115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65116 _ACEOF
65117
65118 fi
65119 done
65120
65121   else
65122     echo "$as_me:$LINENO: checking for _long double round functions" >&5
65123 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65124     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65125   echo $ECHO_N "(cached) $ECHO_C" >&6
65126 else
65127
65128
65129
65130       ac_ext=cc
65131 ac_cpp='$CXXCPP $CPPFLAGS'
65132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65135
65136       cat >conftest.$ac_ext <<_ACEOF
65137 /* confdefs.h.  */
65138 _ACEOF
65139 cat confdefs.h >>conftest.$ac_ext
65140 cat >>conftest.$ac_ext <<_ACEOF
65141 /* end confdefs.h.  */
65142 #include <math.h>
65143 int
65144 main ()
65145 {
65146 _ceill (0); _floorl (0);
65147   ;
65148   return 0;
65149 }
65150 _ACEOF
65151 rm -f conftest.$ac_objext
65152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65153   (eval $ac_compile) 2>conftest.er1
65154   ac_status=$?
65155   grep -v '^ *+' conftest.er1 >conftest.err
65156   rm -f conftest.er1
65157   cat conftest.err >&5
65158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65159   (exit $ac_status); } &&
65160          { ac_try='test -z "$ac_cxx_werror_flag"
65161                          || test ! -s conftest.err'
65162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65163   (eval $ac_try) 2>&5
65164   ac_status=$?
65165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65166   (exit $ac_status); }; } &&
65167          { ac_try='test -s conftest.$ac_objext'
65168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65169   (eval $ac_try) 2>&5
65170   ac_status=$?
65171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65172   (exit $ac_status); }; }; then
65173   glibcxx_cv_func__long_double_round_use=yes
65174 else
65175   echo "$as_me: failed program was:" >&5
65176 sed 's/^/| /' conftest.$ac_ext >&5
65177
65178 glibcxx_cv_func__long_double_round_use=no
65179 fi
65180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65181       ac_ext=c
65182 ac_cpp='$CPP $CPPFLAGS'
65183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65186
65187 fi
65188
65189     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65190 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65191     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65192
65193
65194 for ac_func in _ceill _floorl
65195 do
65196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65197 echo "$as_me:$LINENO: checking for $ac_func" >&5
65198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65199 if eval "test \"\${$as_ac_var+set}\" = set"; then
65200   echo $ECHO_N "(cached) $ECHO_C" >&6
65201 else
65202   if test x$gcc_no_link = xyes; then
65203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65205    { (exit 1); exit 1; }; }
65206 fi
65207 cat >conftest.$ac_ext <<_ACEOF
65208 /* confdefs.h.  */
65209 _ACEOF
65210 cat confdefs.h >>conftest.$ac_ext
65211 cat >>conftest.$ac_ext <<_ACEOF
65212 /* end confdefs.h.  */
65213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65215 #define $ac_func innocuous_$ac_func
65216
65217 /* System header to define __stub macros and hopefully few prototypes,
65218     which can conflict with char $ac_func (); below.
65219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65220     <limits.h> exists even on freestanding compilers.  */
65221
65222 #ifdef __STDC__
65223 # include <limits.h>
65224 #else
65225 # include <assert.h>
65226 #endif
65227
65228 #undef $ac_func
65229
65230 /* Override any gcc2 internal prototype to avoid an error.  */
65231 #ifdef __cplusplus
65232 extern "C"
65233 {
65234 #endif
65235 /* We use char because int might match the return type of a gcc2
65236    builtin and then its argument prototype would still apply.  */
65237 char $ac_func ();
65238 /* The GNU C library defines this for functions which it implements
65239     to always fail with ENOSYS.  Some functions are actually named
65240     something starting with __ and the normal name is an alias.  */
65241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65242 choke me
65243 #else
65244 char (*f) () = $ac_func;
65245 #endif
65246 #ifdef __cplusplus
65247 }
65248 #endif
65249
65250 int
65251 main ()
65252 {
65253 return f != $ac_func;
65254   ;
65255   return 0;
65256 }
65257 _ACEOF
65258 rm -f conftest.$ac_objext conftest$ac_exeext
65259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65260   (eval $ac_link) 2>conftest.er1
65261   ac_status=$?
65262   grep -v '^ *+' conftest.er1 >conftest.err
65263   rm -f conftest.er1
65264   cat conftest.err >&5
65265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65266   (exit $ac_status); } &&
65267          { ac_try='test -z "$ac_c_werror_flag"
65268                          || test ! -s conftest.err'
65269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65270   (eval $ac_try) 2>&5
65271   ac_status=$?
65272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65273   (exit $ac_status); }; } &&
65274          { ac_try='test -s conftest$ac_exeext'
65275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65276   (eval $ac_try) 2>&5
65277   ac_status=$?
65278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65279   (exit $ac_status); }; }; then
65280   eval "$as_ac_var=yes"
65281 else
65282   echo "$as_me: failed program was:" >&5
65283 sed 's/^/| /' conftest.$ac_ext >&5
65284
65285 eval "$as_ac_var=no"
65286 fi
65287 rm -f conftest.err conftest.$ac_objext \
65288       conftest$ac_exeext conftest.$ac_ext
65289 fi
65290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65292 if test `eval echo '${'$as_ac_var'}'` = yes; then
65293   cat >>confdefs.h <<_ACEOF
65294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65295 _ACEOF
65296
65297 fi
65298 done
65299
65300     fi
65301   fi
65302
65303
65304
65305
65306
65307
65308
65309
65310   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65311 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65312   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65313     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65314   echo $ECHO_N "(cached) $ECHO_C" >&6
65315 else
65316
65317
65318
65319       ac_ext=cc
65320 ac_cpp='$CXXCPP $CPPFLAGS'
65321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65324
65325       cat >conftest.$ac_ext <<_ACEOF
65326 /* confdefs.h.  */
65327 _ACEOF
65328 cat confdefs.h >>conftest.$ac_ext
65329 cat >>conftest.$ac_ext <<_ACEOF
65330 /* end confdefs.h.  */
65331 #include <math.h>
65332                       #ifdef HAVE_IEEEFP_H
65333                       #include <ieeefp.h>
65334                       #endif
65335
65336 int
65337 main ()
65338 {
65339  isnanl(0);
65340   ;
65341   return 0;
65342 }
65343 _ACEOF
65344 rm -f conftest.$ac_objext
65345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65346   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_isnanl_use=yes
65367 else
65368   echo "$as_me: failed program was:" >&5
65369 sed 's/^/| /' conftest.$ac_ext >&5
65370
65371 glibcxx_cv_func_isnanl_use=no
65372 fi
65373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65374       ac_ext=c
65375 ac_cpp='$CPP $CPPFLAGS'
65376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65379
65380
65381 fi
65382
65383   fi
65384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65385 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65386
65387   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65388
65389 for ac_func in isnanl
65390 do
65391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65392 echo "$as_me:$LINENO: checking for $ac_func" >&5
65393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65394 if eval "test \"\${$as_ac_var+set}\" = set"; then
65395   echo $ECHO_N "(cached) $ECHO_C" >&6
65396 else
65397   if test x$gcc_no_link = xyes; then
65398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65400    { (exit 1); exit 1; }; }
65401 fi
65402 cat >conftest.$ac_ext <<_ACEOF
65403 /* confdefs.h.  */
65404 _ACEOF
65405 cat confdefs.h >>conftest.$ac_ext
65406 cat >>conftest.$ac_ext <<_ACEOF
65407 /* end confdefs.h.  */
65408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65410 #define $ac_func innocuous_$ac_func
65411
65412 /* System header to define __stub macros and hopefully few prototypes,
65413     which can conflict with char $ac_func (); below.
65414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65415     <limits.h> exists even on freestanding compilers.  */
65416
65417 #ifdef __STDC__
65418 # include <limits.h>
65419 #else
65420 # include <assert.h>
65421 #endif
65422
65423 #undef $ac_func
65424
65425 /* Override any gcc2 internal prototype to avoid an error.  */
65426 #ifdef __cplusplus
65427 extern "C"
65428 {
65429 #endif
65430 /* We use char because int might match the return type of a gcc2
65431    builtin and then its argument prototype would still apply.  */
65432 char $ac_func ();
65433 /* The GNU C library defines this for functions which it implements
65434     to always fail with ENOSYS.  Some functions are actually named
65435     something starting with __ and the normal name is an alias.  */
65436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65437 choke me
65438 #else
65439 char (*f) () = $ac_func;
65440 #endif
65441 #ifdef __cplusplus
65442 }
65443 #endif
65444
65445 int
65446 main ()
65447 {
65448 return f != $ac_func;
65449   ;
65450   return 0;
65451 }
65452 _ACEOF
65453 rm -f conftest.$ac_objext conftest$ac_exeext
65454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65455   (eval $ac_link) 2>conftest.er1
65456   ac_status=$?
65457   grep -v '^ *+' conftest.er1 >conftest.err
65458   rm -f conftest.er1
65459   cat conftest.err >&5
65460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65461   (exit $ac_status); } &&
65462          { ac_try='test -z "$ac_c_werror_flag"
65463                          || test ! -s conftest.err'
65464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65465   (eval $ac_try) 2>&5
65466   ac_status=$?
65467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65468   (exit $ac_status); }; } &&
65469          { ac_try='test -s conftest$ac_exeext'
65470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65471   (eval $ac_try) 2>&5
65472   ac_status=$?
65473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65474   (exit $ac_status); }; }; then
65475   eval "$as_ac_var=yes"
65476 else
65477   echo "$as_me: failed program was:" >&5
65478 sed 's/^/| /' conftest.$ac_ext >&5
65479
65480 eval "$as_ac_var=no"
65481 fi
65482 rm -f conftest.err conftest.$ac_objext \
65483       conftest$ac_exeext conftest.$ac_ext
65484 fi
65485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65487 if test `eval echo '${'$as_ac_var'}'` = yes; then
65488   cat >>confdefs.h <<_ACEOF
65489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65490 _ACEOF
65491
65492 fi
65493 done
65494
65495   else
65496
65497   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65498 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65499   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65500     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65501   echo $ECHO_N "(cached) $ECHO_C" >&6
65502 else
65503
65504
65505
65506       ac_ext=cc
65507 ac_cpp='$CXXCPP $CPPFLAGS'
65508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65511
65512       cat >conftest.$ac_ext <<_ACEOF
65513 /* confdefs.h.  */
65514 _ACEOF
65515 cat confdefs.h >>conftest.$ac_ext
65516 cat >>conftest.$ac_ext <<_ACEOF
65517 /* end confdefs.h.  */
65518 #include <math.h>
65519                       #ifdef HAVE_IEEEFP_H
65520                       #include <ieeefp.h>
65521                       #endif
65522
65523 int
65524 main ()
65525 {
65526  _isnanl(0);
65527   ;
65528   return 0;
65529 }
65530 _ACEOF
65531 rm -f conftest.$ac_objext
65532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65533   (eval $ac_compile) 2>conftest.er1
65534   ac_status=$?
65535   grep -v '^ *+' conftest.er1 >conftest.err
65536   rm -f conftest.er1
65537   cat conftest.err >&5
65538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65539   (exit $ac_status); } &&
65540          { ac_try='test -z "$ac_cxx_werror_flag"
65541                          || test ! -s conftest.err'
65542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65543   (eval $ac_try) 2>&5
65544   ac_status=$?
65545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65546   (exit $ac_status); }; } &&
65547          { ac_try='test -s conftest.$ac_objext'
65548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65549   (eval $ac_try) 2>&5
65550   ac_status=$?
65551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65552   (exit $ac_status); }; }; then
65553   glibcxx_cv_func__isnanl_use=yes
65554 else
65555   echo "$as_me: failed program was:" >&5
65556 sed 's/^/| /' conftest.$ac_ext >&5
65557
65558 glibcxx_cv_func__isnanl_use=no
65559 fi
65560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65561       ac_ext=c
65562 ac_cpp='$CPP $CPPFLAGS'
65563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65566
65567
65568 fi
65569
65570   fi
65571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65572 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65573
65574     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65575
65576 for ac_func in _isnanl
65577 do
65578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65579 echo "$as_me:$LINENO: checking for $ac_func" >&5
65580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65581 if eval "test \"\${$as_ac_var+set}\" = set"; then
65582   echo $ECHO_N "(cached) $ECHO_C" >&6
65583 else
65584   if test x$gcc_no_link = xyes; then
65585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65587    { (exit 1); exit 1; }; }
65588 fi
65589 cat >conftest.$ac_ext <<_ACEOF
65590 /* confdefs.h.  */
65591 _ACEOF
65592 cat confdefs.h >>conftest.$ac_ext
65593 cat >>conftest.$ac_ext <<_ACEOF
65594 /* end confdefs.h.  */
65595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65597 #define $ac_func innocuous_$ac_func
65598
65599 /* System header to define __stub macros and hopefully few prototypes,
65600     which can conflict with char $ac_func (); below.
65601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65602     <limits.h> exists even on freestanding compilers.  */
65603
65604 #ifdef __STDC__
65605 # include <limits.h>
65606 #else
65607 # include <assert.h>
65608 #endif
65609
65610 #undef $ac_func
65611
65612 /* Override any gcc2 internal prototype to avoid an error.  */
65613 #ifdef __cplusplus
65614 extern "C"
65615 {
65616 #endif
65617 /* We use char because int might match the return type of a gcc2
65618    builtin and then its argument prototype would still apply.  */
65619 char $ac_func ();
65620 /* The GNU C library defines this for functions which it implements
65621     to always fail with ENOSYS.  Some functions are actually named
65622     something starting with __ and the normal name is an alias.  */
65623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65624 choke me
65625 #else
65626 char (*f) () = $ac_func;
65627 #endif
65628 #ifdef __cplusplus
65629 }
65630 #endif
65631
65632 int
65633 main ()
65634 {
65635 return f != $ac_func;
65636   ;
65637   return 0;
65638 }
65639 _ACEOF
65640 rm -f conftest.$ac_objext conftest$ac_exeext
65641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65642   (eval $ac_link) 2>conftest.er1
65643   ac_status=$?
65644   grep -v '^ *+' conftest.er1 >conftest.err
65645   rm -f conftest.er1
65646   cat conftest.err >&5
65647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65648   (exit $ac_status); } &&
65649          { ac_try='test -z "$ac_c_werror_flag"
65650                          || test ! -s conftest.err'
65651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65652   (eval $ac_try) 2>&5
65653   ac_status=$?
65654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65655   (exit $ac_status); }; } &&
65656          { ac_try='test -s conftest$ac_exeext'
65657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65658   (eval $ac_try) 2>&5
65659   ac_status=$?
65660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65661   (exit $ac_status); }; }; then
65662   eval "$as_ac_var=yes"
65663 else
65664   echo "$as_me: failed program was:" >&5
65665 sed 's/^/| /' conftest.$ac_ext >&5
65666
65667 eval "$as_ac_var=no"
65668 fi
65669 rm -f conftest.err conftest.$ac_objext \
65670       conftest$ac_exeext conftest.$ac_ext
65671 fi
65672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65674 if test `eval echo '${'$as_ac_var'}'` = yes; then
65675   cat >>confdefs.h <<_ACEOF
65676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65677 _ACEOF
65678
65679 fi
65680 done
65681
65682     fi
65683   fi
65684
65685
65686
65687
65688
65689
65690   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65691 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65692   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65693     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65694   echo $ECHO_N "(cached) $ECHO_C" >&6
65695 else
65696
65697
65698
65699       ac_ext=cc
65700 ac_cpp='$CXXCPP $CPPFLAGS'
65701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65704
65705       cat >conftest.$ac_ext <<_ACEOF
65706 /* confdefs.h.  */
65707 _ACEOF
65708 cat confdefs.h >>conftest.$ac_ext
65709 cat >>conftest.$ac_ext <<_ACEOF
65710 /* end confdefs.h.  */
65711 #include <math.h>
65712                       #ifdef HAVE_IEEEFP_H
65713                       #include <ieeefp.h>
65714                       #endif
65715
65716 int
65717 main ()
65718 {
65719  isinfl(0);
65720   ;
65721   return 0;
65722 }
65723 _ACEOF
65724 rm -f conftest.$ac_objext
65725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65726   (eval $ac_compile) 2>conftest.er1
65727   ac_status=$?
65728   grep -v '^ *+' conftest.er1 >conftest.err
65729   rm -f conftest.er1
65730   cat conftest.err >&5
65731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65732   (exit $ac_status); } &&
65733          { ac_try='test -z "$ac_cxx_werror_flag"
65734                          || test ! -s conftest.err'
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); }; } &&
65740          { ac_try='test -s conftest.$ac_objext'
65741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65742   (eval $ac_try) 2>&5
65743   ac_status=$?
65744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65745   (exit $ac_status); }; }; then
65746   glibcxx_cv_func_isinfl_use=yes
65747 else
65748   echo "$as_me: failed program was:" >&5
65749 sed 's/^/| /' conftest.$ac_ext >&5
65750
65751 glibcxx_cv_func_isinfl_use=no
65752 fi
65753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65754       ac_ext=c
65755 ac_cpp='$CPP $CPPFLAGS'
65756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65759
65760
65761 fi
65762
65763   fi
65764   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65765 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65766
65767   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65768
65769 for ac_func in isinfl
65770 do
65771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65772 echo "$as_me:$LINENO: checking for $ac_func" >&5
65773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65774 if eval "test \"\${$as_ac_var+set}\" = set"; then
65775   echo $ECHO_N "(cached) $ECHO_C" >&6
65776 else
65777   if test x$gcc_no_link = xyes; then
65778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65780    { (exit 1); exit 1; }; }
65781 fi
65782 cat >conftest.$ac_ext <<_ACEOF
65783 /* confdefs.h.  */
65784 _ACEOF
65785 cat confdefs.h >>conftest.$ac_ext
65786 cat >>conftest.$ac_ext <<_ACEOF
65787 /* end confdefs.h.  */
65788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65790 #define $ac_func innocuous_$ac_func
65791
65792 /* System header to define __stub macros and hopefully few prototypes,
65793     which can conflict with char $ac_func (); below.
65794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65795     <limits.h> exists even on freestanding compilers.  */
65796
65797 #ifdef __STDC__
65798 # include <limits.h>
65799 #else
65800 # include <assert.h>
65801 #endif
65802
65803 #undef $ac_func
65804
65805 /* Override any gcc2 internal prototype to avoid an error.  */
65806 #ifdef __cplusplus
65807 extern "C"
65808 {
65809 #endif
65810 /* We use char because int might match the return type of a gcc2
65811    builtin and then its argument prototype would still apply.  */
65812 char $ac_func ();
65813 /* The GNU C library defines this for functions which it implements
65814     to always fail with ENOSYS.  Some functions are actually named
65815     something starting with __ and the normal name is an alias.  */
65816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65817 choke me
65818 #else
65819 char (*f) () = $ac_func;
65820 #endif
65821 #ifdef __cplusplus
65822 }
65823 #endif
65824
65825 int
65826 main ()
65827 {
65828 return f != $ac_func;
65829   ;
65830   return 0;
65831 }
65832 _ACEOF
65833 rm -f conftest.$ac_objext conftest$ac_exeext
65834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65835   (eval $ac_link) 2>conftest.er1
65836   ac_status=$?
65837   grep -v '^ *+' conftest.er1 >conftest.err
65838   rm -f conftest.er1
65839   cat conftest.err >&5
65840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65841   (exit $ac_status); } &&
65842          { ac_try='test -z "$ac_c_werror_flag"
65843                          || test ! -s conftest.err'
65844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65845   (eval $ac_try) 2>&5
65846   ac_status=$?
65847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65848   (exit $ac_status); }; } &&
65849          { ac_try='test -s conftest$ac_exeext'
65850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65851   (eval $ac_try) 2>&5
65852   ac_status=$?
65853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65854   (exit $ac_status); }; }; then
65855   eval "$as_ac_var=yes"
65856 else
65857   echo "$as_me: failed program was:" >&5
65858 sed 's/^/| /' conftest.$ac_ext >&5
65859
65860 eval "$as_ac_var=no"
65861 fi
65862 rm -f conftest.err conftest.$ac_objext \
65863       conftest$ac_exeext conftest.$ac_ext
65864 fi
65865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65867 if test `eval echo '${'$as_ac_var'}'` = yes; then
65868   cat >>confdefs.h <<_ACEOF
65869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65870 _ACEOF
65871
65872 fi
65873 done
65874
65875   else
65876
65877   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65878 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65879   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65880     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65881   echo $ECHO_N "(cached) $ECHO_C" >&6
65882 else
65883
65884
65885
65886       ac_ext=cc
65887 ac_cpp='$CXXCPP $CPPFLAGS'
65888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65891
65892       cat >conftest.$ac_ext <<_ACEOF
65893 /* confdefs.h.  */
65894 _ACEOF
65895 cat confdefs.h >>conftest.$ac_ext
65896 cat >>conftest.$ac_ext <<_ACEOF
65897 /* end confdefs.h.  */
65898 #include <math.h>
65899                       #ifdef HAVE_IEEEFP_H
65900                       #include <ieeefp.h>
65901                       #endif
65902
65903 int
65904 main ()
65905 {
65906  _isinfl(0);
65907   ;
65908   return 0;
65909 }
65910 _ACEOF
65911 rm -f conftest.$ac_objext
65912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65913   (eval $ac_compile) 2>conftest.er1
65914   ac_status=$?
65915   grep -v '^ *+' conftest.er1 >conftest.err
65916   rm -f conftest.er1
65917   cat conftest.err >&5
65918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65919   (exit $ac_status); } &&
65920          { ac_try='test -z "$ac_cxx_werror_flag"
65921                          || test ! -s conftest.err'
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); }; } &&
65927          { ac_try='test -s conftest.$ac_objext'
65928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65929   (eval $ac_try) 2>&5
65930   ac_status=$?
65931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65932   (exit $ac_status); }; }; then
65933   glibcxx_cv_func__isinfl_use=yes
65934 else
65935   echo "$as_me: failed program was:" >&5
65936 sed 's/^/| /' conftest.$ac_ext >&5
65937
65938 glibcxx_cv_func__isinfl_use=no
65939 fi
65940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65941       ac_ext=c
65942 ac_cpp='$CPP $CPPFLAGS'
65943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65946
65947
65948 fi
65949
65950   fi
65951   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65952 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65953
65954     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65955
65956 for ac_func in _isinfl
65957 do
65958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65959 echo "$as_me:$LINENO: checking for $ac_func" >&5
65960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65961 if eval "test \"\${$as_ac_var+set}\" = set"; then
65962   echo $ECHO_N "(cached) $ECHO_C" >&6
65963 else
65964   if test x$gcc_no_link = xyes; then
65965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65967    { (exit 1); exit 1; }; }
65968 fi
65969 cat >conftest.$ac_ext <<_ACEOF
65970 /* confdefs.h.  */
65971 _ACEOF
65972 cat confdefs.h >>conftest.$ac_ext
65973 cat >>conftest.$ac_ext <<_ACEOF
65974 /* end confdefs.h.  */
65975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65977 #define $ac_func innocuous_$ac_func
65978
65979 /* System header to define __stub macros and hopefully few prototypes,
65980     which can conflict with char $ac_func (); below.
65981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65982     <limits.h> exists even on freestanding compilers.  */
65983
65984 #ifdef __STDC__
65985 # include <limits.h>
65986 #else
65987 # include <assert.h>
65988 #endif
65989
65990 #undef $ac_func
65991
65992 /* Override any gcc2 internal prototype to avoid an error.  */
65993 #ifdef __cplusplus
65994 extern "C"
65995 {
65996 #endif
65997 /* We use char because int might match the return type of a gcc2
65998    builtin and then its argument prototype would still apply.  */
65999 char $ac_func ();
66000 /* The GNU C library defines this for functions which it implements
66001     to always fail with ENOSYS.  Some functions are actually named
66002     something starting with __ and the normal name is an alias.  */
66003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66004 choke me
66005 #else
66006 char (*f) () = $ac_func;
66007 #endif
66008 #ifdef __cplusplus
66009 }
66010 #endif
66011
66012 int
66013 main ()
66014 {
66015 return f != $ac_func;
66016   ;
66017   return 0;
66018 }
66019 _ACEOF
66020 rm -f conftest.$ac_objext conftest$ac_exeext
66021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66022   (eval $ac_link) 2>conftest.er1
66023   ac_status=$?
66024   grep -v '^ *+' conftest.er1 >conftest.err
66025   rm -f conftest.er1
66026   cat conftest.err >&5
66027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66028   (exit $ac_status); } &&
66029          { ac_try='test -z "$ac_c_werror_flag"
66030                          || test ! -s conftest.err'
66031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66032   (eval $ac_try) 2>&5
66033   ac_status=$?
66034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66035   (exit $ac_status); }; } &&
66036          { ac_try='test -s conftest$ac_exeext'
66037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66038   (eval $ac_try) 2>&5
66039   ac_status=$?
66040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66041   (exit $ac_status); }; }; then
66042   eval "$as_ac_var=yes"
66043 else
66044   echo "$as_me: failed program was:" >&5
66045 sed 's/^/| /' conftest.$ac_ext >&5
66046
66047 eval "$as_ac_var=no"
66048 fi
66049 rm -f conftest.err conftest.$ac_objext \
66050       conftest$ac_exeext conftest.$ac_ext
66051 fi
66052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66054 if test `eval echo '${'$as_ac_var'}'` = yes; then
66055   cat >>confdefs.h <<_ACEOF
66056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66057 _ACEOF
66058
66059 fi
66060 done
66061
66062     fi
66063   fi
66064
66065
66066
66067
66068
66069
66070   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66071 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66072   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66073     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66074   echo $ECHO_N "(cached) $ECHO_C" >&6
66075 else
66076
66077
66078
66079       ac_ext=cc
66080 ac_cpp='$CXXCPP $CPPFLAGS'
66081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66084
66085       cat >conftest.$ac_ext <<_ACEOF
66086 /* confdefs.h.  */
66087 _ACEOF
66088 cat confdefs.h >>conftest.$ac_ext
66089 cat >>conftest.$ac_ext <<_ACEOF
66090 /* end confdefs.h.  */
66091 #include <math.h>
66092 int
66093 main ()
66094 {
66095  copysignl(0, 0);
66096   ;
66097   return 0;
66098 }
66099 _ACEOF
66100 rm -f conftest.$ac_objext
66101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66102   (eval $ac_compile) 2>conftest.er1
66103   ac_status=$?
66104   grep -v '^ *+' conftest.er1 >conftest.err
66105   rm -f conftest.er1
66106   cat conftest.err >&5
66107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108   (exit $ac_status); } &&
66109          { ac_try='test -z "$ac_cxx_werror_flag"
66110                          || test ! -s conftest.err'
66111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66112   (eval $ac_try) 2>&5
66113   ac_status=$?
66114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66115   (exit $ac_status); }; } &&
66116          { ac_try='test -s conftest.$ac_objext'
66117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66118   (eval $ac_try) 2>&5
66119   ac_status=$?
66120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66121   (exit $ac_status); }; }; then
66122   glibcxx_cv_func_copysignl_use=yes
66123 else
66124   echo "$as_me: failed program was:" >&5
66125 sed 's/^/| /' conftest.$ac_ext >&5
66126
66127 glibcxx_cv_func_copysignl_use=no
66128 fi
66129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66130       ac_ext=c
66131 ac_cpp='$CPP $CPPFLAGS'
66132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66135
66136
66137 fi
66138
66139   fi
66140   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66141 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66142
66143   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66144
66145 for ac_func in copysignl
66146 do
66147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66148 echo "$as_me:$LINENO: checking for $ac_func" >&5
66149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66150 if eval "test \"\${$as_ac_var+set}\" = set"; then
66151   echo $ECHO_N "(cached) $ECHO_C" >&6
66152 else
66153   if test x$gcc_no_link = xyes; then
66154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66156    { (exit 1); exit 1; }; }
66157 fi
66158 cat >conftest.$ac_ext <<_ACEOF
66159 /* confdefs.h.  */
66160 _ACEOF
66161 cat confdefs.h >>conftest.$ac_ext
66162 cat >>conftest.$ac_ext <<_ACEOF
66163 /* end confdefs.h.  */
66164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66165    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66166 #define $ac_func innocuous_$ac_func
66167
66168 /* System header to define __stub macros and hopefully few prototypes,
66169     which can conflict with char $ac_func (); below.
66170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66171     <limits.h> exists even on freestanding compilers.  */
66172
66173 #ifdef __STDC__
66174 # include <limits.h>
66175 #else
66176 # include <assert.h>
66177 #endif
66178
66179 #undef $ac_func
66180
66181 /* Override any gcc2 internal prototype to avoid an error.  */
66182 #ifdef __cplusplus
66183 extern "C"
66184 {
66185 #endif
66186 /* We use char because int might match the return type of a gcc2
66187    builtin and then its argument prototype would still apply.  */
66188 char $ac_func ();
66189 /* The GNU C library defines this for functions which it implements
66190     to always fail with ENOSYS.  Some functions are actually named
66191     something starting with __ and the normal name is an alias.  */
66192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66193 choke me
66194 #else
66195 char (*f) () = $ac_func;
66196 #endif
66197 #ifdef __cplusplus
66198 }
66199 #endif
66200
66201 int
66202 main ()
66203 {
66204 return f != $ac_func;
66205   ;
66206   return 0;
66207 }
66208 _ACEOF
66209 rm -f conftest.$ac_objext conftest$ac_exeext
66210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66211   (eval $ac_link) 2>conftest.er1
66212   ac_status=$?
66213   grep -v '^ *+' conftest.er1 >conftest.err
66214   rm -f conftest.er1
66215   cat conftest.err >&5
66216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66217   (exit $ac_status); } &&
66218          { ac_try='test -z "$ac_c_werror_flag"
66219                          || test ! -s conftest.err'
66220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66221   (eval $ac_try) 2>&5
66222   ac_status=$?
66223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66224   (exit $ac_status); }; } &&
66225          { ac_try='test -s conftest$ac_exeext'
66226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66227   (eval $ac_try) 2>&5
66228   ac_status=$?
66229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66230   (exit $ac_status); }; }; then
66231   eval "$as_ac_var=yes"
66232 else
66233   echo "$as_me: failed program was:" >&5
66234 sed 's/^/| /' conftest.$ac_ext >&5
66235
66236 eval "$as_ac_var=no"
66237 fi
66238 rm -f conftest.err conftest.$ac_objext \
66239       conftest$ac_exeext conftest.$ac_ext
66240 fi
66241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66243 if test `eval echo '${'$as_ac_var'}'` = yes; then
66244   cat >>confdefs.h <<_ACEOF
66245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66246 _ACEOF
66247
66248 fi
66249 done
66250
66251   else
66252
66253   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66254 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66255   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66256     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66257   echo $ECHO_N "(cached) $ECHO_C" >&6
66258 else
66259
66260
66261
66262       ac_ext=cc
66263 ac_cpp='$CXXCPP $CPPFLAGS'
66264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66267
66268       cat >conftest.$ac_ext <<_ACEOF
66269 /* confdefs.h.  */
66270 _ACEOF
66271 cat confdefs.h >>conftest.$ac_ext
66272 cat >>conftest.$ac_ext <<_ACEOF
66273 /* end confdefs.h.  */
66274 #include <math.h>
66275 int
66276 main ()
66277 {
66278  _copysignl(0, 0);
66279   ;
66280   return 0;
66281 }
66282 _ACEOF
66283 rm -f conftest.$ac_objext
66284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66285   (eval $ac_compile) 2>conftest.er1
66286   ac_status=$?
66287   grep -v '^ *+' conftest.er1 >conftest.err
66288   rm -f conftest.er1
66289   cat conftest.err >&5
66290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66291   (exit $ac_status); } &&
66292          { ac_try='test -z "$ac_cxx_werror_flag"
66293                          || test ! -s conftest.err'
66294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66295   (eval $ac_try) 2>&5
66296   ac_status=$?
66297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66298   (exit $ac_status); }; } &&
66299          { ac_try='test -s conftest.$ac_objext'
66300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66301   (eval $ac_try) 2>&5
66302   ac_status=$?
66303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66304   (exit $ac_status); }; }; then
66305   glibcxx_cv_func__copysignl_use=yes
66306 else
66307   echo "$as_me: failed program was:" >&5
66308 sed 's/^/| /' conftest.$ac_ext >&5
66309
66310 glibcxx_cv_func__copysignl_use=no
66311 fi
66312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66313       ac_ext=c
66314 ac_cpp='$CPP $CPPFLAGS'
66315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66318
66319
66320 fi
66321
66322   fi
66323   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66324 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66325
66326     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66327
66328 for ac_func in _copysignl
66329 do
66330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66331 echo "$as_me:$LINENO: checking for $ac_func" >&5
66332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66333 if eval "test \"\${$as_ac_var+set}\" = set"; then
66334   echo $ECHO_N "(cached) $ECHO_C" >&6
66335 else
66336   if test x$gcc_no_link = xyes; then
66337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66339    { (exit 1); exit 1; }; }
66340 fi
66341 cat >conftest.$ac_ext <<_ACEOF
66342 /* confdefs.h.  */
66343 _ACEOF
66344 cat confdefs.h >>conftest.$ac_ext
66345 cat >>conftest.$ac_ext <<_ACEOF
66346 /* end confdefs.h.  */
66347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66349 #define $ac_func innocuous_$ac_func
66350
66351 /* System header to define __stub macros and hopefully few prototypes,
66352     which can conflict with char $ac_func (); below.
66353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66354     <limits.h> exists even on freestanding compilers.  */
66355
66356 #ifdef __STDC__
66357 # include <limits.h>
66358 #else
66359 # include <assert.h>
66360 #endif
66361
66362 #undef $ac_func
66363
66364 /* Override any gcc2 internal prototype to avoid an error.  */
66365 #ifdef __cplusplus
66366 extern "C"
66367 {
66368 #endif
66369 /* We use char because int might match the return type of a gcc2
66370    builtin and then its argument prototype would still apply.  */
66371 char $ac_func ();
66372 /* The GNU C library defines this for functions which it implements
66373     to always fail with ENOSYS.  Some functions are actually named
66374     something starting with __ and the normal name is an alias.  */
66375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66376 choke me
66377 #else
66378 char (*f) () = $ac_func;
66379 #endif
66380 #ifdef __cplusplus
66381 }
66382 #endif
66383
66384 int
66385 main ()
66386 {
66387 return f != $ac_func;
66388   ;
66389   return 0;
66390 }
66391 _ACEOF
66392 rm -f conftest.$ac_objext conftest$ac_exeext
66393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66394   (eval $ac_link) 2>conftest.er1
66395   ac_status=$?
66396   grep -v '^ *+' conftest.er1 >conftest.err
66397   rm -f conftest.er1
66398   cat conftest.err >&5
66399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66400   (exit $ac_status); } &&
66401          { ac_try='test -z "$ac_c_werror_flag"
66402                          || test ! -s conftest.err'
66403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66404   (eval $ac_try) 2>&5
66405   ac_status=$?
66406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66407   (exit $ac_status); }; } &&
66408          { ac_try='test -s conftest$ac_exeext'
66409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66410   (eval $ac_try) 2>&5
66411   ac_status=$?
66412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66413   (exit $ac_status); }; }; then
66414   eval "$as_ac_var=yes"
66415 else
66416   echo "$as_me: failed program was:" >&5
66417 sed 's/^/| /' conftest.$ac_ext >&5
66418
66419 eval "$as_ac_var=no"
66420 fi
66421 rm -f conftest.err conftest.$ac_objext \
66422       conftest$ac_exeext conftest.$ac_ext
66423 fi
66424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66426 if test `eval echo '${'$as_ac_var'}'` = yes; then
66427   cat >>confdefs.h <<_ACEOF
66428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66429 _ACEOF
66430
66431 fi
66432 done
66433
66434     fi
66435   fi
66436
66437
66438
66439
66440
66441
66442   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66443 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66444   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66445     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66446   echo $ECHO_N "(cached) $ECHO_C" >&6
66447 else
66448
66449
66450
66451       ac_ext=cc
66452 ac_cpp='$CXXCPP $CPPFLAGS'
66453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66456
66457       cat >conftest.$ac_ext <<_ACEOF
66458 /* confdefs.h.  */
66459 _ACEOF
66460 cat confdefs.h >>conftest.$ac_ext
66461 cat >>conftest.$ac_ext <<_ACEOF
66462 /* end confdefs.h.  */
66463 #include <math.h>
66464 int
66465 main ()
66466 {
66467  atan2l(0, 0);
66468   ;
66469   return 0;
66470 }
66471 _ACEOF
66472 rm -f conftest.$ac_objext
66473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66474   (eval $ac_compile) 2>conftest.er1
66475   ac_status=$?
66476   grep -v '^ *+' conftest.er1 >conftest.err
66477   rm -f conftest.er1
66478   cat conftest.err >&5
66479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66480   (exit $ac_status); } &&
66481          { ac_try='test -z "$ac_cxx_werror_flag"
66482                          || test ! -s conftest.err'
66483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66484   (eval $ac_try) 2>&5
66485   ac_status=$?
66486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66487   (exit $ac_status); }; } &&
66488          { ac_try='test -s conftest.$ac_objext'
66489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66490   (eval $ac_try) 2>&5
66491   ac_status=$?
66492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66493   (exit $ac_status); }; }; then
66494   glibcxx_cv_func_atan2l_use=yes
66495 else
66496   echo "$as_me: failed program was:" >&5
66497 sed 's/^/| /' conftest.$ac_ext >&5
66498
66499 glibcxx_cv_func_atan2l_use=no
66500 fi
66501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66502       ac_ext=c
66503 ac_cpp='$CPP $CPPFLAGS'
66504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66507
66508
66509 fi
66510
66511   fi
66512   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66513 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66514
66515   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66516
66517 for ac_func in atan2l
66518 do
66519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66520 echo "$as_me:$LINENO: checking for $ac_func" >&5
66521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66522 if eval "test \"\${$as_ac_var+set}\" = set"; then
66523   echo $ECHO_N "(cached) $ECHO_C" >&6
66524 else
66525   if test x$gcc_no_link = xyes; then
66526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66528    { (exit 1); exit 1; }; }
66529 fi
66530 cat >conftest.$ac_ext <<_ACEOF
66531 /* confdefs.h.  */
66532 _ACEOF
66533 cat confdefs.h >>conftest.$ac_ext
66534 cat >>conftest.$ac_ext <<_ACEOF
66535 /* end confdefs.h.  */
66536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66538 #define $ac_func innocuous_$ac_func
66539
66540 /* System header to define __stub macros and hopefully few prototypes,
66541     which can conflict with char $ac_func (); below.
66542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66543     <limits.h> exists even on freestanding compilers.  */
66544
66545 #ifdef __STDC__
66546 # include <limits.h>
66547 #else
66548 # include <assert.h>
66549 #endif
66550
66551 #undef $ac_func
66552
66553 /* Override any gcc2 internal prototype to avoid an error.  */
66554 #ifdef __cplusplus
66555 extern "C"
66556 {
66557 #endif
66558 /* We use char because int might match the return type of a gcc2
66559    builtin and then its argument prototype would still apply.  */
66560 char $ac_func ();
66561 /* The GNU C library defines this for functions which it implements
66562     to always fail with ENOSYS.  Some functions are actually named
66563     something starting with __ and the normal name is an alias.  */
66564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66565 choke me
66566 #else
66567 char (*f) () = $ac_func;
66568 #endif
66569 #ifdef __cplusplus
66570 }
66571 #endif
66572
66573 int
66574 main ()
66575 {
66576 return f != $ac_func;
66577   ;
66578   return 0;
66579 }
66580 _ACEOF
66581 rm -f conftest.$ac_objext conftest$ac_exeext
66582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66583   (eval $ac_link) 2>conftest.er1
66584   ac_status=$?
66585   grep -v '^ *+' conftest.er1 >conftest.err
66586   rm -f conftest.er1
66587   cat conftest.err >&5
66588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66589   (exit $ac_status); } &&
66590          { ac_try='test -z "$ac_c_werror_flag"
66591                          || test ! -s conftest.err'
66592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66593   (eval $ac_try) 2>&5
66594   ac_status=$?
66595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66596   (exit $ac_status); }; } &&
66597          { ac_try='test -s conftest$ac_exeext'
66598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66599   (eval $ac_try) 2>&5
66600   ac_status=$?
66601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66602   (exit $ac_status); }; }; then
66603   eval "$as_ac_var=yes"
66604 else
66605   echo "$as_me: failed program was:" >&5
66606 sed 's/^/| /' conftest.$ac_ext >&5
66607
66608 eval "$as_ac_var=no"
66609 fi
66610 rm -f conftest.err conftest.$ac_objext \
66611       conftest$ac_exeext conftest.$ac_ext
66612 fi
66613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66615 if test `eval echo '${'$as_ac_var'}'` = yes; then
66616   cat >>confdefs.h <<_ACEOF
66617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66618 _ACEOF
66619
66620 fi
66621 done
66622
66623   else
66624
66625   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66626 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66627   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66628     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66629   echo $ECHO_N "(cached) $ECHO_C" >&6
66630 else
66631
66632
66633
66634       ac_ext=cc
66635 ac_cpp='$CXXCPP $CPPFLAGS'
66636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66639
66640       cat >conftest.$ac_ext <<_ACEOF
66641 /* confdefs.h.  */
66642 _ACEOF
66643 cat confdefs.h >>conftest.$ac_ext
66644 cat >>conftest.$ac_ext <<_ACEOF
66645 /* end confdefs.h.  */
66646 #include <math.h>
66647 int
66648 main ()
66649 {
66650  _atan2l(0, 0);
66651   ;
66652   return 0;
66653 }
66654 _ACEOF
66655 rm -f conftest.$ac_objext
66656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66657   (eval $ac_compile) 2>conftest.er1
66658   ac_status=$?
66659   grep -v '^ *+' conftest.er1 >conftest.err
66660   rm -f conftest.er1
66661   cat conftest.err >&5
66662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66663   (exit $ac_status); } &&
66664          { ac_try='test -z "$ac_cxx_werror_flag"
66665                          || test ! -s conftest.err'
66666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66667   (eval $ac_try) 2>&5
66668   ac_status=$?
66669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66670   (exit $ac_status); }; } &&
66671          { ac_try='test -s conftest.$ac_objext'
66672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66673   (eval $ac_try) 2>&5
66674   ac_status=$?
66675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66676   (exit $ac_status); }; }; then
66677   glibcxx_cv_func__atan2l_use=yes
66678 else
66679   echo "$as_me: failed program was:" >&5
66680 sed 's/^/| /' conftest.$ac_ext >&5
66681
66682 glibcxx_cv_func__atan2l_use=no
66683 fi
66684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66685       ac_ext=c
66686 ac_cpp='$CPP $CPPFLAGS'
66687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66690
66691
66692 fi
66693
66694   fi
66695   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66696 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66697
66698     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66699
66700 for ac_func in _atan2l
66701 do
66702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66703 echo "$as_me:$LINENO: checking for $ac_func" >&5
66704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66705 if eval "test \"\${$as_ac_var+set}\" = set"; then
66706   echo $ECHO_N "(cached) $ECHO_C" >&6
66707 else
66708   if test x$gcc_no_link = xyes; then
66709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66711    { (exit 1); exit 1; }; }
66712 fi
66713 cat >conftest.$ac_ext <<_ACEOF
66714 /* confdefs.h.  */
66715 _ACEOF
66716 cat confdefs.h >>conftest.$ac_ext
66717 cat >>conftest.$ac_ext <<_ACEOF
66718 /* end confdefs.h.  */
66719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66721 #define $ac_func innocuous_$ac_func
66722
66723 /* System header to define __stub macros and hopefully few prototypes,
66724     which can conflict with char $ac_func (); below.
66725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66726     <limits.h> exists even on freestanding compilers.  */
66727
66728 #ifdef __STDC__
66729 # include <limits.h>
66730 #else
66731 # include <assert.h>
66732 #endif
66733
66734 #undef $ac_func
66735
66736 /* Override any gcc2 internal prototype to avoid an error.  */
66737 #ifdef __cplusplus
66738 extern "C"
66739 {
66740 #endif
66741 /* We use char because int might match the return type of a gcc2
66742    builtin and then its argument prototype would still apply.  */
66743 char $ac_func ();
66744 /* The GNU C library defines this for functions which it implements
66745     to always fail with ENOSYS.  Some functions are actually named
66746     something starting with __ and the normal name is an alias.  */
66747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66748 choke me
66749 #else
66750 char (*f) () = $ac_func;
66751 #endif
66752 #ifdef __cplusplus
66753 }
66754 #endif
66755
66756 int
66757 main ()
66758 {
66759 return f != $ac_func;
66760   ;
66761   return 0;
66762 }
66763 _ACEOF
66764 rm -f conftest.$ac_objext conftest$ac_exeext
66765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66766   (eval $ac_link) 2>conftest.er1
66767   ac_status=$?
66768   grep -v '^ *+' conftest.er1 >conftest.err
66769   rm -f conftest.er1
66770   cat conftest.err >&5
66771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66772   (exit $ac_status); } &&
66773          { ac_try='test -z "$ac_c_werror_flag"
66774                          || test ! -s conftest.err'
66775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66776   (eval $ac_try) 2>&5
66777   ac_status=$?
66778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66779   (exit $ac_status); }; } &&
66780          { ac_try='test -s conftest$ac_exeext'
66781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66782   (eval $ac_try) 2>&5
66783   ac_status=$?
66784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66785   (exit $ac_status); }; }; then
66786   eval "$as_ac_var=yes"
66787 else
66788   echo "$as_me: failed program was:" >&5
66789 sed 's/^/| /' conftest.$ac_ext >&5
66790
66791 eval "$as_ac_var=no"
66792 fi
66793 rm -f conftest.err conftest.$ac_objext \
66794       conftest$ac_exeext conftest.$ac_ext
66795 fi
66796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66798 if test `eval echo '${'$as_ac_var'}'` = yes; then
66799   cat >>confdefs.h <<_ACEOF
66800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66801 _ACEOF
66802
66803 fi
66804 done
66805
66806     fi
66807   fi
66808
66809
66810
66811
66812
66813
66814   echo "$as_me:$LINENO: checking for expl declaration" >&5
66815 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66816   if test x${glibcxx_cv_func_expl_use+set} != xset; then
66817     if test "${glibcxx_cv_func_expl_use+set}" = set; then
66818   echo $ECHO_N "(cached) $ECHO_C" >&6
66819 else
66820
66821
66822
66823       ac_ext=cc
66824 ac_cpp='$CXXCPP $CPPFLAGS'
66825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66828
66829       cat >conftest.$ac_ext <<_ACEOF
66830 /* confdefs.h.  */
66831 _ACEOF
66832 cat confdefs.h >>conftest.$ac_ext
66833 cat >>conftest.$ac_ext <<_ACEOF
66834 /* end confdefs.h.  */
66835 #include <math.h>
66836                       #ifdef HAVE_IEEEFP_H
66837                       #include <ieeefp.h>
66838                       #endif
66839
66840 int
66841 main ()
66842 {
66843  expl(0);
66844   ;
66845   return 0;
66846 }
66847 _ACEOF
66848 rm -f conftest.$ac_objext
66849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66850   (eval $ac_compile) 2>conftest.er1
66851   ac_status=$?
66852   grep -v '^ *+' conftest.er1 >conftest.err
66853   rm -f conftest.er1
66854   cat conftest.err >&5
66855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66856   (exit $ac_status); } &&
66857          { ac_try='test -z "$ac_cxx_werror_flag"
66858                          || test ! -s conftest.err'
66859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66860   (eval $ac_try) 2>&5
66861   ac_status=$?
66862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66863   (exit $ac_status); }; } &&
66864          { ac_try='test -s conftest.$ac_objext'
66865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66866   (eval $ac_try) 2>&5
66867   ac_status=$?
66868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66869   (exit $ac_status); }; }; then
66870   glibcxx_cv_func_expl_use=yes
66871 else
66872   echo "$as_me: failed program was:" >&5
66873 sed 's/^/| /' conftest.$ac_ext >&5
66874
66875 glibcxx_cv_func_expl_use=no
66876 fi
66877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66878       ac_ext=c
66879 ac_cpp='$CPP $CPPFLAGS'
66880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66883
66884
66885 fi
66886
66887   fi
66888   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66889 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66890
66891   if test x$glibcxx_cv_func_expl_use = x"yes"; then
66892
66893 for ac_func in expl
66894 do
66895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66896 echo "$as_me:$LINENO: checking for $ac_func" >&5
66897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66898 if eval "test \"\${$as_ac_var+set}\" = set"; then
66899   echo $ECHO_N "(cached) $ECHO_C" >&6
66900 else
66901   if test x$gcc_no_link = xyes; then
66902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66904    { (exit 1); exit 1; }; }
66905 fi
66906 cat >conftest.$ac_ext <<_ACEOF
66907 /* confdefs.h.  */
66908 _ACEOF
66909 cat confdefs.h >>conftest.$ac_ext
66910 cat >>conftest.$ac_ext <<_ACEOF
66911 /* end confdefs.h.  */
66912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66914 #define $ac_func innocuous_$ac_func
66915
66916 /* System header to define __stub macros and hopefully few prototypes,
66917     which can conflict with char $ac_func (); below.
66918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66919     <limits.h> exists even on freestanding compilers.  */
66920
66921 #ifdef __STDC__
66922 # include <limits.h>
66923 #else
66924 # include <assert.h>
66925 #endif
66926
66927 #undef $ac_func
66928
66929 /* Override any gcc2 internal prototype to avoid an error.  */
66930 #ifdef __cplusplus
66931 extern "C"
66932 {
66933 #endif
66934 /* We use char because int might match the return type of a gcc2
66935    builtin and then its argument prototype would still apply.  */
66936 char $ac_func ();
66937 /* The GNU C library defines this for functions which it implements
66938     to always fail with ENOSYS.  Some functions are actually named
66939     something starting with __ and the normal name is an alias.  */
66940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66941 choke me
66942 #else
66943 char (*f) () = $ac_func;
66944 #endif
66945 #ifdef __cplusplus
66946 }
66947 #endif
66948
66949 int
66950 main ()
66951 {
66952 return f != $ac_func;
66953   ;
66954   return 0;
66955 }
66956 _ACEOF
66957 rm -f conftest.$ac_objext conftest$ac_exeext
66958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66959   (eval $ac_link) 2>conftest.er1
66960   ac_status=$?
66961   grep -v '^ *+' conftest.er1 >conftest.err
66962   rm -f conftest.er1
66963   cat conftest.err >&5
66964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66965   (exit $ac_status); } &&
66966          { ac_try='test -z "$ac_c_werror_flag"
66967                          || test ! -s conftest.err'
66968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66969   (eval $ac_try) 2>&5
66970   ac_status=$?
66971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66972   (exit $ac_status); }; } &&
66973          { ac_try='test -s conftest$ac_exeext'
66974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66975   (eval $ac_try) 2>&5
66976   ac_status=$?
66977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66978   (exit $ac_status); }; }; then
66979   eval "$as_ac_var=yes"
66980 else
66981   echo "$as_me: failed program was:" >&5
66982 sed 's/^/| /' conftest.$ac_ext >&5
66983
66984 eval "$as_ac_var=no"
66985 fi
66986 rm -f conftest.err conftest.$ac_objext \
66987       conftest$ac_exeext conftest.$ac_ext
66988 fi
66989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66991 if test `eval echo '${'$as_ac_var'}'` = yes; then
66992   cat >>confdefs.h <<_ACEOF
66993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66994 _ACEOF
66995
66996 fi
66997 done
66998
66999   else
67000
67001   echo "$as_me:$LINENO: checking for _expl declaration" >&5
67002 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67003   if test x${glibcxx_cv_func__expl_use+set} != xset; then
67004     if test "${glibcxx_cv_func__expl_use+set}" = set; then
67005   echo $ECHO_N "(cached) $ECHO_C" >&6
67006 else
67007
67008
67009
67010       ac_ext=cc
67011 ac_cpp='$CXXCPP $CPPFLAGS'
67012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67015
67016       cat >conftest.$ac_ext <<_ACEOF
67017 /* confdefs.h.  */
67018 _ACEOF
67019 cat confdefs.h >>conftest.$ac_ext
67020 cat >>conftest.$ac_ext <<_ACEOF
67021 /* end confdefs.h.  */
67022 #include <math.h>
67023                       #ifdef HAVE_IEEEFP_H
67024                       #include <ieeefp.h>
67025                       #endif
67026
67027 int
67028 main ()
67029 {
67030  _expl(0);
67031   ;
67032   return 0;
67033 }
67034 _ACEOF
67035 rm -f conftest.$ac_objext
67036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67037   (eval $ac_compile) 2>conftest.er1
67038   ac_status=$?
67039   grep -v '^ *+' conftest.er1 >conftest.err
67040   rm -f conftest.er1
67041   cat conftest.err >&5
67042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67043   (exit $ac_status); } &&
67044          { ac_try='test -z "$ac_cxx_werror_flag"
67045                          || test ! -s conftest.err'
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); }; } &&
67051          { ac_try='test -s conftest.$ac_objext'
67052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67053   (eval $ac_try) 2>&5
67054   ac_status=$?
67055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67056   (exit $ac_status); }; }; then
67057   glibcxx_cv_func__expl_use=yes
67058 else
67059   echo "$as_me: failed program was:" >&5
67060 sed 's/^/| /' conftest.$ac_ext >&5
67061
67062 glibcxx_cv_func__expl_use=no
67063 fi
67064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67065       ac_ext=c
67066 ac_cpp='$CPP $CPPFLAGS'
67067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67070
67071
67072 fi
67073
67074   fi
67075   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67076 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67077
67078     if test x$glibcxx_cv_func__expl_use = x"yes"; then
67079
67080 for ac_func in _expl
67081 do
67082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67083 echo "$as_me:$LINENO: checking for $ac_func" >&5
67084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67085 if eval "test \"\${$as_ac_var+set}\" = set"; then
67086   echo $ECHO_N "(cached) $ECHO_C" >&6
67087 else
67088   if test x$gcc_no_link = xyes; then
67089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67091    { (exit 1); exit 1; }; }
67092 fi
67093 cat >conftest.$ac_ext <<_ACEOF
67094 /* confdefs.h.  */
67095 _ACEOF
67096 cat confdefs.h >>conftest.$ac_ext
67097 cat >>conftest.$ac_ext <<_ACEOF
67098 /* end confdefs.h.  */
67099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67101 #define $ac_func innocuous_$ac_func
67102
67103 /* System header to define __stub macros and hopefully few prototypes,
67104     which can conflict with char $ac_func (); below.
67105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67106     <limits.h> exists even on freestanding compilers.  */
67107
67108 #ifdef __STDC__
67109 # include <limits.h>
67110 #else
67111 # include <assert.h>
67112 #endif
67113
67114 #undef $ac_func
67115
67116 /* Override any gcc2 internal prototype to avoid an error.  */
67117 #ifdef __cplusplus
67118 extern "C"
67119 {
67120 #endif
67121 /* We use char because int might match the return type of a gcc2
67122    builtin and then its argument prototype would still apply.  */
67123 char $ac_func ();
67124 /* The GNU C library defines this for functions which it implements
67125     to always fail with ENOSYS.  Some functions are actually named
67126     something starting with __ and the normal name is an alias.  */
67127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67128 choke me
67129 #else
67130 char (*f) () = $ac_func;
67131 #endif
67132 #ifdef __cplusplus
67133 }
67134 #endif
67135
67136 int
67137 main ()
67138 {
67139 return f != $ac_func;
67140   ;
67141   return 0;
67142 }
67143 _ACEOF
67144 rm -f conftest.$ac_objext conftest$ac_exeext
67145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67146   (eval $ac_link) 2>conftest.er1
67147   ac_status=$?
67148   grep -v '^ *+' conftest.er1 >conftest.err
67149   rm -f conftest.er1
67150   cat conftest.err >&5
67151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67152   (exit $ac_status); } &&
67153          { ac_try='test -z "$ac_c_werror_flag"
67154                          || test ! -s conftest.err'
67155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67156   (eval $ac_try) 2>&5
67157   ac_status=$?
67158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67159   (exit $ac_status); }; } &&
67160          { ac_try='test -s conftest$ac_exeext'
67161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67162   (eval $ac_try) 2>&5
67163   ac_status=$?
67164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67165   (exit $ac_status); }; }; then
67166   eval "$as_ac_var=yes"
67167 else
67168   echo "$as_me: failed program was:" >&5
67169 sed 's/^/| /' conftest.$ac_ext >&5
67170
67171 eval "$as_ac_var=no"
67172 fi
67173 rm -f conftest.err conftest.$ac_objext \
67174       conftest$ac_exeext conftest.$ac_ext
67175 fi
67176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67178 if test `eval echo '${'$as_ac_var'}'` = yes; then
67179   cat >>confdefs.h <<_ACEOF
67180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67181 _ACEOF
67182
67183 fi
67184 done
67185
67186     fi
67187   fi
67188
67189
67190
67191
67192
67193
67194   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67195 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67196   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67197     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67198   echo $ECHO_N "(cached) $ECHO_C" >&6
67199 else
67200
67201
67202
67203       ac_ext=cc
67204 ac_cpp='$CXXCPP $CPPFLAGS'
67205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67208
67209       cat >conftest.$ac_ext <<_ACEOF
67210 /* confdefs.h.  */
67211 _ACEOF
67212 cat confdefs.h >>conftest.$ac_ext
67213 cat >>conftest.$ac_ext <<_ACEOF
67214 /* end confdefs.h.  */
67215 #include <math.h>
67216                       #ifdef HAVE_IEEEFP_H
67217                       #include <ieeefp.h>
67218                       #endif
67219
67220 int
67221 main ()
67222 {
67223  fabsl(0);
67224   ;
67225   return 0;
67226 }
67227 _ACEOF
67228 rm -f conftest.$ac_objext
67229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67230   (eval $ac_compile) 2>conftest.er1
67231   ac_status=$?
67232   grep -v '^ *+' conftest.er1 >conftest.err
67233   rm -f conftest.er1
67234   cat conftest.err >&5
67235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67236   (exit $ac_status); } &&
67237          { ac_try='test -z "$ac_cxx_werror_flag"
67238                          || test ! -s conftest.err'
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); }; } &&
67244          { ac_try='test -s conftest.$ac_objext'
67245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67246   (eval $ac_try) 2>&5
67247   ac_status=$?
67248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67249   (exit $ac_status); }; }; then
67250   glibcxx_cv_func_fabsl_use=yes
67251 else
67252   echo "$as_me: failed program was:" >&5
67253 sed 's/^/| /' conftest.$ac_ext >&5
67254
67255 glibcxx_cv_func_fabsl_use=no
67256 fi
67257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67258       ac_ext=c
67259 ac_cpp='$CPP $CPPFLAGS'
67260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67263
67264
67265 fi
67266
67267   fi
67268   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67269 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67270
67271   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67272
67273 for ac_func in fabsl
67274 do
67275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67276 echo "$as_me:$LINENO: checking for $ac_func" >&5
67277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67278 if eval "test \"\${$as_ac_var+set}\" = set"; then
67279   echo $ECHO_N "(cached) $ECHO_C" >&6
67280 else
67281   if test x$gcc_no_link = xyes; then
67282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67284    { (exit 1); exit 1; }; }
67285 fi
67286 cat >conftest.$ac_ext <<_ACEOF
67287 /* confdefs.h.  */
67288 _ACEOF
67289 cat confdefs.h >>conftest.$ac_ext
67290 cat >>conftest.$ac_ext <<_ACEOF
67291 /* end confdefs.h.  */
67292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67294 #define $ac_func innocuous_$ac_func
67295
67296 /* System header to define __stub macros and hopefully few prototypes,
67297     which can conflict with char $ac_func (); below.
67298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67299     <limits.h> exists even on freestanding compilers.  */
67300
67301 #ifdef __STDC__
67302 # include <limits.h>
67303 #else
67304 # include <assert.h>
67305 #endif
67306
67307 #undef $ac_func
67308
67309 /* Override any gcc2 internal prototype to avoid an error.  */
67310 #ifdef __cplusplus
67311 extern "C"
67312 {
67313 #endif
67314 /* We use char because int might match the return type of a gcc2
67315    builtin and then its argument prototype would still apply.  */
67316 char $ac_func ();
67317 /* The GNU C library defines this for functions which it implements
67318     to always fail with ENOSYS.  Some functions are actually named
67319     something starting with __ and the normal name is an alias.  */
67320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67321 choke me
67322 #else
67323 char (*f) () = $ac_func;
67324 #endif
67325 #ifdef __cplusplus
67326 }
67327 #endif
67328
67329 int
67330 main ()
67331 {
67332 return f != $ac_func;
67333   ;
67334   return 0;
67335 }
67336 _ACEOF
67337 rm -f conftest.$ac_objext conftest$ac_exeext
67338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67339   (eval $ac_link) 2>conftest.er1
67340   ac_status=$?
67341   grep -v '^ *+' conftest.er1 >conftest.err
67342   rm -f conftest.er1
67343   cat conftest.err >&5
67344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345   (exit $ac_status); } &&
67346          { ac_try='test -z "$ac_c_werror_flag"
67347                          || test ! -s conftest.err'
67348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67349   (eval $ac_try) 2>&5
67350   ac_status=$?
67351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67352   (exit $ac_status); }; } &&
67353          { ac_try='test -s conftest$ac_exeext'
67354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67355   (eval $ac_try) 2>&5
67356   ac_status=$?
67357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67358   (exit $ac_status); }; }; then
67359   eval "$as_ac_var=yes"
67360 else
67361   echo "$as_me: failed program was:" >&5
67362 sed 's/^/| /' conftest.$ac_ext >&5
67363
67364 eval "$as_ac_var=no"
67365 fi
67366 rm -f conftest.err conftest.$ac_objext \
67367       conftest$ac_exeext conftest.$ac_ext
67368 fi
67369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67371 if test `eval echo '${'$as_ac_var'}'` = yes; then
67372   cat >>confdefs.h <<_ACEOF
67373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67374 _ACEOF
67375
67376 fi
67377 done
67378
67379   else
67380
67381   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67382 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67383   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67384     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67385   echo $ECHO_N "(cached) $ECHO_C" >&6
67386 else
67387
67388
67389
67390       ac_ext=cc
67391 ac_cpp='$CXXCPP $CPPFLAGS'
67392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67395
67396       cat >conftest.$ac_ext <<_ACEOF
67397 /* confdefs.h.  */
67398 _ACEOF
67399 cat confdefs.h >>conftest.$ac_ext
67400 cat >>conftest.$ac_ext <<_ACEOF
67401 /* end confdefs.h.  */
67402 #include <math.h>
67403                       #ifdef HAVE_IEEEFP_H
67404                       #include <ieeefp.h>
67405                       #endif
67406
67407 int
67408 main ()
67409 {
67410  _fabsl(0);
67411   ;
67412   return 0;
67413 }
67414 _ACEOF
67415 rm -f conftest.$ac_objext
67416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67417   (eval $ac_compile) 2>conftest.er1
67418   ac_status=$?
67419   grep -v '^ *+' conftest.er1 >conftest.err
67420   rm -f conftest.er1
67421   cat conftest.err >&5
67422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67423   (exit $ac_status); } &&
67424          { ac_try='test -z "$ac_cxx_werror_flag"
67425                          || test ! -s conftest.err'
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); }; } &&
67431          { ac_try='test -s conftest.$ac_objext'
67432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67433   (eval $ac_try) 2>&5
67434   ac_status=$?
67435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67436   (exit $ac_status); }; }; then
67437   glibcxx_cv_func__fabsl_use=yes
67438 else
67439   echo "$as_me: failed program was:" >&5
67440 sed 's/^/| /' conftest.$ac_ext >&5
67441
67442 glibcxx_cv_func__fabsl_use=no
67443 fi
67444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67445       ac_ext=c
67446 ac_cpp='$CPP $CPPFLAGS'
67447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67450
67451
67452 fi
67453
67454   fi
67455   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67456 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67457
67458     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67459
67460 for ac_func in _fabsl
67461 do
67462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67463 echo "$as_me:$LINENO: checking for $ac_func" >&5
67464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67465 if eval "test \"\${$as_ac_var+set}\" = set"; then
67466   echo $ECHO_N "(cached) $ECHO_C" >&6
67467 else
67468   if test x$gcc_no_link = xyes; then
67469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67471    { (exit 1); exit 1; }; }
67472 fi
67473 cat >conftest.$ac_ext <<_ACEOF
67474 /* confdefs.h.  */
67475 _ACEOF
67476 cat confdefs.h >>conftest.$ac_ext
67477 cat >>conftest.$ac_ext <<_ACEOF
67478 /* end confdefs.h.  */
67479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67481 #define $ac_func innocuous_$ac_func
67482
67483 /* System header to define __stub macros and hopefully few prototypes,
67484     which can conflict with char $ac_func (); below.
67485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67486     <limits.h> exists even on freestanding compilers.  */
67487
67488 #ifdef __STDC__
67489 # include <limits.h>
67490 #else
67491 # include <assert.h>
67492 #endif
67493
67494 #undef $ac_func
67495
67496 /* Override any gcc2 internal prototype to avoid an error.  */
67497 #ifdef __cplusplus
67498 extern "C"
67499 {
67500 #endif
67501 /* We use char because int might match the return type of a gcc2
67502    builtin and then its argument prototype would still apply.  */
67503 char $ac_func ();
67504 /* The GNU C library defines this for functions which it implements
67505     to always fail with ENOSYS.  Some functions are actually named
67506     something starting with __ and the normal name is an alias.  */
67507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67508 choke me
67509 #else
67510 char (*f) () = $ac_func;
67511 #endif
67512 #ifdef __cplusplus
67513 }
67514 #endif
67515
67516 int
67517 main ()
67518 {
67519 return f != $ac_func;
67520   ;
67521   return 0;
67522 }
67523 _ACEOF
67524 rm -f conftest.$ac_objext conftest$ac_exeext
67525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67526   (eval $ac_link) 2>conftest.er1
67527   ac_status=$?
67528   grep -v '^ *+' conftest.er1 >conftest.err
67529   rm -f conftest.er1
67530   cat conftest.err >&5
67531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67532   (exit $ac_status); } &&
67533          { ac_try='test -z "$ac_c_werror_flag"
67534                          || test ! -s conftest.err'
67535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67536   (eval $ac_try) 2>&5
67537   ac_status=$?
67538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67539   (exit $ac_status); }; } &&
67540          { ac_try='test -s conftest$ac_exeext'
67541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67542   (eval $ac_try) 2>&5
67543   ac_status=$?
67544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67545   (exit $ac_status); }; }; then
67546   eval "$as_ac_var=yes"
67547 else
67548   echo "$as_me: failed program was:" >&5
67549 sed 's/^/| /' conftest.$ac_ext >&5
67550
67551 eval "$as_ac_var=no"
67552 fi
67553 rm -f conftest.err conftest.$ac_objext \
67554       conftest$ac_exeext conftest.$ac_ext
67555 fi
67556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67558 if test `eval echo '${'$as_ac_var'}'` = yes; then
67559   cat >>confdefs.h <<_ACEOF
67560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67561 _ACEOF
67562
67563 fi
67564 done
67565
67566     fi
67567   fi
67568
67569
67570
67571
67572
67573
67574   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67575 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67576   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67577     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67578   echo $ECHO_N "(cached) $ECHO_C" >&6
67579 else
67580
67581
67582
67583       ac_ext=cc
67584 ac_cpp='$CXXCPP $CPPFLAGS'
67585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67588
67589       cat >conftest.$ac_ext <<_ACEOF
67590 /* confdefs.h.  */
67591 _ACEOF
67592 cat confdefs.h >>conftest.$ac_ext
67593 cat >>conftest.$ac_ext <<_ACEOF
67594 /* end confdefs.h.  */
67595 #include <math.h>
67596 int
67597 main ()
67598 {
67599  fmodl(0, 0);
67600   ;
67601   return 0;
67602 }
67603 _ACEOF
67604 rm -f conftest.$ac_objext
67605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67606   (eval $ac_compile) 2>conftest.er1
67607   ac_status=$?
67608   grep -v '^ *+' conftest.er1 >conftest.err
67609   rm -f conftest.er1
67610   cat conftest.err >&5
67611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67612   (exit $ac_status); } &&
67613          { ac_try='test -z "$ac_cxx_werror_flag"
67614                          || test ! -s conftest.err'
67615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67616   (eval $ac_try) 2>&5
67617   ac_status=$?
67618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67619   (exit $ac_status); }; } &&
67620          { ac_try='test -s conftest.$ac_objext'
67621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67622   (eval $ac_try) 2>&5
67623   ac_status=$?
67624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67625   (exit $ac_status); }; }; then
67626   glibcxx_cv_func_fmodl_use=yes
67627 else
67628   echo "$as_me: failed program was:" >&5
67629 sed 's/^/| /' conftest.$ac_ext >&5
67630
67631 glibcxx_cv_func_fmodl_use=no
67632 fi
67633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67634       ac_ext=c
67635 ac_cpp='$CPP $CPPFLAGS'
67636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67639
67640
67641 fi
67642
67643   fi
67644   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67645 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67646
67647   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67648
67649 for ac_func in fmodl
67650 do
67651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67652 echo "$as_me:$LINENO: checking for $ac_func" >&5
67653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67654 if eval "test \"\${$as_ac_var+set}\" = set"; then
67655   echo $ECHO_N "(cached) $ECHO_C" >&6
67656 else
67657   if test x$gcc_no_link = xyes; then
67658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67660    { (exit 1); exit 1; }; }
67661 fi
67662 cat >conftest.$ac_ext <<_ACEOF
67663 /* confdefs.h.  */
67664 _ACEOF
67665 cat confdefs.h >>conftest.$ac_ext
67666 cat >>conftest.$ac_ext <<_ACEOF
67667 /* end confdefs.h.  */
67668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67670 #define $ac_func innocuous_$ac_func
67671
67672 /* System header to define __stub macros and hopefully few prototypes,
67673     which can conflict with char $ac_func (); below.
67674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67675     <limits.h> exists even on freestanding compilers.  */
67676
67677 #ifdef __STDC__
67678 # include <limits.h>
67679 #else
67680 # include <assert.h>
67681 #endif
67682
67683 #undef $ac_func
67684
67685 /* Override any gcc2 internal prototype to avoid an error.  */
67686 #ifdef __cplusplus
67687 extern "C"
67688 {
67689 #endif
67690 /* We use char because int might match the return type of a gcc2
67691    builtin and then its argument prototype would still apply.  */
67692 char $ac_func ();
67693 /* The GNU C library defines this for functions which it implements
67694     to always fail with ENOSYS.  Some functions are actually named
67695     something starting with __ and the normal name is an alias.  */
67696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67697 choke me
67698 #else
67699 char (*f) () = $ac_func;
67700 #endif
67701 #ifdef __cplusplus
67702 }
67703 #endif
67704
67705 int
67706 main ()
67707 {
67708 return f != $ac_func;
67709   ;
67710   return 0;
67711 }
67712 _ACEOF
67713 rm -f conftest.$ac_objext conftest$ac_exeext
67714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67715   (eval $ac_link) 2>conftest.er1
67716   ac_status=$?
67717   grep -v '^ *+' conftest.er1 >conftest.err
67718   rm -f conftest.er1
67719   cat conftest.err >&5
67720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67721   (exit $ac_status); } &&
67722          { ac_try='test -z "$ac_c_werror_flag"
67723                          || test ! -s conftest.err'
67724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67725   (eval $ac_try) 2>&5
67726   ac_status=$?
67727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67728   (exit $ac_status); }; } &&
67729          { ac_try='test -s conftest$ac_exeext'
67730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67731   (eval $ac_try) 2>&5
67732   ac_status=$?
67733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67734   (exit $ac_status); }; }; then
67735   eval "$as_ac_var=yes"
67736 else
67737   echo "$as_me: failed program was:" >&5
67738 sed 's/^/| /' conftest.$ac_ext >&5
67739
67740 eval "$as_ac_var=no"
67741 fi
67742 rm -f conftest.err conftest.$ac_objext \
67743       conftest$ac_exeext conftest.$ac_ext
67744 fi
67745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67747 if test `eval echo '${'$as_ac_var'}'` = yes; then
67748   cat >>confdefs.h <<_ACEOF
67749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67750 _ACEOF
67751
67752 fi
67753 done
67754
67755   else
67756
67757   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67758 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67759   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67760     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67761   echo $ECHO_N "(cached) $ECHO_C" >&6
67762 else
67763
67764
67765
67766       ac_ext=cc
67767 ac_cpp='$CXXCPP $CPPFLAGS'
67768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67771
67772       cat >conftest.$ac_ext <<_ACEOF
67773 /* confdefs.h.  */
67774 _ACEOF
67775 cat confdefs.h >>conftest.$ac_ext
67776 cat >>conftest.$ac_ext <<_ACEOF
67777 /* end confdefs.h.  */
67778 #include <math.h>
67779 int
67780 main ()
67781 {
67782  _fmodl(0, 0);
67783   ;
67784   return 0;
67785 }
67786 _ACEOF
67787 rm -f conftest.$ac_objext
67788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67789   (eval $ac_compile) 2>conftest.er1
67790   ac_status=$?
67791   grep -v '^ *+' conftest.er1 >conftest.err
67792   rm -f conftest.er1
67793   cat conftest.err >&5
67794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67795   (exit $ac_status); } &&
67796          { ac_try='test -z "$ac_cxx_werror_flag"
67797                          || test ! -s conftest.err'
67798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67799   (eval $ac_try) 2>&5
67800   ac_status=$?
67801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67802   (exit $ac_status); }; } &&
67803          { ac_try='test -s conftest.$ac_objext'
67804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67805   (eval $ac_try) 2>&5
67806   ac_status=$?
67807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67808   (exit $ac_status); }; }; then
67809   glibcxx_cv_func__fmodl_use=yes
67810 else
67811   echo "$as_me: failed program was:" >&5
67812 sed 's/^/| /' conftest.$ac_ext >&5
67813
67814 glibcxx_cv_func__fmodl_use=no
67815 fi
67816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67817       ac_ext=c
67818 ac_cpp='$CPP $CPPFLAGS'
67819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67822
67823
67824 fi
67825
67826   fi
67827   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67828 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67829
67830     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67831
67832 for ac_func in _fmodl
67833 do
67834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67835 echo "$as_me:$LINENO: checking for $ac_func" >&5
67836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67837 if eval "test \"\${$as_ac_var+set}\" = set"; then
67838   echo $ECHO_N "(cached) $ECHO_C" >&6
67839 else
67840   if test x$gcc_no_link = xyes; then
67841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67843    { (exit 1); exit 1; }; }
67844 fi
67845 cat >conftest.$ac_ext <<_ACEOF
67846 /* confdefs.h.  */
67847 _ACEOF
67848 cat confdefs.h >>conftest.$ac_ext
67849 cat >>conftest.$ac_ext <<_ACEOF
67850 /* end confdefs.h.  */
67851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67853 #define $ac_func innocuous_$ac_func
67854
67855 /* System header to define __stub macros and hopefully few prototypes,
67856     which can conflict with char $ac_func (); below.
67857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67858     <limits.h> exists even on freestanding compilers.  */
67859
67860 #ifdef __STDC__
67861 # include <limits.h>
67862 #else
67863 # include <assert.h>
67864 #endif
67865
67866 #undef $ac_func
67867
67868 /* Override any gcc2 internal prototype to avoid an error.  */
67869 #ifdef __cplusplus
67870 extern "C"
67871 {
67872 #endif
67873 /* We use char because int might match the return type of a gcc2
67874    builtin and then its argument prototype would still apply.  */
67875 char $ac_func ();
67876 /* The GNU C library defines this for functions which it implements
67877     to always fail with ENOSYS.  Some functions are actually named
67878     something starting with __ and the normal name is an alias.  */
67879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67880 choke me
67881 #else
67882 char (*f) () = $ac_func;
67883 #endif
67884 #ifdef __cplusplus
67885 }
67886 #endif
67887
67888 int
67889 main ()
67890 {
67891 return f != $ac_func;
67892   ;
67893   return 0;
67894 }
67895 _ACEOF
67896 rm -f conftest.$ac_objext conftest$ac_exeext
67897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67898   (eval $ac_link) 2>conftest.er1
67899   ac_status=$?
67900   grep -v '^ *+' conftest.er1 >conftest.err
67901   rm -f conftest.er1
67902   cat conftest.err >&5
67903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67904   (exit $ac_status); } &&
67905          { ac_try='test -z "$ac_c_werror_flag"
67906                          || test ! -s conftest.err'
67907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67908   (eval $ac_try) 2>&5
67909   ac_status=$?
67910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67911   (exit $ac_status); }; } &&
67912          { ac_try='test -s conftest$ac_exeext'
67913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67914   (eval $ac_try) 2>&5
67915   ac_status=$?
67916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67917   (exit $ac_status); }; }; then
67918   eval "$as_ac_var=yes"
67919 else
67920   echo "$as_me: failed program was:" >&5
67921 sed 's/^/| /' conftest.$ac_ext >&5
67922
67923 eval "$as_ac_var=no"
67924 fi
67925 rm -f conftest.err conftest.$ac_objext \
67926       conftest$ac_exeext conftest.$ac_ext
67927 fi
67928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67930 if test `eval echo '${'$as_ac_var'}'` = yes; then
67931   cat >>confdefs.h <<_ACEOF
67932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67933 _ACEOF
67934
67935 fi
67936 done
67937
67938     fi
67939   fi
67940
67941
67942
67943
67944
67945
67946   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67947 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67948   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67949     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67950   echo $ECHO_N "(cached) $ECHO_C" >&6
67951 else
67952
67953
67954
67955       ac_ext=cc
67956 ac_cpp='$CXXCPP $CPPFLAGS'
67957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67960
67961       cat >conftest.$ac_ext <<_ACEOF
67962 /* confdefs.h.  */
67963 _ACEOF
67964 cat confdefs.h >>conftest.$ac_ext
67965 cat >>conftest.$ac_ext <<_ACEOF
67966 /* end confdefs.h.  */
67967 #include <math.h>
67968 int
67969 main ()
67970 {
67971  frexpl(0, 0);
67972   ;
67973   return 0;
67974 }
67975 _ACEOF
67976 rm -f conftest.$ac_objext
67977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67978   (eval $ac_compile) 2>conftest.er1
67979   ac_status=$?
67980   grep -v '^ *+' conftest.er1 >conftest.err
67981   rm -f conftest.er1
67982   cat conftest.err >&5
67983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984   (exit $ac_status); } &&
67985          { ac_try='test -z "$ac_cxx_werror_flag"
67986                          || test ! -s conftest.err'
67987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67988   (eval $ac_try) 2>&5
67989   ac_status=$?
67990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67991   (exit $ac_status); }; } &&
67992          { ac_try='test -s conftest.$ac_objext'
67993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67994   (eval $ac_try) 2>&5
67995   ac_status=$?
67996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67997   (exit $ac_status); }; }; then
67998   glibcxx_cv_func_frexpl_use=yes
67999 else
68000   echo "$as_me: failed program was:" >&5
68001 sed 's/^/| /' conftest.$ac_ext >&5
68002
68003 glibcxx_cv_func_frexpl_use=no
68004 fi
68005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68006       ac_ext=c
68007 ac_cpp='$CPP $CPPFLAGS'
68008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68011
68012
68013 fi
68014
68015   fi
68016   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68017 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68018
68019   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68020
68021 for ac_func in frexpl
68022 do
68023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68024 echo "$as_me:$LINENO: checking for $ac_func" >&5
68025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68026 if eval "test \"\${$as_ac_var+set}\" = set"; then
68027   echo $ECHO_N "(cached) $ECHO_C" >&6
68028 else
68029   if test x$gcc_no_link = xyes; then
68030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68032    { (exit 1); exit 1; }; }
68033 fi
68034 cat >conftest.$ac_ext <<_ACEOF
68035 /* confdefs.h.  */
68036 _ACEOF
68037 cat confdefs.h >>conftest.$ac_ext
68038 cat >>conftest.$ac_ext <<_ACEOF
68039 /* end confdefs.h.  */
68040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68042 #define $ac_func innocuous_$ac_func
68043
68044 /* System header to define __stub macros and hopefully few prototypes,
68045     which can conflict with char $ac_func (); below.
68046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68047     <limits.h> exists even on freestanding compilers.  */
68048
68049 #ifdef __STDC__
68050 # include <limits.h>
68051 #else
68052 # include <assert.h>
68053 #endif
68054
68055 #undef $ac_func
68056
68057 /* Override any gcc2 internal prototype to avoid an error.  */
68058 #ifdef __cplusplus
68059 extern "C"
68060 {
68061 #endif
68062 /* We use char because int might match the return type of a gcc2
68063    builtin and then its argument prototype would still apply.  */
68064 char $ac_func ();
68065 /* The GNU C library defines this for functions which it implements
68066     to always fail with ENOSYS.  Some functions are actually named
68067     something starting with __ and the normal name is an alias.  */
68068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68069 choke me
68070 #else
68071 char (*f) () = $ac_func;
68072 #endif
68073 #ifdef __cplusplus
68074 }
68075 #endif
68076
68077 int
68078 main ()
68079 {
68080 return f != $ac_func;
68081   ;
68082   return 0;
68083 }
68084 _ACEOF
68085 rm -f conftest.$ac_objext conftest$ac_exeext
68086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68087   (eval $ac_link) 2>conftest.er1
68088   ac_status=$?
68089   grep -v '^ *+' conftest.er1 >conftest.err
68090   rm -f conftest.er1
68091   cat conftest.err >&5
68092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68093   (exit $ac_status); } &&
68094          { ac_try='test -z "$ac_c_werror_flag"
68095                          || test ! -s conftest.err'
68096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68097   (eval $ac_try) 2>&5
68098   ac_status=$?
68099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68100   (exit $ac_status); }; } &&
68101          { ac_try='test -s conftest$ac_exeext'
68102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68103   (eval $ac_try) 2>&5
68104   ac_status=$?
68105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68106   (exit $ac_status); }; }; then
68107   eval "$as_ac_var=yes"
68108 else
68109   echo "$as_me: failed program was:" >&5
68110 sed 's/^/| /' conftest.$ac_ext >&5
68111
68112 eval "$as_ac_var=no"
68113 fi
68114 rm -f conftest.err conftest.$ac_objext \
68115       conftest$ac_exeext conftest.$ac_ext
68116 fi
68117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68119 if test `eval echo '${'$as_ac_var'}'` = yes; then
68120   cat >>confdefs.h <<_ACEOF
68121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68122 _ACEOF
68123
68124 fi
68125 done
68126
68127   else
68128
68129   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68130 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68131   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68132     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68133   echo $ECHO_N "(cached) $ECHO_C" >&6
68134 else
68135
68136
68137
68138       ac_ext=cc
68139 ac_cpp='$CXXCPP $CPPFLAGS'
68140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68143
68144       cat >conftest.$ac_ext <<_ACEOF
68145 /* confdefs.h.  */
68146 _ACEOF
68147 cat confdefs.h >>conftest.$ac_ext
68148 cat >>conftest.$ac_ext <<_ACEOF
68149 /* end confdefs.h.  */
68150 #include <math.h>
68151 int
68152 main ()
68153 {
68154  _frexpl(0, 0);
68155   ;
68156   return 0;
68157 }
68158 _ACEOF
68159 rm -f conftest.$ac_objext
68160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68161   (eval $ac_compile) 2>conftest.er1
68162   ac_status=$?
68163   grep -v '^ *+' conftest.er1 >conftest.err
68164   rm -f conftest.er1
68165   cat conftest.err >&5
68166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68167   (exit $ac_status); } &&
68168          { ac_try='test -z "$ac_cxx_werror_flag"
68169                          || test ! -s conftest.err'
68170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68171   (eval $ac_try) 2>&5
68172   ac_status=$?
68173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174   (exit $ac_status); }; } &&
68175          { ac_try='test -s conftest.$ac_objext'
68176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68177   (eval $ac_try) 2>&5
68178   ac_status=$?
68179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68180   (exit $ac_status); }; }; then
68181   glibcxx_cv_func__frexpl_use=yes
68182 else
68183   echo "$as_me: failed program was:" >&5
68184 sed 's/^/| /' conftest.$ac_ext >&5
68185
68186 glibcxx_cv_func__frexpl_use=no
68187 fi
68188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68189       ac_ext=c
68190 ac_cpp='$CPP $CPPFLAGS'
68191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68194
68195
68196 fi
68197
68198   fi
68199   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68200 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68201
68202     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68203
68204 for ac_func in _frexpl
68205 do
68206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68207 echo "$as_me:$LINENO: checking for $ac_func" >&5
68208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68209 if eval "test \"\${$as_ac_var+set}\" = set"; then
68210   echo $ECHO_N "(cached) $ECHO_C" >&6
68211 else
68212   if test x$gcc_no_link = xyes; then
68213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68215    { (exit 1); exit 1; }; }
68216 fi
68217 cat >conftest.$ac_ext <<_ACEOF
68218 /* confdefs.h.  */
68219 _ACEOF
68220 cat confdefs.h >>conftest.$ac_ext
68221 cat >>conftest.$ac_ext <<_ACEOF
68222 /* end confdefs.h.  */
68223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68225 #define $ac_func innocuous_$ac_func
68226
68227 /* System header to define __stub macros and hopefully few prototypes,
68228     which can conflict with char $ac_func (); below.
68229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68230     <limits.h> exists even on freestanding compilers.  */
68231
68232 #ifdef __STDC__
68233 # include <limits.h>
68234 #else
68235 # include <assert.h>
68236 #endif
68237
68238 #undef $ac_func
68239
68240 /* Override any gcc2 internal prototype to avoid an error.  */
68241 #ifdef __cplusplus
68242 extern "C"
68243 {
68244 #endif
68245 /* We use char because int might match the return type of a gcc2
68246    builtin and then its argument prototype would still apply.  */
68247 char $ac_func ();
68248 /* The GNU C library defines this for functions which it implements
68249     to always fail with ENOSYS.  Some functions are actually named
68250     something starting with __ and the normal name is an alias.  */
68251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68252 choke me
68253 #else
68254 char (*f) () = $ac_func;
68255 #endif
68256 #ifdef __cplusplus
68257 }
68258 #endif
68259
68260 int
68261 main ()
68262 {
68263 return f != $ac_func;
68264   ;
68265   return 0;
68266 }
68267 _ACEOF
68268 rm -f conftest.$ac_objext conftest$ac_exeext
68269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68270   (eval $ac_link) 2>conftest.er1
68271   ac_status=$?
68272   grep -v '^ *+' conftest.er1 >conftest.err
68273   rm -f conftest.er1
68274   cat conftest.err >&5
68275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68276   (exit $ac_status); } &&
68277          { ac_try='test -z "$ac_c_werror_flag"
68278                          || test ! -s conftest.err'
68279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68280   (eval $ac_try) 2>&5
68281   ac_status=$?
68282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68283   (exit $ac_status); }; } &&
68284          { ac_try='test -s conftest$ac_exeext'
68285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68286   (eval $ac_try) 2>&5
68287   ac_status=$?
68288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68289   (exit $ac_status); }; }; then
68290   eval "$as_ac_var=yes"
68291 else
68292   echo "$as_me: failed program was:" >&5
68293 sed 's/^/| /' conftest.$ac_ext >&5
68294
68295 eval "$as_ac_var=no"
68296 fi
68297 rm -f conftest.err conftest.$ac_objext \
68298       conftest$ac_exeext conftest.$ac_ext
68299 fi
68300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68302 if test `eval echo '${'$as_ac_var'}'` = yes; then
68303   cat >>confdefs.h <<_ACEOF
68304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68305 _ACEOF
68306
68307 fi
68308 done
68309
68310     fi
68311   fi
68312
68313
68314
68315
68316
68317
68318   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68319 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68320   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68321     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68322   echo $ECHO_N "(cached) $ECHO_C" >&6
68323 else
68324
68325
68326
68327       ac_ext=cc
68328 ac_cpp='$CXXCPP $CPPFLAGS'
68329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68332
68333       cat >conftest.$ac_ext <<_ACEOF
68334 /* confdefs.h.  */
68335 _ACEOF
68336 cat confdefs.h >>conftest.$ac_ext
68337 cat >>conftest.$ac_ext <<_ACEOF
68338 /* end confdefs.h.  */
68339 #include <math.h>
68340 int
68341 main ()
68342 {
68343  hypotl(0, 0);
68344   ;
68345   return 0;
68346 }
68347 _ACEOF
68348 rm -f conftest.$ac_objext
68349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68350   (eval $ac_compile) 2>conftest.er1
68351   ac_status=$?
68352   grep -v '^ *+' conftest.er1 >conftest.err
68353   rm -f conftest.er1
68354   cat conftest.err >&5
68355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68356   (exit $ac_status); } &&
68357          { ac_try='test -z "$ac_cxx_werror_flag"
68358                          || test ! -s conftest.err'
68359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68360   (eval $ac_try) 2>&5
68361   ac_status=$?
68362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68363   (exit $ac_status); }; } &&
68364          { ac_try='test -s conftest.$ac_objext'
68365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68366   (eval $ac_try) 2>&5
68367   ac_status=$?
68368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68369   (exit $ac_status); }; }; then
68370   glibcxx_cv_func_hypotl_use=yes
68371 else
68372   echo "$as_me: failed program was:" >&5
68373 sed 's/^/| /' conftest.$ac_ext >&5
68374
68375 glibcxx_cv_func_hypotl_use=no
68376 fi
68377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68378       ac_ext=c
68379 ac_cpp='$CPP $CPPFLAGS'
68380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68383
68384
68385 fi
68386
68387   fi
68388   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68389 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68390
68391   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68392
68393 for ac_func in hypotl
68394 do
68395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68396 echo "$as_me:$LINENO: checking for $ac_func" >&5
68397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68398 if eval "test \"\${$as_ac_var+set}\" = set"; then
68399   echo $ECHO_N "(cached) $ECHO_C" >&6
68400 else
68401   if test x$gcc_no_link = xyes; then
68402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68404    { (exit 1); exit 1; }; }
68405 fi
68406 cat >conftest.$ac_ext <<_ACEOF
68407 /* confdefs.h.  */
68408 _ACEOF
68409 cat confdefs.h >>conftest.$ac_ext
68410 cat >>conftest.$ac_ext <<_ACEOF
68411 /* end confdefs.h.  */
68412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68414 #define $ac_func innocuous_$ac_func
68415
68416 /* System header to define __stub macros and hopefully few prototypes,
68417     which can conflict with char $ac_func (); below.
68418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68419     <limits.h> exists even on freestanding compilers.  */
68420
68421 #ifdef __STDC__
68422 # include <limits.h>
68423 #else
68424 # include <assert.h>
68425 #endif
68426
68427 #undef $ac_func
68428
68429 /* Override any gcc2 internal prototype to avoid an error.  */
68430 #ifdef __cplusplus
68431 extern "C"
68432 {
68433 #endif
68434 /* We use char because int might match the return type of a gcc2
68435    builtin and then its argument prototype would still apply.  */
68436 char $ac_func ();
68437 /* The GNU C library defines this for functions which it implements
68438     to always fail with ENOSYS.  Some functions are actually named
68439     something starting with __ and the normal name is an alias.  */
68440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68441 choke me
68442 #else
68443 char (*f) () = $ac_func;
68444 #endif
68445 #ifdef __cplusplus
68446 }
68447 #endif
68448
68449 int
68450 main ()
68451 {
68452 return f != $ac_func;
68453   ;
68454   return 0;
68455 }
68456 _ACEOF
68457 rm -f conftest.$ac_objext conftest$ac_exeext
68458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68459   (eval $ac_link) 2>conftest.er1
68460   ac_status=$?
68461   grep -v '^ *+' conftest.er1 >conftest.err
68462   rm -f conftest.er1
68463   cat conftest.err >&5
68464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68465   (exit $ac_status); } &&
68466          { ac_try='test -z "$ac_c_werror_flag"
68467                          || test ! -s conftest.err'
68468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68469   (eval $ac_try) 2>&5
68470   ac_status=$?
68471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68472   (exit $ac_status); }; } &&
68473          { ac_try='test -s conftest$ac_exeext'
68474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68475   (eval $ac_try) 2>&5
68476   ac_status=$?
68477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68478   (exit $ac_status); }; }; then
68479   eval "$as_ac_var=yes"
68480 else
68481   echo "$as_me: failed program was:" >&5
68482 sed 's/^/| /' conftest.$ac_ext >&5
68483
68484 eval "$as_ac_var=no"
68485 fi
68486 rm -f conftest.err conftest.$ac_objext \
68487       conftest$ac_exeext conftest.$ac_ext
68488 fi
68489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68491 if test `eval echo '${'$as_ac_var'}'` = yes; then
68492   cat >>confdefs.h <<_ACEOF
68493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68494 _ACEOF
68495
68496 fi
68497 done
68498
68499   else
68500
68501   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68502 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68503   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68504     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68505   echo $ECHO_N "(cached) $ECHO_C" >&6
68506 else
68507
68508
68509
68510       ac_ext=cc
68511 ac_cpp='$CXXCPP $CPPFLAGS'
68512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68515
68516       cat >conftest.$ac_ext <<_ACEOF
68517 /* confdefs.h.  */
68518 _ACEOF
68519 cat confdefs.h >>conftest.$ac_ext
68520 cat >>conftest.$ac_ext <<_ACEOF
68521 /* end confdefs.h.  */
68522 #include <math.h>
68523 int
68524 main ()
68525 {
68526  _hypotl(0, 0);
68527   ;
68528   return 0;
68529 }
68530 _ACEOF
68531 rm -f conftest.$ac_objext
68532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68533   (eval $ac_compile) 2>conftest.er1
68534   ac_status=$?
68535   grep -v '^ *+' conftest.er1 >conftest.err
68536   rm -f conftest.er1
68537   cat conftest.err >&5
68538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68539   (exit $ac_status); } &&
68540          { ac_try='test -z "$ac_cxx_werror_flag"
68541                          || test ! -s conftest.err'
68542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68543   (eval $ac_try) 2>&5
68544   ac_status=$?
68545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68546   (exit $ac_status); }; } &&
68547          { ac_try='test -s conftest.$ac_objext'
68548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68549   (eval $ac_try) 2>&5
68550   ac_status=$?
68551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68552   (exit $ac_status); }; }; then
68553   glibcxx_cv_func__hypotl_use=yes
68554 else
68555   echo "$as_me: failed program was:" >&5
68556 sed 's/^/| /' conftest.$ac_ext >&5
68557
68558 glibcxx_cv_func__hypotl_use=no
68559 fi
68560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68561       ac_ext=c
68562 ac_cpp='$CPP $CPPFLAGS'
68563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68566
68567
68568 fi
68569
68570   fi
68571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68572 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68573
68574     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68575
68576 for ac_func in _hypotl
68577 do
68578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68579 echo "$as_me:$LINENO: checking for $ac_func" >&5
68580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68581 if eval "test \"\${$as_ac_var+set}\" = set"; then
68582   echo $ECHO_N "(cached) $ECHO_C" >&6
68583 else
68584   if test x$gcc_no_link = xyes; then
68585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68587    { (exit 1); exit 1; }; }
68588 fi
68589 cat >conftest.$ac_ext <<_ACEOF
68590 /* confdefs.h.  */
68591 _ACEOF
68592 cat confdefs.h >>conftest.$ac_ext
68593 cat >>conftest.$ac_ext <<_ACEOF
68594 /* end confdefs.h.  */
68595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68597 #define $ac_func innocuous_$ac_func
68598
68599 /* System header to define __stub macros and hopefully few prototypes,
68600     which can conflict with char $ac_func (); below.
68601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68602     <limits.h> exists even on freestanding compilers.  */
68603
68604 #ifdef __STDC__
68605 # include <limits.h>
68606 #else
68607 # include <assert.h>
68608 #endif
68609
68610 #undef $ac_func
68611
68612 /* Override any gcc2 internal prototype to avoid an error.  */
68613 #ifdef __cplusplus
68614 extern "C"
68615 {
68616 #endif
68617 /* We use char because int might match the return type of a gcc2
68618    builtin and then its argument prototype would still apply.  */
68619 char $ac_func ();
68620 /* The GNU C library defines this for functions which it implements
68621     to always fail with ENOSYS.  Some functions are actually named
68622     something starting with __ and the normal name is an alias.  */
68623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68624 choke me
68625 #else
68626 char (*f) () = $ac_func;
68627 #endif
68628 #ifdef __cplusplus
68629 }
68630 #endif
68631
68632 int
68633 main ()
68634 {
68635 return f != $ac_func;
68636   ;
68637   return 0;
68638 }
68639 _ACEOF
68640 rm -f conftest.$ac_objext conftest$ac_exeext
68641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68642   (eval $ac_link) 2>conftest.er1
68643   ac_status=$?
68644   grep -v '^ *+' conftest.er1 >conftest.err
68645   rm -f conftest.er1
68646   cat conftest.err >&5
68647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68648   (exit $ac_status); } &&
68649          { ac_try='test -z "$ac_c_werror_flag"
68650                          || test ! -s conftest.err'
68651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68652   (eval $ac_try) 2>&5
68653   ac_status=$?
68654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68655   (exit $ac_status); }; } &&
68656          { ac_try='test -s conftest$ac_exeext'
68657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68658   (eval $ac_try) 2>&5
68659   ac_status=$?
68660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68661   (exit $ac_status); }; }; then
68662   eval "$as_ac_var=yes"
68663 else
68664   echo "$as_me: failed program was:" >&5
68665 sed 's/^/| /' conftest.$ac_ext >&5
68666
68667 eval "$as_ac_var=no"
68668 fi
68669 rm -f conftest.err conftest.$ac_objext \
68670       conftest$ac_exeext conftest.$ac_ext
68671 fi
68672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68674 if test `eval echo '${'$as_ac_var'}'` = yes; then
68675   cat >>confdefs.h <<_ACEOF
68676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68677 _ACEOF
68678
68679 fi
68680 done
68681
68682     fi
68683   fi
68684
68685
68686
68687
68688
68689
68690   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68691 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68692   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68693     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68694   echo $ECHO_N "(cached) $ECHO_C" >&6
68695 else
68696
68697
68698
68699       ac_ext=cc
68700 ac_cpp='$CXXCPP $CPPFLAGS'
68701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68704
68705       cat >conftest.$ac_ext <<_ACEOF
68706 /* confdefs.h.  */
68707 _ACEOF
68708 cat confdefs.h >>conftest.$ac_ext
68709 cat >>conftest.$ac_ext <<_ACEOF
68710 /* end confdefs.h.  */
68711 #include <math.h>
68712 int
68713 main ()
68714 {
68715  ldexpl(0, 0);
68716   ;
68717   return 0;
68718 }
68719 _ACEOF
68720 rm -f conftest.$ac_objext
68721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68722   (eval $ac_compile) 2>conftest.er1
68723   ac_status=$?
68724   grep -v '^ *+' conftest.er1 >conftest.err
68725   rm -f conftest.er1
68726   cat conftest.err >&5
68727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68728   (exit $ac_status); } &&
68729          { ac_try='test -z "$ac_cxx_werror_flag"
68730                          || test ! -s conftest.err'
68731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68732   (eval $ac_try) 2>&5
68733   ac_status=$?
68734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68735   (exit $ac_status); }; } &&
68736          { ac_try='test -s conftest.$ac_objext'
68737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68738   (eval $ac_try) 2>&5
68739   ac_status=$?
68740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68741   (exit $ac_status); }; }; then
68742   glibcxx_cv_func_ldexpl_use=yes
68743 else
68744   echo "$as_me: failed program was:" >&5
68745 sed 's/^/| /' conftest.$ac_ext >&5
68746
68747 glibcxx_cv_func_ldexpl_use=no
68748 fi
68749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68750       ac_ext=c
68751 ac_cpp='$CPP $CPPFLAGS'
68752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68755
68756
68757 fi
68758
68759   fi
68760   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68761 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68762
68763   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68764
68765 for ac_func in ldexpl
68766 do
68767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68768 echo "$as_me:$LINENO: checking for $ac_func" >&5
68769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68770 if eval "test \"\${$as_ac_var+set}\" = set"; then
68771   echo $ECHO_N "(cached) $ECHO_C" >&6
68772 else
68773   if test x$gcc_no_link = xyes; then
68774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68776    { (exit 1); exit 1; }; }
68777 fi
68778 cat >conftest.$ac_ext <<_ACEOF
68779 /* confdefs.h.  */
68780 _ACEOF
68781 cat confdefs.h >>conftest.$ac_ext
68782 cat >>conftest.$ac_ext <<_ACEOF
68783 /* end confdefs.h.  */
68784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68786 #define $ac_func innocuous_$ac_func
68787
68788 /* System header to define __stub macros and hopefully few prototypes,
68789     which can conflict with char $ac_func (); below.
68790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68791     <limits.h> exists even on freestanding compilers.  */
68792
68793 #ifdef __STDC__
68794 # include <limits.h>
68795 #else
68796 # include <assert.h>
68797 #endif
68798
68799 #undef $ac_func
68800
68801 /* Override any gcc2 internal prototype to avoid an error.  */
68802 #ifdef __cplusplus
68803 extern "C"
68804 {
68805 #endif
68806 /* We use char because int might match the return type of a gcc2
68807    builtin and then its argument prototype would still apply.  */
68808 char $ac_func ();
68809 /* The GNU C library defines this for functions which it implements
68810     to always fail with ENOSYS.  Some functions are actually named
68811     something starting with __ and the normal name is an alias.  */
68812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68813 choke me
68814 #else
68815 char (*f) () = $ac_func;
68816 #endif
68817 #ifdef __cplusplus
68818 }
68819 #endif
68820
68821 int
68822 main ()
68823 {
68824 return f != $ac_func;
68825   ;
68826   return 0;
68827 }
68828 _ACEOF
68829 rm -f conftest.$ac_objext conftest$ac_exeext
68830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68831   (eval $ac_link) 2>conftest.er1
68832   ac_status=$?
68833   grep -v '^ *+' conftest.er1 >conftest.err
68834   rm -f conftest.er1
68835   cat conftest.err >&5
68836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68837   (exit $ac_status); } &&
68838          { ac_try='test -z "$ac_c_werror_flag"
68839                          || test ! -s conftest.err'
68840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68841   (eval $ac_try) 2>&5
68842   ac_status=$?
68843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68844   (exit $ac_status); }; } &&
68845          { ac_try='test -s conftest$ac_exeext'
68846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68847   (eval $ac_try) 2>&5
68848   ac_status=$?
68849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850   (exit $ac_status); }; }; then
68851   eval "$as_ac_var=yes"
68852 else
68853   echo "$as_me: failed program was:" >&5
68854 sed 's/^/| /' conftest.$ac_ext >&5
68855
68856 eval "$as_ac_var=no"
68857 fi
68858 rm -f conftest.err conftest.$ac_objext \
68859       conftest$ac_exeext conftest.$ac_ext
68860 fi
68861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68863 if test `eval echo '${'$as_ac_var'}'` = yes; then
68864   cat >>confdefs.h <<_ACEOF
68865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68866 _ACEOF
68867
68868 fi
68869 done
68870
68871   else
68872
68873   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68874 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68875   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68876     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68877   echo $ECHO_N "(cached) $ECHO_C" >&6
68878 else
68879
68880
68881
68882       ac_ext=cc
68883 ac_cpp='$CXXCPP $CPPFLAGS'
68884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68887
68888       cat >conftest.$ac_ext <<_ACEOF
68889 /* confdefs.h.  */
68890 _ACEOF
68891 cat confdefs.h >>conftest.$ac_ext
68892 cat >>conftest.$ac_ext <<_ACEOF
68893 /* end confdefs.h.  */
68894 #include <math.h>
68895 int
68896 main ()
68897 {
68898  _ldexpl(0, 0);
68899   ;
68900   return 0;
68901 }
68902 _ACEOF
68903 rm -f conftest.$ac_objext
68904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68905   (eval $ac_compile) 2>conftest.er1
68906   ac_status=$?
68907   grep -v '^ *+' conftest.er1 >conftest.err
68908   rm -f conftest.er1
68909   cat conftest.err >&5
68910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68911   (exit $ac_status); } &&
68912          { ac_try='test -z "$ac_cxx_werror_flag"
68913                          || test ! -s conftest.err'
68914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68915   (eval $ac_try) 2>&5
68916   ac_status=$?
68917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68918   (exit $ac_status); }; } &&
68919          { ac_try='test -s conftest.$ac_objext'
68920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68921   (eval $ac_try) 2>&5
68922   ac_status=$?
68923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68924   (exit $ac_status); }; }; then
68925   glibcxx_cv_func__ldexpl_use=yes
68926 else
68927   echo "$as_me: failed program was:" >&5
68928 sed 's/^/| /' conftest.$ac_ext >&5
68929
68930 glibcxx_cv_func__ldexpl_use=no
68931 fi
68932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68933       ac_ext=c
68934 ac_cpp='$CPP $CPPFLAGS'
68935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68938
68939
68940 fi
68941
68942   fi
68943   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68944 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68945
68946     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68947
68948 for ac_func in _ldexpl
68949 do
68950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68951 echo "$as_me:$LINENO: checking for $ac_func" >&5
68952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68953 if eval "test \"\${$as_ac_var+set}\" = set"; then
68954   echo $ECHO_N "(cached) $ECHO_C" >&6
68955 else
68956   if test x$gcc_no_link = xyes; then
68957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68959    { (exit 1); exit 1; }; }
68960 fi
68961 cat >conftest.$ac_ext <<_ACEOF
68962 /* confdefs.h.  */
68963 _ACEOF
68964 cat confdefs.h >>conftest.$ac_ext
68965 cat >>conftest.$ac_ext <<_ACEOF
68966 /* end confdefs.h.  */
68967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68969 #define $ac_func innocuous_$ac_func
68970
68971 /* System header to define __stub macros and hopefully few prototypes,
68972     which can conflict with char $ac_func (); below.
68973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68974     <limits.h> exists even on freestanding compilers.  */
68975
68976 #ifdef __STDC__
68977 # include <limits.h>
68978 #else
68979 # include <assert.h>
68980 #endif
68981
68982 #undef $ac_func
68983
68984 /* Override any gcc2 internal prototype to avoid an error.  */
68985 #ifdef __cplusplus
68986 extern "C"
68987 {
68988 #endif
68989 /* We use char because int might match the return type of a gcc2
68990    builtin and then its argument prototype would still apply.  */
68991 char $ac_func ();
68992 /* The GNU C library defines this for functions which it implements
68993     to always fail with ENOSYS.  Some functions are actually named
68994     something starting with __ and the normal name is an alias.  */
68995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68996 choke me
68997 #else
68998 char (*f) () = $ac_func;
68999 #endif
69000 #ifdef __cplusplus
69001 }
69002 #endif
69003
69004 int
69005 main ()
69006 {
69007 return f != $ac_func;
69008   ;
69009   return 0;
69010 }
69011 _ACEOF
69012 rm -f conftest.$ac_objext conftest$ac_exeext
69013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69014   (eval $ac_link) 2>conftest.er1
69015   ac_status=$?
69016   grep -v '^ *+' conftest.er1 >conftest.err
69017   rm -f conftest.er1
69018   cat conftest.err >&5
69019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69020   (exit $ac_status); } &&
69021          { ac_try='test -z "$ac_c_werror_flag"
69022                          || test ! -s conftest.err'
69023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69024   (eval $ac_try) 2>&5
69025   ac_status=$?
69026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69027   (exit $ac_status); }; } &&
69028          { ac_try='test -s conftest$ac_exeext'
69029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69030   (eval $ac_try) 2>&5
69031   ac_status=$?
69032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69033   (exit $ac_status); }; }; then
69034   eval "$as_ac_var=yes"
69035 else
69036   echo "$as_me: failed program was:" >&5
69037 sed 's/^/| /' conftest.$ac_ext >&5
69038
69039 eval "$as_ac_var=no"
69040 fi
69041 rm -f conftest.err conftest.$ac_objext \
69042       conftest$ac_exeext conftest.$ac_ext
69043 fi
69044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69046 if test `eval echo '${'$as_ac_var'}'` = yes; then
69047   cat >>confdefs.h <<_ACEOF
69048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69049 _ACEOF
69050
69051 fi
69052 done
69053
69054     fi
69055   fi
69056
69057
69058
69059
69060
69061
69062   echo "$as_me:$LINENO: checking for logl declaration" >&5
69063 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69064   if test x${glibcxx_cv_func_logl_use+set} != xset; then
69065     if test "${glibcxx_cv_func_logl_use+set}" = set; then
69066   echo $ECHO_N "(cached) $ECHO_C" >&6
69067 else
69068
69069
69070
69071       ac_ext=cc
69072 ac_cpp='$CXXCPP $CPPFLAGS'
69073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69076
69077       cat >conftest.$ac_ext <<_ACEOF
69078 /* confdefs.h.  */
69079 _ACEOF
69080 cat confdefs.h >>conftest.$ac_ext
69081 cat >>conftest.$ac_ext <<_ACEOF
69082 /* end confdefs.h.  */
69083 #include <math.h>
69084                       #ifdef HAVE_IEEEFP_H
69085                       #include <ieeefp.h>
69086                       #endif
69087
69088 int
69089 main ()
69090 {
69091  logl(0);
69092   ;
69093   return 0;
69094 }
69095 _ACEOF
69096 rm -f conftest.$ac_objext
69097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69098   (eval $ac_compile) 2>conftest.er1
69099   ac_status=$?
69100   grep -v '^ *+' conftest.er1 >conftest.err
69101   rm -f conftest.er1
69102   cat conftest.err >&5
69103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69104   (exit $ac_status); } &&
69105          { ac_try='test -z "$ac_cxx_werror_flag"
69106                          || test ! -s conftest.err'
69107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69108   (eval $ac_try) 2>&5
69109   ac_status=$?
69110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69111   (exit $ac_status); }; } &&
69112          { ac_try='test -s conftest.$ac_objext'
69113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69114   (eval $ac_try) 2>&5
69115   ac_status=$?
69116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69117   (exit $ac_status); }; }; then
69118   glibcxx_cv_func_logl_use=yes
69119 else
69120   echo "$as_me: failed program was:" >&5
69121 sed 's/^/| /' conftest.$ac_ext >&5
69122
69123 glibcxx_cv_func_logl_use=no
69124 fi
69125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69126       ac_ext=c
69127 ac_cpp='$CPP $CPPFLAGS'
69128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69131
69132
69133 fi
69134
69135   fi
69136   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69137 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69138
69139   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69140
69141 for ac_func in logl
69142 do
69143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69144 echo "$as_me:$LINENO: checking for $ac_func" >&5
69145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69146 if eval "test \"\${$as_ac_var+set}\" = set"; then
69147   echo $ECHO_N "(cached) $ECHO_C" >&6
69148 else
69149   if test x$gcc_no_link = xyes; then
69150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69152    { (exit 1); exit 1; }; }
69153 fi
69154 cat >conftest.$ac_ext <<_ACEOF
69155 /* confdefs.h.  */
69156 _ACEOF
69157 cat confdefs.h >>conftest.$ac_ext
69158 cat >>conftest.$ac_ext <<_ACEOF
69159 /* end confdefs.h.  */
69160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69162 #define $ac_func innocuous_$ac_func
69163
69164 /* System header to define __stub macros and hopefully few prototypes,
69165     which can conflict with char $ac_func (); below.
69166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69167     <limits.h> exists even on freestanding compilers.  */
69168
69169 #ifdef __STDC__
69170 # include <limits.h>
69171 #else
69172 # include <assert.h>
69173 #endif
69174
69175 #undef $ac_func
69176
69177 /* Override any gcc2 internal prototype to avoid an error.  */
69178 #ifdef __cplusplus
69179 extern "C"
69180 {
69181 #endif
69182 /* We use char because int might match the return type of a gcc2
69183    builtin and then its argument prototype would still apply.  */
69184 char $ac_func ();
69185 /* The GNU C library defines this for functions which it implements
69186     to always fail with ENOSYS.  Some functions are actually named
69187     something starting with __ and the normal name is an alias.  */
69188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69189 choke me
69190 #else
69191 char (*f) () = $ac_func;
69192 #endif
69193 #ifdef __cplusplus
69194 }
69195 #endif
69196
69197 int
69198 main ()
69199 {
69200 return f != $ac_func;
69201   ;
69202   return 0;
69203 }
69204 _ACEOF
69205 rm -f conftest.$ac_objext conftest$ac_exeext
69206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69207   (eval $ac_link) 2>conftest.er1
69208   ac_status=$?
69209   grep -v '^ *+' conftest.er1 >conftest.err
69210   rm -f conftest.er1
69211   cat conftest.err >&5
69212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69213   (exit $ac_status); } &&
69214          { ac_try='test -z "$ac_c_werror_flag"
69215                          || test ! -s conftest.err'
69216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69217   (eval $ac_try) 2>&5
69218   ac_status=$?
69219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69220   (exit $ac_status); }; } &&
69221          { ac_try='test -s conftest$ac_exeext'
69222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69223   (eval $ac_try) 2>&5
69224   ac_status=$?
69225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69226   (exit $ac_status); }; }; then
69227   eval "$as_ac_var=yes"
69228 else
69229   echo "$as_me: failed program was:" >&5
69230 sed 's/^/| /' conftest.$ac_ext >&5
69231
69232 eval "$as_ac_var=no"
69233 fi
69234 rm -f conftest.err conftest.$ac_objext \
69235       conftest$ac_exeext conftest.$ac_ext
69236 fi
69237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69239 if test `eval echo '${'$as_ac_var'}'` = yes; then
69240   cat >>confdefs.h <<_ACEOF
69241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69242 _ACEOF
69243
69244 fi
69245 done
69246
69247   else
69248
69249   echo "$as_me:$LINENO: checking for _logl declaration" >&5
69250 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69251   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69252     if test "${glibcxx_cv_func__logl_use+set}" = set; then
69253   echo $ECHO_N "(cached) $ECHO_C" >&6
69254 else
69255
69256
69257
69258       ac_ext=cc
69259 ac_cpp='$CXXCPP $CPPFLAGS'
69260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69263
69264       cat >conftest.$ac_ext <<_ACEOF
69265 /* confdefs.h.  */
69266 _ACEOF
69267 cat confdefs.h >>conftest.$ac_ext
69268 cat >>conftest.$ac_ext <<_ACEOF
69269 /* end confdefs.h.  */
69270 #include <math.h>
69271                       #ifdef HAVE_IEEEFP_H
69272                       #include <ieeefp.h>
69273                       #endif
69274
69275 int
69276 main ()
69277 {
69278  _logl(0);
69279   ;
69280   return 0;
69281 }
69282 _ACEOF
69283 rm -f conftest.$ac_objext
69284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69285   (eval $ac_compile) 2>conftest.er1
69286   ac_status=$?
69287   grep -v '^ *+' conftest.er1 >conftest.err
69288   rm -f conftest.er1
69289   cat conftest.err >&5
69290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69291   (exit $ac_status); } &&
69292          { ac_try='test -z "$ac_cxx_werror_flag"
69293                          || test ! -s conftest.err'
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); }; } &&
69299          { ac_try='test -s conftest.$ac_objext'
69300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69301   (eval $ac_try) 2>&5
69302   ac_status=$?
69303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69304   (exit $ac_status); }; }; then
69305   glibcxx_cv_func__logl_use=yes
69306 else
69307   echo "$as_me: failed program was:" >&5
69308 sed 's/^/| /' conftest.$ac_ext >&5
69309
69310 glibcxx_cv_func__logl_use=no
69311 fi
69312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69313       ac_ext=c
69314 ac_cpp='$CPP $CPPFLAGS'
69315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69318
69319
69320 fi
69321
69322   fi
69323   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69324 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69325
69326     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69327
69328 for ac_func in _logl
69329 do
69330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69331 echo "$as_me:$LINENO: checking for $ac_func" >&5
69332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69333 if eval "test \"\${$as_ac_var+set}\" = set"; then
69334   echo $ECHO_N "(cached) $ECHO_C" >&6
69335 else
69336   if test x$gcc_no_link = xyes; then
69337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69339    { (exit 1); exit 1; }; }
69340 fi
69341 cat >conftest.$ac_ext <<_ACEOF
69342 /* confdefs.h.  */
69343 _ACEOF
69344 cat confdefs.h >>conftest.$ac_ext
69345 cat >>conftest.$ac_ext <<_ACEOF
69346 /* end confdefs.h.  */
69347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69349 #define $ac_func innocuous_$ac_func
69350
69351 /* System header to define __stub macros and hopefully few prototypes,
69352     which can conflict with char $ac_func (); below.
69353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69354     <limits.h> exists even on freestanding compilers.  */
69355
69356 #ifdef __STDC__
69357 # include <limits.h>
69358 #else
69359 # include <assert.h>
69360 #endif
69361
69362 #undef $ac_func
69363
69364 /* Override any gcc2 internal prototype to avoid an error.  */
69365 #ifdef __cplusplus
69366 extern "C"
69367 {
69368 #endif
69369 /* We use char because int might match the return type of a gcc2
69370    builtin and then its argument prototype would still apply.  */
69371 char $ac_func ();
69372 /* The GNU C library defines this for functions which it implements
69373     to always fail with ENOSYS.  Some functions are actually named
69374     something starting with __ and the normal name is an alias.  */
69375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69376 choke me
69377 #else
69378 char (*f) () = $ac_func;
69379 #endif
69380 #ifdef __cplusplus
69381 }
69382 #endif
69383
69384 int
69385 main ()
69386 {
69387 return f != $ac_func;
69388   ;
69389   return 0;
69390 }
69391 _ACEOF
69392 rm -f conftest.$ac_objext conftest$ac_exeext
69393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69394   (eval $ac_link) 2>conftest.er1
69395   ac_status=$?
69396   grep -v '^ *+' conftest.er1 >conftest.err
69397   rm -f conftest.er1
69398   cat conftest.err >&5
69399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69400   (exit $ac_status); } &&
69401          { ac_try='test -z "$ac_c_werror_flag"
69402                          || test ! -s conftest.err'
69403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69404   (eval $ac_try) 2>&5
69405   ac_status=$?
69406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69407   (exit $ac_status); }; } &&
69408          { ac_try='test -s conftest$ac_exeext'
69409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69410   (eval $ac_try) 2>&5
69411   ac_status=$?
69412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69413   (exit $ac_status); }; }; then
69414   eval "$as_ac_var=yes"
69415 else
69416   echo "$as_me: failed program was:" >&5
69417 sed 's/^/| /' conftest.$ac_ext >&5
69418
69419 eval "$as_ac_var=no"
69420 fi
69421 rm -f conftest.err conftest.$ac_objext \
69422       conftest$ac_exeext conftest.$ac_ext
69423 fi
69424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69426 if test `eval echo '${'$as_ac_var'}'` = yes; then
69427   cat >>confdefs.h <<_ACEOF
69428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69429 _ACEOF
69430
69431 fi
69432 done
69433
69434     fi
69435   fi
69436
69437
69438
69439
69440
69441
69442   echo "$as_me:$LINENO: checking for log10l declaration" >&5
69443 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69444   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69445     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69446   echo $ECHO_N "(cached) $ECHO_C" >&6
69447 else
69448
69449
69450
69451       ac_ext=cc
69452 ac_cpp='$CXXCPP $CPPFLAGS'
69453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69456
69457       cat >conftest.$ac_ext <<_ACEOF
69458 /* confdefs.h.  */
69459 _ACEOF
69460 cat confdefs.h >>conftest.$ac_ext
69461 cat >>conftest.$ac_ext <<_ACEOF
69462 /* end confdefs.h.  */
69463 #include <math.h>
69464                       #ifdef HAVE_IEEEFP_H
69465                       #include <ieeefp.h>
69466                       #endif
69467
69468 int
69469 main ()
69470 {
69471  log10l(0);
69472   ;
69473   return 0;
69474 }
69475 _ACEOF
69476 rm -f conftest.$ac_objext
69477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69478   (eval $ac_compile) 2>conftest.er1
69479   ac_status=$?
69480   grep -v '^ *+' conftest.er1 >conftest.err
69481   rm -f conftest.er1
69482   cat conftest.err >&5
69483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69484   (exit $ac_status); } &&
69485          { ac_try='test -z "$ac_cxx_werror_flag"
69486                          || test ! -s conftest.err'
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); }; } &&
69492          { ac_try='test -s conftest.$ac_objext'
69493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69494   (eval $ac_try) 2>&5
69495   ac_status=$?
69496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69497   (exit $ac_status); }; }; then
69498   glibcxx_cv_func_log10l_use=yes
69499 else
69500   echo "$as_me: failed program was:" >&5
69501 sed 's/^/| /' conftest.$ac_ext >&5
69502
69503 glibcxx_cv_func_log10l_use=no
69504 fi
69505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69506       ac_ext=c
69507 ac_cpp='$CPP $CPPFLAGS'
69508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69511
69512
69513 fi
69514
69515   fi
69516   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69517 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69518
69519   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69520
69521 for ac_func in log10l
69522 do
69523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69524 echo "$as_me:$LINENO: checking for $ac_func" >&5
69525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69526 if eval "test \"\${$as_ac_var+set}\" = set"; then
69527   echo $ECHO_N "(cached) $ECHO_C" >&6
69528 else
69529   if test x$gcc_no_link = xyes; then
69530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69532    { (exit 1); exit 1; }; }
69533 fi
69534 cat >conftest.$ac_ext <<_ACEOF
69535 /* confdefs.h.  */
69536 _ACEOF
69537 cat confdefs.h >>conftest.$ac_ext
69538 cat >>conftest.$ac_ext <<_ACEOF
69539 /* end confdefs.h.  */
69540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69542 #define $ac_func innocuous_$ac_func
69543
69544 /* System header to define __stub macros and hopefully few prototypes,
69545     which can conflict with char $ac_func (); below.
69546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69547     <limits.h> exists even on freestanding compilers.  */
69548
69549 #ifdef __STDC__
69550 # include <limits.h>
69551 #else
69552 # include <assert.h>
69553 #endif
69554
69555 #undef $ac_func
69556
69557 /* Override any gcc2 internal prototype to avoid an error.  */
69558 #ifdef __cplusplus
69559 extern "C"
69560 {
69561 #endif
69562 /* We use char because int might match the return type of a gcc2
69563    builtin and then its argument prototype would still apply.  */
69564 char $ac_func ();
69565 /* The GNU C library defines this for functions which it implements
69566     to always fail with ENOSYS.  Some functions are actually named
69567     something starting with __ and the normal name is an alias.  */
69568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69569 choke me
69570 #else
69571 char (*f) () = $ac_func;
69572 #endif
69573 #ifdef __cplusplus
69574 }
69575 #endif
69576
69577 int
69578 main ()
69579 {
69580 return f != $ac_func;
69581   ;
69582   return 0;
69583 }
69584 _ACEOF
69585 rm -f conftest.$ac_objext conftest$ac_exeext
69586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69587   (eval $ac_link) 2>conftest.er1
69588   ac_status=$?
69589   grep -v '^ *+' conftest.er1 >conftest.err
69590   rm -f conftest.er1
69591   cat conftest.err >&5
69592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69593   (exit $ac_status); } &&
69594          { ac_try='test -z "$ac_c_werror_flag"
69595                          || test ! -s conftest.err'
69596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69597   (eval $ac_try) 2>&5
69598   ac_status=$?
69599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69600   (exit $ac_status); }; } &&
69601          { ac_try='test -s conftest$ac_exeext'
69602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69603   (eval $ac_try) 2>&5
69604   ac_status=$?
69605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69606   (exit $ac_status); }; }; then
69607   eval "$as_ac_var=yes"
69608 else
69609   echo "$as_me: failed program was:" >&5
69610 sed 's/^/| /' conftest.$ac_ext >&5
69611
69612 eval "$as_ac_var=no"
69613 fi
69614 rm -f conftest.err conftest.$ac_objext \
69615       conftest$ac_exeext conftest.$ac_ext
69616 fi
69617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69619 if test `eval echo '${'$as_ac_var'}'` = yes; then
69620   cat >>confdefs.h <<_ACEOF
69621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69622 _ACEOF
69623
69624 fi
69625 done
69626
69627   else
69628
69629   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69630 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69631   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69632     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69633   echo $ECHO_N "(cached) $ECHO_C" >&6
69634 else
69635
69636
69637
69638       ac_ext=cc
69639 ac_cpp='$CXXCPP $CPPFLAGS'
69640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69643
69644       cat >conftest.$ac_ext <<_ACEOF
69645 /* confdefs.h.  */
69646 _ACEOF
69647 cat confdefs.h >>conftest.$ac_ext
69648 cat >>conftest.$ac_ext <<_ACEOF
69649 /* end confdefs.h.  */
69650 #include <math.h>
69651                       #ifdef HAVE_IEEEFP_H
69652                       #include <ieeefp.h>
69653                       #endif
69654
69655 int
69656 main ()
69657 {
69658  _log10l(0);
69659   ;
69660   return 0;
69661 }
69662 _ACEOF
69663 rm -f conftest.$ac_objext
69664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69665   (eval $ac_compile) 2>conftest.er1
69666   ac_status=$?
69667   grep -v '^ *+' conftest.er1 >conftest.err
69668   rm -f conftest.er1
69669   cat conftest.err >&5
69670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69671   (exit $ac_status); } &&
69672          { ac_try='test -z "$ac_cxx_werror_flag"
69673                          || test ! -s conftest.err'
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); }; } &&
69679          { ac_try='test -s conftest.$ac_objext'
69680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69681   (eval $ac_try) 2>&5
69682   ac_status=$?
69683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69684   (exit $ac_status); }; }; then
69685   glibcxx_cv_func__log10l_use=yes
69686 else
69687   echo "$as_me: failed program was:" >&5
69688 sed 's/^/| /' conftest.$ac_ext >&5
69689
69690 glibcxx_cv_func__log10l_use=no
69691 fi
69692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69693       ac_ext=c
69694 ac_cpp='$CPP $CPPFLAGS'
69695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69698
69699
69700 fi
69701
69702   fi
69703   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69704 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69705
69706     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69707
69708 for ac_func in _log10l
69709 do
69710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69711 echo "$as_me:$LINENO: checking for $ac_func" >&5
69712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69713 if eval "test \"\${$as_ac_var+set}\" = set"; then
69714   echo $ECHO_N "(cached) $ECHO_C" >&6
69715 else
69716   if test x$gcc_no_link = xyes; then
69717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69719    { (exit 1); exit 1; }; }
69720 fi
69721 cat >conftest.$ac_ext <<_ACEOF
69722 /* confdefs.h.  */
69723 _ACEOF
69724 cat confdefs.h >>conftest.$ac_ext
69725 cat >>conftest.$ac_ext <<_ACEOF
69726 /* end confdefs.h.  */
69727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69729 #define $ac_func innocuous_$ac_func
69730
69731 /* System header to define __stub macros and hopefully few prototypes,
69732     which can conflict with char $ac_func (); below.
69733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69734     <limits.h> exists even on freestanding compilers.  */
69735
69736 #ifdef __STDC__
69737 # include <limits.h>
69738 #else
69739 # include <assert.h>
69740 #endif
69741
69742 #undef $ac_func
69743
69744 /* Override any gcc2 internal prototype to avoid an error.  */
69745 #ifdef __cplusplus
69746 extern "C"
69747 {
69748 #endif
69749 /* We use char because int might match the return type of a gcc2
69750    builtin and then its argument prototype would still apply.  */
69751 char $ac_func ();
69752 /* The GNU C library defines this for functions which it implements
69753     to always fail with ENOSYS.  Some functions are actually named
69754     something starting with __ and the normal name is an alias.  */
69755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69756 choke me
69757 #else
69758 char (*f) () = $ac_func;
69759 #endif
69760 #ifdef __cplusplus
69761 }
69762 #endif
69763
69764 int
69765 main ()
69766 {
69767 return f != $ac_func;
69768   ;
69769   return 0;
69770 }
69771 _ACEOF
69772 rm -f conftest.$ac_objext conftest$ac_exeext
69773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69774   (eval $ac_link) 2>conftest.er1
69775   ac_status=$?
69776   grep -v '^ *+' conftest.er1 >conftest.err
69777   rm -f conftest.er1
69778   cat conftest.err >&5
69779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69780   (exit $ac_status); } &&
69781          { ac_try='test -z "$ac_c_werror_flag"
69782                          || test ! -s conftest.err'
69783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69784   (eval $ac_try) 2>&5
69785   ac_status=$?
69786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69787   (exit $ac_status); }; } &&
69788          { ac_try='test -s conftest$ac_exeext'
69789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69790   (eval $ac_try) 2>&5
69791   ac_status=$?
69792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69793   (exit $ac_status); }; }; then
69794   eval "$as_ac_var=yes"
69795 else
69796   echo "$as_me: failed program was:" >&5
69797 sed 's/^/| /' conftest.$ac_ext >&5
69798
69799 eval "$as_ac_var=no"
69800 fi
69801 rm -f conftest.err conftest.$ac_objext \
69802       conftest$ac_exeext conftest.$ac_ext
69803 fi
69804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69806 if test `eval echo '${'$as_ac_var'}'` = yes; then
69807   cat >>confdefs.h <<_ACEOF
69808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69809 _ACEOF
69810
69811 fi
69812 done
69813
69814     fi
69815   fi
69816
69817
69818
69819
69820
69821
69822   echo "$as_me:$LINENO: checking for modfl declaration" >&5
69823 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69824   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69825     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69826   echo $ECHO_N "(cached) $ECHO_C" >&6
69827 else
69828
69829
69830
69831       ac_ext=cc
69832 ac_cpp='$CXXCPP $CPPFLAGS'
69833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69836
69837       cat >conftest.$ac_ext <<_ACEOF
69838 /* confdefs.h.  */
69839 _ACEOF
69840 cat confdefs.h >>conftest.$ac_ext
69841 cat >>conftest.$ac_ext <<_ACEOF
69842 /* end confdefs.h.  */
69843 #include <math.h>
69844 int
69845 main ()
69846 {
69847  modfl(0, 0);
69848   ;
69849   return 0;
69850 }
69851 _ACEOF
69852 rm -f conftest.$ac_objext
69853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69854   (eval $ac_compile) 2>conftest.er1
69855   ac_status=$?
69856   grep -v '^ *+' conftest.er1 >conftest.err
69857   rm -f conftest.er1
69858   cat conftest.err >&5
69859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69860   (exit $ac_status); } &&
69861          { ac_try='test -z "$ac_cxx_werror_flag"
69862                          || test ! -s conftest.err'
69863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69864   (eval $ac_try) 2>&5
69865   ac_status=$?
69866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69867   (exit $ac_status); }; } &&
69868          { ac_try='test -s conftest.$ac_objext'
69869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69870   (eval $ac_try) 2>&5
69871   ac_status=$?
69872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69873   (exit $ac_status); }; }; then
69874   glibcxx_cv_func_modfl_use=yes
69875 else
69876   echo "$as_me: failed program was:" >&5
69877 sed 's/^/| /' conftest.$ac_ext >&5
69878
69879 glibcxx_cv_func_modfl_use=no
69880 fi
69881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69882       ac_ext=c
69883 ac_cpp='$CPP $CPPFLAGS'
69884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69887
69888
69889 fi
69890
69891   fi
69892   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69893 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69894
69895   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69896
69897 for ac_func in modfl
69898 do
69899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69900 echo "$as_me:$LINENO: checking for $ac_func" >&5
69901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69902 if eval "test \"\${$as_ac_var+set}\" = set"; then
69903   echo $ECHO_N "(cached) $ECHO_C" >&6
69904 else
69905   if test x$gcc_no_link = xyes; then
69906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69908    { (exit 1); exit 1; }; }
69909 fi
69910 cat >conftest.$ac_ext <<_ACEOF
69911 /* confdefs.h.  */
69912 _ACEOF
69913 cat confdefs.h >>conftest.$ac_ext
69914 cat >>conftest.$ac_ext <<_ACEOF
69915 /* end confdefs.h.  */
69916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69918 #define $ac_func innocuous_$ac_func
69919
69920 /* System header to define __stub macros and hopefully few prototypes,
69921     which can conflict with char $ac_func (); below.
69922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69923     <limits.h> exists even on freestanding compilers.  */
69924
69925 #ifdef __STDC__
69926 # include <limits.h>
69927 #else
69928 # include <assert.h>
69929 #endif
69930
69931 #undef $ac_func
69932
69933 /* Override any gcc2 internal prototype to avoid an error.  */
69934 #ifdef __cplusplus
69935 extern "C"
69936 {
69937 #endif
69938 /* We use char because int might match the return type of a gcc2
69939    builtin and then its argument prototype would still apply.  */
69940 char $ac_func ();
69941 /* The GNU C library defines this for functions which it implements
69942     to always fail with ENOSYS.  Some functions are actually named
69943     something starting with __ and the normal name is an alias.  */
69944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69945 choke me
69946 #else
69947 char (*f) () = $ac_func;
69948 #endif
69949 #ifdef __cplusplus
69950 }
69951 #endif
69952
69953 int
69954 main ()
69955 {
69956 return f != $ac_func;
69957   ;
69958   return 0;
69959 }
69960 _ACEOF
69961 rm -f conftest.$ac_objext conftest$ac_exeext
69962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69963   (eval $ac_link) 2>conftest.er1
69964   ac_status=$?
69965   grep -v '^ *+' conftest.er1 >conftest.err
69966   rm -f conftest.er1
69967   cat conftest.err >&5
69968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69969   (exit $ac_status); } &&
69970          { ac_try='test -z "$ac_c_werror_flag"
69971                          || test ! -s conftest.err'
69972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69973   (eval $ac_try) 2>&5
69974   ac_status=$?
69975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69976   (exit $ac_status); }; } &&
69977          { ac_try='test -s conftest$ac_exeext'
69978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69979   (eval $ac_try) 2>&5
69980   ac_status=$?
69981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69982   (exit $ac_status); }; }; then
69983   eval "$as_ac_var=yes"
69984 else
69985   echo "$as_me: failed program was:" >&5
69986 sed 's/^/| /' conftest.$ac_ext >&5
69987
69988 eval "$as_ac_var=no"
69989 fi
69990 rm -f conftest.err conftest.$ac_objext \
69991       conftest$ac_exeext conftest.$ac_ext
69992 fi
69993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69995 if test `eval echo '${'$as_ac_var'}'` = yes; then
69996   cat >>confdefs.h <<_ACEOF
69997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69998 _ACEOF
69999
70000 fi
70001 done
70002
70003   else
70004
70005   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70006 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70007   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70008     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70009   echo $ECHO_N "(cached) $ECHO_C" >&6
70010 else
70011
70012
70013
70014       ac_ext=cc
70015 ac_cpp='$CXXCPP $CPPFLAGS'
70016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70019
70020       cat >conftest.$ac_ext <<_ACEOF
70021 /* confdefs.h.  */
70022 _ACEOF
70023 cat confdefs.h >>conftest.$ac_ext
70024 cat >>conftest.$ac_ext <<_ACEOF
70025 /* end confdefs.h.  */
70026 #include <math.h>
70027 int
70028 main ()
70029 {
70030  _modfl(0, 0);
70031   ;
70032   return 0;
70033 }
70034 _ACEOF
70035 rm -f conftest.$ac_objext
70036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70037   (eval $ac_compile) 2>conftest.er1
70038   ac_status=$?
70039   grep -v '^ *+' conftest.er1 >conftest.err
70040   rm -f conftest.er1
70041   cat conftest.err >&5
70042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70043   (exit $ac_status); } &&
70044          { ac_try='test -z "$ac_cxx_werror_flag"
70045                          || test ! -s conftest.err'
70046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70047   (eval $ac_try) 2>&5
70048   ac_status=$?
70049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70050   (exit $ac_status); }; } &&
70051          { ac_try='test -s conftest.$ac_objext'
70052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70053   (eval $ac_try) 2>&5
70054   ac_status=$?
70055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70056   (exit $ac_status); }; }; then
70057   glibcxx_cv_func__modfl_use=yes
70058 else
70059   echo "$as_me: failed program was:" >&5
70060 sed 's/^/| /' conftest.$ac_ext >&5
70061
70062 glibcxx_cv_func__modfl_use=no
70063 fi
70064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70065       ac_ext=c
70066 ac_cpp='$CPP $CPPFLAGS'
70067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70070
70071
70072 fi
70073
70074   fi
70075   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70076 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70077
70078     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70079
70080 for ac_func in _modfl
70081 do
70082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70083 echo "$as_me:$LINENO: checking for $ac_func" >&5
70084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70085 if eval "test \"\${$as_ac_var+set}\" = set"; then
70086   echo $ECHO_N "(cached) $ECHO_C" >&6
70087 else
70088   if test x$gcc_no_link = xyes; then
70089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70091    { (exit 1); exit 1; }; }
70092 fi
70093 cat >conftest.$ac_ext <<_ACEOF
70094 /* confdefs.h.  */
70095 _ACEOF
70096 cat confdefs.h >>conftest.$ac_ext
70097 cat >>conftest.$ac_ext <<_ACEOF
70098 /* end confdefs.h.  */
70099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70101 #define $ac_func innocuous_$ac_func
70102
70103 /* System header to define __stub macros and hopefully few prototypes,
70104     which can conflict with char $ac_func (); below.
70105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70106     <limits.h> exists even on freestanding compilers.  */
70107
70108 #ifdef __STDC__
70109 # include <limits.h>
70110 #else
70111 # include <assert.h>
70112 #endif
70113
70114 #undef $ac_func
70115
70116 /* Override any gcc2 internal prototype to avoid an error.  */
70117 #ifdef __cplusplus
70118 extern "C"
70119 {
70120 #endif
70121 /* We use char because int might match the return type of a gcc2
70122    builtin and then its argument prototype would still apply.  */
70123 char $ac_func ();
70124 /* The GNU C library defines this for functions which it implements
70125     to always fail with ENOSYS.  Some functions are actually named
70126     something starting with __ and the normal name is an alias.  */
70127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70128 choke me
70129 #else
70130 char (*f) () = $ac_func;
70131 #endif
70132 #ifdef __cplusplus
70133 }
70134 #endif
70135
70136 int
70137 main ()
70138 {
70139 return f != $ac_func;
70140   ;
70141   return 0;
70142 }
70143 _ACEOF
70144 rm -f conftest.$ac_objext conftest$ac_exeext
70145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70146   (eval $ac_link) 2>conftest.er1
70147   ac_status=$?
70148   grep -v '^ *+' conftest.er1 >conftest.err
70149   rm -f conftest.er1
70150   cat conftest.err >&5
70151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70152   (exit $ac_status); } &&
70153          { ac_try='test -z "$ac_c_werror_flag"
70154                          || test ! -s conftest.err'
70155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70156   (eval $ac_try) 2>&5
70157   ac_status=$?
70158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70159   (exit $ac_status); }; } &&
70160          { ac_try='test -s conftest$ac_exeext'
70161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70162   (eval $ac_try) 2>&5
70163   ac_status=$?
70164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70165   (exit $ac_status); }; }; then
70166   eval "$as_ac_var=yes"
70167 else
70168   echo "$as_me: failed program was:" >&5
70169 sed 's/^/| /' conftest.$ac_ext >&5
70170
70171 eval "$as_ac_var=no"
70172 fi
70173 rm -f conftest.err conftest.$ac_objext \
70174       conftest$ac_exeext conftest.$ac_ext
70175 fi
70176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70178 if test `eval echo '${'$as_ac_var'}'` = yes; then
70179   cat >>confdefs.h <<_ACEOF
70180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70181 _ACEOF
70182
70183 fi
70184 done
70185
70186     fi
70187   fi
70188
70189
70190
70191
70192
70193
70194   echo "$as_me:$LINENO: checking for powl declaration" >&5
70195 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70196   if test x${glibcxx_cv_func_powl_use+set} != xset; then
70197     if test "${glibcxx_cv_func_powl_use+set}" = set; then
70198   echo $ECHO_N "(cached) $ECHO_C" >&6
70199 else
70200
70201
70202
70203       ac_ext=cc
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208
70209       cat >conftest.$ac_ext <<_ACEOF
70210 /* confdefs.h.  */
70211 _ACEOF
70212 cat confdefs.h >>conftest.$ac_ext
70213 cat >>conftest.$ac_ext <<_ACEOF
70214 /* end confdefs.h.  */
70215 #include <math.h>
70216 int
70217 main ()
70218 {
70219  powl(0, 0);
70220   ;
70221   return 0;
70222 }
70223 _ACEOF
70224 rm -f conftest.$ac_objext
70225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70226   (eval $ac_compile) 2>conftest.er1
70227   ac_status=$?
70228   grep -v '^ *+' conftest.er1 >conftest.err
70229   rm -f conftest.er1
70230   cat conftest.err >&5
70231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70232   (exit $ac_status); } &&
70233          { ac_try='test -z "$ac_cxx_werror_flag"
70234                          || test ! -s conftest.err'
70235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70236   (eval $ac_try) 2>&5
70237   ac_status=$?
70238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70239   (exit $ac_status); }; } &&
70240          { ac_try='test -s conftest.$ac_objext'
70241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70242   (eval $ac_try) 2>&5
70243   ac_status=$?
70244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70245   (exit $ac_status); }; }; then
70246   glibcxx_cv_func_powl_use=yes
70247 else
70248   echo "$as_me: failed program was:" >&5
70249 sed 's/^/| /' conftest.$ac_ext >&5
70250
70251 glibcxx_cv_func_powl_use=no
70252 fi
70253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70254       ac_ext=c
70255 ac_cpp='$CPP $CPPFLAGS'
70256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70259
70260
70261 fi
70262
70263   fi
70264   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70265 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70266
70267   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70268
70269 for ac_func in powl
70270 do
70271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70272 echo "$as_me:$LINENO: checking for $ac_func" >&5
70273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70274 if eval "test \"\${$as_ac_var+set}\" = set"; then
70275   echo $ECHO_N "(cached) $ECHO_C" >&6
70276 else
70277   if test x$gcc_no_link = xyes; then
70278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70280    { (exit 1); exit 1; }; }
70281 fi
70282 cat >conftest.$ac_ext <<_ACEOF
70283 /* confdefs.h.  */
70284 _ACEOF
70285 cat confdefs.h >>conftest.$ac_ext
70286 cat >>conftest.$ac_ext <<_ACEOF
70287 /* end confdefs.h.  */
70288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70290 #define $ac_func innocuous_$ac_func
70291
70292 /* System header to define __stub macros and hopefully few prototypes,
70293     which can conflict with char $ac_func (); below.
70294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70295     <limits.h> exists even on freestanding compilers.  */
70296
70297 #ifdef __STDC__
70298 # include <limits.h>
70299 #else
70300 # include <assert.h>
70301 #endif
70302
70303 #undef $ac_func
70304
70305 /* Override any gcc2 internal prototype to avoid an error.  */
70306 #ifdef __cplusplus
70307 extern "C"
70308 {
70309 #endif
70310 /* We use char because int might match the return type of a gcc2
70311    builtin and then its argument prototype would still apply.  */
70312 char $ac_func ();
70313 /* The GNU C library defines this for functions which it implements
70314     to always fail with ENOSYS.  Some functions are actually named
70315     something starting with __ and the normal name is an alias.  */
70316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70317 choke me
70318 #else
70319 char (*f) () = $ac_func;
70320 #endif
70321 #ifdef __cplusplus
70322 }
70323 #endif
70324
70325 int
70326 main ()
70327 {
70328 return f != $ac_func;
70329   ;
70330   return 0;
70331 }
70332 _ACEOF
70333 rm -f conftest.$ac_objext conftest$ac_exeext
70334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70335   (eval $ac_link) 2>conftest.er1
70336   ac_status=$?
70337   grep -v '^ *+' conftest.er1 >conftest.err
70338   rm -f conftest.er1
70339   cat conftest.err >&5
70340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70341   (exit $ac_status); } &&
70342          { ac_try='test -z "$ac_c_werror_flag"
70343                          || test ! -s conftest.err'
70344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70345   (eval $ac_try) 2>&5
70346   ac_status=$?
70347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70348   (exit $ac_status); }; } &&
70349          { ac_try='test -s conftest$ac_exeext'
70350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70351   (eval $ac_try) 2>&5
70352   ac_status=$?
70353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70354   (exit $ac_status); }; }; then
70355   eval "$as_ac_var=yes"
70356 else
70357   echo "$as_me: failed program was:" >&5
70358 sed 's/^/| /' conftest.$ac_ext >&5
70359
70360 eval "$as_ac_var=no"
70361 fi
70362 rm -f conftest.err conftest.$ac_objext \
70363       conftest$ac_exeext conftest.$ac_ext
70364 fi
70365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70367 if test `eval echo '${'$as_ac_var'}'` = yes; then
70368   cat >>confdefs.h <<_ACEOF
70369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70370 _ACEOF
70371
70372 fi
70373 done
70374
70375   else
70376
70377   echo "$as_me:$LINENO: checking for _powl declaration" >&5
70378 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70379   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70380     if test "${glibcxx_cv_func__powl_use+set}" = set; then
70381   echo $ECHO_N "(cached) $ECHO_C" >&6
70382 else
70383
70384
70385
70386       ac_ext=cc
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70391
70392       cat >conftest.$ac_ext <<_ACEOF
70393 /* confdefs.h.  */
70394 _ACEOF
70395 cat confdefs.h >>conftest.$ac_ext
70396 cat >>conftest.$ac_ext <<_ACEOF
70397 /* end confdefs.h.  */
70398 #include <math.h>
70399 int
70400 main ()
70401 {
70402  _powl(0, 0);
70403   ;
70404   return 0;
70405 }
70406 _ACEOF
70407 rm -f conftest.$ac_objext
70408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70409   (eval $ac_compile) 2>conftest.er1
70410   ac_status=$?
70411   grep -v '^ *+' conftest.er1 >conftest.err
70412   rm -f conftest.er1
70413   cat conftest.err >&5
70414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70415   (exit $ac_status); } &&
70416          { ac_try='test -z "$ac_cxx_werror_flag"
70417                          || test ! -s conftest.err'
70418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70419   (eval $ac_try) 2>&5
70420   ac_status=$?
70421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70422   (exit $ac_status); }; } &&
70423          { ac_try='test -s conftest.$ac_objext'
70424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70425   (eval $ac_try) 2>&5
70426   ac_status=$?
70427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70428   (exit $ac_status); }; }; then
70429   glibcxx_cv_func__powl_use=yes
70430 else
70431   echo "$as_me: failed program was:" >&5
70432 sed 's/^/| /' conftest.$ac_ext >&5
70433
70434 glibcxx_cv_func__powl_use=no
70435 fi
70436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70437       ac_ext=c
70438 ac_cpp='$CPP $CPPFLAGS'
70439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70442
70443
70444 fi
70445
70446   fi
70447   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70448 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70449
70450     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70451
70452 for ac_func in _powl
70453 do
70454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70455 echo "$as_me:$LINENO: checking for $ac_func" >&5
70456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70457 if eval "test \"\${$as_ac_var+set}\" = set"; then
70458   echo $ECHO_N "(cached) $ECHO_C" >&6
70459 else
70460   if test x$gcc_no_link = xyes; then
70461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70463    { (exit 1); exit 1; }; }
70464 fi
70465 cat >conftest.$ac_ext <<_ACEOF
70466 /* confdefs.h.  */
70467 _ACEOF
70468 cat confdefs.h >>conftest.$ac_ext
70469 cat >>conftest.$ac_ext <<_ACEOF
70470 /* end confdefs.h.  */
70471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70473 #define $ac_func innocuous_$ac_func
70474
70475 /* System header to define __stub macros and hopefully few prototypes,
70476     which can conflict with char $ac_func (); below.
70477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70478     <limits.h> exists even on freestanding compilers.  */
70479
70480 #ifdef __STDC__
70481 # include <limits.h>
70482 #else
70483 # include <assert.h>
70484 #endif
70485
70486 #undef $ac_func
70487
70488 /* Override any gcc2 internal prototype to avoid an error.  */
70489 #ifdef __cplusplus
70490 extern "C"
70491 {
70492 #endif
70493 /* We use char because int might match the return type of a gcc2
70494    builtin and then its argument prototype would still apply.  */
70495 char $ac_func ();
70496 /* The GNU C library defines this for functions which it implements
70497     to always fail with ENOSYS.  Some functions are actually named
70498     something starting with __ and the normal name is an alias.  */
70499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70500 choke me
70501 #else
70502 char (*f) () = $ac_func;
70503 #endif
70504 #ifdef __cplusplus
70505 }
70506 #endif
70507
70508 int
70509 main ()
70510 {
70511 return f != $ac_func;
70512   ;
70513   return 0;
70514 }
70515 _ACEOF
70516 rm -f conftest.$ac_objext conftest$ac_exeext
70517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70518   (eval $ac_link) 2>conftest.er1
70519   ac_status=$?
70520   grep -v '^ *+' conftest.er1 >conftest.err
70521   rm -f conftest.er1
70522   cat conftest.err >&5
70523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70524   (exit $ac_status); } &&
70525          { ac_try='test -z "$ac_c_werror_flag"
70526                          || test ! -s conftest.err'
70527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70528   (eval $ac_try) 2>&5
70529   ac_status=$?
70530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70531   (exit $ac_status); }; } &&
70532          { ac_try='test -s conftest$ac_exeext'
70533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70534   (eval $ac_try) 2>&5
70535   ac_status=$?
70536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70537   (exit $ac_status); }; }; then
70538   eval "$as_ac_var=yes"
70539 else
70540   echo "$as_me: failed program was:" >&5
70541 sed 's/^/| /' conftest.$ac_ext >&5
70542
70543 eval "$as_ac_var=no"
70544 fi
70545 rm -f conftest.err conftest.$ac_objext \
70546       conftest$ac_exeext conftest.$ac_ext
70547 fi
70548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70550 if test `eval echo '${'$as_ac_var'}'` = yes; then
70551   cat >>confdefs.h <<_ACEOF
70552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70553 _ACEOF
70554
70555 fi
70556 done
70557
70558     fi
70559   fi
70560
70561
70562
70563
70564
70565
70566   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70567 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70568   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70569     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70570   echo $ECHO_N "(cached) $ECHO_C" >&6
70571 else
70572
70573
70574
70575       ac_ext=cc
70576 ac_cpp='$CXXCPP $CPPFLAGS'
70577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70580
70581       cat >conftest.$ac_ext <<_ACEOF
70582 /* confdefs.h.  */
70583 _ACEOF
70584 cat confdefs.h >>conftest.$ac_ext
70585 cat >>conftest.$ac_ext <<_ACEOF
70586 /* end confdefs.h.  */
70587 #include <math.h>
70588                       #ifdef HAVE_IEEEFP_H
70589                       #include <ieeefp.h>
70590                       #endif
70591
70592 int
70593 main ()
70594 {
70595  sqrtl(0);
70596   ;
70597   return 0;
70598 }
70599 _ACEOF
70600 rm -f conftest.$ac_objext
70601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70602   (eval $ac_compile) 2>conftest.er1
70603   ac_status=$?
70604   grep -v '^ *+' conftest.er1 >conftest.err
70605   rm -f conftest.er1
70606   cat conftest.err >&5
70607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70608   (exit $ac_status); } &&
70609          { ac_try='test -z "$ac_cxx_werror_flag"
70610                          || test ! -s conftest.err'
70611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70612   (eval $ac_try) 2>&5
70613   ac_status=$?
70614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70615   (exit $ac_status); }; } &&
70616          { ac_try='test -s conftest.$ac_objext'
70617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70618   (eval $ac_try) 2>&5
70619   ac_status=$?
70620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70621   (exit $ac_status); }; }; then
70622   glibcxx_cv_func_sqrtl_use=yes
70623 else
70624   echo "$as_me: failed program was:" >&5
70625 sed 's/^/| /' conftest.$ac_ext >&5
70626
70627 glibcxx_cv_func_sqrtl_use=no
70628 fi
70629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70630       ac_ext=c
70631 ac_cpp='$CPP $CPPFLAGS'
70632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70635
70636
70637 fi
70638
70639   fi
70640   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70641 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70642
70643   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70644
70645 for ac_func in sqrtl
70646 do
70647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70648 echo "$as_me:$LINENO: checking for $ac_func" >&5
70649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70650 if eval "test \"\${$as_ac_var+set}\" = set"; then
70651   echo $ECHO_N "(cached) $ECHO_C" >&6
70652 else
70653   if test x$gcc_no_link = xyes; then
70654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70656    { (exit 1); exit 1; }; }
70657 fi
70658 cat >conftest.$ac_ext <<_ACEOF
70659 /* confdefs.h.  */
70660 _ACEOF
70661 cat confdefs.h >>conftest.$ac_ext
70662 cat >>conftest.$ac_ext <<_ACEOF
70663 /* end confdefs.h.  */
70664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70666 #define $ac_func innocuous_$ac_func
70667
70668 /* System header to define __stub macros and hopefully few prototypes,
70669     which can conflict with char $ac_func (); below.
70670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70671     <limits.h> exists even on freestanding compilers.  */
70672
70673 #ifdef __STDC__
70674 # include <limits.h>
70675 #else
70676 # include <assert.h>
70677 #endif
70678
70679 #undef $ac_func
70680
70681 /* Override any gcc2 internal prototype to avoid an error.  */
70682 #ifdef __cplusplus
70683 extern "C"
70684 {
70685 #endif
70686 /* We use char because int might match the return type of a gcc2
70687    builtin and then its argument prototype would still apply.  */
70688 char $ac_func ();
70689 /* The GNU C library defines this for functions which it implements
70690     to always fail with ENOSYS.  Some functions are actually named
70691     something starting with __ and the normal name is an alias.  */
70692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70693 choke me
70694 #else
70695 char (*f) () = $ac_func;
70696 #endif
70697 #ifdef __cplusplus
70698 }
70699 #endif
70700
70701 int
70702 main ()
70703 {
70704 return f != $ac_func;
70705   ;
70706   return 0;
70707 }
70708 _ACEOF
70709 rm -f conftest.$ac_objext conftest$ac_exeext
70710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70711   (eval $ac_link) 2>conftest.er1
70712   ac_status=$?
70713   grep -v '^ *+' conftest.er1 >conftest.err
70714   rm -f conftest.er1
70715   cat conftest.err >&5
70716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70717   (exit $ac_status); } &&
70718          { ac_try='test -z "$ac_c_werror_flag"
70719                          || test ! -s conftest.err'
70720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70721   (eval $ac_try) 2>&5
70722   ac_status=$?
70723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70724   (exit $ac_status); }; } &&
70725          { ac_try='test -s conftest$ac_exeext'
70726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70727   (eval $ac_try) 2>&5
70728   ac_status=$?
70729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70730   (exit $ac_status); }; }; then
70731   eval "$as_ac_var=yes"
70732 else
70733   echo "$as_me: failed program was:" >&5
70734 sed 's/^/| /' conftest.$ac_ext >&5
70735
70736 eval "$as_ac_var=no"
70737 fi
70738 rm -f conftest.err conftest.$ac_objext \
70739       conftest$ac_exeext conftest.$ac_ext
70740 fi
70741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70743 if test `eval echo '${'$as_ac_var'}'` = yes; then
70744   cat >>confdefs.h <<_ACEOF
70745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70746 _ACEOF
70747
70748 fi
70749 done
70750
70751   else
70752
70753   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70754 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70755   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70756     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70757   echo $ECHO_N "(cached) $ECHO_C" >&6
70758 else
70759
70760
70761
70762       ac_ext=cc
70763 ac_cpp='$CXXCPP $CPPFLAGS'
70764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70767
70768       cat >conftest.$ac_ext <<_ACEOF
70769 /* confdefs.h.  */
70770 _ACEOF
70771 cat confdefs.h >>conftest.$ac_ext
70772 cat >>conftest.$ac_ext <<_ACEOF
70773 /* end confdefs.h.  */
70774 #include <math.h>
70775                       #ifdef HAVE_IEEEFP_H
70776                       #include <ieeefp.h>
70777                       #endif
70778
70779 int
70780 main ()
70781 {
70782  _sqrtl(0);
70783   ;
70784   return 0;
70785 }
70786 _ACEOF
70787 rm -f conftest.$ac_objext
70788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70789   (eval $ac_compile) 2>conftest.er1
70790   ac_status=$?
70791   grep -v '^ *+' conftest.er1 >conftest.err
70792   rm -f conftest.er1
70793   cat conftest.err >&5
70794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70795   (exit $ac_status); } &&
70796          { ac_try='test -z "$ac_cxx_werror_flag"
70797                          || test ! -s conftest.err'
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); }; } &&
70803          { ac_try='test -s conftest.$ac_objext'
70804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70805   (eval $ac_try) 2>&5
70806   ac_status=$?
70807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70808   (exit $ac_status); }; }; then
70809   glibcxx_cv_func__sqrtl_use=yes
70810 else
70811   echo "$as_me: failed program was:" >&5
70812 sed 's/^/| /' conftest.$ac_ext >&5
70813
70814 glibcxx_cv_func__sqrtl_use=no
70815 fi
70816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70817       ac_ext=c
70818 ac_cpp='$CPP $CPPFLAGS'
70819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70822
70823
70824 fi
70825
70826   fi
70827   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70828 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70829
70830     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70831
70832 for ac_func in _sqrtl
70833 do
70834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70835 echo "$as_me:$LINENO: checking for $ac_func" >&5
70836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70837 if eval "test \"\${$as_ac_var+set}\" = set"; then
70838   echo $ECHO_N "(cached) $ECHO_C" >&6
70839 else
70840   if test x$gcc_no_link = xyes; then
70841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70843    { (exit 1); exit 1; }; }
70844 fi
70845 cat >conftest.$ac_ext <<_ACEOF
70846 /* confdefs.h.  */
70847 _ACEOF
70848 cat confdefs.h >>conftest.$ac_ext
70849 cat >>conftest.$ac_ext <<_ACEOF
70850 /* end confdefs.h.  */
70851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70853 #define $ac_func innocuous_$ac_func
70854
70855 /* System header to define __stub macros and hopefully few prototypes,
70856     which can conflict with char $ac_func (); below.
70857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70858     <limits.h> exists even on freestanding compilers.  */
70859
70860 #ifdef __STDC__
70861 # include <limits.h>
70862 #else
70863 # include <assert.h>
70864 #endif
70865
70866 #undef $ac_func
70867
70868 /* Override any gcc2 internal prototype to avoid an error.  */
70869 #ifdef __cplusplus
70870 extern "C"
70871 {
70872 #endif
70873 /* We use char because int might match the return type of a gcc2
70874    builtin and then its argument prototype would still apply.  */
70875 char $ac_func ();
70876 /* The GNU C library defines this for functions which it implements
70877     to always fail with ENOSYS.  Some functions are actually named
70878     something starting with __ and the normal name is an alias.  */
70879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70880 choke me
70881 #else
70882 char (*f) () = $ac_func;
70883 #endif
70884 #ifdef __cplusplus
70885 }
70886 #endif
70887
70888 int
70889 main ()
70890 {
70891 return f != $ac_func;
70892   ;
70893   return 0;
70894 }
70895 _ACEOF
70896 rm -f conftest.$ac_objext conftest$ac_exeext
70897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70898   (eval $ac_link) 2>conftest.er1
70899   ac_status=$?
70900   grep -v '^ *+' conftest.er1 >conftest.err
70901   rm -f conftest.er1
70902   cat conftest.err >&5
70903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70904   (exit $ac_status); } &&
70905          { ac_try='test -z "$ac_c_werror_flag"
70906                          || test ! -s conftest.err'
70907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70908   (eval $ac_try) 2>&5
70909   ac_status=$?
70910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70911   (exit $ac_status); }; } &&
70912          { ac_try='test -s conftest$ac_exeext'
70913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70914   (eval $ac_try) 2>&5
70915   ac_status=$?
70916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70917   (exit $ac_status); }; }; then
70918   eval "$as_ac_var=yes"
70919 else
70920   echo "$as_me: failed program was:" >&5
70921 sed 's/^/| /' conftest.$ac_ext >&5
70922
70923 eval "$as_ac_var=no"
70924 fi
70925 rm -f conftest.err conftest.$ac_objext \
70926       conftest$ac_exeext conftest.$ac_ext
70927 fi
70928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70930 if test `eval echo '${'$as_ac_var'}'` = yes; then
70931   cat >>confdefs.h <<_ACEOF
70932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70933 _ACEOF
70934
70935 fi
70936 done
70937
70938     fi
70939   fi
70940
70941
70942
70943
70944
70945
70946   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70947 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70948   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70949     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70950   echo $ECHO_N "(cached) $ECHO_C" >&6
70951 else
70952
70953
70954
70955       ac_ext=cc
70956 ac_cpp='$CXXCPP $CPPFLAGS'
70957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70960
70961       cat >conftest.$ac_ext <<_ACEOF
70962 /* confdefs.h.  */
70963 _ACEOF
70964 cat confdefs.h >>conftest.$ac_ext
70965 cat >>conftest.$ac_ext <<_ACEOF
70966 /* end confdefs.h.  */
70967 #include <math.h>
70968 int
70969 main ()
70970 {
70971  sincosl(0, 0, 0);
70972   ;
70973   return 0;
70974 }
70975 _ACEOF
70976 rm -f conftest.$ac_objext
70977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70978   (eval $ac_compile) 2>conftest.er1
70979   ac_status=$?
70980   grep -v '^ *+' conftest.er1 >conftest.err
70981   rm -f conftest.er1
70982   cat conftest.err >&5
70983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70984   (exit $ac_status); } &&
70985          { ac_try='test -z "$ac_cxx_werror_flag"
70986                          || test ! -s conftest.err'
70987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70988   (eval $ac_try) 2>&5
70989   ac_status=$?
70990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70991   (exit $ac_status); }; } &&
70992          { ac_try='test -s conftest.$ac_objext'
70993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70994   (eval $ac_try) 2>&5
70995   ac_status=$?
70996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70997   (exit $ac_status); }; }; then
70998   glibcxx_cv_func_sincosl_use=yes
70999 else
71000   echo "$as_me: failed program was:" >&5
71001 sed 's/^/| /' conftest.$ac_ext >&5
71002
71003 glibcxx_cv_func_sincosl_use=no
71004 fi
71005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71006       ac_ext=c
71007 ac_cpp='$CPP $CPPFLAGS'
71008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71011
71012
71013 fi
71014
71015   fi
71016   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71017 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71018
71019   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71020
71021 for ac_func in sincosl
71022 do
71023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71024 echo "$as_me:$LINENO: checking for $ac_func" >&5
71025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71026 if eval "test \"\${$as_ac_var+set}\" = set"; then
71027   echo $ECHO_N "(cached) $ECHO_C" >&6
71028 else
71029   if test x$gcc_no_link = xyes; then
71030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71032    { (exit 1); exit 1; }; }
71033 fi
71034 cat >conftest.$ac_ext <<_ACEOF
71035 /* confdefs.h.  */
71036 _ACEOF
71037 cat confdefs.h >>conftest.$ac_ext
71038 cat >>conftest.$ac_ext <<_ACEOF
71039 /* end confdefs.h.  */
71040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71042 #define $ac_func innocuous_$ac_func
71043
71044 /* System header to define __stub macros and hopefully few prototypes,
71045     which can conflict with char $ac_func (); below.
71046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71047     <limits.h> exists even on freestanding compilers.  */
71048
71049 #ifdef __STDC__
71050 # include <limits.h>
71051 #else
71052 # include <assert.h>
71053 #endif
71054
71055 #undef $ac_func
71056
71057 /* Override any gcc2 internal prototype to avoid an error.  */
71058 #ifdef __cplusplus
71059 extern "C"
71060 {
71061 #endif
71062 /* We use char because int might match the return type of a gcc2
71063    builtin and then its argument prototype would still apply.  */
71064 char $ac_func ();
71065 /* The GNU C library defines this for functions which it implements
71066     to always fail with ENOSYS.  Some functions are actually named
71067     something starting with __ and the normal name is an alias.  */
71068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71069 choke me
71070 #else
71071 char (*f) () = $ac_func;
71072 #endif
71073 #ifdef __cplusplus
71074 }
71075 #endif
71076
71077 int
71078 main ()
71079 {
71080 return f != $ac_func;
71081   ;
71082   return 0;
71083 }
71084 _ACEOF
71085 rm -f conftest.$ac_objext conftest$ac_exeext
71086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71087   (eval $ac_link) 2>conftest.er1
71088   ac_status=$?
71089   grep -v '^ *+' conftest.er1 >conftest.err
71090   rm -f conftest.er1
71091   cat conftest.err >&5
71092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71093   (exit $ac_status); } &&
71094          { ac_try='test -z "$ac_c_werror_flag"
71095                          || test ! -s conftest.err'
71096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71097   (eval $ac_try) 2>&5
71098   ac_status=$?
71099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71100   (exit $ac_status); }; } &&
71101          { ac_try='test -s conftest$ac_exeext'
71102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71103   (eval $ac_try) 2>&5
71104   ac_status=$?
71105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106   (exit $ac_status); }; }; then
71107   eval "$as_ac_var=yes"
71108 else
71109   echo "$as_me: failed program was:" >&5
71110 sed 's/^/| /' conftest.$ac_ext >&5
71111
71112 eval "$as_ac_var=no"
71113 fi
71114 rm -f conftest.err conftest.$ac_objext \
71115       conftest$ac_exeext conftest.$ac_ext
71116 fi
71117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71119 if test `eval echo '${'$as_ac_var'}'` = yes; then
71120   cat >>confdefs.h <<_ACEOF
71121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71122 _ACEOF
71123
71124 fi
71125 done
71126
71127   else
71128
71129   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71130 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71131   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71132     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71133   echo $ECHO_N "(cached) $ECHO_C" >&6
71134 else
71135
71136
71137
71138       ac_ext=cc
71139 ac_cpp='$CXXCPP $CPPFLAGS'
71140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71143
71144       cat >conftest.$ac_ext <<_ACEOF
71145 /* confdefs.h.  */
71146 _ACEOF
71147 cat confdefs.h >>conftest.$ac_ext
71148 cat >>conftest.$ac_ext <<_ACEOF
71149 /* end confdefs.h.  */
71150 #include <math.h>
71151 int
71152 main ()
71153 {
71154  _sincosl(0, 0, 0);
71155   ;
71156   return 0;
71157 }
71158 _ACEOF
71159 rm -f conftest.$ac_objext
71160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71161   (eval $ac_compile) 2>conftest.er1
71162   ac_status=$?
71163   grep -v '^ *+' conftest.er1 >conftest.err
71164   rm -f conftest.er1
71165   cat conftest.err >&5
71166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71167   (exit $ac_status); } &&
71168          { ac_try='test -z "$ac_cxx_werror_flag"
71169                          || test ! -s conftest.err'
71170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71171   (eval $ac_try) 2>&5
71172   ac_status=$?
71173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71174   (exit $ac_status); }; } &&
71175          { ac_try='test -s conftest.$ac_objext'
71176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71177   (eval $ac_try) 2>&5
71178   ac_status=$?
71179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180   (exit $ac_status); }; }; then
71181   glibcxx_cv_func__sincosl_use=yes
71182 else
71183   echo "$as_me: failed program was:" >&5
71184 sed 's/^/| /' conftest.$ac_ext >&5
71185
71186 glibcxx_cv_func__sincosl_use=no
71187 fi
71188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71189       ac_ext=c
71190 ac_cpp='$CPP $CPPFLAGS'
71191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71194
71195
71196 fi
71197
71198   fi
71199   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71200 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71201
71202     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71203
71204 for ac_func in _sincosl
71205 do
71206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71207 echo "$as_me:$LINENO: checking for $ac_func" >&5
71208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71209 if eval "test \"\${$as_ac_var+set}\" = set"; then
71210   echo $ECHO_N "(cached) $ECHO_C" >&6
71211 else
71212   if test x$gcc_no_link = xyes; then
71213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71215    { (exit 1); exit 1; }; }
71216 fi
71217 cat >conftest.$ac_ext <<_ACEOF
71218 /* confdefs.h.  */
71219 _ACEOF
71220 cat confdefs.h >>conftest.$ac_ext
71221 cat >>conftest.$ac_ext <<_ACEOF
71222 /* end confdefs.h.  */
71223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71225 #define $ac_func innocuous_$ac_func
71226
71227 /* System header to define __stub macros and hopefully few prototypes,
71228     which can conflict with char $ac_func (); below.
71229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71230     <limits.h> exists even on freestanding compilers.  */
71231
71232 #ifdef __STDC__
71233 # include <limits.h>
71234 #else
71235 # include <assert.h>
71236 #endif
71237
71238 #undef $ac_func
71239
71240 /* Override any gcc2 internal prototype to avoid an error.  */
71241 #ifdef __cplusplus
71242 extern "C"
71243 {
71244 #endif
71245 /* We use char because int might match the return type of a gcc2
71246    builtin and then its argument prototype would still apply.  */
71247 char $ac_func ();
71248 /* The GNU C library defines this for functions which it implements
71249     to always fail with ENOSYS.  Some functions are actually named
71250     something starting with __ and the normal name is an alias.  */
71251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71252 choke me
71253 #else
71254 char (*f) () = $ac_func;
71255 #endif
71256 #ifdef __cplusplus
71257 }
71258 #endif
71259
71260 int
71261 main ()
71262 {
71263 return f != $ac_func;
71264   ;
71265   return 0;
71266 }
71267 _ACEOF
71268 rm -f conftest.$ac_objext conftest$ac_exeext
71269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71270   (eval $ac_link) 2>conftest.er1
71271   ac_status=$?
71272   grep -v '^ *+' conftest.er1 >conftest.err
71273   rm -f conftest.er1
71274   cat conftest.err >&5
71275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71276   (exit $ac_status); } &&
71277          { ac_try='test -z "$ac_c_werror_flag"
71278                          || test ! -s conftest.err'
71279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71280   (eval $ac_try) 2>&5
71281   ac_status=$?
71282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71283   (exit $ac_status); }; } &&
71284          { ac_try='test -s conftest$ac_exeext'
71285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71286   (eval $ac_try) 2>&5
71287   ac_status=$?
71288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71289   (exit $ac_status); }; }; then
71290   eval "$as_ac_var=yes"
71291 else
71292   echo "$as_me: failed program was:" >&5
71293 sed 's/^/| /' conftest.$ac_ext >&5
71294
71295 eval "$as_ac_var=no"
71296 fi
71297 rm -f conftest.err conftest.$ac_objext \
71298       conftest$ac_exeext conftest.$ac_ext
71299 fi
71300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71302 if test `eval echo '${'$as_ac_var'}'` = yes; then
71303   cat >>confdefs.h <<_ACEOF
71304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71305 _ACEOF
71306
71307 fi
71308 done
71309
71310     fi
71311   fi
71312
71313
71314
71315
71316
71317
71318   echo "$as_me:$LINENO: checking for finitel declaration" >&5
71319 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71320   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71321     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71322   echo $ECHO_N "(cached) $ECHO_C" >&6
71323 else
71324
71325
71326
71327       ac_ext=cc
71328 ac_cpp='$CXXCPP $CPPFLAGS'
71329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71332
71333       cat >conftest.$ac_ext <<_ACEOF
71334 /* confdefs.h.  */
71335 _ACEOF
71336 cat confdefs.h >>conftest.$ac_ext
71337 cat >>conftest.$ac_ext <<_ACEOF
71338 /* end confdefs.h.  */
71339 #include <math.h>
71340                       #ifdef HAVE_IEEEFP_H
71341                       #include <ieeefp.h>
71342                       #endif
71343
71344 int
71345 main ()
71346 {
71347  finitel(0);
71348   ;
71349   return 0;
71350 }
71351 _ACEOF
71352 rm -f conftest.$ac_objext
71353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71354   (eval $ac_compile) 2>conftest.er1
71355   ac_status=$?
71356   grep -v '^ *+' conftest.er1 >conftest.err
71357   rm -f conftest.er1
71358   cat conftest.err >&5
71359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71360   (exit $ac_status); } &&
71361          { ac_try='test -z "$ac_cxx_werror_flag"
71362                          || test ! -s conftest.err'
71363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71364   (eval $ac_try) 2>&5
71365   ac_status=$?
71366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71367   (exit $ac_status); }; } &&
71368          { ac_try='test -s conftest.$ac_objext'
71369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71370   (eval $ac_try) 2>&5
71371   ac_status=$?
71372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71373   (exit $ac_status); }; }; then
71374   glibcxx_cv_func_finitel_use=yes
71375 else
71376   echo "$as_me: failed program was:" >&5
71377 sed 's/^/| /' conftest.$ac_ext >&5
71378
71379 glibcxx_cv_func_finitel_use=no
71380 fi
71381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71382       ac_ext=c
71383 ac_cpp='$CPP $CPPFLAGS'
71384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71387
71388
71389 fi
71390
71391   fi
71392   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71393 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71394
71395   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71396
71397 for ac_func in finitel
71398 do
71399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71400 echo "$as_me:$LINENO: checking for $ac_func" >&5
71401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71402 if eval "test \"\${$as_ac_var+set}\" = set"; then
71403   echo $ECHO_N "(cached) $ECHO_C" >&6
71404 else
71405   if test x$gcc_no_link = xyes; then
71406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71408    { (exit 1); exit 1; }; }
71409 fi
71410 cat >conftest.$ac_ext <<_ACEOF
71411 /* confdefs.h.  */
71412 _ACEOF
71413 cat confdefs.h >>conftest.$ac_ext
71414 cat >>conftest.$ac_ext <<_ACEOF
71415 /* end confdefs.h.  */
71416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71418 #define $ac_func innocuous_$ac_func
71419
71420 /* System header to define __stub macros and hopefully few prototypes,
71421     which can conflict with char $ac_func (); below.
71422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71423     <limits.h> exists even on freestanding compilers.  */
71424
71425 #ifdef __STDC__
71426 # include <limits.h>
71427 #else
71428 # include <assert.h>
71429 #endif
71430
71431 #undef $ac_func
71432
71433 /* Override any gcc2 internal prototype to avoid an error.  */
71434 #ifdef __cplusplus
71435 extern "C"
71436 {
71437 #endif
71438 /* We use char because int might match the return type of a gcc2
71439    builtin and then its argument prototype would still apply.  */
71440 char $ac_func ();
71441 /* The GNU C library defines this for functions which it implements
71442     to always fail with ENOSYS.  Some functions are actually named
71443     something starting with __ and the normal name is an alias.  */
71444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71445 choke me
71446 #else
71447 char (*f) () = $ac_func;
71448 #endif
71449 #ifdef __cplusplus
71450 }
71451 #endif
71452
71453 int
71454 main ()
71455 {
71456 return f != $ac_func;
71457   ;
71458   return 0;
71459 }
71460 _ACEOF
71461 rm -f conftest.$ac_objext conftest$ac_exeext
71462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71463   (eval $ac_link) 2>conftest.er1
71464   ac_status=$?
71465   grep -v '^ *+' conftest.er1 >conftest.err
71466   rm -f conftest.er1
71467   cat conftest.err >&5
71468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71469   (exit $ac_status); } &&
71470          { ac_try='test -z "$ac_c_werror_flag"
71471                          || test ! -s conftest.err'
71472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71473   (eval $ac_try) 2>&5
71474   ac_status=$?
71475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71476   (exit $ac_status); }; } &&
71477          { ac_try='test -s conftest$ac_exeext'
71478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71479   (eval $ac_try) 2>&5
71480   ac_status=$?
71481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71482   (exit $ac_status); }; }; then
71483   eval "$as_ac_var=yes"
71484 else
71485   echo "$as_me: failed program was:" >&5
71486 sed 's/^/| /' conftest.$ac_ext >&5
71487
71488 eval "$as_ac_var=no"
71489 fi
71490 rm -f conftest.err conftest.$ac_objext \
71491       conftest$ac_exeext conftest.$ac_ext
71492 fi
71493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71495 if test `eval echo '${'$as_ac_var'}'` = yes; then
71496   cat >>confdefs.h <<_ACEOF
71497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71498 _ACEOF
71499
71500 fi
71501 done
71502
71503   else
71504
71505   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71506 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71507   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71508     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71509   echo $ECHO_N "(cached) $ECHO_C" >&6
71510 else
71511
71512
71513
71514       ac_ext=cc
71515 ac_cpp='$CXXCPP $CPPFLAGS'
71516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71519
71520       cat >conftest.$ac_ext <<_ACEOF
71521 /* confdefs.h.  */
71522 _ACEOF
71523 cat confdefs.h >>conftest.$ac_ext
71524 cat >>conftest.$ac_ext <<_ACEOF
71525 /* end confdefs.h.  */
71526 #include <math.h>
71527                       #ifdef HAVE_IEEEFP_H
71528                       #include <ieeefp.h>
71529                       #endif
71530
71531 int
71532 main ()
71533 {
71534  _finitel(0);
71535   ;
71536   return 0;
71537 }
71538 _ACEOF
71539 rm -f conftest.$ac_objext
71540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71541   (eval $ac_compile) 2>conftest.er1
71542   ac_status=$?
71543   grep -v '^ *+' conftest.er1 >conftest.err
71544   rm -f conftest.er1
71545   cat conftest.err >&5
71546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71547   (exit $ac_status); } &&
71548          { ac_try='test -z "$ac_cxx_werror_flag"
71549                          || test ! -s conftest.err'
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); }; } &&
71555          { ac_try='test -s conftest.$ac_objext'
71556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71557   (eval $ac_try) 2>&5
71558   ac_status=$?
71559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71560   (exit $ac_status); }; }; then
71561   glibcxx_cv_func__finitel_use=yes
71562 else
71563   echo "$as_me: failed program was:" >&5
71564 sed 's/^/| /' conftest.$ac_ext >&5
71565
71566 glibcxx_cv_func__finitel_use=no
71567 fi
71568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71569       ac_ext=c
71570 ac_cpp='$CPP $CPPFLAGS'
71571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71574
71575
71576 fi
71577
71578   fi
71579   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71580 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71581
71582     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71583
71584 for ac_func in _finitel
71585 do
71586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71587 echo "$as_me:$LINENO: checking for $ac_func" >&5
71588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71589 if eval "test \"\${$as_ac_var+set}\" = set"; then
71590   echo $ECHO_N "(cached) $ECHO_C" >&6
71591 else
71592   if test x$gcc_no_link = xyes; then
71593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71595    { (exit 1); exit 1; }; }
71596 fi
71597 cat >conftest.$ac_ext <<_ACEOF
71598 /* confdefs.h.  */
71599 _ACEOF
71600 cat confdefs.h >>conftest.$ac_ext
71601 cat >>conftest.$ac_ext <<_ACEOF
71602 /* end confdefs.h.  */
71603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71605 #define $ac_func innocuous_$ac_func
71606
71607 /* System header to define __stub macros and hopefully few prototypes,
71608     which can conflict with char $ac_func (); below.
71609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71610     <limits.h> exists even on freestanding compilers.  */
71611
71612 #ifdef __STDC__
71613 # include <limits.h>
71614 #else
71615 # include <assert.h>
71616 #endif
71617
71618 #undef $ac_func
71619
71620 /* Override any gcc2 internal prototype to avoid an error.  */
71621 #ifdef __cplusplus
71622 extern "C"
71623 {
71624 #endif
71625 /* We use char because int might match the return type of a gcc2
71626    builtin and then its argument prototype would still apply.  */
71627 char $ac_func ();
71628 /* The GNU C library defines this for functions which it implements
71629     to always fail with ENOSYS.  Some functions are actually named
71630     something starting with __ and the normal name is an alias.  */
71631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71632 choke me
71633 #else
71634 char (*f) () = $ac_func;
71635 #endif
71636 #ifdef __cplusplus
71637 }
71638 #endif
71639
71640 int
71641 main ()
71642 {
71643 return f != $ac_func;
71644   ;
71645   return 0;
71646 }
71647 _ACEOF
71648 rm -f conftest.$ac_objext conftest$ac_exeext
71649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71650   (eval $ac_link) 2>conftest.er1
71651   ac_status=$?
71652   grep -v '^ *+' conftest.er1 >conftest.err
71653   rm -f conftest.er1
71654   cat conftest.err >&5
71655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71656   (exit $ac_status); } &&
71657          { ac_try='test -z "$ac_c_werror_flag"
71658                          || test ! -s conftest.err'
71659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71660   (eval $ac_try) 2>&5
71661   ac_status=$?
71662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71663   (exit $ac_status); }; } &&
71664          { ac_try='test -s conftest$ac_exeext'
71665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71666   (eval $ac_try) 2>&5
71667   ac_status=$?
71668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71669   (exit $ac_status); }; }; then
71670   eval "$as_ac_var=yes"
71671 else
71672   echo "$as_me: failed program was:" >&5
71673 sed 's/^/| /' conftest.$ac_ext >&5
71674
71675 eval "$as_ac_var=no"
71676 fi
71677 rm -f conftest.err conftest.$ac_objext \
71678       conftest$ac_exeext conftest.$ac_ext
71679 fi
71680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71682 if test `eval echo '${'$as_ac_var'}'` = yes; then
71683   cat >>confdefs.h <<_ACEOF
71684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71685 _ACEOF
71686
71687 fi
71688 done
71689
71690     fi
71691   fi
71692
71693
71694
71695
71696
71697   LIBS="$ac_save_LIBS"
71698   CXXFLAGS="$ac_save_CXXFLAGS"
71699
71700
71701
71702   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71703 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71704   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71705     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71706   echo $ECHO_N "(cached) $ECHO_C" >&6
71707 else
71708
71709
71710
71711       ac_ext=cc
71712 ac_cpp='$CXXCPP $CPPFLAGS'
71713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71716
71717       cat >conftest.$ac_ext <<_ACEOF
71718 /* confdefs.h.  */
71719 _ACEOF
71720 cat confdefs.h >>conftest.$ac_ext
71721 cat >>conftest.$ac_ext <<_ACEOF
71722 /* end confdefs.h.  */
71723 #include <math.h>
71724 int
71725 main ()
71726 {
71727  __builtin_abs(0);
71728   ;
71729   return 0;
71730 }
71731 _ACEOF
71732 rm -f conftest.$ac_objext
71733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71734   (eval $ac_compile) 2>conftest.er1
71735   ac_status=$?
71736   grep -v '^ *+' conftest.er1 >conftest.err
71737   rm -f conftest.er1
71738   cat conftest.err >&5
71739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71740   (exit $ac_status); } &&
71741          { ac_try='test -z "$ac_cxx_werror_flag"
71742                          || test ! -s conftest.err'
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); }; } &&
71748          { ac_try='test -s conftest.$ac_objext'
71749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71750   (eval $ac_try) 2>&5
71751   ac_status=$?
71752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71753   (exit $ac_status); }; }; then
71754   glibcxx_cv_func___builtin_abs_use=yes
71755 else
71756   echo "$as_me: failed program was:" >&5
71757 sed 's/^/| /' conftest.$ac_ext >&5
71758
71759 glibcxx_cv_func___builtin_abs_use=no
71760 fi
71761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71762       ac_ext=c
71763 ac_cpp='$CPP $CPPFLAGS'
71764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71767
71768
71769 fi
71770
71771   fi
71772   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71773 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71774   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71775     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71776 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71777     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71778       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71779   echo $ECHO_N "(cached) $ECHO_C" >&6
71780 else
71781
71782         if test x$gcc_no_link = xyes; then
71783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71785    { (exit 1); exit 1; }; }
71786 fi
71787 cat >conftest.$ac_ext <<_ACEOF
71788 /* confdefs.h.  */
71789 _ACEOF
71790 cat confdefs.h >>conftest.$ac_ext
71791 cat >>conftest.$ac_ext <<_ACEOF
71792 /* end confdefs.h.  */
71793 #include <math.h>
71794 int
71795 main ()
71796 {
71797  __builtin_abs(0);
71798   ;
71799   return 0;
71800 }
71801 _ACEOF
71802 rm -f conftest.$ac_objext conftest$ac_exeext
71803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71804   (eval $ac_link) 2>conftest.er1
71805   ac_status=$?
71806   grep -v '^ *+' conftest.er1 >conftest.err
71807   rm -f conftest.er1
71808   cat conftest.err >&5
71809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71810   (exit $ac_status); } &&
71811          { ac_try='test -z "$ac_c_werror_flag"
71812                          || test ! -s conftest.err'
71813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71814   (eval $ac_try) 2>&5
71815   ac_status=$?
71816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71817   (exit $ac_status); }; } &&
71818          { ac_try='test -s conftest$ac_exeext'
71819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71820   (eval $ac_try) 2>&5
71821   ac_status=$?
71822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71823   (exit $ac_status); }; }; then
71824   glibcxx_cv_func___builtin_abs_link=yes
71825 else
71826   echo "$as_me: failed program was:" >&5
71827 sed 's/^/| /' conftest.$ac_ext >&5
71828
71829 glibcxx_cv_func___builtin_abs_link=no
71830 fi
71831 rm -f conftest.err conftest.$ac_objext \
71832       conftest$ac_exeext conftest.$ac_ext
71833
71834 fi
71835
71836     fi
71837     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71838 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71839
71840     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71841
71842 cat >>confdefs.h <<\_ACEOF
71843 #define HAVE___BUILTIN_ABS 1
71844 _ACEOF
71845
71846     fi
71847
71848   fi
71849
71850
71851   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71852 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71853   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71854     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71855   echo $ECHO_N "(cached) $ECHO_C" >&6
71856 else
71857
71858
71859
71860       ac_ext=cc
71861 ac_cpp='$CXXCPP $CPPFLAGS'
71862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71865
71866       cat >conftest.$ac_ext <<_ACEOF
71867 /* confdefs.h.  */
71868 _ACEOF
71869 cat confdefs.h >>conftest.$ac_ext
71870 cat >>conftest.$ac_ext <<_ACEOF
71871 /* end confdefs.h.  */
71872 #include <math.h>
71873 int
71874 main ()
71875 {
71876  __builtin_fabsf(0);
71877   ;
71878   return 0;
71879 }
71880 _ACEOF
71881 rm -f conftest.$ac_objext
71882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71883   (eval $ac_compile) 2>conftest.er1
71884   ac_status=$?
71885   grep -v '^ *+' conftest.er1 >conftest.err
71886   rm -f conftest.er1
71887   cat conftest.err >&5
71888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71889   (exit $ac_status); } &&
71890          { ac_try='test -z "$ac_cxx_werror_flag"
71891                          || test ! -s conftest.err'
71892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71893   (eval $ac_try) 2>&5
71894   ac_status=$?
71895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71896   (exit $ac_status); }; } &&
71897          { ac_try='test -s conftest.$ac_objext'
71898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71899   (eval $ac_try) 2>&5
71900   ac_status=$?
71901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71902   (exit $ac_status); }; }; then
71903   glibcxx_cv_func___builtin_fabsf_use=yes
71904 else
71905   echo "$as_me: failed program was:" >&5
71906 sed 's/^/| /' conftest.$ac_ext >&5
71907
71908 glibcxx_cv_func___builtin_fabsf_use=no
71909 fi
71910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71911       ac_ext=c
71912 ac_cpp='$CPP $CPPFLAGS'
71913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71916
71917
71918 fi
71919
71920   fi
71921   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71922 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71923   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71924     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71925 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71926     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71927       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71928   echo $ECHO_N "(cached) $ECHO_C" >&6
71929 else
71930
71931         if test x$gcc_no_link = xyes; then
71932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71934    { (exit 1); exit 1; }; }
71935 fi
71936 cat >conftest.$ac_ext <<_ACEOF
71937 /* confdefs.h.  */
71938 _ACEOF
71939 cat confdefs.h >>conftest.$ac_ext
71940 cat >>conftest.$ac_ext <<_ACEOF
71941 /* end confdefs.h.  */
71942 #include <math.h>
71943 int
71944 main ()
71945 {
71946  __builtin_fabsf(0);
71947   ;
71948   return 0;
71949 }
71950 _ACEOF
71951 rm -f conftest.$ac_objext conftest$ac_exeext
71952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71953   (eval $ac_link) 2>conftest.er1
71954   ac_status=$?
71955   grep -v '^ *+' conftest.er1 >conftest.err
71956   rm -f conftest.er1
71957   cat conftest.err >&5
71958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959   (exit $ac_status); } &&
71960          { ac_try='test -z "$ac_c_werror_flag"
71961                          || test ! -s conftest.err'
71962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71963   (eval $ac_try) 2>&5
71964   ac_status=$?
71965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71966   (exit $ac_status); }; } &&
71967          { ac_try='test -s conftest$ac_exeext'
71968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71969   (eval $ac_try) 2>&5
71970   ac_status=$?
71971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71972   (exit $ac_status); }; }; then
71973   glibcxx_cv_func___builtin_fabsf_link=yes
71974 else
71975   echo "$as_me: failed program was:" >&5
71976 sed 's/^/| /' conftest.$ac_ext >&5
71977
71978 glibcxx_cv_func___builtin_fabsf_link=no
71979 fi
71980 rm -f conftest.err conftest.$ac_objext \
71981       conftest$ac_exeext conftest.$ac_ext
71982
71983 fi
71984
71985     fi
71986     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
71987 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
71988
71989     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
71990
71991 cat >>confdefs.h <<\_ACEOF
71992 #define HAVE___BUILTIN_FABSF 1
71993 _ACEOF
71994
71995     fi
71996
71997   fi
71998
71999
72000   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72001 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72002   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72003     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72004   echo $ECHO_N "(cached) $ECHO_C" >&6
72005 else
72006
72007
72008
72009       ac_ext=cc
72010 ac_cpp='$CXXCPP $CPPFLAGS'
72011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72014
72015       cat >conftest.$ac_ext <<_ACEOF
72016 /* confdefs.h.  */
72017 _ACEOF
72018 cat confdefs.h >>conftest.$ac_ext
72019 cat >>conftest.$ac_ext <<_ACEOF
72020 /* end confdefs.h.  */
72021 #include <math.h>
72022 int
72023 main ()
72024 {
72025  __builtin_fabs(0);
72026   ;
72027   return 0;
72028 }
72029 _ACEOF
72030 rm -f conftest.$ac_objext
72031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72032   (eval $ac_compile) 2>conftest.er1
72033   ac_status=$?
72034   grep -v '^ *+' conftest.er1 >conftest.err
72035   rm -f conftest.er1
72036   cat conftest.err >&5
72037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72038   (exit $ac_status); } &&
72039          { ac_try='test -z "$ac_cxx_werror_flag"
72040                          || test ! -s conftest.err'
72041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72042   (eval $ac_try) 2>&5
72043   ac_status=$?
72044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72045   (exit $ac_status); }; } &&
72046          { ac_try='test -s conftest.$ac_objext'
72047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72048   (eval $ac_try) 2>&5
72049   ac_status=$?
72050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72051   (exit $ac_status); }; }; then
72052   glibcxx_cv_func___builtin_fabs_use=yes
72053 else
72054   echo "$as_me: failed program was:" >&5
72055 sed 's/^/| /' conftest.$ac_ext >&5
72056
72057 glibcxx_cv_func___builtin_fabs_use=no
72058 fi
72059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72060       ac_ext=c
72061 ac_cpp='$CPP $CPPFLAGS'
72062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72065
72066
72067 fi
72068
72069   fi
72070   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72071 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72072   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72073     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72074 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72075     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72076       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72077   echo $ECHO_N "(cached) $ECHO_C" >&6
72078 else
72079
72080         if test x$gcc_no_link = xyes; then
72081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72083    { (exit 1); exit 1; }; }
72084 fi
72085 cat >conftest.$ac_ext <<_ACEOF
72086 /* confdefs.h.  */
72087 _ACEOF
72088 cat confdefs.h >>conftest.$ac_ext
72089 cat >>conftest.$ac_ext <<_ACEOF
72090 /* end confdefs.h.  */
72091 #include <math.h>
72092 int
72093 main ()
72094 {
72095  __builtin_fabs(0);
72096   ;
72097   return 0;
72098 }
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102   (eval $ac_link) 2>conftest.er1
72103   ac_status=$?
72104   grep -v '^ *+' conftest.er1 >conftest.err
72105   rm -f conftest.er1
72106   cat conftest.err >&5
72107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108   (exit $ac_status); } &&
72109          { ac_try='test -z "$ac_c_werror_flag"
72110                          || test ! -s conftest.err'
72111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112   (eval $ac_try) 2>&5
72113   ac_status=$?
72114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115   (exit $ac_status); }; } &&
72116          { ac_try='test -s conftest$ac_exeext'
72117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118   (eval $ac_try) 2>&5
72119   ac_status=$?
72120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121   (exit $ac_status); }; }; then
72122   glibcxx_cv_func___builtin_fabs_link=yes
72123 else
72124   echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72126
72127 glibcxx_cv_func___builtin_fabs_link=no
72128 fi
72129 rm -f conftest.err conftest.$ac_objext \
72130       conftest$ac_exeext conftest.$ac_ext
72131
72132 fi
72133
72134     fi
72135     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72136 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72137
72138     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72139
72140 cat >>confdefs.h <<\_ACEOF
72141 #define HAVE___BUILTIN_FABS 1
72142 _ACEOF
72143
72144     fi
72145
72146   fi
72147
72148
72149   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72150 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72151   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72152     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72153   echo $ECHO_N "(cached) $ECHO_C" >&6
72154 else
72155
72156
72157
72158       ac_ext=cc
72159 ac_cpp='$CXXCPP $CPPFLAGS'
72160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72163
72164       cat >conftest.$ac_ext <<_ACEOF
72165 /* confdefs.h.  */
72166 _ACEOF
72167 cat confdefs.h >>conftest.$ac_ext
72168 cat >>conftest.$ac_ext <<_ACEOF
72169 /* end confdefs.h.  */
72170 #include <math.h>
72171 int
72172 main ()
72173 {
72174  __builtin_fabsl(0);
72175   ;
72176   return 0;
72177 }
72178 _ACEOF
72179 rm -f conftest.$ac_objext
72180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72181   (eval $ac_compile) 2>conftest.er1
72182   ac_status=$?
72183   grep -v '^ *+' conftest.er1 >conftest.err
72184   rm -f conftest.er1
72185   cat conftest.err >&5
72186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72187   (exit $ac_status); } &&
72188          { ac_try='test -z "$ac_cxx_werror_flag"
72189                          || test ! -s conftest.err'
72190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72191   (eval $ac_try) 2>&5
72192   ac_status=$?
72193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194   (exit $ac_status); }; } &&
72195          { ac_try='test -s conftest.$ac_objext'
72196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72197   (eval $ac_try) 2>&5
72198   ac_status=$?
72199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72200   (exit $ac_status); }; }; then
72201   glibcxx_cv_func___builtin_fabsl_use=yes
72202 else
72203   echo "$as_me: failed program was:" >&5
72204 sed 's/^/| /' conftest.$ac_ext >&5
72205
72206 glibcxx_cv_func___builtin_fabsl_use=no
72207 fi
72208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72209       ac_ext=c
72210 ac_cpp='$CPP $CPPFLAGS'
72211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72214
72215
72216 fi
72217
72218   fi
72219   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72220 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72221   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72222     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72223 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72224     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72225       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72226   echo $ECHO_N "(cached) $ECHO_C" >&6
72227 else
72228
72229         if test x$gcc_no_link = xyes; then
72230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72232    { (exit 1); exit 1; }; }
72233 fi
72234 cat >conftest.$ac_ext <<_ACEOF
72235 /* confdefs.h.  */
72236 _ACEOF
72237 cat confdefs.h >>conftest.$ac_ext
72238 cat >>conftest.$ac_ext <<_ACEOF
72239 /* end confdefs.h.  */
72240 #include <math.h>
72241 int
72242 main ()
72243 {
72244  __builtin_fabsl(0);
72245   ;
72246   return 0;
72247 }
72248 _ACEOF
72249 rm -f conftest.$ac_objext conftest$ac_exeext
72250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72251   (eval $ac_link) 2>conftest.er1
72252   ac_status=$?
72253   grep -v '^ *+' conftest.er1 >conftest.err
72254   rm -f conftest.er1
72255   cat conftest.err >&5
72256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72257   (exit $ac_status); } &&
72258          { ac_try='test -z "$ac_c_werror_flag"
72259                          || test ! -s conftest.err'
72260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72261   (eval $ac_try) 2>&5
72262   ac_status=$?
72263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264   (exit $ac_status); }; } &&
72265          { ac_try='test -s conftest$ac_exeext'
72266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72267   (eval $ac_try) 2>&5
72268   ac_status=$?
72269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72270   (exit $ac_status); }; }; then
72271   glibcxx_cv_func___builtin_fabsl_link=yes
72272 else
72273   echo "$as_me: failed program was:" >&5
72274 sed 's/^/| /' conftest.$ac_ext >&5
72275
72276 glibcxx_cv_func___builtin_fabsl_link=no
72277 fi
72278 rm -f conftest.err conftest.$ac_objext \
72279       conftest$ac_exeext conftest.$ac_ext
72280
72281 fi
72282
72283     fi
72284     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72285 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72286
72287     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72288
72289 cat >>confdefs.h <<\_ACEOF
72290 #define HAVE___BUILTIN_FABSL 1
72291 _ACEOF
72292
72293     fi
72294
72295   fi
72296
72297
72298   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72299 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72300   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72301     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72302   echo $ECHO_N "(cached) $ECHO_C" >&6
72303 else
72304
72305
72306
72307       ac_ext=cc
72308 ac_cpp='$CXXCPP $CPPFLAGS'
72309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72312
72313       cat >conftest.$ac_ext <<_ACEOF
72314 /* confdefs.h.  */
72315 _ACEOF
72316 cat confdefs.h >>conftest.$ac_ext
72317 cat >>conftest.$ac_ext <<_ACEOF
72318 /* end confdefs.h.  */
72319 #include <math.h>
72320 int
72321 main ()
72322 {
72323  __builtin_labs(0);
72324   ;
72325   return 0;
72326 }
72327 _ACEOF
72328 rm -f conftest.$ac_objext
72329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72330   (eval $ac_compile) 2>conftest.er1
72331   ac_status=$?
72332   grep -v '^ *+' conftest.er1 >conftest.err
72333   rm -f conftest.er1
72334   cat conftest.err >&5
72335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72336   (exit $ac_status); } &&
72337          { ac_try='test -z "$ac_cxx_werror_flag"
72338                          || test ! -s conftest.err'
72339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72340   (eval $ac_try) 2>&5
72341   ac_status=$?
72342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343   (exit $ac_status); }; } &&
72344          { ac_try='test -s conftest.$ac_objext'
72345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72346   (eval $ac_try) 2>&5
72347   ac_status=$?
72348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72349   (exit $ac_status); }; }; then
72350   glibcxx_cv_func___builtin_labs_use=yes
72351 else
72352   echo "$as_me: failed program was:" >&5
72353 sed 's/^/| /' conftest.$ac_ext >&5
72354
72355 glibcxx_cv_func___builtin_labs_use=no
72356 fi
72357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72358       ac_ext=c
72359 ac_cpp='$CPP $CPPFLAGS'
72360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72363
72364
72365 fi
72366
72367   fi
72368   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72369 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72370   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72371     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72372 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72373     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72374       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72375   echo $ECHO_N "(cached) $ECHO_C" >&6
72376 else
72377
72378         if test x$gcc_no_link = xyes; then
72379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72381    { (exit 1); exit 1; }; }
72382 fi
72383 cat >conftest.$ac_ext <<_ACEOF
72384 /* confdefs.h.  */
72385 _ACEOF
72386 cat confdefs.h >>conftest.$ac_ext
72387 cat >>conftest.$ac_ext <<_ACEOF
72388 /* end confdefs.h.  */
72389 #include <math.h>
72390 int
72391 main ()
72392 {
72393  __builtin_labs(0);
72394   ;
72395   return 0;
72396 }
72397 _ACEOF
72398 rm -f conftest.$ac_objext conftest$ac_exeext
72399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72400   (eval $ac_link) 2>conftest.er1
72401   ac_status=$?
72402   grep -v '^ *+' conftest.er1 >conftest.err
72403   rm -f conftest.er1
72404   cat conftest.err >&5
72405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72406   (exit $ac_status); } &&
72407          { ac_try='test -z "$ac_c_werror_flag"
72408                          || test ! -s conftest.err'
72409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72410   (eval $ac_try) 2>&5
72411   ac_status=$?
72412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72413   (exit $ac_status); }; } &&
72414          { ac_try='test -s conftest$ac_exeext'
72415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72416   (eval $ac_try) 2>&5
72417   ac_status=$?
72418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72419   (exit $ac_status); }; }; then
72420   glibcxx_cv_func___builtin_labs_link=yes
72421 else
72422   echo "$as_me: failed program was:" >&5
72423 sed 's/^/| /' conftest.$ac_ext >&5
72424
72425 glibcxx_cv_func___builtin_labs_link=no
72426 fi
72427 rm -f conftest.err conftest.$ac_objext \
72428       conftest$ac_exeext conftest.$ac_ext
72429
72430 fi
72431
72432     fi
72433     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72434 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72435
72436     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72437
72438 cat >>confdefs.h <<\_ACEOF
72439 #define HAVE___BUILTIN_LABS 1
72440 _ACEOF
72441
72442     fi
72443
72444   fi
72445
72446
72447
72448   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72449 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72450   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72451     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72452   echo $ECHO_N "(cached) $ECHO_C" >&6
72453 else
72454
72455
72456
72457       ac_ext=cc
72458 ac_cpp='$CXXCPP $CPPFLAGS'
72459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72462
72463       cat >conftest.$ac_ext <<_ACEOF
72464 /* confdefs.h.  */
72465 _ACEOF
72466 cat confdefs.h >>conftest.$ac_ext
72467 cat >>conftest.$ac_ext <<_ACEOF
72468 /* end confdefs.h.  */
72469 #include <math.h>
72470 int
72471 main ()
72472 {
72473  __builtin_sqrtf(0);
72474   ;
72475   return 0;
72476 }
72477 _ACEOF
72478 rm -f conftest.$ac_objext
72479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72480   (eval $ac_compile) 2>conftest.er1
72481   ac_status=$?
72482   grep -v '^ *+' conftest.er1 >conftest.err
72483   rm -f conftest.er1
72484   cat conftest.err >&5
72485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72486   (exit $ac_status); } &&
72487          { ac_try='test -z "$ac_cxx_werror_flag"
72488                          || test ! -s conftest.err'
72489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72490   (eval $ac_try) 2>&5
72491   ac_status=$?
72492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493   (exit $ac_status); }; } &&
72494          { ac_try='test -s conftest.$ac_objext'
72495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72496   (eval $ac_try) 2>&5
72497   ac_status=$?
72498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72499   (exit $ac_status); }; }; then
72500   glibcxx_cv_func___builtin_sqrtf_use=yes
72501 else
72502   echo "$as_me: failed program was:" >&5
72503 sed 's/^/| /' conftest.$ac_ext >&5
72504
72505 glibcxx_cv_func___builtin_sqrtf_use=no
72506 fi
72507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72508       ac_ext=c
72509 ac_cpp='$CPP $CPPFLAGS'
72510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72513
72514
72515 fi
72516
72517   fi
72518   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72519 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72520   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72521     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72522 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72523     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72524       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72525   echo $ECHO_N "(cached) $ECHO_C" >&6
72526 else
72527
72528         if test x$gcc_no_link = xyes; then
72529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72531    { (exit 1); exit 1; }; }
72532 fi
72533 cat >conftest.$ac_ext <<_ACEOF
72534 /* confdefs.h.  */
72535 _ACEOF
72536 cat confdefs.h >>conftest.$ac_ext
72537 cat >>conftest.$ac_ext <<_ACEOF
72538 /* end confdefs.h.  */
72539 #include <math.h>
72540 int
72541 main ()
72542 {
72543  __builtin_sqrtf(0);
72544   ;
72545   return 0;
72546 }
72547 _ACEOF
72548 rm -f conftest.$ac_objext conftest$ac_exeext
72549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72550   (eval $ac_link) 2>conftest.er1
72551   ac_status=$?
72552   grep -v '^ *+' conftest.er1 >conftest.err
72553   rm -f conftest.er1
72554   cat conftest.err >&5
72555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556   (exit $ac_status); } &&
72557          { ac_try='test -z "$ac_c_werror_flag"
72558                          || test ! -s conftest.err'
72559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72560   (eval $ac_try) 2>&5
72561   ac_status=$?
72562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72563   (exit $ac_status); }; } &&
72564          { ac_try='test -s conftest$ac_exeext'
72565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566   (eval $ac_try) 2>&5
72567   ac_status=$?
72568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569   (exit $ac_status); }; }; then
72570   glibcxx_cv_func___builtin_sqrtf_link=yes
72571 else
72572   echo "$as_me: failed program was:" >&5
72573 sed 's/^/| /' conftest.$ac_ext >&5
72574
72575 glibcxx_cv_func___builtin_sqrtf_link=no
72576 fi
72577 rm -f conftest.err conftest.$ac_objext \
72578       conftest$ac_exeext conftest.$ac_ext
72579
72580 fi
72581
72582     fi
72583     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72584 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72585
72586     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72587
72588 cat >>confdefs.h <<\_ACEOF
72589 #define HAVE___BUILTIN_SQRTF 1
72590 _ACEOF
72591
72592     fi
72593
72594   fi
72595
72596
72597   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72598 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72599   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72600     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72601   echo $ECHO_N "(cached) $ECHO_C" >&6
72602 else
72603
72604
72605
72606       ac_ext=cc
72607 ac_cpp='$CXXCPP $CPPFLAGS'
72608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72611
72612       cat >conftest.$ac_ext <<_ACEOF
72613 /* confdefs.h.  */
72614 _ACEOF
72615 cat confdefs.h >>conftest.$ac_ext
72616 cat >>conftest.$ac_ext <<_ACEOF
72617 /* end confdefs.h.  */
72618 #include <math.h>
72619 int
72620 main ()
72621 {
72622  __builtin_sqrt(0);
72623   ;
72624   return 0;
72625 }
72626 _ACEOF
72627 rm -f conftest.$ac_objext
72628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72629   (eval $ac_compile) 2>conftest.er1
72630   ac_status=$?
72631   grep -v '^ *+' conftest.er1 >conftest.err
72632   rm -f conftest.er1
72633   cat conftest.err >&5
72634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72635   (exit $ac_status); } &&
72636          { ac_try='test -z "$ac_cxx_werror_flag"
72637                          || test ! -s conftest.err'
72638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72639   (eval $ac_try) 2>&5
72640   ac_status=$?
72641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72642   (exit $ac_status); }; } &&
72643          { ac_try='test -s conftest.$ac_objext'
72644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72645   (eval $ac_try) 2>&5
72646   ac_status=$?
72647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72648   (exit $ac_status); }; }; then
72649   glibcxx_cv_func___builtin_sqrt_use=yes
72650 else
72651   echo "$as_me: failed program was:" >&5
72652 sed 's/^/| /' conftest.$ac_ext >&5
72653
72654 glibcxx_cv_func___builtin_sqrt_use=no
72655 fi
72656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72657       ac_ext=c
72658 ac_cpp='$CPP $CPPFLAGS'
72659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72662
72663
72664 fi
72665
72666   fi
72667   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72668 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72669   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72670     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72671 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72672     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72673       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72674   echo $ECHO_N "(cached) $ECHO_C" >&6
72675 else
72676
72677         if test x$gcc_no_link = xyes; then
72678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72680    { (exit 1); exit 1; }; }
72681 fi
72682 cat >conftest.$ac_ext <<_ACEOF
72683 /* confdefs.h.  */
72684 _ACEOF
72685 cat confdefs.h >>conftest.$ac_ext
72686 cat >>conftest.$ac_ext <<_ACEOF
72687 /* end confdefs.h.  */
72688 #include <math.h>
72689 int
72690 main ()
72691 {
72692  __builtin_sqrt(0);
72693   ;
72694   return 0;
72695 }
72696 _ACEOF
72697 rm -f conftest.$ac_objext conftest$ac_exeext
72698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72699   (eval $ac_link) 2>conftest.er1
72700   ac_status=$?
72701   grep -v '^ *+' conftest.er1 >conftest.err
72702   rm -f conftest.er1
72703   cat conftest.err >&5
72704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72705   (exit $ac_status); } &&
72706          { ac_try='test -z "$ac_c_werror_flag"
72707                          || test ! -s conftest.err'
72708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72709   (eval $ac_try) 2>&5
72710   ac_status=$?
72711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72712   (exit $ac_status); }; } &&
72713          { ac_try='test -s conftest$ac_exeext'
72714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72715   (eval $ac_try) 2>&5
72716   ac_status=$?
72717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72718   (exit $ac_status); }; }; then
72719   glibcxx_cv_func___builtin_sqrt_link=yes
72720 else
72721   echo "$as_me: failed program was:" >&5
72722 sed 's/^/| /' conftest.$ac_ext >&5
72723
72724 glibcxx_cv_func___builtin_sqrt_link=no
72725 fi
72726 rm -f conftest.err conftest.$ac_objext \
72727       conftest$ac_exeext conftest.$ac_ext
72728
72729 fi
72730
72731     fi
72732     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72733 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72734
72735     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72736
72737 cat >>confdefs.h <<\_ACEOF
72738 #define HAVE___BUILTIN_SQRT 1
72739 _ACEOF
72740
72741     fi
72742
72743   fi
72744
72745
72746   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72747 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72748   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72749     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72750   echo $ECHO_N "(cached) $ECHO_C" >&6
72751 else
72752
72753
72754
72755       ac_ext=cc
72756 ac_cpp='$CXXCPP $CPPFLAGS'
72757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72760
72761       cat >conftest.$ac_ext <<_ACEOF
72762 /* confdefs.h.  */
72763 _ACEOF
72764 cat confdefs.h >>conftest.$ac_ext
72765 cat >>conftest.$ac_ext <<_ACEOF
72766 /* end confdefs.h.  */
72767 #include <math.h>
72768 int
72769 main ()
72770 {
72771  __builtin_sqrtl(0);
72772   ;
72773   return 0;
72774 }
72775 _ACEOF
72776 rm -f conftest.$ac_objext
72777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72778   (eval $ac_compile) 2>conftest.er1
72779   ac_status=$?
72780   grep -v '^ *+' conftest.er1 >conftest.err
72781   rm -f conftest.er1
72782   cat conftest.err >&5
72783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72784   (exit $ac_status); } &&
72785          { ac_try='test -z "$ac_cxx_werror_flag"
72786                          || test ! -s conftest.err'
72787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72788   (eval $ac_try) 2>&5
72789   ac_status=$?
72790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72791   (exit $ac_status); }; } &&
72792          { ac_try='test -s conftest.$ac_objext'
72793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72794   (eval $ac_try) 2>&5
72795   ac_status=$?
72796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72797   (exit $ac_status); }; }; then
72798   glibcxx_cv_func___builtin_sqrtl_use=yes
72799 else
72800   echo "$as_me: failed program was:" >&5
72801 sed 's/^/| /' conftest.$ac_ext >&5
72802
72803 glibcxx_cv_func___builtin_sqrtl_use=no
72804 fi
72805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72806       ac_ext=c
72807 ac_cpp='$CPP $CPPFLAGS'
72808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72811
72812
72813 fi
72814
72815   fi
72816   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72817 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72818   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72819     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72820 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72821     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72822       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72823   echo $ECHO_N "(cached) $ECHO_C" >&6
72824 else
72825
72826         if test x$gcc_no_link = xyes; then
72827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72829    { (exit 1); exit 1; }; }
72830 fi
72831 cat >conftest.$ac_ext <<_ACEOF
72832 /* confdefs.h.  */
72833 _ACEOF
72834 cat confdefs.h >>conftest.$ac_ext
72835 cat >>conftest.$ac_ext <<_ACEOF
72836 /* end confdefs.h.  */
72837 #include <math.h>
72838 int
72839 main ()
72840 {
72841  __builtin_sqrtl(0);
72842   ;
72843   return 0;
72844 }
72845 _ACEOF
72846 rm -f conftest.$ac_objext conftest$ac_exeext
72847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72848   (eval $ac_link) 2>conftest.er1
72849   ac_status=$?
72850   grep -v '^ *+' conftest.er1 >conftest.err
72851   rm -f conftest.er1
72852   cat conftest.err >&5
72853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72854   (exit $ac_status); } &&
72855          { ac_try='test -z "$ac_c_werror_flag"
72856                          || test ! -s conftest.err'
72857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72858   (eval $ac_try) 2>&5
72859   ac_status=$?
72860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72861   (exit $ac_status); }; } &&
72862          { ac_try='test -s conftest$ac_exeext'
72863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72864   (eval $ac_try) 2>&5
72865   ac_status=$?
72866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72867   (exit $ac_status); }; }; then
72868   glibcxx_cv_func___builtin_sqrtl_link=yes
72869 else
72870   echo "$as_me: failed program was:" >&5
72871 sed 's/^/| /' conftest.$ac_ext >&5
72872
72873 glibcxx_cv_func___builtin_sqrtl_link=no
72874 fi
72875 rm -f conftest.err conftest.$ac_objext \
72876       conftest$ac_exeext conftest.$ac_ext
72877
72878 fi
72879
72880     fi
72881     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72882 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72883
72884     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72885
72886 cat >>confdefs.h <<\_ACEOF
72887 #define HAVE___BUILTIN_SQRTL 1
72888 _ACEOF
72889
72890     fi
72891
72892   fi
72893
72894
72895
72896   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72897 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72898   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72899     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72900   echo $ECHO_N "(cached) $ECHO_C" >&6
72901 else
72902
72903
72904
72905       ac_ext=cc
72906 ac_cpp='$CXXCPP $CPPFLAGS'
72907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72910
72911       cat >conftest.$ac_ext <<_ACEOF
72912 /* confdefs.h.  */
72913 _ACEOF
72914 cat confdefs.h >>conftest.$ac_ext
72915 cat >>conftest.$ac_ext <<_ACEOF
72916 /* end confdefs.h.  */
72917 #include <math.h>
72918 int
72919 main ()
72920 {
72921  __builtin_sinf(0);
72922   ;
72923   return 0;
72924 }
72925 _ACEOF
72926 rm -f conftest.$ac_objext
72927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72928   (eval $ac_compile) 2>conftest.er1
72929   ac_status=$?
72930   grep -v '^ *+' conftest.er1 >conftest.err
72931   rm -f conftest.er1
72932   cat conftest.err >&5
72933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72934   (exit $ac_status); } &&
72935          { ac_try='test -z "$ac_cxx_werror_flag"
72936                          || test ! -s conftest.err'
72937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72938   (eval $ac_try) 2>&5
72939   ac_status=$?
72940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72941   (exit $ac_status); }; } &&
72942          { ac_try='test -s conftest.$ac_objext'
72943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72944   (eval $ac_try) 2>&5
72945   ac_status=$?
72946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947   (exit $ac_status); }; }; then
72948   glibcxx_cv_func___builtin_sinf_use=yes
72949 else
72950   echo "$as_me: failed program was:" >&5
72951 sed 's/^/| /' conftest.$ac_ext >&5
72952
72953 glibcxx_cv_func___builtin_sinf_use=no
72954 fi
72955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72956       ac_ext=c
72957 ac_cpp='$CPP $CPPFLAGS'
72958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72961
72962
72963 fi
72964
72965   fi
72966   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72967 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72968   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
72969     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
72970 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
72971     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
72972       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
72973   echo $ECHO_N "(cached) $ECHO_C" >&6
72974 else
72975
72976         if test x$gcc_no_link = xyes; then
72977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72979    { (exit 1); exit 1; }; }
72980 fi
72981 cat >conftest.$ac_ext <<_ACEOF
72982 /* confdefs.h.  */
72983 _ACEOF
72984 cat confdefs.h >>conftest.$ac_ext
72985 cat >>conftest.$ac_ext <<_ACEOF
72986 /* end confdefs.h.  */
72987 #include <math.h>
72988 int
72989 main ()
72990 {
72991  __builtin_sinf(0);
72992   ;
72993   return 0;
72994 }
72995 _ACEOF
72996 rm -f conftest.$ac_objext conftest$ac_exeext
72997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72998   (eval $ac_link) 2>conftest.er1
72999   ac_status=$?
73000   grep -v '^ *+' conftest.er1 >conftest.err
73001   rm -f conftest.er1
73002   cat conftest.err >&5
73003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004   (exit $ac_status); } &&
73005          { ac_try='test -z "$ac_c_werror_flag"
73006                          || test ! -s conftest.err'
73007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73008   (eval $ac_try) 2>&5
73009   ac_status=$?
73010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73011   (exit $ac_status); }; } &&
73012          { ac_try='test -s conftest$ac_exeext'
73013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73014   (eval $ac_try) 2>&5
73015   ac_status=$?
73016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73017   (exit $ac_status); }; }; then
73018   glibcxx_cv_func___builtin_sinf_link=yes
73019 else
73020   echo "$as_me: failed program was:" >&5
73021 sed 's/^/| /' conftest.$ac_ext >&5
73022
73023 glibcxx_cv_func___builtin_sinf_link=no
73024 fi
73025 rm -f conftest.err conftest.$ac_objext \
73026       conftest$ac_exeext conftest.$ac_ext
73027
73028 fi
73029
73030     fi
73031     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73032 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73033
73034     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73035
73036 cat >>confdefs.h <<\_ACEOF
73037 #define HAVE___BUILTIN_SINF 1
73038 _ACEOF
73039
73040     fi
73041
73042   fi
73043
73044
73045   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73046 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73047   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73048     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73049   echo $ECHO_N "(cached) $ECHO_C" >&6
73050 else
73051
73052
73053
73054       ac_ext=cc
73055 ac_cpp='$CXXCPP $CPPFLAGS'
73056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73059
73060       cat >conftest.$ac_ext <<_ACEOF
73061 /* confdefs.h.  */
73062 _ACEOF
73063 cat confdefs.h >>conftest.$ac_ext
73064 cat >>conftest.$ac_ext <<_ACEOF
73065 /* end confdefs.h.  */
73066 #include <math.h>
73067 int
73068 main ()
73069 {
73070  __builtin_sin(0);
73071   ;
73072   return 0;
73073 }
73074 _ACEOF
73075 rm -f conftest.$ac_objext
73076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73077   (eval $ac_compile) 2>conftest.er1
73078   ac_status=$?
73079   grep -v '^ *+' conftest.er1 >conftest.err
73080   rm -f conftest.er1
73081   cat conftest.err >&5
73082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73083   (exit $ac_status); } &&
73084          { ac_try='test -z "$ac_cxx_werror_flag"
73085                          || test ! -s conftest.err'
73086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73087   (eval $ac_try) 2>&5
73088   ac_status=$?
73089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73090   (exit $ac_status); }; } &&
73091          { ac_try='test -s conftest.$ac_objext'
73092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73093   (eval $ac_try) 2>&5
73094   ac_status=$?
73095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73096   (exit $ac_status); }; }; then
73097   glibcxx_cv_func___builtin_sin_use=yes
73098 else
73099   echo "$as_me: failed program was:" >&5
73100 sed 's/^/| /' conftest.$ac_ext >&5
73101
73102 glibcxx_cv_func___builtin_sin_use=no
73103 fi
73104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73105       ac_ext=c
73106 ac_cpp='$CPP $CPPFLAGS'
73107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73110
73111
73112 fi
73113
73114   fi
73115   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73116 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73117   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73118     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73119 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73120     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73121       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73122   echo $ECHO_N "(cached) $ECHO_C" >&6
73123 else
73124
73125         if test x$gcc_no_link = xyes; then
73126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73128    { (exit 1); exit 1; }; }
73129 fi
73130 cat >conftest.$ac_ext <<_ACEOF
73131 /* confdefs.h.  */
73132 _ACEOF
73133 cat confdefs.h >>conftest.$ac_ext
73134 cat >>conftest.$ac_ext <<_ACEOF
73135 /* end confdefs.h.  */
73136 #include <math.h>
73137 int
73138 main ()
73139 {
73140  __builtin_sin(0);
73141   ;
73142   return 0;
73143 }
73144 _ACEOF
73145 rm -f conftest.$ac_objext conftest$ac_exeext
73146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73147   (eval $ac_link) 2>conftest.er1
73148   ac_status=$?
73149   grep -v '^ *+' conftest.er1 >conftest.err
73150   rm -f conftest.er1
73151   cat conftest.err >&5
73152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153   (exit $ac_status); } &&
73154          { ac_try='test -z "$ac_c_werror_flag"
73155                          || test ! -s conftest.err'
73156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73157   (eval $ac_try) 2>&5
73158   ac_status=$?
73159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73160   (exit $ac_status); }; } &&
73161          { ac_try='test -s conftest$ac_exeext'
73162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73163   (eval $ac_try) 2>&5
73164   ac_status=$?
73165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73166   (exit $ac_status); }; }; then
73167   glibcxx_cv_func___builtin_sin_link=yes
73168 else
73169   echo "$as_me: failed program was:" >&5
73170 sed 's/^/| /' conftest.$ac_ext >&5
73171
73172 glibcxx_cv_func___builtin_sin_link=no
73173 fi
73174 rm -f conftest.err conftest.$ac_objext \
73175       conftest$ac_exeext conftest.$ac_ext
73176
73177 fi
73178
73179     fi
73180     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73181 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73182
73183     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73184
73185 cat >>confdefs.h <<\_ACEOF
73186 #define HAVE___BUILTIN_SIN 1
73187 _ACEOF
73188
73189     fi
73190
73191   fi
73192
73193
73194   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73195 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73196   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73197     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73198   echo $ECHO_N "(cached) $ECHO_C" >&6
73199 else
73200
73201
73202
73203       ac_ext=cc
73204 ac_cpp='$CXXCPP $CPPFLAGS'
73205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73208
73209       cat >conftest.$ac_ext <<_ACEOF
73210 /* confdefs.h.  */
73211 _ACEOF
73212 cat confdefs.h >>conftest.$ac_ext
73213 cat >>conftest.$ac_ext <<_ACEOF
73214 /* end confdefs.h.  */
73215 #include <math.h>
73216 int
73217 main ()
73218 {
73219  __builtin_sinl(0);
73220   ;
73221   return 0;
73222 }
73223 _ACEOF
73224 rm -f conftest.$ac_objext
73225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73226   (eval $ac_compile) 2>conftest.er1
73227   ac_status=$?
73228   grep -v '^ *+' conftest.er1 >conftest.err
73229   rm -f conftest.er1
73230   cat conftest.err >&5
73231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73232   (exit $ac_status); } &&
73233          { ac_try='test -z "$ac_cxx_werror_flag"
73234                          || test ! -s conftest.err'
73235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73236   (eval $ac_try) 2>&5
73237   ac_status=$?
73238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73239   (exit $ac_status); }; } &&
73240          { ac_try='test -s conftest.$ac_objext'
73241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73242   (eval $ac_try) 2>&5
73243   ac_status=$?
73244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73245   (exit $ac_status); }; }; then
73246   glibcxx_cv_func___builtin_sinl_use=yes
73247 else
73248   echo "$as_me: failed program was:" >&5
73249 sed 's/^/| /' conftest.$ac_ext >&5
73250
73251 glibcxx_cv_func___builtin_sinl_use=no
73252 fi
73253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73254       ac_ext=c
73255 ac_cpp='$CPP $CPPFLAGS'
73256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73259
73260
73261 fi
73262
73263   fi
73264   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73265 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73266   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73267     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73268 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73269     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73270       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73271   echo $ECHO_N "(cached) $ECHO_C" >&6
73272 else
73273
73274         if test x$gcc_no_link = xyes; then
73275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73277    { (exit 1); exit 1; }; }
73278 fi
73279 cat >conftest.$ac_ext <<_ACEOF
73280 /* confdefs.h.  */
73281 _ACEOF
73282 cat confdefs.h >>conftest.$ac_ext
73283 cat >>conftest.$ac_ext <<_ACEOF
73284 /* end confdefs.h.  */
73285 #include <math.h>
73286 int
73287 main ()
73288 {
73289  __builtin_sinl(0);
73290   ;
73291   return 0;
73292 }
73293 _ACEOF
73294 rm -f conftest.$ac_objext conftest$ac_exeext
73295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73296   (eval $ac_link) 2>conftest.er1
73297   ac_status=$?
73298   grep -v '^ *+' conftest.er1 >conftest.err
73299   rm -f conftest.er1
73300   cat conftest.err >&5
73301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73302   (exit $ac_status); } &&
73303          { ac_try='test -z "$ac_c_werror_flag"
73304                          || test ! -s conftest.err'
73305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73306   (eval $ac_try) 2>&5
73307   ac_status=$?
73308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73309   (exit $ac_status); }; } &&
73310          { ac_try='test -s conftest$ac_exeext'
73311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73312   (eval $ac_try) 2>&5
73313   ac_status=$?
73314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73315   (exit $ac_status); }; }; then
73316   glibcxx_cv_func___builtin_sinl_link=yes
73317 else
73318   echo "$as_me: failed program was:" >&5
73319 sed 's/^/| /' conftest.$ac_ext >&5
73320
73321 glibcxx_cv_func___builtin_sinl_link=no
73322 fi
73323 rm -f conftest.err conftest.$ac_objext \
73324       conftest$ac_exeext conftest.$ac_ext
73325
73326 fi
73327
73328     fi
73329     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73330 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73331
73332     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73333
73334 cat >>confdefs.h <<\_ACEOF
73335 #define HAVE___BUILTIN_SINL 1
73336 _ACEOF
73337
73338     fi
73339
73340   fi
73341
73342
73343
73344   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73345 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73346   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73347     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73348   echo $ECHO_N "(cached) $ECHO_C" >&6
73349 else
73350
73351
73352
73353       ac_ext=cc
73354 ac_cpp='$CXXCPP $CPPFLAGS'
73355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73358
73359       cat >conftest.$ac_ext <<_ACEOF
73360 /* confdefs.h.  */
73361 _ACEOF
73362 cat confdefs.h >>conftest.$ac_ext
73363 cat >>conftest.$ac_ext <<_ACEOF
73364 /* end confdefs.h.  */
73365 #include <math.h>
73366 int
73367 main ()
73368 {
73369  __builtin_cosf(0);
73370   ;
73371   return 0;
73372 }
73373 _ACEOF
73374 rm -f conftest.$ac_objext
73375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73376   (eval $ac_compile) 2>conftest.er1
73377   ac_status=$?
73378   grep -v '^ *+' conftest.er1 >conftest.err
73379   rm -f conftest.er1
73380   cat conftest.err >&5
73381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382   (exit $ac_status); } &&
73383          { ac_try='test -z "$ac_cxx_werror_flag"
73384                          || test ! -s conftest.err'
73385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73386   (eval $ac_try) 2>&5
73387   ac_status=$?
73388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73389   (exit $ac_status); }; } &&
73390          { ac_try='test -s conftest.$ac_objext'
73391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73392   (eval $ac_try) 2>&5
73393   ac_status=$?
73394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395   (exit $ac_status); }; }; then
73396   glibcxx_cv_func___builtin_cosf_use=yes
73397 else
73398   echo "$as_me: failed program was:" >&5
73399 sed 's/^/| /' conftest.$ac_ext >&5
73400
73401 glibcxx_cv_func___builtin_cosf_use=no
73402 fi
73403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73404       ac_ext=c
73405 ac_cpp='$CPP $CPPFLAGS'
73406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73409
73410
73411 fi
73412
73413   fi
73414   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73415 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73416   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73417     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73418 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73419     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73420       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73421   echo $ECHO_N "(cached) $ECHO_C" >&6
73422 else
73423
73424         if test x$gcc_no_link = xyes; then
73425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73427    { (exit 1); exit 1; }; }
73428 fi
73429 cat >conftest.$ac_ext <<_ACEOF
73430 /* confdefs.h.  */
73431 _ACEOF
73432 cat confdefs.h >>conftest.$ac_ext
73433 cat >>conftest.$ac_ext <<_ACEOF
73434 /* end confdefs.h.  */
73435 #include <math.h>
73436 int
73437 main ()
73438 {
73439  __builtin_cosf(0);
73440   ;
73441   return 0;
73442 }
73443 _ACEOF
73444 rm -f conftest.$ac_objext conftest$ac_exeext
73445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73446   (eval $ac_link) 2>conftest.er1
73447   ac_status=$?
73448   grep -v '^ *+' conftest.er1 >conftest.err
73449   rm -f conftest.er1
73450   cat conftest.err >&5
73451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73452   (exit $ac_status); } &&
73453          { ac_try='test -z "$ac_c_werror_flag"
73454                          || test ! -s conftest.err'
73455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73456   (eval $ac_try) 2>&5
73457   ac_status=$?
73458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73459   (exit $ac_status); }; } &&
73460          { ac_try='test -s conftest$ac_exeext'
73461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73462   (eval $ac_try) 2>&5
73463   ac_status=$?
73464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73465   (exit $ac_status); }; }; then
73466   glibcxx_cv_func___builtin_cosf_link=yes
73467 else
73468   echo "$as_me: failed program was:" >&5
73469 sed 's/^/| /' conftest.$ac_ext >&5
73470
73471 glibcxx_cv_func___builtin_cosf_link=no
73472 fi
73473 rm -f conftest.err conftest.$ac_objext \
73474       conftest$ac_exeext conftest.$ac_ext
73475
73476 fi
73477
73478     fi
73479     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73480 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73481
73482     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73483
73484 cat >>confdefs.h <<\_ACEOF
73485 #define HAVE___BUILTIN_COSF 1
73486 _ACEOF
73487
73488     fi
73489
73490   fi
73491
73492
73493   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73494 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73495   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73496     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73497   echo $ECHO_N "(cached) $ECHO_C" >&6
73498 else
73499
73500
73501
73502       ac_ext=cc
73503 ac_cpp='$CXXCPP $CPPFLAGS'
73504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73507
73508       cat >conftest.$ac_ext <<_ACEOF
73509 /* confdefs.h.  */
73510 _ACEOF
73511 cat confdefs.h >>conftest.$ac_ext
73512 cat >>conftest.$ac_ext <<_ACEOF
73513 /* end confdefs.h.  */
73514 #include <math.h>
73515 int
73516 main ()
73517 {
73518  __builtin_cos(0);
73519   ;
73520   return 0;
73521 }
73522 _ACEOF
73523 rm -f conftest.$ac_objext
73524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73525   (eval $ac_compile) 2>conftest.er1
73526   ac_status=$?
73527   grep -v '^ *+' conftest.er1 >conftest.err
73528   rm -f conftest.er1
73529   cat conftest.err >&5
73530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73531   (exit $ac_status); } &&
73532          { ac_try='test -z "$ac_cxx_werror_flag"
73533                          || test ! -s conftest.err'
73534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73535   (eval $ac_try) 2>&5
73536   ac_status=$?
73537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73538   (exit $ac_status); }; } &&
73539          { ac_try='test -s conftest.$ac_objext'
73540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73541   (eval $ac_try) 2>&5
73542   ac_status=$?
73543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73544   (exit $ac_status); }; }; then
73545   glibcxx_cv_func___builtin_cos_use=yes
73546 else
73547   echo "$as_me: failed program was:" >&5
73548 sed 's/^/| /' conftest.$ac_ext >&5
73549
73550 glibcxx_cv_func___builtin_cos_use=no
73551 fi
73552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73553       ac_ext=c
73554 ac_cpp='$CPP $CPPFLAGS'
73555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73558
73559
73560 fi
73561
73562   fi
73563   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73564 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73565   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73566     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73567 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73568     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73569       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73570   echo $ECHO_N "(cached) $ECHO_C" >&6
73571 else
73572
73573         if test x$gcc_no_link = xyes; then
73574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73576    { (exit 1); exit 1; }; }
73577 fi
73578 cat >conftest.$ac_ext <<_ACEOF
73579 /* confdefs.h.  */
73580 _ACEOF
73581 cat confdefs.h >>conftest.$ac_ext
73582 cat >>conftest.$ac_ext <<_ACEOF
73583 /* end confdefs.h.  */
73584 #include <math.h>
73585 int
73586 main ()
73587 {
73588  __builtin_cos(0);
73589   ;
73590   return 0;
73591 }
73592 _ACEOF
73593 rm -f conftest.$ac_objext conftest$ac_exeext
73594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73595   (eval $ac_link) 2>conftest.er1
73596   ac_status=$?
73597   grep -v '^ *+' conftest.er1 >conftest.err
73598   rm -f conftest.er1
73599   cat conftest.err >&5
73600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601   (exit $ac_status); } &&
73602          { ac_try='test -z "$ac_c_werror_flag"
73603                          || test ! -s conftest.err'
73604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73605   (eval $ac_try) 2>&5
73606   ac_status=$?
73607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73608   (exit $ac_status); }; } &&
73609          { ac_try='test -s conftest$ac_exeext'
73610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73611   (eval $ac_try) 2>&5
73612   ac_status=$?
73613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73614   (exit $ac_status); }; }; then
73615   glibcxx_cv_func___builtin_cos_link=yes
73616 else
73617   echo "$as_me: failed program was:" >&5
73618 sed 's/^/| /' conftest.$ac_ext >&5
73619
73620 glibcxx_cv_func___builtin_cos_link=no
73621 fi
73622 rm -f conftest.err conftest.$ac_objext \
73623       conftest$ac_exeext conftest.$ac_ext
73624
73625 fi
73626
73627     fi
73628     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73629 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73630
73631     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73632
73633 cat >>confdefs.h <<\_ACEOF
73634 #define HAVE___BUILTIN_COS 1
73635 _ACEOF
73636
73637     fi
73638
73639   fi
73640
73641
73642   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73643 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73644   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73645     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73646   echo $ECHO_N "(cached) $ECHO_C" >&6
73647 else
73648
73649
73650
73651       ac_ext=cc
73652 ac_cpp='$CXXCPP $CPPFLAGS'
73653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73656
73657       cat >conftest.$ac_ext <<_ACEOF
73658 /* confdefs.h.  */
73659 _ACEOF
73660 cat confdefs.h >>conftest.$ac_ext
73661 cat >>conftest.$ac_ext <<_ACEOF
73662 /* end confdefs.h.  */
73663 #include <math.h>
73664 int
73665 main ()
73666 {
73667  __builtin_cosl(0);
73668   ;
73669   return 0;
73670 }
73671 _ACEOF
73672 rm -f conftest.$ac_objext
73673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73674   (eval $ac_compile) 2>conftest.er1
73675   ac_status=$?
73676   grep -v '^ *+' conftest.er1 >conftest.err
73677   rm -f conftest.er1
73678   cat conftest.err >&5
73679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73680   (exit $ac_status); } &&
73681          { ac_try='test -z "$ac_cxx_werror_flag"
73682                          || test ! -s conftest.err'
73683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73684   (eval $ac_try) 2>&5
73685   ac_status=$?
73686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73687   (exit $ac_status); }; } &&
73688          { ac_try='test -s conftest.$ac_objext'
73689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73690   (eval $ac_try) 2>&5
73691   ac_status=$?
73692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73693   (exit $ac_status); }; }; then
73694   glibcxx_cv_func___builtin_cosl_use=yes
73695 else
73696   echo "$as_me: failed program was:" >&5
73697 sed 's/^/| /' conftest.$ac_ext >&5
73698
73699 glibcxx_cv_func___builtin_cosl_use=no
73700 fi
73701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73702       ac_ext=c
73703 ac_cpp='$CPP $CPPFLAGS'
73704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73707
73708
73709 fi
73710
73711   fi
73712   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73713 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73714   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73715     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73716 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73717     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73718       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73719   echo $ECHO_N "(cached) $ECHO_C" >&6
73720 else
73721
73722         if test x$gcc_no_link = xyes; then
73723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73725    { (exit 1); exit 1; }; }
73726 fi
73727 cat >conftest.$ac_ext <<_ACEOF
73728 /* confdefs.h.  */
73729 _ACEOF
73730 cat confdefs.h >>conftest.$ac_ext
73731 cat >>conftest.$ac_ext <<_ACEOF
73732 /* end confdefs.h.  */
73733 #include <math.h>
73734 int
73735 main ()
73736 {
73737  __builtin_cosl(0);
73738   ;
73739   return 0;
73740 }
73741 _ACEOF
73742 rm -f conftest.$ac_objext conftest$ac_exeext
73743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73744   (eval $ac_link) 2>conftest.er1
73745   ac_status=$?
73746   grep -v '^ *+' conftest.er1 >conftest.err
73747   rm -f conftest.er1
73748   cat conftest.err >&5
73749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73750   (exit $ac_status); } &&
73751          { ac_try='test -z "$ac_c_werror_flag"
73752                          || test ! -s conftest.err'
73753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73754   (eval $ac_try) 2>&5
73755   ac_status=$?
73756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73757   (exit $ac_status); }; } &&
73758          { ac_try='test -s conftest$ac_exeext'
73759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73760   (eval $ac_try) 2>&5
73761   ac_status=$?
73762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73763   (exit $ac_status); }; }; then
73764   glibcxx_cv_func___builtin_cosl_link=yes
73765 else
73766   echo "$as_me: failed program was:" >&5
73767 sed 's/^/| /' conftest.$ac_ext >&5
73768
73769 glibcxx_cv_func___builtin_cosl_link=no
73770 fi
73771 rm -f conftest.err conftest.$ac_objext \
73772       conftest$ac_exeext conftest.$ac_ext
73773
73774 fi
73775
73776     fi
73777     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73778 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73779
73780     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73781
73782 cat >>confdefs.h <<\_ACEOF
73783 #define HAVE___BUILTIN_COSL 1
73784 _ACEOF
73785
73786     fi
73787
73788   fi
73789
73790
73791
73792
73793 echo "$as_me:$LINENO: checking for main in -lm" >&5
73794 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73795 if test "${ac_cv_lib_m_main+set}" = set; then
73796   echo $ECHO_N "(cached) $ECHO_C" >&6
73797 else
73798   ac_check_lib_save_LIBS=$LIBS
73799 LIBS="-lm  $LIBS"
73800 if test x$gcc_no_link = xyes; then
73801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73803    { (exit 1); exit 1; }; }
73804 fi
73805 cat >conftest.$ac_ext <<_ACEOF
73806 /* confdefs.h.  */
73807 _ACEOF
73808 cat confdefs.h >>conftest.$ac_ext
73809 cat >>conftest.$ac_ext <<_ACEOF
73810 /* end confdefs.h.  */
73811
73812
73813 int
73814 main ()
73815 {
73816 main ();
73817   ;
73818   return 0;
73819 }
73820 _ACEOF
73821 rm -f conftest.$ac_objext conftest$ac_exeext
73822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73823   (eval $ac_link) 2>conftest.er1
73824   ac_status=$?
73825   grep -v '^ *+' conftest.er1 >conftest.err
73826   rm -f conftest.er1
73827   cat conftest.err >&5
73828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73829   (exit $ac_status); } &&
73830          { ac_try='test -z "$ac_c_werror_flag"
73831                          || test ! -s conftest.err'
73832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73833   (eval $ac_try) 2>&5
73834   ac_status=$?
73835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73836   (exit $ac_status); }; } &&
73837          { ac_try='test -s conftest$ac_exeext'
73838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73839   (eval $ac_try) 2>&5
73840   ac_status=$?
73841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73842   (exit $ac_status); }; }; then
73843   ac_cv_lib_m_main=yes
73844 else
73845   echo "$as_me: failed program was:" >&5
73846 sed 's/^/| /' conftest.$ac_ext >&5
73847
73848 ac_cv_lib_m_main=no
73849 fi
73850 rm -f conftest.err conftest.$ac_objext \
73851       conftest$ac_exeext conftest.$ac_ext
73852 LIBS=$ac_check_lib_save_LIBS
73853 fi
73854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73855 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73856 if test $ac_cv_lib_m_main = yes; then
73857   cat >>confdefs.h <<_ACEOF
73858 #define HAVE_LIBM 1
73859 _ACEOF
73860
73861   LIBS="-lm $LIBS"
73862
73863 fi
73864
73865
73866 for ac_func in copysignf
73867 do
73868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73869 echo "$as_me:$LINENO: checking for $ac_func" >&5
73870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73871 if eval "test \"\${$as_ac_var+set}\" = set"; then
73872   echo $ECHO_N "(cached) $ECHO_C" >&6
73873 else
73874   if test x$gcc_no_link = xyes; then
73875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73877    { (exit 1); exit 1; }; }
73878 fi
73879 cat >conftest.$ac_ext <<_ACEOF
73880 /* confdefs.h.  */
73881 _ACEOF
73882 cat confdefs.h >>conftest.$ac_ext
73883 cat >>conftest.$ac_ext <<_ACEOF
73884 /* end confdefs.h.  */
73885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73887 #define $ac_func innocuous_$ac_func
73888
73889 /* System header to define __stub macros and hopefully few prototypes,
73890     which can conflict with char $ac_func (); below.
73891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73892     <limits.h> exists even on freestanding compilers.  */
73893
73894 #ifdef __STDC__
73895 # include <limits.h>
73896 #else
73897 # include <assert.h>
73898 #endif
73899
73900 #undef $ac_func
73901
73902 /* Override any gcc2 internal prototype to avoid an error.  */
73903 #ifdef __cplusplus
73904 extern "C"
73905 {
73906 #endif
73907 /* We use char because int might match the return type of a gcc2
73908    builtin and then its argument prototype would still apply.  */
73909 char $ac_func ();
73910 /* The GNU C library defines this for functions which it implements
73911     to always fail with ENOSYS.  Some functions are actually named
73912     something starting with __ and the normal name is an alias.  */
73913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73914 choke me
73915 #else
73916 char (*f) () = $ac_func;
73917 #endif
73918 #ifdef __cplusplus
73919 }
73920 #endif
73921
73922 int
73923 main ()
73924 {
73925 return f != $ac_func;
73926   ;
73927   return 0;
73928 }
73929 _ACEOF
73930 rm -f conftest.$ac_objext conftest$ac_exeext
73931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73932   (eval $ac_link) 2>conftest.er1
73933   ac_status=$?
73934   grep -v '^ *+' conftest.er1 >conftest.err
73935   rm -f conftest.er1
73936   cat conftest.err >&5
73937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73938   (exit $ac_status); } &&
73939          { ac_try='test -z "$ac_c_werror_flag"
73940                          || test ! -s conftest.err'
73941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73942   (eval $ac_try) 2>&5
73943   ac_status=$?
73944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73945   (exit $ac_status); }; } &&
73946          { ac_try='test -s conftest$ac_exeext'
73947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73948   (eval $ac_try) 2>&5
73949   ac_status=$?
73950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73951   (exit $ac_status); }; }; then
73952   eval "$as_ac_var=yes"
73953 else
73954   echo "$as_me: failed program was:" >&5
73955 sed 's/^/| /' conftest.$ac_ext >&5
73956
73957 eval "$as_ac_var=no"
73958 fi
73959 rm -f conftest.err conftest.$ac_objext \
73960       conftest$ac_exeext conftest.$ac_ext
73961 fi
73962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73964 if test `eval echo '${'$as_ac_var'}'` = yes; then
73965   cat >>confdefs.h <<_ACEOF
73966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73967 _ACEOF
73968
73969 else
73970   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73971 fi
73972 done
73973
73974
73975
73976 for ac_func in __signbit
73977 do
73978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73979 echo "$as_me:$LINENO: checking for $ac_func" >&5
73980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73981 if eval "test \"\${$as_ac_var+set}\" = set"; then
73982   echo $ECHO_N "(cached) $ECHO_C" >&6
73983 else
73984   if test x$gcc_no_link = xyes; then
73985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73987    { (exit 1); exit 1; }; }
73988 fi
73989 cat >conftest.$ac_ext <<_ACEOF
73990 /* confdefs.h.  */
73991 _ACEOF
73992 cat confdefs.h >>conftest.$ac_ext
73993 cat >>conftest.$ac_ext <<_ACEOF
73994 /* end confdefs.h.  */
73995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73997 #define $ac_func innocuous_$ac_func
73998
73999 /* System header to define __stub macros and hopefully few prototypes,
74000     which can conflict with char $ac_func (); below.
74001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74002     <limits.h> exists even on freestanding compilers.  */
74003
74004 #ifdef __STDC__
74005 # include <limits.h>
74006 #else
74007 # include <assert.h>
74008 #endif
74009
74010 #undef $ac_func
74011
74012 /* Override any gcc2 internal prototype to avoid an error.  */
74013 #ifdef __cplusplus
74014 extern "C"
74015 {
74016 #endif
74017 /* We use char because int might match the return type of a gcc2
74018    builtin and then its argument prototype would still apply.  */
74019 char $ac_func ();
74020 /* The GNU C library defines this for functions which it implements
74021     to always fail with ENOSYS.  Some functions are actually named
74022     something starting with __ and the normal name is an alias.  */
74023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74024 choke me
74025 #else
74026 char (*f) () = $ac_func;
74027 #endif
74028 #ifdef __cplusplus
74029 }
74030 #endif
74031
74032 int
74033 main ()
74034 {
74035 return f != $ac_func;
74036   ;
74037   return 0;
74038 }
74039 _ACEOF
74040 rm -f conftest.$ac_objext conftest$ac_exeext
74041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74042   (eval $ac_link) 2>conftest.er1
74043   ac_status=$?
74044   grep -v '^ *+' conftest.er1 >conftest.err
74045   rm -f conftest.er1
74046   cat conftest.err >&5
74047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74048   (exit $ac_status); } &&
74049          { ac_try='test -z "$ac_c_werror_flag"
74050                          || test ! -s conftest.err'
74051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74052   (eval $ac_try) 2>&5
74053   ac_status=$?
74054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74055   (exit $ac_status); }; } &&
74056          { ac_try='test -s conftest$ac_exeext'
74057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74058   (eval $ac_try) 2>&5
74059   ac_status=$?
74060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74061   (exit $ac_status); }; }; then
74062   eval "$as_ac_var=yes"
74063 else
74064   echo "$as_me: failed program was:" >&5
74065 sed 's/^/| /' conftest.$ac_ext >&5
74066
74067 eval "$as_ac_var=no"
74068 fi
74069 rm -f conftest.err conftest.$ac_objext \
74070       conftest$ac_exeext conftest.$ac_ext
74071 fi
74072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74074 if test `eval echo '${'$as_ac_var'}'` = yes; then
74075   cat >>confdefs.h <<_ACEOF
74076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74077 _ACEOF
74078
74079 else
74080   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74081 fi
74082 done
74083
74084
74085
74086 for ac_func in __signbitf
74087 do
74088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74089 echo "$as_me:$LINENO: checking for $ac_func" >&5
74090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74091 if eval "test \"\${$as_ac_var+set}\" = set"; then
74092   echo $ECHO_N "(cached) $ECHO_C" >&6
74093 else
74094   if test x$gcc_no_link = xyes; then
74095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74097    { (exit 1); exit 1; }; }
74098 fi
74099 cat >conftest.$ac_ext <<_ACEOF
74100 /* confdefs.h.  */
74101 _ACEOF
74102 cat confdefs.h >>conftest.$ac_ext
74103 cat >>conftest.$ac_ext <<_ACEOF
74104 /* end confdefs.h.  */
74105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74107 #define $ac_func innocuous_$ac_func
74108
74109 /* System header to define __stub macros and hopefully few prototypes,
74110     which can conflict with char $ac_func (); below.
74111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74112     <limits.h> exists even on freestanding compilers.  */
74113
74114 #ifdef __STDC__
74115 # include <limits.h>
74116 #else
74117 # include <assert.h>
74118 #endif
74119
74120 #undef $ac_func
74121
74122 /* Override any gcc2 internal prototype to avoid an error.  */
74123 #ifdef __cplusplus
74124 extern "C"
74125 {
74126 #endif
74127 /* We use char because int might match the return type of a gcc2
74128    builtin and then its argument prototype would still apply.  */
74129 char $ac_func ();
74130 /* The GNU C library defines this for functions which it implements
74131     to always fail with ENOSYS.  Some functions are actually named
74132     something starting with __ and the normal name is an alias.  */
74133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74134 choke me
74135 #else
74136 char (*f) () = $ac_func;
74137 #endif
74138 #ifdef __cplusplus
74139 }
74140 #endif
74141
74142 int
74143 main ()
74144 {
74145 return f != $ac_func;
74146   ;
74147   return 0;
74148 }
74149 _ACEOF
74150 rm -f conftest.$ac_objext conftest$ac_exeext
74151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74152   (eval $ac_link) 2>conftest.er1
74153   ac_status=$?
74154   grep -v '^ *+' conftest.er1 >conftest.err
74155   rm -f conftest.er1
74156   cat conftest.err >&5
74157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74158   (exit $ac_status); } &&
74159          { ac_try='test -z "$ac_c_werror_flag"
74160                          || test ! -s conftest.err'
74161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74162   (eval $ac_try) 2>&5
74163   ac_status=$?
74164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74165   (exit $ac_status); }; } &&
74166          { ac_try='test -s conftest$ac_exeext'
74167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74168   (eval $ac_try) 2>&5
74169   ac_status=$?
74170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74171   (exit $ac_status); }; }; then
74172   eval "$as_ac_var=yes"
74173 else
74174   echo "$as_me: failed program was:" >&5
74175 sed 's/^/| /' conftest.$ac_ext >&5
74176
74177 eval "$as_ac_var=no"
74178 fi
74179 rm -f conftest.err conftest.$ac_objext \
74180       conftest$ac_exeext conftest.$ac_ext
74181 fi
74182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74184 if test `eval echo '${'$as_ac_var'}'` = yes; then
74185   cat >>confdefs.h <<_ACEOF
74186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74187 _ACEOF
74188
74189 else
74190   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74191 fi
74192 done
74193
74194
74195           if test x$ac_cv_func_copysignl = x"yes"; then
74196
74197 for ac_func in __signbitl
74198 do
74199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74200 echo "$as_me:$LINENO: checking for $ac_func" >&5
74201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74202 if eval "test \"\${$as_ac_var+set}\" = set"; then
74203   echo $ECHO_N "(cached) $ECHO_C" >&6
74204 else
74205   if test x$gcc_no_link = xyes; then
74206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74208    { (exit 1); exit 1; }; }
74209 fi
74210 cat >conftest.$ac_ext <<_ACEOF
74211 /* confdefs.h.  */
74212 _ACEOF
74213 cat confdefs.h >>conftest.$ac_ext
74214 cat >>conftest.$ac_ext <<_ACEOF
74215 /* end confdefs.h.  */
74216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74218 #define $ac_func innocuous_$ac_func
74219
74220 /* System header to define __stub macros and hopefully few prototypes,
74221     which can conflict with char $ac_func (); below.
74222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74223     <limits.h> exists even on freestanding compilers.  */
74224
74225 #ifdef __STDC__
74226 # include <limits.h>
74227 #else
74228 # include <assert.h>
74229 #endif
74230
74231 #undef $ac_func
74232
74233 /* Override any gcc2 internal prototype to avoid an error.  */
74234 #ifdef __cplusplus
74235 extern "C"
74236 {
74237 #endif
74238 /* We use char because int might match the return type of a gcc2
74239    builtin and then its argument prototype would still apply.  */
74240 char $ac_func ();
74241 /* The GNU C library defines this for functions which it implements
74242     to always fail with ENOSYS.  Some functions are actually named
74243     something starting with __ and the normal name is an alias.  */
74244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74245 choke me
74246 #else
74247 char (*f) () = $ac_func;
74248 #endif
74249 #ifdef __cplusplus
74250 }
74251 #endif
74252
74253 int
74254 main ()
74255 {
74256 return f != $ac_func;
74257   ;
74258   return 0;
74259 }
74260 _ACEOF
74261 rm -f conftest.$ac_objext conftest$ac_exeext
74262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74263   (eval $ac_link) 2>conftest.er1
74264   ac_status=$?
74265   grep -v '^ *+' conftest.er1 >conftest.err
74266   rm -f conftest.er1
74267   cat conftest.err >&5
74268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74269   (exit $ac_status); } &&
74270          { ac_try='test -z "$ac_c_werror_flag"
74271                          || test ! -s conftest.err'
74272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74273   (eval $ac_try) 2>&5
74274   ac_status=$?
74275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74276   (exit $ac_status); }; } &&
74277          { ac_try='test -s conftest$ac_exeext'
74278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74279   (eval $ac_try) 2>&5
74280   ac_status=$?
74281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74282   (exit $ac_status); }; }; then
74283   eval "$as_ac_var=yes"
74284 else
74285   echo "$as_me: failed program was:" >&5
74286 sed 's/^/| /' conftest.$ac_ext >&5
74287
74288 eval "$as_ac_var=no"
74289 fi
74290 rm -f conftest.err conftest.$ac_objext \
74291       conftest$ac_exeext conftest.$ac_ext
74292 fi
74293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74295 if test `eval echo '${'$as_ac_var'}'` = yes; then
74296   cat >>confdefs.h <<_ACEOF
74297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74298 _ACEOF
74299
74300 else
74301   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74302 fi
74303 done
74304
74305   fi
74306
74307   # Used in libmath/Makefile.am.
74308   if test -n "$LIBMATHOBJS"; then
74309     need_libmath=yes
74310   fi
74311
74312
74313
74314
74315   enable_iconv=no
74316   # Only continue checking if the ISO C99 headers exist and support is on.
74317   if test x"$enable_wchar_t" = xyes; then
74318
74319     # From Bruno Haible's AM_ICONV, but without link tests.
74320     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74321     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
74322     # those with the standalone portable GNU libiconv installed).
74323
74324 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
74325 if test "${with_libiconv_prefix+set}" = set; then
74326   withval="$with_libiconv_prefix"
74327     for dir in `echo "$withval" | tr : ' '`; do
74328       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
74329       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
74330     done
74331     LIBICONV="$LIBICONV -liconv"
74332
74333 fi;
74334    if test x"$LIBICONV" != x; then
74335      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
74336 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
74337    fi
74338
74339     # Use iconv for wchar_t to char conversions. As such, check for
74340     # X/Open Portability Guide, version 2 features (XPG2).
74341     if test "${ac_cv_header_iconv_h+set}" = set; then
74342   echo "$as_me:$LINENO: checking for iconv.h" >&5
74343 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74344 if test "${ac_cv_header_iconv_h+set}" = set; then
74345   echo $ECHO_N "(cached) $ECHO_C" >&6
74346 fi
74347 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74348 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74349 else
74350   # Is the header compilable?
74351 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74352 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74353 cat >conftest.$ac_ext <<_ACEOF
74354 /* confdefs.h.  */
74355 _ACEOF
74356 cat confdefs.h >>conftest.$ac_ext
74357 cat >>conftest.$ac_ext <<_ACEOF
74358 /* end confdefs.h.  */
74359 $ac_includes_default
74360 #include <iconv.h>
74361 _ACEOF
74362 rm -f conftest.$ac_objext
74363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74364   (eval $ac_compile) 2>conftest.er1
74365   ac_status=$?
74366   grep -v '^ *+' conftest.er1 >conftest.err
74367   rm -f conftest.er1
74368   cat conftest.err >&5
74369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74370   (exit $ac_status); } &&
74371          { ac_try='test -z "$ac_c_werror_flag"
74372                          || test ! -s conftest.err'
74373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74374   (eval $ac_try) 2>&5
74375   ac_status=$?
74376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74377   (exit $ac_status); }; } &&
74378          { ac_try='test -s conftest.$ac_objext'
74379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74380   (eval $ac_try) 2>&5
74381   ac_status=$?
74382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74383   (exit $ac_status); }; }; then
74384   ac_header_compiler=yes
74385 else
74386   echo "$as_me: failed program was:" >&5
74387 sed 's/^/| /' conftest.$ac_ext >&5
74388
74389 ac_header_compiler=no
74390 fi
74391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74393 echo "${ECHO_T}$ac_header_compiler" >&6
74394
74395 # Is the header present?
74396 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74397 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74398 cat >conftest.$ac_ext <<_ACEOF
74399 /* confdefs.h.  */
74400 _ACEOF
74401 cat confdefs.h >>conftest.$ac_ext
74402 cat >>conftest.$ac_ext <<_ACEOF
74403 /* end confdefs.h.  */
74404 #include <iconv.h>
74405 _ACEOF
74406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74407   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74408   ac_status=$?
74409   grep -v '^ *+' conftest.er1 >conftest.err
74410   rm -f conftest.er1
74411   cat conftest.err >&5
74412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74413   (exit $ac_status); } >/dev/null; then
74414   if test -s conftest.err; then
74415     ac_cpp_err=$ac_c_preproc_warn_flag
74416     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74417   else
74418     ac_cpp_err=
74419   fi
74420 else
74421   ac_cpp_err=yes
74422 fi
74423 if test -z "$ac_cpp_err"; then
74424   ac_header_preproc=yes
74425 else
74426   echo "$as_me: failed program was:" >&5
74427 sed 's/^/| /' conftest.$ac_ext >&5
74428
74429   ac_header_preproc=no
74430 fi
74431 rm -f conftest.err conftest.$ac_ext
74432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74433 echo "${ECHO_T}$ac_header_preproc" >&6
74434
74435 # So?  What about this header?
74436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74437   yes:no: )
74438     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74439 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74440     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74441 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74442     ac_header_preproc=yes
74443     ;;
74444   no:yes:* )
74445     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74446 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74447     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74448 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74449     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74450 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74451     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74452 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74453     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74454 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74455     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74456 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74457     (
74458       cat <<\_ASBOX
74459 ## ----------------------------------------- ##
74460 ## Report this to the package-unused lists.  ##
74461 ## ----------------------------------------- ##
74462 _ASBOX
74463     ) |
74464       sed "s/^/$as_me: WARNING:     /" >&2
74465     ;;
74466 esac
74467 echo "$as_me:$LINENO: checking for iconv.h" >&5
74468 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74469 if test "${ac_cv_header_iconv_h+set}" = set; then
74470   echo $ECHO_N "(cached) $ECHO_C" >&6
74471 else
74472   ac_cv_header_iconv_h=$ac_header_preproc
74473 fi
74474 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74475 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74476
74477 fi
74478 if test $ac_cv_header_iconv_h = yes; then
74479   ac_has_iconv_h=yes
74480 else
74481   ac_has_iconv_h=no
74482 fi
74483
74484
74485     if test "${ac_cv_header_langinfo_h+set}" = set; then
74486   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74487 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74488 if test "${ac_cv_header_langinfo_h+set}" = set; then
74489   echo $ECHO_N "(cached) $ECHO_C" >&6
74490 fi
74491 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74492 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74493 else
74494   # Is the header compilable?
74495 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74496 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74497 cat >conftest.$ac_ext <<_ACEOF
74498 /* confdefs.h.  */
74499 _ACEOF
74500 cat confdefs.h >>conftest.$ac_ext
74501 cat >>conftest.$ac_ext <<_ACEOF
74502 /* end confdefs.h.  */
74503 $ac_includes_default
74504 #include <langinfo.h>
74505 _ACEOF
74506 rm -f conftest.$ac_objext
74507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74508   (eval $ac_compile) 2>conftest.er1
74509   ac_status=$?
74510   grep -v '^ *+' conftest.er1 >conftest.err
74511   rm -f conftest.er1
74512   cat conftest.err >&5
74513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74514   (exit $ac_status); } &&
74515          { ac_try='test -z "$ac_c_werror_flag"
74516                          || test ! -s conftest.err'
74517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74518   (eval $ac_try) 2>&5
74519   ac_status=$?
74520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74521   (exit $ac_status); }; } &&
74522          { ac_try='test -s conftest.$ac_objext'
74523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74524   (eval $ac_try) 2>&5
74525   ac_status=$?
74526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74527   (exit $ac_status); }; }; then
74528   ac_header_compiler=yes
74529 else
74530   echo "$as_me: failed program was:" >&5
74531 sed 's/^/| /' conftest.$ac_ext >&5
74532
74533 ac_header_compiler=no
74534 fi
74535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74537 echo "${ECHO_T}$ac_header_compiler" >&6
74538
74539 # Is the header present?
74540 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74541 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74542 cat >conftest.$ac_ext <<_ACEOF
74543 /* confdefs.h.  */
74544 _ACEOF
74545 cat confdefs.h >>conftest.$ac_ext
74546 cat >>conftest.$ac_ext <<_ACEOF
74547 /* end confdefs.h.  */
74548 #include <langinfo.h>
74549 _ACEOF
74550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74551   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74552   ac_status=$?
74553   grep -v '^ *+' conftest.er1 >conftest.err
74554   rm -f conftest.er1
74555   cat conftest.err >&5
74556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74557   (exit $ac_status); } >/dev/null; then
74558   if test -s conftest.err; then
74559     ac_cpp_err=$ac_c_preproc_warn_flag
74560     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74561   else
74562     ac_cpp_err=
74563   fi
74564 else
74565   ac_cpp_err=yes
74566 fi
74567 if test -z "$ac_cpp_err"; then
74568   ac_header_preproc=yes
74569 else
74570   echo "$as_me: failed program was:" >&5
74571 sed 's/^/| /' conftest.$ac_ext >&5
74572
74573   ac_header_preproc=no
74574 fi
74575 rm -f conftest.err conftest.$ac_ext
74576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74577 echo "${ECHO_T}$ac_header_preproc" >&6
74578
74579 # So?  What about this header?
74580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74581   yes:no: )
74582     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74583 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74584     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74585 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74586     ac_header_preproc=yes
74587     ;;
74588   no:yes:* )
74589     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74590 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74591     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74592 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74593     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74594 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74595     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74596 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74597     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74598 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74599     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74600 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74601     (
74602       cat <<\_ASBOX
74603 ## ----------------------------------------- ##
74604 ## Report this to the package-unused lists.  ##
74605 ## ----------------------------------------- ##
74606 _ASBOX
74607     ) |
74608       sed "s/^/$as_me: WARNING:     /" >&2
74609     ;;
74610 esac
74611 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74612 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74613 if test "${ac_cv_header_langinfo_h+set}" = set; then
74614   echo $ECHO_N "(cached) $ECHO_C" >&6
74615 else
74616   ac_cv_header_langinfo_h=$ac_header_preproc
74617 fi
74618 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74619 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74620
74621 fi
74622 if test $ac_cv_header_langinfo_h = yes; then
74623   ac_has_langinfo_h=yes
74624 else
74625   ac_has_langinfo_h=no
74626 fi
74627
74628
74629
74630     ac_save_LIBS="$LIBS"
74631     LIBS="$LIBS $LIBICONV"
74632
74633
74634
74635
74636 for ac_func in iconv_open iconv_close iconv nl_langinfo
74637 do
74638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74639 echo "$as_me:$LINENO: checking for $ac_func" >&5
74640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74641 if eval "test \"\${$as_ac_var+set}\" = set"; then
74642   echo $ECHO_N "(cached) $ECHO_C" >&6
74643 else
74644   if test x$gcc_no_link = xyes; then
74645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74647    { (exit 1); exit 1; }; }
74648 fi
74649 cat >conftest.$ac_ext <<_ACEOF
74650 /* confdefs.h.  */
74651 _ACEOF
74652 cat confdefs.h >>conftest.$ac_ext
74653 cat >>conftest.$ac_ext <<_ACEOF
74654 /* end confdefs.h.  */
74655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74657 #define $ac_func innocuous_$ac_func
74658
74659 /* System header to define __stub macros and hopefully few prototypes,
74660     which can conflict with char $ac_func (); below.
74661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74662     <limits.h> exists even on freestanding compilers.  */
74663
74664 #ifdef __STDC__
74665 # include <limits.h>
74666 #else
74667 # include <assert.h>
74668 #endif
74669
74670 #undef $ac_func
74671
74672 /* Override any gcc2 internal prototype to avoid an error.  */
74673 #ifdef __cplusplus
74674 extern "C"
74675 {
74676 #endif
74677 /* We use char because int might match the return type of a gcc2
74678    builtin and then its argument prototype would still apply.  */
74679 char $ac_func ();
74680 /* The GNU C library defines this for functions which it implements
74681     to always fail with ENOSYS.  Some functions are actually named
74682     something starting with __ and the normal name is an alias.  */
74683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74684 choke me
74685 #else
74686 char (*f) () = $ac_func;
74687 #endif
74688 #ifdef __cplusplus
74689 }
74690 #endif
74691
74692 int
74693 main ()
74694 {
74695 return f != $ac_func;
74696   ;
74697   return 0;
74698 }
74699 _ACEOF
74700 rm -f conftest.$ac_objext conftest$ac_exeext
74701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74702   (eval $ac_link) 2>conftest.er1
74703   ac_status=$?
74704   grep -v '^ *+' conftest.er1 >conftest.err
74705   rm -f conftest.er1
74706   cat conftest.err >&5
74707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74708   (exit $ac_status); } &&
74709          { ac_try='test -z "$ac_c_werror_flag"
74710                          || test ! -s conftest.err'
74711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74712   (eval $ac_try) 2>&5
74713   ac_status=$?
74714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74715   (exit $ac_status); }; } &&
74716          { ac_try='test -s conftest$ac_exeext'
74717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74718   (eval $ac_try) 2>&5
74719   ac_status=$?
74720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74721   (exit $ac_status); }; }; then
74722   eval "$as_ac_var=yes"
74723 else
74724   echo "$as_me: failed program was:" >&5
74725 sed 's/^/| /' conftest.$ac_ext >&5
74726
74727 eval "$as_ac_var=no"
74728 fi
74729 rm -f conftest.err conftest.$ac_objext \
74730       conftest$ac_exeext conftest.$ac_ext
74731 fi
74732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74734 if test `eval echo '${'$as_ac_var'}'` = yes; then
74735   cat >>confdefs.h <<_ACEOF
74736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74737 _ACEOF
74738  ac_XPG2funcs=yes
74739 else
74740   ac_XPG2funcs=no
74741 fi
74742 done
74743
74744     LIBS="$ac_save_LIBS"
74745
74746     if test x"$ac_has_iconv_h" = xyes &&
74747        test x"$ac_has_langinfo_h" = xyes &&
74748        test x"$ac_XPG2funcs" = xyes;
74749     then
74750
74751 cat >>confdefs.h <<\_ACEOF
74752 #define _GLIBCXX_USE_ICONV 1
74753 _ACEOF
74754
74755       enable_iconv=yes
74756
74757     fi
74758   fi
74759   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74760 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74761   echo "$as_me:$LINENO: result: $enable_iconv" >&5
74762 echo "${ECHO_T}$enable_iconv" >&6
74763
74764
74765   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74766   ac_save_CXXFLAGS="$CXXFLAGS"
74767   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74768
74769
74770   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74771 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74772   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74773     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74774   echo $ECHO_N "(cached) $ECHO_C" >&6
74775 else
74776
74777
74778
74779       ac_ext=cc
74780 ac_cpp='$CXXCPP $CPPFLAGS'
74781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74784
74785       cat >conftest.$ac_ext <<_ACEOF
74786 /* confdefs.h.  */
74787 _ACEOF
74788 cat confdefs.h >>conftest.$ac_ext
74789 cat >>conftest.$ac_ext <<_ACEOF
74790 /* end confdefs.h.  */
74791 #include <stdlib.h>
74792 int
74793 main ()
74794 {
74795  strtold(0, 0);
74796   ;
74797   return 0;
74798 }
74799 _ACEOF
74800 rm -f conftest.$ac_objext
74801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74802   (eval $ac_compile) 2>conftest.er1
74803   ac_status=$?
74804   grep -v '^ *+' conftest.er1 >conftest.err
74805   rm -f conftest.er1
74806   cat conftest.err >&5
74807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808   (exit $ac_status); } &&
74809          { ac_try='test -z "$ac_cxx_werror_flag"
74810                          || test ! -s conftest.err'
74811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74812   (eval $ac_try) 2>&5
74813   ac_status=$?
74814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74815   (exit $ac_status); }; } &&
74816          { ac_try='test -s conftest.$ac_objext'
74817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74818   (eval $ac_try) 2>&5
74819   ac_status=$?
74820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74821   (exit $ac_status); }; }; then
74822   glibcxx_cv_func_strtold_use=yes
74823 else
74824   echo "$as_me: failed program was:" >&5
74825 sed 's/^/| /' conftest.$ac_ext >&5
74826
74827 glibcxx_cv_func_strtold_use=no
74828 fi
74829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74830       ac_ext=c
74831 ac_cpp='$CPP $CPPFLAGS'
74832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74835
74836
74837 fi
74838
74839   fi
74840   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74841 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74842   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74843
74844 for ac_func in strtold
74845 do
74846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74847 echo "$as_me:$LINENO: checking for $ac_func" >&5
74848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74849 if eval "test \"\${$as_ac_var+set}\" = set"; then
74850   echo $ECHO_N "(cached) $ECHO_C" >&6
74851 else
74852   if test x$gcc_no_link = xyes; then
74853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74855    { (exit 1); exit 1; }; }
74856 fi
74857 cat >conftest.$ac_ext <<_ACEOF
74858 /* confdefs.h.  */
74859 _ACEOF
74860 cat confdefs.h >>conftest.$ac_ext
74861 cat >>conftest.$ac_ext <<_ACEOF
74862 /* end confdefs.h.  */
74863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74865 #define $ac_func innocuous_$ac_func
74866
74867 /* System header to define __stub macros and hopefully few prototypes,
74868     which can conflict with char $ac_func (); below.
74869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74870     <limits.h> exists even on freestanding compilers.  */
74871
74872 #ifdef __STDC__
74873 # include <limits.h>
74874 #else
74875 # include <assert.h>
74876 #endif
74877
74878 #undef $ac_func
74879
74880 /* Override any gcc2 internal prototype to avoid an error.  */
74881 #ifdef __cplusplus
74882 extern "C"
74883 {
74884 #endif
74885 /* We use char because int might match the return type of a gcc2
74886    builtin and then its argument prototype would still apply.  */
74887 char $ac_func ();
74888 /* The GNU C library defines this for functions which it implements
74889     to always fail with ENOSYS.  Some functions are actually named
74890     something starting with __ and the normal name is an alias.  */
74891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74892 choke me
74893 #else
74894 char (*f) () = $ac_func;
74895 #endif
74896 #ifdef __cplusplus
74897 }
74898 #endif
74899
74900 int
74901 main ()
74902 {
74903 return f != $ac_func;
74904   ;
74905   return 0;
74906 }
74907 _ACEOF
74908 rm -f conftest.$ac_objext conftest$ac_exeext
74909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74910   (eval $ac_link) 2>conftest.er1
74911   ac_status=$?
74912   grep -v '^ *+' conftest.er1 >conftest.err
74913   rm -f conftest.er1
74914   cat conftest.err >&5
74915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74916   (exit $ac_status); } &&
74917          { ac_try='test -z "$ac_c_werror_flag"
74918                          || test ! -s conftest.err'
74919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74920   (eval $ac_try) 2>&5
74921   ac_status=$?
74922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74923   (exit $ac_status); }; } &&
74924          { ac_try='test -s conftest$ac_exeext'
74925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74926   (eval $ac_try) 2>&5
74927   ac_status=$?
74928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74929   (exit $ac_status); }; }; then
74930   eval "$as_ac_var=yes"
74931 else
74932   echo "$as_me: failed program was:" >&5
74933 sed 's/^/| /' conftest.$ac_ext >&5
74934
74935 eval "$as_ac_var=no"
74936 fi
74937 rm -f conftest.err conftest.$ac_objext \
74938       conftest$ac_exeext conftest.$ac_ext
74939 fi
74940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74942 if test `eval echo '${'$as_ac_var'}'` = yes; then
74943   cat >>confdefs.h <<_ACEOF
74944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74945 _ACEOF
74946
74947 fi
74948 done
74949
74950   fi
74951
74952
74953
74954
74955
74956   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74957 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74958   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74959     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74960   echo $ECHO_N "(cached) $ECHO_C" >&6
74961 else
74962
74963
74964
74965       ac_ext=cc
74966 ac_cpp='$CXXCPP $CPPFLAGS'
74967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74970
74971       cat >conftest.$ac_ext <<_ACEOF
74972 /* confdefs.h.  */
74973 _ACEOF
74974 cat confdefs.h >>conftest.$ac_ext
74975 cat >>conftest.$ac_ext <<_ACEOF
74976 /* end confdefs.h.  */
74977 #include <stdlib.h>
74978 int
74979 main ()
74980 {
74981  strtof(0, 0);
74982   ;
74983   return 0;
74984 }
74985 _ACEOF
74986 rm -f conftest.$ac_objext
74987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74988   (eval $ac_compile) 2>conftest.er1
74989   ac_status=$?
74990   grep -v '^ *+' conftest.er1 >conftest.err
74991   rm -f conftest.er1
74992   cat conftest.err >&5
74993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74994   (exit $ac_status); } &&
74995          { ac_try='test -z "$ac_cxx_werror_flag"
74996                          || test ! -s conftest.err'
74997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74998   (eval $ac_try) 2>&5
74999   ac_status=$?
75000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75001   (exit $ac_status); }; } &&
75002          { ac_try='test -s conftest.$ac_objext'
75003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75004   (eval $ac_try) 2>&5
75005   ac_status=$?
75006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75007   (exit $ac_status); }; }; then
75008   glibcxx_cv_func_strtof_use=yes
75009 else
75010   echo "$as_me: failed program was:" >&5
75011 sed 's/^/| /' conftest.$ac_ext >&5
75012
75013 glibcxx_cv_func_strtof_use=no
75014 fi
75015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75016       ac_ext=c
75017 ac_cpp='$CPP $CPPFLAGS'
75018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75021
75022
75023 fi
75024
75025   fi
75026   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75027 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75028   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75029
75030 for ac_func in strtof
75031 do
75032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75033 echo "$as_me:$LINENO: checking for $ac_func" >&5
75034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75035 if eval "test \"\${$as_ac_var+set}\" = set"; then
75036   echo $ECHO_N "(cached) $ECHO_C" >&6
75037 else
75038   if test x$gcc_no_link = xyes; then
75039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75041    { (exit 1); exit 1; }; }
75042 fi
75043 cat >conftest.$ac_ext <<_ACEOF
75044 /* confdefs.h.  */
75045 _ACEOF
75046 cat confdefs.h >>conftest.$ac_ext
75047 cat >>conftest.$ac_ext <<_ACEOF
75048 /* end confdefs.h.  */
75049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75051 #define $ac_func innocuous_$ac_func
75052
75053 /* System header to define __stub macros and hopefully few prototypes,
75054     which can conflict with char $ac_func (); below.
75055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75056     <limits.h> exists even on freestanding compilers.  */
75057
75058 #ifdef __STDC__
75059 # include <limits.h>
75060 #else
75061 # include <assert.h>
75062 #endif
75063
75064 #undef $ac_func
75065
75066 /* Override any gcc2 internal prototype to avoid an error.  */
75067 #ifdef __cplusplus
75068 extern "C"
75069 {
75070 #endif
75071 /* We use char because int might match the return type of a gcc2
75072    builtin and then its argument prototype would still apply.  */
75073 char $ac_func ();
75074 /* The GNU C library defines this for functions which it implements
75075     to always fail with ENOSYS.  Some functions are actually named
75076     something starting with __ and the normal name is an alias.  */
75077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75078 choke me
75079 #else
75080 char (*f) () = $ac_func;
75081 #endif
75082 #ifdef __cplusplus
75083 }
75084 #endif
75085
75086 int
75087 main ()
75088 {
75089 return f != $ac_func;
75090   ;
75091   return 0;
75092 }
75093 _ACEOF
75094 rm -f conftest.$ac_objext conftest$ac_exeext
75095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75096   (eval $ac_link) 2>conftest.er1
75097   ac_status=$?
75098   grep -v '^ *+' conftest.er1 >conftest.err
75099   rm -f conftest.er1
75100   cat conftest.err >&5
75101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75102   (exit $ac_status); } &&
75103          { ac_try='test -z "$ac_c_werror_flag"
75104                          || test ! -s conftest.err'
75105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75106   (eval $ac_try) 2>&5
75107   ac_status=$?
75108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75109   (exit $ac_status); }; } &&
75110          { ac_try='test -s conftest$ac_exeext'
75111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75112   (eval $ac_try) 2>&5
75113   ac_status=$?
75114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75115   (exit $ac_status); }; }; then
75116   eval "$as_ac_var=yes"
75117 else
75118   echo "$as_me: failed program was:" >&5
75119 sed 's/^/| /' conftest.$ac_ext >&5
75120
75121 eval "$as_ac_var=no"
75122 fi
75123 rm -f conftest.err conftest.$ac_objext \
75124       conftest$ac_exeext conftest.$ac_ext
75125 fi
75126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75128 if test `eval echo '${'$as_ac_var'}'` = yes; then
75129   cat >>confdefs.h <<_ACEOF
75130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75131 _ACEOF
75132
75133 fi
75134 done
75135
75136   fi
75137
75138
75139
75140
75141
75142   CXXFLAGS="$ac_save_CXXFLAGS"
75143
75144
75145   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75146 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75147   if test "${glibcxx_cv_S_ISREG+set}" = set; then
75148   echo $ECHO_N "(cached) $ECHO_C" >&6
75149 else
75150
75151     if test x$gcc_no_link = xyes; then
75152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75154    { (exit 1); exit 1; }; }
75155 fi
75156 cat >conftest.$ac_ext <<_ACEOF
75157 /* confdefs.h.  */
75158 _ACEOF
75159 cat confdefs.h >>conftest.$ac_ext
75160 cat >>conftest.$ac_ext <<_ACEOF
75161 /* end confdefs.h.  */
75162 #include <sys/stat.h>
75163 int
75164 main ()
75165 {
75166 struct stat buffer;
75167        fstat(0, &buffer);
75168        S_ISREG(buffer.st_mode);
75169   ;
75170   return 0;
75171 }
75172 _ACEOF
75173 rm -f conftest.$ac_objext conftest$ac_exeext
75174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75175   (eval $ac_link) 2>conftest.er1
75176   ac_status=$?
75177   grep -v '^ *+' conftest.er1 >conftest.err
75178   rm -f conftest.er1
75179   cat conftest.err >&5
75180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75181   (exit $ac_status); } &&
75182          { ac_try='test -z "$ac_c_werror_flag"
75183                          || test ! -s conftest.err'
75184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75185   (eval $ac_try) 2>&5
75186   ac_status=$?
75187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75188   (exit $ac_status); }; } &&
75189          { ac_try='test -s conftest$ac_exeext'
75190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75191   (eval $ac_try) 2>&5
75192   ac_status=$?
75193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75194   (exit $ac_status); }; }; then
75195   glibcxx_cv_S_ISREG=yes
75196 else
75197   echo "$as_me: failed program was:" >&5
75198 sed 's/^/| /' conftest.$ac_ext >&5
75199
75200 glibcxx_cv_S_ISREG=no
75201 fi
75202 rm -f conftest.err conftest.$ac_objext \
75203       conftest$ac_exeext conftest.$ac_ext
75204
75205 fi
75206
75207   if test "${glibcxx_cv_S_IFREG+set}" = set; then
75208   echo $ECHO_N "(cached) $ECHO_C" >&6
75209 else
75210
75211     if test x$gcc_no_link = xyes; then
75212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75214    { (exit 1); exit 1; }; }
75215 fi
75216 cat >conftest.$ac_ext <<_ACEOF
75217 /* confdefs.h.  */
75218 _ACEOF
75219 cat confdefs.h >>conftest.$ac_ext
75220 cat >>conftest.$ac_ext <<_ACEOF
75221 /* end confdefs.h.  */
75222 #include <sys/stat.h>
75223 int
75224 main ()
75225 {
75226 struct stat buffer;
75227        fstat(0, &buffer);
75228        S_IFREG & buffer.st_mode;
75229   ;
75230   return 0;
75231 }
75232 _ACEOF
75233 rm -f conftest.$ac_objext conftest$ac_exeext
75234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75235   (eval $ac_link) 2>conftest.er1
75236   ac_status=$?
75237   grep -v '^ *+' conftest.er1 >conftest.err
75238   rm -f conftest.er1
75239   cat conftest.err >&5
75240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75241   (exit $ac_status); } &&
75242          { ac_try='test -z "$ac_c_werror_flag"
75243                          || test ! -s conftest.err'
75244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75245   (eval $ac_try) 2>&5
75246   ac_status=$?
75247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75248   (exit $ac_status); }; } &&
75249          { ac_try='test -s conftest$ac_exeext'
75250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75251   (eval $ac_try) 2>&5
75252   ac_status=$?
75253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75254   (exit $ac_status); }; }; then
75255   glibcxx_cv_S_IFREG=yes
75256 else
75257   echo "$as_me: failed program was:" >&5
75258 sed 's/^/| /' conftest.$ac_ext >&5
75259
75260 glibcxx_cv_S_IFREG=no
75261 fi
75262 rm -f conftest.err conftest.$ac_objext \
75263       conftest$ac_exeext conftest.$ac_ext
75264
75265 fi
75266
75267   res=no
75268   if test $glibcxx_cv_S_ISREG = yes; then
75269
75270 cat >>confdefs.h <<\_ACEOF
75271 #define HAVE_S_ISREG 1
75272 _ACEOF
75273
75274     res=S_ISREG
75275   elif test $glibcxx_cv_S_IFREG = yes; then
75276
75277 cat >>confdefs.h <<\_ACEOF
75278 #define HAVE_S_IFREG 1
75279 _ACEOF
75280
75281     res=S_IFREG
75282   fi
75283   echo "$as_me:$LINENO: result: $res" >&5
75284 echo "${ECHO_T}$res" >&6
75285
75286     cat >>confdefs.h <<\_ACEOF
75287 #define HAVE_WRITEV 1
75288 _ACEOF
75289
75290     ;;
75291
75292   *-freebsd*)
75293
75294
75295
75296
75297
75298
75299
75300
75301
75302
75303
75304
75305
75306
75307
75308
75309 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75310       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75311       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75312       sys/time.h unistd.h
75313 do
75314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75316   echo "$as_me:$LINENO: checking for $ac_header" >&5
75317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75319   echo $ECHO_N "(cached) $ECHO_C" >&6
75320 fi
75321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75323 else
75324   # Is the header compilable?
75325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75327 cat >conftest.$ac_ext <<_ACEOF
75328 /* confdefs.h.  */
75329 _ACEOF
75330 cat confdefs.h >>conftest.$ac_ext
75331 cat >>conftest.$ac_ext <<_ACEOF
75332 /* end confdefs.h.  */
75333 $ac_includes_default
75334 #include <$ac_header>
75335 _ACEOF
75336 rm -f conftest.$ac_objext
75337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75338   (eval $ac_compile) 2>conftest.er1
75339   ac_status=$?
75340   grep -v '^ *+' conftest.er1 >conftest.err
75341   rm -f conftest.er1
75342   cat conftest.err >&5
75343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75344   (exit $ac_status); } &&
75345          { ac_try='test -z "$ac_c_werror_flag"
75346                          || test ! -s conftest.err'
75347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75348   (eval $ac_try) 2>&5
75349   ac_status=$?
75350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75351   (exit $ac_status); }; } &&
75352          { ac_try='test -s conftest.$ac_objext'
75353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75354   (eval $ac_try) 2>&5
75355   ac_status=$?
75356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75357   (exit $ac_status); }; }; then
75358   ac_header_compiler=yes
75359 else
75360   echo "$as_me: failed program was:" >&5
75361 sed 's/^/| /' conftest.$ac_ext >&5
75362
75363 ac_header_compiler=no
75364 fi
75365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75367 echo "${ECHO_T}$ac_header_compiler" >&6
75368
75369 # Is the header present?
75370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75372 cat >conftest.$ac_ext <<_ACEOF
75373 /* confdefs.h.  */
75374 _ACEOF
75375 cat confdefs.h >>conftest.$ac_ext
75376 cat >>conftest.$ac_ext <<_ACEOF
75377 /* end confdefs.h.  */
75378 #include <$ac_header>
75379 _ACEOF
75380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75381   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75382   ac_status=$?
75383   grep -v '^ *+' conftest.er1 >conftest.err
75384   rm -f conftest.er1
75385   cat conftest.err >&5
75386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75387   (exit $ac_status); } >/dev/null; then
75388   if test -s conftest.err; then
75389     ac_cpp_err=$ac_c_preproc_warn_flag
75390     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75391   else
75392     ac_cpp_err=
75393   fi
75394 else
75395   ac_cpp_err=yes
75396 fi
75397 if test -z "$ac_cpp_err"; then
75398   ac_header_preproc=yes
75399 else
75400   echo "$as_me: failed program was:" >&5
75401 sed 's/^/| /' conftest.$ac_ext >&5
75402
75403   ac_header_preproc=no
75404 fi
75405 rm -f conftest.err conftest.$ac_ext
75406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75407 echo "${ECHO_T}$ac_header_preproc" >&6
75408
75409 # So?  What about this header?
75410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75411   yes:no: )
75412     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75414     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75416     ac_header_preproc=yes
75417     ;;
75418   no:yes:* )
75419     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75421     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75422 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75423     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75425     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75426 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75427     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75429     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75431     (
75432       cat <<\_ASBOX
75433 ## ----------------------------------------- ##
75434 ## Report this to the package-unused lists.  ##
75435 ## ----------------------------------------- ##
75436 _ASBOX
75437     ) |
75438       sed "s/^/$as_me: WARNING:     /" >&2
75439     ;;
75440 esac
75441 echo "$as_me:$LINENO: checking for $ac_header" >&5
75442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75444   echo $ECHO_N "(cached) $ECHO_C" >&6
75445 else
75446   eval "$as_ac_Header=\$ac_header_preproc"
75447 fi
75448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75450
75451 fi
75452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75453   cat >>confdefs.h <<_ACEOF
75454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75455 _ACEOF
75456
75457 fi
75458
75459 done
75460
75461     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75462
75463
75464   # If we're not using GNU ld, then there's no point in even trying these
75465   # tests.  Check for that first.  We should have already tested for gld
75466   # by now (in libtool), but require it now just to be safe...
75467   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75468   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75469
75470
75471
75472   # The name set by libtool depends on the version of libtool.  Shame on us
75473   # for depending on an impl detail, but c'est la vie.  Older versions used
75474   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75475   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75476   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75477   # set (hence we're using an older libtool), then set it.
75478   if test x${with_gnu_ld+set} != xset; then
75479     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75480       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75481       with_gnu_ld=no
75482     else
75483       with_gnu_ld=$ac_cv_prog_gnu_ld
75484     fi
75485   fi
75486
75487   # Start by getting the version number.  I think the libtool test already
75488   # does some of this, but throws away the result.
75489   if test x"$with_gnu_ld" = x"yes"; then
75490     echo "$as_me:$LINENO: checking for ld version" >&5
75491 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75492
75493     ldver=`$LD --version 2>/dev/null | head -1 | \
75494            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75495
75496     glibcxx_gnu_ld_version=`echo $ldver | \
75497            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75498     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75499 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75500   fi
75501
75502   # Set --gc-sections.
75503   glibcxx_gcsections_min_ld=21602
75504   if test x"$with_gnu_ld" = x"yes" &&
75505         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75506
75507     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
75508     # NB: This flag only works reliably after 2.16.1. Configure tests
75509     # for this are difficult, so hard wire a value that should work.
75510
75511     # All these tests are for C++, but run with the "C" compiler driver.
75512     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75513     ac_test_CFLAGS="${CFLAGS+set}"
75514     ac_save_CFLAGS="$CFLAGS"
75515     CFLAGS='-x c++ -Wl,--gc-sections'
75516
75517     # Check for -Wl,--gc-sections
75518     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75519 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75520     if test x$gcc_no_link = xyes; then
75521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75523    { (exit 1); exit 1; }; }
75524 fi
75525 cat >conftest.$ac_ext <<_ACEOF
75526 /* confdefs.h.  */
75527 _ACEOF
75528 cat confdefs.h >>conftest.$ac_ext
75529 cat >>conftest.$ac_ext <<_ACEOF
75530 /* end confdefs.h.  */
75531  int one(void) { return 1; }
75532      int two(void) { return 2; }
75533
75534 int
75535 main ()
75536 {
75537  two();
75538   ;
75539   return 0;
75540 }
75541 _ACEOF
75542 rm -f conftest.$ac_objext conftest$ac_exeext
75543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75544   (eval $ac_link) 2>conftest.er1
75545   ac_status=$?
75546   grep -v '^ *+' conftest.er1 >conftest.err
75547   rm -f conftest.er1
75548   cat conftest.err >&5
75549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75550   (exit $ac_status); } &&
75551          { ac_try='test -z "$ac_c_werror_flag"
75552                          || test ! -s conftest.err'
75553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75554   (eval $ac_try) 2>&5
75555   ac_status=$?
75556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75557   (exit $ac_status); }; } &&
75558          { ac_try='test -s conftest$ac_exeext'
75559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75560   (eval $ac_try) 2>&5
75561   ac_status=$?
75562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75563   (exit $ac_status); }; }; then
75564   ac_gcsections=yes
75565 else
75566   echo "$as_me: failed program was:" >&5
75567 sed 's/^/| /' conftest.$ac_ext >&5
75568
75569 ac_gcsections=no
75570 fi
75571 rm -f conftest.err conftest.$ac_objext \
75572       conftest$ac_exeext conftest.$ac_ext
75573     if test "$ac_gcsections" = "yes"; then
75574       rm -f conftest.c
75575       touch conftest.c
75576       if $CC -c conftest.c; then
75577         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75578            grep "Warning: gc-sections option ignored" > /dev/null; then
75579           ac_gcsections=no
75580         fi
75581       fi
75582       rm -f conftest.c conftest.o conftest
75583     fi
75584     if test "$ac_gcsections" = "yes"; then
75585       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75586     fi
75587     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75588 echo "${ECHO_T}$ac_gcsections" >&6
75589
75590     if test "$ac_test_CFLAGS" = set; then
75591       CFLAGS="$ac_save_CFLAGS"
75592     else
75593       # this is the suspicious part
75594       CFLAGS=''
75595     fi
75596   fi
75597
75598   # Set -z,relro.
75599   # Note this is only for shared objects.
75600   ac_ld_relro=no
75601   if test x"$with_gnu_ld" = x"yes"; then
75602     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75603 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75604     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75605     if test -n "$cxx_z_relo"; then
75606       OPT_LDFLAGS="-Wl,-z,relro"
75607       ac_ld_relro=yes
75608     fi
75609     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75610 echo "${ECHO_T}$ac_ld_relro" >&6
75611   fi
75612
75613   # Set linker optimization flags.
75614   if test x"$with_gnu_ld" = x"yes"; then
75615     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75616   fi
75617
75618
75619
75620
75621
75622
75623 echo "$as_me:$LINENO: checking for main in -lm" >&5
75624 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75625 if test "${ac_cv_lib_m_main+set}" = set; then
75626   echo $ECHO_N "(cached) $ECHO_C" >&6
75627 else
75628   ac_check_lib_save_LIBS=$LIBS
75629 LIBS="-lm  $LIBS"
75630 if test x$gcc_no_link = xyes; then
75631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75633    { (exit 1); exit 1; }; }
75634 fi
75635 cat >conftest.$ac_ext <<_ACEOF
75636 /* confdefs.h.  */
75637 _ACEOF
75638 cat confdefs.h >>conftest.$ac_ext
75639 cat >>conftest.$ac_ext <<_ACEOF
75640 /* end confdefs.h.  */
75641
75642
75643 int
75644 main ()
75645 {
75646 main ();
75647   ;
75648   return 0;
75649 }
75650 _ACEOF
75651 rm -f conftest.$ac_objext conftest$ac_exeext
75652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75653   (eval $ac_link) 2>conftest.er1
75654   ac_status=$?
75655   grep -v '^ *+' conftest.er1 >conftest.err
75656   rm -f conftest.er1
75657   cat conftest.err >&5
75658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75659   (exit $ac_status); } &&
75660          { ac_try='test -z "$ac_c_werror_flag"
75661                          || test ! -s conftest.err'
75662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75663   (eval $ac_try) 2>&5
75664   ac_status=$?
75665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75666   (exit $ac_status); }; } &&
75667          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
75673   ac_cv_lib_m_main=yes
75674 else
75675   echo "$as_me: failed program was:" >&5
75676 sed 's/^/| /' conftest.$ac_ext >&5
75677
75678 ac_cv_lib_m_main=no
75679 fi
75680 rm -f conftest.err conftest.$ac_objext \
75681       conftest$ac_exeext conftest.$ac_ext
75682 LIBS=$ac_check_lib_save_LIBS
75683 fi
75684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75685 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75686 if test $ac_cv_lib_m_main = yes; then
75687   cat >>confdefs.h <<_ACEOF
75688 #define HAVE_LIBM 1
75689 _ACEOF
75690
75691   LIBS="-lm $LIBS"
75692
75693 fi
75694
75695
75696 for ac_func in copysignf
75697 do
75698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75699 echo "$as_me:$LINENO: checking for $ac_func" >&5
75700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75701 if eval "test \"\${$as_ac_var+set}\" = set"; then
75702   echo $ECHO_N "(cached) $ECHO_C" >&6
75703 else
75704   if test x$gcc_no_link = xyes; then
75705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75707    { (exit 1); exit 1; }; }
75708 fi
75709 cat >conftest.$ac_ext <<_ACEOF
75710 /* confdefs.h.  */
75711 _ACEOF
75712 cat confdefs.h >>conftest.$ac_ext
75713 cat >>conftest.$ac_ext <<_ACEOF
75714 /* end confdefs.h.  */
75715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75717 #define $ac_func innocuous_$ac_func
75718
75719 /* System header to define __stub macros and hopefully few prototypes,
75720     which can conflict with char $ac_func (); below.
75721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75722     <limits.h> exists even on freestanding compilers.  */
75723
75724 #ifdef __STDC__
75725 # include <limits.h>
75726 #else
75727 # include <assert.h>
75728 #endif
75729
75730 #undef $ac_func
75731
75732 /* Override any gcc2 internal prototype to avoid an error.  */
75733 #ifdef __cplusplus
75734 extern "C"
75735 {
75736 #endif
75737 /* We use char because int might match the return type of a gcc2
75738    builtin and then its argument prototype would still apply.  */
75739 char $ac_func ();
75740 /* The GNU C library defines this for functions which it implements
75741     to always fail with ENOSYS.  Some functions are actually named
75742     something starting with __ and the normal name is an alias.  */
75743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75744 choke me
75745 #else
75746 char (*f) () = $ac_func;
75747 #endif
75748 #ifdef __cplusplus
75749 }
75750 #endif
75751
75752 int
75753 main ()
75754 {
75755 return f != $ac_func;
75756   ;
75757   return 0;
75758 }
75759 _ACEOF
75760 rm -f conftest.$ac_objext conftest$ac_exeext
75761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75762   (eval $ac_link) 2>conftest.er1
75763   ac_status=$?
75764   grep -v '^ *+' conftest.er1 >conftest.err
75765   rm -f conftest.er1
75766   cat conftest.err >&5
75767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75768   (exit $ac_status); } &&
75769          { ac_try='test -z "$ac_c_werror_flag"
75770                          || test ! -s conftest.err'
75771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75772   (eval $ac_try) 2>&5
75773   ac_status=$?
75774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75775   (exit $ac_status); }; } &&
75776          { ac_try='test -s conftest$ac_exeext'
75777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75778   (eval $ac_try) 2>&5
75779   ac_status=$?
75780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75781   (exit $ac_status); }; }; then
75782   eval "$as_ac_var=yes"
75783 else
75784   echo "$as_me: failed program was:" >&5
75785 sed 's/^/| /' conftest.$ac_ext >&5
75786
75787 eval "$as_ac_var=no"
75788 fi
75789 rm -f conftest.err conftest.$ac_objext \
75790       conftest$ac_exeext conftest.$ac_ext
75791 fi
75792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75794 if test `eval echo '${'$as_ac_var'}'` = yes; then
75795   cat >>confdefs.h <<_ACEOF
75796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75797 _ACEOF
75798
75799 else
75800   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75801 fi
75802 done
75803
75804
75805
75806 for ac_func in __signbit
75807 do
75808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75809 echo "$as_me:$LINENO: checking for $ac_func" >&5
75810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75811 if eval "test \"\${$as_ac_var+set}\" = set"; then
75812   echo $ECHO_N "(cached) $ECHO_C" >&6
75813 else
75814   if test x$gcc_no_link = xyes; then
75815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75817    { (exit 1); exit 1; }; }
75818 fi
75819 cat >conftest.$ac_ext <<_ACEOF
75820 /* confdefs.h.  */
75821 _ACEOF
75822 cat confdefs.h >>conftest.$ac_ext
75823 cat >>conftest.$ac_ext <<_ACEOF
75824 /* end confdefs.h.  */
75825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75827 #define $ac_func innocuous_$ac_func
75828
75829 /* System header to define __stub macros and hopefully few prototypes,
75830     which can conflict with char $ac_func (); below.
75831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75832     <limits.h> exists even on freestanding compilers.  */
75833
75834 #ifdef __STDC__
75835 # include <limits.h>
75836 #else
75837 # include <assert.h>
75838 #endif
75839
75840 #undef $ac_func
75841
75842 /* Override any gcc2 internal prototype to avoid an error.  */
75843 #ifdef __cplusplus
75844 extern "C"
75845 {
75846 #endif
75847 /* We use char because int might match the return type of a gcc2
75848    builtin and then its argument prototype would still apply.  */
75849 char $ac_func ();
75850 /* The GNU C library defines this for functions which it implements
75851     to always fail with ENOSYS.  Some functions are actually named
75852     something starting with __ and the normal name is an alias.  */
75853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75854 choke me
75855 #else
75856 char (*f) () = $ac_func;
75857 #endif
75858 #ifdef __cplusplus
75859 }
75860 #endif
75861
75862 int
75863 main ()
75864 {
75865 return f != $ac_func;
75866   ;
75867   return 0;
75868 }
75869 _ACEOF
75870 rm -f conftest.$ac_objext conftest$ac_exeext
75871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75872   (eval $ac_link) 2>conftest.er1
75873   ac_status=$?
75874   grep -v '^ *+' conftest.er1 >conftest.err
75875   rm -f conftest.er1
75876   cat conftest.err >&5
75877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878   (exit $ac_status); } &&
75879          { ac_try='test -z "$ac_c_werror_flag"
75880                          || test ! -s conftest.err'
75881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75882   (eval $ac_try) 2>&5
75883   ac_status=$?
75884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75885   (exit $ac_status); }; } &&
75886          { ac_try='test -s conftest$ac_exeext'
75887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75888   (eval $ac_try) 2>&5
75889   ac_status=$?
75890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75891   (exit $ac_status); }; }; then
75892   eval "$as_ac_var=yes"
75893 else
75894   echo "$as_me: failed program was:" >&5
75895 sed 's/^/| /' conftest.$ac_ext >&5
75896
75897 eval "$as_ac_var=no"
75898 fi
75899 rm -f conftest.err conftest.$ac_objext \
75900       conftest$ac_exeext conftest.$ac_ext
75901 fi
75902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75904 if test `eval echo '${'$as_ac_var'}'` = yes; then
75905   cat >>confdefs.h <<_ACEOF
75906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75907 _ACEOF
75908
75909 else
75910   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75911 fi
75912 done
75913
75914
75915
75916 for ac_func in __signbitf
75917 do
75918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75919 echo "$as_me:$LINENO: checking for $ac_func" >&5
75920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75921 if eval "test \"\${$as_ac_var+set}\" = set"; then
75922   echo $ECHO_N "(cached) $ECHO_C" >&6
75923 else
75924   if test x$gcc_no_link = xyes; then
75925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75927    { (exit 1); exit 1; }; }
75928 fi
75929 cat >conftest.$ac_ext <<_ACEOF
75930 /* confdefs.h.  */
75931 _ACEOF
75932 cat confdefs.h >>conftest.$ac_ext
75933 cat >>conftest.$ac_ext <<_ACEOF
75934 /* end confdefs.h.  */
75935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75937 #define $ac_func innocuous_$ac_func
75938
75939 /* System header to define __stub macros and hopefully few prototypes,
75940     which can conflict with char $ac_func (); below.
75941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75942     <limits.h> exists even on freestanding compilers.  */
75943
75944 #ifdef __STDC__
75945 # include <limits.h>
75946 #else
75947 # include <assert.h>
75948 #endif
75949
75950 #undef $ac_func
75951
75952 /* Override any gcc2 internal prototype to avoid an error.  */
75953 #ifdef __cplusplus
75954 extern "C"
75955 {
75956 #endif
75957 /* We use char because int might match the return type of a gcc2
75958    builtin and then its argument prototype would still apply.  */
75959 char $ac_func ();
75960 /* The GNU C library defines this for functions which it implements
75961     to always fail with ENOSYS.  Some functions are actually named
75962     something starting with __ and the normal name is an alias.  */
75963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75964 choke me
75965 #else
75966 char (*f) () = $ac_func;
75967 #endif
75968 #ifdef __cplusplus
75969 }
75970 #endif
75971
75972 int
75973 main ()
75974 {
75975 return f != $ac_func;
75976   ;
75977   return 0;
75978 }
75979 _ACEOF
75980 rm -f conftest.$ac_objext conftest$ac_exeext
75981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75982   (eval $ac_link) 2>conftest.er1
75983   ac_status=$?
75984   grep -v '^ *+' conftest.er1 >conftest.err
75985   rm -f conftest.er1
75986   cat conftest.err >&5
75987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75988   (exit $ac_status); } &&
75989          { ac_try='test -z "$ac_c_werror_flag"
75990                          || test ! -s conftest.err'
75991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75992   (eval $ac_try) 2>&5
75993   ac_status=$?
75994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75995   (exit $ac_status); }; } &&
75996          { ac_try='test -s conftest$ac_exeext'
75997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75998   (eval $ac_try) 2>&5
75999   ac_status=$?
76000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76001   (exit $ac_status); }; }; then
76002   eval "$as_ac_var=yes"
76003 else
76004   echo "$as_me: failed program was:" >&5
76005 sed 's/^/| /' conftest.$ac_ext >&5
76006
76007 eval "$as_ac_var=no"
76008 fi
76009 rm -f conftest.err conftest.$ac_objext \
76010       conftest$ac_exeext conftest.$ac_ext
76011 fi
76012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76014 if test `eval echo '${'$as_ac_var'}'` = yes; then
76015   cat >>confdefs.h <<_ACEOF
76016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76017 _ACEOF
76018
76019 else
76020   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76021 fi
76022 done
76023
76024
76025           if test x$ac_cv_func_copysignl = x"yes"; then
76026
76027 for ac_func in __signbitl
76028 do
76029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76030 echo "$as_me:$LINENO: checking for $ac_func" >&5
76031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76032 if eval "test \"\${$as_ac_var+set}\" = set"; then
76033   echo $ECHO_N "(cached) $ECHO_C" >&6
76034 else
76035   if test x$gcc_no_link = xyes; then
76036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76038    { (exit 1); exit 1; }; }
76039 fi
76040 cat >conftest.$ac_ext <<_ACEOF
76041 /* confdefs.h.  */
76042 _ACEOF
76043 cat confdefs.h >>conftest.$ac_ext
76044 cat >>conftest.$ac_ext <<_ACEOF
76045 /* end confdefs.h.  */
76046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76048 #define $ac_func innocuous_$ac_func
76049
76050 /* System header to define __stub macros and hopefully few prototypes,
76051     which can conflict with char $ac_func (); below.
76052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76053     <limits.h> exists even on freestanding compilers.  */
76054
76055 #ifdef __STDC__
76056 # include <limits.h>
76057 #else
76058 # include <assert.h>
76059 #endif
76060
76061 #undef $ac_func
76062
76063 /* Override any gcc2 internal prototype to avoid an error.  */
76064 #ifdef __cplusplus
76065 extern "C"
76066 {
76067 #endif
76068 /* We use char because int might match the return type of a gcc2
76069    builtin and then its argument prototype would still apply.  */
76070 char $ac_func ();
76071 /* The GNU C library defines this for functions which it implements
76072     to always fail with ENOSYS.  Some functions are actually named
76073     something starting with __ and the normal name is an alias.  */
76074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76075 choke me
76076 #else
76077 char (*f) () = $ac_func;
76078 #endif
76079 #ifdef __cplusplus
76080 }
76081 #endif
76082
76083 int
76084 main ()
76085 {
76086 return f != $ac_func;
76087   ;
76088   return 0;
76089 }
76090 _ACEOF
76091 rm -f conftest.$ac_objext conftest$ac_exeext
76092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76093   (eval $ac_link) 2>conftest.er1
76094   ac_status=$?
76095   grep -v '^ *+' conftest.er1 >conftest.err
76096   rm -f conftest.er1
76097   cat conftest.err >&5
76098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76099   (exit $ac_status); } &&
76100          { ac_try='test -z "$ac_c_werror_flag"
76101                          || test ! -s conftest.err'
76102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76103   (eval $ac_try) 2>&5
76104   ac_status=$?
76105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76106   (exit $ac_status); }; } &&
76107          { ac_try='test -s conftest$ac_exeext'
76108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76109   (eval $ac_try) 2>&5
76110   ac_status=$?
76111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76112   (exit $ac_status); }; }; then
76113   eval "$as_ac_var=yes"
76114 else
76115   echo "$as_me: failed program was:" >&5
76116 sed 's/^/| /' conftest.$ac_ext >&5
76117
76118 eval "$as_ac_var=no"
76119 fi
76120 rm -f conftest.err conftest.$ac_objext \
76121       conftest$ac_exeext conftest.$ac_ext
76122 fi
76123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76125 if test `eval echo '${'$as_ac_var'}'` = yes; then
76126   cat >>confdefs.h <<_ACEOF
76127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76128 _ACEOF
76129
76130 else
76131   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76132 fi
76133 done
76134
76135   fi
76136
76137   # Used in libmath/Makefile.am.
76138   if test -n "$LIBMATHOBJS"; then
76139     need_libmath=yes
76140   fi
76141
76142
76143
76144
76145   enable_iconv=no
76146   # Only continue checking if the ISO C99 headers exist and support is on.
76147   if test x"$enable_wchar_t" = xyes; then
76148
76149     # From Bruno Haible's AM_ICONV, but without link tests.
76150     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76151     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
76152     # those with the standalone portable GNU libiconv installed).
76153
76154 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
76155 if test "${with_libiconv_prefix+set}" = set; then
76156   withval="$with_libiconv_prefix"
76157     for dir in `echo "$withval" | tr : ' '`; do
76158       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
76159       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
76160     done
76161     LIBICONV="$LIBICONV -liconv"
76162
76163 fi;
76164    if test x"$LIBICONV" != x; then
76165      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
76166 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
76167    fi
76168
76169     # Use iconv for wchar_t to char conversions. As such, check for
76170     # X/Open Portability Guide, version 2 features (XPG2).
76171     if test "${ac_cv_header_iconv_h+set}" = set; then
76172   echo "$as_me:$LINENO: checking for iconv.h" >&5
76173 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76174 if test "${ac_cv_header_iconv_h+set}" = set; then
76175   echo $ECHO_N "(cached) $ECHO_C" >&6
76176 fi
76177 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76178 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76179 else
76180   # Is the header compilable?
76181 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76182 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76183 cat >conftest.$ac_ext <<_ACEOF
76184 /* confdefs.h.  */
76185 _ACEOF
76186 cat confdefs.h >>conftest.$ac_ext
76187 cat >>conftest.$ac_ext <<_ACEOF
76188 /* end confdefs.h.  */
76189 $ac_includes_default
76190 #include <iconv.h>
76191 _ACEOF
76192 rm -f conftest.$ac_objext
76193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76194   (eval $ac_compile) 2>conftest.er1
76195   ac_status=$?
76196   grep -v '^ *+' conftest.er1 >conftest.err
76197   rm -f conftest.er1
76198   cat conftest.err >&5
76199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76200   (exit $ac_status); } &&
76201          { ac_try='test -z "$ac_c_werror_flag"
76202                          || test ! -s conftest.err'
76203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76204   (eval $ac_try) 2>&5
76205   ac_status=$?
76206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76207   (exit $ac_status); }; } &&
76208          { ac_try='test -s conftest.$ac_objext'
76209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76210   (eval $ac_try) 2>&5
76211   ac_status=$?
76212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76213   (exit $ac_status); }; }; then
76214   ac_header_compiler=yes
76215 else
76216   echo "$as_me: failed program was:" >&5
76217 sed 's/^/| /' conftest.$ac_ext >&5
76218
76219 ac_header_compiler=no
76220 fi
76221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76223 echo "${ECHO_T}$ac_header_compiler" >&6
76224
76225 # Is the header present?
76226 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76227 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76228 cat >conftest.$ac_ext <<_ACEOF
76229 /* confdefs.h.  */
76230 _ACEOF
76231 cat confdefs.h >>conftest.$ac_ext
76232 cat >>conftest.$ac_ext <<_ACEOF
76233 /* end confdefs.h.  */
76234 #include <iconv.h>
76235 _ACEOF
76236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76237   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76238   ac_status=$?
76239   grep -v '^ *+' conftest.er1 >conftest.err
76240   rm -f conftest.er1
76241   cat conftest.err >&5
76242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76243   (exit $ac_status); } >/dev/null; then
76244   if test -s conftest.err; then
76245     ac_cpp_err=$ac_c_preproc_warn_flag
76246     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76247   else
76248     ac_cpp_err=
76249   fi
76250 else
76251   ac_cpp_err=yes
76252 fi
76253 if test -z "$ac_cpp_err"; then
76254   ac_header_preproc=yes
76255 else
76256   echo "$as_me: failed program was:" >&5
76257 sed 's/^/| /' conftest.$ac_ext >&5
76258
76259   ac_header_preproc=no
76260 fi
76261 rm -f conftest.err conftest.$ac_ext
76262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76263 echo "${ECHO_T}$ac_header_preproc" >&6
76264
76265 # So?  What about this header?
76266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76267   yes:no: )
76268     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76269 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76270     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76271 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76272     ac_header_preproc=yes
76273     ;;
76274   no:yes:* )
76275     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76276 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76277     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76278 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76279     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76280 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76281     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76282 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76283     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76284 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76285     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76286 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76287     (
76288       cat <<\_ASBOX
76289 ## ----------------------------------------- ##
76290 ## Report this to the package-unused lists.  ##
76291 ## ----------------------------------------- ##
76292 _ASBOX
76293     ) |
76294       sed "s/^/$as_me: WARNING:     /" >&2
76295     ;;
76296 esac
76297 echo "$as_me:$LINENO: checking for iconv.h" >&5
76298 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76299 if test "${ac_cv_header_iconv_h+set}" = set; then
76300   echo $ECHO_N "(cached) $ECHO_C" >&6
76301 else
76302   ac_cv_header_iconv_h=$ac_header_preproc
76303 fi
76304 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76305 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76306
76307 fi
76308 if test $ac_cv_header_iconv_h = yes; then
76309   ac_has_iconv_h=yes
76310 else
76311   ac_has_iconv_h=no
76312 fi
76313
76314
76315     if test "${ac_cv_header_langinfo_h+set}" = set; then
76316   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76317 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76318 if test "${ac_cv_header_langinfo_h+set}" = set; then
76319   echo $ECHO_N "(cached) $ECHO_C" >&6
76320 fi
76321 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76322 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76323 else
76324   # Is the header compilable?
76325 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76326 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76327 cat >conftest.$ac_ext <<_ACEOF
76328 /* confdefs.h.  */
76329 _ACEOF
76330 cat confdefs.h >>conftest.$ac_ext
76331 cat >>conftest.$ac_ext <<_ACEOF
76332 /* end confdefs.h.  */
76333 $ac_includes_default
76334 #include <langinfo.h>
76335 _ACEOF
76336 rm -f conftest.$ac_objext
76337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76338   (eval $ac_compile) 2>conftest.er1
76339   ac_status=$?
76340   grep -v '^ *+' conftest.er1 >conftest.err
76341   rm -f conftest.er1
76342   cat conftest.err >&5
76343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76344   (exit $ac_status); } &&
76345          { ac_try='test -z "$ac_c_werror_flag"
76346                          || test ! -s conftest.err'
76347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76348   (eval $ac_try) 2>&5
76349   ac_status=$?
76350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76351   (exit $ac_status); }; } &&
76352          { ac_try='test -s conftest.$ac_objext'
76353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76354   (eval $ac_try) 2>&5
76355   ac_status=$?
76356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76357   (exit $ac_status); }; }; then
76358   ac_header_compiler=yes
76359 else
76360   echo "$as_me: failed program was:" >&5
76361 sed 's/^/| /' conftest.$ac_ext >&5
76362
76363 ac_header_compiler=no
76364 fi
76365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76367 echo "${ECHO_T}$ac_header_compiler" >&6
76368
76369 # Is the header present?
76370 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76371 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76372 cat >conftest.$ac_ext <<_ACEOF
76373 /* confdefs.h.  */
76374 _ACEOF
76375 cat confdefs.h >>conftest.$ac_ext
76376 cat >>conftest.$ac_ext <<_ACEOF
76377 /* end confdefs.h.  */
76378 #include <langinfo.h>
76379 _ACEOF
76380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76381   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76382   ac_status=$?
76383   grep -v '^ *+' conftest.er1 >conftest.err
76384   rm -f conftest.er1
76385   cat conftest.err >&5
76386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76387   (exit $ac_status); } >/dev/null; then
76388   if test -s conftest.err; then
76389     ac_cpp_err=$ac_c_preproc_warn_flag
76390     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76391   else
76392     ac_cpp_err=
76393   fi
76394 else
76395   ac_cpp_err=yes
76396 fi
76397 if test -z "$ac_cpp_err"; then
76398   ac_header_preproc=yes
76399 else
76400   echo "$as_me: failed program was:" >&5
76401 sed 's/^/| /' conftest.$ac_ext >&5
76402
76403   ac_header_preproc=no
76404 fi
76405 rm -f conftest.err conftest.$ac_ext
76406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76407 echo "${ECHO_T}$ac_header_preproc" >&6
76408
76409 # So?  What about this header?
76410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76411   yes:no: )
76412     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76413 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76414     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76415 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76416     ac_header_preproc=yes
76417     ;;
76418   no:yes:* )
76419     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76420 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76421     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76422 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76423     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76424 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76425     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76426 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76427     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76428 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76429     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76430 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76431     (
76432       cat <<\_ASBOX
76433 ## ----------------------------------------- ##
76434 ## Report this to the package-unused lists.  ##
76435 ## ----------------------------------------- ##
76436 _ASBOX
76437     ) |
76438       sed "s/^/$as_me: WARNING:     /" >&2
76439     ;;
76440 esac
76441 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76442 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76443 if test "${ac_cv_header_langinfo_h+set}" = set; then
76444   echo $ECHO_N "(cached) $ECHO_C" >&6
76445 else
76446   ac_cv_header_langinfo_h=$ac_header_preproc
76447 fi
76448 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76449 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76450
76451 fi
76452 if test $ac_cv_header_langinfo_h = yes; then
76453   ac_has_langinfo_h=yes
76454 else
76455   ac_has_langinfo_h=no
76456 fi
76457
76458
76459
76460     ac_save_LIBS="$LIBS"
76461     LIBS="$LIBS $LIBICONV"
76462
76463
76464
76465
76466 for ac_func in iconv_open iconv_close iconv nl_langinfo
76467 do
76468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76469 echo "$as_me:$LINENO: checking for $ac_func" >&5
76470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76471 if eval "test \"\${$as_ac_var+set}\" = set"; then
76472   echo $ECHO_N "(cached) $ECHO_C" >&6
76473 else
76474   if test x$gcc_no_link = xyes; then
76475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76477    { (exit 1); exit 1; }; }
76478 fi
76479 cat >conftest.$ac_ext <<_ACEOF
76480 /* confdefs.h.  */
76481 _ACEOF
76482 cat confdefs.h >>conftest.$ac_ext
76483 cat >>conftest.$ac_ext <<_ACEOF
76484 /* end confdefs.h.  */
76485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76487 #define $ac_func innocuous_$ac_func
76488
76489 /* System header to define __stub macros and hopefully few prototypes,
76490     which can conflict with char $ac_func (); below.
76491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76492     <limits.h> exists even on freestanding compilers.  */
76493
76494 #ifdef __STDC__
76495 # include <limits.h>
76496 #else
76497 # include <assert.h>
76498 #endif
76499
76500 #undef $ac_func
76501
76502 /* Override any gcc2 internal prototype to avoid an error.  */
76503 #ifdef __cplusplus
76504 extern "C"
76505 {
76506 #endif
76507 /* We use char because int might match the return type of a gcc2
76508    builtin and then its argument prototype would still apply.  */
76509 char $ac_func ();
76510 /* The GNU C library defines this for functions which it implements
76511     to always fail with ENOSYS.  Some functions are actually named
76512     something starting with __ and the normal name is an alias.  */
76513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76514 choke me
76515 #else
76516 char (*f) () = $ac_func;
76517 #endif
76518 #ifdef __cplusplus
76519 }
76520 #endif
76521
76522 int
76523 main ()
76524 {
76525 return f != $ac_func;
76526   ;
76527   return 0;
76528 }
76529 _ACEOF
76530 rm -f conftest.$ac_objext conftest$ac_exeext
76531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76532   (eval $ac_link) 2>conftest.er1
76533   ac_status=$?
76534   grep -v '^ *+' conftest.er1 >conftest.err
76535   rm -f conftest.er1
76536   cat conftest.err >&5
76537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76538   (exit $ac_status); } &&
76539          { ac_try='test -z "$ac_c_werror_flag"
76540                          || test ! -s conftest.err'
76541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76542   (eval $ac_try) 2>&5
76543   ac_status=$?
76544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76545   (exit $ac_status); }; } &&
76546          { ac_try='test -s conftest$ac_exeext'
76547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76548   (eval $ac_try) 2>&5
76549   ac_status=$?
76550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76551   (exit $ac_status); }; }; then
76552   eval "$as_ac_var=yes"
76553 else
76554   echo "$as_me: failed program was:" >&5
76555 sed 's/^/| /' conftest.$ac_ext >&5
76556
76557 eval "$as_ac_var=no"
76558 fi
76559 rm -f conftest.err conftest.$ac_objext \
76560       conftest$ac_exeext conftest.$ac_ext
76561 fi
76562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76564 if test `eval echo '${'$as_ac_var'}'` = yes; then
76565   cat >>confdefs.h <<_ACEOF
76566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76567 _ACEOF
76568  ac_XPG2funcs=yes
76569 else
76570   ac_XPG2funcs=no
76571 fi
76572 done
76573
76574     LIBS="$ac_save_LIBS"
76575
76576     if test x"$ac_has_iconv_h" = xyes &&
76577        test x"$ac_has_langinfo_h" = xyes &&
76578        test x"$ac_XPG2funcs" = xyes;
76579     then
76580
76581 cat >>confdefs.h <<\_ACEOF
76582 #define _GLIBCXX_USE_ICONV 1
76583 _ACEOF
76584
76585       enable_iconv=yes
76586
76587     fi
76588   fi
76589   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76590 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76591   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76592 echo "${ECHO_T}$enable_iconv" >&6
76593
76594     cat >>confdefs.h <<\_ACEOF
76595 #define HAVE_LC_MESSAGES 1
76596 _ACEOF
76597
76598     cat >>confdefs.h <<\_ACEOF
76599 #define HAVE_GETPAGESIZE 1
76600 _ACEOF
76601
76602     cat >>confdefs.h <<\_ACEOF
76603 #define HAVE_SETENV 1
76604 _ACEOF
76605
76606     cat >>confdefs.h <<\_ACEOF
76607 #define HAVE_SIGSETJMP 1
76608 _ACEOF
76609
76610     cat >>confdefs.h <<\_ACEOF
76611 #define HAVE_COPYSIGN 1
76612 _ACEOF
76613
76614     cat >>confdefs.h <<\_ACEOF
76615 #define HAVE_COPYSIGNF 1
76616 _ACEOF
76617
76618     cat >>confdefs.h <<\_ACEOF
76619 #define HAVE_FINITEF 1
76620 _ACEOF
76621
76622     cat >>confdefs.h <<\_ACEOF
76623 #define HAVE_FINITE 1
76624 _ACEOF
76625
76626     cat >>confdefs.h <<\_ACEOF
76627 #define HAVE_FREXPF 1
76628 _ACEOF
76629
76630     cat >>confdefs.h <<\_ACEOF
76631 #define HAVE_HYPOT 1
76632 _ACEOF
76633
76634     cat >>confdefs.h <<\_ACEOF
76635 #define HAVE_HYPOTF 1
76636 _ACEOF
76637
76638     cat >>confdefs.h <<\_ACEOF
76639 #define HAVE_ISINF 1
76640 _ACEOF
76641
76642     cat >>confdefs.h <<\_ACEOF
76643 #define HAVE_ISNAN 1
76644 _ACEOF
76645
76646     cat >>confdefs.h <<\_ACEOF
76647 #define HAVE_ISNANF 1
76648 _ACEOF
76649
76650
76651     cat >>confdefs.h <<\_ACEOF
76652 #define HAVE_MMAP 1
76653 _ACEOF
76654
76655     cat >>confdefs.h <<\_ACEOF
76656 #define HAVE_ACOSF 1
76657 _ACEOF
76658
76659     cat >>confdefs.h <<\_ACEOF
76660 #define HAVE_ASINF 1
76661 _ACEOF
76662
76663     cat >>confdefs.h <<\_ACEOF
76664 #define HAVE_ATAN2F 1
76665 _ACEOF
76666
76667     cat >>confdefs.h <<\_ACEOF
76668 #define HAVE_ATANF 1
76669 _ACEOF
76670
76671     cat >>confdefs.h <<\_ACEOF
76672 #define HAVE_CEILF 1
76673 _ACEOF
76674
76675     cat >>confdefs.h <<\_ACEOF
76676 #define HAVE_COPYSIGN 1
76677 _ACEOF
76678
76679     cat >>confdefs.h <<\_ACEOF
76680 #define HAVE_COPYSIGNF 1
76681 _ACEOF
76682
76683     cat >>confdefs.h <<\_ACEOF
76684 #define HAVE_COSF 1
76685 _ACEOF
76686
76687     cat >>confdefs.h <<\_ACEOF
76688 #define HAVE_COSHF 1
76689 _ACEOF
76690
76691     cat >>confdefs.h <<\_ACEOF
76692 #define HAVE_EXPF 1
76693 _ACEOF
76694
76695     cat >>confdefs.h <<\_ACEOF
76696 #define HAVE_FABSF 1
76697 _ACEOF
76698
76699     cat >>confdefs.h <<\_ACEOF
76700 #define HAVE_FLOORF 1
76701 _ACEOF
76702
76703     cat >>confdefs.h <<\_ACEOF
76704 #define HAVE_FMODF 1
76705 _ACEOF
76706
76707     cat >>confdefs.h <<\_ACEOF
76708 #define HAVE_FREXPF 1
76709 _ACEOF
76710
76711     cat >>confdefs.h <<\_ACEOF
76712 #define HAVE_LDEXPF 1
76713 _ACEOF
76714
76715     cat >>confdefs.h <<\_ACEOF
76716 #define HAVE_LOG10F 1
76717 _ACEOF
76718
76719     cat >>confdefs.h <<\_ACEOF
76720 #define HAVE_LOGF 1
76721 _ACEOF
76722
76723     cat >>confdefs.h <<\_ACEOF
76724 #define HAVE_MODFF 1
76725 _ACEOF
76726
76727     cat >>confdefs.h <<\_ACEOF
76728 #define HAVE_POWF 1
76729 _ACEOF
76730
76731     cat >>confdefs.h <<\_ACEOF
76732 #define HAVE_SINF 1
76733 _ACEOF
76734
76735     cat >>confdefs.h <<\_ACEOF
76736 #define HAVE_SINHF 1
76737 _ACEOF
76738
76739     cat >>confdefs.h <<\_ACEOF
76740 #define HAVE_SQRTF 1
76741 _ACEOF
76742
76743     cat >>confdefs.h <<\_ACEOF
76744 #define HAVE_TANF 1
76745 _ACEOF
76746
76747     cat >>confdefs.h <<\_ACEOF
76748 #define HAVE_TANHF 1
76749 _ACEOF
76750
76751     if test x"long_double_math_on_this_cpu" = x"yes"; then
76752       cat >>confdefs.h <<\_ACEOF
76753 #define HAVE_FINITEL 1
76754 _ACEOF
76755
76756       cat >>confdefs.h <<\_ACEOF
76757 #define HAVE_ISINFL 1
76758 _ACEOF
76759
76760       cat >>confdefs.h <<\_ACEOF
76761 #define HAVE_ISNANL 1
76762 _ACEOF
76763
76764     fi
76765     ;;
76766   *-hpux*)
76767
76768
76769
76770
76771
76772
76773
76774
76775
76776
76777
76778
76779 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76780       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76781       fp.h locale.h float.h inttypes.h
76782 do
76783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76785   echo "$as_me:$LINENO: checking for $ac_header" >&5
76786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76788   echo $ECHO_N "(cached) $ECHO_C" >&6
76789 fi
76790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76792 else
76793   # Is the header compilable?
76794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76796 cat >conftest.$ac_ext <<_ACEOF
76797 /* confdefs.h.  */
76798 _ACEOF
76799 cat confdefs.h >>conftest.$ac_ext
76800 cat >>conftest.$ac_ext <<_ACEOF
76801 /* end confdefs.h.  */
76802 $ac_includes_default
76803 #include <$ac_header>
76804 _ACEOF
76805 rm -f conftest.$ac_objext
76806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76807   (eval $ac_compile) 2>conftest.er1
76808   ac_status=$?
76809   grep -v '^ *+' conftest.er1 >conftest.err
76810   rm -f conftest.er1
76811   cat conftest.err >&5
76812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76813   (exit $ac_status); } &&
76814          { ac_try='test -z "$ac_c_werror_flag"
76815                          || test ! -s conftest.err'
76816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76817   (eval $ac_try) 2>&5
76818   ac_status=$?
76819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76820   (exit $ac_status); }; } &&
76821          { ac_try='test -s conftest.$ac_objext'
76822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76823   (eval $ac_try) 2>&5
76824   ac_status=$?
76825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76826   (exit $ac_status); }; }; then
76827   ac_header_compiler=yes
76828 else
76829   echo "$as_me: failed program was:" >&5
76830 sed 's/^/| /' conftest.$ac_ext >&5
76831
76832 ac_header_compiler=no
76833 fi
76834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76836 echo "${ECHO_T}$ac_header_compiler" >&6
76837
76838 # Is the header present?
76839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76841 cat >conftest.$ac_ext <<_ACEOF
76842 /* confdefs.h.  */
76843 _ACEOF
76844 cat confdefs.h >>conftest.$ac_ext
76845 cat >>conftest.$ac_ext <<_ACEOF
76846 /* end confdefs.h.  */
76847 #include <$ac_header>
76848 _ACEOF
76849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76851   ac_status=$?
76852   grep -v '^ *+' conftest.er1 >conftest.err
76853   rm -f conftest.er1
76854   cat conftest.err >&5
76855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76856   (exit $ac_status); } >/dev/null; then
76857   if test -s conftest.err; then
76858     ac_cpp_err=$ac_c_preproc_warn_flag
76859     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76860   else
76861     ac_cpp_err=
76862   fi
76863 else
76864   ac_cpp_err=yes
76865 fi
76866 if test -z "$ac_cpp_err"; then
76867   ac_header_preproc=yes
76868 else
76869   echo "$as_me: failed program was:" >&5
76870 sed 's/^/| /' conftest.$ac_ext >&5
76871
76872   ac_header_preproc=no
76873 fi
76874 rm -f conftest.err conftest.$ac_ext
76875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76876 echo "${ECHO_T}$ac_header_preproc" >&6
76877
76878 # So?  What about this header?
76879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76880   yes:no: )
76881     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76883     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76885     ac_header_preproc=yes
76886     ;;
76887   no:yes:* )
76888     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76890     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76891 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76892     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76894     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76895 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76898     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76900     (
76901       cat <<\_ASBOX
76902 ## ----------------------------------------- ##
76903 ## Report this to the package-unused lists.  ##
76904 ## ----------------------------------------- ##
76905 _ASBOX
76906     ) |
76907       sed "s/^/$as_me: WARNING:     /" >&2
76908     ;;
76909 esac
76910 echo "$as_me:$LINENO: checking for $ac_header" >&5
76911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76913   echo $ECHO_N "(cached) $ECHO_C" >&6
76914 else
76915   eval "$as_ac_Header=\$ac_header_preproc"
76916 fi
76917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76919
76920 fi
76921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76922   cat >>confdefs.h <<_ACEOF
76923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76924 _ACEOF
76925
76926 fi
76927
76928 done
76929
76930     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76931
76932
76933   # If we're not using GNU ld, then there's no point in even trying these
76934   # tests.  Check for that first.  We should have already tested for gld
76935   # by now (in libtool), but require it now just to be safe...
76936   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76937   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76938
76939
76940
76941   # The name set by libtool depends on the version of libtool.  Shame on us
76942   # for depending on an impl detail, but c'est la vie.  Older versions used
76943   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76944   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76945   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
76946   # set (hence we're using an older libtool), then set it.
76947   if test x${with_gnu_ld+set} != xset; then
76948     if test x${ac_cv_prog_gnu_ld+set} != xset; then
76949       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
76950       with_gnu_ld=no
76951     else
76952       with_gnu_ld=$ac_cv_prog_gnu_ld
76953     fi
76954   fi
76955
76956   # Start by getting the version number.  I think the libtool test already
76957   # does some of this, but throws away the result.
76958   if test x"$with_gnu_ld" = x"yes"; then
76959     echo "$as_me:$LINENO: checking for ld version" >&5
76960 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76961
76962     ldver=`$LD --version 2>/dev/null | head -1 | \
76963            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76964
76965     glibcxx_gnu_ld_version=`echo $ldver | \
76966            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76967     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76968 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76969   fi
76970
76971   # Set --gc-sections.
76972   glibcxx_gcsections_min_ld=21602
76973   if test x"$with_gnu_ld" = x"yes" &&
76974         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76975
76976     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
76977     # NB: This flag only works reliably after 2.16.1. Configure tests
76978     # for this are difficult, so hard wire a value that should work.
76979
76980     # All these tests are for C++, but run with the "C" compiler driver.
76981     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
76982     ac_test_CFLAGS="${CFLAGS+set}"
76983     ac_save_CFLAGS="$CFLAGS"
76984     CFLAGS='-x c++ -Wl,--gc-sections'
76985
76986     # Check for -Wl,--gc-sections
76987     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76988 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76989     if test x$gcc_no_link = xyes; then
76990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76992    { (exit 1); exit 1; }; }
76993 fi
76994 cat >conftest.$ac_ext <<_ACEOF
76995 /* confdefs.h.  */
76996 _ACEOF
76997 cat confdefs.h >>conftest.$ac_ext
76998 cat >>conftest.$ac_ext <<_ACEOF
76999 /* end confdefs.h.  */
77000  int one(void) { return 1; }
77001      int two(void) { return 2; }
77002
77003 int
77004 main ()
77005 {
77006  two();
77007   ;
77008   return 0;
77009 }
77010 _ACEOF
77011 rm -f conftest.$ac_objext conftest$ac_exeext
77012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77013   (eval $ac_link) 2>conftest.er1
77014   ac_status=$?
77015   grep -v '^ *+' conftest.er1 >conftest.err
77016   rm -f conftest.er1
77017   cat conftest.err >&5
77018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77019   (exit $ac_status); } &&
77020          { ac_try='test -z "$ac_c_werror_flag"
77021                          || test ! -s conftest.err'
77022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77023   (eval $ac_try) 2>&5
77024   ac_status=$?
77025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77026   (exit $ac_status); }; } &&
77027          { ac_try='test -s conftest$ac_exeext'
77028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77029   (eval $ac_try) 2>&5
77030   ac_status=$?
77031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77032   (exit $ac_status); }; }; then
77033   ac_gcsections=yes
77034 else
77035   echo "$as_me: failed program was:" >&5
77036 sed 's/^/| /' conftest.$ac_ext >&5
77037
77038 ac_gcsections=no
77039 fi
77040 rm -f conftest.err conftest.$ac_objext \
77041       conftest$ac_exeext conftest.$ac_ext
77042     if test "$ac_gcsections" = "yes"; then
77043       rm -f conftest.c
77044       touch conftest.c
77045       if $CC -c conftest.c; then
77046         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77047            grep "Warning: gc-sections option ignored" > /dev/null; then
77048           ac_gcsections=no
77049         fi
77050       fi
77051       rm -f conftest.c conftest.o conftest
77052     fi
77053     if test "$ac_gcsections" = "yes"; then
77054       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77055     fi
77056     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77057 echo "${ECHO_T}$ac_gcsections" >&6
77058
77059     if test "$ac_test_CFLAGS" = set; then
77060       CFLAGS="$ac_save_CFLAGS"
77061     else
77062       # this is the suspicious part
77063       CFLAGS=''
77064     fi
77065   fi
77066
77067   # Set -z,relro.
77068   # Note this is only for shared objects.
77069   ac_ld_relro=no
77070   if test x"$with_gnu_ld" = x"yes"; then
77071     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77072 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77073     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77074     if test -n "$cxx_z_relo"; then
77075       OPT_LDFLAGS="-Wl,-z,relro"
77076       ac_ld_relro=yes
77077     fi
77078     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77079 echo "${ECHO_T}$ac_ld_relro" >&6
77080   fi
77081
77082   # Set linker optimization flags.
77083   if test x"$with_gnu_ld" = x"yes"; then
77084     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77085   fi
77086
77087
77088
77089
77090
77091
77092 echo "$as_me:$LINENO: checking for main in -lm" >&5
77093 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77094 if test "${ac_cv_lib_m_main+set}" = set; then
77095   echo $ECHO_N "(cached) $ECHO_C" >&6
77096 else
77097   ac_check_lib_save_LIBS=$LIBS
77098 LIBS="-lm  $LIBS"
77099 if test x$gcc_no_link = xyes; then
77100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77102    { (exit 1); exit 1; }; }
77103 fi
77104 cat >conftest.$ac_ext <<_ACEOF
77105 /* confdefs.h.  */
77106 _ACEOF
77107 cat confdefs.h >>conftest.$ac_ext
77108 cat >>conftest.$ac_ext <<_ACEOF
77109 /* end confdefs.h.  */
77110
77111
77112 int
77113 main ()
77114 {
77115 main ();
77116   ;
77117   return 0;
77118 }
77119 _ACEOF
77120 rm -f conftest.$ac_objext conftest$ac_exeext
77121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77122   (eval $ac_link) 2>conftest.er1
77123   ac_status=$?
77124   grep -v '^ *+' conftest.er1 >conftest.err
77125   rm -f conftest.er1
77126   cat conftest.err >&5
77127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77128   (exit $ac_status); } &&
77129          { ac_try='test -z "$ac_c_werror_flag"
77130                          || test ! -s conftest.err'
77131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77132   (eval $ac_try) 2>&5
77133   ac_status=$?
77134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77135   (exit $ac_status); }; } &&
77136          { ac_try='test -s conftest$ac_exeext'
77137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77138   (eval $ac_try) 2>&5
77139   ac_status=$?
77140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77141   (exit $ac_status); }; }; then
77142   ac_cv_lib_m_main=yes
77143 else
77144   echo "$as_me: failed program was:" >&5
77145 sed 's/^/| /' conftest.$ac_ext >&5
77146
77147 ac_cv_lib_m_main=no
77148 fi
77149 rm -f conftest.err conftest.$ac_objext \
77150       conftest$ac_exeext conftest.$ac_ext
77151 LIBS=$ac_check_lib_save_LIBS
77152 fi
77153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77154 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77155 if test $ac_cv_lib_m_main = yes; then
77156   cat >>confdefs.h <<_ACEOF
77157 #define HAVE_LIBM 1
77158 _ACEOF
77159
77160   LIBS="-lm $LIBS"
77161
77162 fi
77163
77164
77165 for ac_func in copysignf
77166 do
77167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77168 echo "$as_me:$LINENO: checking for $ac_func" >&5
77169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77170 if eval "test \"\${$as_ac_var+set}\" = set"; then
77171   echo $ECHO_N "(cached) $ECHO_C" >&6
77172 else
77173   if test x$gcc_no_link = xyes; then
77174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77176    { (exit 1); exit 1; }; }
77177 fi
77178 cat >conftest.$ac_ext <<_ACEOF
77179 /* confdefs.h.  */
77180 _ACEOF
77181 cat confdefs.h >>conftest.$ac_ext
77182 cat >>conftest.$ac_ext <<_ACEOF
77183 /* end confdefs.h.  */
77184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77186 #define $ac_func innocuous_$ac_func
77187
77188 /* System header to define __stub macros and hopefully few prototypes,
77189     which can conflict with char $ac_func (); below.
77190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77191     <limits.h> exists even on freestanding compilers.  */
77192
77193 #ifdef __STDC__
77194 # include <limits.h>
77195 #else
77196 # include <assert.h>
77197 #endif
77198
77199 #undef $ac_func
77200
77201 /* Override any gcc2 internal prototype to avoid an error.  */
77202 #ifdef __cplusplus
77203 extern "C"
77204 {
77205 #endif
77206 /* We use char because int might match the return type of a gcc2
77207    builtin and then its argument prototype would still apply.  */
77208 char $ac_func ();
77209 /* The GNU C library defines this for functions which it implements
77210     to always fail with ENOSYS.  Some functions are actually named
77211     something starting with __ and the normal name is an alias.  */
77212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77213 choke me
77214 #else
77215 char (*f) () = $ac_func;
77216 #endif
77217 #ifdef __cplusplus
77218 }
77219 #endif
77220
77221 int
77222 main ()
77223 {
77224 return f != $ac_func;
77225   ;
77226   return 0;
77227 }
77228 _ACEOF
77229 rm -f conftest.$ac_objext conftest$ac_exeext
77230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77231   (eval $ac_link) 2>conftest.er1
77232   ac_status=$?
77233   grep -v '^ *+' conftest.er1 >conftest.err
77234   rm -f conftest.er1
77235   cat conftest.err >&5
77236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77237   (exit $ac_status); } &&
77238          { ac_try='test -z "$ac_c_werror_flag"
77239                          || test ! -s conftest.err'
77240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77241   (eval $ac_try) 2>&5
77242   ac_status=$?
77243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77244   (exit $ac_status); }; } &&
77245          { ac_try='test -s conftest$ac_exeext'
77246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77247   (eval $ac_try) 2>&5
77248   ac_status=$?
77249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77250   (exit $ac_status); }; }; then
77251   eval "$as_ac_var=yes"
77252 else
77253   echo "$as_me: failed program was:" >&5
77254 sed 's/^/| /' conftest.$ac_ext >&5
77255
77256 eval "$as_ac_var=no"
77257 fi
77258 rm -f conftest.err conftest.$ac_objext \
77259       conftest$ac_exeext conftest.$ac_ext
77260 fi
77261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77263 if test `eval echo '${'$as_ac_var'}'` = yes; then
77264   cat >>confdefs.h <<_ACEOF
77265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77266 _ACEOF
77267
77268 else
77269   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77270 fi
77271 done
77272
77273
77274
77275 for ac_func in __signbit
77276 do
77277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77278 echo "$as_me:$LINENO: checking for $ac_func" >&5
77279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77280 if eval "test \"\${$as_ac_var+set}\" = set"; then
77281   echo $ECHO_N "(cached) $ECHO_C" >&6
77282 else
77283   if test x$gcc_no_link = xyes; then
77284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77286    { (exit 1); exit 1; }; }
77287 fi
77288 cat >conftest.$ac_ext <<_ACEOF
77289 /* confdefs.h.  */
77290 _ACEOF
77291 cat confdefs.h >>conftest.$ac_ext
77292 cat >>conftest.$ac_ext <<_ACEOF
77293 /* end confdefs.h.  */
77294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77296 #define $ac_func innocuous_$ac_func
77297
77298 /* System header to define __stub macros and hopefully few prototypes,
77299     which can conflict with char $ac_func (); below.
77300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77301     <limits.h> exists even on freestanding compilers.  */
77302
77303 #ifdef __STDC__
77304 # include <limits.h>
77305 #else
77306 # include <assert.h>
77307 #endif
77308
77309 #undef $ac_func
77310
77311 /* Override any gcc2 internal prototype to avoid an error.  */
77312 #ifdef __cplusplus
77313 extern "C"
77314 {
77315 #endif
77316 /* We use char because int might match the return type of a gcc2
77317    builtin and then its argument prototype would still apply.  */
77318 char $ac_func ();
77319 /* The GNU C library defines this for functions which it implements
77320     to always fail with ENOSYS.  Some functions are actually named
77321     something starting with __ and the normal name is an alias.  */
77322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77323 choke me
77324 #else
77325 char (*f) () = $ac_func;
77326 #endif
77327 #ifdef __cplusplus
77328 }
77329 #endif
77330
77331 int
77332 main ()
77333 {
77334 return f != $ac_func;
77335   ;
77336   return 0;
77337 }
77338 _ACEOF
77339 rm -f conftest.$ac_objext conftest$ac_exeext
77340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77341   (eval $ac_link) 2>conftest.er1
77342   ac_status=$?
77343   grep -v '^ *+' conftest.er1 >conftest.err
77344   rm -f conftest.er1
77345   cat conftest.err >&5
77346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77347   (exit $ac_status); } &&
77348          { ac_try='test -z "$ac_c_werror_flag"
77349                          || test ! -s conftest.err'
77350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77351   (eval $ac_try) 2>&5
77352   ac_status=$?
77353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77354   (exit $ac_status); }; } &&
77355          { ac_try='test -s conftest$ac_exeext'
77356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77357   (eval $ac_try) 2>&5
77358   ac_status=$?
77359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77360   (exit $ac_status); }; }; then
77361   eval "$as_ac_var=yes"
77362 else
77363   echo "$as_me: failed program was:" >&5
77364 sed 's/^/| /' conftest.$ac_ext >&5
77365
77366 eval "$as_ac_var=no"
77367 fi
77368 rm -f conftest.err conftest.$ac_objext \
77369       conftest$ac_exeext conftest.$ac_ext
77370 fi
77371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77373 if test `eval echo '${'$as_ac_var'}'` = yes; then
77374   cat >>confdefs.h <<_ACEOF
77375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77376 _ACEOF
77377
77378 else
77379   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77380 fi
77381 done
77382
77383
77384
77385 for ac_func in __signbitf
77386 do
77387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77388 echo "$as_me:$LINENO: checking for $ac_func" >&5
77389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77390 if eval "test \"\${$as_ac_var+set}\" = set"; then
77391   echo $ECHO_N "(cached) $ECHO_C" >&6
77392 else
77393   if test x$gcc_no_link = xyes; then
77394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77396    { (exit 1); exit 1; }; }
77397 fi
77398 cat >conftest.$ac_ext <<_ACEOF
77399 /* confdefs.h.  */
77400 _ACEOF
77401 cat confdefs.h >>conftest.$ac_ext
77402 cat >>conftest.$ac_ext <<_ACEOF
77403 /* end confdefs.h.  */
77404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77406 #define $ac_func innocuous_$ac_func
77407
77408 /* System header to define __stub macros and hopefully few prototypes,
77409     which can conflict with char $ac_func (); below.
77410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77411     <limits.h> exists even on freestanding compilers.  */
77412
77413 #ifdef __STDC__
77414 # include <limits.h>
77415 #else
77416 # include <assert.h>
77417 #endif
77418
77419 #undef $ac_func
77420
77421 /* Override any gcc2 internal prototype to avoid an error.  */
77422 #ifdef __cplusplus
77423 extern "C"
77424 {
77425 #endif
77426 /* We use char because int might match the return type of a gcc2
77427    builtin and then its argument prototype would still apply.  */
77428 char $ac_func ();
77429 /* The GNU C library defines this for functions which it implements
77430     to always fail with ENOSYS.  Some functions are actually named
77431     something starting with __ and the normal name is an alias.  */
77432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77433 choke me
77434 #else
77435 char (*f) () = $ac_func;
77436 #endif
77437 #ifdef __cplusplus
77438 }
77439 #endif
77440
77441 int
77442 main ()
77443 {
77444 return f != $ac_func;
77445   ;
77446   return 0;
77447 }
77448 _ACEOF
77449 rm -f conftest.$ac_objext conftest$ac_exeext
77450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77451   (eval $ac_link) 2>conftest.er1
77452   ac_status=$?
77453   grep -v '^ *+' conftest.er1 >conftest.err
77454   rm -f conftest.er1
77455   cat conftest.err >&5
77456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77457   (exit $ac_status); } &&
77458          { ac_try='test -z "$ac_c_werror_flag"
77459                          || test ! -s conftest.err'
77460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77461   (eval $ac_try) 2>&5
77462   ac_status=$?
77463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77464   (exit $ac_status); }; } &&
77465          { ac_try='test -s conftest$ac_exeext'
77466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77467   (eval $ac_try) 2>&5
77468   ac_status=$?
77469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77470   (exit $ac_status); }; }; then
77471   eval "$as_ac_var=yes"
77472 else
77473   echo "$as_me: failed program was:" >&5
77474 sed 's/^/| /' conftest.$ac_ext >&5
77475
77476 eval "$as_ac_var=no"
77477 fi
77478 rm -f conftest.err conftest.$ac_objext \
77479       conftest$ac_exeext conftest.$ac_ext
77480 fi
77481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77483 if test `eval echo '${'$as_ac_var'}'` = yes; then
77484   cat >>confdefs.h <<_ACEOF
77485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77486 _ACEOF
77487
77488 else
77489   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77490 fi
77491 done
77492
77493
77494           if test x$ac_cv_func_copysignl = x"yes"; then
77495
77496 for ac_func in __signbitl
77497 do
77498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77499 echo "$as_me:$LINENO: checking for $ac_func" >&5
77500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77501 if eval "test \"\${$as_ac_var+set}\" = set"; then
77502   echo $ECHO_N "(cached) $ECHO_C" >&6
77503 else
77504   if test x$gcc_no_link = xyes; then
77505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77507    { (exit 1); exit 1; }; }
77508 fi
77509 cat >conftest.$ac_ext <<_ACEOF
77510 /* confdefs.h.  */
77511 _ACEOF
77512 cat confdefs.h >>conftest.$ac_ext
77513 cat >>conftest.$ac_ext <<_ACEOF
77514 /* end confdefs.h.  */
77515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77517 #define $ac_func innocuous_$ac_func
77518
77519 /* System header to define __stub macros and hopefully few prototypes,
77520     which can conflict with char $ac_func (); below.
77521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77522     <limits.h> exists even on freestanding compilers.  */
77523
77524 #ifdef __STDC__
77525 # include <limits.h>
77526 #else
77527 # include <assert.h>
77528 #endif
77529
77530 #undef $ac_func
77531
77532 /* Override any gcc2 internal prototype to avoid an error.  */
77533 #ifdef __cplusplus
77534 extern "C"
77535 {
77536 #endif
77537 /* We use char because int might match the return type of a gcc2
77538    builtin and then its argument prototype would still apply.  */
77539 char $ac_func ();
77540 /* The GNU C library defines this for functions which it implements
77541     to always fail with ENOSYS.  Some functions are actually named
77542     something starting with __ and the normal name is an alias.  */
77543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77544 choke me
77545 #else
77546 char (*f) () = $ac_func;
77547 #endif
77548 #ifdef __cplusplus
77549 }
77550 #endif
77551
77552 int
77553 main ()
77554 {
77555 return f != $ac_func;
77556   ;
77557   return 0;
77558 }
77559 _ACEOF
77560 rm -f conftest.$ac_objext conftest$ac_exeext
77561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77562   (eval $ac_link) 2>conftest.er1
77563   ac_status=$?
77564   grep -v '^ *+' conftest.er1 >conftest.err
77565   rm -f conftest.er1
77566   cat conftest.err >&5
77567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568   (exit $ac_status); } &&
77569          { ac_try='test -z "$ac_c_werror_flag"
77570                          || test ! -s conftest.err'
77571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77572   (eval $ac_try) 2>&5
77573   ac_status=$?
77574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77575   (exit $ac_status); }; } &&
77576          { ac_try='test -s conftest$ac_exeext'
77577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77578   (eval $ac_try) 2>&5
77579   ac_status=$?
77580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77581   (exit $ac_status); }; }; then
77582   eval "$as_ac_var=yes"
77583 else
77584   echo "$as_me: failed program was:" >&5
77585 sed 's/^/| /' conftest.$ac_ext >&5
77586
77587 eval "$as_ac_var=no"
77588 fi
77589 rm -f conftest.err conftest.$ac_objext \
77590       conftest$ac_exeext conftest.$ac_ext
77591 fi
77592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77594 if test `eval echo '${'$as_ac_var'}'` = yes; then
77595   cat >>confdefs.h <<_ACEOF
77596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77597 _ACEOF
77598
77599 else
77600   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77601 fi
77602 done
77603
77604   fi
77605
77606   # Used in libmath/Makefile.am.
77607   if test -n "$LIBMATHOBJS"; then
77608     need_libmath=yes
77609   fi
77610
77611
77612
77613
77614   enable_iconv=no
77615   # Only continue checking if the ISO C99 headers exist and support is on.
77616   if test x"$enable_wchar_t" = xyes; then
77617
77618     # From Bruno Haible's AM_ICONV, but without link tests.
77619     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77620     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
77621     # those with the standalone portable GNU libiconv installed).
77622
77623 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
77624 if test "${with_libiconv_prefix+set}" = set; then
77625   withval="$with_libiconv_prefix"
77626     for dir in `echo "$withval" | tr : ' '`; do
77627       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
77628       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
77629     done
77630     LIBICONV="$LIBICONV -liconv"
77631
77632 fi;
77633    if test x"$LIBICONV" != x; then
77634      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
77635 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
77636    fi
77637
77638     # Use iconv for wchar_t to char conversions. As such, check for
77639     # X/Open Portability Guide, version 2 features (XPG2).
77640     if test "${ac_cv_header_iconv_h+set}" = set; then
77641   echo "$as_me:$LINENO: checking for iconv.h" >&5
77642 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77643 if test "${ac_cv_header_iconv_h+set}" = set; then
77644   echo $ECHO_N "(cached) $ECHO_C" >&6
77645 fi
77646 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77647 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77648 else
77649   # Is the header compilable?
77650 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77651 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77652 cat >conftest.$ac_ext <<_ACEOF
77653 /* confdefs.h.  */
77654 _ACEOF
77655 cat confdefs.h >>conftest.$ac_ext
77656 cat >>conftest.$ac_ext <<_ACEOF
77657 /* end confdefs.h.  */
77658 $ac_includes_default
77659 #include <iconv.h>
77660 _ACEOF
77661 rm -f conftest.$ac_objext
77662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77663   (eval $ac_compile) 2>conftest.er1
77664   ac_status=$?
77665   grep -v '^ *+' conftest.er1 >conftest.err
77666   rm -f conftest.er1
77667   cat conftest.err >&5
77668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77669   (exit $ac_status); } &&
77670          { ac_try='test -z "$ac_c_werror_flag"
77671                          || test ! -s conftest.err'
77672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77673   (eval $ac_try) 2>&5
77674   ac_status=$?
77675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77676   (exit $ac_status); }; } &&
77677          { ac_try='test -s conftest.$ac_objext'
77678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77679   (eval $ac_try) 2>&5
77680   ac_status=$?
77681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77682   (exit $ac_status); }; }; then
77683   ac_header_compiler=yes
77684 else
77685   echo "$as_me: failed program was:" >&5
77686 sed 's/^/| /' conftest.$ac_ext >&5
77687
77688 ac_header_compiler=no
77689 fi
77690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77692 echo "${ECHO_T}$ac_header_compiler" >&6
77693
77694 # Is the header present?
77695 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77696 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77697 cat >conftest.$ac_ext <<_ACEOF
77698 /* confdefs.h.  */
77699 _ACEOF
77700 cat confdefs.h >>conftest.$ac_ext
77701 cat >>conftest.$ac_ext <<_ACEOF
77702 /* end confdefs.h.  */
77703 #include <iconv.h>
77704 _ACEOF
77705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77706   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77707   ac_status=$?
77708   grep -v '^ *+' conftest.er1 >conftest.err
77709   rm -f conftest.er1
77710   cat conftest.err >&5
77711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77712   (exit $ac_status); } >/dev/null; then
77713   if test -s conftest.err; then
77714     ac_cpp_err=$ac_c_preproc_warn_flag
77715     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77716   else
77717     ac_cpp_err=
77718   fi
77719 else
77720   ac_cpp_err=yes
77721 fi
77722 if test -z "$ac_cpp_err"; then
77723   ac_header_preproc=yes
77724 else
77725   echo "$as_me: failed program was:" >&5
77726 sed 's/^/| /' conftest.$ac_ext >&5
77727
77728   ac_header_preproc=no
77729 fi
77730 rm -f conftest.err conftest.$ac_ext
77731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77732 echo "${ECHO_T}$ac_header_preproc" >&6
77733
77734 # So?  What about this header?
77735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77736   yes:no: )
77737     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77738 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77739     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77740 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77741     ac_header_preproc=yes
77742     ;;
77743   no:yes:* )
77744     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77745 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77746     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77747 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77748     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77749 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77750     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77751 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77752     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77753 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77754     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77755 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77756     (
77757       cat <<\_ASBOX
77758 ## ----------------------------------------- ##
77759 ## Report this to the package-unused lists.  ##
77760 ## ----------------------------------------- ##
77761 _ASBOX
77762     ) |
77763       sed "s/^/$as_me: WARNING:     /" >&2
77764     ;;
77765 esac
77766 echo "$as_me:$LINENO: checking for iconv.h" >&5
77767 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77768 if test "${ac_cv_header_iconv_h+set}" = set; then
77769   echo $ECHO_N "(cached) $ECHO_C" >&6
77770 else
77771   ac_cv_header_iconv_h=$ac_header_preproc
77772 fi
77773 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77774 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77775
77776 fi
77777 if test $ac_cv_header_iconv_h = yes; then
77778   ac_has_iconv_h=yes
77779 else
77780   ac_has_iconv_h=no
77781 fi
77782
77783
77784     if test "${ac_cv_header_langinfo_h+set}" = set; then
77785   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77786 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77787 if test "${ac_cv_header_langinfo_h+set}" = set; then
77788   echo $ECHO_N "(cached) $ECHO_C" >&6
77789 fi
77790 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77791 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77792 else
77793   # Is the header compilable?
77794 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77795 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77796 cat >conftest.$ac_ext <<_ACEOF
77797 /* confdefs.h.  */
77798 _ACEOF
77799 cat confdefs.h >>conftest.$ac_ext
77800 cat >>conftest.$ac_ext <<_ACEOF
77801 /* end confdefs.h.  */
77802 $ac_includes_default
77803 #include <langinfo.h>
77804 _ACEOF
77805 rm -f conftest.$ac_objext
77806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77807   (eval $ac_compile) 2>conftest.er1
77808   ac_status=$?
77809   grep -v '^ *+' conftest.er1 >conftest.err
77810   rm -f conftest.er1
77811   cat conftest.err >&5
77812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77813   (exit $ac_status); } &&
77814          { ac_try='test -z "$ac_c_werror_flag"
77815                          || test ! -s conftest.err'
77816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77817   (eval $ac_try) 2>&5
77818   ac_status=$?
77819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820   (exit $ac_status); }; } &&
77821          { ac_try='test -s conftest.$ac_objext'
77822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77823   (eval $ac_try) 2>&5
77824   ac_status=$?
77825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77826   (exit $ac_status); }; }; then
77827   ac_header_compiler=yes
77828 else
77829   echo "$as_me: failed program was:" >&5
77830 sed 's/^/| /' conftest.$ac_ext >&5
77831
77832 ac_header_compiler=no
77833 fi
77834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77836 echo "${ECHO_T}$ac_header_compiler" >&6
77837
77838 # Is the header present?
77839 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77840 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77841 cat >conftest.$ac_ext <<_ACEOF
77842 /* confdefs.h.  */
77843 _ACEOF
77844 cat confdefs.h >>conftest.$ac_ext
77845 cat >>conftest.$ac_ext <<_ACEOF
77846 /* end confdefs.h.  */
77847 #include <langinfo.h>
77848 _ACEOF
77849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77851   ac_status=$?
77852   grep -v '^ *+' conftest.er1 >conftest.err
77853   rm -f conftest.er1
77854   cat conftest.err >&5
77855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77856   (exit $ac_status); } >/dev/null; then
77857   if test -s conftest.err; then
77858     ac_cpp_err=$ac_c_preproc_warn_flag
77859     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77860   else
77861     ac_cpp_err=
77862   fi
77863 else
77864   ac_cpp_err=yes
77865 fi
77866 if test -z "$ac_cpp_err"; then
77867   ac_header_preproc=yes
77868 else
77869   echo "$as_me: failed program was:" >&5
77870 sed 's/^/| /' conftest.$ac_ext >&5
77871
77872   ac_header_preproc=no
77873 fi
77874 rm -f conftest.err conftest.$ac_ext
77875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77876 echo "${ECHO_T}$ac_header_preproc" >&6
77877
77878 # So?  What about this header?
77879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77880   yes:no: )
77881     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77882 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77883     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77884 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77885     ac_header_preproc=yes
77886     ;;
77887   no:yes:* )
77888     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77889 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77890     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
77891 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
77892     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77893 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77894     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
77895 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77896     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77897 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77898     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77899 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77900     (
77901       cat <<\_ASBOX
77902 ## ----------------------------------------- ##
77903 ## Report this to the package-unused lists.  ##
77904 ## ----------------------------------------- ##
77905 _ASBOX
77906     ) |
77907       sed "s/^/$as_me: WARNING:     /" >&2
77908     ;;
77909 esac
77910 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77911 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77912 if test "${ac_cv_header_langinfo_h+set}" = set; then
77913   echo $ECHO_N "(cached) $ECHO_C" >&6
77914 else
77915   ac_cv_header_langinfo_h=$ac_header_preproc
77916 fi
77917 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77918 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77919
77920 fi
77921 if test $ac_cv_header_langinfo_h = yes; then
77922   ac_has_langinfo_h=yes
77923 else
77924   ac_has_langinfo_h=no
77925 fi
77926
77927
77928
77929     ac_save_LIBS="$LIBS"
77930     LIBS="$LIBS $LIBICONV"
77931
77932
77933
77934
77935 for ac_func in iconv_open iconv_close iconv nl_langinfo
77936 do
77937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77938 echo "$as_me:$LINENO: checking for $ac_func" >&5
77939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77940 if eval "test \"\${$as_ac_var+set}\" = set"; then
77941   echo $ECHO_N "(cached) $ECHO_C" >&6
77942 else
77943   if test x$gcc_no_link = xyes; then
77944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77946    { (exit 1); exit 1; }; }
77947 fi
77948 cat >conftest.$ac_ext <<_ACEOF
77949 /* confdefs.h.  */
77950 _ACEOF
77951 cat confdefs.h >>conftest.$ac_ext
77952 cat >>conftest.$ac_ext <<_ACEOF
77953 /* end confdefs.h.  */
77954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77956 #define $ac_func innocuous_$ac_func
77957
77958 /* System header to define __stub macros and hopefully few prototypes,
77959     which can conflict with char $ac_func (); below.
77960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77961     <limits.h> exists even on freestanding compilers.  */
77962
77963 #ifdef __STDC__
77964 # include <limits.h>
77965 #else
77966 # include <assert.h>
77967 #endif
77968
77969 #undef $ac_func
77970
77971 /* Override any gcc2 internal prototype to avoid an error.  */
77972 #ifdef __cplusplus
77973 extern "C"
77974 {
77975 #endif
77976 /* We use char because int might match the return type of a gcc2
77977    builtin and then its argument prototype would still apply.  */
77978 char $ac_func ();
77979 /* The GNU C library defines this for functions which it implements
77980     to always fail with ENOSYS.  Some functions are actually named
77981     something starting with __ and the normal name is an alias.  */
77982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77983 choke me
77984 #else
77985 char (*f) () = $ac_func;
77986 #endif
77987 #ifdef __cplusplus
77988 }
77989 #endif
77990
77991 int
77992 main ()
77993 {
77994 return f != $ac_func;
77995   ;
77996   return 0;
77997 }
77998 _ACEOF
77999 rm -f conftest.$ac_objext conftest$ac_exeext
78000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78001   (eval $ac_link) 2>conftest.er1
78002   ac_status=$?
78003   grep -v '^ *+' conftest.er1 >conftest.err
78004   rm -f conftest.er1
78005   cat conftest.err >&5
78006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78007   (exit $ac_status); } &&
78008          { ac_try='test -z "$ac_c_werror_flag"
78009                          || test ! -s conftest.err'
78010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78011   (eval $ac_try) 2>&5
78012   ac_status=$?
78013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78014   (exit $ac_status); }; } &&
78015          { ac_try='test -s conftest$ac_exeext'
78016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78017   (eval $ac_try) 2>&5
78018   ac_status=$?
78019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78020   (exit $ac_status); }; }; then
78021   eval "$as_ac_var=yes"
78022 else
78023   echo "$as_me: failed program was:" >&5
78024 sed 's/^/| /' conftest.$ac_ext >&5
78025
78026 eval "$as_ac_var=no"
78027 fi
78028 rm -f conftest.err conftest.$ac_objext \
78029       conftest$ac_exeext conftest.$ac_ext
78030 fi
78031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78033 if test `eval echo '${'$as_ac_var'}'` = yes; then
78034   cat >>confdefs.h <<_ACEOF
78035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78036 _ACEOF
78037  ac_XPG2funcs=yes
78038 else
78039   ac_XPG2funcs=no
78040 fi
78041 done
78042
78043     LIBS="$ac_save_LIBS"
78044
78045     if test x"$ac_has_iconv_h" = xyes &&
78046        test x"$ac_has_langinfo_h" = xyes &&
78047        test x"$ac_XPG2funcs" = xyes;
78048     then
78049
78050 cat >>confdefs.h <<\_ACEOF
78051 #define _GLIBCXX_USE_ICONV 1
78052 _ACEOF
78053
78054       enable_iconv=yes
78055
78056     fi
78057   fi
78058   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78059 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78060   echo "$as_me:$LINENO: result: $enable_iconv" >&5
78061 echo "${ECHO_T}$enable_iconv" >&6
78062
78063     cat >>confdefs.h <<\_ACEOF
78064 #define HAVE_COPYSIGN 1
78065 _ACEOF
78066
78067     cat >>confdefs.h <<\_ACEOF
78068 #define HAVE_COPYSIGNF 1
78069 _ACEOF
78070
78071     cat >>confdefs.h <<\_ACEOF
78072 #define HAVE_FREXPF 1
78073 _ACEOF
78074
78075     cat >>confdefs.h <<\_ACEOF
78076 #define HAVE_HYPOT 1
78077 _ACEOF
78078
78079     case "$target" in
78080       *-hpux10*)
78081         cat >>confdefs.h <<\_ACEOF
78082 #define HAVE_FINITE 1
78083 _ACEOF
78084
78085         cat >>confdefs.h <<\_ACEOF
78086 #define HAVE_FINITEF 1
78087 _ACEOF
78088
78089         cat >>confdefs.h <<\_ACEOF
78090 #define HAVE_ISINF 1
78091 _ACEOF
78092
78093         cat >>confdefs.h <<\_ACEOF
78094 #define HAVE_ISINFF 1
78095 _ACEOF
78096
78097         cat >>confdefs.h <<\_ACEOF
78098 #define HAVE_ISNAN 1
78099 _ACEOF
78100
78101         cat >>confdefs.h <<\_ACEOF
78102 #define HAVE_ISNANF 1
78103 _ACEOF
78104
78105         ;;
78106     esac
78107     ;;
78108   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78109
78110
78111
78112
78113
78114
78115
78116
78117
78118
78119
78120
78121
78122
78123
78124 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78125       machine/endian.h machine/param.h sys/machine.h sys/types.h \
78126       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78127 do
78128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78130   echo "$as_me:$LINENO: checking for $ac_header" >&5
78131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78133   echo $ECHO_N "(cached) $ECHO_C" >&6
78134 fi
78135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78137 else
78138   # Is the header compilable?
78139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78141 cat >conftest.$ac_ext <<_ACEOF
78142 /* confdefs.h.  */
78143 _ACEOF
78144 cat confdefs.h >>conftest.$ac_ext
78145 cat >>conftest.$ac_ext <<_ACEOF
78146 /* end confdefs.h.  */
78147 $ac_includes_default
78148 #include <$ac_header>
78149 _ACEOF
78150 rm -f conftest.$ac_objext
78151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78152   (eval $ac_compile) 2>conftest.er1
78153   ac_status=$?
78154   grep -v '^ *+' conftest.er1 >conftest.err
78155   rm -f conftest.er1
78156   cat conftest.err >&5
78157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78158   (exit $ac_status); } &&
78159          { ac_try='test -z "$ac_c_werror_flag"
78160                          || test ! -s conftest.err'
78161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78162   (eval $ac_try) 2>&5
78163   ac_status=$?
78164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165   (exit $ac_status); }; } &&
78166          { ac_try='test -s conftest.$ac_objext'
78167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78168   (eval $ac_try) 2>&5
78169   ac_status=$?
78170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78171   (exit $ac_status); }; }; then
78172   ac_header_compiler=yes
78173 else
78174   echo "$as_me: failed program was:" >&5
78175 sed 's/^/| /' conftest.$ac_ext >&5
78176
78177 ac_header_compiler=no
78178 fi
78179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78181 echo "${ECHO_T}$ac_header_compiler" >&6
78182
78183 # Is the header present?
78184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78186 cat >conftest.$ac_ext <<_ACEOF
78187 /* confdefs.h.  */
78188 _ACEOF
78189 cat confdefs.h >>conftest.$ac_ext
78190 cat >>conftest.$ac_ext <<_ACEOF
78191 /* end confdefs.h.  */
78192 #include <$ac_header>
78193 _ACEOF
78194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78195   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78196   ac_status=$?
78197   grep -v '^ *+' conftest.er1 >conftest.err
78198   rm -f conftest.er1
78199   cat conftest.err >&5
78200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78201   (exit $ac_status); } >/dev/null; then
78202   if test -s conftest.err; then
78203     ac_cpp_err=$ac_c_preproc_warn_flag
78204     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78205   else
78206     ac_cpp_err=
78207   fi
78208 else
78209   ac_cpp_err=yes
78210 fi
78211 if test -z "$ac_cpp_err"; then
78212   ac_header_preproc=yes
78213 else
78214   echo "$as_me: failed program was:" >&5
78215 sed 's/^/| /' conftest.$ac_ext >&5
78216
78217   ac_header_preproc=no
78218 fi
78219 rm -f conftest.err conftest.$ac_ext
78220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78221 echo "${ECHO_T}$ac_header_preproc" >&6
78222
78223 # So?  What about this header?
78224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78225   yes:no: )
78226     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78228     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78230     ac_header_preproc=yes
78231     ;;
78232   no:yes:* )
78233     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78235     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78236 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78237     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78239     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78240 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78241     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78243     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78245     (
78246       cat <<\_ASBOX
78247 ## ----------------------------------------- ##
78248 ## Report this to the package-unused lists.  ##
78249 ## ----------------------------------------- ##
78250 _ASBOX
78251     ) |
78252       sed "s/^/$as_me: WARNING:     /" >&2
78253     ;;
78254 esac
78255 echo "$as_me:$LINENO: checking for $ac_header" >&5
78256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78258   echo $ECHO_N "(cached) $ECHO_C" >&6
78259 else
78260   eval "$as_ac_Header=\$ac_header_preproc"
78261 fi
78262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78264
78265 fi
78266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78267   cat >>confdefs.h <<_ACEOF
78268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78269 _ACEOF
78270
78271 fi
78272
78273 done
78274
78275     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78276
78277
78278   # All these tests are for C++; save the language and the compiler flags.
78279   # The CXXFLAGS thing is suspicious, but based on similar bits previously
78280   # found in GLIBCXX_CONFIGURE.
78281
78282
78283   ac_ext=cc
78284 ac_cpp='$CXXCPP $CPPFLAGS'
78285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78288
78289   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78290   ac_save_CXXFLAGS="$CXXFLAGS"
78291
78292   # Check for maintainer-mode bits.
78293   if test x"$USE_MAINTAINER_MODE" = xno; then
78294     WERROR=''
78295   else
78296     WERROR='-Werror'
78297   fi
78298
78299   # Check for -ffunction-sections -fdata-sections
78300   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78301 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78302   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78303   cat >conftest.$ac_ext <<_ACEOF
78304 /* confdefs.h.  */
78305 _ACEOF
78306 cat confdefs.h >>conftest.$ac_ext
78307 cat >>conftest.$ac_ext <<_ACEOF
78308 /* end confdefs.h.  */
78309
78310 int
78311 main ()
78312 {
78313 int foo;
78314   ;
78315   return 0;
78316 }
78317 _ACEOF
78318 rm -f conftest.$ac_objext
78319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78320   (eval $ac_compile) 2>conftest.er1
78321   ac_status=$?
78322   grep -v '^ *+' conftest.er1 >conftest.err
78323   rm -f conftest.er1
78324   cat conftest.err >&5
78325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78326   (exit $ac_status); } &&
78327          { ac_try='test -z "$ac_cxx_werror_flag"
78328                          || test ! -s conftest.err'
78329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78330   (eval $ac_try) 2>&5
78331   ac_status=$?
78332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78333   (exit $ac_status); }; } &&
78334          { ac_try='test -s conftest.$ac_objext'
78335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78336   (eval $ac_try) 2>&5
78337   ac_status=$?
78338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78339   (exit $ac_status); }; }; then
78340   ac_fdsections=yes
78341 else
78342   echo "$as_me: failed program was:" >&5
78343 sed 's/^/| /' conftest.$ac_ext >&5
78344
78345 ac_fdsections=no
78346 fi
78347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78348   if test "$ac_test_CXXFLAGS" = set; then
78349     CXXFLAGS="$ac_save_CXXFLAGS"
78350   else
78351     # this is the suspicious part
78352     CXXFLAGS=''
78353   fi
78354   if test x"$ac_fdsections" = x"yes"; then
78355     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78356   fi
78357   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78358 echo "${ECHO_T}$ac_fdsections" >&6
78359
78360   ac_ext=c
78361 ac_cpp='$CPP $CPPFLAGS'
78362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78365
78366
78367
78368
78369
78370   # If we're not using GNU ld, then there's no point in even trying these
78371   # tests.  Check for that first.  We should have already tested for gld
78372   # by now (in libtool), but require it now just to be safe...
78373   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78374   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78375
78376
78377
78378   # The name set by libtool depends on the version of libtool.  Shame on us
78379   # for depending on an impl detail, but c'est la vie.  Older versions used
78380   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78381   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78382   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
78383   # set (hence we're using an older libtool), then set it.
78384   if test x${with_gnu_ld+set} != xset; then
78385     if test x${ac_cv_prog_gnu_ld+set} != xset; then
78386       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
78387       with_gnu_ld=no
78388     else
78389       with_gnu_ld=$ac_cv_prog_gnu_ld
78390     fi
78391   fi
78392
78393   # Start by getting the version number.  I think the libtool test already
78394   # does some of this, but throws away the result.
78395   if test x"$with_gnu_ld" = x"yes"; then
78396     echo "$as_me:$LINENO: checking for ld version" >&5
78397 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78398
78399     ldver=`$LD --version 2>/dev/null | head -1 | \
78400            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78401
78402     glibcxx_gnu_ld_version=`echo $ldver | \
78403            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78404     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78405 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78406   fi
78407
78408   # Set --gc-sections.
78409   glibcxx_gcsections_min_ld=21602
78410   if test x"$with_gnu_ld" = x"yes" &&
78411         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78412
78413     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
78414     # NB: This flag only works reliably after 2.16.1. Configure tests
78415     # for this are difficult, so hard wire a value that should work.
78416
78417     # All these tests are for C++, but run with the "C" compiler driver.
78418     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78419     ac_test_CFLAGS="${CFLAGS+set}"
78420     ac_save_CFLAGS="$CFLAGS"
78421     CFLAGS='-x c++ -Wl,--gc-sections'
78422
78423     # Check for -Wl,--gc-sections
78424     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78425 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78426     if test x$gcc_no_link = xyes; then
78427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78429    { (exit 1); exit 1; }; }
78430 fi
78431 cat >conftest.$ac_ext <<_ACEOF
78432 /* confdefs.h.  */
78433 _ACEOF
78434 cat confdefs.h >>conftest.$ac_ext
78435 cat >>conftest.$ac_ext <<_ACEOF
78436 /* end confdefs.h.  */
78437  int one(void) { return 1; }
78438      int two(void) { return 2; }
78439
78440 int
78441 main ()
78442 {
78443  two();
78444   ;
78445   return 0;
78446 }
78447 _ACEOF
78448 rm -f conftest.$ac_objext conftest$ac_exeext
78449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78450   (eval $ac_link) 2>conftest.er1
78451   ac_status=$?
78452   grep -v '^ *+' conftest.er1 >conftest.err
78453   rm -f conftest.er1
78454   cat conftest.err >&5
78455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78456   (exit $ac_status); } &&
78457          { ac_try='test -z "$ac_c_werror_flag"
78458                          || test ! -s conftest.err'
78459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78460   (eval $ac_try) 2>&5
78461   ac_status=$?
78462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78463   (exit $ac_status); }; } &&
78464          { ac_try='test -s conftest$ac_exeext'
78465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78466   (eval $ac_try) 2>&5
78467   ac_status=$?
78468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78469   (exit $ac_status); }; }; then
78470   ac_gcsections=yes
78471 else
78472   echo "$as_me: failed program was:" >&5
78473 sed 's/^/| /' conftest.$ac_ext >&5
78474
78475 ac_gcsections=no
78476 fi
78477 rm -f conftest.err conftest.$ac_objext \
78478       conftest$ac_exeext conftest.$ac_ext
78479     if test "$ac_gcsections" = "yes"; then
78480       rm -f conftest.c
78481       touch conftest.c
78482       if $CC -c conftest.c; then
78483         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78484            grep "Warning: gc-sections option ignored" > /dev/null; then
78485           ac_gcsections=no
78486         fi
78487       fi
78488       rm -f conftest.c conftest.o conftest
78489     fi
78490     if test "$ac_gcsections" = "yes"; then
78491       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78492     fi
78493     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78494 echo "${ECHO_T}$ac_gcsections" >&6
78495
78496     if test "$ac_test_CFLAGS" = set; then
78497       CFLAGS="$ac_save_CFLAGS"
78498     else
78499       # this is the suspicious part
78500       CFLAGS=''
78501     fi
78502   fi
78503
78504   # Set -z,relro.
78505   # Note this is only for shared objects.
78506   ac_ld_relro=no
78507   if test x"$with_gnu_ld" = x"yes"; then
78508     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78509 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78510     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78511     if test -n "$cxx_z_relo"; then
78512       OPT_LDFLAGS="-Wl,-z,relro"
78513       ac_ld_relro=yes
78514     fi
78515     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78516 echo "${ECHO_T}$ac_ld_relro" >&6
78517   fi
78518
78519   # Set linker optimization flags.
78520   if test x"$with_gnu_ld" = x"yes"; then
78521     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78522   fi
78523
78524
78525
78526
78527
78528   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78529   ac_save_CXXFLAGS="$CXXFLAGS"
78530   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78531
78532     echo "$as_me:$LINENO: checking for sin in -lm" >&5
78533 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78534 if test "${ac_cv_lib_m_sin+set}" = set; then
78535   echo $ECHO_N "(cached) $ECHO_C" >&6
78536 else
78537   ac_check_lib_save_LIBS=$LIBS
78538 LIBS="-lm  $LIBS"
78539 if test x$gcc_no_link = xyes; then
78540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78542    { (exit 1); exit 1; }; }
78543 fi
78544 cat >conftest.$ac_ext <<_ACEOF
78545 /* confdefs.h.  */
78546 _ACEOF
78547 cat confdefs.h >>conftest.$ac_ext
78548 cat >>conftest.$ac_ext <<_ACEOF
78549 /* end confdefs.h.  */
78550
78551 /* Override any gcc2 internal prototype to avoid an error.  */
78552 #ifdef __cplusplus
78553 extern "C"
78554 #endif
78555 /* We use char because int might match the return type of a gcc2
78556    builtin and then its argument prototype would still apply.  */
78557 char sin ();
78558 int
78559 main ()
78560 {
78561 sin ();
78562   ;
78563   return 0;
78564 }
78565 _ACEOF
78566 rm -f conftest.$ac_objext conftest$ac_exeext
78567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78568   (eval $ac_link) 2>conftest.er1
78569   ac_status=$?
78570   grep -v '^ *+' conftest.er1 >conftest.err
78571   rm -f conftest.er1
78572   cat conftest.err >&5
78573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78574   (exit $ac_status); } &&
78575          { ac_try='test -z "$ac_c_werror_flag"
78576                          || test ! -s conftest.err'
78577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78578   (eval $ac_try) 2>&5
78579   ac_status=$?
78580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78581   (exit $ac_status); }; } &&
78582          { ac_try='test -s conftest$ac_exeext'
78583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78584   (eval $ac_try) 2>&5
78585   ac_status=$?
78586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78587   (exit $ac_status); }; }; then
78588   ac_cv_lib_m_sin=yes
78589 else
78590   echo "$as_me: failed program was:" >&5
78591 sed 's/^/| /' conftest.$ac_ext >&5
78592
78593 ac_cv_lib_m_sin=no
78594 fi
78595 rm -f conftest.err conftest.$ac_objext \
78596       conftest$ac_exeext conftest.$ac_ext
78597 LIBS=$ac_check_lib_save_LIBS
78598 fi
78599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78600 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78601 if test $ac_cv_lib_m_sin = yes; then
78602   libm="-lm"
78603 fi
78604
78605   ac_save_LIBS="$LIBS"
78606   LIBS="$LIBS $libm"
78607
78608
78609
78610   echo "$as_me:$LINENO: checking for isinf declaration" >&5
78611 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78612   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78613     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78614   echo $ECHO_N "(cached) $ECHO_C" >&6
78615 else
78616
78617
78618
78619       ac_ext=cc
78620 ac_cpp='$CXXCPP $CPPFLAGS'
78621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78624
78625       cat >conftest.$ac_ext <<_ACEOF
78626 /* confdefs.h.  */
78627 _ACEOF
78628 cat confdefs.h >>conftest.$ac_ext
78629 cat >>conftest.$ac_ext <<_ACEOF
78630 /* end confdefs.h.  */
78631 #include <math.h>
78632                       #ifdef HAVE_IEEEFP_H
78633                       #include <ieeefp.h>
78634                       #endif
78635
78636 int
78637 main ()
78638 {
78639  isinf(0);
78640   ;
78641   return 0;
78642 }
78643 _ACEOF
78644 rm -f conftest.$ac_objext
78645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78646   (eval $ac_compile) 2>conftest.er1
78647   ac_status=$?
78648   grep -v '^ *+' conftest.er1 >conftest.err
78649   rm -f conftest.er1
78650   cat conftest.err >&5
78651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78652   (exit $ac_status); } &&
78653          { ac_try='test -z "$ac_cxx_werror_flag"
78654                          || test ! -s conftest.err'
78655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78656   (eval $ac_try) 2>&5
78657   ac_status=$?
78658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78659   (exit $ac_status); }; } &&
78660          { ac_try='test -s conftest.$ac_objext'
78661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78662   (eval $ac_try) 2>&5
78663   ac_status=$?
78664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78665   (exit $ac_status); }; }; then
78666   glibcxx_cv_func_isinf_use=yes
78667 else
78668   echo "$as_me: failed program was:" >&5
78669 sed 's/^/| /' conftest.$ac_ext >&5
78670
78671 glibcxx_cv_func_isinf_use=no
78672 fi
78673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78674       ac_ext=c
78675 ac_cpp='$CPP $CPPFLAGS'
78676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78679
78680
78681 fi
78682
78683   fi
78684   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
78685 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78686
78687   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78688
78689 for ac_func in isinf
78690 do
78691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78692 echo "$as_me:$LINENO: checking for $ac_func" >&5
78693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78694 if eval "test \"\${$as_ac_var+set}\" = set"; then
78695   echo $ECHO_N "(cached) $ECHO_C" >&6
78696 else
78697   if test x$gcc_no_link = xyes; then
78698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78700    { (exit 1); exit 1; }; }
78701 fi
78702 cat >conftest.$ac_ext <<_ACEOF
78703 /* confdefs.h.  */
78704 _ACEOF
78705 cat confdefs.h >>conftest.$ac_ext
78706 cat >>conftest.$ac_ext <<_ACEOF
78707 /* end confdefs.h.  */
78708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78710 #define $ac_func innocuous_$ac_func
78711
78712 /* System header to define __stub macros and hopefully few prototypes,
78713     which can conflict with char $ac_func (); below.
78714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78715     <limits.h> exists even on freestanding compilers.  */
78716
78717 #ifdef __STDC__
78718 # include <limits.h>
78719 #else
78720 # include <assert.h>
78721 #endif
78722
78723 #undef $ac_func
78724
78725 /* Override any gcc2 internal prototype to avoid an error.  */
78726 #ifdef __cplusplus
78727 extern "C"
78728 {
78729 #endif
78730 /* We use char because int might match the return type of a gcc2
78731    builtin and then its argument prototype would still apply.  */
78732 char $ac_func ();
78733 /* The GNU C library defines this for functions which it implements
78734     to always fail with ENOSYS.  Some functions are actually named
78735     something starting with __ and the normal name is an alias.  */
78736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78737 choke me
78738 #else
78739 char (*f) () = $ac_func;
78740 #endif
78741 #ifdef __cplusplus
78742 }
78743 #endif
78744
78745 int
78746 main ()
78747 {
78748 return f != $ac_func;
78749   ;
78750   return 0;
78751 }
78752 _ACEOF
78753 rm -f conftest.$ac_objext conftest$ac_exeext
78754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78755   (eval $ac_link) 2>conftest.er1
78756   ac_status=$?
78757   grep -v '^ *+' conftest.er1 >conftest.err
78758   rm -f conftest.er1
78759   cat conftest.err >&5
78760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78761   (exit $ac_status); } &&
78762          { ac_try='test -z "$ac_c_werror_flag"
78763                          || test ! -s conftest.err'
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); }; } &&
78769          { ac_try='test -s conftest$ac_exeext'
78770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78771   (eval $ac_try) 2>&5
78772   ac_status=$?
78773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78774   (exit $ac_status); }; }; then
78775   eval "$as_ac_var=yes"
78776 else
78777   echo "$as_me: failed program was:" >&5
78778 sed 's/^/| /' conftest.$ac_ext >&5
78779
78780 eval "$as_ac_var=no"
78781 fi
78782 rm -f conftest.err conftest.$ac_objext \
78783       conftest$ac_exeext conftest.$ac_ext
78784 fi
78785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78787 if test `eval echo '${'$as_ac_var'}'` = yes; then
78788   cat >>confdefs.h <<_ACEOF
78789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78790 _ACEOF
78791
78792 fi
78793 done
78794
78795   else
78796
78797   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
78798 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
78799   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
78800     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
78801   echo $ECHO_N "(cached) $ECHO_C" >&6
78802 else
78803
78804
78805
78806       ac_ext=cc
78807 ac_cpp='$CXXCPP $CPPFLAGS'
78808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78811
78812       cat >conftest.$ac_ext <<_ACEOF
78813 /* confdefs.h.  */
78814 _ACEOF
78815 cat confdefs.h >>conftest.$ac_ext
78816 cat >>conftest.$ac_ext <<_ACEOF
78817 /* end confdefs.h.  */
78818 #include <math.h>
78819                       #ifdef HAVE_IEEEFP_H
78820                       #include <ieeefp.h>
78821                       #endif
78822
78823 int
78824 main ()
78825 {
78826  _isinf(0);
78827   ;
78828   return 0;
78829 }
78830 _ACEOF
78831 rm -f conftest.$ac_objext
78832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78833   (eval $ac_compile) 2>conftest.er1
78834   ac_status=$?
78835   grep -v '^ *+' conftest.er1 >conftest.err
78836   rm -f conftest.er1
78837   cat conftest.err >&5
78838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78839   (exit $ac_status); } &&
78840          { ac_try='test -z "$ac_cxx_werror_flag"
78841                          || test ! -s conftest.err'
78842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78843   (eval $ac_try) 2>&5
78844   ac_status=$?
78845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78846   (exit $ac_status); }; } &&
78847          { ac_try='test -s conftest.$ac_objext'
78848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78849   (eval $ac_try) 2>&5
78850   ac_status=$?
78851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78852   (exit $ac_status); }; }; then
78853   glibcxx_cv_func__isinf_use=yes
78854 else
78855   echo "$as_me: failed program was:" >&5
78856 sed 's/^/| /' conftest.$ac_ext >&5
78857
78858 glibcxx_cv_func__isinf_use=no
78859 fi
78860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78861       ac_ext=c
78862 ac_cpp='$CPP $CPPFLAGS'
78863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78866
78867
78868 fi
78869
78870   fi
78871   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
78872 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
78873
78874     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
78875
78876 for ac_func in _isinf
78877 do
78878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78879 echo "$as_me:$LINENO: checking for $ac_func" >&5
78880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78881 if eval "test \"\${$as_ac_var+set}\" = set"; then
78882   echo $ECHO_N "(cached) $ECHO_C" >&6
78883 else
78884   if test x$gcc_no_link = xyes; then
78885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78887    { (exit 1); exit 1; }; }
78888 fi
78889 cat >conftest.$ac_ext <<_ACEOF
78890 /* confdefs.h.  */
78891 _ACEOF
78892 cat confdefs.h >>conftest.$ac_ext
78893 cat >>conftest.$ac_ext <<_ACEOF
78894 /* end confdefs.h.  */
78895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78897 #define $ac_func innocuous_$ac_func
78898
78899 /* System header to define __stub macros and hopefully few prototypes,
78900     which can conflict with char $ac_func (); below.
78901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78902     <limits.h> exists even on freestanding compilers.  */
78903
78904 #ifdef __STDC__
78905 # include <limits.h>
78906 #else
78907 # include <assert.h>
78908 #endif
78909
78910 #undef $ac_func
78911
78912 /* Override any gcc2 internal prototype to avoid an error.  */
78913 #ifdef __cplusplus
78914 extern "C"
78915 {
78916 #endif
78917 /* We use char because int might match the return type of a gcc2
78918    builtin and then its argument prototype would still apply.  */
78919 char $ac_func ();
78920 /* The GNU C library defines this for functions which it implements
78921     to always fail with ENOSYS.  Some functions are actually named
78922     something starting with __ and the normal name is an alias.  */
78923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78924 choke me
78925 #else
78926 char (*f) () = $ac_func;
78927 #endif
78928 #ifdef __cplusplus
78929 }
78930 #endif
78931
78932 int
78933 main ()
78934 {
78935 return f != $ac_func;
78936   ;
78937   return 0;
78938 }
78939 _ACEOF
78940 rm -f conftest.$ac_objext conftest$ac_exeext
78941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78942   (eval $ac_link) 2>conftest.er1
78943   ac_status=$?
78944   grep -v '^ *+' conftest.er1 >conftest.err
78945   rm -f conftest.er1
78946   cat conftest.err >&5
78947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78948   (exit $ac_status); } &&
78949          { ac_try='test -z "$ac_c_werror_flag"
78950                          || test ! -s conftest.err'
78951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78952   (eval $ac_try) 2>&5
78953   ac_status=$?
78954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78955   (exit $ac_status); }; } &&
78956          { ac_try='test -s conftest$ac_exeext'
78957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78958   (eval $ac_try) 2>&5
78959   ac_status=$?
78960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78961   (exit $ac_status); }; }; then
78962   eval "$as_ac_var=yes"
78963 else
78964   echo "$as_me: failed program was:" >&5
78965 sed 's/^/| /' conftest.$ac_ext >&5
78966
78967 eval "$as_ac_var=no"
78968 fi
78969 rm -f conftest.err conftest.$ac_objext \
78970       conftest$ac_exeext conftest.$ac_ext
78971 fi
78972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78974 if test `eval echo '${'$as_ac_var'}'` = yes; then
78975   cat >>confdefs.h <<_ACEOF
78976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78977 _ACEOF
78978
78979 fi
78980 done
78981
78982     fi
78983   fi
78984
78985
78986
78987
78988
78989
78990   echo "$as_me:$LINENO: checking for isnan declaration" >&5
78991 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
78992   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
78993     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
78994   echo $ECHO_N "(cached) $ECHO_C" >&6
78995 else
78996
78997
78998
78999       ac_ext=cc
79000 ac_cpp='$CXXCPP $CPPFLAGS'
79001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79004
79005       cat >conftest.$ac_ext <<_ACEOF
79006 /* confdefs.h.  */
79007 _ACEOF
79008 cat confdefs.h >>conftest.$ac_ext
79009 cat >>conftest.$ac_ext <<_ACEOF
79010 /* end confdefs.h.  */
79011 #include <math.h>
79012                       #ifdef HAVE_IEEEFP_H
79013                       #include <ieeefp.h>
79014                       #endif
79015
79016 int
79017 main ()
79018 {
79019  isnan(0);
79020   ;
79021   return 0;
79022 }
79023 _ACEOF
79024 rm -f conftest.$ac_objext
79025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79026   (eval $ac_compile) 2>conftest.er1
79027   ac_status=$?
79028   grep -v '^ *+' conftest.er1 >conftest.err
79029   rm -f conftest.er1
79030   cat conftest.err >&5
79031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79032   (exit $ac_status); } &&
79033          { ac_try='test -z "$ac_cxx_werror_flag"
79034                          || test ! -s conftest.err'
79035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79036   (eval $ac_try) 2>&5
79037   ac_status=$?
79038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79039   (exit $ac_status); }; } &&
79040          { ac_try='test -s conftest.$ac_objext'
79041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79042   (eval $ac_try) 2>&5
79043   ac_status=$?
79044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79045   (exit $ac_status); }; }; then
79046   glibcxx_cv_func_isnan_use=yes
79047 else
79048   echo "$as_me: failed program was:" >&5
79049 sed 's/^/| /' conftest.$ac_ext >&5
79050
79051 glibcxx_cv_func_isnan_use=no
79052 fi
79053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79054       ac_ext=c
79055 ac_cpp='$CPP $CPPFLAGS'
79056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79059
79060
79061 fi
79062
79063   fi
79064   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79065 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79066
79067   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79068
79069 for ac_func in isnan
79070 do
79071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79072 echo "$as_me:$LINENO: checking for $ac_func" >&5
79073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79074 if eval "test \"\${$as_ac_var+set}\" = set"; then
79075   echo $ECHO_N "(cached) $ECHO_C" >&6
79076 else
79077   if test x$gcc_no_link = xyes; then
79078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79080    { (exit 1); exit 1; }; }
79081 fi
79082 cat >conftest.$ac_ext <<_ACEOF
79083 /* confdefs.h.  */
79084 _ACEOF
79085 cat confdefs.h >>conftest.$ac_ext
79086 cat >>conftest.$ac_ext <<_ACEOF
79087 /* end confdefs.h.  */
79088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79090 #define $ac_func innocuous_$ac_func
79091
79092 /* System header to define __stub macros and hopefully few prototypes,
79093     which can conflict with char $ac_func (); below.
79094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79095     <limits.h> exists even on freestanding compilers.  */
79096
79097 #ifdef __STDC__
79098 # include <limits.h>
79099 #else
79100 # include <assert.h>
79101 #endif
79102
79103 #undef $ac_func
79104
79105 /* Override any gcc2 internal prototype to avoid an error.  */
79106 #ifdef __cplusplus
79107 extern "C"
79108 {
79109 #endif
79110 /* We use char because int might match the return type of a gcc2
79111    builtin and then its argument prototype would still apply.  */
79112 char $ac_func ();
79113 /* The GNU C library defines this for functions which it implements
79114     to always fail with ENOSYS.  Some functions are actually named
79115     something starting with __ and the normal name is an alias.  */
79116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79117 choke me
79118 #else
79119 char (*f) () = $ac_func;
79120 #endif
79121 #ifdef __cplusplus
79122 }
79123 #endif
79124
79125 int
79126 main ()
79127 {
79128 return f != $ac_func;
79129   ;
79130   return 0;
79131 }
79132 _ACEOF
79133 rm -f conftest.$ac_objext conftest$ac_exeext
79134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79135   (eval $ac_link) 2>conftest.er1
79136   ac_status=$?
79137   grep -v '^ *+' conftest.er1 >conftest.err
79138   rm -f conftest.er1
79139   cat conftest.err >&5
79140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141   (exit $ac_status); } &&
79142          { ac_try='test -z "$ac_c_werror_flag"
79143                          || test ! -s conftest.err'
79144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145   (eval $ac_try) 2>&5
79146   ac_status=$?
79147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148   (exit $ac_status); }; } &&
79149          { ac_try='test -s conftest$ac_exeext'
79150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79151   (eval $ac_try) 2>&5
79152   ac_status=$?
79153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79154   (exit $ac_status); }; }; then
79155   eval "$as_ac_var=yes"
79156 else
79157   echo "$as_me: failed program was:" >&5
79158 sed 's/^/| /' conftest.$ac_ext >&5
79159
79160 eval "$as_ac_var=no"
79161 fi
79162 rm -f conftest.err conftest.$ac_objext \
79163       conftest$ac_exeext conftest.$ac_ext
79164 fi
79165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79167 if test `eval echo '${'$as_ac_var'}'` = yes; then
79168   cat >>confdefs.h <<_ACEOF
79169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79170 _ACEOF
79171
79172 fi
79173 done
79174
79175   else
79176
79177   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79178 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79179   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79180     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79181   echo $ECHO_N "(cached) $ECHO_C" >&6
79182 else
79183
79184
79185
79186       ac_ext=cc
79187 ac_cpp='$CXXCPP $CPPFLAGS'
79188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79191
79192       cat >conftest.$ac_ext <<_ACEOF
79193 /* confdefs.h.  */
79194 _ACEOF
79195 cat confdefs.h >>conftest.$ac_ext
79196 cat >>conftest.$ac_ext <<_ACEOF
79197 /* end confdefs.h.  */
79198 #include <math.h>
79199                       #ifdef HAVE_IEEEFP_H
79200                       #include <ieeefp.h>
79201                       #endif
79202
79203 int
79204 main ()
79205 {
79206  _isnan(0);
79207   ;
79208   return 0;
79209 }
79210 _ACEOF
79211 rm -f conftest.$ac_objext
79212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79213   (eval $ac_compile) 2>conftest.er1
79214   ac_status=$?
79215   grep -v '^ *+' conftest.er1 >conftest.err
79216   rm -f conftest.er1
79217   cat conftest.err >&5
79218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219   (exit $ac_status); } &&
79220          { ac_try='test -z "$ac_cxx_werror_flag"
79221                          || test ! -s conftest.err'
79222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79223   (eval $ac_try) 2>&5
79224   ac_status=$?
79225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79226   (exit $ac_status); }; } &&
79227          { ac_try='test -s conftest.$ac_objext'
79228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79229   (eval $ac_try) 2>&5
79230   ac_status=$?
79231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79232   (exit $ac_status); }; }; then
79233   glibcxx_cv_func__isnan_use=yes
79234 else
79235   echo "$as_me: failed program was:" >&5
79236 sed 's/^/| /' conftest.$ac_ext >&5
79237
79238 glibcxx_cv_func__isnan_use=no
79239 fi
79240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79241       ac_ext=c
79242 ac_cpp='$CPP $CPPFLAGS'
79243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79246
79247
79248 fi
79249
79250   fi
79251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79252 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79253
79254     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79255
79256 for ac_func in _isnan
79257 do
79258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79259 echo "$as_me:$LINENO: checking for $ac_func" >&5
79260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79261 if eval "test \"\${$as_ac_var+set}\" = set"; then
79262   echo $ECHO_N "(cached) $ECHO_C" >&6
79263 else
79264   if test x$gcc_no_link = xyes; then
79265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79267    { (exit 1); exit 1; }; }
79268 fi
79269 cat >conftest.$ac_ext <<_ACEOF
79270 /* confdefs.h.  */
79271 _ACEOF
79272 cat confdefs.h >>conftest.$ac_ext
79273 cat >>conftest.$ac_ext <<_ACEOF
79274 /* end confdefs.h.  */
79275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79277 #define $ac_func innocuous_$ac_func
79278
79279 /* System header to define __stub macros and hopefully few prototypes,
79280     which can conflict with char $ac_func (); below.
79281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79282     <limits.h> exists even on freestanding compilers.  */
79283
79284 #ifdef __STDC__
79285 # include <limits.h>
79286 #else
79287 # include <assert.h>
79288 #endif
79289
79290 #undef $ac_func
79291
79292 /* Override any gcc2 internal prototype to avoid an error.  */
79293 #ifdef __cplusplus
79294 extern "C"
79295 {
79296 #endif
79297 /* We use char because int might match the return type of a gcc2
79298    builtin and then its argument prototype would still apply.  */
79299 char $ac_func ();
79300 /* The GNU C library defines this for functions which it implements
79301     to always fail with ENOSYS.  Some functions are actually named
79302     something starting with __ and the normal name is an alias.  */
79303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79304 choke me
79305 #else
79306 char (*f) () = $ac_func;
79307 #endif
79308 #ifdef __cplusplus
79309 }
79310 #endif
79311
79312 int
79313 main ()
79314 {
79315 return f != $ac_func;
79316   ;
79317   return 0;
79318 }
79319 _ACEOF
79320 rm -f conftest.$ac_objext conftest$ac_exeext
79321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79322   (eval $ac_link) 2>conftest.er1
79323   ac_status=$?
79324   grep -v '^ *+' conftest.er1 >conftest.err
79325   rm -f conftest.er1
79326   cat conftest.err >&5
79327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328   (exit $ac_status); } &&
79329          { ac_try='test -z "$ac_c_werror_flag"
79330                          || test ! -s conftest.err'
79331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79332   (eval $ac_try) 2>&5
79333   ac_status=$?
79334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79335   (exit $ac_status); }; } &&
79336          { ac_try='test -s conftest$ac_exeext'
79337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79338   (eval $ac_try) 2>&5
79339   ac_status=$?
79340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79341   (exit $ac_status); }; }; then
79342   eval "$as_ac_var=yes"
79343 else
79344   echo "$as_me: failed program was:" >&5
79345 sed 's/^/| /' conftest.$ac_ext >&5
79346
79347 eval "$as_ac_var=no"
79348 fi
79349 rm -f conftest.err conftest.$ac_objext \
79350       conftest$ac_exeext conftest.$ac_ext
79351 fi
79352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79354 if test `eval echo '${'$as_ac_var'}'` = yes; then
79355   cat >>confdefs.h <<_ACEOF
79356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79357 _ACEOF
79358
79359 fi
79360 done
79361
79362     fi
79363   fi
79364
79365
79366
79367
79368
79369
79370   echo "$as_me:$LINENO: checking for finite declaration" >&5
79371 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79372   if test x${glibcxx_cv_func_finite_use+set} != xset; then
79373     if test "${glibcxx_cv_func_finite_use+set}" = set; then
79374   echo $ECHO_N "(cached) $ECHO_C" >&6
79375 else
79376
79377
79378
79379       ac_ext=cc
79380 ac_cpp='$CXXCPP $CPPFLAGS'
79381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79384
79385       cat >conftest.$ac_ext <<_ACEOF
79386 /* confdefs.h.  */
79387 _ACEOF
79388 cat confdefs.h >>conftest.$ac_ext
79389 cat >>conftest.$ac_ext <<_ACEOF
79390 /* end confdefs.h.  */
79391 #include <math.h>
79392                       #ifdef HAVE_IEEEFP_H
79393                       #include <ieeefp.h>
79394                       #endif
79395
79396 int
79397 main ()
79398 {
79399  finite(0);
79400   ;
79401   return 0;
79402 }
79403 _ACEOF
79404 rm -f conftest.$ac_objext
79405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79406   (eval $ac_compile) 2>conftest.er1
79407   ac_status=$?
79408   grep -v '^ *+' conftest.er1 >conftest.err
79409   rm -f conftest.er1
79410   cat conftest.err >&5
79411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79412   (exit $ac_status); } &&
79413          { ac_try='test -z "$ac_cxx_werror_flag"
79414                          || test ! -s conftest.err'
79415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79416   (eval $ac_try) 2>&5
79417   ac_status=$?
79418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79419   (exit $ac_status); }; } &&
79420          { ac_try='test -s conftest.$ac_objext'
79421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79422   (eval $ac_try) 2>&5
79423   ac_status=$?
79424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79425   (exit $ac_status); }; }; then
79426   glibcxx_cv_func_finite_use=yes
79427 else
79428   echo "$as_me: failed program was:" >&5
79429 sed 's/^/| /' conftest.$ac_ext >&5
79430
79431 glibcxx_cv_func_finite_use=no
79432 fi
79433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79434       ac_ext=c
79435 ac_cpp='$CPP $CPPFLAGS'
79436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79439
79440
79441 fi
79442
79443   fi
79444   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79445 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79446
79447   if test x$glibcxx_cv_func_finite_use = x"yes"; then
79448
79449 for ac_func in finite
79450 do
79451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79452 echo "$as_me:$LINENO: checking for $ac_func" >&5
79453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79454 if eval "test \"\${$as_ac_var+set}\" = set"; then
79455   echo $ECHO_N "(cached) $ECHO_C" >&6
79456 else
79457   if test x$gcc_no_link = xyes; then
79458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79460    { (exit 1); exit 1; }; }
79461 fi
79462 cat >conftest.$ac_ext <<_ACEOF
79463 /* confdefs.h.  */
79464 _ACEOF
79465 cat confdefs.h >>conftest.$ac_ext
79466 cat >>conftest.$ac_ext <<_ACEOF
79467 /* end confdefs.h.  */
79468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79470 #define $ac_func innocuous_$ac_func
79471
79472 /* System header to define __stub macros and hopefully few prototypes,
79473     which can conflict with char $ac_func (); below.
79474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79475     <limits.h> exists even on freestanding compilers.  */
79476
79477 #ifdef __STDC__
79478 # include <limits.h>
79479 #else
79480 # include <assert.h>
79481 #endif
79482
79483 #undef $ac_func
79484
79485 /* Override any gcc2 internal prototype to avoid an error.  */
79486 #ifdef __cplusplus
79487 extern "C"
79488 {
79489 #endif
79490 /* We use char because int might match the return type of a gcc2
79491    builtin and then its argument prototype would still apply.  */
79492 char $ac_func ();
79493 /* The GNU C library defines this for functions which it implements
79494     to always fail with ENOSYS.  Some functions are actually named
79495     something starting with __ and the normal name is an alias.  */
79496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79497 choke me
79498 #else
79499 char (*f) () = $ac_func;
79500 #endif
79501 #ifdef __cplusplus
79502 }
79503 #endif
79504
79505 int
79506 main ()
79507 {
79508 return f != $ac_func;
79509   ;
79510   return 0;
79511 }
79512 _ACEOF
79513 rm -f conftest.$ac_objext conftest$ac_exeext
79514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79515   (eval $ac_link) 2>conftest.er1
79516   ac_status=$?
79517   grep -v '^ *+' conftest.er1 >conftest.err
79518   rm -f conftest.er1
79519   cat conftest.err >&5
79520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79521   (exit $ac_status); } &&
79522          { ac_try='test -z "$ac_c_werror_flag"
79523                          || test ! -s conftest.err'
79524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79525   (eval $ac_try) 2>&5
79526   ac_status=$?
79527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79528   (exit $ac_status); }; } &&
79529          { ac_try='test -s conftest$ac_exeext'
79530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79531   (eval $ac_try) 2>&5
79532   ac_status=$?
79533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79534   (exit $ac_status); }; }; then
79535   eval "$as_ac_var=yes"
79536 else
79537   echo "$as_me: failed program was:" >&5
79538 sed 's/^/| /' conftest.$ac_ext >&5
79539
79540 eval "$as_ac_var=no"
79541 fi
79542 rm -f conftest.err conftest.$ac_objext \
79543       conftest$ac_exeext conftest.$ac_ext
79544 fi
79545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79547 if test `eval echo '${'$as_ac_var'}'` = yes; then
79548   cat >>confdefs.h <<_ACEOF
79549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79550 _ACEOF
79551
79552 fi
79553 done
79554
79555   else
79556
79557   echo "$as_me:$LINENO: checking for _finite declaration" >&5
79558 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79559   if test x${glibcxx_cv_func__finite_use+set} != xset; then
79560     if test "${glibcxx_cv_func__finite_use+set}" = set; then
79561   echo $ECHO_N "(cached) $ECHO_C" >&6
79562 else
79563
79564
79565
79566       ac_ext=cc
79567 ac_cpp='$CXXCPP $CPPFLAGS'
79568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79571
79572       cat >conftest.$ac_ext <<_ACEOF
79573 /* confdefs.h.  */
79574 _ACEOF
79575 cat confdefs.h >>conftest.$ac_ext
79576 cat >>conftest.$ac_ext <<_ACEOF
79577 /* end confdefs.h.  */
79578 #include <math.h>
79579                       #ifdef HAVE_IEEEFP_H
79580                       #include <ieeefp.h>
79581                       #endif
79582
79583 int
79584 main ()
79585 {
79586  _finite(0);
79587   ;
79588   return 0;
79589 }
79590 _ACEOF
79591 rm -f conftest.$ac_objext
79592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79593   (eval $ac_compile) 2>conftest.er1
79594   ac_status=$?
79595   grep -v '^ *+' conftest.er1 >conftest.err
79596   rm -f conftest.er1
79597   cat conftest.err >&5
79598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79599   (exit $ac_status); } &&
79600          { ac_try='test -z "$ac_cxx_werror_flag"
79601                          || test ! -s conftest.err'
79602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79603   (eval $ac_try) 2>&5
79604   ac_status=$?
79605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79606   (exit $ac_status); }; } &&
79607          { ac_try='test -s conftest.$ac_objext'
79608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79609   (eval $ac_try) 2>&5
79610   ac_status=$?
79611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79612   (exit $ac_status); }; }; then
79613   glibcxx_cv_func__finite_use=yes
79614 else
79615   echo "$as_me: failed program was:" >&5
79616 sed 's/^/| /' conftest.$ac_ext >&5
79617
79618 glibcxx_cv_func__finite_use=no
79619 fi
79620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79621       ac_ext=c
79622 ac_cpp='$CPP $CPPFLAGS'
79623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79626
79627
79628 fi
79629
79630   fi
79631   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79632 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79633
79634     if test x$glibcxx_cv_func__finite_use = x"yes"; then
79635
79636 for ac_func in _finite
79637 do
79638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79639 echo "$as_me:$LINENO: checking for $ac_func" >&5
79640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79641 if eval "test \"\${$as_ac_var+set}\" = set"; then
79642   echo $ECHO_N "(cached) $ECHO_C" >&6
79643 else
79644   if test x$gcc_no_link = xyes; then
79645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79647    { (exit 1); exit 1; }; }
79648 fi
79649 cat >conftest.$ac_ext <<_ACEOF
79650 /* confdefs.h.  */
79651 _ACEOF
79652 cat confdefs.h >>conftest.$ac_ext
79653 cat >>conftest.$ac_ext <<_ACEOF
79654 /* end confdefs.h.  */
79655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79657 #define $ac_func innocuous_$ac_func
79658
79659 /* System header to define __stub macros and hopefully few prototypes,
79660     which can conflict with char $ac_func (); below.
79661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79662     <limits.h> exists even on freestanding compilers.  */
79663
79664 #ifdef __STDC__
79665 # include <limits.h>
79666 #else
79667 # include <assert.h>
79668 #endif
79669
79670 #undef $ac_func
79671
79672 /* Override any gcc2 internal prototype to avoid an error.  */
79673 #ifdef __cplusplus
79674 extern "C"
79675 {
79676 #endif
79677 /* We use char because int might match the return type of a gcc2
79678    builtin and then its argument prototype would still apply.  */
79679 char $ac_func ();
79680 /* The GNU C library defines this for functions which it implements
79681     to always fail with ENOSYS.  Some functions are actually named
79682     something starting with __ and the normal name is an alias.  */
79683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79684 choke me
79685 #else
79686 char (*f) () = $ac_func;
79687 #endif
79688 #ifdef __cplusplus
79689 }
79690 #endif
79691
79692 int
79693 main ()
79694 {
79695 return f != $ac_func;
79696   ;
79697   return 0;
79698 }
79699 _ACEOF
79700 rm -f conftest.$ac_objext conftest$ac_exeext
79701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79702   (eval $ac_link) 2>conftest.er1
79703   ac_status=$?
79704   grep -v '^ *+' conftest.er1 >conftest.err
79705   rm -f conftest.er1
79706   cat conftest.err >&5
79707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79708   (exit $ac_status); } &&
79709          { ac_try='test -z "$ac_c_werror_flag"
79710                          || test ! -s conftest.err'
79711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79712   (eval $ac_try) 2>&5
79713   ac_status=$?
79714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79715   (exit $ac_status); }; } &&
79716          { ac_try='test -s conftest$ac_exeext'
79717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79718   (eval $ac_try) 2>&5
79719   ac_status=$?
79720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79721   (exit $ac_status); }; }; then
79722   eval "$as_ac_var=yes"
79723 else
79724   echo "$as_me: failed program was:" >&5
79725 sed 's/^/| /' conftest.$ac_ext >&5
79726
79727 eval "$as_ac_var=no"
79728 fi
79729 rm -f conftest.err conftest.$ac_objext \
79730       conftest$ac_exeext conftest.$ac_ext
79731 fi
79732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79734 if test `eval echo '${'$as_ac_var'}'` = yes; then
79735   cat >>confdefs.h <<_ACEOF
79736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79737 _ACEOF
79738
79739 fi
79740 done
79741
79742     fi
79743   fi
79744
79745
79746
79747
79748
79749
79750   echo "$as_me:$LINENO: checking for copysign declaration" >&5
79751 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
79752   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
79753     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
79754   echo $ECHO_N "(cached) $ECHO_C" >&6
79755 else
79756
79757
79758
79759       ac_ext=cc
79760 ac_cpp='$CXXCPP $CPPFLAGS'
79761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79764
79765       cat >conftest.$ac_ext <<_ACEOF
79766 /* confdefs.h.  */
79767 _ACEOF
79768 cat confdefs.h >>conftest.$ac_ext
79769 cat >>conftest.$ac_ext <<_ACEOF
79770 /* end confdefs.h.  */
79771 #include <math.h>
79772 int
79773 main ()
79774 {
79775  copysign(0, 0);
79776   ;
79777   return 0;
79778 }
79779 _ACEOF
79780 rm -f conftest.$ac_objext
79781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79782   (eval $ac_compile) 2>conftest.er1
79783   ac_status=$?
79784   grep -v '^ *+' conftest.er1 >conftest.err
79785   rm -f conftest.er1
79786   cat conftest.err >&5
79787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79788   (exit $ac_status); } &&
79789          { ac_try='test -z "$ac_cxx_werror_flag"
79790                          || test ! -s conftest.err'
79791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79792   (eval $ac_try) 2>&5
79793   ac_status=$?
79794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79795   (exit $ac_status); }; } &&
79796          { ac_try='test -s conftest.$ac_objext'
79797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79798   (eval $ac_try) 2>&5
79799   ac_status=$?
79800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79801   (exit $ac_status); }; }; then
79802   glibcxx_cv_func_copysign_use=yes
79803 else
79804   echo "$as_me: failed program was:" >&5
79805 sed 's/^/| /' conftest.$ac_ext >&5
79806
79807 glibcxx_cv_func_copysign_use=no
79808 fi
79809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79810       ac_ext=c
79811 ac_cpp='$CPP $CPPFLAGS'
79812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79815
79816
79817 fi
79818
79819   fi
79820   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
79821 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
79822
79823   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
79824
79825 for ac_func in copysign
79826 do
79827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79828 echo "$as_me:$LINENO: checking for $ac_func" >&5
79829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79830 if eval "test \"\${$as_ac_var+set}\" = set"; then
79831   echo $ECHO_N "(cached) $ECHO_C" >&6
79832 else
79833   if test x$gcc_no_link = xyes; then
79834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79836    { (exit 1); exit 1; }; }
79837 fi
79838 cat >conftest.$ac_ext <<_ACEOF
79839 /* confdefs.h.  */
79840 _ACEOF
79841 cat confdefs.h >>conftest.$ac_ext
79842 cat >>conftest.$ac_ext <<_ACEOF
79843 /* end confdefs.h.  */
79844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79846 #define $ac_func innocuous_$ac_func
79847
79848 /* System header to define __stub macros and hopefully few prototypes,
79849     which can conflict with char $ac_func (); below.
79850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79851     <limits.h> exists even on freestanding compilers.  */
79852
79853 #ifdef __STDC__
79854 # include <limits.h>
79855 #else
79856 # include <assert.h>
79857 #endif
79858
79859 #undef $ac_func
79860
79861 /* Override any gcc2 internal prototype to avoid an error.  */
79862 #ifdef __cplusplus
79863 extern "C"
79864 {
79865 #endif
79866 /* We use char because int might match the return type of a gcc2
79867    builtin and then its argument prototype would still apply.  */
79868 char $ac_func ();
79869 /* The GNU C library defines this for functions which it implements
79870     to always fail with ENOSYS.  Some functions are actually named
79871     something starting with __ and the normal name is an alias.  */
79872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79873 choke me
79874 #else
79875 char (*f) () = $ac_func;
79876 #endif
79877 #ifdef __cplusplus
79878 }
79879 #endif
79880
79881 int
79882 main ()
79883 {
79884 return f != $ac_func;
79885   ;
79886   return 0;
79887 }
79888 _ACEOF
79889 rm -f conftest.$ac_objext conftest$ac_exeext
79890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79891   (eval $ac_link) 2>conftest.er1
79892   ac_status=$?
79893   grep -v '^ *+' conftest.er1 >conftest.err
79894   rm -f conftest.er1
79895   cat conftest.err >&5
79896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79897   (exit $ac_status); } &&
79898          { ac_try='test -z "$ac_c_werror_flag"
79899                          || test ! -s conftest.err'
79900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79901   (eval $ac_try) 2>&5
79902   ac_status=$?
79903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79904   (exit $ac_status); }; } &&
79905          { ac_try='test -s conftest$ac_exeext'
79906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79907   (eval $ac_try) 2>&5
79908   ac_status=$?
79909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79910   (exit $ac_status); }; }; then
79911   eval "$as_ac_var=yes"
79912 else
79913   echo "$as_me: failed program was:" >&5
79914 sed 's/^/| /' conftest.$ac_ext >&5
79915
79916 eval "$as_ac_var=no"
79917 fi
79918 rm -f conftest.err conftest.$ac_objext \
79919       conftest$ac_exeext conftest.$ac_ext
79920 fi
79921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79923 if test `eval echo '${'$as_ac_var'}'` = yes; then
79924   cat >>confdefs.h <<_ACEOF
79925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79926 _ACEOF
79927
79928 fi
79929 done
79930
79931   else
79932
79933   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
79934 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
79935   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
79936     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
79937   echo $ECHO_N "(cached) $ECHO_C" >&6
79938 else
79939
79940
79941
79942       ac_ext=cc
79943 ac_cpp='$CXXCPP $CPPFLAGS'
79944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79947
79948       cat >conftest.$ac_ext <<_ACEOF
79949 /* confdefs.h.  */
79950 _ACEOF
79951 cat confdefs.h >>conftest.$ac_ext
79952 cat >>conftest.$ac_ext <<_ACEOF
79953 /* end confdefs.h.  */
79954 #include <math.h>
79955 int
79956 main ()
79957 {
79958  _copysign(0, 0);
79959   ;
79960   return 0;
79961 }
79962 _ACEOF
79963 rm -f conftest.$ac_objext
79964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79965   (eval $ac_compile) 2>conftest.er1
79966   ac_status=$?
79967   grep -v '^ *+' conftest.er1 >conftest.err
79968   rm -f conftest.er1
79969   cat conftest.err >&5
79970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79971   (exit $ac_status); } &&
79972          { ac_try='test -z "$ac_cxx_werror_flag"
79973                          || test ! -s conftest.err'
79974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79975   (eval $ac_try) 2>&5
79976   ac_status=$?
79977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978   (exit $ac_status); }; } &&
79979          { ac_try='test -s conftest.$ac_objext'
79980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79981   (eval $ac_try) 2>&5
79982   ac_status=$?
79983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79984   (exit $ac_status); }; }; then
79985   glibcxx_cv_func__copysign_use=yes
79986 else
79987   echo "$as_me: failed program was:" >&5
79988 sed 's/^/| /' conftest.$ac_ext >&5
79989
79990 glibcxx_cv_func__copysign_use=no
79991 fi
79992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79993       ac_ext=c
79994 ac_cpp='$CPP $CPPFLAGS'
79995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79998
79999
80000 fi
80001
80002   fi
80003   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80004 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80005
80006     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80007
80008 for ac_func in _copysign
80009 do
80010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80011 echo "$as_me:$LINENO: checking for $ac_func" >&5
80012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80013 if eval "test \"\${$as_ac_var+set}\" = set"; then
80014   echo $ECHO_N "(cached) $ECHO_C" >&6
80015 else
80016   if test x$gcc_no_link = xyes; then
80017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80019    { (exit 1); exit 1; }; }
80020 fi
80021 cat >conftest.$ac_ext <<_ACEOF
80022 /* confdefs.h.  */
80023 _ACEOF
80024 cat confdefs.h >>conftest.$ac_ext
80025 cat >>conftest.$ac_ext <<_ACEOF
80026 /* end confdefs.h.  */
80027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80029 #define $ac_func innocuous_$ac_func
80030
80031 /* System header to define __stub macros and hopefully few prototypes,
80032     which can conflict with char $ac_func (); below.
80033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80034     <limits.h> exists even on freestanding compilers.  */
80035
80036 #ifdef __STDC__
80037 # include <limits.h>
80038 #else
80039 # include <assert.h>
80040 #endif
80041
80042 #undef $ac_func
80043
80044 /* Override any gcc2 internal prototype to avoid an error.  */
80045 #ifdef __cplusplus
80046 extern "C"
80047 {
80048 #endif
80049 /* We use char because int might match the return type of a gcc2
80050    builtin and then its argument prototype would still apply.  */
80051 char $ac_func ();
80052 /* The GNU C library defines this for functions which it implements
80053     to always fail with ENOSYS.  Some functions are actually named
80054     something starting with __ and the normal name is an alias.  */
80055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80056 choke me
80057 #else
80058 char (*f) () = $ac_func;
80059 #endif
80060 #ifdef __cplusplus
80061 }
80062 #endif
80063
80064 int
80065 main ()
80066 {
80067 return f != $ac_func;
80068   ;
80069   return 0;
80070 }
80071 _ACEOF
80072 rm -f conftest.$ac_objext conftest$ac_exeext
80073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80074   (eval $ac_link) 2>conftest.er1
80075   ac_status=$?
80076   grep -v '^ *+' conftest.er1 >conftest.err
80077   rm -f conftest.er1
80078   cat conftest.err >&5
80079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80080   (exit $ac_status); } &&
80081          { ac_try='test -z "$ac_c_werror_flag"
80082                          || test ! -s conftest.err'
80083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80084   (eval $ac_try) 2>&5
80085   ac_status=$?
80086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80087   (exit $ac_status); }; } &&
80088          { ac_try='test -s conftest$ac_exeext'
80089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80090   (eval $ac_try) 2>&5
80091   ac_status=$?
80092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80093   (exit $ac_status); }; }; then
80094   eval "$as_ac_var=yes"
80095 else
80096   echo "$as_me: failed program was:" >&5
80097 sed 's/^/| /' conftest.$ac_ext >&5
80098
80099 eval "$as_ac_var=no"
80100 fi
80101 rm -f conftest.err conftest.$ac_objext \
80102       conftest$ac_exeext conftest.$ac_ext
80103 fi
80104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80106 if test `eval echo '${'$as_ac_var'}'` = yes; then
80107   cat >>confdefs.h <<_ACEOF
80108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80109 _ACEOF
80110
80111 fi
80112 done
80113
80114     fi
80115   fi
80116
80117
80118
80119
80120
80121
80122   echo "$as_me:$LINENO: checking for sincos declaration" >&5
80123 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80124   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80125     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80126   echo $ECHO_N "(cached) $ECHO_C" >&6
80127 else
80128
80129
80130
80131       ac_ext=cc
80132 ac_cpp='$CXXCPP $CPPFLAGS'
80133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80136
80137       cat >conftest.$ac_ext <<_ACEOF
80138 /* confdefs.h.  */
80139 _ACEOF
80140 cat confdefs.h >>conftest.$ac_ext
80141 cat >>conftest.$ac_ext <<_ACEOF
80142 /* end confdefs.h.  */
80143 #include <math.h>
80144 int
80145 main ()
80146 {
80147  sincos(0, 0, 0);
80148   ;
80149   return 0;
80150 }
80151 _ACEOF
80152 rm -f conftest.$ac_objext
80153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80154   (eval $ac_compile) 2>conftest.er1
80155   ac_status=$?
80156   grep -v '^ *+' conftest.er1 >conftest.err
80157   rm -f conftest.er1
80158   cat conftest.err >&5
80159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80160   (exit $ac_status); } &&
80161          { ac_try='test -z "$ac_cxx_werror_flag"
80162                          || test ! -s conftest.err'
80163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80164   (eval $ac_try) 2>&5
80165   ac_status=$?
80166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80167   (exit $ac_status); }; } &&
80168          { ac_try='test -s conftest.$ac_objext'
80169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80170   (eval $ac_try) 2>&5
80171   ac_status=$?
80172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80173   (exit $ac_status); }; }; then
80174   glibcxx_cv_func_sincos_use=yes
80175 else
80176   echo "$as_me: failed program was:" >&5
80177 sed 's/^/| /' conftest.$ac_ext >&5
80178
80179 glibcxx_cv_func_sincos_use=no
80180 fi
80181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80182       ac_ext=c
80183 ac_cpp='$CPP $CPPFLAGS'
80184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80187
80188
80189 fi
80190
80191   fi
80192   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80193 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80194
80195   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80196
80197 for ac_func in sincos
80198 do
80199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80200 echo "$as_me:$LINENO: checking for $ac_func" >&5
80201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80202 if eval "test \"\${$as_ac_var+set}\" = set"; then
80203   echo $ECHO_N "(cached) $ECHO_C" >&6
80204 else
80205   if test x$gcc_no_link = xyes; then
80206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80208    { (exit 1); exit 1; }; }
80209 fi
80210 cat >conftest.$ac_ext <<_ACEOF
80211 /* confdefs.h.  */
80212 _ACEOF
80213 cat confdefs.h >>conftest.$ac_ext
80214 cat >>conftest.$ac_ext <<_ACEOF
80215 /* end confdefs.h.  */
80216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80218 #define $ac_func innocuous_$ac_func
80219
80220 /* System header to define __stub macros and hopefully few prototypes,
80221     which can conflict with char $ac_func (); below.
80222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80223     <limits.h> exists even on freestanding compilers.  */
80224
80225 #ifdef __STDC__
80226 # include <limits.h>
80227 #else
80228 # include <assert.h>
80229 #endif
80230
80231 #undef $ac_func
80232
80233 /* Override any gcc2 internal prototype to avoid an error.  */
80234 #ifdef __cplusplus
80235 extern "C"
80236 {
80237 #endif
80238 /* We use char because int might match the return type of a gcc2
80239    builtin and then its argument prototype would still apply.  */
80240 char $ac_func ();
80241 /* The GNU C library defines this for functions which it implements
80242     to always fail with ENOSYS.  Some functions are actually named
80243     something starting with __ and the normal name is an alias.  */
80244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80245 choke me
80246 #else
80247 char (*f) () = $ac_func;
80248 #endif
80249 #ifdef __cplusplus
80250 }
80251 #endif
80252
80253 int
80254 main ()
80255 {
80256 return f != $ac_func;
80257   ;
80258   return 0;
80259 }
80260 _ACEOF
80261 rm -f conftest.$ac_objext conftest$ac_exeext
80262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80263   (eval $ac_link) 2>conftest.er1
80264   ac_status=$?
80265   grep -v '^ *+' conftest.er1 >conftest.err
80266   rm -f conftest.er1
80267   cat conftest.err >&5
80268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80269   (exit $ac_status); } &&
80270          { ac_try='test -z "$ac_c_werror_flag"
80271                          || test ! -s conftest.err'
80272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80273   (eval $ac_try) 2>&5
80274   ac_status=$?
80275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80276   (exit $ac_status); }; } &&
80277          { ac_try='test -s conftest$ac_exeext'
80278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80279   (eval $ac_try) 2>&5
80280   ac_status=$?
80281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80282   (exit $ac_status); }; }; then
80283   eval "$as_ac_var=yes"
80284 else
80285   echo "$as_me: failed program was:" >&5
80286 sed 's/^/| /' conftest.$ac_ext >&5
80287
80288 eval "$as_ac_var=no"
80289 fi
80290 rm -f conftest.err conftest.$ac_objext \
80291       conftest$ac_exeext conftest.$ac_ext
80292 fi
80293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80295 if test `eval echo '${'$as_ac_var'}'` = yes; then
80296   cat >>confdefs.h <<_ACEOF
80297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80298 _ACEOF
80299
80300 fi
80301 done
80302
80303   else
80304
80305   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80306 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80307   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80308     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80309   echo $ECHO_N "(cached) $ECHO_C" >&6
80310 else
80311
80312
80313
80314       ac_ext=cc
80315 ac_cpp='$CXXCPP $CPPFLAGS'
80316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80319
80320       cat >conftest.$ac_ext <<_ACEOF
80321 /* confdefs.h.  */
80322 _ACEOF
80323 cat confdefs.h >>conftest.$ac_ext
80324 cat >>conftest.$ac_ext <<_ACEOF
80325 /* end confdefs.h.  */
80326 #include <math.h>
80327 int
80328 main ()
80329 {
80330  _sincos(0, 0, 0);
80331   ;
80332   return 0;
80333 }
80334 _ACEOF
80335 rm -f conftest.$ac_objext
80336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80337   (eval $ac_compile) 2>conftest.er1
80338   ac_status=$?
80339   grep -v '^ *+' conftest.er1 >conftest.err
80340   rm -f conftest.er1
80341   cat conftest.err >&5
80342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80343   (exit $ac_status); } &&
80344          { ac_try='test -z "$ac_cxx_werror_flag"
80345                          || test ! -s conftest.err'
80346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80347   (eval $ac_try) 2>&5
80348   ac_status=$?
80349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80350   (exit $ac_status); }; } &&
80351          { ac_try='test -s conftest.$ac_objext'
80352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80353   (eval $ac_try) 2>&5
80354   ac_status=$?
80355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80356   (exit $ac_status); }; }; then
80357   glibcxx_cv_func__sincos_use=yes
80358 else
80359   echo "$as_me: failed program was:" >&5
80360 sed 's/^/| /' conftest.$ac_ext >&5
80361
80362 glibcxx_cv_func__sincos_use=no
80363 fi
80364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80365       ac_ext=c
80366 ac_cpp='$CPP $CPPFLAGS'
80367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80370
80371
80372 fi
80373
80374   fi
80375   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80376 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80377
80378     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80379
80380 for ac_func in _sincos
80381 do
80382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80383 echo "$as_me:$LINENO: checking for $ac_func" >&5
80384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80385 if eval "test \"\${$as_ac_var+set}\" = set"; then
80386   echo $ECHO_N "(cached) $ECHO_C" >&6
80387 else
80388   if test x$gcc_no_link = xyes; then
80389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80391    { (exit 1); exit 1; }; }
80392 fi
80393 cat >conftest.$ac_ext <<_ACEOF
80394 /* confdefs.h.  */
80395 _ACEOF
80396 cat confdefs.h >>conftest.$ac_ext
80397 cat >>conftest.$ac_ext <<_ACEOF
80398 /* end confdefs.h.  */
80399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80401 #define $ac_func innocuous_$ac_func
80402
80403 /* System header to define __stub macros and hopefully few prototypes,
80404     which can conflict with char $ac_func (); below.
80405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80406     <limits.h> exists even on freestanding compilers.  */
80407
80408 #ifdef __STDC__
80409 # include <limits.h>
80410 #else
80411 # include <assert.h>
80412 #endif
80413
80414 #undef $ac_func
80415
80416 /* Override any gcc2 internal prototype to avoid an error.  */
80417 #ifdef __cplusplus
80418 extern "C"
80419 {
80420 #endif
80421 /* We use char because int might match the return type of a gcc2
80422    builtin and then its argument prototype would still apply.  */
80423 char $ac_func ();
80424 /* The GNU C library defines this for functions which it implements
80425     to always fail with ENOSYS.  Some functions are actually named
80426     something starting with __ and the normal name is an alias.  */
80427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80428 choke me
80429 #else
80430 char (*f) () = $ac_func;
80431 #endif
80432 #ifdef __cplusplus
80433 }
80434 #endif
80435
80436 int
80437 main ()
80438 {
80439 return f != $ac_func;
80440   ;
80441   return 0;
80442 }
80443 _ACEOF
80444 rm -f conftest.$ac_objext conftest$ac_exeext
80445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80446   (eval $ac_link) 2>conftest.er1
80447   ac_status=$?
80448   grep -v '^ *+' conftest.er1 >conftest.err
80449   rm -f conftest.er1
80450   cat conftest.err >&5
80451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80452   (exit $ac_status); } &&
80453          { ac_try='test -z "$ac_c_werror_flag"
80454                          || test ! -s conftest.err'
80455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80456   (eval $ac_try) 2>&5
80457   ac_status=$?
80458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80459   (exit $ac_status); }; } &&
80460          { ac_try='test -s conftest$ac_exeext'
80461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80462   (eval $ac_try) 2>&5
80463   ac_status=$?
80464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465   (exit $ac_status); }; }; then
80466   eval "$as_ac_var=yes"
80467 else
80468   echo "$as_me: failed program was:" >&5
80469 sed 's/^/| /' conftest.$ac_ext >&5
80470
80471 eval "$as_ac_var=no"
80472 fi
80473 rm -f conftest.err conftest.$ac_objext \
80474       conftest$ac_exeext conftest.$ac_ext
80475 fi
80476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80478 if test `eval echo '${'$as_ac_var'}'` = yes; then
80479   cat >>confdefs.h <<_ACEOF
80480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80481 _ACEOF
80482
80483 fi
80484 done
80485
80486     fi
80487   fi
80488
80489
80490
80491
80492
80493
80494   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80495 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80496   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80497     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80498   echo $ECHO_N "(cached) $ECHO_C" >&6
80499 else
80500
80501
80502
80503       ac_ext=cc
80504 ac_cpp='$CXXCPP $CPPFLAGS'
80505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80508
80509       cat >conftest.$ac_ext <<_ACEOF
80510 /* confdefs.h.  */
80511 _ACEOF
80512 cat confdefs.h >>conftest.$ac_ext
80513 cat >>conftest.$ac_ext <<_ACEOF
80514 /* end confdefs.h.  */
80515 #include <math.h>
80516                       #ifdef HAVE_IEEEFP_H
80517                       #include <ieeefp.h>
80518                       #endif
80519
80520 int
80521 main ()
80522 {
80523  fpclass(0);
80524   ;
80525   return 0;
80526 }
80527 _ACEOF
80528 rm -f conftest.$ac_objext
80529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80530   (eval $ac_compile) 2>conftest.er1
80531   ac_status=$?
80532   grep -v '^ *+' conftest.er1 >conftest.err
80533   rm -f conftest.er1
80534   cat conftest.err >&5
80535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80536   (exit $ac_status); } &&
80537          { ac_try='test -z "$ac_cxx_werror_flag"
80538                          || test ! -s conftest.err'
80539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80540   (eval $ac_try) 2>&5
80541   ac_status=$?
80542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80543   (exit $ac_status); }; } &&
80544          { ac_try='test -s conftest.$ac_objext'
80545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80546   (eval $ac_try) 2>&5
80547   ac_status=$?
80548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80549   (exit $ac_status); }; }; then
80550   glibcxx_cv_func_fpclass_use=yes
80551 else
80552   echo "$as_me: failed program was:" >&5
80553 sed 's/^/| /' conftest.$ac_ext >&5
80554
80555 glibcxx_cv_func_fpclass_use=no
80556 fi
80557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80558       ac_ext=c
80559 ac_cpp='$CPP $CPPFLAGS'
80560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80563
80564
80565 fi
80566
80567   fi
80568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80569 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80570
80571   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80572
80573 for ac_func in fpclass
80574 do
80575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80576 echo "$as_me:$LINENO: checking for $ac_func" >&5
80577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80578 if eval "test \"\${$as_ac_var+set}\" = set"; then
80579   echo $ECHO_N "(cached) $ECHO_C" >&6
80580 else
80581   if test x$gcc_no_link = xyes; then
80582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80584    { (exit 1); exit 1; }; }
80585 fi
80586 cat >conftest.$ac_ext <<_ACEOF
80587 /* confdefs.h.  */
80588 _ACEOF
80589 cat confdefs.h >>conftest.$ac_ext
80590 cat >>conftest.$ac_ext <<_ACEOF
80591 /* end confdefs.h.  */
80592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80594 #define $ac_func innocuous_$ac_func
80595
80596 /* System header to define __stub macros and hopefully few prototypes,
80597     which can conflict with char $ac_func (); below.
80598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80599     <limits.h> exists even on freestanding compilers.  */
80600
80601 #ifdef __STDC__
80602 # include <limits.h>
80603 #else
80604 # include <assert.h>
80605 #endif
80606
80607 #undef $ac_func
80608
80609 /* Override any gcc2 internal prototype to avoid an error.  */
80610 #ifdef __cplusplus
80611 extern "C"
80612 {
80613 #endif
80614 /* We use char because int might match the return type of a gcc2
80615    builtin and then its argument prototype would still apply.  */
80616 char $ac_func ();
80617 /* The GNU C library defines this for functions which it implements
80618     to always fail with ENOSYS.  Some functions are actually named
80619     something starting with __ and the normal name is an alias.  */
80620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80621 choke me
80622 #else
80623 char (*f) () = $ac_func;
80624 #endif
80625 #ifdef __cplusplus
80626 }
80627 #endif
80628
80629 int
80630 main ()
80631 {
80632 return f != $ac_func;
80633   ;
80634   return 0;
80635 }
80636 _ACEOF
80637 rm -f conftest.$ac_objext conftest$ac_exeext
80638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80639   (eval $ac_link) 2>conftest.er1
80640   ac_status=$?
80641   grep -v '^ *+' conftest.er1 >conftest.err
80642   rm -f conftest.er1
80643   cat conftest.err >&5
80644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80645   (exit $ac_status); } &&
80646          { ac_try='test -z "$ac_c_werror_flag"
80647                          || test ! -s conftest.err'
80648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80649   (eval $ac_try) 2>&5
80650   ac_status=$?
80651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80652   (exit $ac_status); }; } &&
80653          { ac_try='test -s conftest$ac_exeext'
80654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80655   (eval $ac_try) 2>&5
80656   ac_status=$?
80657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80658   (exit $ac_status); }; }; then
80659   eval "$as_ac_var=yes"
80660 else
80661   echo "$as_me: failed program was:" >&5
80662 sed 's/^/| /' conftest.$ac_ext >&5
80663
80664 eval "$as_ac_var=no"
80665 fi
80666 rm -f conftest.err conftest.$ac_objext \
80667       conftest$ac_exeext conftest.$ac_ext
80668 fi
80669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80671 if test `eval echo '${'$as_ac_var'}'` = yes; then
80672   cat >>confdefs.h <<_ACEOF
80673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80674 _ACEOF
80675
80676 fi
80677 done
80678
80679   else
80680
80681   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80682 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80683   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80684     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80685   echo $ECHO_N "(cached) $ECHO_C" >&6
80686 else
80687
80688
80689
80690       ac_ext=cc
80691 ac_cpp='$CXXCPP $CPPFLAGS'
80692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80695
80696       cat >conftest.$ac_ext <<_ACEOF
80697 /* confdefs.h.  */
80698 _ACEOF
80699 cat confdefs.h >>conftest.$ac_ext
80700 cat >>conftest.$ac_ext <<_ACEOF
80701 /* end confdefs.h.  */
80702 #include <math.h>
80703                       #ifdef HAVE_IEEEFP_H
80704                       #include <ieeefp.h>
80705                       #endif
80706
80707 int
80708 main ()
80709 {
80710  _fpclass(0);
80711   ;
80712   return 0;
80713 }
80714 _ACEOF
80715 rm -f conftest.$ac_objext
80716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80717   (eval $ac_compile) 2>conftest.er1
80718   ac_status=$?
80719   grep -v '^ *+' conftest.er1 >conftest.err
80720   rm -f conftest.er1
80721   cat conftest.err >&5
80722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80723   (exit $ac_status); } &&
80724          { ac_try='test -z "$ac_cxx_werror_flag"
80725                          || test ! -s conftest.err'
80726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80727   (eval $ac_try) 2>&5
80728   ac_status=$?
80729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80730   (exit $ac_status); }; } &&
80731          { ac_try='test -s conftest.$ac_objext'
80732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80733   (eval $ac_try) 2>&5
80734   ac_status=$?
80735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80736   (exit $ac_status); }; }; then
80737   glibcxx_cv_func__fpclass_use=yes
80738 else
80739   echo "$as_me: failed program was:" >&5
80740 sed 's/^/| /' conftest.$ac_ext >&5
80741
80742 glibcxx_cv_func__fpclass_use=no
80743 fi
80744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80745       ac_ext=c
80746 ac_cpp='$CPP $CPPFLAGS'
80747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80750
80751
80752 fi
80753
80754   fi
80755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
80756 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
80757
80758     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
80759
80760 for ac_func in _fpclass
80761 do
80762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80763 echo "$as_me:$LINENO: checking for $ac_func" >&5
80764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80765 if eval "test \"\${$as_ac_var+set}\" = set"; then
80766   echo $ECHO_N "(cached) $ECHO_C" >&6
80767 else
80768   if test x$gcc_no_link = xyes; then
80769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80771    { (exit 1); exit 1; }; }
80772 fi
80773 cat >conftest.$ac_ext <<_ACEOF
80774 /* confdefs.h.  */
80775 _ACEOF
80776 cat confdefs.h >>conftest.$ac_ext
80777 cat >>conftest.$ac_ext <<_ACEOF
80778 /* end confdefs.h.  */
80779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80781 #define $ac_func innocuous_$ac_func
80782
80783 /* System header to define __stub macros and hopefully few prototypes,
80784     which can conflict with char $ac_func (); below.
80785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80786     <limits.h> exists even on freestanding compilers.  */
80787
80788 #ifdef __STDC__
80789 # include <limits.h>
80790 #else
80791 # include <assert.h>
80792 #endif
80793
80794 #undef $ac_func
80795
80796 /* Override any gcc2 internal prototype to avoid an error.  */
80797 #ifdef __cplusplus
80798 extern "C"
80799 {
80800 #endif
80801 /* We use char because int might match the return type of a gcc2
80802    builtin and then its argument prototype would still apply.  */
80803 char $ac_func ();
80804 /* The GNU C library defines this for functions which it implements
80805     to always fail with ENOSYS.  Some functions are actually named
80806     something starting with __ and the normal name is an alias.  */
80807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80808 choke me
80809 #else
80810 char (*f) () = $ac_func;
80811 #endif
80812 #ifdef __cplusplus
80813 }
80814 #endif
80815
80816 int
80817 main ()
80818 {
80819 return f != $ac_func;
80820   ;
80821   return 0;
80822 }
80823 _ACEOF
80824 rm -f conftest.$ac_objext conftest$ac_exeext
80825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80826   (eval $ac_link) 2>conftest.er1
80827   ac_status=$?
80828   grep -v '^ *+' conftest.er1 >conftest.err
80829   rm -f conftest.er1
80830   cat conftest.err >&5
80831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80832   (exit $ac_status); } &&
80833          { ac_try='test -z "$ac_c_werror_flag"
80834                          || test ! -s conftest.err'
80835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80836   (eval $ac_try) 2>&5
80837   ac_status=$?
80838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80839   (exit $ac_status); }; } &&
80840          { ac_try='test -s conftest$ac_exeext'
80841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80842   (eval $ac_try) 2>&5
80843   ac_status=$?
80844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80845   (exit $ac_status); }; }; then
80846   eval "$as_ac_var=yes"
80847 else
80848   echo "$as_me: failed program was:" >&5
80849 sed 's/^/| /' conftest.$ac_ext >&5
80850
80851 eval "$as_ac_var=no"
80852 fi
80853 rm -f conftest.err conftest.$ac_objext \
80854       conftest$ac_exeext conftest.$ac_ext
80855 fi
80856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80858 if test `eval echo '${'$as_ac_var'}'` = yes; then
80859   cat >>confdefs.h <<_ACEOF
80860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80861 _ACEOF
80862
80863 fi
80864 done
80865
80866     fi
80867   fi
80868
80869
80870
80871
80872
80873
80874   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
80875 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
80876   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
80877     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
80878   echo $ECHO_N "(cached) $ECHO_C" >&6
80879 else
80880
80881
80882
80883       ac_ext=cc
80884 ac_cpp='$CXXCPP $CPPFLAGS'
80885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80888
80889       cat >conftest.$ac_ext <<_ACEOF
80890 /* confdefs.h.  */
80891 _ACEOF
80892 cat confdefs.h >>conftest.$ac_ext
80893 cat >>conftest.$ac_ext <<_ACEOF
80894 /* end confdefs.h.  */
80895 #include <math.h>
80896                       #ifdef HAVE_IEEEFP_H
80897                       #include <ieeefp.h>
80898                       #endif
80899
80900 int
80901 main ()
80902 {
80903  qfpclass(0);
80904   ;
80905   return 0;
80906 }
80907 _ACEOF
80908 rm -f conftest.$ac_objext
80909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80910   (eval $ac_compile) 2>conftest.er1
80911   ac_status=$?
80912   grep -v '^ *+' conftest.er1 >conftest.err
80913   rm -f conftest.er1
80914   cat conftest.err >&5
80915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80916   (exit $ac_status); } &&
80917          { ac_try='test -z "$ac_cxx_werror_flag"
80918                          || test ! -s conftest.err'
80919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80920   (eval $ac_try) 2>&5
80921   ac_status=$?
80922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80923   (exit $ac_status); }; } &&
80924          { ac_try='test -s conftest.$ac_objext'
80925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80926   (eval $ac_try) 2>&5
80927   ac_status=$?
80928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80929   (exit $ac_status); }; }; then
80930   glibcxx_cv_func_qfpclass_use=yes
80931 else
80932   echo "$as_me: failed program was:" >&5
80933 sed 's/^/| /' conftest.$ac_ext >&5
80934
80935 glibcxx_cv_func_qfpclass_use=no
80936 fi
80937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80938       ac_ext=c
80939 ac_cpp='$CPP $CPPFLAGS'
80940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80943
80944
80945 fi
80946
80947   fi
80948   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
80949 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
80950
80951   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
80952
80953 for ac_func in qfpclass
80954 do
80955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80956 echo "$as_me:$LINENO: checking for $ac_func" >&5
80957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80958 if eval "test \"\${$as_ac_var+set}\" = set"; then
80959   echo $ECHO_N "(cached) $ECHO_C" >&6
80960 else
80961   if test x$gcc_no_link = xyes; then
80962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80964    { (exit 1); exit 1; }; }
80965 fi
80966 cat >conftest.$ac_ext <<_ACEOF
80967 /* confdefs.h.  */
80968 _ACEOF
80969 cat confdefs.h >>conftest.$ac_ext
80970 cat >>conftest.$ac_ext <<_ACEOF
80971 /* end confdefs.h.  */
80972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80974 #define $ac_func innocuous_$ac_func
80975
80976 /* System header to define __stub macros and hopefully few prototypes,
80977     which can conflict with char $ac_func (); below.
80978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80979     <limits.h> exists even on freestanding compilers.  */
80980
80981 #ifdef __STDC__
80982 # include <limits.h>
80983 #else
80984 # include <assert.h>
80985 #endif
80986
80987 #undef $ac_func
80988
80989 /* Override any gcc2 internal prototype to avoid an error.  */
80990 #ifdef __cplusplus
80991 extern "C"
80992 {
80993 #endif
80994 /* We use char because int might match the return type of a gcc2
80995    builtin and then its argument prototype would still apply.  */
80996 char $ac_func ();
80997 /* The GNU C library defines this for functions which it implements
80998     to always fail with ENOSYS.  Some functions are actually named
80999     something starting with __ and the normal name is an alias.  */
81000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81001 choke me
81002 #else
81003 char (*f) () = $ac_func;
81004 #endif
81005 #ifdef __cplusplus
81006 }
81007 #endif
81008
81009 int
81010 main ()
81011 {
81012 return f != $ac_func;
81013   ;
81014   return 0;
81015 }
81016 _ACEOF
81017 rm -f conftest.$ac_objext conftest$ac_exeext
81018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81019   (eval $ac_link) 2>conftest.er1
81020   ac_status=$?
81021   grep -v '^ *+' conftest.er1 >conftest.err
81022   rm -f conftest.er1
81023   cat conftest.err >&5
81024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81025   (exit $ac_status); } &&
81026          { ac_try='test -z "$ac_c_werror_flag"
81027                          || test ! -s conftest.err'
81028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81029   (eval $ac_try) 2>&5
81030   ac_status=$?
81031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81032   (exit $ac_status); }; } &&
81033          { ac_try='test -s conftest$ac_exeext'
81034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81035   (eval $ac_try) 2>&5
81036   ac_status=$?
81037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81038   (exit $ac_status); }; }; then
81039   eval "$as_ac_var=yes"
81040 else
81041   echo "$as_me: failed program was:" >&5
81042 sed 's/^/| /' conftest.$ac_ext >&5
81043
81044 eval "$as_ac_var=no"
81045 fi
81046 rm -f conftest.err conftest.$ac_objext \
81047       conftest$ac_exeext conftest.$ac_ext
81048 fi
81049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81051 if test `eval echo '${'$as_ac_var'}'` = yes; then
81052   cat >>confdefs.h <<_ACEOF
81053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81054 _ACEOF
81055
81056 fi
81057 done
81058
81059   else
81060
81061   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81062 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81063   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81064     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81065   echo $ECHO_N "(cached) $ECHO_C" >&6
81066 else
81067
81068
81069
81070       ac_ext=cc
81071 ac_cpp='$CXXCPP $CPPFLAGS'
81072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81075
81076       cat >conftest.$ac_ext <<_ACEOF
81077 /* confdefs.h.  */
81078 _ACEOF
81079 cat confdefs.h >>conftest.$ac_ext
81080 cat >>conftest.$ac_ext <<_ACEOF
81081 /* end confdefs.h.  */
81082 #include <math.h>
81083                       #ifdef HAVE_IEEEFP_H
81084                       #include <ieeefp.h>
81085                       #endif
81086
81087 int
81088 main ()
81089 {
81090  _qfpclass(0);
81091   ;
81092   return 0;
81093 }
81094 _ACEOF
81095 rm -f conftest.$ac_objext
81096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81097   (eval $ac_compile) 2>conftest.er1
81098   ac_status=$?
81099   grep -v '^ *+' conftest.er1 >conftest.err
81100   rm -f conftest.er1
81101   cat conftest.err >&5
81102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81103   (exit $ac_status); } &&
81104          { ac_try='test -z "$ac_cxx_werror_flag"
81105                          || test ! -s conftest.err'
81106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81107   (eval $ac_try) 2>&5
81108   ac_status=$?
81109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81110   (exit $ac_status); }; } &&
81111          { ac_try='test -s conftest.$ac_objext'
81112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81113   (eval $ac_try) 2>&5
81114   ac_status=$?
81115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81116   (exit $ac_status); }; }; then
81117   glibcxx_cv_func__qfpclass_use=yes
81118 else
81119   echo "$as_me: failed program was:" >&5
81120 sed 's/^/| /' conftest.$ac_ext >&5
81121
81122 glibcxx_cv_func__qfpclass_use=no
81123 fi
81124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81125       ac_ext=c
81126 ac_cpp='$CPP $CPPFLAGS'
81127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81130
81131
81132 fi
81133
81134   fi
81135   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81136 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81137
81138     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81139
81140 for ac_func in _qfpclass
81141 do
81142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81143 echo "$as_me:$LINENO: checking for $ac_func" >&5
81144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81145 if eval "test \"\${$as_ac_var+set}\" = set"; then
81146   echo $ECHO_N "(cached) $ECHO_C" >&6
81147 else
81148   if test x$gcc_no_link = xyes; then
81149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81151    { (exit 1); exit 1; }; }
81152 fi
81153 cat >conftest.$ac_ext <<_ACEOF
81154 /* confdefs.h.  */
81155 _ACEOF
81156 cat confdefs.h >>conftest.$ac_ext
81157 cat >>conftest.$ac_ext <<_ACEOF
81158 /* end confdefs.h.  */
81159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81161 #define $ac_func innocuous_$ac_func
81162
81163 /* System header to define __stub macros and hopefully few prototypes,
81164     which can conflict with char $ac_func (); below.
81165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81166     <limits.h> exists even on freestanding compilers.  */
81167
81168 #ifdef __STDC__
81169 # include <limits.h>
81170 #else
81171 # include <assert.h>
81172 #endif
81173
81174 #undef $ac_func
81175
81176 /* Override any gcc2 internal prototype to avoid an error.  */
81177 #ifdef __cplusplus
81178 extern "C"
81179 {
81180 #endif
81181 /* We use char because int might match the return type of a gcc2
81182    builtin and then its argument prototype would still apply.  */
81183 char $ac_func ();
81184 /* The GNU C library defines this for functions which it implements
81185     to always fail with ENOSYS.  Some functions are actually named
81186     something starting with __ and the normal name is an alias.  */
81187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81188 choke me
81189 #else
81190 char (*f) () = $ac_func;
81191 #endif
81192 #ifdef __cplusplus
81193 }
81194 #endif
81195
81196 int
81197 main ()
81198 {
81199 return f != $ac_func;
81200   ;
81201   return 0;
81202 }
81203 _ACEOF
81204 rm -f conftest.$ac_objext conftest$ac_exeext
81205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81206   (eval $ac_link) 2>conftest.er1
81207   ac_status=$?
81208   grep -v '^ *+' conftest.er1 >conftest.err
81209   rm -f conftest.er1
81210   cat conftest.err >&5
81211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81212   (exit $ac_status); } &&
81213          { ac_try='test -z "$ac_c_werror_flag"
81214                          || test ! -s conftest.err'
81215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81216   (eval $ac_try) 2>&5
81217   ac_status=$?
81218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81219   (exit $ac_status); }; } &&
81220          { ac_try='test -s conftest$ac_exeext'
81221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81222   (eval $ac_try) 2>&5
81223   ac_status=$?
81224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81225   (exit $ac_status); }; }; then
81226   eval "$as_ac_var=yes"
81227 else
81228   echo "$as_me: failed program was:" >&5
81229 sed 's/^/| /' conftest.$ac_ext >&5
81230
81231 eval "$as_ac_var=no"
81232 fi
81233 rm -f conftest.err conftest.$ac_objext \
81234       conftest$ac_exeext conftest.$ac_ext
81235 fi
81236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81238 if test `eval echo '${'$as_ac_var'}'` = yes; then
81239   cat >>confdefs.h <<_ACEOF
81240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81241 _ACEOF
81242
81243 fi
81244 done
81245
81246     fi
81247   fi
81248
81249
81250
81251
81252
81253
81254   echo "$as_me:$LINENO: checking for hypot declaration" >&5
81255 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81256   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81257     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81258   echo $ECHO_N "(cached) $ECHO_C" >&6
81259 else
81260
81261
81262
81263       ac_ext=cc
81264 ac_cpp='$CXXCPP $CPPFLAGS'
81265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81268
81269       cat >conftest.$ac_ext <<_ACEOF
81270 /* confdefs.h.  */
81271 _ACEOF
81272 cat confdefs.h >>conftest.$ac_ext
81273 cat >>conftest.$ac_ext <<_ACEOF
81274 /* end confdefs.h.  */
81275 #include <math.h>
81276 int
81277 main ()
81278 {
81279  hypot(0, 0);
81280   ;
81281   return 0;
81282 }
81283 _ACEOF
81284 rm -f conftest.$ac_objext
81285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81286   (eval $ac_compile) 2>conftest.er1
81287   ac_status=$?
81288   grep -v '^ *+' conftest.er1 >conftest.err
81289   rm -f conftest.er1
81290   cat conftest.err >&5
81291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81292   (exit $ac_status); } &&
81293          { ac_try='test -z "$ac_cxx_werror_flag"
81294                          || test ! -s conftest.err'
81295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81296   (eval $ac_try) 2>&5
81297   ac_status=$?
81298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81299   (exit $ac_status); }; } &&
81300          { ac_try='test -s conftest.$ac_objext'
81301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81302   (eval $ac_try) 2>&5
81303   ac_status=$?
81304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81305   (exit $ac_status); }; }; then
81306   glibcxx_cv_func_hypot_use=yes
81307 else
81308   echo "$as_me: failed program was:" >&5
81309 sed 's/^/| /' conftest.$ac_ext >&5
81310
81311 glibcxx_cv_func_hypot_use=no
81312 fi
81313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81314       ac_ext=c
81315 ac_cpp='$CPP $CPPFLAGS'
81316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81319
81320
81321 fi
81322
81323   fi
81324   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81325 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81326
81327   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81328
81329 for ac_func in hypot
81330 do
81331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81332 echo "$as_me:$LINENO: checking for $ac_func" >&5
81333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81334 if eval "test \"\${$as_ac_var+set}\" = set"; then
81335   echo $ECHO_N "(cached) $ECHO_C" >&6
81336 else
81337   if test x$gcc_no_link = xyes; then
81338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81340    { (exit 1); exit 1; }; }
81341 fi
81342 cat >conftest.$ac_ext <<_ACEOF
81343 /* confdefs.h.  */
81344 _ACEOF
81345 cat confdefs.h >>conftest.$ac_ext
81346 cat >>conftest.$ac_ext <<_ACEOF
81347 /* end confdefs.h.  */
81348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81350 #define $ac_func innocuous_$ac_func
81351
81352 /* System header to define __stub macros and hopefully few prototypes,
81353     which can conflict with char $ac_func (); below.
81354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81355     <limits.h> exists even on freestanding compilers.  */
81356
81357 #ifdef __STDC__
81358 # include <limits.h>
81359 #else
81360 # include <assert.h>
81361 #endif
81362
81363 #undef $ac_func
81364
81365 /* Override any gcc2 internal prototype to avoid an error.  */
81366 #ifdef __cplusplus
81367 extern "C"
81368 {
81369 #endif
81370 /* We use char because int might match the return type of a gcc2
81371    builtin and then its argument prototype would still apply.  */
81372 char $ac_func ();
81373 /* The GNU C library defines this for functions which it implements
81374     to always fail with ENOSYS.  Some functions are actually named
81375     something starting with __ and the normal name is an alias.  */
81376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81377 choke me
81378 #else
81379 char (*f) () = $ac_func;
81380 #endif
81381 #ifdef __cplusplus
81382 }
81383 #endif
81384
81385 int
81386 main ()
81387 {
81388 return f != $ac_func;
81389   ;
81390   return 0;
81391 }
81392 _ACEOF
81393 rm -f conftest.$ac_objext conftest$ac_exeext
81394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81395   (eval $ac_link) 2>conftest.er1
81396   ac_status=$?
81397   grep -v '^ *+' conftest.er1 >conftest.err
81398   rm -f conftest.er1
81399   cat conftest.err >&5
81400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81401   (exit $ac_status); } &&
81402          { ac_try='test -z "$ac_c_werror_flag"
81403                          || test ! -s conftest.err'
81404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81405   (eval $ac_try) 2>&5
81406   ac_status=$?
81407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81408   (exit $ac_status); }; } &&
81409          { ac_try='test -s conftest$ac_exeext'
81410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81411   (eval $ac_try) 2>&5
81412   ac_status=$?
81413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81414   (exit $ac_status); }; }; then
81415   eval "$as_ac_var=yes"
81416 else
81417   echo "$as_me: failed program was:" >&5
81418 sed 's/^/| /' conftest.$ac_ext >&5
81419
81420 eval "$as_ac_var=no"
81421 fi
81422 rm -f conftest.err conftest.$ac_objext \
81423       conftest$ac_exeext conftest.$ac_ext
81424 fi
81425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81427 if test `eval echo '${'$as_ac_var'}'` = yes; then
81428   cat >>confdefs.h <<_ACEOF
81429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81430 _ACEOF
81431
81432 fi
81433 done
81434
81435   else
81436
81437   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81438 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81439   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81440     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81441   echo $ECHO_N "(cached) $ECHO_C" >&6
81442 else
81443
81444
81445
81446       ac_ext=cc
81447 ac_cpp='$CXXCPP $CPPFLAGS'
81448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81451
81452       cat >conftest.$ac_ext <<_ACEOF
81453 /* confdefs.h.  */
81454 _ACEOF
81455 cat confdefs.h >>conftest.$ac_ext
81456 cat >>conftest.$ac_ext <<_ACEOF
81457 /* end confdefs.h.  */
81458 #include <math.h>
81459 int
81460 main ()
81461 {
81462  _hypot(0, 0);
81463   ;
81464   return 0;
81465 }
81466 _ACEOF
81467 rm -f conftest.$ac_objext
81468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81469   (eval $ac_compile) 2>conftest.er1
81470   ac_status=$?
81471   grep -v '^ *+' conftest.er1 >conftest.err
81472   rm -f conftest.er1
81473   cat conftest.err >&5
81474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81475   (exit $ac_status); } &&
81476          { ac_try='test -z "$ac_cxx_werror_flag"
81477                          || test ! -s conftest.err'
81478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81479   (eval $ac_try) 2>&5
81480   ac_status=$?
81481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482   (exit $ac_status); }; } &&
81483          { ac_try='test -s conftest.$ac_objext'
81484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81485   (eval $ac_try) 2>&5
81486   ac_status=$?
81487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81488   (exit $ac_status); }; }; then
81489   glibcxx_cv_func__hypot_use=yes
81490 else
81491   echo "$as_me: failed program was:" >&5
81492 sed 's/^/| /' conftest.$ac_ext >&5
81493
81494 glibcxx_cv_func__hypot_use=no
81495 fi
81496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81497       ac_ext=c
81498 ac_cpp='$CPP $CPPFLAGS'
81499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81502
81503
81504 fi
81505
81506   fi
81507   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81508 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81509
81510     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81511
81512 for ac_func in _hypot
81513 do
81514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81515 echo "$as_me:$LINENO: checking for $ac_func" >&5
81516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81517 if eval "test \"\${$as_ac_var+set}\" = set"; then
81518   echo $ECHO_N "(cached) $ECHO_C" >&6
81519 else
81520   if test x$gcc_no_link = xyes; then
81521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81523    { (exit 1); exit 1; }; }
81524 fi
81525 cat >conftest.$ac_ext <<_ACEOF
81526 /* confdefs.h.  */
81527 _ACEOF
81528 cat confdefs.h >>conftest.$ac_ext
81529 cat >>conftest.$ac_ext <<_ACEOF
81530 /* end confdefs.h.  */
81531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81533 #define $ac_func innocuous_$ac_func
81534
81535 /* System header to define __stub macros and hopefully few prototypes,
81536     which can conflict with char $ac_func (); below.
81537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81538     <limits.h> exists even on freestanding compilers.  */
81539
81540 #ifdef __STDC__
81541 # include <limits.h>
81542 #else
81543 # include <assert.h>
81544 #endif
81545
81546 #undef $ac_func
81547
81548 /* Override any gcc2 internal prototype to avoid an error.  */
81549 #ifdef __cplusplus
81550 extern "C"
81551 {
81552 #endif
81553 /* We use char because int might match the return type of a gcc2
81554    builtin and then its argument prototype would still apply.  */
81555 char $ac_func ();
81556 /* The GNU C library defines this for functions which it implements
81557     to always fail with ENOSYS.  Some functions are actually named
81558     something starting with __ and the normal name is an alias.  */
81559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81560 choke me
81561 #else
81562 char (*f) () = $ac_func;
81563 #endif
81564 #ifdef __cplusplus
81565 }
81566 #endif
81567
81568 int
81569 main ()
81570 {
81571 return f != $ac_func;
81572   ;
81573   return 0;
81574 }
81575 _ACEOF
81576 rm -f conftest.$ac_objext conftest$ac_exeext
81577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81578   (eval $ac_link) 2>conftest.er1
81579   ac_status=$?
81580   grep -v '^ *+' conftest.er1 >conftest.err
81581   rm -f conftest.er1
81582   cat conftest.err >&5
81583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81584   (exit $ac_status); } &&
81585          { ac_try='test -z "$ac_c_werror_flag"
81586                          || test ! -s conftest.err'
81587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81588   (eval $ac_try) 2>&5
81589   ac_status=$?
81590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81591   (exit $ac_status); }; } &&
81592          { ac_try='test -s conftest$ac_exeext'
81593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81594   (eval $ac_try) 2>&5
81595   ac_status=$?
81596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81597   (exit $ac_status); }; }; then
81598   eval "$as_ac_var=yes"
81599 else
81600   echo "$as_me: failed program was:" >&5
81601 sed 's/^/| /' conftest.$ac_ext >&5
81602
81603 eval "$as_ac_var=no"
81604 fi
81605 rm -f conftest.err conftest.$ac_objext \
81606       conftest$ac_exeext conftest.$ac_ext
81607 fi
81608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81610 if test `eval echo '${'$as_ac_var'}'` = yes; then
81611   cat >>confdefs.h <<_ACEOF
81612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81613 _ACEOF
81614
81615 fi
81616 done
81617
81618     fi
81619   fi
81620
81621
81622
81623
81624
81625
81626     echo "$as_me:$LINENO: checking for float trig functions" >&5
81627 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81628   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81629   echo $ECHO_N "(cached) $ECHO_C" >&6
81630 else
81631
81632
81633
81634     ac_ext=cc
81635 ac_cpp='$CXXCPP $CPPFLAGS'
81636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81639
81640     cat >conftest.$ac_ext <<_ACEOF
81641 /* confdefs.h.  */
81642 _ACEOF
81643 cat confdefs.h >>conftest.$ac_ext
81644 cat >>conftest.$ac_ext <<_ACEOF
81645 /* end confdefs.h.  */
81646 #include <math.h>
81647 int
81648 main ()
81649 {
81650 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81651   ;
81652   return 0;
81653 }
81654 _ACEOF
81655 rm -f conftest.$ac_objext
81656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81657   (eval $ac_compile) 2>conftest.er1
81658   ac_status=$?
81659   grep -v '^ *+' conftest.er1 >conftest.err
81660   rm -f conftest.er1
81661   cat conftest.err >&5
81662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81663   (exit $ac_status); } &&
81664          { ac_try='test -z "$ac_cxx_werror_flag"
81665                          || test ! -s conftest.err'
81666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81667   (eval $ac_try) 2>&5
81668   ac_status=$?
81669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81670   (exit $ac_status); }; } &&
81671          { ac_try='test -s conftest.$ac_objext'
81672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81673   (eval $ac_try) 2>&5
81674   ac_status=$?
81675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81676   (exit $ac_status); }; }; then
81677   glibcxx_cv_func_float_trig_use=yes
81678 else
81679   echo "$as_me: failed program was:" >&5
81680 sed 's/^/| /' conftest.$ac_ext >&5
81681
81682 glibcxx_cv_func_float_trig_use=no
81683 fi
81684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81685     ac_ext=c
81686 ac_cpp='$CPP $CPPFLAGS'
81687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81690
81691 fi
81692
81693   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81694 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81695   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81696
81697
81698
81699
81700
81701
81702
81703
81704
81705 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81706 do
81707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81708 echo "$as_me:$LINENO: checking for $ac_func" >&5
81709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81710 if eval "test \"\${$as_ac_var+set}\" = set"; then
81711   echo $ECHO_N "(cached) $ECHO_C" >&6
81712 else
81713   if test x$gcc_no_link = xyes; then
81714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81716    { (exit 1); exit 1; }; }
81717 fi
81718 cat >conftest.$ac_ext <<_ACEOF
81719 /* confdefs.h.  */
81720 _ACEOF
81721 cat confdefs.h >>conftest.$ac_ext
81722 cat >>conftest.$ac_ext <<_ACEOF
81723 /* end confdefs.h.  */
81724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81726 #define $ac_func innocuous_$ac_func
81727
81728 /* System header to define __stub macros and hopefully few prototypes,
81729     which can conflict with char $ac_func (); below.
81730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81731     <limits.h> exists even on freestanding compilers.  */
81732
81733 #ifdef __STDC__
81734 # include <limits.h>
81735 #else
81736 # include <assert.h>
81737 #endif
81738
81739 #undef $ac_func
81740
81741 /* Override any gcc2 internal prototype to avoid an error.  */
81742 #ifdef __cplusplus
81743 extern "C"
81744 {
81745 #endif
81746 /* We use char because int might match the return type of a gcc2
81747    builtin and then its argument prototype would still apply.  */
81748 char $ac_func ();
81749 /* The GNU C library defines this for functions which it implements
81750     to always fail with ENOSYS.  Some functions are actually named
81751     something starting with __ and the normal name is an alias.  */
81752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81753 choke me
81754 #else
81755 char (*f) () = $ac_func;
81756 #endif
81757 #ifdef __cplusplus
81758 }
81759 #endif
81760
81761 int
81762 main ()
81763 {
81764 return f != $ac_func;
81765   ;
81766   return 0;
81767 }
81768 _ACEOF
81769 rm -f conftest.$ac_objext conftest$ac_exeext
81770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81771   (eval $ac_link) 2>conftest.er1
81772   ac_status=$?
81773   grep -v '^ *+' conftest.er1 >conftest.err
81774   rm -f conftest.er1
81775   cat conftest.err >&5
81776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81777   (exit $ac_status); } &&
81778          { ac_try='test -z "$ac_c_werror_flag"
81779                          || test ! -s conftest.err'
81780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81781   (eval $ac_try) 2>&5
81782   ac_status=$?
81783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81784   (exit $ac_status); }; } &&
81785          { ac_try='test -s conftest$ac_exeext'
81786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81787   (eval $ac_try) 2>&5
81788   ac_status=$?
81789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81790   (exit $ac_status); }; }; then
81791   eval "$as_ac_var=yes"
81792 else
81793   echo "$as_me: failed program was:" >&5
81794 sed 's/^/| /' conftest.$ac_ext >&5
81795
81796 eval "$as_ac_var=no"
81797 fi
81798 rm -f conftest.err conftest.$ac_objext \
81799       conftest$ac_exeext conftest.$ac_ext
81800 fi
81801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81803 if test `eval echo '${'$as_ac_var'}'` = yes; then
81804   cat >>confdefs.h <<_ACEOF
81805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81806 _ACEOF
81807
81808 fi
81809 done
81810
81811   else
81812     echo "$as_me:$LINENO: checking for _float trig functions" >&5
81813 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
81814     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
81815   echo $ECHO_N "(cached) $ECHO_C" >&6
81816 else
81817
81818
81819
81820       ac_ext=cc
81821 ac_cpp='$CXXCPP $CPPFLAGS'
81822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81825
81826       cat >conftest.$ac_ext <<_ACEOF
81827 /* confdefs.h.  */
81828 _ACEOF
81829 cat confdefs.h >>conftest.$ac_ext
81830 cat >>conftest.$ac_ext <<_ACEOF
81831 /* end confdefs.h.  */
81832 #include <math.h>
81833 int
81834 main ()
81835 {
81836 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
81837   ;
81838   return 0;
81839 }
81840 _ACEOF
81841 rm -f conftest.$ac_objext
81842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81843   (eval $ac_compile) 2>conftest.er1
81844   ac_status=$?
81845   grep -v '^ *+' conftest.er1 >conftest.err
81846   rm -f conftest.er1
81847   cat conftest.err >&5
81848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81849   (exit $ac_status); } &&
81850          { ac_try='test -z "$ac_cxx_werror_flag"
81851                          || test ! -s conftest.err'
81852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81853   (eval $ac_try) 2>&5
81854   ac_status=$?
81855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81856   (exit $ac_status); }; } &&
81857          { ac_try='test -s conftest.$ac_objext'
81858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81859   (eval $ac_try) 2>&5
81860   ac_status=$?
81861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81862   (exit $ac_status); }; }; then
81863   glibcxx_cv_func__float_trig_use=yes
81864 else
81865   echo "$as_me: failed program was:" >&5
81866 sed 's/^/| /' conftest.$ac_ext >&5
81867
81868 glibcxx_cv_func__float_trig_use=no
81869 fi
81870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81871       ac_ext=c
81872 ac_cpp='$CPP $CPPFLAGS'
81873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81876
81877 fi
81878
81879     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
81880 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
81881     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
81882
81883
81884
81885
81886
81887
81888
81889
81890
81891 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
81892 do
81893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81894 echo "$as_me:$LINENO: checking for $ac_func" >&5
81895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81896 if eval "test \"\${$as_ac_var+set}\" = set"; then
81897   echo $ECHO_N "(cached) $ECHO_C" >&6
81898 else
81899   if test x$gcc_no_link = xyes; then
81900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81902    { (exit 1); exit 1; }; }
81903 fi
81904 cat >conftest.$ac_ext <<_ACEOF
81905 /* confdefs.h.  */
81906 _ACEOF
81907 cat confdefs.h >>conftest.$ac_ext
81908 cat >>conftest.$ac_ext <<_ACEOF
81909 /* end confdefs.h.  */
81910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81912 #define $ac_func innocuous_$ac_func
81913
81914 /* System header to define __stub macros and hopefully few prototypes,
81915     which can conflict with char $ac_func (); below.
81916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81917     <limits.h> exists even on freestanding compilers.  */
81918
81919 #ifdef __STDC__
81920 # include <limits.h>
81921 #else
81922 # include <assert.h>
81923 #endif
81924
81925 #undef $ac_func
81926
81927 /* Override any gcc2 internal prototype to avoid an error.  */
81928 #ifdef __cplusplus
81929 extern "C"
81930 {
81931 #endif
81932 /* We use char because int might match the return type of a gcc2
81933    builtin and then its argument prototype would still apply.  */
81934 char $ac_func ();
81935 /* The GNU C library defines this for functions which it implements
81936     to always fail with ENOSYS.  Some functions are actually named
81937     something starting with __ and the normal name is an alias.  */
81938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81939 choke me
81940 #else
81941 char (*f) () = $ac_func;
81942 #endif
81943 #ifdef __cplusplus
81944 }
81945 #endif
81946
81947 int
81948 main ()
81949 {
81950 return f != $ac_func;
81951   ;
81952   return 0;
81953 }
81954 _ACEOF
81955 rm -f conftest.$ac_objext conftest$ac_exeext
81956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81957   (eval $ac_link) 2>conftest.er1
81958   ac_status=$?
81959   grep -v '^ *+' conftest.er1 >conftest.err
81960   rm -f conftest.er1
81961   cat conftest.err >&5
81962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81963   (exit $ac_status); } &&
81964          { ac_try='test -z "$ac_c_werror_flag"
81965                          || test ! -s conftest.err'
81966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81967   (eval $ac_try) 2>&5
81968   ac_status=$?
81969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81970   (exit $ac_status); }; } &&
81971          { ac_try='test -s conftest$ac_exeext'
81972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81973   (eval $ac_try) 2>&5
81974   ac_status=$?
81975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81976   (exit $ac_status); }; }; then
81977   eval "$as_ac_var=yes"
81978 else
81979   echo "$as_me: failed program was:" >&5
81980 sed 's/^/| /' conftest.$ac_ext >&5
81981
81982 eval "$as_ac_var=no"
81983 fi
81984 rm -f conftest.err conftest.$ac_objext \
81985       conftest$ac_exeext conftest.$ac_ext
81986 fi
81987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81989 if test `eval echo '${'$as_ac_var'}'` = yes; then
81990   cat >>confdefs.h <<_ACEOF
81991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81992 _ACEOF
81993
81994 fi
81995 done
81996
81997     fi
81998   fi
81999
82000
82001
82002
82003
82004
82005
82006
82007
82008
82009
82010
82011
82012
82013     echo "$as_me:$LINENO: checking for float round functions" >&5
82014 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82015   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82016   echo $ECHO_N "(cached) $ECHO_C" >&6
82017 else
82018
82019
82020
82021     ac_ext=cc
82022 ac_cpp='$CXXCPP $CPPFLAGS'
82023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82026
82027     cat >conftest.$ac_ext <<_ACEOF
82028 /* confdefs.h.  */
82029 _ACEOF
82030 cat confdefs.h >>conftest.$ac_ext
82031 cat >>conftest.$ac_ext <<_ACEOF
82032 /* end confdefs.h.  */
82033 #include <math.h>
82034 int
82035 main ()
82036 {
82037 ceilf (0); floorf (0);
82038   ;
82039   return 0;
82040 }
82041 _ACEOF
82042 rm -f conftest.$ac_objext
82043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82044   (eval $ac_compile) 2>conftest.er1
82045   ac_status=$?
82046   grep -v '^ *+' conftest.er1 >conftest.err
82047   rm -f conftest.er1
82048   cat conftest.err >&5
82049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82050   (exit $ac_status); } &&
82051          { ac_try='test -z "$ac_cxx_werror_flag"
82052                          || test ! -s conftest.err'
82053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82054   (eval $ac_try) 2>&5
82055   ac_status=$?
82056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82057   (exit $ac_status); }; } &&
82058          { ac_try='test -s conftest.$ac_objext'
82059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82060   (eval $ac_try) 2>&5
82061   ac_status=$?
82062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063   (exit $ac_status); }; }; then
82064   glibcxx_cv_func_float_round_use=yes
82065 else
82066   echo "$as_me: failed program was:" >&5
82067 sed 's/^/| /' conftest.$ac_ext >&5
82068
82069 glibcxx_cv_func_float_round_use=no
82070 fi
82071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82072     ac_ext=c
82073 ac_cpp='$CPP $CPPFLAGS'
82074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82077
82078 fi
82079
82080   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82081 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82082   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82083
82084
82085 for ac_func in ceilf floorf
82086 do
82087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82088 echo "$as_me:$LINENO: checking for $ac_func" >&5
82089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82090 if eval "test \"\${$as_ac_var+set}\" = set"; then
82091   echo $ECHO_N "(cached) $ECHO_C" >&6
82092 else
82093   if test x$gcc_no_link = xyes; then
82094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82096    { (exit 1); exit 1; }; }
82097 fi
82098 cat >conftest.$ac_ext <<_ACEOF
82099 /* confdefs.h.  */
82100 _ACEOF
82101 cat confdefs.h >>conftest.$ac_ext
82102 cat >>conftest.$ac_ext <<_ACEOF
82103 /* end confdefs.h.  */
82104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82106 #define $ac_func innocuous_$ac_func
82107
82108 /* System header to define __stub macros and hopefully few prototypes,
82109     which can conflict with char $ac_func (); below.
82110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82111     <limits.h> exists even on freestanding compilers.  */
82112
82113 #ifdef __STDC__
82114 # include <limits.h>
82115 #else
82116 # include <assert.h>
82117 #endif
82118
82119 #undef $ac_func
82120
82121 /* Override any gcc2 internal prototype to avoid an error.  */
82122 #ifdef __cplusplus
82123 extern "C"
82124 {
82125 #endif
82126 /* We use char because int might match the return type of a gcc2
82127    builtin and then its argument prototype would still apply.  */
82128 char $ac_func ();
82129 /* The GNU C library defines this for functions which it implements
82130     to always fail with ENOSYS.  Some functions are actually named
82131     something starting with __ and the normal name is an alias.  */
82132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82133 choke me
82134 #else
82135 char (*f) () = $ac_func;
82136 #endif
82137 #ifdef __cplusplus
82138 }
82139 #endif
82140
82141 int
82142 main ()
82143 {
82144 return f != $ac_func;
82145   ;
82146   return 0;
82147 }
82148 _ACEOF
82149 rm -f conftest.$ac_objext conftest$ac_exeext
82150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82151   (eval $ac_link) 2>conftest.er1
82152   ac_status=$?
82153   grep -v '^ *+' conftest.er1 >conftest.err
82154   rm -f conftest.er1
82155   cat conftest.err >&5
82156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82157   (exit $ac_status); } &&
82158          { ac_try='test -z "$ac_c_werror_flag"
82159                          || test ! -s conftest.err'
82160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82161   (eval $ac_try) 2>&5
82162   ac_status=$?
82163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82164   (exit $ac_status); }; } &&
82165          { ac_try='test -s conftest$ac_exeext'
82166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82167   (eval $ac_try) 2>&5
82168   ac_status=$?
82169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82170   (exit $ac_status); }; }; then
82171   eval "$as_ac_var=yes"
82172 else
82173   echo "$as_me: failed program was:" >&5
82174 sed 's/^/| /' conftest.$ac_ext >&5
82175
82176 eval "$as_ac_var=no"
82177 fi
82178 rm -f conftest.err conftest.$ac_objext \
82179       conftest$ac_exeext conftest.$ac_ext
82180 fi
82181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82183 if test `eval echo '${'$as_ac_var'}'` = yes; then
82184   cat >>confdefs.h <<_ACEOF
82185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82186 _ACEOF
82187
82188 fi
82189 done
82190
82191   else
82192     echo "$as_me:$LINENO: checking for _float round functions" >&5
82193 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82194     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82195   echo $ECHO_N "(cached) $ECHO_C" >&6
82196 else
82197
82198
82199
82200       ac_ext=cc
82201 ac_cpp='$CXXCPP $CPPFLAGS'
82202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82205
82206       cat >conftest.$ac_ext <<_ACEOF
82207 /* confdefs.h.  */
82208 _ACEOF
82209 cat confdefs.h >>conftest.$ac_ext
82210 cat >>conftest.$ac_ext <<_ACEOF
82211 /* end confdefs.h.  */
82212 #include <math.h>
82213 int
82214 main ()
82215 {
82216 _ceilf (0); _floorf (0);
82217   ;
82218   return 0;
82219 }
82220 _ACEOF
82221 rm -f conftest.$ac_objext
82222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82223   (eval $ac_compile) 2>conftest.er1
82224   ac_status=$?
82225   grep -v '^ *+' conftest.er1 >conftest.err
82226   rm -f conftest.er1
82227   cat conftest.err >&5
82228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82229   (exit $ac_status); } &&
82230          { ac_try='test -z "$ac_cxx_werror_flag"
82231                          || test ! -s conftest.err'
82232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82233   (eval $ac_try) 2>&5
82234   ac_status=$?
82235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82236   (exit $ac_status); }; } &&
82237          { ac_try='test -s conftest.$ac_objext'
82238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82239   (eval $ac_try) 2>&5
82240   ac_status=$?
82241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82242   (exit $ac_status); }; }; then
82243   glibcxx_cv_func__float_round_use=yes
82244 else
82245   echo "$as_me: failed program was:" >&5
82246 sed 's/^/| /' conftest.$ac_ext >&5
82247
82248 glibcxx_cv_func__float_round_use=no
82249 fi
82250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82251       ac_ext=c
82252 ac_cpp='$CPP $CPPFLAGS'
82253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82256
82257 fi
82258
82259     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82260 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82261     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82262
82263
82264 for ac_func in _ceilf _floorf
82265 do
82266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82267 echo "$as_me:$LINENO: checking for $ac_func" >&5
82268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82269 if eval "test \"\${$as_ac_var+set}\" = set"; then
82270   echo $ECHO_N "(cached) $ECHO_C" >&6
82271 else
82272   if test x$gcc_no_link = xyes; then
82273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82275    { (exit 1); exit 1; }; }
82276 fi
82277 cat >conftest.$ac_ext <<_ACEOF
82278 /* confdefs.h.  */
82279 _ACEOF
82280 cat confdefs.h >>conftest.$ac_ext
82281 cat >>conftest.$ac_ext <<_ACEOF
82282 /* end confdefs.h.  */
82283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82285 #define $ac_func innocuous_$ac_func
82286
82287 /* System header to define __stub macros and hopefully few prototypes,
82288     which can conflict with char $ac_func (); below.
82289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82290     <limits.h> exists even on freestanding compilers.  */
82291
82292 #ifdef __STDC__
82293 # include <limits.h>
82294 #else
82295 # include <assert.h>
82296 #endif
82297
82298 #undef $ac_func
82299
82300 /* Override any gcc2 internal prototype to avoid an error.  */
82301 #ifdef __cplusplus
82302 extern "C"
82303 {
82304 #endif
82305 /* We use char because int might match the return type of a gcc2
82306    builtin and then its argument prototype would still apply.  */
82307 char $ac_func ();
82308 /* The GNU C library defines this for functions which it implements
82309     to always fail with ENOSYS.  Some functions are actually named
82310     something starting with __ and the normal name is an alias.  */
82311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82312 choke me
82313 #else
82314 char (*f) () = $ac_func;
82315 #endif
82316 #ifdef __cplusplus
82317 }
82318 #endif
82319
82320 int
82321 main ()
82322 {
82323 return f != $ac_func;
82324   ;
82325   return 0;
82326 }
82327 _ACEOF
82328 rm -f conftest.$ac_objext conftest$ac_exeext
82329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82330   (eval $ac_link) 2>conftest.er1
82331   ac_status=$?
82332   grep -v '^ *+' conftest.er1 >conftest.err
82333   rm -f conftest.er1
82334   cat conftest.err >&5
82335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82336   (exit $ac_status); } &&
82337          { ac_try='test -z "$ac_c_werror_flag"
82338                          || test ! -s conftest.err'
82339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82340   (eval $ac_try) 2>&5
82341   ac_status=$?
82342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82343   (exit $ac_status); }; } &&
82344          { ac_try='test -s conftest$ac_exeext'
82345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82346   (eval $ac_try) 2>&5
82347   ac_status=$?
82348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82349   (exit $ac_status); }; }; then
82350   eval "$as_ac_var=yes"
82351 else
82352   echo "$as_me: failed program was:" >&5
82353 sed 's/^/| /' conftest.$ac_ext >&5
82354
82355 eval "$as_ac_var=no"
82356 fi
82357 rm -f conftest.err conftest.$ac_objext \
82358       conftest$ac_exeext conftest.$ac_ext
82359 fi
82360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82362 if test `eval echo '${'$as_ac_var'}'` = yes; then
82363   cat >>confdefs.h <<_ACEOF
82364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82365 _ACEOF
82366
82367 fi
82368 done
82369
82370     fi
82371   fi
82372
82373
82374
82375
82376
82377
82378
82379
82380   echo "$as_me:$LINENO: checking for expf declaration" >&5
82381 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82382   if test x${glibcxx_cv_func_expf_use+set} != xset; then
82383     if test "${glibcxx_cv_func_expf_use+set}" = set; then
82384   echo $ECHO_N "(cached) $ECHO_C" >&6
82385 else
82386
82387
82388
82389       ac_ext=cc
82390 ac_cpp='$CXXCPP $CPPFLAGS'
82391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82394
82395       cat >conftest.$ac_ext <<_ACEOF
82396 /* confdefs.h.  */
82397 _ACEOF
82398 cat confdefs.h >>conftest.$ac_ext
82399 cat >>conftest.$ac_ext <<_ACEOF
82400 /* end confdefs.h.  */
82401 #include <math.h>
82402                       #ifdef HAVE_IEEEFP_H
82403                       #include <ieeefp.h>
82404                       #endif
82405
82406 int
82407 main ()
82408 {
82409  expf(0);
82410   ;
82411   return 0;
82412 }
82413 _ACEOF
82414 rm -f conftest.$ac_objext
82415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82416   (eval $ac_compile) 2>conftest.er1
82417   ac_status=$?
82418   grep -v '^ *+' conftest.er1 >conftest.err
82419   rm -f conftest.er1
82420   cat conftest.err >&5
82421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82422   (exit $ac_status); } &&
82423          { ac_try='test -z "$ac_cxx_werror_flag"
82424                          || test ! -s conftest.err'
82425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82426   (eval $ac_try) 2>&5
82427   ac_status=$?
82428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82429   (exit $ac_status); }; } &&
82430          { ac_try='test -s conftest.$ac_objext'
82431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82432   (eval $ac_try) 2>&5
82433   ac_status=$?
82434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82435   (exit $ac_status); }; }; then
82436   glibcxx_cv_func_expf_use=yes
82437 else
82438   echo "$as_me: failed program was:" >&5
82439 sed 's/^/| /' conftest.$ac_ext >&5
82440
82441 glibcxx_cv_func_expf_use=no
82442 fi
82443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82444       ac_ext=c
82445 ac_cpp='$CPP $CPPFLAGS'
82446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82449
82450
82451 fi
82452
82453   fi
82454   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82455 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82456
82457   if test x$glibcxx_cv_func_expf_use = x"yes"; then
82458
82459 for ac_func in expf
82460 do
82461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82462 echo "$as_me:$LINENO: checking for $ac_func" >&5
82463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82464 if eval "test \"\${$as_ac_var+set}\" = set"; then
82465   echo $ECHO_N "(cached) $ECHO_C" >&6
82466 else
82467   if test x$gcc_no_link = xyes; then
82468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82470    { (exit 1); exit 1; }; }
82471 fi
82472 cat >conftest.$ac_ext <<_ACEOF
82473 /* confdefs.h.  */
82474 _ACEOF
82475 cat confdefs.h >>conftest.$ac_ext
82476 cat >>conftest.$ac_ext <<_ACEOF
82477 /* end confdefs.h.  */
82478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82480 #define $ac_func innocuous_$ac_func
82481
82482 /* System header to define __stub macros and hopefully few prototypes,
82483     which can conflict with char $ac_func (); below.
82484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82485     <limits.h> exists even on freestanding compilers.  */
82486
82487 #ifdef __STDC__
82488 # include <limits.h>
82489 #else
82490 # include <assert.h>
82491 #endif
82492
82493 #undef $ac_func
82494
82495 /* Override any gcc2 internal prototype to avoid an error.  */
82496 #ifdef __cplusplus
82497 extern "C"
82498 {
82499 #endif
82500 /* We use char because int might match the return type of a gcc2
82501    builtin and then its argument prototype would still apply.  */
82502 char $ac_func ();
82503 /* The GNU C library defines this for functions which it implements
82504     to always fail with ENOSYS.  Some functions are actually named
82505     something starting with __ and the normal name is an alias.  */
82506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82507 choke me
82508 #else
82509 char (*f) () = $ac_func;
82510 #endif
82511 #ifdef __cplusplus
82512 }
82513 #endif
82514
82515 int
82516 main ()
82517 {
82518 return f != $ac_func;
82519   ;
82520   return 0;
82521 }
82522 _ACEOF
82523 rm -f conftest.$ac_objext conftest$ac_exeext
82524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82525   (eval $ac_link) 2>conftest.er1
82526   ac_status=$?
82527   grep -v '^ *+' conftest.er1 >conftest.err
82528   rm -f conftest.er1
82529   cat conftest.err >&5
82530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82531   (exit $ac_status); } &&
82532          { ac_try='test -z "$ac_c_werror_flag"
82533                          || test ! -s conftest.err'
82534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82535   (eval $ac_try) 2>&5
82536   ac_status=$?
82537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82538   (exit $ac_status); }; } &&
82539          { ac_try='test -s conftest$ac_exeext'
82540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82541   (eval $ac_try) 2>&5
82542   ac_status=$?
82543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82544   (exit $ac_status); }; }; then
82545   eval "$as_ac_var=yes"
82546 else
82547   echo "$as_me: failed program was:" >&5
82548 sed 's/^/| /' conftest.$ac_ext >&5
82549
82550 eval "$as_ac_var=no"
82551 fi
82552 rm -f conftest.err conftest.$ac_objext \
82553       conftest$ac_exeext conftest.$ac_ext
82554 fi
82555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82557 if test `eval echo '${'$as_ac_var'}'` = yes; then
82558   cat >>confdefs.h <<_ACEOF
82559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82560 _ACEOF
82561
82562 fi
82563 done
82564
82565   else
82566
82567   echo "$as_me:$LINENO: checking for _expf declaration" >&5
82568 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82569   if test x${glibcxx_cv_func__expf_use+set} != xset; then
82570     if test "${glibcxx_cv_func__expf_use+set}" = set; then
82571   echo $ECHO_N "(cached) $ECHO_C" >&6
82572 else
82573
82574
82575
82576       ac_ext=cc
82577 ac_cpp='$CXXCPP $CPPFLAGS'
82578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82581
82582       cat >conftest.$ac_ext <<_ACEOF
82583 /* confdefs.h.  */
82584 _ACEOF
82585 cat confdefs.h >>conftest.$ac_ext
82586 cat >>conftest.$ac_ext <<_ACEOF
82587 /* end confdefs.h.  */
82588 #include <math.h>
82589                       #ifdef HAVE_IEEEFP_H
82590                       #include <ieeefp.h>
82591                       #endif
82592
82593 int
82594 main ()
82595 {
82596  _expf(0);
82597   ;
82598   return 0;
82599 }
82600 _ACEOF
82601 rm -f conftest.$ac_objext
82602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82603   (eval $ac_compile) 2>conftest.er1
82604   ac_status=$?
82605   grep -v '^ *+' conftest.er1 >conftest.err
82606   rm -f conftest.er1
82607   cat conftest.err >&5
82608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82609   (exit $ac_status); } &&
82610          { ac_try='test -z "$ac_cxx_werror_flag"
82611                          || test ! -s conftest.err'
82612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82613   (eval $ac_try) 2>&5
82614   ac_status=$?
82615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82616   (exit $ac_status); }; } &&
82617          { ac_try='test -s conftest.$ac_objext'
82618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82619   (eval $ac_try) 2>&5
82620   ac_status=$?
82621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82622   (exit $ac_status); }; }; then
82623   glibcxx_cv_func__expf_use=yes
82624 else
82625   echo "$as_me: failed program was:" >&5
82626 sed 's/^/| /' conftest.$ac_ext >&5
82627
82628 glibcxx_cv_func__expf_use=no
82629 fi
82630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82631       ac_ext=c
82632 ac_cpp='$CPP $CPPFLAGS'
82633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82636
82637
82638 fi
82639
82640   fi
82641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82642 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82643
82644     if test x$glibcxx_cv_func__expf_use = x"yes"; then
82645
82646 for ac_func in _expf
82647 do
82648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82649 echo "$as_me:$LINENO: checking for $ac_func" >&5
82650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82651 if eval "test \"\${$as_ac_var+set}\" = set"; then
82652   echo $ECHO_N "(cached) $ECHO_C" >&6
82653 else
82654   if test x$gcc_no_link = xyes; then
82655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82657    { (exit 1); exit 1; }; }
82658 fi
82659 cat >conftest.$ac_ext <<_ACEOF
82660 /* confdefs.h.  */
82661 _ACEOF
82662 cat confdefs.h >>conftest.$ac_ext
82663 cat >>conftest.$ac_ext <<_ACEOF
82664 /* end confdefs.h.  */
82665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82667 #define $ac_func innocuous_$ac_func
82668
82669 /* System header to define __stub macros and hopefully few prototypes,
82670     which can conflict with char $ac_func (); below.
82671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82672     <limits.h> exists even on freestanding compilers.  */
82673
82674 #ifdef __STDC__
82675 # include <limits.h>
82676 #else
82677 # include <assert.h>
82678 #endif
82679
82680 #undef $ac_func
82681
82682 /* Override any gcc2 internal prototype to avoid an error.  */
82683 #ifdef __cplusplus
82684 extern "C"
82685 {
82686 #endif
82687 /* We use char because int might match the return type of a gcc2
82688    builtin and then its argument prototype would still apply.  */
82689 char $ac_func ();
82690 /* The GNU C library defines this for functions which it implements
82691     to always fail with ENOSYS.  Some functions are actually named
82692     something starting with __ and the normal name is an alias.  */
82693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82694 choke me
82695 #else
82696 char (*f) () = $ac_func;
82697 #endif
82698 #ifdef __cplusplus
82699 }
82700 #endif
82701
82702 int
82703 main ()
82704 {
82705 return f != $ac_func;
82706   ;
82707   return 0;
82708 }
82709 _ACEOF
82710 rm -f conftest.$ac_objext conftest$ac_exeext
82711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82712   (eval $ac_link) 2>conftest.er1
82713   ac_status=$?
82714   grep -v '^ *+' conftest.er1 >conftest.err
82715   rm -f conftest.er1
82716   cat conftest.err >&5
82717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82718   (exit $ac_status); } &&
82719          { ac_try='test -z "$ac_c_werror_flag"
82720                          || test ! -s conftest.err'
82721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82722   (eval $ac_try) 2>&5
82723   ac_status=$?
82724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82725   (exit $ac_status); }; } &&
82726          { ac_try='test -s conftest$ac_exeext'
82727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82728   (eval $ac_try) 2>&5
82729   ac_status=$?
82730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82731   (exit $ac_status); }; }; then
82732   eval "$as_ac_var=yes"
82733 else
82734   echo "$as_me: failed program was:" >&5
82735 sed 's/^/| /' conftest.$ac_ext >&5
82736
82737 eval "$as_ac_var=no"
82738 fi
82739 rm -f conftest.err conftest.$ac_objext \
82740       conftest$ac_exeext conftest.$ac_ext
82741 fi
82742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82744 if test `eval echo '${'$as_ac_var'}'` = yes; then
82745   cat >>confdefs.h <<_ACEOF
82746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82747 _ACEOF
82748
82749 fi
82750 done
82751
82752     fi
82753   fi
82754
82755
82756
82757
82758
82759
82760   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
82761 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
82762   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
82763     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
82764   echo $ECHO_N "(cached) $ECHO_C" >&6
82765 else
82766
82767
82768
82769       ac_ext=cc
82770 ac_cpp='$CXXCPP $CPPFLAGS'
82771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82774
82775       cat >conftest.$ac_ext <<_ACEOF
82776 /* confdefs.h.  */
82777 _ACEOF
82778 cat confdefs.h >>conftest.$ac_ext
82779 cat >>conftest.$ac_ext <<_ACEOF
82780 /* end confdefs.h.  */
82781 #include <math.h>
82782                       #ifdef HAVE_IEEEFP_H
82783                       #include <ieeefp.h>
82784                       #endif
82785
82786 int
82787 main ()
82788 {
82789  isnanf(0);
82790   ;
82791   return 0;
82792 }
82793 _ACEOF
82794 rm -f conftest.$ac_objext
82795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82796   (eval $ac_compile) 2>conftest.er1
82797   ac_status=$?
82798   grep -v '^ *+' conftest.er1 >conftest.err
82799   rm -f conftest.er1
82800   cat conftest.err >&5
82801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82802   (exit $ac_status); } &&
82803          { ac_try='test -z "$ac_cxx_werror_flag"
82804                          || test ! -s conftest.err'
82805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82806   (eval $ac_try) 2>&5
82807   ac_status=$?
82808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82809   (exit $ac_status); }; } &&
82810          { ac_try='test -s conftest.$ac_objext'
82811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82812   (eval $ac_try) 2>&5
82813   ac_status=$?
82814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82815   (exit $ac_status); }; }; then
82816   glibcxx_cv_func_isnanf_use=yes
82817 else
82818   echo "$as_me: failed program was:" >&5
82819 sed 's/^/| /' conftest.$ac_ext >&5
82820
82821 glibcxx_cv_func_isnanf_use=no
82822 fi
82823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82824       ac_ext=c
82825 ac_cpp='$CPP $CPPFLAGS'
82826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82829
82830
82831 fi
82832
82833   fi
82834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
82835 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
82836
82837   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
82838
82839 for ac_func in isnanf
82840 do
82841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82842 echo "$as_me:$LINENO: checking for $ac_func" >&5
82843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82844 if eval "test \"\${$as_ac_var+set}\" = set"; then
82845   echo $ECHO_N "(cached) $ECHO_C" >&6
82846 else
82847   if test x$gcc_no_link = xyes; then
82848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82850    { (exit 1); exit 1; }; }
82851 fi
82852 cat >conftest.$ac_ext <<_ACEOF
82853 /* confdefs.h.  */
82854 _ACEOF
82855 cat confdefs.h >>conftest.$ac_ext
82856 cat >>conftest.$ac_ext <<_ACEOF
82857 /* end confdefs.h.  */
82858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82860 #define $ac_func innocuous_$ac_func
82861
82862 /* System header to define __stub macros and hopefully few prototypes,
82863     which can conflict with char $ac_func (); below.
82864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82865     <limits.h> exists even on freestanding compilers.  */
82866
82867 #ifdef __STDC__
82868 # include <limits.h>
82869 #else
82870 # include <assert.h>
82871 #endif
82872
82873 #undef $ac_func
82874
82875 /* Override any gcc2 internal prototype to avoid an error.  */
82876 #ifdef __cplusplus
82877 extern "C"
82878 {
82879 #endif
82880 /* We use char because int might match the return type of a gcc2
82881    builtin and then its argument prototype would still apply.  */
82882 char $ac_func ();
82883 /* The GNU C library defines this for functions which it implements
82884     to always fail with ENOSYS.  Some functions are actually named
82885     something starting with __ and the normal name is an alias.  */
82886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82887 choke me
82888 #else
82889 char (*f) () = $ac_func;
82890 #endif
82891 #ifdef __cplusplus
82892 }
82893 #endif
82894
82895 int
82896 main ()
82897 {
82898 return f != $ac_func;
82899   ;
82900   return 0;
82901 }
82902 _ACEOF
82903 rm -f conftest.$ac_objext conftest$ac_exeext
82904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82905   (eval $ac_link) 2>conftest.er1
82906   ac_status=$?
82907   grep -v '^ *+' conftest.er1 >conftest.err
82908   rm -f conftest.er1
82909   cat conftest.err >&5
82910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82911   (exit $ac_status); } &&
82912          { ac_try='test -z "$ac_c_werror_flag"
82913                          || test ! -s conftest.err'
82914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82915   (eval $ac_try) 2>&5
82916   ac_status=$?
82917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82918   (exit $ac_status); }; } &&
82919          { ac_try='test -s conftest$ac_exeext'
82920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82921   (eval $ac_try) 2>&5
82922   ac_status=$?
82923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82924   (exit $ac_status); }; }; then
82925   eval "$as_ac_var=yes"
82926 else
82927   echo "$as_me: failed program was:" >&5
82928 sed 's/^/| /' conftest.$ac_ext >&5
82929
82930 eval "$as_ac_var=no"
82931 fi
82932 rm -f conftest.err conftest.$ac_objext \
82933       conftest$ac_exeext conftest.$ac_ext
82934 fi
82935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82937 if test `eval echo '${'$as_ac_var'}'` = yes; then
82938   cat >>confdefs.h <<_ACEOF
82939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82940 _ACEOF
82941
82942 fi
82943 done
82944
82945   else
82946
82947   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
82948 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
82949   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
82950     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
82951   echo $ECHO_N "(cached) $ECHO_C" >&6
82952 else
82953
82954
82955
82956       ac_ext=cc
82957 ac_cpp='$CXXCPP $CPPFLAGS'
82958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82961
82962       cat >conftest.$ac_ext <<_ACEOF
82963 /* confdefs.h.  */
82964 _ACEOF
82965 cat confdefs.h >>conftest.$ac_ext
82966 cat >>conftest.$ac_ext <<_ACEOF
82967 /* end confdefs.h.  */
82968 #include <math.h>
82969                       #ifdef HAVE_IEEEFP_H
82970                       #include <ieeefp.h>
82971                       #endif
82972
82973 int
82974 main ()
82975 {
82976  _isnanf(0);
82977   ;
82978   return 0;
82979 }
82980 _ACEOF
82981 rm -f conftest.$ac_objext
82982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82983   (eval $ac_compile) 2>conftest.er1
82984   ac_status=$?
82985   grep -v '^ *+' conftest.er1 >conftest.err
82986   rm -f conftest.er1
82987   cat conftest.err >&5
82988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82989   (exit $ac_status); } &&
82990          { ac_try='test -z "$ac_cxx_werror_flag"
82991                          || test ! -s conftest.err'
82992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82993   (eval $ac_try) 2>&5
82994   ac_status=$?
82995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82996   (exit $ac_status); }; } &&
82997          { ac_try='test -s conftest.$ac_objext'
82998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82999   (eval $ac_try) 2>&5
83000   ac_status=$?
83001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83002   (exit $ac_status); }; }; then
83003   glibcxx_cv_func__isnanf_use=yes
83004 else
83005   echo "$as_me: failed program was:" >&5
83006 sed 's/^/| /' conftest.$ac_ext >&5
83007
83008 glibcxx_cv_func__isnanf_use=no
83009 fi
83010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83011       ac_ext=c
83012 ac_cpp='$CPP $CPPFLAGS'
83013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83016
83017
83018 fi
83019
83020   fi
83021   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83022 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83023
83024     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83025
83026 for ac_func in _isnanf
83027 do
83028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83029 echo "$as_me:$LINENO: checking for $ac_func" >&5
83030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83031 if eval "test \"\${$as_ac_var+set}\" = set"; then
83032   echo $ECHO_N "(cached) $ECHO_C" >&6
83033 else
83034   if test x$gcc_no_link = xyes; then
83035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83037    { (exit 1); exit 1; }; }
83038 fi
83039 cat >conftest.$ac_ext <<_ACEOF
83040 /* confdefs.h.  */
83041 _ACEOF
83042 cat confdefs.h >>conftest.$ac_ext
83043 cat >>conftest.$ac_ext <<_ACEOF
83044 /* end confdefs.h.  */
83045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83047 #define $ac_func innocuous_$ac_func
83048
83049 /* System header to define __stub macros and hopefully few prototypes,
83050     which can conflict with char $ac_func (); below.
83051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83052     <limits.h> exists even on freestanding compilers.  */
83053
83054 #ifdef __STDC__
83055 # include <limits.h>
83056 #else
83057 # include <assert.h>
83058 #endif
83059
83060 #undef $ac_func
83061
83062 /* Override any gcc2 internal prototype to avoid an error.  */
83063 #ifdef __cplusplus
83064 extern "C"
83065 {
83066 #endif
83067 /* We use char because int might match the return type of a gcc2
83068    builtin and then its argument prototype would still apply.  */
83069 char $ac_func ();
83070 /* The GNU C library defines this for functions which it implements
83071     to always fail with ENOSYS.  Some functions are actually named
83072     something starting with __ and the normal name is an alias.  */
83073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83074 choke me
83075 #else
83076 char (*f) () = $ac_func;
83077 #endif
83078 #ifdef __cplusplus
83079 }
83080 #endif
83081
83082 int
83083 main ()
83084 {
83085 return f != $ac_func;
83086   ;
83087   return 0;
83088 }
83089 _ACEOF
83090 rm -f conftest.$ac_objext conftest$ac_exeext
83091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83092   (eval $ac_link) 2>conftest.er1
83093   ac_status=$?
83094   grep -v '^ *+' conftest.er1 >conftest.err
83095   rm -f conftest.er1
83096   cat conftest.err >&5
83097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83098   (exit $ac_status); } &&
83099          { ac_try='test -z "$ac_c_werror_flag"
83100                          || test ! -s conftest.err'
83101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83102   (eval $ac_try) 2>&5
83103   ac_status=$?
83104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83105   (exit $ac_status); }; } &&
83106          { ac_try='test -s conftest$ac_exeext'
83107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83108   (eval $ac_try) 2>&5
83109   ac_status=$?
83110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83111   (exit $ac_status); }; }; then
83112   eval "$as_ac_var=yes"
83113 else
83114   echo "$as_me: failed program was:" >&5
83115 sed 's/^/| /' conftest.$ac_ext >&5
83116
83117 eval "$as_ac_var=no"
83118 fi
83119 rm -f conftest.err conftest.$ac_objext \
83120       conftest$ac_exeext conftest.$ac_ext
83121 fi
83122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83124 if test `eval echo '${'$as_ac_var'}'` = yes; then
83125   cat >>confdefs.h <<_ACEOF
83126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83127 _ACEOF
83128
83129 fi
83130 done
83131
83132     fi
83133   fi
83134
83135
83136
83137
83138
83139
83140   echo "$as_me:$LINENO: checking for isinff declaration" >&5
83141 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83142   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83143     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83144   echo $ECHO_N "(cached) $ECHO_C" >&6
83145 else
83146
83147
83148
83149       ac_ext=cc
83150 ac_cpp='$CXXCPP $CPPFLAGS'
83151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83154
83155       cat >conftest.$ac_ext <<_ACEOF
83156 /* confdefs.h.  */
83157 _ACEOF
83158 cat confdefs.h >>conftest.$ac_ext
83159 cat >>conftest.$ac_ext <<_ACEOF
83160 /* end confdefs.h.  */
83161 #include <math.h>
83162                       #ifdef HAVE_IEEEFP_H
83163                       #include <ieeefp.h>
83164                       #endif
83165
83166 int
83167 main ()
83168 {
83169  isinff(0);
83170   ;
83171   return 0;
83172 }
83173 _ACEOF
83174 rm -f conftest.$ac_objext
83175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83176   (eval $ac_compile) 2>conftest.er1
83177   ac_status=$?
83178   grep -v '^ *+' conftest.er1 >conftest.err
83179   rm -f conftest.er1
83180   cat conftest.err >&5
83181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83182   (exit $ac_status); } &&
83183          { ac_try='test -z "$ac_cxx_werror_flag"
83184                          || test ! -s conftest.err'
83185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83186   (eval $ac_try) 2>&5
83187   ac_status=$?
83188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83189   (exit $ac_status); }; } &&
83190          { ac_try='test -s conftest.$ac_objext'
83191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83192   (eval $ac_try) 2>&5
83193   ac_status=$?
83194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83195   (exit $ac_status); }; }; then
83196   glibcxx_cv_func_isinff_use=yes
83197 else
83198   echo "$as_me: failed program was:" >&5
83199 sed 's/^/| /' conftest.$ac_ext >&5
83200
83201 glibcxx_cv_func_isinff_use=no
83202 fi
83203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83204       ac_ext=c
83205 ac_cpp='$CPP $CPPFLAGS'
83206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83209
83210
83211 fi
83212
83213   fi
83214   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83215 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83216
83217   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83218
83219 for ac_func in isinff
83220 do
83221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83222 echo "$as_me:$LINENO: checking for $ac_func" >&5
83223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83224 if eval "test \"\${$as_ac_var+set}\" = set"; then
83225   echo $ECHO_N "(cached) $ECHO_C" >&6
83226 else
83227   if test x$gcc_no_link = xyes; then
83228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83230    { (exit 1); exit 1; }; }
83231 fi
83232 cat >conftest.$ac_ext <<_ACEOF
83233 /* confdefs.h.  */
83234 _ACEOF
83235 cat confdefs.h >>conftest.$ac_ext
83236 cat >>conftest.$ac_ext <<_ACEOF
83237 /* end confdefs.h.  */
83238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83240 #define $ac_func innocuous_$ac_func
83241
83242 /* System header to define __stub macros and hopefully few prototypes,
83243     which can conflict with char $ac_func (); below.
83244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83245     <limits.h> exists even on freestanding compilers.  */
83246
83247 #ifdef __STDC__
83248 # include <limits.h>
83249 #else
83250 # include <assert.h>
83251 #endif
83252
83253 #undef $ac_func
83254
83255 /* Override any gcc2 internal prototype to avoid an error.  */
83256 #ifdef __cplusplus
83257 extern "C"
83258 {
83259 #endif
83260 /* We use char because int might match the return type of a gcc2
83261    builtin and then its argument prototype would still apply.  */
83262 char $ac_func ();
83263 /* The GNU C library defines this for functions which it implements
83264     to always fail with ENOSYS.  Some functions are actually named
83265     something starting with __ and the normal name is an alias.  */
83266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83267 choke me
83268 #else
83269 char (*f) () = $ac_func;
83270 #endif
83271 #ifdef __cplusplus
83272 }
83273 #endif
83274
83275 int
83276 main ()
83277 {
83278 return f != $ac_func;
83279   ;
83280   return 0;
83281 }
83282 _ACEOF
83283 rm -f conftest.$ac_objext conftest$ac_exeext
83284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83285   (eval $ac_link) 2>conftest.er1
83286   ac_status=$?
83287   grep -v '^ *+' conftest.er1 >conftest.err
83288   rm -f conftest.er1
83289   cat conftest.err >&5
83290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83291   (exit $ac_status); } &&
83292          { ac_try='test -z "$ac_c_werror_flag"
83293                          || test ! -s conftest.err'
83294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83295   (eval $ac_try) 2>&5
83296   ac_status=$?
83297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83298   (exit $ac_status); }; } &&
83299          { ac_try='test -s conftest$ac_exeext'
83300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83301   (eval $ac_try) 2>&5
83302   ac_status=$?
83303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83304   (exit $ac_status); }; }; then
83305   eval "$as_ac_var=yes"
83306 else
83307   echo "$as_me: failed program was:" >&5
83308 sed 's/^/| /' conftest.$ac_ext >&5
83309
83310 eval "$as_ac_var=no"
83311 fi
83312 rm -f conftest.err conftest.$ac_objext \
83313       conftest$ac_exeext conftest.$ac_ext
83314 fi
83315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83317 if test `eval echo '${'$as_ac_var'}'` = yes; then
83318   cat >>confdefs.h <<_ACEOF
83319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83320 _ACEOF
83321
83322 fi
83323 done
83324
83325   else
83326
83327   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83328 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83329   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83330     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83331   echo $ECHO_N "(cached) $ECHO_C" >&6
83332 else
83333
83334
83335
83336       ac_ext=cc
83337 ac_cpp='$CXXCPP $CPPFLAGS'
83338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83341
83342       cat >conftest.$ac_ext <<_ACEOF
83343 /* confdefs.h.  */
83344 _ACEOF
83345 cat confdefs.h >>conftest.$ac_ext
83346 cat >>conftest.$ac_ext <<_ACEOF
83347 /* end confdefs.h.  */
83348 #include <math.h>
83349                       #ifdef HAVE_IEEEFP_H
83350                       #include <ieeefp.h>
83351                       #endif
83352
83353 int
83354 main ()
83355 {
83356  _isinff(0);
83357   ;
83358   return 0;
83359 }
83360 _ACEOF
83361 rm -f conftest.$ac_objext
83362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83363   (eval $ac_compile) 2>conftest.er1
83364   ac_status=$?
83365   grep -v '^ *+' conftest.er1 >conftest.err
83366   rm -f conftest.er1
83367   cat conftest.err >&5
83368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83369   (exit $ac_status); } &&
83370          { ac_try='test -z "$ac_cxx_werror_flag"
83371                          || test ! -s conftest.err'
83372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83373   (eval $ac_try) 2>&5
83374   ac_status=$?
83375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83376   (exit $ac_status); }; } &&
83377          { ac_try='test -s conftest.$ac_objext'
83378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83379   (eval $ac_try) 2>&5
83380   ac_status=$?
83381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83382   (exit $ac_status); }; }; then
83383   glibcxx_cv_func__isinff_use=yes
83384 else
83385   echo "$as_me: failed program was:" >&5
83386 sed 's/^/| /' conftest.$ac_ext >&5
83387
83388 glibcxx_cv_func__isinff_use=no
83389 fi
83390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83391       ac_ext=c
83392 ac_cpp='$CPP $CPPFLAGS'
83393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83396
83397
83398 fi
83399
83400   fi
83401   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83402 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83403
83404     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83405
83406 for ac_func in _isinff
83407 do
83408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83409 echo "$as_me:$LINENO: checking for $ac_func" >&5
83410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83411 if eval "test \"\${$as_ac_var+set}\" = set"; then
83412   echo $ECHO_N "(cached) $ECHO_C" >&6
83413 else
83414   if test x$gcc_no_link = xyes; then
83415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83417    { (exit 1); exit 1; }; }
83418 fi
83419 cat >conftest.$ac_ext <<_ACEOF
83420 /* confdefs.h.  */
83421 _ACEOF
83422 cat confdefs.h >>conftest.$ac_ext
83423 cat >>conftest.$ac_ext <<_ACEOF
83424 /* end confdefs.h.  */
83425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83427 #define $ac_func innocuous_$ac_func
83428
83429 /* System header to define __stub macros and hopefully few prototypes,
83430     which can conflict with char $ac_func (); below.
83431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83432     <limits.h> exists even on freestanding compilers.  */
83433
83434 #ifdef __STDC__
83435 # include <limits.h>
83436 #else
83437 # include <assert.h>
83438 #endif
83439
83440 #undef $ac_func
83441
83442 /* Override any gcc2 internal prototype to avoid an error.  */
83443 #ifdef __cplusplus
83444 extern "C"
83445 {
83446 #endif
83447 /* We use char because int might match the return type of a gcc2
83448    builtin and then its argument prototype would still apply.  */
83449 char $ac_func ();
83450 /* The GNU C library defines this for functions which it implements
83451     to always fail with ENOSYS.  Some functions are actually named
83452     something starting with __ and the normal name is an alias.  */
83453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83454 choke me
83455 #else
83456 char (*f) () = $ac_func;
83457 #endif
83458 #ifdef __cplusplus
83459 }
83460 #endif
83461
83462 int
83463 main ()
83464 {
83465 return f != $ac_func;
83466   ;
83467   return 0;
83468 }
83469 _ACEOF
83470 rm -f conftest.$ac_objext conftest$ac_exeext
83471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83472   (eval $ac_link) 2>conftest.er1
83473   ac_status=$?
83474   grep -v '^ *+' conftest.er1 >conftest.err
83475   rm -f conftest.er1
83476   cat conftest.err >&5
83477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83478   (exit $ac_status); } &&
83479          { ac_try='test -z "$ac_c_werror_flag"
83480                          || test ! -s conftest.err'
83481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83482   (eval $ac_try) 2>&5
83483   ac_status=$?
83484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83485   (exit $ac_status); }; } &&
83486          { ac_try='test -s conftest$ac_exeext'
83487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83488   (eval $ac_try) 2>&5
83489   ac_status=$?
83490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83491   (exit $ac_status); }; }; then
83492   eval "$as_ac_var=yes"
83493 else
83494   echo "$as_me: failed program was:" >&5
83495 sed 's/^/| /' conftest.$ac_ext >&5
83496
83497 eval "$as_ac_var=no"
83498 fi
83499 rm -f conftest.err conftest.$ac_objext \
83500       conftest$ac_exeext conftest.$ac_ext
83501 fi
83502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83504 if test `eval echo '${'$as_ac_var'}'` = yes; then
83505   cat >>confdefs.h <<_ACEOF
83506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83507 _ACEOF
83508
83509 fi
83510 done
83511
83512     fi
83513   fi
83514
83515
83516
83517
83518
83519
83520   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83521 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83522   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83523     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83524   echo $ECHO_N "(cached) $ECHO_C" >&6
83525 else
83526
83527
83528
83529       ac_ext=cc
83530 ac_cpp='$CXXCPP $CPPFLAGS'
83531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83534
83535       cat >conftest.$ac_ext <<_ACEOF
83536 /* confdefs.h.  */
83537 _ACEOF
83538 cat confdefs.h >>conftest.$ac_ext
83539 cat >>conftest.$ac_ext <<_ACEOF
83540 /* end confdefs.h.  */
83541 #include <math.h>
83542 int
83543 main ()
83544 {
83545  atan2f(0, 0);
83546   ;
83547   return 0;
83548 }
83549 _ACEOF
83550 rm -f conftest.$ac_objext
83551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83552   (eval $ac_compile) 2>conftest.er1
83553   ac_status=$?
83554   grep -v '^ *+' conftest.er1 >conftest.err
83555   rm -f conftest.er1
83556   cat conftest.err >&5
83557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83558   (exit $ac_status); } &&
83559          { ac_try='test -z "$ac_cxx_werror_flag"
83560                          || test ! -s conftest.err'
83561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83562   (eval $ac_try) 2>&5
83563   ac_status=$?
83564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83565   (exit $ac_status); }; } &&
83566          { ac_try='test -s conftest.$ac_objext'
83567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83568   (eval $ac_try) 2>&5
83569   ac_status=$?
83570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83571   (exit $ac_status); }; }; then
83572   glibcxx_cv_func_atan2f_use=yes
83573 else
83574   echo "$as_me: failed program was:" >&5
83575 sed 's/^/| /' conftest.$ac_ext >&5
83576
83577 glibcxx_cv_func_atan2f_use=no
83578 fi
83579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83580       ac_ext=c
83581 ac_cpp='$CPP $CPPFLAGS'
83582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83585
83586
83587 fi
83588
83589   fi
83590   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83591 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83592
83593   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83594
83595 for ac_func in atan2f
83596 do
83597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83598 echo "$as_me:$LINENO: checking for $ac_func" >&5
83599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83600 if eval "test \"\${$as_ac_var+set}\" = set"; then
83601   echo $ECHO_N "(cached) $ECHO_C" >&6
83602 else
83603   if test x$gcc_no_link = xyes; then
83604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83606    { (exit 1); exit 1; }; }
83607 fi
83608 cat >conftest.$ac_ext <<_ACEOF
83609 /* confdefs.h.  */
83610 _ACEOF
83611 cat confdefs.h >>conftest.$ac_ext
83612 cat >>conftest.$ac_ext <<_ACEOF
83613 /* end confdefs.h.  */
83614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83616 #define $ac_func innocuous_$ac_func
83617
83618 /* System header to define __stub macros and hopefully few prototypes,
83619     which can conflict with char $ac_func (); below.
83620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83621     <limits.h> exists even on freestanding compilers.  */
83622
83623 #ifdef __STDC__
83624 # include <limits.h>
83625 #else
83626 # include <assert.h>
83627 #endif
83628
83629 #undef $ac_func
83630
83631 /* Override any gcc2 internal prototype to avoid an error.  */
83632 #ifdef __cplusplus
83633 extern "C"
83634 {
83635 #endif
83636 /* We use char because int might match the return type of a gcc2
83637    builtin and then its argument prototype would still apply.  */
83638 char $ac_func ();
83639 /* The GNU C library defines this for functions which it implements
83640     to always fail with ENOSYS.  Some functions are actually named
83641     something starting with __ and the normal name is an alias.  */
83642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83643 choke me
83644 #else
83645 char (*f) () = $ac_func;
83646 #endif
83647 #ifdef __cplusplus
83648 }
83649 #endif
83650
83651 int
83652 main ()
83653 {
83654 return f != $ac_func;
83655   ;
83656   return 0;
83657 }
83658 _ACEOF
83659 rm -f conftest.$ac_objext conftest$ac_exeext
83660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83661   (eval $ac_link) 2>conftest.er1
83662   ac_status=$?
83663   grep -v '^ *+' conftest.er1 >conftest.err
83664   rm -f conftest.er1
83665   cat conftest.err >&5
83666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83667   (exit $ac_status); } &&
83668          { ac_try='test -z "$ac_c_werror_flag"
83669                          || test ! -s conftest.err'
83670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83671   (eval $ac_try) 2>&5
83672   ac_status=$?
83673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83674   (exit $ac_status); }; } &&
83675          { ac_try='test -s conftest$ac_exeext'
83676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83677   (eval $ac_try) 2>&5
83678   ac_status=$?
83679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83680   (exit $ac_status); }; }; then
83681   eval "$as_ac_var=yes"
83682 else
83683   echo "$as_me: failed program was:" >&5
83684 sed 's/^/| /' conftest.$ac_ext >&5
83685
83686 eval "$as_ac_var=no"
83687 fi
83688 rm -f conftest.err conftest.$ac_objext \
83689       conftest$ac_exeext conftest.$ac_ext
83690 fi
83691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83693 if test `eval echo '${'$as_ac_var'}'` = yes; then
83694   cat >>confdefs.h <<_ACEOF
83695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83696 _ACEOF
83697
83698 fi
83699 done
83700
83701   else
83702
83703   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83704 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83705   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83706     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83707   echo $ECHO_N "(cached) $ECHO_C" >&6
83708 else
83709
83710
83711
83712       ac_ext=cc
83713 ac_cpp='$CXXCPP $CPPFLAGS'
83714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83717
83718       cat >conftest.$ac_ext <<_ACEOF
83719 /* confdefs.h.  */
83720 _ACEOF
83721 cat confdefs.h >>conftest.$ac_ext
83722 cat >>conftest.$ac_ext <<_ACEOF
83723 /* end confdefs.h.  */
83724 #include <math.h>
83725 int
83726 main ()
83727 {
83728  _atan2f(0, 0);
83729   ;
83730   return 0;
83731 }
83732 _ACEOF
83733 rm -f conftest.$ac_objext
83734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83735   (eval $ac_compile) 2>conftest.er1
83736   ac_status=$?
83737   grep -v '^ *+' conftest.er1 >conftest.err
83738   rm -f conftest.er1
83739   cat conftest.err >&5
83740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83741   (exit $ac_status); } &&
83742          { ac_try='test -z "$ac_cxx_werror_flag"
83743                          || test ! -s conftest.err'
83744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83745   (eval $ac_try) 2>&5
83746   ac_status=$?
83747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83748   (exit $ac_status); }; } &&
83749          { ac_try='test -s conftest.$ac_objext'
83750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83751   (eval $ac_try) 2>&5
83752   ac_status=$?
83753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83754   (exit $ac_status); }; }; then
83755   glibcxx_cv_func__atan2f_use=yes
83756 else
83757   echo "$as_me: failed program was:" >&5
83758 sed 's/^/| /' conftest.$ac_ext >&5
83759
83760 glibcxx_cv_func__atan2f_use=no
83761 fi
83762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83763       ac_ext=c
83764 ac_cpp='$CPP $CPPFLAGS'
83765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83768
83769
83770 fi
83771
83772   fi
83773   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
83774 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
83775
83776     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
83777
83778 for ac_func in _atan2f
83779 do
83780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83781 echo "$as_me:$LINENO: checking for $ac_func" >&5
83782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83783 if eval "test \"\${$as_ac_var+set}\" = set"; then
83784   echo $ECHO_N "(cached) $ECHO_C" >&6
83785 else
83786   if test x$gcc_no_link = xyes; then
83787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83789    { (exit 1); exit 1; }; }
83790 fi
83791 cat >conftest.$ac_ext <<_ACEOF
83792 /* confdefs.h.  */
83793 _ACEOF
83794 cat confdefs.h >>conftest.$ac_ext
83795 cat >>conftest.$ac_ext <<_ACEOF
83796 /* end confdefs.h.  */
83797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83799 #define $ac_func innocuous_$ac_func
83800
83801 /* System header to define __stub macros and hopefully few prototypes,
83802     which can conflict with char $ac_func (); below.
83803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83804     <limits.h> exists even on freestanding compilers.  */
83805
83806 #ifdef __STDC__
83807 # include <limits.h>
83808 #else
83809 # include <assert.h>
83810 #endif
83811
83812 #undef $ac_func
83813
83814 /* Override any gcc2 internal prototype to avoid an error.  */
83815 #ifdef __cplusplus
83816 extern "C"
83817 {
83818 #endif
83819 /* We use char because int might match the return type of a gcc2
83820    builtin and then its argument prototype would still apply.  */
83821 char $ac_func ();
83822 /* The GNU C library defines this for functions which it implements
83823     to always fail with ENOSYS.  Some functions are actually named
83824     something starting with __ and the normal name is an alias.  */
83825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83826 choke me
83827 #else
83828 char (*f) () = $ac_func;
83829 #endif
83830 #ifdef __cplusplus
83831 }
83832 #endif
83833
83834 int
83835 main ()
83836 {
83837 return f != $ac_func;
83838   ;
83839   return 0;
83840 }
83841 _ACEOF
83842 rm -f conftest.$ac_objext conftest$ac_exeext
83843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83844   (eval $ac_link) 2>conftest.er1
83845   ac_status=$?
83846   grep -v '^ *+' conftest.er1 >conftest.err
83847   rm -f conftest.er1
83848   cat conftest.err >&5
83849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83850   (exit $ac_status); } &&
83851          { ac_try='test -z "$ac_c_werror_flag"
83852                          || test ! -s conftest.err'
83853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83854   (eval $ac_try) 2>&5
83855   ac_status=$?
83856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83857   (exit $ac_status); }; } &&
83858          { ac_try='test -s conftest$ac_exeext'
83859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83860   (eval $ac_try) 2>&5
83861   ac_status=$?
83862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83863   (exit $ac_status); }; }; then
83864   eval "$as_ac_var=yes"
83865 else
83866   echo "$as_me: failed program was:" >&5
83867 sed 's/^/| /' conftest.$ac_ext >&5
83868
83869 eval "$as_ac_var=no"
83870 fi
83871 rm -f conftest.err conftest.$ac_objext \
83872       conftest$ac_exeext conftest.$ac_ext
83873 fi
83874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83876 if test `eval echo '${'$as_ac_var'}'` = yes; then
83877   cat >>confdefs.h <<_ACEOF
83878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83879 _ACEOF
83880
83881 fi
83882 done
83883
83884     fi
83885   fi
83886
83887
83888
83889
83890
83891
83892   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
83893 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
83894   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
83895     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
83896   echo $ECHO_N "(cached) $ECHO_C" >&6
83897 else
83898
83899
83900
83901       ac_ext=cc
83902 ac_cpp='$CXXCPP $CPPFLAGS'
83903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83906
83907       cat >conftest.$ac_ext <<_ACEOF
83908 /* confdefs.h.  */
83909 _ACEOF
83910 cat confdefs.h >>conftest.$ac_ext
83911 cat >>conftest.$ac_ext <<_ACEOF
83912 /* end confdefs.h.  */
83913 #include <math.h>
83914                       #ifdef HAVE_IEEEFP_H
83915                       #include <ieeefp.h>
83916                       #endif
83917
83918 int
83919 main ()
83920 {
83921  fabsf(0);
83922   ;
83923   return 0;
83924 }
83925 _ACEOF
83926 rm -f conftest.$ac_objext
83927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83928   (eval $ac_compile) 2>conftest.er1
83929   ac_status=$?
83930   grep -v '^ *+' conftest.er1 >conftest.err
83931   rm -f conftest.er1
83932   cat conftest.err >&5
83933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934   (exit $ac_status); } &&
83935          { ac_try='test -z "$ac_cxx_werror_flag"
83936                          || test ! -s conftest.err'
83937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83938   (eval $ac_try) 2>&5
83939   ac_status=$?
83940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83941   (exit $ac_status); }; } &&
83942          { ac_try='test -s conftest.$ac_objext'
83943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83944   (eval $ac_try) 2>&5
83945   ac_status=$?
83946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83947   (exit $ac_status); }; }; then
83948   glibcxx_cv_func_fabsf_use=yes
83949 else
83950   echo "$as_me: failed program was:" >&5
83951 sed 's/^/| /' conftest.$ac_ext >&5
83952
83953 glibcxx_cv_func_fabsf_use=no
83954 fi
83955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83956       ac_ext=c
83957 ac_cpp='$CPP $CPPFLAGS'
83958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83961
83962
83963 fi
83964
83965   fi
83966   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
83967 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
83968
83969   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
83970
83971 for ac_func in fabsf
83972 do
83973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83974 echo "$as_me:$LINENO: checking for $ac_func" >&5
83975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83976 if eval "test \"\${$as_ac_var+set}\" = set"; then
83977   echo $ECHO_N "(cached) $ECHO_C" >&6
83978 else
83979   if test x$gcc_no_link = xyes; then
83980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83982    { (exit 1); exit 1; }; }
83983 fi
83984 cat >conftest.$ac_ext <<_ACEOF
83985 /* confdefs.h.  */
83986 _ACEOF
83987 cat confdefs.h >>conftest.$ac_ext
83988 cat >>conftest.$ac_ext <<_ACEOF
83989 /* end confdefs.h.  */
83990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83992 #define $ac_func innocuous_$ac_func
83993
83994 /* System header to define __stub macros and hopefully few prototypes,
83995     which can conflict with char $ac_func (); below.
83996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83997     <limits.h> exists even on freestanding compilers.  */
83998
83999 #ifdef __STDC__
84000 # include <limits.h>
84001 #else
84002 # include <assert.h>
84003 #endif
84004
84005 #undef $ac_func
84006
84007 /* Override any gcc2 internal prototype to avoid an error.  */
84008 #ifdef __cplusplus
84009 extern "C"
84010 {
84011 #endif
84012 /* We use char because int might match the return type of a gcc2
84013    builtin and then its argument prototype would still apply.  */
84014 char $ac_func ();
84015 /* The GNU C library defines this for functions which it implements
84016     to always fail with ENOSYS.  Some functions are actually named
84017     something starting with __ and the normal name is an alias.  */
84018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84019 choke me
84020 #else
84021 char (*f) () = $ac_func;
84022 #endif
84023 #ifdef __cplusplus
84024 }
84025 #endif
84026
84027 int
84028 main ()
84029 {
84030 return f != $ac_func;
84031   ;
84032   return 0;
84033 }
84034 _ACEOF
84035 rm -f conftest.$ac_objext conftest$ac_exeext
84036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84037   (eval $ac_link) 2>conftest.er1
84038   ac_status=$?
84039   grep -v '^ *+' conftest.er1 >conftest.err
84040   rm -f conftest.er1
84041   cat conftest.err >&5
84042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84043   (exit $ac_status); } &&
84044          { ac_try='test -z "$ac_c_werror_flag"
84045                          || test ! -s conftest.err'
84046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84047   (eval $ac_try) 2>&5
84048   ac_status=$?
84049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84050   (exit $ac_status); }; } &&
84051          { ac_try='test -s conftest$ac_exeext'
84052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84053   (eval $ac_try) 2>&5
84054   ac_status=$?
84055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84056   (exit $ac_status); }; }; then
84057   eval "$as_ac_var=yes"
84058 else
84059   echo "$as_me: failed program was:" >&5
84060 sed 's/^/| /' conftest.$ac_ext >&5
84061
84062 eval "$as_ac_var=no"
84063 fi
84064 rm -f conftest.err conftest.$ac_objext \
84065       conftest$ac_exeext conftest.$ac_ext
84066 fi
84067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84069 if test `eval echo '${'$as_ac_var'}'` = yes; then
84070   cat >>confdefs.h <<_ACEOF
84071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84072 _ACEOF
84073
84074 fi
84075 done
84076
84077   else
84078
84079   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84080 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84081   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84082     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84083   echo $ECHO_N "(cached) $ECHO_C" >&6
84084 else
84085
84086
84087
84088       ac_ext=cc
84089 ac_cpp='$CXXCPP $CPPFLAGS'
84090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84093
84094       cat >conftest.$ac_ext <<_ACEOF
84095 /* confdefs.h.  */
84096 _ACEOF
84097 cat confdefs.h >>conftest.$ac_ext
84098 cat >>conftest.$ac_ext <<_ACEOF
84099 /* end confdefs.h.  */
84100 #include <math.h>
84101                       #ifdef HAVE_IEEEFP_H
84102                       #include <ieeefp.h>
84103                       #endif
84104
84105 int
84106 main ()
84107 {
84108  _fabsf(0);
84109   ;
84110   return 0;
84111 }
84112 _ACEOF
84113 rm -f conftest.$ac_objext
84114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84115   (eval $ac_compile) 2>conftest.er1
84116   ac_status=$?
84117   grep -v '^ *+' conftest.er1 >conftest.err
84118   rm -f conftest.er1
84119   cat conftest.err >&5
84120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84121   (exit $ac_status); } &&
84122          { ac_try='test -z "$ac_cxx_werror_flag"
84123                          || test ! -s conftest.err'
84124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84125   (eval $ac_try) 2>&5
84126   ac_status=$?
84127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84128   (exit $ac_status); }; } &&
84129          { ac_try='test -s conftest.$ac_objext'
84130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84131   (eval $ac_try) 2>&5
84132   ac_status=$?
84133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84134   (exit $ac_status); }; }; then
84135   glibcxx_cv_func__fabsf_use=yes
84136 else
84137   echo "$as_me: failed program was:" >&5
84138 sed 's/^/| /' conftest.$ac_ext >&5
84139
84140 glibcxx_cv_func__fabsf_use=no
84141 fi
84142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84143       ac_ext=c
84144 ac_cpp='$CPP $CPPFLAGS'
84145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84148
84149
84150 fi
84151
84152   fi
84153   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84154 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84155
84156     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84157
84158 for ac_func in _fabsf
84159 do
84160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84161 echo "$as_me:$LINENO: checking for $ac_func" >&5
84162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84163 if eval "test \"\${$as_ac_var+set}\" = set"; then
84164   echo $ECHO_N "(cached) $ECHO_C" >&6
84165 else
84166   if test x$gcc_no_link = xyes; then
84167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84169    { (exit 1); exit 1; }; }
84170 fi
84171 cat >conftest.$ac_ext <<_ACEOF
84172 /* confdefs.h.  */
84173 _ACEOF
84174 cat confdefs.h >>conftest.$ac_ext
84175 cat >>conftest.$ac_ext <<_ACEOF
84176 /* end confdefs.h.  */
84177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84179 #define $ac_func innocuous_$ac_func
84180
84181 /* System header to define __stub macros and hopefully few prototypes,
84182     which can conflict with char $ac_func (); below.
84183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84184     <limits.h> exists even on freestanding compilers.  */
84185
84186 #ifdef __STDC__
84187 # include <limits.h>
84188 #else
84189 # include <assert.h>
84190 #endif
84191
84192 #undef $ac_func
84193
84194 /* Override any gcc2 internal prototype to avoid an error.  */
84195 #ifdef __cplusplus
84196 extern "C"
84197 {
84198 #endif
84199 /* We use char because int might match the return type of a gcc2
84200    builtin and then its argument prototype would still apply.  */
84201 char $ac_func ();
84202 /* The GNU C library defines this for functions which it implements
84203     to always fail with ENOSYS.  Some functions are actually named
84204     something starting with __ and the normal name is an alias.  */
84205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84206 choke me
84207 #else
84208 char (*f) () = $ac_func;
84209 #endif
84210 #ifdef __cplusplus
84211 }
84212 #endif
84213
84214 int
84215 main ()
84216 {
84217 return f != $ac_func;
84218   ;
84219   return 0;
84220 }
84221 _ACEOF
84222 rm -f conftest.$ac_objext conftest$ac_exeext
84223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84224   (eval $ac_link) 2>conftest.er1
84225   ac_status=$?
84226   grep -v '^ *+' conftest.er1 >conftest.err
84227   rm -f conftest.er1
84228   cat conftest.err >&5
84229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84230   (exit $ac_status); } &&
84231          { ac_try='test -z "$ac_c_werror_flag"
84232                          || test ! -s conftest.err'
84233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84234   (eval $ac_try) 2>&5
84235   ac_status=$?
84236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84237   (exit $ac_status); }; } &&
84238          { ac_try='test -s conftest$ac_exeext'
84239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84240   (eval $ac_try) 2>&5
84241   ac_status=$?
84242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243   (exit $ac_status); }; }; then
84244   eval "$as_ac_var=yes"
84245 else
84246   echo "$as_me: failed program was:" >&5
84247 sed 's/^/| /' conftest.$ac_ext >&5
84248
84249 eval "$as_ac_var=no"
84250 fi
84251 rm -f conftest.err conftest.$ac_objext \
84252       conftest$ac_exeext conftest.$ac_ext
84253 fi
84254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84256 if test `eval echo '${'$as_ac_var'}'` = yes; then
84257   cat >>confdefs.h <<_ACEOF
84258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84259 _ACEOF
84260
84261 fi
84262 done
84263
84264     fi
84265   fi
84266
84267
84268
84269
84270
84271
84272   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84273 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84274   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84275     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84276   echo $ECHO_N "(cached) $ECHO_C" >&6
84277 else
84278
84279
84280
84281       ac_ext=cc
84282 ac_cpp='$CXXCPP $CPPFLAGS'
84283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84286
84287       cat >conftest.$ac_ext <<_ACEOF
84288 /* confdefs.h.  */
84289 _ACEOF
84290 cat confdefs.h >>conftest.$ac_ext
84291 cat >>conftest.$ac_ext <<_ACEOF
84292 /* end confdefs.h.  */
84293 #include <math.h>
84294 int
84295 main ()
84296 {
84297  fmodf(0, 0);
84298   ;
84299   return 0;
84300 }
84301 _ACEOF
84302 rm -f conftest.$ac_objext
84303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84304   (eval $ac_compile) 2>conftest.er1
84305   ac_status=$?
84306   grep -v '^ *+' conftest.er1 >conftest.err
84307   rm -f conftest.er1
84308   cat conftest.err >&5
84309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84310   (exit $ac_status); } &&
84311          { ac_try='test -z "$ac_cxx_werror_flag"
84312                          || test ! -s conftest.err'
84313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84314   (eval $ac_try) 2>&5
84315   ac_status=$?
84316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84317   (exit $ac_status); }; } &&
84318          { ac_try='test -s conftest.$ac_objext'
84319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84320   (eval $ac_try) 2>&5
84321   ac_status=$?
84322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84323   (exit $ac_status); }; }; then
84324   glibcxx_cv_func_fmodf_use=yes
84325 else
84326   echo "$as_me: failed program was:" >&5
84327 sed 's/^/| /' conftest.$ac_ext >&5
84328
84329 glibcxx_cv_func_fmodf_use=no
84330 fi
84331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84332       ac_ext=c
84333 ac_cpp='$CPP $CPPFLAGS'
84334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84337
84338
84339 fi
84340
84341   fi
84342   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84343 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84344
84345   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84346
84347 for ac_func in fmodf
84348 do
84349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84350 echo "$as_me:$LINENO: checking for $ac_func" >&5
84351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84352 if eval "test \"\${$as_ac_var+set}\" = set"; then
84353   echo $ECHO_N "(cached) $ECHO_C" >&6
84354 else
84355   if test x$gcc_no_link = xyes; then
84356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84358    { (exit 1); exit 1; }; }
84359 fi
84360 cat >conftest.$ac_ext <<_ACEOF
84361 /* confdefs.h.  */
84362 _ACEOF
84363 cat confdefs.h >>conftest.$ac_ext
84364 cat >>conftest.$ac_ext <<_ACEOF
84365 /* end confdefs.h.  */
84366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84368 #define $ac_func innocuous_$ac_func
84369
84370 /* System header to define __stub macros and hopefully few prototypes,
84371     which can conflict with char $ac_func (); below.
84372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84373     <limits.h> exists even on freestanding compilers.  */
84374
84375 #ifdef __STDC__
84376 # include <limits.h>
84377 #else
84378 # include <assert.h>
84379 #endif
84380
84381 #undef $ac_func
84382
84383 /* Override any gcc2 internal prototype to avoid an error.  */
84384 #ifdef __cplusplus
84385 extern "C"
84386 {
84387 #endif
84388 /* We use char because int might match the return type of a gcc2
84389    builtin and then its argument prototype would still apply.  */
84390 char $ac_func ();
84391 /* The GNU C library defines this for functions which it implements
84392     to always fail with ENOSYS.  Some functions are actually named
84393     something starting with __ and the normal name is an alias.  */
84394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84395 choke me
84396 #else
84397 char (*f) () = $ac_func;
84398 #endif
84399 #ifdef __cplusplus
84400 }
84401 #endif
84402
84403 int
84404 main ()
84405 {
84406 return f != $ac_func;
84407   ;
84408   return 0;
84409 }
84410 _ACEOF
84411 rm -f conftest.$ac_objext conftest$ac_exeext
84412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84413   (eval $ac_link) 2>conftest.er1
84414   ac_status=$?
84415   grep -v '^ *+' conftest.er1 >conftest.err
84416   rm -f conftest.er1
84417   cat conftest.err >&5
84418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84419   (exit $ac_status); } &&
84420          { ac_try='test -z "$ac_c_werror_flag"
84421                          || test ! -s conftest.err'
84422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84423   (eval $ac_try) 2>&5
84424   ac_status=$?
84425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84426   (exit $ac_status); }; } &&
84427          { ac_try='test -s conftest$ac_exeext'
84428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84429   (eval $ac_try) 2>&5
84430   ac_status=$?
84431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84432   (exit $ac_status); }; }; then
84433   eval "$as_ac_var=yes"
84434 else
84435   echo "$as_me: failed program was:" >&5
84436 sed 's/^/| /' conftest.$ac_ext >&5
84437
84438 eval "$as_ac_var=no"
84439 fi
84440 rm -f conftest.err conftest.$ac_objext \
84441       conftest$ac_exeext conftest.$ac_ext
84442 fi
84443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84445 if test `eval echo '${'$as_ac_var'}'` = yes; then
84446   cat >>confdefs.h <<_ACEOF
84447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84448 _ACEOF
84449
84450 fi
84451 done
84452
84453   else
84454
84455   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84456 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84457   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84458     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84459   echo $ECHO_N "(cached) $ECHO_C" >&6
84460 else
84461
84462
84463
84464       ac_ext=cc
84465 ac_cpp='$CXXCPP $CPPFLAGS'
84466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84469
84470       cat >conftest.$ac_ext <<_ACEOF
84471 /* confdefs.h.  */
84472 _ACEOF
84473 cat confdefs.h >>conftest.$ac_ext
84474 cat >>conftest.$ac_ext <<_ACEOF
84475 /* end confdefs.h.  */
84476 #include <math.h>
84477 int
84478 main ()
84479 {
84480  _fmodf(0, 0);
84481   ;
84482   return 0;
84483 }
84484 _ACEOF
84485 rm -f conftest.$ac_objext
84486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84487   (eval $ac_compile) 2>conftest.er1
84488   ac_status=$?
84489   grep -v '^ *+' conftest.er1 >conftest.err
84490   rm -f conftest.er1
84491   cat conftest.err >&5
84492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84493   (exit $ac_status); } &&
84494          { ac_try='test -z "$ac_cxx_werror_flag"
84495                          || test ! -s conftest.err'
84496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84497   (eval $ac_try) 2>&5
84498   ac_status=$?
84499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84500   (exit $ac_status); }; } &&
84501          { ac_try='test -s conftest.$ac_objext'
84502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84503   (eval $ac_try) 2>&5
84504   ac_status=$?
84505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506   (exit $ac_status); }; }; then
84507   glibcxx_cv_func__fmodf_use=yes
84508 else
84509   echo "$as_me: failed program was:" >&5
84510 sed 's/^/| /' conftest.$ac_ext >&5
84511
84512 glibcxx_cv_func__fmodf_use=no
84513 fi
84514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84515       ac_ext=c
84516 ac_cpp='$CPP $CPPFLAGS'
84517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84520
84521
84522 fi
84523
84524   fi
84525   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84526 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84527
84528     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84529
84530 for ac_func in _fmodf
84531 do
84532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84533 echo "$as_me:$LINENO: checking for $ac_func" >&5
84534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84535 if eval "test \"\${$as_ac_var+set}\" = set"; then
84536   echo $ECHO_N "(cached) $ECHO_C" >&6
84537 else
84538   if test x$gcc_no_link = xyes; then
84539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84541    { (exit 1); exit 1; }; }
84542 fi
84543 cat >conftest.$ac_ext <<_ACEOF
84544 /* confdefs.h.  */
84545 _ACEOF
84546 cat confdefs.h >>conftest.$ac_ext
84547 cat >>conftest.$ac_ext <<_ACEOF
84548 /* end confdefs.h.  */
84549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84551 #define $ac_func innocuous_$ac_func
84552
84553 /* System header to define __stub macros and hopefully few prototypes,
84554     which can conflict with char $ac_func (); below.
84555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84556     <limits.h> exists even on freestanding compilers.  */
84557
84558 #ifdef __STDC__
84559 # include <limits.h>
84560 #else
84561 # include <assert.h>
84562 #endif
84563
84564 #undef $ac_func
84565
84566 /* Override any gcc2 internal prototype to avoid an error.  */
84567 #ifdef __cplusplus
84568 extern "C"
84569 {
84570 #endif
84571 /* We use char because int might match the return type of a gcc2
84572    builtin and then its argument prototype would still apply.  */
84573 char $ac_func ();
84574 /* The GNU C library defines this for functions which it implements
84575     to always fail with ENOSYS.  Some functions are actually named
84576     something starting with __ and the normal name is an alias.  */
84577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84578 choke me
84579 #else
84580 char (*f) () = $ac_func;
84581 #endif
84582 #ifdef __cplusplus
84583 }
84584 #endif
84585
84586 int
84587 main ()
84588 {
84589 return f != $ac_func;
84590   ;
84591   return 0;
84592 }
84593 _ACEOF
84594 rm -f conftest.$ac_objext conftest$ac_exeext
84595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84596   (eval $ac_link) 2>conftest.er1
84597   ac_status=$?
84598   grep -v '^ *+' conftest.er1 >conftest.err
84599   rm -f conftest.er1
84600   cat conftest.err >&5
84601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84602   (exit $ac_status); } &&
84603          { ac_try='test -z "$ac_c_werror_flag"
84604                          || test ! -s conftest.err'
84605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84606   (eval $ac_try) 2>&5
84607   ac_status=$?
84608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84609   (exit $ac_status); }; } &&
84610          { ac_try='test -s conftest$ac_exeext'
84611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84612   (eval $ac_try) 2>&5
84613   ac_status=$?
84614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84615   (exit $ac_status); }; }; then
84616   eval "$as_ac_var=yes"
84617 else
84618   echo "$as_me: failed program was:" >&5
84619 sed 's/^/| /' conftest.$ac_ext >&5
84620
84621 eval "$as_ac_var=no"
84622 fi
84623 rm -f conftest.err conftest.$ac_objext \
84624       conftest$ac_exeext conftest.$ac_ext
84625 fi
84626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84628 if test `eval echo '${'$as_ac_var'}'` = yes; then
84629   cat >>confdefs.h <<_ACEOF
84630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84631 _ACEOF
84632
84633 fi
84634 done
84635
84636     fi
84637   fi
84638
84639
84640
84641
84642
84643
84644   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84645 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84646   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84647     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84648   echo $ECHO_N "(cached) $ECHO_C" >&6
84649 else
84650
84651
84652
84653       ac_ext=cc
84654 ac_cpp='$CXXCPP $CPPFLAGS'
84655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84658
84659       cat >conftest.$ac_ext <<_ACEOF
84660 /* confdefs.h.  */
84661 _ACEOF
84662 cat confdefs.h >>conftest.$ac_ext
84663 cat >>conftest.$ac_ext <<_ACEOF
84664 /* end confdefs.h.  */
84665 #include <math.h>
84666 int
84667 main ()
84668 {
84669  frexpf(0, 0);
84670   ;
84671   return 0;
84672 }
84673 _ACEOF
84674 rm -f conftest.$ac_objext
84675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84676   (eval $ac_compile) 2>conftest.er1
84677   ac_status=$?
84678   grep -v '^ *+' conftest.er1 >conftest.err
84679   rm -f conftest.er1
84680   cat conftest.err >&5
84681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84682   (exit $ac_status); } &&
84683          { ac_try='test -z "$ac_cxx_werror_flag"
84684                          || test ! -s conftest.err'
84685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84686   (eval $ac_try) 2>&5
84687   ac_status=$?
84688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84689   (exit $ac_status); }; } &&
84690          { ac_try='test -s conftest.$ac_objext'
84691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84692   (eval $ac_try) 2>&5
84693   ac_status=$?
84694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84695   (exit $ac_status); }; }; then
84696   glibcxx_cv_func_frexpf_use=yes
84697 else
84698   echo "$as_me: failed program was:" >&5
84699 sed 's/^/| /' conftest.$ac_ext >&5
84700
84701 glibcxx_cv_func_frexpf_use=no
84702 fi
84703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84704       ac_ext=c
84705 ac_cpp='$CPP $CPPFLAGS'
84706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84709
84710
84711 fi
84712
84713   fi
84714   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84715 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84716
84717   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84718
84719 for ac_func in frexpf
84720 do
84721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84722 echo "$as_me:$LINENO: checking for $ac_func" >&5
84723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84724 if eval "test \"\${$as_ac_var+set}\" = set"; then
84725   echo $ECHO_N "(cached) $ECHO_C" >&6
84726 else
84727   if test x$gcc_no_link = xyes; then
84728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84730    { (exit 1); exit 1; }; }
84731 fi
84732 cat >conftest.$ac_ext <<_ACEOF
84733 /* confdefs.h.  */
84734 _ACEOF
84735 cat confdefs.h >>conftest.$ac_ext
84736 cat >>conftest.$ac_ext <<_ACEOF
84737 /* end confdefs.h.  */
84738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84740 #define $ac_func innocuous_$ac_func
84741
84742 /* System header to define __stub macros and hopefully few prototypes,
84743     which can conflict with char $ac_func (); below.
84744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84745     <limits.h> exists even on freestanding compilers.  */
84746
84747 #ifdef __STDC__
84748 # include <limits.h>
84749 #else
84750 # include <assert.h>
84751 #endif
84752
84753 #undef $ac_func
84754
84755 /* Override any gcc2 internal prototype to avoid an error.  */
84756 #ifdef __cplusplus
84757 extern "C"
84758 {
84759 #endif
84760 /* We use char because int might match the return type of a gcc2
84761    builtin and then its argument prototype would still apply.  */
84762 char $ac_func ();
84763 /* The GNU C library defines this for functions which it implements
84764     to always fail with ENOSYS.  Some functions are actually named
84765     something starting with __ and the normal name is an alias.  */
84766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84767 choke me
84768 #else
84769 char (*f) () = $ac_func;
84770 #endif
84771 #ifdef __cplusplus
84772 }
84773 #endif
84774
84775 int
84776 main ()
84777 {
84778 return f != $ac_func;
84779   ;
84780   return 0;
84781 }
84782 _ACEOF
84783 rm -f conftest.$ac_objext conftest$ac_exeext
84784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84785   (eval $ac_link) 2>conftest.er1
84786   ac_status=$?
84787   grep -v '^ *+' conftest.er1 >conftest.err
84788   rm -f conftest.er1
84789   cat conftest.err >&5
84790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84791   (exit $ac_status); } &&
84792          { ac_try='test -z "$ac_c_werror_flag"
84793                          || test ! -s conftest.err'
84794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84795   (eval $ac_try) 2>&5
84796   ac_status=$?
84797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84798   (exit $ac_status); }; } &&
84799          { ac_try='test -s conftest$ac_exeext'
84800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84801   (eval $ac_try) 2>&5
84802   ac_status=$?
84803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84804   (exit $ac_status); }; }; then
84805   eval "$as_ac_var=yes"
84806 else
84807   echo "$as_me: failed program was:" >&5
84808 sed 's/^/| /' conftest.$ac_ext >&5
84809
84810 eval "$as_ac_var=no"
84811 fi
84812 rm -f conftest.err conftest.$ac_objext \
84813       conftest$ac_exeext conftest.$ac_ext
84814 fi
84815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84817 if test `eval echo '${'$as_ac_var'}'` = yes; then
84818   cat >>confdefs.h <<_ACEOF
84819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84820 _ACEOF
84821
84822 fi
84823 done
84824
84825   else
84826
84827   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
84828 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
84829   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
84830     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
84831   echo $ECHO_N "(cached) $ECHO_C" >&6
84832 else
84833
84834
84835
84836       ac_ext=cc
84837 ac_cpp='$CXXCPP $CPPFLAGS'
84838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84841
84842       cat >conftest.$ac_ext <<_ACEOF
84843 /* confdefs.h.  */
84844 _ACEOF
84845 cat confdefs.h >>conftest.$ac_ext
84846 cat >>conftest.$ac_ext <<_ACEOF
84847 /* end confdefs.h.  */
84848 #include <math.h>
84849 int
84850 main ()
84851 {
84852  _frexpf(0, 0);
84853   ;
84854   return 0;
84855 }
84856 _ACEOF
84857 rm -f conftest.$ac_objext
84858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84859   (eval $ac_compile) 2>conftest.er1
84860   ac_status=$?
84861   grep -v '^ *+' conftest.er1 >conftest.err
84862   rm -f conftest.er1
84863   cat conftest.err >&5
84864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84865   (exit $ac_status); } &&
84866          { ac_try='test -z "$ac_cxx_werror_flag"
84867                          || test ! -s conftest.err'
84868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84869   (eval $ac_try) 2>&5
84870   ac_status=$?
84871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84872   (exit $ac_status); }; } &&
84873          { ac_try='test -s conftest.$ac_objext'
84874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84875   (eval $ac_try) 2>&5
84876   ac_status=$?
84877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84878   (exit $ac_status); }; }; then
84879   glibcxx_cv_func__frexpf_use=yes
84880 else
84881   echo "$as_me: failed program was:" >&5
84882 sed 's/^/| /' conftest.$ac_ext >&5
84883
84884 glibcxx_cv_func__frexpf_use=no
84885 fi
84886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84887       ac_ext=c
84888 ac_cpp='$CPP $CPPFLAGS'
84889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84892
84893
84894 fi
84895
84896   fi
84897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
84898 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
84899
84900     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
84901
84902 for ac_func in _frexpf
84903 do
84904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84905 echo "$as_me:$LINENO: checking for $ac_func" >&5
84906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84907 if eval "test \"\${$as_ac_var+set}\" = set"; then
84908   echo $ECHO_N "(cached) $ECHO_C" >&6
84909 else
84910   if test x$gcc_no_link = xyes; then
84911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84913    { (exit 1); exit 1; }; }
84914 fi
84915 cat >conftest.$ac_ext <<_ACEOF
84916 /* confdefs.h.  */
84917 _ACEOF
84918 cat confdefs.h >>conftest.$ac_ext
84919 cat >>conftest.$ac_ext <<_ACEOF
84920 /* end confdefs.h.  */
84921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84923 #define $ac_func innocuous_$ac_func
84924
84925 /* System header to define __stub macros and hopefully few prototypes,
84926     which can conflict with char $ac_func (); below.
84927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84928     <limits.h> exists even on freestanding compilers.  */
84929
84930 #ifdef __STDC__
84931 # include <limits.h>
84932 #else
84933 # include <assert.h>
84934 #endif
84935
84936 #undef $ac_func
84937
84938 /* Override any gcc2 internal prototype to avoid an error.  */
84939 #ifdef __cplusplus
84940 extern "C"
84941 {
84942 #endif
84943 /* We use char because int might match the return type of a gcc2
84944    builtin and then its argument prototype would still apply.  */
84945 char $ac_func ();
84946 /* The GNU C library defines this for functions which it implements
84947     to always fail with ENOSYS.  Some functions are actually named
84948     something starting with __ and the normal name is an alias.  */
84949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84950 choke me
84951 #else
84952 char (*f) () = $ac_func;
84953 #endif
84954 #ifdef __cplusplus
84955 }
84956 #endif
84957
84958 int
84959 main ()
84960 {
84961 return f != $ac_func;
84962   ;
84963   return 0;
84964 }
84965 _ACEOF
84966 rm -f conftest.$ac_objext conftest$ac_exeext
84967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84968   (eval $ac_link) 2>conftest.er1
84969   ac_status=$?
84970   grep -v '^ *+' conftest.er1 >conftest.err
84971   rm -f conftest.er1
84972   cat conftest.err >&5
84973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84974   (exit $ac_status); } &&
84975          { ac_try='test -z "$ac_c_werror_flag"
84976                          || test ! -s conftest.err'
84977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84978   (eval $ac_try) 2>&5
84979   ac_status=$?
84980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84981   (exit $ac_status); }; } &&
84982          { ac_try='test -s conftest$ac_exeext'
84983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84984   (eval $ac_try) 2>&5
84985   ac_status=$?
84986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84987   (exit $ac_status); }; }; then
84988   eval "$as_ac_var=yes"
84989 else
84990   echo "$as_me: failed program was:" >&5
84991 sed 's/^/| /' conftest.$ac_ext >&5
84992
84993 eval "$as_ac_var=no"
84994 fi
84995 rm -f conftest.err conftest.$ac_objext \
84996       conftest$ac_exeext conftest.$ac_ext
84997 fi
84998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85000 if test `eval echo '${'$as_ac_var'}'` = yes; then
85001   cat >>confdefs.h <<_ACEOF
85002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85003 _ACEOF
85004
85005 fi
85006 done
85007
85008     fi
85009   fi
85010
85011
85012
85013
85014
85015
85016   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85017 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85018   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85019     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85020   echo $ECHO_N "(cached) $ECHO_C" >&6
85021 else
85022
85023
85024
85025       ac_ext=cc
85026 ac_cpp='$CXXCPP $CPPFLAGS'
85027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85030
85031       cat >conftest.$ac_ext <<_ACEOF
85032 /* confdefs.h.  */
85033 _ACEOF
85034 cat confdefs.h >>conftest.$ac_ext
85035 cat >>conftest.$ac_ext <<_ACEOF
85036 /* end confdefs.h.  */
85037 #include <math.h>
85038 int
85039 main ()
85040 {
85041  hypotf(0, 0);
85042   ;
85043   return 0;
85044 }
85045 _ACEOF
85046 rm -f conftest.$ac_objext
85047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85048   (eval $ac_compile) 2>conftest.er1
85049   ac_status=$?
85050   grep -v '^ *+' conftest.er1 >conftest.err
85051   rm -f conftest.er1
85052   cat conftest.err >&5
85053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85054   (exit $ac_status); } &&
85055          { ac_try='test -z "$ac_cxx_werror_flag"
85056                          || test ! -s conftest.err'
85057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85058   (eval $ac_try) 2>&5
85059   ac_status=$?
85060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85061   (exit $ac_status); }; } &&
85062          { ac_try='test -s conftest.$ac_objext'
85063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85064   (eval $ac_try) 2>&5
85065   ac_status=$?
85066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85067   (exit $ac_status); }; }; then
85068   glibcxx_cv_func_hypotf_use=yes
85069 else
85070   echo "$as_me: failed program was:" >&5
85071 sed 's/^/| /' conftest.$ac_ext >&5
85072
85073 glibcxx_cv_func_hypotf_use=no
85074 fi
85075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85076       ac_ext=c
85077 ac_cpp='$CPP $CPPFLAGS'
85078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85081
85082
85083 fi
85084
85085   fi
85086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85087 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85088
85089   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85090
85091 for ac_func in hypotf
85092 do
85093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85094 echo "$as_me:$LINENO: checking for $ac_func" >&5
85095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85096 if eval "test \"\${$as_ac_var+set}\" = set"; then
85097   echo $ECHO_N "(cached) $ECHO_C" >&6
85098 else
85099   if test x$gcc_no_link = xyes; then
85100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85102    { (exit 1); exit 1; }; }
85103 fi
85104 cat >conftest.$ac_ext <<_ACEOF
85105 /* confdefs.h.  */
85106 _ACEOF
85107 cat confdefs.h >>conftest.$ac_ext
85108 cat >>conftest.$ac_ext <<_ACEOF
85109 /* end confdefs.h.  */
85110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85112 #define $ac_func innocuous_$ac_func
85113
85114 /* System header to define __stub macros and hopefully few prototypes,
85115     which can conflict with char $ac_func (); below.
85116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85117     <limits.h> exists even on freestanding compilers.  */
85118
85119 #ifdef __STDC__
85120 # include <limits.h>
85121 #else
85122 # include <assert.h>
85123 #endif
85124
85125 #undef $ac_func
85126
85127 /* Override any gcc2 internal prototype to avoid an error.  */
85128 #ifdef __cplusplus
85129 extern "C"
85130 {
85131 #endif
85132 /* We use char because int might match the return type of a gcc2
85133    builtin and then its argument prototype would still apply.  */
85134 char $ac_func ();
85135 /* The GNU C library defines this for functions which it implements
85136     to always fail with ENOSYS.  Some functions are actually named
85137     something starting with __ and the normal name is an alias.  */
85138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85139 choke me
85140 #else
85141 char (*f) () = $ac_func;
85142 #endif
85143 #ifdef __cplusplus
85144 }
85145 #endif
85146
85147 int
85148 main ()
85149 {
85150 return f != $ac_func;
85151   ;
85152   return 0;
85153 }
85154 _ACEOF
85155 rm -f conftest.$ac_objext conftest$ac_exeext
85156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85157   (eval $ac_link) 2>conftest.er1
85158   ac_status=$?
85159   grep -v '^ *+' conftest.er1 >conftest.err
85160   rm -f conftest.er1
85161   cat conftest.err >&5
85162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85163   (exit $ac_status); } &&
85164          { ac_try='test -z "$ac_c_werror_flag"
85165                          || test ! -s conftest.err'
85166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85167   (eval $ac_try) 2>&5
85168   ac_status=$?
85169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85170   (exit $ac_status); }; } &&
85171          { ac_try='test -s conftest$ac_exeext'
85172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85173   (eval $ac_try) 2>&5
85174   ac_status=$?
85175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85176   (exit $ac_status); }; }; then
85177   eval "$as_ac_var=yes"
85178 else
85179   echo "$as_me: failed program was:" >&5
85180 sed 's/^/| /' conftest.$ac_ext >&5
85181
85182 eval "$as_ac_var=no"
85183 fi
85184 rm -f conftest.err conftest.$ac_objext \
85185       conftest$ac_exeext conftest.$ac_ext
85186 fi
85187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85189 if test `eval echo '${'$as_ac_var'}'` = yes; then
85190   cat >>confdefs.h <<_ACEOF
85191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85192 _ACEOF
85193
85194 fi
85195 done
85196
85197   else
85198
85199   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85200 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85201   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85202     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85203   echo $ECHO_N "(cached) $ECHO_C" >&6
85204 else
85205
85206
85207
85208       ac_ext=cc
85209 ac_cpp='$CXXCPP $CPPFLAGS'
85210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85213
85214       cat >conftest.$ac_ext <<_ACEOF
85215 /* confdefs.h.  */
85216 _ACEOF
85217 cat confdefs.h >>conftest.$ac_ext
85218 cat >>conftest.$ac_ext <<_ACEOF
85219 /* end confdefs.h.  */
85220 #include <math.h>
85221 int
85222 main ()
85223 {
85224  _hypotf(0, 0);
85225   ;
85226   return 0;
85227 }
85228 _ACEOF
85229 rm -f conftest.$ac_objext
85230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85231   (eval $ac_compile) 2>conftest.er1
85232   ac_status=$?
85233   grep -v '^ *+' conftest.er1 >conftest.err
85234   rm -f conftest.er1
85235   cat conftest.err >&5
85236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85237   (exit $ac_status); } &&
85238          { ac_try='test -z "$ac_cxx_werror_flag"
85239                          || test ! -s conftest.err'
85240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85241   (eval $ac_try) 2>&5
85242   ac_status=$?
85243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85244   (exit $ac_status); }; } &&
85245          { ac_try='test -s conftest.$ac_objext'
85246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85247   (eval $ac_try) 2>&5
85248   ac_status=$?
85249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85250   (exit $ac_status); }; }; then
85251   glibcxx_cv_func__hypotf_use=yes
85252 else
85253   echo "$as_me: failed program was:" >&5
85254 sed 's/^/| /' conftest.$ac_ext >&5
85255
85256 glibcxx_cv_func__hypotf_use=no
85257 fi
85258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85259       ac_ext=c
85260 ac_cpp='$CPP $CPPFLAGS'
85261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85264
85265
85266 fi
85267
85268   fi
85269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85270 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85271
85272     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85273
85274 for ac_func in _hypotf
85275 do
85276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85277 echo "$as_me:$LINENO: checking for $ac_func" >&5
85278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85279 if eval "test \"\${$as_ac_var+set}\" = set"; then
85280   echo $ECHO_N "(cached) $ECHO_C" >&6
85281 else
85282   if test x$gcc_no_link = xyes; then
85283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85285    { (exit 1); exit 1; }; }
85286 fi
85287 cat >conftest.$ac_ext <<_ACEOF
85288 /* confdefs.h.  */
85289 _ACEOF
85290 cat confdefs.h >>conftest.$ac_ext
85291 cat >>conftest.$ac_ext <<_ACEOF
85292 /* end confdefs.h.  */
85293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85295 #define $ac_func innocuous_$ac_func
85296
85297 /* System header to define __stub macros and hopefully few prototypes,
85298     which can conflict with char $ac_func (); below.
85299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85300     <limits.h> exists even on freestanding compilers.  */
85301
85302 #ifdef __STDC__
85303 # include <limits.h>
85304 #else
85305 # include <assert.h>
85306 #endif
85307
85308 #undef $ac_func
85309
85310 /* Override any gcc2 internal prototype to avoid an error.  */
85311 #ifdef __cplusplus
85312 extern "C"
85313 {
85314 #endif
85315 /* We use char because int might match the return type of a gcc2
85316    builtin and then its argument prototype would still apply.  */
85317 char $ac_func ();
85318 /* The GNU C library defines this for functions which it implements
85319     to always fail with ENOSYS.  Some functions are actually named
85320     something starting with __ and the normal name is an alias.  */
85321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85322 choke me
85323 #else
85324 char (*f) () = $ac_func;
85325 #endif
85326 #ifdef __cplusplus
85327 }
85328 #endif
85329
85330 int
85331 main ()
85332 {
85333 return f != $ac_func;
85334   ;
85335   return 0;
85336 }
85337 _ACEOF
85338 rm -f conftest.$ac_objext conftest$ac_exeext
85339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85340   (eval $ac_link) 2>conftest.er1
85341   ac_status=$?
85342   grep -v '^ *+' conftest.er1 >conftest.err
85343   rm -f conftest.er1
85344   cat conftest.err >&5
85345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85346   (exit $ac_status); } &&
85347          { ac_try='test -z "$ac_c_werror_flag"
85348                          || test ! -s conftest.err'
85349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85350   (eval $ac_try) 2>&5
85351   ac_status=$?
85352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85353   (exit $ac_status); }; } &&
85354          { ac_try='test -s conftest$ac_exeext'
85355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85356   (eval $ac_try) 2>&5
85357   ac_status=$?
85358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85359   (exit $ac_status); }; }; then
85360   eval "$as_ac_var=yes"
85361 else
85362   echo "$as_me: failed program was:" >&5
85363 sed 's/^/| /' conftest.$ac_ext >&5
85364
85365 eval "$as_ac_var=no"
85366 fi
85367 rm -f conftest.err conftest.$ac_objext \
85368       conftest$ac_exeext conftest.$ac_ext
85369 fi
85370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85372 if test `eval echo '${'$as_ac_var'}'` = yes; then
85373   cat >>confdefs.h <<_ACEOF
85374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85375 _ACEOF
85376
85377 fi
85378 done
85379
85380     fi
85381   fi
85382
85383
85384
85385
85386
85387
85388   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85389 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85390   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85391     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85392   echo $ECHO_N "(cached) $ECHO_C" >&6
85393 else
85394
85395
85396
85397       ac_ext=cc
85398 ac_cpp='$CXXCPP $CPPFLAGS'
85399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85402
85403       cat >conftest.$ac_ext <<_ACEOF
85404 /* confdefs.h.  */
85405 _ACEOF
85406 cat confdefs.h >>conftest.$ac_ext
85407 cat >>conftest.$ac_ext <<_ACEOF
85408 /* end confdefs.h.  */
85409 #include <math.h>
85410 int
85411 main ()
85412 {
85413  ldexpf(0, 0);
85414   ;
85415   return 0;
85416 }
85417 _ACEOF
85418 rm -f conftest.$ac_objext
85419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85420   (eval $ac_compile) 2>conftest.er1
85421   ac_status=$?
85422   grep -v '^ *+' conftest.er1 >conftest.err
85423   rm -f conftest.er1
85424   cat conftest.err >&5
85425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85426   (exit $ac_status); } &&
85427          { ac_try='test -z "$ac_cxx_werror_flag"
85428                          || test ! -s conftest.err'
85429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85430   (eval $ac_try) 2>&5
85431   ac_status=$?
85432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85433   (exit $ac_status); }; } &&
85434          { ac_try='test -s conftest.$ac_objext'
85435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85436   (eval $ac_try) 2>&5
85437   ac_status=$?
85438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85439   (exit $ac_status); }; }; then
85440   glibcxx_cv_func_ldexpf_use=yes
85441 else
85442   echo "$as_me: failed program was:" >&5
85443 sed 's/^/| /' conftest.$ac_ext >&5
85444
85445 glibcxx_cv_func_ldexpf_use=no
85446 fi
85447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85448       ac_ext=c
85449 ac_cpp='$CPP $CPPFLAGS'
85450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85453
85454
85455 fi
85456
85457   fi
85458   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85459 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85460
85461   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85462
85463 for ac_func in ldexpf
85464 do
85465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85466 echo "$as_me:$LINENO: checking for $ac_func" >&5
85467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85468 if eval "test \"\${$as_ac_var+set}\" = set"; then
85469   echo $ECHO_N "(cached) $ECHO_C" >&6
85470 else
85471   if test x$gcc_no_link = xyes; then
85472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85474    { (exit 1); exit 1; }; }
85475 fi
85476 cat >conftest.$ac_ext <<_ACEOF
85477 /* confdefs.h.  */
85478 _ACEOF
85479 cat confdefs.h >>conftest.$ac_ext
85480 cat >>conftest.$ac_ext <<_ACEOF
85481 /* end confdefs.h.  */
85482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85484 #define $ac_func innocuous_$ac_func
85485
85486 /* System header to define __stub macros and hopefully few prototypes,
85487     which can conflict with char $ac_func (); below.
85488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85489     <limits.h> exists even on freestanding compilers.  */
85490
85491 #ifdef __STDC__
85492 # include <limits.h>
85493 #else
85494 # include <assert.h>
85495 #endif
85496
85497 #undef $ac_func
85498
85499 /* Override any gcc2 internal prototype to avoid an error.  */
85500 #ifdef __cplusplus
85501 extern "C"
85502 {
85503 #endif
85504 /* We use char because int might match the return type of a gcc2
85505    builtin and then its argument prototype would still apply.  */
85506 char $ac_func ();
85507 /* The GNU C library defines this for functions which it implements
85508     to always fail with ENOSYS.  Some functions are actually named
85509     something starting with __ and the normal name is an alias.  */
85510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85511 choke me
85512 #else
85513 char (*f) () = $ac_func;
85514 #endif
85515 #ifdef __cplusplus
85516 }
85517 #endif
85518
85519 int
85520 main ()
85521 {
85522 return f != $ac_func;
85523   ;
85524   return 0;
85525 }
85526 _ACEOF
85527 rm -f conftest.$ac_objext conftest$ac_exeext
85528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85529   (eval $ac_link) 2>conftest.er1
85530   ac_status=$?
85531   grep -v '^ *+' conftest.er1 >conftest.err
85532   rm -f conftest.er1
85533   cat conftest.err >&5
85534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85535   (exit $ac_status); } &&
85536          { ac_try='test -z "$ac_c_werror_flag"
85537                          || test ! -s conftest.err'
85538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85539   (eval $ac_try) 2>&5
85540   ac_status=$?
85541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85542   (exit $ac_status); }; } &&
85543          { ac_try='test -s conftest$ac_exeext'
85544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85545   (eval $ac_try) 2>&5
85546   ac_status=$?
85547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85548   (exit $ac_status); }; }; then
85549   eval "$as_ac_var=yes"
85550 else
85551   echo "$as_me: failed program was:" >&5
85552 sed 's/^/| /' conftest.$ac_ext >&5
85553
85554 eval "$as_ac_var=no"
85555 fi
85556 rm -f conftest.err conftest.$ac_objext \
85557       conftest$ac_exeext conftest.$ac_ext
85558 fi
85559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85561 if test `eval echo '${'$as_ac_var'}'` = yes; then
85562   cat >>confdefs.h <<_ACEOF
85563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85564 _ACEOF
85565
85566 fi
85567 done
85568
85569   else
85570
85571   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85572 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85573   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85574     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85575   echo $ECHO_N "(cached) $ECHO_C" >&6
85576 else
85577
85578
85579
85580       ac_ext=cc
85581 ac_cpp='$CXXCPP $CPPFLAGS'
85582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85585
85586       cat >conftest.$ac_ext <<_ACEOF
85587 /* confdefs.h.  */
85588 _ACEOF
85589 cat confdefs.h >>conftest.$ac_ext
85590 cat >>conftest.$ac_ext <<_ACEOF
85591 /* end confdefs.h.  */
85592 #include <math.h>
85593 int
85594 main ()
85595 {
85596  _ldexpf(0, 0);
85597   ;
85598   return 0;
85599 }
85600 _ACEOF
85601 rm -f conftest.$ac_objext
85602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85603   (eval $ac_compile) 2>conftest.er1
85604   ac_status=$?
85605   grep -v '^ *+' conftest.er1 >conftest.err
85606   rm -f conftest.er1
85607   cat conftest.err >&5
85608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85609   (exit $ac_status); } &&
85610          { ac_try='test -z "$ac_cxx_werror_flag"
85611                          || test ! -s conftest.err'
85612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85613   (eval $ac_try) 2>&5
85614   ac_status=$?
85615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85616   (exit $ac_status); }; } &&
85617          { ac_try='test -s conftest.$ac_objext'
85618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85619   (eval $ac_try) 2>&5
85620   ac_status=$?
85621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85622   (exit $ac_status); }; }; then
85623   glibcxx_cv_func__ldexpf_use=yes
85624 else
85625   echo "$as_me: failed program was:" >&5
85626 sed 's/^/| /' conftest.$ac_ext >&5
85627
85628 glibcxx_cv_func__ldexpf_use=no
85629 fi
85630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85631       ac_ext=c
85632 ac_cpp='$CPP $CPPFLAGS'
85633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85636
85637
85638 fi
85639
85640   fi
85641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85642 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85643
85644     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85645
85646 for ac_func in _ldexpf
85647 do
85648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85649 echo "$as_me:$LINENO: checking for $ac_func" >&5
85650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85651 if eval "test \"\${$as_ac_var+set}\" = set"; then
85652   echo $ECHO_N "(cached) $ECHO_C" >&6
85653 else
85654   if test x$gcc_no_link = xyes; then
85655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85657    { (exit 1); exit 1; }; }
85658 fi
85659 cat >conftest.$ac_ext <<_ACEOF
85660 /* confdefs.h.  */
85661 _ACEOF
85662 cat confdefs.h >>conftest.$ac_ext
85663 cat >>conftest.$ac_ext <<_ACEOF
85664 /* end confdefs.h.  */
85665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85667 #define $ac_func innocuous_$ac_func
85668
85669 /* System header to define __stub macros and hopefully few prototypes,
85670     which can conflict with char $ac_func (); below.
85671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85672     <limits.h> exists even on freestanding compilers.  */
85673
85674 #ifdef __STDC__
85675 # include <limits.h>
85676 #else
85677 # include <assert.h>
85678 #endif
85679
85680 #undef $ac_func
85681
85682 /* Override any gcc2 internal prototype to avoid an error.  */
85683 #ifdef __cplusplus
85684 extern "C"
85685 {
85686 #endif
85687 /* We use char because int might match the return type of a gcc2
85688    builtin and then its argument prototype would still apply.  */
85689 char $ac_func ();
85690 /* The GNU C library defines this for functions which it implements
85691     to always fail with ENOSYS.  Some functions are actually named
85692     something starting with __ and the normal name is an alias.  */
85693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85694 choke me
85695 #else
85696 char (*f) () = $ac_func;
85697 #endif
85698 #ifdef __cplusplus
85699 }
85700 #endif
85701
85702 int
85703 main ()
85704 {
85705 return f != $ac_func;
85706   ;
85707   return 0;
85708 }
85709 _ACEOF
85710 rm -f conftest.$ac_objext conftest$ac_exeext
85711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85712   (eval $ac_link) 2>conftest.er1
85713   ac_status=$?
85714   grep -v '^ *+' conftest.er1 >conftest.err
85715   rm -f conftest.er1
85716   cat conftest.err >&5
85717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85718   (exit $ac_status); } &&
85719          { ac_try='test -z "$ac_c_werror_flag"
85720                          || test ! -s conftest.err'
85721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85722   (eval $ac_try) 2>&5
85723   ac_status=$?
85724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725   (exit $ac_status); }; } &&
85726          { ac_try='test -s conftest$ac_exeext'
85727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85728   (eval $ac_try) 2>&5
85729   ac_status=$?
85730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85731   (exit $ac_status); }; }; then
85732   eval "$as_ac_var=yes"
85733 else
85734   echo "$as_me: failed program was:" >&5
85735 sed 's/^/| /' conftest.$ac_ext >&5
85736
85737 eval "$as_ac_var=no"
85738 fi
85739 rm -f conftest.err conftest.$ac_objext \
85740       conftest$ac_exeext conftest.$ac_ext
85741 fi
85742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85744 if test `eval echo '${'$as_ac_var'}'` = yes; then
85745   cat >>confdefs.h <<_ACEOF
85746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85747 _ACEOF
85748
85749 fi
85750 done
85751
85752     fi
85753   fi
85754
85755
85756
85757
85758
85759
85760   echo "$as_me:$LINENO: checking for logf declaration" >&5
85761 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
85762   if test x${glibcxx_cv_func_logf_use+set} != xset; then
85763     if test "${glibcxx_cv_func_logf_use+set}" = set; then
85764   echo $ECHO_N "(cached) $ECHO_C" >&6
85765 else
85766
85767
85768
85769       ac_ext=cc
85770 ac_cpp='$CXXCPP $CPPFLAGS'
85771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85774
85775       cat >conftest.$ac_ext <<_ACEOF
85776 /* confdefs.h.  */
85777 _ACEOF
85778 cat confdefs.h >>conftest.$ac_ext
85779 cat >>conftest.$ac_ext <<_ACEOF
85780 /* end confdefs.h.  */
85781 #include <math.h>
85782                       #ifdef HAVE_IEEEFP_H
85783                       #include <ieeefp.h>
85784                       #endif
85785
85786 int
85787 main ()
85788 {
85789  logf(0);
85790   ;
85791   return 0;
85792 }
85793 _ACEOF
85794 rm -f conftest.$ac_objext
85795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85796   (eval $ac_compile) 2>conftest.er1
85797   ac_status=$?
85798   grep -v '^ *+' conftest.er1 >conftest.err
85799   rm -f conftest.er1
85800   cat conftest.err >&5
85801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802   (exit $ac_status); } &&
85803          { ac_try='test -z "$ac_cxx_werror_flag"
85804                          || test ! -s conftest.err'
85805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85806   (eval $ac_try) 2>&5
85807   ac_status=$?
85808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85809   (exit $ac_status); }; } &&
85810          { ac_try='test -s conftest.$ac_objext'
85811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85812   (eval $ac_try) 2>&5
85813   ac_status=$?
85814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85815   (exit $ac_status); }; }; then
85816   glibcxx_cv_func_logf_use=yes
85817 else
85818   echo "$as_me: failed program was:" >&5
85819 sed 's/^/| /' conftest.$ac_ext >&5
85820
85821 glibcxx_cv_func_logf_use=no
85822 fi
85823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85824       ac_ext=c
85825 ac_cpp='$CPP $CPPFLAGS'
85826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85829
85830
85831 fi
85832
85833   fi
85834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
85835 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
85836
85837   if test x$glibcxx_cv_func_logf_use = x"yes"; then
85838
85839 for ac_func in logf
85840 do
85841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85842 echo "$as_me:$LINENO: checking for $ac_func" >&5
85843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85844 if eval "test \"\${$as_ac_var+set}\" = set"; then
85845   echo $ECHO_N "(cached) $ECHO_C" >&6
85846 else
85847   if test x$gcc_no_link = xyes; then
85848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85850    { (exit 1); exit 1; }; }
85851 fi
85852 cat >conftest.$ac_ext <<_ACEOF
85853 /* confdefs.h.  */
85854 _ACEOF
85855 cat confdefs.h >>conftest.$ac_ext
85856 cat >>conftest.$ac_ext <<_ACEOF
85857 /* end confdefs.h.  */
85858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85860 #define $ac_func innocuous_$ac_func
85861
85862 /* System header to define __stub macros and hopefully few prototypes,
85863     which can conflict with char $ac_func (); below.
85864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85865     <limits.h> exists even on freestanding compilers.  */
85866
85867 #ifdef __STDC__
85868 # include <limits.h>
85869 #else
85870 # include <assert.h>
85871 #endif
85872
85873 #undef $ac_func
85874
85875 /* Override any gcc2 internal prototype to avoid an error.  */
85876 #ifdef __cplusplus
85877 extern "C"
85878 {
85879 #endif
85880 /* We use char because int might match the return type of a gcc2
85881    builtin and then its argument prototype would still apply.  */
85882 char $ac_func ();
85883 /* The GNU C library defines this for functions which it implements
85884     to always fail with ENOSYS.  Some functions are actually named
85885     something starting with __ and the normal name is an alias.  */
85886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85887 choke me
85888 #else
85889 char (*f) () = $ac_func;
85890 #endif
85891 #ifdef __cplusplus
85892 }
85893 #endif
85894
85895 int
85896 main ()
85897 {
85898 return f != $ac_func;
85899   ;
85900   return 0;
85901 }
85902 _ACEOF
85903 rm -f conftest.$ac_objext conftest$ac_exeext
85904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85905   (eval $ac_link) 2>conftest.er1
85906   ac_status=$?
85907   grep -v '^ *+' conftest.er1 >conftest.err
85908   rm -f conftest.er1
85909   cat conftest.err >&5
85910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85911   (exit $ac_status); } &&
85912          { ac_try='test -z "$ac_c_werror_flag"
85913                          || test ! -s conftest.err'
85914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915   (eval $ac_try) 2>&5
85916   ac_status=$?
85917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918   (exit $ac_status); }; } &&
85919          { ac_try='test -s conftest$ac_exeext'
85920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85921   (eval $ac_try) 2>&5
85922   ac_status=$?
85923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85924   (exit $ac_status); }; }; then
85925   eval "$as_ac_var=yes"
85926 else
85927   echo "$as_me: failed program was:" >&5
85928 sed 's/^/| /' conftest.$ac_ext >&5
85929
85930 eval "$as_ac_var=no"
85931 fi
85932 rm -f conftest.err conftest.$ac_objext \
85933       conftest$ac_exeext conftest.$ac_ext
85934 fi
85935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85937 if test `eval echo '${'$as_ac_var'}'` = yes; then
85938   cat >>confdefs.h <<_ACEOF
85939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85940 _ACEOF
85941
85942 fi
85943 done
85944
85945   else
85946
85947   echo "$as_me:$LINENO: checking for _logf declaration" >&5
85948 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
85949   if test x${glibcxx_cv_func__logf_use+set} != xset; then
85950     if test "${glibcxx_cv_func__logf_use+set}" = set; then
85951   echo $ECHO_N "(cached) $ECHO_C" >&6
85952 else
85953
85954
85955
85956       ac_ext=cc
85957 ac_cpp='$CXXCPP $CPPFLAGS'
85958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85961
85962       cat >conftest.$ac_ext <<_ACEOF
85963 /* confdefs.h.  */
85964 _ACEOF
85965 cat confdefs.h >>conftest.$ac_ext
85966 cat >>conftest.$ac_ext <<_ACEOF
85967 /* end confdefs.h.  */
85968 #include <math.h>
85969                       #ifdef HAVE_IEEEFP_H
85970                       #include <ieeefp.h>
85971                       #endif
85972
85973 int
85974 main ()
85975 {
85976  _logf(0);
85977   ;
85978   return 0;
85979 }
85980 _ACEOF
85981 rm -f conftest.$ac_objext
85982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85983   (eval $ac_compile) 2>conftest.er1
85984   ac_status=$?
85985   grep -v '^ *+' conftest.er1 >conftest.err
85986   rm -f conftest.er1
85987   cat conftest.err >&5
85988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85989   (exit $ac_status); } &&
85990          { ac_try='test -z "$ac_cxx_werror_flag"
85991                          || test ! -s conftest.err'
85992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85993   (eval $ac_try) 2>&5
85994   ac_status=$?
85995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85996   (exit $ac_status); }; } &&
85997          { ac_try='test -s conftest.$ac_objext'
85998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85999   (eval $ac_try) 2>&5
86000   ac_status=$?
86001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86002   (exit $ac_status); }; }; then
86003   glibcxx_cv_func__logf_use=yes
86004 else
86005   echo "$as_me: failed program was:" >&5
86006 sed 's/^/| /' conftest.$ac_ext >&5
86007
86008 glibcxx_cv_func__logf_use=no
86009 fi
86010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86011       ac_ext=c
86012 ac_cpp='$CPP $CPPFLAGS'
86013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86016
86017
86018 fi
86019
86020   fi
86021   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86022 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86023
86024     if test x$glibcxx_cv_func__logf_use = x"yes"; then
86025
86026 for ac_func in _logf
86027 do
86028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86029 echo "$as_me:$LINENO: checking for $ac_func" >&5
86030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86031 if eval "test \"\${$as_ac_var+set}\" = set"; then
86032   echo $ECHO_N "(cached) $ECHO_C" >&6
86033 else
86034   if test x$gcc_no_link = xyes; then
86035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86037    { (exit 1); exit 1; }; }
86038 fi
86039 cat >conftest.$ac_ext <<_ACEOF
86040 /* confdefs.h.  */
86041 _ACEOF
86042 cat confdefs.h >>conftest.$ac_ext
86043 cat >>conftest.$ac_ext <<_ACEOF
86044 /* end confdefs.h.  */
86045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86047 #define $ac_func innocuous_$ac_func
86048
86049 /* System header to define __stub macros and hopefully few prototypes,
86050     which can conflict with char $ac_func (); below.
86051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86052     <limits.h> exists even on freestanding compilers.  */
86053
86054 #ifdef __STDC__
86055 # include <limits.h>
86056 #else
86057 # include <assert.h>
86058 #endif
86059
86060 #undef $ac_func
86061
86062 /* Override any gcc2 internal prototype to avoid an error.  */
86063 #ifdef __cplusplus
86064 extern "C"
86065 {
86066 #endif
86067 /* We use char because int might match the return type of a gcc2
86068    builtin and then its argument prototype would still apply.  */
86069 char $ac_func ();
86070 /* The GNU C library defines this for functions which it implements
86071     to always fail with ENOSYS.  Some functions are actually named
86072     something starting with __ and the normal name is an alias.  */
86073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86074 choke me
86075 #else
86076 char (*f) () = $ac_func;
86077 #endif
86078 #ifdef __cplusplus
86079 }
86080 #endif
86081
86082 int
86083 main ()
86084 {
86085 return f != $ac_func;
86086   ;
86087   return 0;
86088 }
86089 _ACEOF
86090 rm -f conftest.$ac_objext conftest$ac_exeext
86091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86092   (eval $ac_link) 2>conftest.er1
86093   ac_status=$?
86094   grep -v '^ *+' conftest.er1 >conftest.err
86095   rm -f conftest.er1
86096   cat conftest.err >&5
86097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86098   (exit $ac_status); } &&
86099          { ac_try='test -z "$ac_c_werror_flag"
86100                          || test ! -s conftest.err'
86101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86102   (eval $ac_try) 2>&5
86103   ac_status=$?
86104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86105   (exit $ac_status); }; } &&
86106          { ac_try='test -s conftest$ac_exeext'
86107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86108   (eval $ac_try) 2>&5
86109   ac_status=$?
86110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86111   (exit $ac_status); }; }; then
86112   eval "$as_ac_var=yes"
86113 else
86114   echo "$as_me: failed program was:" >&5
86115 sed 's/^/| /' conftest.$ac_ext >&5
86116
86117 eval "$as_ac_var=no"
86118 fi
86119 rm -f conftest.err conftest.$ac_objext \
86120       conftest$ac_exeext conftest.$ac_ext
86121 fi
86122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86124 if test `eval echo '${'$as_ac_var'}'` = yes; then
86125   cat >>confdefs.h <<_ACEOF
86126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86127 _ACEOF
86128
86129 fi
86130 done
86131
86132     fi
86133   fi
86134
86135
86136
86137
86138
86139
86140   echo "$as_me:$LINENO: checking for log10f declaration" >&5
86141 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86142   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86143     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86144   echo $ECHO_N "(cached) $ECHO_C" >&6
86145 else
86146
86147
86148
86149       ac_ext=cc
86150 ac_cpp='$CXXCPP $CPPFLAGS'
86151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86154
86155       cat >conftest.$ac_ext <<_ACEOF
86156 /* confdefs.h.  */
86157 _ACEOF
86158 cat confdefs.h >>conftest.$ac_ext
86159 cat >>conftest.$ac_ext <<_ACEOF
86160 /* end confdefs.h.  */
86161 #include <math.h>
86162                       #ifdef HAVE_IEEEFP_H
86163                       #include <ieeefp.h>
86164                       #endif
86165
86166 int
86167 main ()
86168 {
86169  log10f(0);
86170   ;
86171   return 0;
86172 }
86173 _ACEOF
86174 rm -f conftest.$ac_objext
86175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86176   (eval $ac_compile) 2>conftest.er1
86177   ac_status=$?
86178   grep -v '^ *+' conftest.er1 >conftest.err
86179   rm -f conftest.er1
86180   cat conftest.err >&5
86181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86182   (exit $ac_status); } &&
86183          { ac_try='test -z "$ac_cxx_werror_flag"
86184                          || test ! -s conftest.err'
86185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86186   (eval $ac_try) 2>&5
86187   ac_status=$?
86188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86189   (exit $ac_status); }; } &&
86190          { ac_try='test -s conftest.$ac_objext'
86191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86192   (eval $ac_try) 2>&5
86193   ac_status=$?
86194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86195   (exit $ac_status); }; }; then
86196   glibcxx_cv_func_log10f_use=yes
86197 else
86198   echo "$as_me: failed program was:" >&5
86199 sed 's/^/| /' conftest.$ac_ext >&5
86200
86201 glibcxx_cv_func_log10f_use=no
86202 fi
86203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86204       ac_ext=c
86205 ac_cpp='$CPP $CPPFLAGS'
86206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86209
86210
86211 fi
86212
86213   fi
86214   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86215 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86216
86217   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86218
86219 for ac_func in log10f
86220 do
86221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86222 echo "$as_me:$LINENO: checking for $ac_func" >&5
86223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86224 if eval "test \"\${$as_ac_var+set}\" = set"; then
86225   echo $ECHO_N "(cached) $ECHO_C" >&6
86226 else
86227   if test x$gcc_no_link = xyes; then
86228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86230    { (exit 1); exit 1; }; }
86231 fi
86232 cat >conftest.$ac_ext <<_ACEOF
86233 /* confdefs.h.  */
86234 _ACEOF
86235 cat confdefs.h >>conftest.$ac_ext
86236 cat >>conftest.$ac_ext <<_ACEOF
86237 /* end confdefs.h.  */
86238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86240 #define $ac_func innocuous_$ac_func
86241
86242 /* System header to define __stub macros and hopefully few prototypes,
86243     which can conflict with char $ac_func (); below.
86244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86245     <limits.h> exists even on freestanding compilers.  */
86246
86247 #ifdef __STDC__
86248 # include <limits.h>
86249 #else
86250 # include <assert.h>
86251 #endif
86252
86253 #undef $ac_func
86254
86255 /* Override any gcc2 internal prototype to avoid an error.  */
86256 #ifdef __cplusplus
86257 extern "C"
86258 {
86259 #endif
86260 /* We use char because int might match the return type of a gcc2
86261    builtin and then its argument prototype would still apply.  */
86262 char $ac_func ();
86263 /* The GNU C library defines this for functions which it implements
86264     to always fail with ENOSYS.  Some functions are actually named
86265     something starting with __ and the normal name is an alias.  */
86266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86267 choke me
86268 #else
86269 char (*f) () = $ac_func;
86270 #endif
86271 #ifdef __cplusplus
86272 }
86273 #endif
86274
86275 int
86276 main ()
86277 {
86278 return f != $ac_func;
86279   ;
86280   return 0;
86281 }
86282 _ACEOF
86283 rm -f conftest.$ac_objext conftest$ac_exeext
86284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86285   (eval $ac_link) 2>conftest.er1
86286   ac_status=$?
86287   grep -v '^ *+' conftest.er1 >conftest.err
86288   rm -f conftest.er1
86289   cat conftest.err >&5
86290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86291   (exit $ac_status); } &&
86292          { ac_try='test -z "$ac_c_werror_flag"
86293                          || test ! -s conftest.err'
86294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86295   (eval $ac_try) 2>&5
86296   ac_status=$?
86297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86298   (exit $ac_status); }; } &&
86299          { ac_try='test -s conftest$ac_exeext'
86300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86301   (eval $ac_try) 2>&5
86302   ac_status=$?
86303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86304   (exit $ac_status); }; }; then
86305   eval "$as_ac_var=yes"
86306 else
86307   echo "$as_me: failed program was:" >&5
86308 sed 's/^/| /' conftest.$ac_ext >&5
86309
86310 eval "$as_ac_var=no"
86311 fi
86312 rm -f conftest.err conftest.$ac_objext \
86313       conftest$ac_exeext conftest.$ac_ext
86314 fi
86315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86317 if test `eval echo '${'$as_ac_var'}'` = yes; then
86318   cat >>confdefs.h <<_ACEOF
86319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86320 _ACEOF
86321
86322 fi
86323 done
86324
86325   else
86326
86327   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86328 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86329   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86330     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86331   echo $ECHO_N "(cached) $ECHO_C" >&6
86332 else
86333
86334
86335
86336       ac_ext=cc
86337 ac_cpp='$CXXCPP $CPPFLAGS'
86338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86341
86342       cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h.  */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h.  */
86348 #include <math.h>
86349                       #ifdef HAVE_IEEEFP_H
86350                       #include <ieeefp.h>
86351                       #endif
86352
86353 int
86354 main ()
86355 {
86356  _log10f(0);
86357   ;
86358   return 0;
86359 }
86360 _ACEOF
86361 rm -f conftest.$ac_objext
86362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86363   (eval $ac_compile) 2>conftest.er1
86364   ac_status=$?
86365   grep -v '^ *+' conftest.er1 >conftest.err
86366   rm -f conftest.er1
86367   cat conftest.err >&5
86368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86369   (exit $ac_status); } &&
86370          { ac_try='test -z "$ac_cxx_werror_flag"
86371                          || test ! -s conftest.err'
86372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86373   (eval $ac_try) 2>&5
86374   ac_status=$?
86375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86376   (exit $ac_status); }; } &&
86377          { ac_try='test -s conftest.$ac_objext'
86378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379   (eval $ac_try) 2>&5
86380   ac_status=$?
86381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382   (exit $ac_status); }; }; then
86383   glibcxx_cv_func__log10f_use=yes
86384 else
86385   echo "$as_me: failed program was:" >&5
86386 sed 's/^/| /' conftest.$ac_ext >&5
86387
86388 glibcxx_cv_func__log10f_use=no
86389 fi
86390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86391       ac_ext=c
86392 ac_cpp='$CPP $CPPFLAGS'
86393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86396
86397
86398 fi
86399
86400   fi
86401   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86402 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86403
86404     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86405
86406 for ac_func in _log10f
86407 do
86408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86409 echo "$as_me:$LINENO: checking for $ac_func" >&5
86410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86411 if eval "test \"\${$as_ac_var+set}\" = set"; then
86412   echo $ECHO_N "(cached) $ECHO_C" >&6
86413 else
86414   if test x$gcc_no_link = xyes; then
86415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86417    { (exit 1); exit 1; }; }
86418 fi
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h.  */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h.  */
86425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86427 #define $ac_func innocuous_$ac_func
86428
86429 /* System header to define __stub macros and hopefully few prototypes,
86430     which can conflict with char $ac_func (); below.
86431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86432     <limits.h> exists even on freestanding compilers.  */
86433
86434 #ifdef __STDC__
86435 # include <limits.h>
86436 #else
86437 # include <assert.h>
86438 #endif
86439
86440 #undef $ac_func
86441
86442 /* Override any gcc2 internal prototype to avoid an error.  */
86443 #ifdef __cplusplus
86444 extern "C"
86445 {
86446 #endif
86447 /* We use char because int might match the return type of a gcc2
86448    builtin and then its argument prototype would still apply.  */
86449 char $ac_func ();
86450 /* The GNU C library defines this for functions which it implements
86451     to always fail with ENOSYS.  Some functions are actually named
86452     something starting with __ and the normal name is an alias.  */
86453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86454 choke me
86455 #else
86456 char (*f) () = $ac_func;
86457 #endif
86458 #ifdef __cplusplus
86459 }
86460 #endif
86461
86462 int
86463 main ()
86464 {
86465 return f != $ac_func;
86466   ;
86467   return 0;
86468 }
86469 _ACEOF
86470 rm -f conftest.$ac_objext conftest$ac_exeext
86471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86472   (eval $ac_link) 2>conftest.er1
86473   ac_status=$?
86474   grep -v '^ *+' conftest.er1 >conftest.err
86475   rm -f conftest.er1
86476   cat conftest.err >&5
86477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86478   (exit $ac_status); } &&
86479          { ac_try='test -z "$ac_c_werror_flag"
86480                          || test ! -s conftest.err'
86481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86482   (eval $ac_try) 2>&5
86483   ac_status=$?
86484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86485   (exit $ac_status); }; } &&
86486          { ac_try='test -s conftest$ac_exeext'
86487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86488   (eval $ac_try) 2>&5
86489   ac_status=$?
86490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86491   (exit $ac_status); }; }; then
86492   eval "$as_ac_var=yes"
86493 else
86494   echo "$as_me: failed program was:" >&5
86495 sed 's/^/| /' conftest.$ac_ext >&5
86496
86497 eval "$as_ac_var=no"
86498 fi
86499 rm -f conftest.err conftest.$ac_objext \
86500       conftest$ac_exeext conftest.$ac_ext
86501 fi
86502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86504 if test `eval echo '${'$as_ac_var'}'` = yes; then
86505   cat >>confdefs.h <<_ACEOF
86506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86507 _ACEOF
86508
86509 fi
86510 done
86511
86512     fi
86513   fi
86514
86515
86516
86517
86518
86519
86520   echo "$as_me:$LINENO: checking for modff declaration" >&5
86521 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86522   if test x${glibcxx_cv_func_modff_use+set} != xset; then
86523     if test "${glibcxx_cv_func_modff_use+set}" = set; then
86524   echo $ECHO_N "(cached) $ECHO_C" >&6
86525 else
86526
86527
86528
86529       ac_ext=cc
86530 ac_cpp='$CXXCPP $CPPFLAGS'
86531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86534
86535       cat >conftest.$ac_ext <<_ACEOF
86536 /* confdefs.h.  */
86537 _ACEOF
86538 cat confdefs.h >>conftest.$ac_ext
86539 cat >>conftest.$ac_ext <<_ACEOF
86540 /* end confdefs.h.  */
86541 #include <math.h>
86542 int
86543 main ()
86544 {
86545  modff(0, 0);
86546   ;
86547   return 0;
86548 }
86549 _ACEOF
86550 rm -f conftest.$ac_objext
86551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86552   (eval $ac_compile) 2>conftest.er1
86553   ac_status=$?
86554   grep -v '^ *+' conftest.er1 >conftest.err
86555   rm -f conftest.er1
86556   cat conftest.err >&5
86557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86558   (exit $ac_status); } &&
86559          { ac_try='test -z "$ac_cxx_werror_flag"
86560                          || test ! -s conftest.err'
86561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86562   (eval $ac_try) 2>&5
86563   ac_status=$?
86564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86565   (exit $ac_status); }; } &&
86566          { ac_try='test -s conftest.$ac_objext'
86567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86568   (eval $ac_try) 2>&5
86569   ac_status=$?
86570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571   (exit $ac_status); }; }; then
86572   glibcxx_cv_func_modff_use=yes
86573 else
86574   echo "$as_me: failed program was:" >&5
86575 sed 's/^/| /' conftest.$ac_ext >&5
86576
86577 glibcxx_cv_func_modff_use=no
86578 fi
86579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86580       ac_ext=c
86581 ac_cpp='$CPP $CPPFLAGS'
86582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86585
86586
86587 fi
86588
86589   fi
86590   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86591 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86592
86593   if test x$glibcxx_cv_func_modff_use = x"yes"; then
86594
86595 for ac_func in modff
86596 do
86597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86598 echo "$as_me:$LINENO: checking for $ac_func" >&5
86599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86600 if eval "test \"\${$as_ac_var+set}\" = set"; then
86601   echo $ECHO_N "(cached) $ECHO_C" >&6
86602 else
86603   if test x$gcc_no_link = xyes; then
86604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86606    { (exit 1); exit 1; }; }
86607 fi
86608 cat >conftest.$ac_ext <<_ACEOF
86609 /* confdefs.h.  */
86610 _ACEOF
86611 cat confdefs.h >>conftest.$ac_ext
86612 cat >>conftest.$ac_ext <<_ACEOF
86613 /* end confdefs.h.  */
86614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86616 #define $ac_func innocuous_$ac_func
86617
86618 /* System header to define __stub macros and hopefully few prototypes,
86619     which can conflict with char $ac_func (); below.
86620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86621     <limits.h> exists even on freestanding compilers.  */
86622
86623 #ifdef __STDC__
86624 # include <limits.h>
86625 #else
86626 # include <assert.h>
86627 #endif
86628
86629 #undef $ac_func
86630
86631 /* Override any gcc2 internal prototype to avoid an error.  */
86632 #ifdef __cplusplus
86633 extern "C"
86634 {
86635 #endif
86636 /* We use char because int might match the return type of a gcc2
86637    builtin and then its argument prototype would still apply.  */
86638 char $ac_func ();
86639 /* The GNU C library defines this for functions which it implements
86640     to always fail with ENOSYS.  Some functions are actually named
86641     something starting with __ and the normal name is an alias.  */
86642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86643 choke me
86644 #else
86645 char (*f) () = $ac_func;
86646 #endif
86647 #ifdef __cplusplus
86648 }
86649 #endif
86650
86651 int
86652 main ()
86653 {
86654 return f != $ac_func;
86655   ;
86656   return 0;
86657 }
86658 _ACEOF
86659 rm -f conftest.$ac_objext conftest$ac_exeext
86660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86661   (eval $ac_link) 2>conftest.er1
86662   ac_status=$?
86663   grep -v '^ *+' conftest.er1 >conftest.err
86664   rm -f conftest.er1
86665   cat conftest.err >&5
86666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86667   (exit $ac_status); } &&
86668          { ac_try='test -z "$ac_c_werror_flag"
86669                          || test ! -s conftest.err'
86670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86671   (eval $ac_try) 2>&5
86672   ac_status=$?
86673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86674   (exit $ac_status); }; } &&
86675          { ac_try='test -s conftest$ac_exeext'
86676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86677   (eval $ac_try) 2>&5
86678   ac_status=$?
86679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86680   (exit $ac_status); }; }; then
86681   eval "$as_ac_var=yes"
86682 else
86683   echo "$as_me: failed program was:" >&5
86684 sed 's/^/| /' conftest.$ac_ext >&5
86685
86686 eval "$as_ac_var=no"
86687 fi
86688 rm -f conftest.err conftest.$ac_objext \
86689       conftest$ac_exeext conftest.$ac_ext
86690 fi
86691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86693 if test `eval echo '${'$as_ac_var'}'` = yes; then
86694   cat >>confdefs.h <<_ACEOF
86695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86696 _ACEOF
86697
86698 fi
86699 done
86700
86701   else
86702
86703   echo "$as_me:$LINENO: checking for _modff declaration" >&5
86704 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86705   if test x${glibcxx_cv_func__modff_use+set} != xset; then
86706     if test "${glibcxx_cv_func__modff_use+set}" = set; then
86707   echo $ECHO_N "(cached) $ECHO_C" >&6
86708 else
86709
86710
86711
86712       ac_ext=cc
86713 ac_cpp='$CXXCPP $CPPFLAGS'
86714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86717
86718       cat >conftest.$ac_ext <<_ACEOF
86719 /* confdefs.h.  */
86720 _ACEOF
86721 cat confdefs.h >>conftest.$ac_ext
86722 cat >>conftest.$ac_ext <<_ACEOF
86723 /* end confdefs.h.  */
86724 #include <math.h>
86725 int
86726 main ()
86727 {
86728  _modff(0, 0);
86729   ;
86730   return 0;
86731 }
86732 _ACEOF
86733 rm -f conftest.$ac_objext
86734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86735   (eval $ac_compile) 2>conftest.er1
86736   ac_status=$?
86737   grep -v '^ *+' conftest.er1 >conftest.err
86738   rm -f conftest.er1
86739   cat conftest.err >&5
86740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86741   (exit $ac_status); } &&
86742          { ac_try='test -z "$ac_cxx_werror_flag"
86743                          || test ! -s conftest.err'
86744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86745   (eval $ac_try) 2>&5
86746   ac_status=$?
86747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86748   (exit $ac_status); }; } &&
86749          { ac_try='test -s conftest.$ac_objext'
86750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86751   (eval $ac_try) 2>&5
86752   ac_status=$?
86753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86754   (exit $ac_status); }; }; then
86755   glibcxx_cv_func__modff_use=yes
86756 else
86757   echo "$as_me: failed program was:" >&5
86758 sed 's/^/| /' conftest.$ac_ext >&5
86759
86760 glibcxx_cv_func__modff_use=no
86761 fi
86762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86763       ac_ext=c
86764 ac_cpp='$CPP $CPPFLAGS'
86765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86768
86769
86770 fi
86771
86772   fi
86773   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
86774 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
86775
86776     if test x$glibcxx_cv_func__modff_use = x"yes"; then
86777
86778 for ac_func in _modff
86779 do
86780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86781 echo "$as_me:$LINENO: checking for $ac_func" >&5
86782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86783 if eval "test \"\${$as_ac_var+set}\" = set"; then
86784   echo $ECHO_N "(cached) $ECHO_C" >&6
86785 else
86786   if test x$gcc_no_link = xyes; then
86787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86789    { (exit 1); exit 1; }; }
86790 fi
86791 cat >conftest.$ac_ext <<_ACEOF
86792 /* confdefs.h.  */
86793 _ACEOF
86794 cat confdefs.h >>conftest.$ac_ext
86795 cat >>conftest.$ac_ext <<_ACEOF
86796 /* end confdefs.h.  */
86797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86799 #define $ac_func innocuous_$ac_func
86800
86801 /* System header to define __stub macros and hopefully few prototypes,
86802     which can conflict with char $ac_func (); below.
86803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86804     <limits.h> exists even on freestanding compilers.  */
86805
86806 #ifdef __STDC__
86807 # include <limits.h>
86808 #else
86809 # include <assert.h>
86810 #endif
86811
86812 #undef $ac_func
86813
86814 /* Override any gcc2 internal prototype to avoid an error.  */
86815 #ifdef __cplusplus
86816 extern "C"
86817 {
86818 #endif
86819 /* We use char because int might match the return type of a gcc2
86820    builtin and then its argument prototype would still apply.  */
86821 char $ac_func ();
86822 /* The GNU C library defines this for functions which it implements
86823     to always fail with ENOSYS.  Some functions are actually named
86824     something starting with __ and the normal name is an alias.  */
86825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86826 choke me
86827 #else
86828 char (*f) () = $ac_func;
86829 #endif
86830 #ifdef __cplusplus
86831 }
86832 #endif
86833
86834 int
86835 main ()
86836 {
86837 return f != $ac_func;
86838   ;
86839   return 0;
86840 }
86841 _ACEOF
86842 rm -f conftest.$ac_objext conftest$ac_exeext
86843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86844   (eval $ac_link) 2>conftest.er1
86845   ac_status=$?
86846   grep -v '^ *+' conftest.er1 >conftest.err
86847   rm -f conftest.er1
86848   cat conftest.err >&5
86849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86850   (exit $ac_status); } &&
86851          { ac_try='test -z "$ac_c_werror_flag"
86852                          || test ! -s conftest.err'
86853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86854   (eval $ac_try) 2>&5
86855   ac_status=$?
86856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86857   (exit $ac_status); }; } &&
86858          { ac_try='test -s conftest$ac_exeext'
86859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86860   (eval $ac_try) 2>&5
86861   ac_status=$?
86862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86863   (exit $ac_status); }; }; then
86864   eval "$as_ac_var=yes"
86865 else
86866   echo "$as_me: failed program was:" >&5
86867 sed 's/^/| /' conftest.$ac_ext >&5
86868
86869 eval "$as_ac_var=no"
86870 fi
86871 rm -f conftest.err conftest.$ac_objext \
86872       conftest$ac_exeext conftest.$ac_ext
86873 fi
86874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86876 if test `eval echo '${'$as_ac_var'}'` = yes; then
86877   cat >>confdefs.h <<_ACEOF
86878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86879 _ACEOF
86880
86881 fi
86882 done
86883
86884     fi
86885   fi
86886
86887
86888
86889
86890
86891
86892   echo "$as_me:$LINENO: checking for modf declaration" >&5
86893 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
86894   if test x${glibcxx_cv_func_modf_use+set} != xset; then
86895     if test "${glibcxx_cv_func_modf_use+set}" = set; then
86896   echo $ECHO_N "(cached) $ECHO_C" >&6
86897 else
86898
86899
86900
86901       ac_ext=cc
86902 ac_cpp='$CXXCPP $CPPFLAGS'
86903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86906
86907       cat >conftest.$ac_ext <<_ACEOF
86908 /* confdefs.h.  */
86909 _ACEOF
86910 cat confdefs.h >>conftest.$ac_ext
86911 cat >>conftest.$ac_ext <<_ACEOF
86912 /* end confdefs.h.  */
86913 #include <math.h>
86914 int
86915 main ()
86916 {
86917  modf(0, 0);
86918   ;
86919   return 0;
86920 }
86921 _ACEOF
86922 rm -f conftest.$ac_objext
86923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86924   (eval $ac_compile) 2>conftest.er1
86925   ac_status=$?
86926   grep -v '^ *+' conftest.er1 >conftest.err
86927   rm -f conftest.er1
86928   cat conftest.err >&5
86929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86930   (exit $ac_status); } &&
86931          { ac_try='test -z "$ac_cxx_werror_flag"
86932                          || test ! -s conftest.err'
86933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86934   (eval $ac_try) 2>&5
86935   ac_status=$?
86936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86937   (exit $ac_status); }; } &&
86938          { ac_try='test -s conftest.$ac_objext'
86939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86940   (eval $ac_try) 2>&5
86941   ac_status=$?
86942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86943   (exit $ac_status); }; }; then
86944   glibcxx_cv_func_modf_use=yes
86945 else
86946   echo "$as_me: failed program was:" >&5
86947 sed 's/^/| /' conftest.$ac_ext >&5
86948
86949 glibcxx_cv_func_modf_use=no
86950 fi
86951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86952       ac_ext=c
86953 ac_cpp='$CPP $CPPFLAGS'
86954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86957
86958
86959 fi
86960
86961   fi
86962   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
86963 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
86964
86965   if test x$glibcxx_cv_func_modf_use = x"yes"; then
86966
86967 for ac_func in modf
86968 do
86969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86970 echo "$as_me:$LINENO: checking for $ac_func" >&5
86971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86972 if eval "test \"\${$as_ac_var+set}\" = set"; then
86973   echo $ECHO_N "(cached) $ECHO_C" >&6
86974 else
86975   if test x$gcc_no_link = xyes; then
86976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86978    { (exit 1); exit 1; }; }
86979 fi
86980 cat >conftest.$ac_ext <<_ACEOF
86981 /* confdefs.h.  */
86982 _ACEOF
86983 cat confdefs.h >>conftest.$ac_ext
86984 cat >>conftest.$ac_ext <<_ACEOF
86985 /* end confdefs.h.  */
86986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86988 #define $ac_func innocuous_$ac_func
86989
86990 /* System header to define __stub macros and hopefully few prototypes,
86991     which can conflict with char $ac_func (); below.
86992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86993     <limits.h> exists even on freestanding compilers.  */
86994
86995 #ifdef __STDC__
86996 # include <limits.h>
86997 #else
86998 # include <assert.h>
86999 #endif
87000
87001 #undef $ac_func
87002
87003 /* Override any gcc2 internal prototype to avoid an error.  */
87004 #ifdef __cplusplus
87005 extern "C"
87006 {
87007 #endif
87008 /* We use char because int might match the return type of a gcc2
87009    builtin and then its argument prototype would still apply.  */
87010 char $ac_func ();
87011 /* The GNU C library defines this for functions which it implements
87012     to always fail with ENOSYS.  Some functions are actually named
87013     something starting with __ and the normal name is an alias.  */
87014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87015 choke me
87016 #else
87017 char (*f) () = $ac_func;
87018 #endif
87019 #ifdef __cplusplus
87020 }
87021 #endif
87022
87023 int
87024 main ()
87025 {
87026 return f != $ac_func;
87027   ;
87028   return 0;
87029 }
87030 _ACEOF
87031 rm -f conftest.$ac_objext conftest$ac_exeext
87032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87033   (eval $ac_link) 2>conftest.er1
87034   ac_status=$?
87035   grep -v '^ *+' conftest.er1 >conftest.err
87036   rm -f conftest.er1
87037   cat conftest.err >&5
87038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87039   (exit $ac_status); } &&
87040          { ac_try='test -z "$ac_c_werror_flag"
87041                          || test ! -s conftest.err'
87042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87043   (eval $ac_try) 2>&5
87044   ac_status=$?
87045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87046   (exit $ac_status); }; } &&
87047          { ac_try='test -s conftest$ac_exeext'
87048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87049   (eval $ac_try) 2>&5
87050   ac_status=$?
87051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87052   (exit $ac_status); }; }; then
87053   eval "$as_ac_var=yes"
87054 else
87055   echo "$as_me: failed program was:" >&5
87056 sed 's/^/| /' conftest.$ac_ext >&5
87057
87058 eval "$as_ac_var=no"
87059 fi
87060 rm -f conftest.err conftest.$ac_objext \
87061       conftest$ac_exeext conftest.$ac_ext
87062 fi
87063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87065 if test `eval echo '${'$as_ac_var'}'` = yes; then
87066   cat >>confdefs.h <<_ACEOF
87067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87068 _ACEOF
87069
87070 fi
87071 done
87072
87073   else
87074
87075   echo "$as_me:$LINENO: checking for _modf declaration" >&5
87076 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87077   if test x${glibcxx_cv_func__modf_use+set} != xset; then
87078     if test "${glibcxx_cv_func__modf_use+set}" = set; then
87079   echo $ECHO_N "(cached) $ECHO_C" >&6
87080 else
87081
87082
87083
87084       ac_ext=cc
87085 ac_cpp='$CXXCPP $CPPFLAGS'
87086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87089
87090       cat >conftest.$ac_ext <<_ACEOF
87091 /* confdefs.h.  */
87092 _ACEOF
87093 cat confdefs.h >>conftest.$ac_ext
87094 cat >>conftest.$ac_ext <<_ACEOF
87095 /* end confdefs.h.  */
87096 #include <math.h>
87097 int
87098 main ()
87099 {
87100  _modf(0, 0);
87101   ;
87102   return 0;
87103 }
87104 _ACEOF
87105 rm -f conftest.$ac_objext
87106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87107   (eval $ac_compile) 2>conftest.er1
87108   ac_status=$?
87109   grep -v '^ *+' conftest.er1 >conftest.err
87110   rm -f conftest.er1
87111   cat conftest.err >&5
87112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87113   (exit $ac_status); } &&
87114          { ac_try='test -z "$ac_cxx_werror_flag"
87115                          || test ! -s conftest.err'
87116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87117   (eval $ac_try) 2>&5
87118   ac_status=$?
87119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87120   (exit $ac_status); }; } &&
87121          { ac_try='test -s conftest.$ac_objext'
87122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87123   (eval $ac_try) 2>&5
87124   ac_status=$?
87125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87126   (exit $ac_status); }; }; then
87127   glibcxx_cv_func__modf_use=yes
87128 else
87129   echo "$as_me: failed program was:" >&5
87130 sed 's/^/| /' conftest.$ac_ext >&5
87131
87132 glibcxx_cv_func__modf_use=no
87133 fi
87134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87135       ac_ext=c
87136 ac_cpp='$CPP $CPPFLAGS'
87137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87140
87141
87142 fi
87143
87144   fi
87145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87146 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87147
87148     if test x$glibcxx_cv_func__modf_use = x"yes"; then
87149
87150 for ac_func in _modf
87151 do
87152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87153 echo "$as_me:$LINENO: checking for $ac_func" >&5
87154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87155 if eval "test \"\${$as_ac_var+set}\" = set"; then
87156   echo $ECHO_N "(cached) $ECHO_C" >&6
87157 else
87158   if test x$gcc_no_link = xyes; then
87159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87161    { (exit 1); exit 1; }; }
87162 fi
87163 cat >conftest.$ac_ext <<_ACEOF
87164 /* confdefs.h.  */
87165 _ACEOF
87166 cat confdefs.h >>conftest.$ac_ext
87167 cat >>conftest.$ac_ext <<_ACEOF
87168 /* end confdefs.h.  */
87169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87171 #define $ac_func innocuous_$ac_func
87172
87173 /* System header to define __stub macros and hopefully few prototypes,
87174     which can conflict with char $ac_func (); below.
87175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87176     <limits.h> exists even on freestanding compilers.  */
87177
87178 #ifdef __STDC__
87179 # include <limits.h>
87180 #else
87181 # include <assert.h>
87182 #endif
87183
87184 #undef $ac_func
87185
87186 /* Override any gcc2 internal prototype to avoid an error.  */
87187 #ifdef __cplusplus
87188 extern "C"
87189 {
87190 #endif
87191 /* We use char because int might match the return type of a gcc2
87192    builtin and then its argument prototype would still apply.  */
87193 char $ac_func ();
87194 /* The GNU C library defines this for functions which it implements
87195     to always fail with ENOSYS.  Some functions are actually named
87196     something starting with __ and the normal name is an alias.  */
87197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87198 choke me
87199 #else
87200 char (*f) () = $ac_func;
87201 #endif
87202 #ifdef __cplusplus
87203 }
87204 #endif
87205
87206 int
87207 main ()
87208 {
87209 return f != $ac_func;
87210   ;
87211   return 0;
87212 }
87213 _ACEOF
87214 rm -f conftest.$ac_objext conftest$ac_exeext
87215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87216   (eval $ac_link) 2>conftest.er1
87217   ac_status=$?
87218   grep -v '^ *+' conftest.er1 >conftest.err
87219   rm -f conftest.er1
87220   cat conftest.err >&5
87221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87222   (exit $ac_status); } &&
87223          { ac_try='test -z "$ac_c_werror_flag"
87224                          || test ! -s conftest.err'
87225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87226   (eval $ac_try) 2>&5
87227   ac_status=$?
87228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87229   (exit $ac_status); }; } &&
87230          { ac_try='test -s conftest$ac_exeext'
87231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87232   (eval $ac_try) 2>&5
87233   ac_status=$?
87234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87235   (exit $ac_status); }; }; then
87236   eval "$as_ac_var=yes"
87237 else
87238   echo "$as_me: failed program was:" >&5
87239 sed 's/^/| /' conftest.$ac_ext >&5
87240
87241 eval "$as_ac_var=no"
87242 fi
87243 rm -f conftest.err conftest.$ac_objext \
87244       conftest$ac_exeext conftest.$ac_ext
87245 fi
87246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87248 if test `eval echo '${'$as_ac_var'}'` = yes; then
87249   cat >>confdefs.h <<_ACEOF
87250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87251 _ACEOF
87252
87253 fi
87254 done
87255
87256     fi
87257   fi
87258
87259
87260
87261
87262
87263
87264   echo "$as_me:$LINENO: checking for powf declaration" >&5
87265 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87266   if test x${glibcxx_cv_func_powf_use+set} != xset; then
87267     if test "${glibcxx_cv_func_powf_use+set}" = set; then
87268   echo $ECHO_N "(cached) $ECHO_C" >&6
87269 else
87270
87271
87272
87273       ac_ext=cc
87274 ac_cpp='$CXXCPP $CPPFLAGS'
87275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87278
87279       cat >conftest.$ac_ext <<_ACEOF
87280 /* confdefs.h.  */
87281 _ACEOF
87282 cat confdefs.h >>conftest.$ac_ext
87283 cat >>conftest.$ac_ext <<_ACEOF
87284 /* end confdefs.h.  */
87285 #include <math.h>
87286 int
87287 main ()
87288 {
87289  powf(0, 0);
87290   ;
87291   return 0;
87292 }
87293 _ACEOF
87294 rm -f conftest.$ac_objext
87295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87296   (eval $ac_compile) 2>conftest.er1
87297   ac_status=$?
87298   grep -v '^ *+' conftest.er1 >conftest.err
87299   rm -f conftest.er1
87300   cat conftest.err >&5
87301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87302   (exit $ac_status); } &&
87303          { ac_try='test -z "$ac_cxx_werror_flag"
87304                          || test ! -s conftest.err'
87305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87306   (eval $ac_try) 2>&5
87307   ac_status=$?
87308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87309   (exit $ac_status); }; } &&
87310          { ac_try='test -s conftest.$ac_objext'
87311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87312   (eval $ac_try) 2>&5
87313   ac_status=$?
87314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315   (exit $ac_status); }; }; then
87316   glibcxx_cv_func_powf_use=yes
87317 else
87318   echo "$as_me: failed program was:" >&5
87319 sed 's/^/| /' conftest.$ac_ext >&5
87320
87321 glibcxx_cv_func_powf_use=no
87322 fi
87323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87324       ac_ext=c
87325 ac_cpp='$CPP $CPPFLAGS'
87326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87329
87330
87331 fi
87332
87333   fi
87334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87335 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87336
87337   if test x$glibcxx_cv_func_powf_use = x"yes"; then
87338
87339 for ac_func in powf
87340 do
87341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87342 echo "$as_me:$LINENO: checking for $ac_func" >&5
87343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87344 if eval "test \"\${$as_ac_var+set}\" = set"; then
87345   echo $ECHO_N "(cached) $ECHO_C" >&6
87346 else
87347   if test x$gcc_no_link = xyes; then
87348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87350    { (exit 1); exit 1; }; }
87351 fi
87352 cat >conftest.$ac_ext <<_ACEOF
87353 /* confdefs.h.  */
87354 _ACEOF
87355 cat confdefs.h >>conftest.$ac_ext
87356 cat >>conftest.$ac_ext <<_ACEOF
87357 /* end confdefs.h.  */
87358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87360 #define $ac_func innocuous_$ac_func
87361
87362 /* System header to define __stub macros and hopefully few prototypes,
87363     which can conflict with char $ac_func (); below.
87364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87365     <limits.h> exists even on freestanding compilers.  */
87366
87367 #ifdef __STDC__
87368 # include <limits.h>
87369 #else
87370 # include <assert.h>
87371 #endif
87372
87373 #undef $ac_func
87374
87375 /* Override any gcc2 internal prototype to avoid an error.  */
87376 #ifdef __cplusplus
87377 extern "C"
87378 {
87379 #endif
87380 /* We use char because int might match the return type of a gcc2
87381    builtin and then its argument prototype would still apply.  */
87382 char $ac_func ();
87383 /* The GNU C library defines this for functions which it implements
87384     to always fail with ENOSYS.  Some functions are actually named
87385     something starting with __ and the normal name is an alias.  */
87386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87387 choke me
87388 #else
87389 char (*f) () = $ac_func;
87390 #endif
87391 #ifdef __cplusplus
87392 }
87393 #endif
87394
87395 int
87396 main ()
87397 {
87398 return f != $ac_func;
87399   ;
87400   return 0;
87401 }
87402 _ACEOF
87403 rm -f conftest.$ac_objext conftest$ac_exeext
87404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87405   (eval $ac_link) 2>conftest.er1
87406   ac_status=$?
87407   grep -v '^ *+' conftest.er1 >conftest.err
87408   rm -f conftest.er1
87409   cat conftest.err >&5
87410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87411   (exit $ac_status); } &&
87412          { ac_try='test -z "$ac_c_werror_flag"
87413                          || test ! -s conftest.err'
87414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87415   (eval $ac_try) 2>&5
87416   ac_status=$?
87417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87418   (exit $ac_status); }; } &&
87419          { ac_try='test -s conftest$ac_exeext'
87420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87421   (eval $ac_try) 2>&5
87422   ac_status=$?
87423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87424   (exit $ac_status); }; }; then
87425   eval "$as_ac_var=yes"
87426 else
87427   echo "$as_me: failed program was:" >&5
87428 sed 's/^/| /' conftest.$ac_ext >&5
87429
87430 eval "$as_ac_var=no"
87431 fi
87432 rm -f conftest.err conftest.$ac_objext \
87433       conftest$ac_exeext conftest.$ac_ext
87434 fi
87435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87437 if test `eval echo '${'$as_ac_var'}'` = yes; then
87438   cat >>confdefs.h <<_ACEOF
87439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87440 _ACEOF
87441
87442 fi
87443 done
87444
87445   else
87446
87447   echo "$as_me:$LINENO: checking for _powf declaration" >&5
87448 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87449   if test x${glibcxx_cv_func__powf_use+set} != xset; then
87450     if test "${glibcxx_cv_func__powf_use+set}" = set; then
87451   echo $ECHO_N "(cached) $ECHO_C" >&6
87452 else
87453
87454
87455
87456       ac_ext=cc
87457 ac_cpp='$CXXCPP $CPPFLAGS'
87458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87461
87462       cat >conftest.$ac_ext <<_ACEOF
87463 /* confdefs.h.  */
87464 _ACEOF
87465 cat confdefs.h >>conftest.$ac_ext
87466 cat >>conftest.$ac_ext <<_ACEOF
87467 /* end confdefs.h.  */
87468 #include <math.h>
87469 int
87470 main ()
87471 {
87472  _powf(0, 0);
87473   ;
87474   return 0;
87475 }
87476 _ACEOF
87477 rm -f conftest.$ac_objext
87478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87479   (eval $ac_compile) 2>conftest.er1
87480   ac_status=$?
87481   grep -v '^ *+' conftest.er1 >conftest.err
87482   rm -f conftest.er1
87483   cat conftest.err >&5
87484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87485   (exit $ac_status); } &&
87486          { ac_try='test -z "$ac_cxx_werror_flag"
87487                          || test ! -s conftest.err'
87488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87489   (eval $ac_try) 2>&5
87490   ac_status=$?
87491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87492   (exit $ac_status); }; } &&
87493          { ac_try='test -s conftest.$ac_objext'
87494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87495   (eval $ac_try) 2>&5
87496   ac_status=$?
87497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87498   (exit $ac_status); }; }; then
87499   glibcxx_cv_func__powf_use=yes
87500 else
87501   echo "$as_me: failed program was:" >&5
87502 sed 's/^/| /' conftest.$ac_ext >&5
87503
87504 glibcxx_cv_func__powf_use=no
87505 fi
87506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87507       ac_ext=c
87508 ac_cpp='$CPP $CPPFLAGS'
87509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87512
87513
87514 fi
87515
87516   fi
87517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87518 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87519
87520     if test x$glibcxx_cv_func__powf_use = x"yes"; then
87521
87522 for ac_func in _powf
87523 do
87524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87525 echo "$as_me:$LINENO: checking for $ac_func" >&5
87526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87527 if eval "test \"\${$as_ac_var+set}\" = set"; then
87528   echo $ECHO_N "(cached) $ECHO_C" >&6
87529 else
87530   if test x$gcc_no_link = xyes; then
87531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87533    { (exit 1); exit 1; }; }
87534 fi
87535 cat >conftest.$ac_ext <<_ACEOF
87536 /* confdefs.h.  */
87537 _ACEOF
87538 cat confdefs.h >>conftest.$ac_ext
87539 cat >>conftest.$ac_ext <<_ACEOF
87540 /* end confdefs.h.  */
87541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87543 #define $ac_func innocuous_$ac_func
87544
87545 /* System header to define __stub macros and hopefully few prototypes,
87546     which can conflict with char $ac_func (); below.
87547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87548     <limits.h> exists even on freestanding compilers.  */
87549
87550 #ifdef __STDC__
87551 # include <limits.h>
87552 #else
87553 # include <assert.h>
87554 #endif
87555
87556 #undef $ac_func
87557
87558 /* Override any gcc2 internal prototype to avoid an error.  */
87559 #ifdef __cplusplus
87560 extern "C"
87561 {
87562 #endif
87563 /* We use char because int might match the return type of a gcc2
87564    builtin and then its argument prototype would still apply.  */
87565 char $ac_func ();
87566 /* The GNU C library defines this for functions which it implements
87567     to always fail with ENOSYS.  Some functions are actually named
87568     something starting with __ and the normal name is an alias.  */
87569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87570 choke me
87571 #else
87572 char (*f) () = $ac_func;
87573 #endif
87574 #ifdef __cplusplus
87575 }
87576 #endif
87577
87578 int
87579 main ()
87580 {
87581 return f != $ac_func;
87582   ;
87583   return 0;
87584 }
87585 _ACEOF
87586 rm -f conftest.$ac_objext conftest$ac_exeext
87587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87588   (eval $ac_link) 2>conftest.er1
87589   ac_status=$?
87590   grep -v '^ *+' conftest.er1 >conftest.err
87591   rm -f conftest.er1
87592   cat conftest.err >&5
87593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87594   (exit $ac_status); } &&
87595          { ac_try='test -z "$ac_c_werror_flag"
87596                          || test ! -s conftest.err'
87597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87598   (eval $ac_try) 2>&5
87599   ac_status=$?
87600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87601   (exit $ac_status); }; } &&
87602          { ac_try='test -s conftest$ac_exeext'
87603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87604   (eval $ac_try) 2>&5
87605   ac_status=$?
87606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87607   (exit $ac_status); }; }; then
87608   eval "$as_ac_var=yes"
87609 else
87610   echo "$as_me: failed program was:" >&5
87611 sed 's/^/| /' conftest.$ac_ext >&5
87612
87613 eval "$as_ac_var=no"
87614 fi
87615 rm -f conftest.err conftest.$ac_objext \
87616       conftest$ac_exeext conftest.$ac_ext
87617 fi
87618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87620 if test `eval echo '${'$as_ac_var'}'` = yes; then
87621   cat >>confdefs.h <<_ACEOF
87622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87623 _ACEOF
87624
87625 fi
87626 done
87627
87628     fi
87629   fi
87630
87631
87632
87633
87634
87635
87636   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
87637 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
87638   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
87639     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
87640   echo $ECHO_N "(cached) $ECHO_C" >&6
87641 else
87642
87643
87644
87645       ac_ext=cc
87646 ac_cpp='$CXXCPP $CPPFLAGS'
87647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87650
87651       cat >conftest.$ac_ext <<_ACEOF
87652 /* confdefs.h.  */
87653 _ACEOF
87654 cat confdefs.h >>conftest.$ac_ext
87655 cat >>conftest.$ac_ext <<_ACEOF
87656 /* end confdefs.h.  */
87657 #include <math.h>
87658                       #ifdef HAVE_IEEEFP_H
87659                       #include <ieeefp.h>
87660                       #endif
87661
87662 int
87663 main ()
87664 {
87665  sqrtf(0);
87666   ;
87667   return 0;
87668 }
87669 _ACEOF
87670 rm -f conftest.$ac_objext
87671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87672   (eval $ac_compile) 2>conftest.er1
87673   ac_status=$?
87674   grep -v '^ *+' conftest.er1 >conftest.err
87675   rm -f conftest.er1
87676   cat conftest.err >&5
87677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87678   (exit $ac_status); } &&
87679          { ac_try='test -z "$ac_cxx_werror_flag"
87680                          || test ! -s conftest.err'
87681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87682   (eval $ac_try) 2>&5
87683   ac_status=$?
87684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87685   (exit $ac_status); }; } &&
87686          { ac_try='test -s conftest.$ac_objext'
87687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87688   (eval $ac_try) 2>&5
87689   ac_status=$?
87690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87691   (exit $ac_status); }; }; then
87692   glibcxx_cv_func_sqrtf_use=yes
87693 else
87694   echo "$as_me: failed program was:" >&5
87695 sed 's/^/| /' conftest.$ac_ext >&5
87696
87697 glibcxx_cv_func_sqrtf_use=no
87698 fi
87699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87700       ac_ext=c
87701 ac_cpp='$CPP $CPPFLAGS'
87702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87705
87706
87707 fi
87708
87709   fi
87710   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87711 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87712
87713   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87714
87715 for ac_func in sqrtf
87716 do
87717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87718 echo "$as_me:$LINENO: checking for $ac_func" >&5
87719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87720 if eval "test \"\${$as_ac_var+set}\" = set"; then
87721   echo $ECHO_N "(cached) $ECHO_C" >&6
87722 else
87723   if test x$gcc_no_link = xyes; then
87724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87726    { (exit 1); exit 1; }; }
87727 fi
87728 cat >conftest.$ac_ext <<_ACEOF
87729 /* confdefs.h.  */
87730 _ACEOF
87731 cat confdefs.h >>conftest.$ac_ext
87732 cat >>conftest.$ac_ext <<_ACEOF
87733 /* end confdefs.h.  */
87734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87736 #define $ac_func innocuous_$ac_func
87737
87738 /* System header to define __stub macros and hopefully few prototypes,
87739     which can conflict with char $ac_func (); below.
87740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87741     <limits.h> exists even on freestanding compilers.  */
87742
87743 #ifdef __STDC__
87744 # include <limits.h>
87745 #else
87746 # include <assert.h>
87747 #endif
87748
87749 #undef $ac_func
87750
87751 /* Override any gcc2 internal prototype to avoid an error.  */
87752 #ifdef __cplusplus
87753 extern "C"
87754 {
87755 #endif
87756 /* We use char because int might match the return type of a gcc2
87757    builtin and then its argument prototype would still apply.  */
87758 char $ac_func ();
87759 /* The GNU C library defines this for functions which it implements
87760     to always fail with ENOSYS.  Some functions are actually named
87761     something starting with __ and the normal name is an alias.  */
87762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87763 choke me
87764 #else
87765 char (*f) () = $ac_func;
87766 #endif
87767 #ifdef __cplusplus
87768 }
87769 #endif
87770
87771 int
87772 main ()
87773 {
87774 return f != $ac_func;
87775   ;
87776   return 0;
87777 }
87778 _ACEOF
87779 rm -f conftest.$ac_objext conftest$ac_exeext
87780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87781   (eval $ac_link) 2>conftest.er1
87782   ac_status=$?
87783   grep -v '^ *+' conftest.er1 >conftest.err
87784   rm -f conftest.er1
87785   cat conftest.err >&5
87786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87787   (exit $ac_status); } &&
87788          { ac_try='test -z "$ac_c_werror_flag"
87789                          || test ! -s conftest.err'
87790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87791   (eval $ac_try) 2>&5
87792   ac_status=$?
87793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87794   (exit $ac_status); }; } &&
87795          { ac_try='test -s conftest$ac_exeext'
87796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87797   (eval $ac_try) 2>&5
87798   ac_status=$?
87799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87800   (exit $ac_status); }; }; then
87801   eval "$as_ac_var=yes"
87802 else
87803   echo "$as_me: failed program was:" >&5
87804 sed 's/^/| /' conftest.$ac_ext >&5
87805
87806 eval "$as_ac_var=no"
87807 fi
87808 rm -f conftest.err conftest.$ac_objext \
87809       conftest$ac_exeext conftest.$ac_ext
87810 fi
87811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87813 if test `eval echo '${'$as_ac_var'}'` = yes; then
87814   cat >>confdefs.h <<_ACEOF
87815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87816 _ACEOF
87817
87818 fi
87819 done
87820
87821   else
87822
87823   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
87824 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
87825   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
87826     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
87827   echo $ECHO_N "(cached) $ECHO_C" >&6
87828 else
87829
87830
87831
87832       ac_ext=cc
87833 ac_cpp='$CXXCPP $CPPFLAGS'
87834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87837
87838       cat >conftest.$ac_ext <<_ACEOF
87839 /* confdefs.h.  */
87840 _ACEOF
87841 cat confdefs.h >>conftest.$ac_ext
87842 cat >>conftest.$ac_ext <<_ACEOF
87843 /* end confdefs.h.  */
87844 #include <math.h>
87845                       #ifdef HAVE_IEEEFP_H
87846                       #include <ieeefp.h>
87847                       #endif
87848
87849 int
87850 main ()
87851 {
87852  _sqrtf(0);
87853   ;
87854   return 0;
87855 }
87856 _ACEOF
87857 rm -f conftest.$ac_objext
87858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87859   (eval $ac_compile) 2>conftest.er1
87860   ac_status=$?
87861   grep -v '^ *+' conftest.er1 >conftest.err
87862   rm -f conftest.er1
87863   cat conftest.err >&5
87864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87865   (exit $ac_status); } &&
87866          { ac_try='test -z "$ac_cxx_werror_flag"
87867                          || test ! -s conftest.err'
87868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87869   (eval $ac_try) 2>&5
87870   ac_status=$?
87871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87872   (exit $ac_status); }; } &&
87873          { ac_try='test -s conftest.$ac_objext'
87874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87875   (eval $ac_try) 2>&5
87876   ac_status=$?
87877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87878   (exit $ac_status); }; }; then
87879   glibcxx_cv_func__sqrtf_use=yes
87880 else
87881   echo "$as_me: failed program was:" >&5
87882 sed 's/^/| /' conftest.$ac_ext >&5
87883
87884 glibcxx_cv_func__sqrtf_use=no
87885 fi
87886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87887       ac_ext=c
87888 ac_cpp='$CPP $CPPFLAGS'
87889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87892
87893
87894 fi
87895
87896   fi
87897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
87898 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
87899
87900     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
87901
87902 for ac_func in _sqrtf
87903 do
87904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87905 echo "$as_me:$LINENO: checking for $ac_func" >&5
87906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87907 if eval "test \"\${$as_ac_var+set}\" = set"; then
87908   echo $ECHO_N "(cached) $ECHO_C" >&6
87909 else
87910   if test x$gcc_no_link = xyes; then
87911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87913    { (exit 1); exit 1; }; }
87914 fi
87915 cat >conftest.$ac_ext <<_ACEOF
87916 /* confdefs.h.  */
87917 _ACEOF
87918 cat confdefs.h >>conftest.$ac_ext
87919 cat >>conftest.$ac_ext <<_ACEOF
87920 /* end confdefs.h.  */
87921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87923 #define $ac_func innocuous_$ac_func
87924
87925 /* System header to define __stub macros and hopefully few prototypes,
87926     which can conflict with char $ac_func (); below.
87927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87928     <limits.h> exists even on freestanding compilers.  */
87929
87930 #ifdef __STDC__
87931 # include <limits.h>
87932 #else
87933 # include <assert.h>
87934 #endif
87935
87936 #undef $ac_func
87937
87938 /* Override any gcc2 internal prototype to avoid an error.  */
87939 #ifdef __cplusplus
87940 extern "C"
87941 {
87942 #endif
87943 /* We use char because int might match the return type of a gcc2
87944    builtin and then its argument prototype would still apply.  */
87945 char $ac_func ();
87946 /* The GNU C library defines this for functions which it implements
87947     to always fail with ENOSYS.  Some functions are actually named
87948     something starting with __ and the normal name is an alias.  */
87949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87950 choke me
87951 #else
87952 char (*f) () = $ac_func;
87953 #endif
87954 #ifdef __cplusplus
87955 }
87956 #endif
87957
87958 int
87959 main ()
87960 {
87961 return f != $ac_func;
87962   ;
87963   return 0;
87964 }
87965 _ACEOF
87966 rm -f conftest.$ac_objext conftest$ac_exeext
87967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87968   (eval $ac_link) 2>conftest.er1
87969   ac_status=$?
87970   grep -v '^ *+' conftest.er1 >conftest.err
87971   rm -f conftest.er1
87972   cat conftest.err >&5
87973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87974   (exit $ac_status); } &&
87975          { ac_try='test -z "$ac_c_werror_flag"
87976                          || test ! -s conftest.err'
87977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87978   (eval $ac_try) 2>&5
87979   ac_status=$?
87980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87981   (exit $ac_status); }; } &&
87982          { ac_try='test -s conftest$ac_exeext'
87983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87984   (eval $ac_try) 2>&5
87985   ac_status=$?
87986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87987   (exit $ac_status); }; }; then
87988   eval "$as_ac_var=yes"
87989 else
87990   echo "$as_me: failed program was:" >&5
87991 sed 's/^/| /' conftest.$ac_ext >&5
87992
87993 eval "$as_ac_var=no"
87994 fi
87995 rm -f conftest.err conftest.$ac_objext \
87996       conftest$ac_exeext conftest.$ac_ext
87997 fi
87998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88000 if test `eval echo '${'$as_ac_var'}'` = yes; then
88001   cat >>confdefs.h <<_ACEOF
88002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88003 _ACEOF
88004
88005 fi
88006 done
88007
88008     fi
88009   fi
88010
88011
88012
88013
88014
88015
88016   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88017 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88018   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88019     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88020   echo $ECHO_N "(cached) $ECHO_C" >&6
88021 else
88022
88023
88024
88025       ac_ext=cc
88026 ac_cpp='$CXXCPP $CPPFLAGS'
88027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88030
88031       cat >conftest.$ac_ext <<_ACEOF
88032 /* confdefs.h.  */
88033 _ACEOF
88034 cat confdefs.h >>conftest.$ac_ext
88035 cat >>conftest.$ac_ext <<_ACEOF
88036 /* end confdefs.h.  */
88037 #include <math.h>
88038 int
88039 main ()
88040 {
88041  sincosf(0, 0, 0);
88042   ;
88043   return 0;
88044 }
88045 _ACEOF
88046 rm -f conftest.$ac_objext
88047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88048   (eval $ac_compile) 2>conftest.er1
88049   ac_status=$?
88050   grep -v '^ *+' conftest.er1 >conftest.err
88051   rm -f conftest.er1
88052   cat conftest.err >&5
88053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88054   (exit $ac_status); } &&
88055          { ac_try='test -z "$ac_cxx_werror_flag"
88056                          || test ! -s conftest.err'
88057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88058   (eval $ac_try) 2>&5
88059   ac_status=$?
88060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88061   (exit $ac_status); }; } &&
88062          { ac_try='test -s conftest.$ac_objext'
88063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88064   (eval $ac_try) 2>&5
88065   ac_status=$?
88066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88067   (exit $ac_status); }; }; then
88068   glibcxx_cv_func_sincosf_use=yes
88069 else
88070   echo "$as_me: failed program was:" >&5
88071 sed 's/^/| /' conftest.$ac_ext >&5
88072
88073 glibcxx_cv_func_sincosf_use=no
88074 fi
88075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88076       ac_ext=c
88077 ac_cpp='$CPP $CPPFLAGS'
88078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88081
88082
88083 fi
88084
88085   fi
88086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88087 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88088
88089   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88090
88091 for ac_func in sincosf
88092 do
88093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88094 echo "$as_me:$LINENO: checking for $ac_func" >&5
88095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88096 if eval "test \"\${$as_ac_var+set}\" = set"; then
88097   echo $ECHO_N "(cached) $ECHO_C" >&6
88098 else
88099   if test x$gcc_no_link = xyes; then
88100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88102    { (exit 1); exit 1; }; }
88103 fi
88104 cat >conftest.$ac_ext <<_ACEOF
88105 /* confdefs.h.  */
88106 _ACEOF
88107 cat confdefs.h >>conftest.$ac_ext
88108 cat >>conftest.$ac_ext <<_ACEOF
88109 /* end confdefs.h.  */
88110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88112 #define $ac_func innocuous_$ac_func
88113
88114 /* System header to define __stub macros and hopefully few prototypes,
88115     which can conflict with char $ac_func (); below.
88116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88117     <limits.h> exists even on freestanding compilers.  */
88118
88119 #ifdef __STDC__
88120 # include <limits.h>
88121 #else
88122 # include <assert.h>
88123 #endif
88124
88125 #undef $ac_func
88126
88127 /* Override any gcc2 internal prototype to avoid an error.  */
88128 #ifdef __cplusplus
88129 extern "C"
88130 {
88131 #endif
88132 /* We use char because int might match the return type of a gcc2
88133    builtin and then its argument prototype would still apply.  */
88134 char $ac_func ();
88135 /* The GNU C library defines this for functions which it implements
88136     to always fail with ENOSYS.  Some functions are actually named
88137     something starting with __ and the normal name is an alias.  */
88138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88139 choke me
88140 #else
88141 char (*f) () = $ac_func;
88142 #endif
88143 #ifdef __cplusplus
88144 }
88145 #endif
88146
88147 int
88148 main ()
88149 {
88150 return f != $ac_func;
88151   ;
88152   return 0;
88153 }
88154 _ACEOF
88155 rm -f conftest.$ac_objext conftest$ac_exeext
88156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88157   (eval $ac_link) 2>conftest.er1
88158   ac_status=$?
88159   grep -v '^ *+' conftest.er1 >conftest.err
88160   rm -f conftest.er1
88161   cat conftest.err >&5
88162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88163   (exit $ac_status); } &&
88164          { ac_try='test -z "$ac_c_werror_flag"
88165                          || test ! -s conftest.err'
88166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88167   (eval $ac_try) 2>&5
88168   ac_status=$?
88169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88170   (exit $ac_status); }; } &&
88171          { ac_try='test -s conftest$ac_exeext'
88172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88173   (eval $ac_try) 2>&5
88174   ac_status=$?
88175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88176   (exit $ac_status); }; }; then
88177   eval "$as_ac_var=yes"
88178 else
88179   echo "$as_me: failed program was:" >&5
88180 sed 's/^/| /' conftest.$ac_ext >&5
88181
88182 eval "$as_ac_var=no"
88183 fi
88184 rm -f conftest.err conftest.$ac_objext \
88185       conftest$ac_exeext conftest.$ac_ext
88186 fi
88187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88189 if test `eval echo '${'$as_ac_var'}'` = yes; then
88190   cat >>confdefs.h <<_ACEOF
88191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88192 _ACEOF
88193
88194 fi
88195 done
88196
88197   else
88198
88199   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88200 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88201   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88202     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88203   echo $ECHO_N "(cached) $ECHO_C" >&6
88204 else
88205
88206
88207
88208       ac_ext=cc
88209 ac_cpp='$CXXCPP $CPPFLAGS'
88210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88213
88214       cat >conftest.$ac_ext <<_ACEOF
88215 /* confdefs.h.  */
88216 _ACEOF
88217 cat confdefs.h >>conftest.$ac_ext
88218 cat >>conftest.$ac_ext <<_ACEOF
88219 /* end confdefs.h.  */
88220 #include <math.h>
88221 int
88222 main ()
88223 {
88224  _sincosf(0, 0, 0);
88225   ;
88226   return 0;
88227 }
88228 _ACEOF
88229 rm -f conftest.$ac_objext
88230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88231   (eval $ac_compile) 2>conftest.er1
88232   ac_status=$?
88233   grep -v '^ *+' conftest.er1 >conftest.err
88234   rm -f conftest.er1
88235   cat conftest.err >&5
88236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88237   (exit $ac_status); } &&
88238          { ac_try='test -z "$ac_cxx_werror_flag"
88239                          || test ! -s conftest.err'
88240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88241   (eval $ac_try) 2>&5
88242   ac_status=$?
88243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88244   (exit $ac_status); }; } &&
88245          { ac_try='test -s conftest.$ac_objext'
88246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88247   (eval $ac_try) 2>&5
88248   ac_status=$?
88249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88250   (exit $ac_status); }; }; then
88251   glibcxx_cv_func__sincosf_use=yes
88252 else
88253   echo "$as_me: failed program was:" >&5
88254 sed 's/^/| /' conftest.$ac_ext >&5
88255
88256 glibcxx_cv_func__sincosf_use=no
88257 fi
88258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88259       ac_ext=c
88260 ac_cpp='$CPP $CPPFLAGS'
88261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88264
88265
88266 fi
88267
88268   fi
88269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88270 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88271
88272     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88273
88274 for ac_func in _sincosf
88275 do
88276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88277 echo "$as_me:$LINENO: checking for $ac_func" >&5
88278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88279 if eval "test \"\${$as_ac_var+set}\" = set"; then
88280   echo $ECHO_N "(cached) $ECHO_C" >&6
88281 else
88282   if test x$gcc_no_link = xyes; then
88283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88285    { (exit 1); exit 1; }; }
88286 fi
88287 cat >conftest.$ac_ext <<_ACEOF
88288 /* confdefs.h.  */
88289 _ACEOF
88290 cat confdefs.h >>conftest.$ac_ext
88291 cat >>conftest.$ac_ext <<_ACEOF
88292 /* end confdefs.h.  */
88293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88295 #define $ac_func innocuous_$ac_func
88296
88297 /* System header to define __stub macros and hopefully few prototypes,
88298     which can conflict with char $ac_func (); below.
88299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88300     <limits.h> exists even on freestanding compilers.  */
88301
88302 #ifdef __STDC__
88303 # include <limits.h>
88304 #else
88305 # include <assert.h>
88306 #endif
88307
88308 #undef $ac_func
88309
88310 /* Override any gcc2 internal prototype to avoid an error.  */
88311 #ifdef __cplusplus
88312 extern "C"
88313 {
88314 #endif
88315 /* We use char because int might match the return type of a gcc2
88316    builtin and then its argument prototype would still apply.  */
88317 char $ac_func ();
88318 /* The GNU C library defines this for functions which it implements
88319     to always fail with ENOSYS.  Some functions are actually named
88320     something starting with __ and the normal name is an alias.  */
88321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88322 choke me
88323 #else
88324 char (*f) () = $ac_func;
88325 #endif
88326 #ifdef __cplusplus
88327 }
88328 #endif
88329
88330 int
88331 main ()
88332 {
88333 return f != $ac_func;
88334   ;
88335   return 0;
88336 }
88337 _ACEOF
88338 rm -f conftest.$ac_objext conftest$ac_exeext
88339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88340   (eval $ac_link) 2>conftest.er1
88341   ac_status=$?
88342   grep -v '^ *+' conftest.er1 >conftest.err
88343   rm -f conftest.er1
88344   cat conftest.err >&5
88345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88346   (exit $ac_status); } &&
88347          { ac_try='test -z "$ac_c_werror_flag"
88348                          || test ! -s conftest.err'
88349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88350   (eval $ac_try) 2>&5
88351   ac_status=$?
88352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88353   (exit $ac_status); }; } &&
88354          { ac_try='test -s conftest$ac_exeext'
88355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88356   (eval $ac_try) 2>&5
88357   ac_status=$?
88358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88359   (exit $ac_status); }; }; then
88360   eval "$as_ac_var=yes"
88361 else
88362   echo "$as_me: failed program was:" >&5
88363 sed 's/^/| /' conftest.$ac_ext >&5
88364
88365 eval "$as_ac_var=no"
88366 fi
88367 rm -f conftest.err conftest.$ac_objext \
88368       conftest$ac_exeext conftest.$ac_ext
88369 fi
88370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88372 if test `eval echo '${'$as_ac_var'}'` = yes; then
88373   cat >>confdefs.h <<_ACEOF
88374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88375 _ACEOF
88376
88377 fi
88378 done
88379
88380     fi
88381   fi
88382
88383
88384
88385
88386
88387
88388   echo "$as_me:$LINENO: checking for finitef declaration" >&5
88389 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88390   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88391     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88392   echo $ECHO_N "(cached) $ECHO_C" >&6
88393 else
88394
88395
88396
88397       ac_ext=cc
88398 ac_cpp='$CXXCPP $CPPFLAGS'
88399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88402
88403       cat >conftest.$ac_ext <<_ACEOF
88404 /* confdefs.h.  */
88405 _ACEOF
88406 cat confdefs.h >>conftest.$ac_ext
88407 cat >>conftest.$ac_ext <<_ACEOF
88408 /* end confdefs.h.  */
88409 #include <math.h>
88410                       #ifdef HAVE_IEEEFP_H
88411                       #include <ieeefp.h>
88412                       #endif
88413
88414 int
88415 main ()
88416 {
88417  finitef(0);
88418   ;
88419   return 0;
88420 }
88421 _ACEOF
88422 rm -f conftest.$ac_objext
88423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88424   (eval $ac_compile) 2>conftest.er1
88425   ac_status=$?
88426   grep -v '^ *+' conftest.er1 >conftest.err
88427   rm -f conftest.er1
88428   cat conftest.err >&5
88429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88430   (exit $ac_status); } &&
88431          { ac_try='test -z "$ac_cxx_werror_flag"
88432                          || test ! -s conftest.err'
88433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88434   (eval $ac_try) 2>&5
88435   ac_status=$?
88436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88437   (exit $ac_status); }; } &&
88438          { ac_try='test -s conftest.$ac_objext'
88439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88440   (eval $ac_try) 2>&5
88441   ac_status=$?
88442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88443   (exit $ac_status); }; }; then
88444   glibcxx_cv_func_finitef_use=yes
88445 else
88446   echo "$as_me: failed program was:" >&5
88447 sed 's/^/| /' conftest.$ac_ext >&5
88448
88449 glibcxx_cv_func_finitef_use=no
88450 fi
88451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88452       ac_ext=c
88453 ac_cpp='$CPP $CPPFLAGS'
88454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88457
88458
88459 fi
88460
88461   fi
88462   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88463 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88464
88465   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88466
88467 for ac_func in finitef
88468 do
88469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88470 echo "$as_me:$LINENO: checking for $ac_func" >&5
88471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88472 if eval "test \"\${$as_ac_var+set}\" = set"; then
88473   echo $ECHO_N "(cached) $ECHO_C" >&6
88474 else
88475   if test x$gcc_no_link = xyes; then
88476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88478    { (exit 1); exit 1; }; }
88479 fi
88480 cat >conftest.$ac_ext <<_ACEOF
88481 /* confdefs.h.  */
88482 _ACEOF
88483 cat confdefs.h >>conftest.$ac_ext
88484 cat >>conftest.$ac_ext <<_ACEOF
88485 /* end confdefs.h.  */
88486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88488 #define $ac_func innocuous_$ac_func
88489
88490 /* System header to define __stub macros and hopefully few prototypes,
88491     which can conflict with char $ac_func (); below.
88492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88493     <limits.h> exists even on freestanding compilers.  */
88494
88495 #ifdef __STDC__
88496 # include <limits.h>
88497 #else
88498 # include <assert.h>
88499 #endif
88500
88501 #undef $ac_func
88502
88503 /* Override any gcc2 internal prototype to avoid an error.  */
88504 #ifdef __cplusplus
88505 extern "C"
88506 {
88507 #endif
88508 /* We use char because int might match the return type of a gcc2
88509    builtin and then its argument prototype would still apply.  */
88510 char $ac_func ();
88511 /* The GNU C library defines this for functions which it implements
88512     to always fail with ENOSYS.  Some functions are actually named
88513     something starting with __ and the normal name is an alias.  */
88514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88515 choke me
88516 #else
88517 char (*f) () = $ac_func;
88518 #endif
88519 #ifdef __cplusplus
88520 }
88521 #endif
88522
88523 int
88524 main ()
88525 {
88526 return f != $ac_func;
88527   ;
88528   return 0;
88529 }
88530 _ACEOF
88531 rm -f conftest.$ac_objext conftest$ac_exeext
88532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88533   (eval $ac_link) 2>conftest.er1
88534   ac_status=$?
88535   grep -v '^ *+' conftest.er1 >conftest.err
88536   rm -f conftest.er1
88537   cat conftest.err >&5
88538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88539   (exit $ac_status); } &&
88540          { ac_try='test -z "$ac_c_werror_flag"
88541                          || test ! -s conftest.err'
88542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88543   (eval $ac_try) 2>&5
88544   ac_status=$?
88545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88546   (exit $ac_status); }; } &&
88547          { ac_try='test -s conftest$ac_exeext'
88548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88549   (eval $ac_try) 2>&5
88550   ac_status=$?
88551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88552   (exit $ac_status); }; }; then
88553   eval "$as_ac_var=yes"
88554 else
88555   echo "$as_me: failed program was:" >&5
88556 sed 's/^/| /' conftest.$ac_ext >&5
88557
88558 eval "$as_ac_var=no"
88559 fi
88560 rm -f conftest.err conftest.$ac_objext \
88561       conftest$ac_exeext conftest.$ac_ext
88562 fi
88563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88565 if test `eval echo '${'$as_ac_var'}'` = yes; then
88566   cat >>confdefs.h <<_ACEOF
88567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88568 _ACEOF
88569
88570 fi
88571 done
88572
88573   else
88574
88575   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88576 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88577   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88578     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88579   echo $ECHO_N "(cached) $ECHO_C" >&6
88580 else
88581
88582
88583
88584       ac_ext=cc
88585 ac_cpp='$CXXCPP $CPPFLAGS'
88586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88589
88590       cat >conftest.$ac_ext <<_ACEOF
88591 /* confdefs.h.  */
88592 _ACEOF
88593 cat confdefs.h >>conftest.$ac_ext
88594 cat >>conftest.$ac_ext <<_ACEOF
88595 /* end confdefs.h.  */
88596 #include <math.h>
88597                       #ifdef HAVE_IEEEFP_H
88598                       #include <ieeefp.h>
88599                       #endif
88600
88601 int
88602 main ()
88603 {
88604  _finitef(0);
88605   ;
88606   return 0;
88607 }
88608 _ACEOF
88609 rm -f conftest.$ac_objext
88610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88611   (eval $ac_compile) 2>conftest.er1
88612   ac_status=$?
88613   grep -v '^ *+' conftest.er1 >conftest.err
88614   rm -f conftest.er1
88615   cat conftest.err >&5
88616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88617   (exit $ac_status); } &&
88618          { ac_try='test -z "$ac_cxx_werror_flag"
88619                          || test ! -s conftest.err'
88620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88621   (eval $ac_try) 2>&5
88622   ac_status=$?
88623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88624   (exit $ac_status); }; } &&
88625          { ac_try='test -s conftest.$ac_objext'
88626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88627   (eval $ac_try) 2>&5
88628   ac_status=$?
88629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88630   (exit $ac_status); }; }; then
88631   glibcxx_cv_func__finitef_use=yes
88632 else
88633   echo "$as_me: failed program was:" >&5
88634 sed 's/^/| /' conftest.$ac_ext >&5
88635
88636 glibcxx_cv_func__finitef_use=no
88637 fi
88638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88639       ac_ext=c
88640 ac_cpp='$CPP $CPPFLAGS'
88641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88644
88645
88646 fi
88647
88648   fi
88649   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
88650 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
88651
88652     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
88653
88654 for ac_func in _finitef
88655 do
88656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88657 echo "$as_me:$LINENO: checking for $ac_func" >&5
88658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88659 if eval "test \"\${$as_ac_var+set}\" = set"; then
88660   echo $ECHO_N "(cached) $ECHO_C" >&6
88661 else
88662   if test x$gcc_no_link = xyes; then
88663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88665    { (exit 1); exit 1; }; }
88666 fi
88667 cat >conftest.$ac_ext <<_ACEOF
88668 /* confdefs.h.  */
88669 _ACEOF
88670 cat confdefs.h >>conftest.$ac_ext
88671 cat >>conftest.$ac_ext <<_ACEOF
88672 /* end confdefs.h.  */
88673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88675 #define $ac_func innocuous_$ac_func
88676
88677 /* System header to define __stub macros and hopefully few prototypes,
88678     which can conflict with char $ac_func (); below.
88679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88680     <limits.h> exists even on freestanding compilers.  */
88681
88682 #ifdef __STDC__
88683 # include <limits.h>
88684 #else
88685 # include <assert.h>
88686 #endif
88687
88688 #undef $ac_func
88689
88690 /* Override any gcc2 internal prototype to avoid an error.  */
88691 #ifdef __cplusplus
88692 extern "C"
88693 {
88694 #endif
88695 /* We use char because int might match the return type of a gcc2
88696    builtin and then its argument prototype would still apply.  */
88697 char $ac_func ();
88698 /* The GNU C library defines this for functions which it implements
88699     to always fail with ENOSYS.  Some functions are actually named
88700     something starting with __ and the normal name is an alias.  */
88701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88702 choke me
88703 #else
88704 char (*f) () = $ac_func;
88705 #endif
88706 #ifdef __cplusplus
88707 }
88708 #endif
88709
88710 int
88711 main ()
88712 {
88713 return f != $ac_func;
88714   ;
88715   return 0;
88716 }
88717 _ACEOF
88718 rm -f conftest.$ac_objext conftest$ac_exeext
88719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88720   (eval $ac_link) 2>conftest.er1
88721   ac_status=$?
88722   grep -v '^ *+' conftest.er1 >conftest.err
88723   rm -f conftest.er1
88724   cat conftest.err >&5
88725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88726   (exit $ac_status); } &&
88727          { ac_try='test -z "$ac_c_werror_flag"
88728                          || test ! -s conftest.err'
88729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88730   (eval $ac_try) 2>&5
88731   ac_status=$?
88732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88733   (exit $ac_status); }; } &&
88734          { ac_try='test -s conftest$ac_exeext'
88735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88736   (eval $ac_try) 2>&5
88737   ac_status=$?
88738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88739   (exit $ac_status); }; }; then
88740   eval "$as_ac_var=yes"
88741 else
88742   echo "$as_me: failed program was:" >&5
88743 sed 's/^/| /' conftest.$ac_ext >&5
88744
88745 eval "$as_ac_var=no"
88746 fi
88747 rm -f conftest.err conftest.$ac_objext \
88748       conftest$ac_exeext conftest.$ac_ext
88749 fi
88750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88752 if test `eval echo '${'$as_ac_var'}'` = yes; then
88753   cat >>confdefs.h <<_ACEOF
88754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88755 _ACEOF
88756
88757 fi
88758 done
88759
88760     fi
88761   fi
88762
88763
88764
88765
88766
88767
88768     echo "$as_me:$LINENO: checking for long double trig functions" >&5
88769 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
88770   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
88771   echo $ECHO_N "(cached) $ECHO_C" >&6
88772 else
88773
88774
88775
88776     ac_ext=cc
88777 ac_cpp='$CXXCPP $CPPFLAGS'
88778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88781
88782     cat >conftest.$ac_ext <<_ACEOF
88783 /* confdefs.h.  */
88784 _ACEOF
88785 cat confdefs.h >>conftest.$ac_ext
88786 cat >>conftest.$ac_ext <<_ACEOF
88787 /* end confdefs.h.  */
88788 #include <math.h>
88789 int
88790 main ()
88791 {
88792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
88793   ;
88794   return 0;
88795 }
88796 _ACEOF
88797 rm -f conftest.$ac_objext
88798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88799   (eval $ac_compile) 2>conftest.er1
88800   ac_status=$?
88801   grep -v '^ *+' conftest.er1 >conftest.err
88802   rm -f conftest.er1
88803   cat conftest.err >&5
88804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88805   (exit $ac_status); } &&
88806          { ac_try='test -z "$ac_cxx_werror_flag"
88807                          || test ! -s conftest.err'
88808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88809   (eval $ac_try) 2>&5
88810   ac_status=$?
88811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88812   (exit $ac_status); }; } &&
88813          { ac_try='test -s conftest.$ac_objext'
88814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88815   (eval $ac_try) 2>&5
88816   ac_status=$?
88817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88818   (exit $ac_status); }; }; then
88819   glibcxx_cv_func_long_double_trig_use=yes
88820 else
88821   echo "$as_me: failed program was:" >&5
88822 sed 's/^/| /' conftest.$ac_ext >&5
88823
88824 glibcxx_cv_func_long_double_trig_use=no
88825 fi
88826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88827     ac_ext=c
88828 ac_cpp='$CPP $CPPFLAGS'
88829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88832
88833 fi
88834
88835   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
88836 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
88837   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
88838
88839
88840
88841
88842
88843
88844
88845
88846
88847 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
88848 do
88849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88850 echo "$as_me:$LINENO: checking for $ac_func" >&5
88851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88852 if eval "test \"\${$as_ac_var+set}\" = set"; then
88853   echo $ECHO_N "(cached) $ECHO_C" >&6
88854 else
88855   if test x$gcc_no_link = xyes; then
88856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88858    { (exit 1); exit 1; }; }
88859 fi
88860 cat >conftest.$ac_ext <<_ACEOF
88861 /* confdefs.h.  */
88862 _ACEOF
88863 cat confdefs.h >>conftest.$ac_ext
88864 cat >>conftest.$ac_ext <<_ACEOF
88865 /* end confdefs.h.  */
88866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88867    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88868 #define $ac_func innocuous_$ac_func
88869
88870 /* System header to define __stub macros and hopefully few prototypes,
88871     which can conflict with char $ac_func (); below.
88872     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88873     <limits.h> exists even on freestanding compilers.  */
88874
88875 #ifdef __STDC__
88876 # include <limits.h>
88877 #else
88878 # include <assert.h>
88879 #endif
88880
88881 #undef $ac_func
88882
88883 /* Override any gcc2 internal prototype to avoid an error.  */
88884 #ifdef __cplusplus
88885 extern "C"
88886 {
88887 #endif
88888 /* We use char because int might match the return type of a gcc2
88889    builtin and then its argument prototype would still apply.  */
88890 char $ac_func ();
88891 /* The GNU C library defines this for functions which it implements
88892     to always fail with ENOSYS.  Some functions are actually named
88893     something starting with __ and the normal name is an alias.  */
88894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88895 choke me
88896 #else
88897 char (*f) () = $ac_func;
88898 #endif
88899 #ifdef __cplusplus
88900 }
88901 #endif
88902
88903 int
88904 main ()
88905 {
88906 return f != $ac_func;
88907   ;
88908   return 0;
88909 }
88910 _ACEOF
88911 rm -f conftest.$ac_objext conftest$ac_exeext
88912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88913   (eval $ac_link) 2>conftest.er1
88914   ac_status=$?
88915   grep -v '^ *+' conftest.er1 >conftest.err
88916   rm -f conftest.er1
88917   cat conftest.err >&5
88918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88919   (exit $ac_status); } &&
88920          { ac_try='test -z "$ac_c_werror_flag"
88921                          || test ! -s conftest.err'
88922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88923   (eval $ac_try) 2>&5
88924   ac_status=$?
88925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88926   (exit $ac_status); }; } &&
88927          { ac_try='test -s conftest$ac_exeext'
88928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88929   (eval $ac_try) 2>&5
88930   ac_status=$?
88931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88932   (exit $ac_status); }; }; then
88933   eval "$as_ac_var=yes"
88934 else
88935   echo "$as_me: failed program was:" >&5
88936 sed 's/^/| /' conftest.$ac_ext >&5
88937
88938 eval "$as_ac_var=no"
88939 fi
88940 rm -f conftest.err conftest.$ac_objext \
88941       conftest$ac_exeext conftest.$ac_ext
88942 fi
88943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88945 if test `eval echo '${'$as_ac_var'}'` = yes; then
88946   cat >>confdefs.h <<_ACEOF
88947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88948 _ACEOF
88949
88950 fi
88951 done
88952
88953   else
88954     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
88955 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
88956     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
88957   echo $ECHO_N "(cached) $ECHO_C" >&6
88958 else
88959
88960
88961
88962       ac_ext=cc
88963 ac_cpp='$CXXCPP $CPPFLAGS'
88964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88967
88968       cat >conftest.$ac_ext <<_ACEOF
88969 /* confdefs.h.  */
88970 _ACEOF
88971 cat confdefs.h >>conftest.$ac_ext
88972 cat >>conftest.$ac_ext <<_ACEOF
88973 /* end confdefs.h.  */
88974 #include <math.h>
88975 int
88976 main ()
88977 {
88978 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
88979   ;
88980   return 0;
88981 }
88982 _ACEOF
88983 rm -f conftest.$ac_objext
88984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88985   (eval $ac_compile) 2>conftest.er1
88986   ac_status=$?
88987   grep -v '^ *+' conftest.er1 >conftest.err
88988   rm -f conftest.er1
88989   cat conftest.err >&5
88990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88991   (exit $ac_status); } &&
88992          { ac_try='test -z "$ac_cxx_werror_flag"
88993                          || test ! -s conftest.err'
88994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88995   (eval $ac_try) 2>&5
88996   ac_status=$?
88997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88998   (exit $ac_status); }; } &&
88999          { ac_try='test -s conftest.$ac_objext'
89000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89001   (eval $ac_try) 2>&5
89002   ac_status=$?
89003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89004   (exit $ac_status); }; }; then
89005   glibcxx_cv_func__long_double_trig_use=yes
89006 else
89007   echo "$as_me: failed program was:" >&5
89008 sed 's/^/| /' conftest.$ac_ext >&5
89009
89010 glibcxx_cv_func__long_double_trig_use=no
89011 fi
89012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89013       ac_ext=c
89014 ac_cpp='$CPP $CPPFLAGS'
89015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89018
89019 fi
89020
89021     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89022 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89023     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89024
89025
89026
89027
89028
89029
89030
89031
89032
89033 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89034 do
89035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89036 echo "$as_me:$LINENO: checking for $ac_func" >&5
89037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89038 if eval "test \"\${$as_ac_var+set}\" = set"; then
89039   echo $ECHO_N "(cached) $ECHO_C" >&6
89040 else
89041   if test x$gcc_no_link = xyes; then
89042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89044    { (exit 1); exit 1; }; }
89045 fi
89046 cat >conftest.$ac_ext <<_ACEOF
89047 /* confdefs.h.  */
89048 _ACEOF
89049 cat confdefs.h >>conftest.$ac_ext
89050 cat >>conftest.$ac_ext <<_ACEOF
89051 /* end confdefs.h.  */
89052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89054 #define $ac_func innocuous_$ac_func
89055
89056 /* System header to define __stub macros and hopefully few prototypes,
89057     which can conflict with char $ac_func (); below.
89058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89059     <limits.h> exists even on freestanding compilers.  */
89060
89061 #ifdef __STDC__
89062 # include <limits.h>
89063 #else
89064 # include <assert.h>
89065 #endif
89066
89067 #undef $ac_func
89068
89069 /* Override any gcc2 internal prototype to avoid an error.  */
89070 #ifdef __cplusplus
89071 extern "C"
89072 {
89073 #endif
89074 /* We use char because int might match the return type of a gcc2
89075    builtin and then its argument prototype would still apply.  */
89076 char $ac_func ();
89077 /* The GNU C library defines this for functions which it implements
89078     to always fail with ENOSYS.  Some functions are actually named
89079     something starting with __ and the normal name is an alias.  */
89080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89081 choke me
89082 #else
89083 char (*f) () = $ac_func;
89084 #endif
89085 #ifdef __cplusplus
89086 }
89087 #endif
89088
89089 int
89090 main ()
89091 {
89092 return f != $ac_func;
89093   ;
89094   return 0;
89095 }
89096 _ACEOF
89097 rm -f conftest.$ac_objext conftest$ac_exeext
89098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89099   (eval $ac_link) 2>conftest.er1
89100   ac_status=$?
89101   grep -v '^ *+' conftest.er1 >conftest.err
89102   rm -f conftest.er1
89103   cat conftest.err >&5
89104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89105   (exit $ac_status); } &&
89106          { ac_try='test -z "$ac_c_werror_flag"
89107                          || test ! -s conftest.err'
89108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89109   (eval $ac_try) 2>&5
89110   ac_status=$?
89111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89112   (exit $ac_status); }; } &&
89113          { ac_try='test -s conftest$ac_exeext'
89114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89115   (eval $ac_try) 2>&5
89116   ac_status=$?
89117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89118   (exit $ac_status); }; }; then
89119   eval "$as_ac_var=yes"
89120 else
89121   echo "$as_me: failed program was:" >&5
89122 sed 's/^/| /' conftest.$ac_ext >&5
89123
89124 eval "$as_ac_var=no"
89125 fi
89126 rm -f conftest.err conftest.$ac_objext \
89127       conftest$ac_exeext conftest.$ac_ext
89128 fi
89129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89131 if test `eval echo '${'$as_ac_var'}'` = yes; then
89132   cat >>confdefs.h <<_ACEOF
89133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89134 _ACEOF
89135
89136 fi
89137 done
89138
89139     fi
89140   fi
89141
89142
89143
89144
89145
89146
89147
89148
89149
89150
89151
89152
89153
89154
89155     echo "$as_me:$LINENO: checking for long double round functions" >&5
89156 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89157   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89158   echo $ECHO_N "(cached) $ECHO_C" >&6
89159 else
89160
89161
89162
89163     ac_ext=cc
89164 ac_cpp='$CXXCPP $CPPFLAGS'
89165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89168
89169     cat >conftest.$ac_ext <<_ACEOF
89170 /* confdefs.h.  */
89171 _ACEOF
89172 cat confdefs.h >>conftest.$ac_ext
89173 cat >>conftest.$ac_ext <<_ACEOF
89174 /* end confdefs.h.  */
89175 #include <math.h>
89176 int
89177 main ()
89178 {
89179 ceill (0); floorl (0);
89180   ;
89181   return 0;
89182 }
89183 _ACEOF
89184 rm -f conftest.$ac_objext
89185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89186   (eval $ac_compile) 2>conftest.er1
89187   ac_status=$?
89188   grep -v '^ *+' conftest.er1 >conftest.err
89189   rm -f conftest.er1
89190   cat conftest.err >&5
89191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89192   (exit $ac_status); } &&
89193          { ac_try='test -z "$ac_cxx_werror_flag"
89194                          || test ! -s conftest.err'
89195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89196   (eval $ac_try) 2>&5
89197   ac_status=$?
89198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89199   (exit $ac_status); }; } &&
89200          { ac_try='test -s conftest.$ac_objext'
89201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89202   (eval $ac_try) 2>&5
89203   ac_status=$?
89204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89205   (exit $ac_status); }; }; then
89206   glibcxx_cv_func_long_double_round_use=yes
89207 else
89208   echo "$as_me: failed program was:" >&5
89209 sed 's/^/| /' conftest.$ac_ext >&5
89210
89211 glibcxx_cv_func_long_double_round_use=no
89212 fi
89213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89214     ac_ext=c
89215 ac_cpp='$CPP $CPPFLAGS'
89216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89219
89220 fi
89221
89222   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89223 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89224   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89225
89226
89227 for ac_func in ceill floorl
89228 do
89229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89230 echo "$as_me:$LINENO: checking for $ac_func" >&5
89231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89232 if eval "test \"\${$as_ac_var+set}\" = set"; then
89233   echo $ECHO_N "(cached) $ECHO_C" >&6
89234 else
89235   if test x$gcc_no_link = xyes; then
89236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89238    { (exit 1); exit 1; }; }
89239 fi
89240 cat >conftest.$ac_ext <<_ACEOF
89241 /* confdefs.h.  */
89242 _ACEOF
89243 cat confdefs.h >>conftest.$ac_ext
89244 cat >>conftest.$ac_ext <<_ACEOF
89245 /* end confdefs.h.  */
89246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89248 #define $ac_func innocuous_$ac_func
89249
89250 /* System header to define __stub macros and hopefully few prototypes,
89251     which can conflict with char $ac_func (); below.
89252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89253     <limits.h> exists even on freestanding compilers.  */
89254
89255 #ifdef __STDC__
89256 # include <limits.h>
89257 #else
89258 # include <assert.h>
89259 #endif
89260
89261 #undef $ac_func
89262
89263 /* Override any gcc2 internal prototype to avoid an error.  */
89264 #ifdef __cplusplus
89265 extern "C"
89266 {
89267 #endif
89268 /* We use char because int might match the return type of a gcc2
89269    builtin and then its argument prototype would still apply.  */
89270 char $ac_func ();
89271 /* The GNU C library defines this for functions which it implements
89272     to always fail with ENOSYS.  Some functions are actually named
89273     something starting with __ and the normal name is an alias.  */
89274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89275 choke me
89276 #else
89277 char (*f) () = $ac_func;
89278 #endif
89279 #ifdef __cplusplus
89280 }
89281 #endif
89282
89283 int
89284 main ()
89285 {
89286 return f != $ac_func;
89287   ;
89288   return 0;
89289 }
89290 _ACEOF
89291 rm -f conftest.$ac_objext conftest$ac_exeext
89292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89293   (eval $ac_link) 2>conftest.er1
89294   ac_status=$?
89295   grep -v '^ *+' conftest.er1 >conftest.err
89296   rm -f conftest.er1
89297   cat conftest.err >&5
89298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89299   (exit $ac_status); } &&
89300          { ac_try='test -z "$ac_c_werror_flag"
89301                          || test ! -s conftest.err'
89302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89303   (eval $ac_try) 2>&5
89304   ac_status=$?
89305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89306   (exit $ac_status); }; } &&
89307          { ac_try='test -s conftest$ac_exeext'
89308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89309   (eval $ac_try) 2>&5
89310   ac_status=$?
89311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89312   (exit $ac_status); }; }; then
89313   eval "$as_ac_var=yes"
89314 else
89315   echo "$as_me: failed program was:" >&5
89316 sed 's/^/| /' conftest.$ac_ext >&5
89317
89318 eval "$as_ac_var=no"
89319 fi
89320 rm -f conftest.err conftest.$ac_objext \
89321       conftest$ac_exeext conftest.$ac_ext
89322 fi
89323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89325 if test `eval echo '${'$as_ac_var'}'` = yes; then
89326   cat >>confdefs.h <<_ACEOF
89327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89328 _ACEOF
89329
89330 fi
89331 done
89332
89333   else
89334     echo "$as_me:$LINENO: checking for _long double round functions" >&5
89335 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89336     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89337   echo $ECHO_N "(cached) $ECHO_C" >&6
89338 else
89339
89340
89341
89342       ac_ext=cc
89343 ac_cpp='$CXXCPP $CPPFLAGS'
89344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89347
89348       cat >conftest.$ac_ext <<_ACEOF
89349 /* confdefs.h.  */
89350 _ACEOF
89351 cat confdefs.h >>conftest.$ac_ext
89352 cat >>conftest.$ac_ext <<_ACEOF
89353 /* end confdefs.h.  */
89354 #include <math.h>
89355 int
89356 main ()
89357 {
89358 _ceill (0); _floorl (0);
89359   ;
89360   return 0;
89361 }
89362 _ACEOF
89363 rm -f conftest.$ac_objext
89364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89365   (eval $ac_compile) 2>conftest.er1
89366   ac_status=$?
89367   grep -v '^ *+' conftest.er1 >conftest.err
89368   rm -f conftest.er1
89369   cat conftest.err >&5
89370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89371   (exit $ac_status); } &&
89372          { ac_try='test -z "$ac_cxx_werror_flag"
89373                          || test ! -s conftest.err'
89374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89375   (eval $ac_try) 2>&5
89376   ac_status=$?
89377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89378   (exit $ac_status); }; } &&
89379          { ac_try='test -s conftest.$ac_objext'
89380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89381   (eval $ac_try) 2>&5
89382   ac_status=$?
89383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89384   (exit $ac_status); }; }; then
89385   glibcxx_cv_func__long_double_round_use=yes
89386 else
89387   echo "$as_me: failed program was:" >&5
89388 sed 's/^/| /' conftest.$ac_ext >&5
89389
89390 glibcxx_cv_func__long_double_round_use=no
89391 fi
89392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89393       ac_ext=c
89394 ac_cpp='$CPP $CPPFLAGS'
89395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89398
89399 fi
89400
89401     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89402 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89403     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89404
89405
89406 for ac_func in _ceill _floorl
89407 do
89408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89409 echo "$as_me:$LINENO: checking for $ac_func" >&5
89410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89411 if eval "test \"\${$as_ac_var+set}\" = set"; then
89412   echo $ECHO_N "(cached) $ECHO_C" >&6
89413 else
89414   if test x$gcc_no_link = xyes; then
89415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89417    { (exit 1); exit 1; }; }
89418 fi
89419 cat >conftest.$ac_ext <<_ACEOF
89420 /* confdefs.h.  */
89421 _ACEOF
89422 cat confdefs.h >>conftest.$ac_ext
89423 cat >>conftest.$ac_ext <<_ACEOF
89424 /* end confdefs.h.  */
89425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89427 #define $ac_func innocuous_$ac_func
89428
89429 /* System header to define __stub macros and hopefully few prototypes,
89430     which can conflict with char $ac_func (); below.
89431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89432     <limits.h> exists even on freestanding compilers.  */
89433
89434 #ifdef __STDC__
89435 # include <limits.h>
89436 #else
89437 # include <assert.h>
89438 #endif
89439
89440 #undef $ac_func
89441
89442 /* Override any gcc2 internal prototype to avoid an error.  */
89443 #ifdef __cplusplus
89444 extern "C"
89445 {
89446 #endif
89447 /* We use char because int might match the return type of a gcc2
89448    builtin and then its argument prototype would still apply.  */
89449 char $ac_func ();
89450 /* The GNU C library defines this for functions which it implements
89451     to always fail with ENOSYS.  Some functions are actually named
89452     something starting with __ and the normal name is an alias.  */
89453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89454 choke me
89455 #else
89456 char (*f) () = $ac_func;
89457 #endif
89458 #ifdef __cplusplus
89459 }
89460 #endif
89461
89462 int
89463 main ()
89464 {
89465 return f != $ac_func;
89466   ;
89467   return 0;
89468 }
89469 _ACEOF
89470 rm -f conftest.$ac_objext conftest$ac_exeext
89471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89472   (eval $ac_link) 2>conftest.er1
89473   ac_status=$?
89474   grep -v '^ *+' conftest.er1 >conftest.err
89475   rm -f conftest.er1
89476   cat conftest.err >&5
89477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89478   (exit $ac_status); } &&
89479          { ac_try='test -z "$ac_c_werror_flag"
89480                          || test ! -s conftest.err'
89481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89482   (eval $ac_try) 2>&5
89483   ac_status=$?
89484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89485   (exit $ac_status); }; } &&
89486          { ac_try='test -s conftest$ac_exeext'
89487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89488   (eval $ac_try) 2>&5
89489   ac_status=$?
89490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89491   (exit $ac_status); }; }; then
89492   eval "$as_ac_var=yes"
89493 else
89494   echo "$as_me: failed program was:" >&5
89495 sed 's/^/| /' conftest.$ac_ext >&5
89496
89497 eval "$as_ac_var=no"
89498 fi
89499 rm -f conftest.err conftest.$ac_objext \
89500       conftest$ac_exeext conftest.$ac_ext
89501 fi
89502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89504 if test `eval echo '${'$as_ac_var'}'` = yes; then
89505   cat >>confdefs.h <<_ACEOF
89506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89507 _ACEOF
89508
89509 fi
89510 done
89511
89512     fi
89513   fi
89514
89515
89516
89517
89518
89519
89520
89521
89522   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89523 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89524   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89525     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89526   echo $ECHO_N "(cached) $ECHO_C" >&6
89527 else
89528
89529
89530
89531       ac_ext=cc
89532 ac_cpp='$CXXCPP $CPPFLAGS'
89533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89536
89537       cat >conftest.$ac_ext <<_ACEOF
89538 /* confdefs.h.  */
89539 _ACEOF
89540 cat confdefs.h >>conftest.$ac_ext
89541 cat >>conftest.$ac_ext <<_ACEOF
89542 /* end confdefs.h.  */
89543 #include <math.h>
89544                       #ifdef HAVE_IEEEFP_H
89545                       #include <ieeefp.h>
89546                       #endif
89547
89548 int
89549 main ()
89550 {
89551  isnanl(0);
89552   ;
89553   return 0;
89554 }
89555 _ACEOF
89556 rm -f conftest.$ac_objext
89557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89558   (eval $ac_compile) 2>conftest.er1
89559   ac_status=$?
89560   grep -v '^ *+' conftest.er1 >conftest.err
89561   rm -f conftest.er1
89562   cat conftest.err >&5
89563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89564   (exit $ac_status); } &&
89565          { ac_try='test -z "$ac_cxx_werror_flag"
89566                          || test ! -s conftest.err'
89567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89568   (eval $ac_try) 2>&5
89569   ac_status=$?
89570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89571   (exit $ac_status); }; } &&
89572          { ac_try='test -s conftest.$ac_objext'
89573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89574   (eval $ac_try) 2>&5
89575   ac_status=$?
89576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89577   (exit $ac_status); }; }; then
89578   glibcxx_cv_func_isnanl_use=yes
89579 else
89580   echo "$as_me: failed program was:" >&5
89581 sed 's/^/| /' conftest.$ac_ext >&5
89582
89583 glibcxx_cv_func_isnanl_use=no
89584 fi
89585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89586       ac_ext=c
89587 ac_cpp='$CPP $CPPFLAGS'
89588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89591
89592
89593 fi
89594
89595   fi
89596   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
89597 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
89598
89599   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
89600
89601 for ac_func in isnanl
89602 do
89603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89604 echo "$as_me:$LINENO: checking for $ac_func" >&5
89605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89606 if eval "test \"\${$as_ac_var+set}\" = set"; then
89607   echo $ECHO_N "(cached) $ECHO_C" >&6
89608 else
89609   if test x$gcc_no_link = xyes; then
89610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89612    { (exit 1); exit 1; }; }
89613 fi
89614 cat >conftest.$ac_ext <<_ACEOF
89615 /* confdefs.h.  */
89616 _ACEOF
89617 cat confdefs.h >>conftest.$ac_ext
89618 cat >>conftest.$ac_ext <<_ACEOF
89619 /* end confdefs.h.  */
89620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89622 #define $ac_func innocuous_$ac_func
89623
89624 /* System header to define __stub macros and hopefully few prototypes,
89625     which can conflict with char $ac_func (); below.
89626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89627     <limits.h> exists even on freestanding compilers.  */
89628
89629 #ifdef __STDC__
89630 # include <limits.h>
89631 #else
89632 # include <assert.h>
89633 #endif
89634
89635 #undef $ac_func
89636
89637 /* Override any gcc2 internal prototype to avoid an error.  */
89638 #ifdef __cplusplus
89639 extern "C"
89640 {
89641 #endif
89642 /* We use char because int might match the return type of a gcc2
89643    builtin and then its argument prototype would still apply.  */
89644 char $ac_func ();
89645 /* The GNU C library defines this for functions which it implements
89646     to always fail with ENOSYS.  Some functions are actually named
89647     something starting with __ and the normal name is an alias.  */
89648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89649 choke me
89650 #else
89651 char (*f) () = $ac_func;
89652 #endif
89653 #ifdef __cplusplus
89654 }
89655 #endif
89656
89657 int
89658 main ()
89659 {
89660 return f != $ac_func;
89661   ;
89662   return 0;
89663 }
89664 _ACEOF
89665 rm -f conftest.$ac_objext conftest$ac_exeext
89666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89667   (eval $ac_link) 2>conftest.er1
89668   ac_status=$?
89669   grep -v '^ *+' conftest.er1 >conftest.err
89670   rm -f conftest.er1
89671   cat conftest.err >&5
89672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89673   (exit $ac_status); } &&
89674          { ac_try='test -z "$ac_c_werror_flag"
89675                          || test ! -s conftest.err'
89676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89677   (eval $ac_try) 2>&5
89678   ac_status=$?
89679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89680   (exit $ac_status); }; } &&
89681          { ac_try='test -s conftest$ac_exeext'
89682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89683   (eval $ac_try) 2>&5
89684   ac_status=$?
89685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89686   (exit $ac_status); }; }; then
89687   eval "$as_ac_var=yes"
89688 else
89689   echo "$as_me: failed program was:" >&5
89690 sed 's/^/| /' conftest.$ac_ext >&5
89691
89692 eval "$as_ac_var=no"
89693 fi
89694 rm -f conftest.err conftest.$ac_objext \
89695       conftest$ac_exeext conftest.$ac_ext
89696 fi
89697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89699 if test `eval echo '${'$as_ac_var'}'` = yes; then
89700   cat >>confdefs.h <<_ACEOF
89701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89702 _ACEOF
89703
89704 fi
89705 done
89706
89707   else
89708
89709   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89710 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89711   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89712     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89713   echo $ECHO_N "(cached) $ECHO_C" >&6
89714 else
89715
89716
89717
89718       ac_ext=cc
89719 ac_cpp='$CXXCPP $CPPFLAGS'
89720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89723
89724       cat >conftest.$ac_ext <<_ACEOF
89725 /* confdefs.h.  */
89726 _ACEOF
89727 cat confdefs.h >>conftest.$ac_ext
89728 cat >>conftest.$ac_ext <<_ACEOF
89729 /* end confdefs.h.  */
89730 #include <math.h>
89731                       #ifdef HAVE_IEEEFP_H
89732                       #include <ieeefp.h>
89733                       #endif
89734
89735 int
89736 main ()
89737 {
89738  _isnanl(0);
89739   ;
89740   return 0;
89741 }
89742 _ACEOF
89743 rm -f conftest.$ac_objext
89744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89745   (eval $ac_compile) 2>conftest.er1
89746   ac_status=$?
89747   grep -v '^ *+' conftest.er1 >conftest.err
89748   rm -f conftest.er1
89749   cat conftest.err >&5
89750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89751   (exit $ac_status); } &&
89752          { ac_try='test -z "$ac_cxx_werror_flag"
89753                          || test ! -s conftest.err'
89754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89755   (eval $ac_try) 2>&5
89756   ac_status=$?
89757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89758   (exit $ac_status); }; } &&
89759          { ac_try='test -s conftest.$ac_objext'
89760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89761   (eval $ac_try) 2>&5
89762   ac_status=$?
89763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89764   (exit $ac_status); }; }; then
89765   glibcxx_cv_func__isnanl_use=yes
89766 else
89767   echo "$as_me: failed program was:" >&5
89768 sed 's/^/| /' conftest.$ac_ext >&5
89769
89770 glibcxx_cv_func__isnanl_use=no
89771 fi
89772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89773       ac_ext=c
89774 ac_cpp='$CPP $CPPFLAGS'
89775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89778
89779
89780 fi
89781
89782   fi
89783   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
89784 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
89785
89786     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
89787
89788 for ac_func in _isnanl
89789 do
89790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89791 echo "$as_me:$LINENO: checking for $ac_func" >&5
89792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89793 if eval "test \"\${$as_ac_var+set}\" = set"; then
89794   echo $ECHO_N "(cached) $ECHO_C" >&6
89795 else
89796   if test x$gcc_no_link = xyes; then
89797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89799    { (exit 1); exit 1; }; }
89800 fi
89801 cat >conftest.$ac_ext <<_ACEOF
89802 /* confdefs.h.  */
89803 _ACEOF
89804 cat confdefs.h >>conftest.$ac_ext
89805 cat >>conftest.$ac_ext <<_ACEOF
89806 /* end confdefs.h.  */
89807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89809 #define $ac_func innocuous_$ac_func
89810
89811 /* System header to define __stub macros and hopefully few prototypes,
89812     which can conflict with char $ac_func (); below.
89813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89814     <limits.h> exists even on freestanding compilers.  */
89815
89816 #ifdef __STDC__
89817 # include <limits.h>
89818 #else
89819 # include <assert.h>
89820 #endif
89821
89822 #undef $ac_func
89823
89824 /* Override any gcc2 internal prototype to avoid an error.  */
89825 #ifdef __cplusplus
89826 extern "C"
89827 {
89828 #endif
89829 /* We use char because int might match the return type of a gcc2
89830    builtin and then its argument prototype would still apply.  */
89831 char $ac_func ();
89832 /* The GNU C library defines this for functions which it implements
89833     to always fail with ENOSYS.  Some functions are actually named
89834     something starting with __ and the normal name is an alias.  */
89835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89836 choke me
89837 #else
89838 char (*f) () = $ac_func;
89839 #endif
89840 #ifdef __cplusplus
89841 }
89842 #endif
89843
89844 int
89845 main ()
89846 {
89847 return f != $ac_func;
89848   ;
89849   return 0;
89850 }
89851 _ACEOF
89852 rm -f conftest.$ac_objext conftest$ac_exeext
89853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89854   (eval $ac_link) 2>conftest.er1
89855   ac_status=$?
89856   grep -v '^ *+' conftest.er1 >conftest.err
89857   rm -f conftest.er1
89858   cat conftest.err >&5
89859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89860   (exit $ac_status); } &&
89861          { ac_try='test -z "$ac_c_werror_flag"
89862                          || test ! -s conftest.err'
89863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89864   (eval $ac_try) 2>&5
89865   ac_status=$?
89866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867   (exit $ac_status); }; } &&
89868          { ac_try='test -s conftest$ac_exeext'
89869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89870   (eval $ac_try) 2>&5
89871   ac_status=$?
89872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89873   (exit $ac_status); }; }; then
89874   eval "$as_ac_var=yes"
89875 else
89876   echo "$as_me: failed program was:" >&5
89877 sed 's/^/| /' conftest.$ac_ext >&5
89878
89879 eval "$as_ac_var=no"
89880 fi
89881 rm -f conftest.err conftest.$ac_objext \
89882       conftest$ac_exeext conftest.$ac_ext
89883 fi
89884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89886 if test `eval echo '${'$as_ac_var'}'` = yes; then
89887   cat >>confdefs.h <<_ACEOF
89888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89889 _ACEOF
89890
89891 fi
89892 done
89893
89894     fi
89895   fi
89896
89897
89898
89899
89900
89901
89902   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
89903 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
89904   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
89905     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
89906   echo $ECHO_N "(cached) $ECHO_C" >&6
89907 else
89908
89909
89910
89911       ac_ext=cc
89912 ac_cpp='$CXXCPP $CPPFLAGS'
89913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89916
89917       cat >conftest.$ac_ext <<_ACEOF
89918 /* confdefs.h.  */
89919 _ACEOF
89920 cat confdefs.h >>conftest.$ac_ext
89921 cat >>conftest.$ac_ext <<_ACEOF
89922 /* end confdefs.h.  */
89923 #include <math.h>
89924                       #ifdef HAVE_IEEEFP_H
89925                       #include <ieeefp.h>
89926                       #endif
89927
89928 int
89929 main ()
89930 {
89931  isinfl(0);
89932   ;
89933   return 0;
89934 }
89935 _ACEOF
89936 rm -f conftest.$ac_objext
89937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89938   (eval $ac_compile) 2>conftest.er1
89939   ac_status=$?
89940   grep -v '^ *+' conftest.er1 >conftest.err
89941   rm -f conftest.er1
89942   cat conftest.err >&5
89943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89944   (exit $ac_status); } &&
89945          { ac_try='test -z "$ac_cxx_werror_flag"
89946                          || test ! -s conftest.err'
89947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89948   (eval $ac_try) 2>&5
89949   ac_status=$?
89950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89951   (exit $ac_status); }; } &&
89952          { ac_try='test -s conftest.$ac_objext'
89953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89954   (eval $ac_try) 2>&5
89955   ac_status=$?
89956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89957   (exit $ac_status); }; }; then
89958   glibcxx_cv_func_isinfl_use=yes
89959 else
89960   echo "$as_me: failed program was:" >&5
89961 sed 's/^/| /' conftest.$ac_ext >&5
89962
89963 glibcxx_cv_func_isinfl_use=no
89964 fi
89965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89966       ac_ext=c
89967 ac_cpp='$CPP $CPPFLAGS'
89968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89971
89972
89973 fi
89974
89975   fi
89976   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
89977 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
89978
89979   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
89980
89981 for ac_func in isinfl
89982 do
89983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89984 echo "$as_me:$LINENO: checking for $ac_func" >&5
89985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89986 if eval "test \"\${$as_ac_var+set}\" = set"; then
89987   echo $ECHO_N "(cached) $ECHO_C" >&6
89988 else
89989   if test x$gcc_no_link = xyes; then
89990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89992    { (exit 1); exit 1; }; }
89993 fi
89994 cat >conftest.$ac_ext <<_ACEOF
89995 /* confdefs.h.  */
89996 _ACEOF
89997 cat confdefs.h >>conftest.$ac_ext
89998 cat >>conftest.$ac_ext <<_ACEOF
89999 /* end confdefs.h.  */
90000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90002 #define $ac_func innocuous_$ac_func
90003
90004 /* System header to define __stub macros and hopefully few prototypes,
90005     which can conflict with char $ac_func (); below.
90006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90007     <limits.h> exists even on freestanding compilers.  */
90008
90009 #ifdef __STDC__
90010 # include <limits.h>
90011 #else
90012 # include <assert.h>
90013 #endif
90014
90015 #undef $ac_func
90016
90017 /* Override any gcc2 internal prototype to avoid an error.  */
90018 #ifdef __cplusplus
90019 extern "C"
90020 {
90021 #endif
90022 /* We use char because int might match the return type of a gcc2
90023    builtin and then its argument prototype would still apply.  */
90024 char $ac_func ();
90025 /* The GNU C library defines this for functions which it implements
90026     to always fail with ENOSYS.  Some functions are actually named
90027     something starting with __ and the normal name is an alias.  */
90028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90029 choke me
90030 #else
90031 char (*f) () = $ac_func;
90032 #endif
90033 #ifdef __cplusplus
90034 }
90035 #endif
90036
90037 int
90038 main ()
90039 {
90040 return f != $ac_func;
90041   ;
90042   return 0;
90043 }
90044 _ACEOF
90045 rm -f conftest.$ac_objext conftest$ac_exeext
90046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90047   (eval $ac_link) 2>conftest.er1
90048   ac_status=$?
90049   grep -v '^ *+' conftest.er1 >conftest.err
90050   rm -f conftest.er1
90051   cat conftest.err >&5
90052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90053   (exit $ac_status); } &&
90054          { ac_try='test -z "$ac_c_werror_flag"
90055                          || test ! -s conftest.err'
90056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90057   (eval $ac_try) 2>&5
90058   ac_status=$?
90059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90060   (exit $ac_status); }; } &&
90061          { ac_try='test -s conftest$ac_exeext'
90062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90063   (eval $ac_try) 2>&5
90064   ac_status=$?
90065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90066   (exit $ac_status); }; }; then
90067   eval "$as_ac_var=yes"
90068 else
90069   echo "$as_me: failed program was:" >&5
90070 sed 's/^/| /' conftest.$ac_ext >&5
90071
90072 eval "$as_ac_var=no"
90073 fi
90074 rm -f conftest.err conftest.$ac_objext \
90075       conftest$ac_exeext conftest.$ac_ext
90076 fi
90077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90079 if test `eval echo '${'$as_ac_var'}'` = yes; then
90080   cat >>confdefs.h <<_ACEOF
90081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90082 _ACEOF
90083
90084 fi
90085 done
90086
90087   else
90088
90089   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90090 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90091   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90092     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90093   echo $ECHO_N "(cached) $ECHO_C" >&6
90094 else
90095
90096
90097
90098       ac_ext=cc
90099 ac_cpp='$CXXCPP $CPPFLAGS'
90100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90103
90104       cat >conftest.$ac_ext <<_ACEOF
90105 /* confdefs.h.  */
90106 _ACEOF
90107 cat confdefs.h >>conftest.$ac_ext
90108 cat >>conftest.$ac_ext <<_ACEOF
90109 /* end confdefs.h.  */
90110 #include <math.h>
90111                       #ifdef HAVE_IEEEFP_H
90112                       #include <ieeefp.h>
90113                       #endif
90114
90115 int
90116 main ()
90117 {
90118  _isinfl(0);
90119   ;
90120   return 0;
90121 }
90122 _ACEOF
90123 rm -f conftest.$ac_objext
90124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90125   (eval $ac_compile) 2>conftest.er1
90126   ac_status=$?
90127   grep -v '^ *+' conftest.er1 >conftest.err
90128   rm -f conftest.er1
90129   cat conftest.err >&5
90130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90131   (exit $ac_status); } &&
90132          { ac_try='test -z "$ac_cxx_werror_flag"
90133                          || test ! -s conftest.err'
90134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90135   (eval $ac_try) 2>&5
90136   ac_status=$?
90137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90138   (exit $ac_status); }; } &&
90139          { ac_try='test -s conftest.$ac_objext'
90140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90141   (eval $ac_try) 2>&5
90142   ac_status=$?
90143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90144   (exit $ac_status); }; }; then
90145   glibcxx_cv_func__isinfl_use=yes
90146 else
90147   echo "$as_me: failed program was:" >&5
90148 sed 's/^/| /' conftest.$ac_ext >&5
90149
90150 glibcxx_cv_func__isinfl_use=no
90151 fi
90152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90153       ac_ext=c
90154 ac_cpp='$CPP $CPPFLAGS'
90155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90158
90159
90160 fi
90161
90162   fi
90163   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90164 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90165
90166     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90167
90168 for ac_func in _isinfl
90169 do
90170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90171 echo "$as_me:$LINENO: checking for $ac_func" >&5
90172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90173 if eval "test \"\${$as_ac_var+set}\" = set"; then
90174   echo $ECHO_N "(cached) $ECHO_C" >&6
90175 else
90176   if test x$gcc_no_link = xyes; then
90177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90179    { (exit 1); exit 1; }; }
90180 fi
90181 cat >conftest.$ac_ext <<_ACEOF
90182 /* confdefs.h.  */
90183 _ACEOF
90184 cat confdefs.h >>conftest.$ac_ext
90185 cat >>conftest.$ac_ext <<_ACEOF
90186 /* end confdefs.h.  */
90187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90189 #define $ac_func innocuous_$ac_func
90190
90191 /* System header to define __stub macros and hopefully few prototypes,
90192     which can conflict with char $ac_func (); below.
90193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90194     <limits.h> exists even on freestanding compilers.  */
90195
90196 #ifdef __STDC__
90197 # include <limits.h>
90198 #else
90199 # include <assert.h>
90200 #endif
90201
90202 #undef $ac_func
90203
90204 /* Override any gcc2 internal prototype to avoid an error.  */
90205 #ifdef __cplusplus
90206 extern "C"
90207 {
90208 #endif
90209 /* We use char because int might match the return type of a gcc2
90210    builtin and then its argument prototype would still apply.  */
90211 char $ac_func ();
90212 /* The GNU C library defines this for functions which it implements
90213     to always fail with ENOSYS.  Some functions are actually named
90214     something starting with __ and the normal name is an alias.  */
90215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90216 choke me
90217 #else
90218 char (*f) () = $ac_func;
90219 #endif
90220 #ifdef __cplusplus
90221 }
90222 #endif
90223
90224 int
90225 main ()
90226 {
90227 return f != $ac_func;
90228   ;
90229   return 0;
90230 }
90231 _ACEOF
90232 rm -f conftest.$ac_objext conftest$ac_exeext
90233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90234   (eval $ac_link) 2>conftest.er1
90235   ac_status=$?
90236   grep -v '^ *+' conftest.er1 >conftest.err
90237   rm -f conftest.er1
90238   cat conftest.err >&5
90239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90240   (exit $ac_status); } &&
90241          { ac_try='test -z "$ac_c_werror_flag"
90242                          || test ! -s conftest.err'
90243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90244   (eval $ac_try) 2>&5
90245   ac_status=$?
90246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90247   (exit $ac_status); }; } &&
90248          { ac_try='test -s conftest$ac_exeext'
90249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90250   (eval $ac_try) 2>&5
90251   ac_status=$?
90252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90253   (exit $ac_status); }; }; then
90254   eval "$as_ac_var=yes"
90255 else
90256   echo "$as_me: failed program was:" >&5
90257 sed 's/^/| /' conftest.$ac_ext >&5
90258
90259 eval "$as_ac_var=no"
90260 fi
90261 rm -f conftest.err conftest.$ac_objext \
90262       conftest$ac_exeext conftest.$ac_ext
90263 fi
90264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90266 if test `eval echo '${'$as_ac_var'}'` = yes; then
90267   cat >>confdefs.h <<_ACEOF
90268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90269 _ACEOF
90270
90271 fi
90272 done
90273
90274     fi
90275   fi
90276
90277
90278
90279
90280
90281
90282   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90283 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90284   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90285     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90286   echo $ECHO_N "(cached) $ECHO_C" >&6
90287 else
90288
90289
90290
90291       ac_ext=cc
90292 ac_cpp='$CXXCPP $CPPFLAGS'
90293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90296
90297       cat >conftest.$ac_ext <<_ACEOF
90298 /* confdefs.h.  */
90299 _ACEOF
90300 cat confdefs.h >>conftest.$ac_ext
90301 cat >>conftest.$ac_ext <<_ACEOF
90302 /* end confdefs.h.  */
90303 #include <math.h>
90304 int
90305 main ()
90306 {
90307  copysignl(0, 0);
90308   ;
90309   return 0;
90310 }
90311 _ACEOF
90312 rm -f conftest.$ac_objext
90313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90314   (eval $ac_compile) 2>conftest.er1
90315   ac_status=$?
90316   grep -v '^ *+' conftest.er1 >conftest.err
90317   rm -f conftest.er1
90318   cat conftest.err >&5
90319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90320   (exit $ac_status); } &&
90321          { ac_try='test -z "$ac_cxx_werror_flag"
90322                          || test ! -s conftest.err'
90323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90324   (eval $ac_try) 2>&5
90325   ac_status=$?
90326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90327   (exit $ac_status); }; } &&
90328          { ac_try='test -s conftest.$ac_objext'
90329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90330   (eval $ac_try) 2>&5
90331   ac_status=$?
90332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90333   (exit $ac_status); }; }; then
90334   glibcxx_cv_func_copysignl_use=yes
90335 else
90336   echo "$as_me: failed program was:" >&5
90337 sed 's/^/| /' conftest.$ac_ext >&5
90338
90339 glibcxx_cv_func_copysignl_use=no
90340 fi
90341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90342       ac_ext=c
90343 ac_cpp='$CPP $CPPFLAGS'
90344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90347
90348
90349 fi
90350
90351   fi
90352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90353 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90354
90355   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90356
90357 for ac_func in copysignl
90358 do
90359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90360 echo "$as_me:$LINENO: checking for $ac_func" >&5
90361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90362 if eval "test \"\${$as_ac_var+set}\" = set"; then
90363   echo $ECHO_N "(cached) $ECHO_C" >&6
90364 else
90365   if test x$gcc_no_link = xyes; then
90366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90368    { (exit 1); exit 1; }; }
90369 fi
90370 cat >conftest.$ac_ext <<_ACEOF
90371 /* confdefs.h.  */
90372 _ACEOF
90373 cat confdefs.h >>conftest.$ac_ext
90374 cat >>conftest.$ac_ext <<_ACEOF
90375 /* end confdefs.h.  */
90376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90378 #define $ac_func innocuous_$ac_func
90379
90380 /* System header to define __stub macros and hopefully few prototypes,
90381     which can conflict with char $ac_func (); below.
90382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90383     <limits.h> exists even on freestanding compilers.  */
90384
90385 #ifdef __STDC__
90386 # include <limits.h>
90387 #else
90388 # include <assert.h>
90389 #endif
90390
90391 #undef $ac_func
90392
90393 /* Override any gcc2 internal prototype to avoid an error.  */
90394 #ifdef __cplusplus
90395 extern "C"
90396 {
90397 #endif
90398 /* We use char because int might match the return type of a gcc2
90399    builtin and then its argument prototype would still apply.  */
90400 char $ac_func ();
90401 /* The GNU C library defines this for functions which it implements
90402     to always fail with ENOSYS.  Some functions are actually named
90403     something starting with __ and the normal name is an alias.  */
90404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90405 choke me
90406 #else
90407 char (*f) () = $ac_func;
90408 #endif
90409 #ifdef __cplusplus
90410 }
90411 #endif
90412
90413 int
90414 main ()
90415 {
90416 return f != $ac_func;
90417   ;
90418   return 0;
90419 }
90420 _ACEOF
90421 rm -f conftest.$ac_objext conftest$ac_exeext
90422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90423   (eval $ac_link) 2>conftest.er1
90424   ac_status=$?
90425   grep -v '^ *+' conftest.er1 >conftest.err
90426   rm -f conftest.er1
90427   cat conftest.err >&5
90428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90429   (exit $ac_status); } &&
90430          { ac_try='test -z "$ac_c_werror_flag"
90431                          || test ! -s conftest.err'
90432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90433   (eval $ac_try) 2>&5
90434   ac_status=$?
90435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90436   (exit $ac_status); }; } &&
90437          { ac_try='test -s conftest$ac_exeext'
90438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90439   (eval $ac_try) 2>&5
90440   ac_status=$?
90441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90442   (exit $ac_status); }; }; then
90443   eval "$as_ac_var=yes"
90444 else
90445   echo "$as_me: failed program was:" >&5
90446 sed 's/^/| /' conftest.$ac_ext >&5
90447
90448 eval "$as_ac_var=no"
90449 fi
90450 rm -f conftest.err conftest.$ac_objext \
90451       conftest$ac_exeext conftest.$ac_ext
90452 fi
90453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90455 if test `eval echo '${'$as_ac_var'}'` = yes; then
90456   cat >>confdefs.h <<_ACEOF
90457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90458 _ACEOF
90459
90460 fi
90461 done
90462
90463   else
90464
90465   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90466 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90467   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90468     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90469   echo $ECHO_N "(cached) $ECHO_C" >&6
90470 else
90471
90472
90473
90474       ac_ext=cc
90475 ac_cpp='$CXXCPP $CPPFLAGS'
90476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90479
90480       cat >conftest.$ac_ext <<_ACEOF
90481 /* confdefs.h.  */
90482 _ACEOF
90483 cat confdefs.h >>conftest.$ac_ext
90484 cat >>conftest.$ac_ext <<_ACEOF
90485 /* end confdefs.h.  */
90486 #include <math.h>
90487 int
90488 main ()
90489 {
90490  _copysignl(0, 0);
90491   ;
90492   return 0;
90493 }
90494 _ACEOF
90495 rm -f conftest.$ac_objext
90496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90497   (eval $ac_compile) 2>conftest.er1
90498   ac_status=$?
90499   grep -v '^ *+' conftest.er1 >conftest.err
90500   rm -f conftest.er1
90501   cat conftest.err >&5
90502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90503   (exit $ac_status); } &&
90504          { ac_try='test -z "$ac_cxx_werror_flag"
90505                          || test ! -s conftest.err'
90506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90507   (eval $ac_try) 2>&5
90508   ac_status=$?
90509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90510   (exit $ac_status); }; } &&
90511          { ac_try='test -s conftest.$ac_objext'
90512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90513   (eval $ac_try) 2>&5
90514   ac_status=$?
90515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90516   (exit $ac_status); }; }; then
90517   glibcxx_cv_func__copysignl_use=yes
90518 else
90519   echo "$as_me: failed program was:" >&5
90520 sed 's/^/| /' conftest.$ac_ext >&5
90521
90522 glibcxx_cv_func__copysignl_use=no
90523 fi
90524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90525       ac_ext=c
90526 ac_cpp='$CPP $CPPFLAGS'
90527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90530
90531
90532 fi
90533
90534   fi
90535   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90536 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90537
90538     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90539
90540 for ac_func in _copysignl
90541 do
90542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90543 echo "$as_me:$LINENO: checking for $ac_func" >&5
90544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90545 if eval "test \"\${$as_ac_var+set}\" = set"; then
90546   echo $ECHO_N "(cached) $ECHO_C" >&6
90547 else
90548   if test x$gcc_no_link = xyes; then
90549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90551    { (exit 1); exit 1; }; }
90552 fi
90553 cat >conftest.$ac_ext <<_ACEOF
90554 /* confdefs.h.  */
90555 _ACEOF
90556 cat confdefs.h >>conftest.$ac_ext
90557 cat >>conftest.$ac_ext <<_ACEOF
90558 /* end confdefs.h.  */
90559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90561 #define $ac_func innocuous_$ac_func
90562
90563 /* System header to define __stub macros and hopefully few prototypes,
90564     which can conflict with char $ac_func (); below.
90565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90566     <limits.h> exists even on freestanding compilers.  */
90567
90568 #ifdef __STDC__
90569 # include <limits.h>
90570 #else
90571 # include <assert.h>
90572 #endif
90573
90574 #undef $ac_func
90575
90576 /* Override any gcc2 internal prototype to avoid an error.  */
90577 #ifdef __cplusplus
90578 extern "C"
90579 {
90580 #endif
90581 /* We use char because int might match the return type of a gcc2
90582    builtin and then its argument prototype would still apply.  */
90583 char $ac_func ();
90584 /* The GNU C library defines this for functions which it implements
90585     to always fail with ENOSYS.  Some functions are actually named
90586     something starting with __ and the normal name is an alias.  */
90587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90588 choke me
90589 #else
90590 char (*f) () = $ac_func;
90591 #endif
90592 #ifdef __cplusplus
90593 }
90594 #endif
90595
90596 int
90597 main ()
90598 {
90599 return f != $ac_func;
90600   ;
90601   return 0;
90602 }
90603 _ACEOF
90604 rm -f conftest.$ac_objext conftest$ac_exeext
90605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90606   (eval $ac_link) 2>conftest.er1
90607   ac_status=$?
90608   grep -v '^ *+' conftest.er1 >conftest.err
90609   rm -f conftest.er1
90610   cat conftest.err >&5
90611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90612   (exit $ac_status); } &&
90613          { ac_try='test -z "$ac_c_werror_flag"
90614                          || test ! -s conftest.err'
90615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90616   (eval $ac_try) 2>&5
90617   ac_status=$?
90618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90619   (exit $ac_status); }; } &&
90620          { ac_try='test -s conftest$ac_exeext'
90621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90622   (eval $ac_try) 2>&5
90623   ac_status=$?
90624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90625   (exit $ac_status); }; }; then
90626   eval "$as_ac_var=yes"
90627 else
90628   echo "$as_me: failed program was:" >&5
90629 sed 's/^/| /' conftest.$ac_ext >&5
90630
90631 eval "$as_ac_var=no"
90632 fi
90633 rm -f conftest.err conftest.$ac_objext \
90634       conftest$ac_exeext conftest.$ac_ext
90635 fi
90636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90638 if test `eval echo '${'$as_ac_var'}'` = yes; then
90639   cat >>confdefs.h <<_ACEOF
90640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90641 _ACEOF
90642
90643 fi
90644 done
90645
90646     fi
90647   fi
90648
90649
90650
90651
90652
90653
90654   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
90655 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
90656   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
90657     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
90658   echo $ECHO_N "(cached) $ECHO_C" >&6
90659 else
90660
90661
90662
90663       ac_ext=cc
90664 ac_cpp='$CXXCPP $CPPFLAGS'
90665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90668
90669       cat >conftest.$ac_ext <<_ACEOF
90670 /* confdefs.h.  */
90671 _ACEOF
90672 cat confdefs.h >>conftest.$ac_ext
90673 cat >>conftest.$ac_ext <<_ACEOF
90674 /* end confdefs.h.  */
90675 #include <math.h>
90676 int
90677 main ()
90678 {
90679  atan2l(0, 0);
90680   ;
90681   return 0;
90682 }
90683 _ACEOF
90684 rm -f conftest.$ac_objext
90685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90686   (eval $ac_compile) 2>conftest.er1
90687   ac_status=$?
90688   grep -v '^ *+' conftest.er1 >conftest.err
90689   rm -f conftest.er1
90690   cat conftest.err >&5
90691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90692   (exit $ac_status); } &&
90693          { ac_try='test -z "$ac_cxx_werror_flag"
90694                          || test ! -s conftest.err'
90695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90696   (eval $ac_try) 2>&5
90697   ac_status=$?
90698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90699   (exit $ac_status); }; } &&
90700          { ac_try='test -s conftest.$ac_objext'
90701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90702   (eval $ac_try) 2>&5
90703   ac_status=$?
90704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90705   (exit $ac_status); }; }; then
90706   glibcxx_cv_func_atan2l_use=yes
90707 else
90708   echo "$as_me: failed program was:" >&5
90709 sed 's/^/| /' conftest.$ac_ext >&5
90710
90711 glibcxx_cv_func_atan2l_use=no
90712 fi
90713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90714       ac_ext=c
90715 ac_cpp='$CPP $CPPFLAGS'
90716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90719
90720
90721 fi
90722
90723   fi
90724   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90725 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90726
90727   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
90728
90729 for ac_func in atan2l
90730 do
90731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90732 echo "$as_me:$LINENO: checking for $ac_func" >&5
90733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90734 if eval "test \"\${$as_ac_var+set}\" = set"; then
90735   echo $ECHO_N "(cached) $ECHO_C" >&6
90736 else
90737   if test x$gcc_no_link = xyes; then
90738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90740    { (exit 1); exit 1; }; }
90741 fi
90742 cat >conftest.$ac_ext <<_ACEOF
90743 /* confdefs.h.  */
90744 _ACEOF
90745 cat confdefs.h >>conftest.$ac_ext
90746 cat >>conftest.$ac_ext <<_ACEOF
90747 /* end confdefs.h.  */
90748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90750 #define $ac_func innocuous_$ac_func
90751
90752 /* System header to define __stub macros and hopefully few prototypes,
90753     which can conflict with char $ac_func (); below.
90754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90755     <limits.h> exists even on freestanding compilers.  */
90756
90757 #ifdef __STDC__
90758 # include <limits.h>
90759 #else
90760 # include <assert.h>
90761 #endif
90762
90763 #undef $ac_func
90764
90765 /* Override any gcc2 internal prototype to avoid an error.  */
90766 #ifdef __cplusplus
90767 extern "C"
90768 {
90769 #endif
90770 /* We use char because int might match the return type of a gcc2
90771    builtin and then its argument prototype would still apply.  */
90772 char $ac_func ();
90773 /* The GNU C library defines this for functions which it implements
90774     to always fail with ENOSYS.  Some functions are actually named
90775     something starting with __ and the normal name is an alias.  */
90776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90777 choke me
90778 #else
90779 char (*f) () = $ac_func;
90780 #endif
90781 #ifdef __cplusplus
90782 }
90783 #endif
90784
90785 int
90786 main ()
90787 {
90788 return f != $ac_func;
90789   ;
90790   return 0;
90791 }
90792 _ACEOF
90793 rm -f conftest.$ac_objext conftest$ac_exeext
90794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90795   (eval $ac_link) 2>conftest.er1
90796   ac_status=$?
90797   grep -v '^ *+' conftest.er1 >conftest.err
90798   rm -f conftest.er1
90799   cat conftest.err >&5
90800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90801   (exit $ac_status); } &&
90802          { ac_try='test -z "$ac_c_werror_flag"
90803                          || test ! -s conftest.err'
90804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90805   (eval $ac_try) 2>&5
90806   ac_status=$?
90807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90808   (exit $ac_status); }; } &&
90809          { ac_try='test -s conftest$ac_exeext'
90810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90811   (eval $ac_try) 2>&5
90812   ac_status=$?
90813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90814   (exit $ac_status); }; }; then
90815   eval "$as_ac_var=yes"
90816 else
90817   echo "$as_me: failed program was:" >&5
90818 sed 's/^/| /' conftest.$ac_ext >&5
90819
90820 eval "$as_ac_var=no"
90821 fi
90822 rm -f conftest.err conftest.$ac_objext \
90823       conftest$ac_exeext conftest.$ac_ext
90824 fi
90825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90827 if test `eval echo '${'$as_ac_var'}'` = yes; then
90828   cat >>confdefs.h <<_ACEOF
90829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90830 _ACEOF
90831
90832 fi
90833 done
90834
90835   else
90836
90837   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
90838 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
90839   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
90840     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
90841   echo $ECHO_N "(cached) $ECHO_C" >&6
90842 else
90843
90844
90845
90846       ac_ext=cc
90847 ac_cpp='$CXXCPP $CPPFLAGS'
90848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90851
90852       cat >conftest.$ac_ext <<_ACEOF
90853 /* confdefs.h.  */
90854 _ACEOF
90855 cat confdefs.h >>conftest.$ac_ext
90856 cat >>conftest.$ac_ext <<_ACEOF
90857 /* end confdefs.h.  */
90858 #include <math.h>
90859 int
90860 main ()
90861 {
90862  _atan2l(0, 0);
90863   ;
90864   return 0;
90865 }
90866 _ACEOF
90867 rm -f conftest.$ac_objext
90868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90869   (eval $ac_compile) 2>conftest.er1
90870   ac_status=$?
90871   grep -v '^ *+' conftest.er1 >conftest.err
90872   rm -f conftest.er1
90873   cat conftest.err >&5
90874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90875   (exit $ac_status); } &&
90876          { ac_try='test -z "$ac_cxx_werror_flag"
90877                          || test ! -s conftest.err'
90878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90879   (eval $ac_try) 2>&5
90880   ac_status=$?
90881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90882   (exit $ac_status); }; } &&
90883          { ac_try='test -s conftest.$ac_objext'
90884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90885   (eval $ac_try) 2>&5
90886   ac_status=$?
90887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90888   (exit $ac_status); }; }; then
90889   glibcxx_cv_func__atan2l_use=yes
90890 else
90891   echo "$as_me: failed program was:" >&5
90892 sed 's/^/| /' conftest.$ac_ext >&5
90893
90894 glibcxx_cv_func__atan2l_use=no
90895 fi
90896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90897       ac_ext=c
90898 ac_cpp='$CPP $CPPFLAGS'
90899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90902
90903
90904 fi
90905
90906   fi
90907   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
90908 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
90909
90910     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
90911
90912 for ac_func in _atan2l
90913 do
90914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90915 echo "$as_me:$LINENO: checking for $ac_func" >&5
90916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90917 if eval "test \"\${$as_ac_var+set}\" = set"; then
90918   echo $ECHO_N "(cached) $ECHO_C" >&6
90919 else
90920   if test x$gcc_no_link = xyes; then
90921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90923    { (exit 1); exit 1; }; }
90924 fi
90925 cat >conftest.$ac_ext <<_ACEOF
90926 /* confdefs.h.  */
90927 _ACEOF
90928 cat confdefs.h >>conftest.$ac_ext
90929 cat >>conftest.$ac_ext <<_ACEOF
90930 /* end confdefs.h.  */
90931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90933 #define $ac_func innocuous_$ac_func
90934
90935 /* System header to define __stub macros and hopefully few prototypes,
90936     which can conflict with char $ac_func (); below.
90937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90938     <limits.h> exists even on freestanding compilers.  */
90939
90940 #ifdef __STDC__
90941 # include <limits.h>
90942 #else
90943 # include <assert.h>
90944 #endif
90945
90946 #undef $ac_func
90947
90948 /* Override any gcc2 internal prototype to avoid an error.  */
90949 #ifdef __cplusplus
90950 extern "C"
90951 {
90952 #endif
90953 /* We use char because int might match the return type of a gcc2
90954    builtin and then its argument prototype would still apply.  */
90955 char $ac_func ();
90956 /* The GNU C library defines this for functions which it implements
90957     to always fail with ENOSYS.  Some functions are actually named
90958     something starting with __ and the normal name is an alias.  */
90959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90960 choke me
90961 #else
90962 char (*f) () = $ac_func;
90963 #endif
90964 #ifdef __cplusplus
90965 }
90966 #endif
90967
90968 int
90969 main ()
90970 {
90971 return f != $ac_func;
90972   ;
90973   return 0;
90974 }
90975 _ACEOF
90976 rm -f conftest.$ac_objext conftest$ac_exeext
90977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90978   (eval $ac_link) 2>conftest.er1
90979   ac_status=$?
90980   grep -v '^ *+' conftest.er1 >conftest.err
90981   rm -f conftest.er1
90982   cat conftest.err >&5
90983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90984   (exit $ac_status); } &&
90985          { ac_try='test -z "$ac_c_werror_flag"
90986                          || test ! -s conftest.err'
90987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90988   (eval $ac_try) 2>&5
90989   ac_status=$?
90990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90991   (exit $ac_status); }; } &&
90992          { ac_try='test -s conftest$ac_exeext'
90993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90994   (eval $ac_try) 2>&5
90995   ac_status=$?
90996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90997   (exit $ac_status); }; }; then
90998   eval "$as_ac_var=yes"
90999 else
91000   echo "$as_me: failed program was:" >&5
91001 sed 's/^/| /' conftest.$ac_ext >&5
91002
91003 eval "$as_ac_var=no"
91004 fi
91005 rm -f conftest.err conftest.$ac_objext \
91006       conftest$ac_exeext conftest.$ac_ext
91007 fi
91008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91010 if test `eval echo '${'$as_ac_var'}'` = yes; then
91011   cat >>confdefs.h <<_ACEOF
91012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91013 _ACEOF
91014
91015 fi
91016 done
91017
91018     fi
91019   fi
91020
91021
91022
91023
91024
91025
91026   echo "$as_me:$LINENO: checking for expl declaration" >&5
91027 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91028   if test x${glibcxx_cv_func_expl_use+set} != xset; then
91029     if test "${glibcxx_cv_func_expl_use+set}" = set; then
91030   echo $ECHO_N "(cached) $ECHO_C" >&6
91031 else
91032
91033
91034
91035       ac_ext=cc
91036 ac_cpp='$CXXCPP $CPPFLAGS'
91037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91040
91041       cat >conftest.$ac_ext <<_ACEOF
91042 /* confdefs.h.  */
91043 _ACEOF
91044 cat confdefs.h >>conftest.$ac_ext
91045 cat >>conftest.$ac_ext <<_ACEOF
91046 /* end confdefs.h.  */
91047 #include <math.h>
91048                       #ifdef HAVE_IEEEFP_H
91049                       #include <ieeefp.h>
91050                       #endif
91051
91052 int
91053 main ()
91054 {
91055  expl(0);
91056   ;
91057   return 0;
91058 }
91059 _ACEOF
91060 rm -f conftest.$ac_objext
91061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91062   (eval $ac_compile) 2>conftest.er1
91063   ac_status=$?
91064   grep -v '^ *+' conftest.er1 >conftest.err
91065   rm -f conftest.er1
91066   cat conftest.err >&5
91067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91068   (exit $ac_status); } &&
91069          { ac_try='test -z "$ac_cxx_werror_flag"
91070                          || test ! -s conftest.err'
91071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91072   (eval $ac_try) 2>&5
91073   ac_status=$?
91074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91075   (exit $ac_status); }; } &&
91076          { ac_try='test -s conftest.$ac_objext'
91077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91078   (eval $ac_try) 2>&5
91079   ac_status=$?
91080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91081   (exit $ac_status); }; }; then
91082   glibcxx_cv_func_expl_use=yes
91083 else
91084   echo "$as_me: failed program was:" >&5
91085 sed 's/^/| /' conftest.$ac_ext >&5
91086
91087 glibcxx_cv_func_expl_use=no
91088 fi
91089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91090       ac_ext=c
91091 ac_cpp='$CPP $CPPFLAGS'
91092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91095
91096
91097 fi
91098
91099   fi
91100   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91101 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91102
91103   if test x$glibcxx_cv_func_expl_use = x"yes"; then
91104
91105 for ac_func in expl
91106 do
91107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91108 echo "$as_me:$LINENO: checking for $ac_func" >&5
91109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91110 if eval "test \"\${$as_ac_var+set}\" = set"; then
91111   echo $ECHO_N "(cached) $ECHO_C" >&6
91112 else
91113   if test x$gcc_no_link = xyes; then
91114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91116    { (exit 1); exit 1; }; }
91117 fi
91118 cat >conftest.$ac_ext <<_ACEOF
91119 /* confdefs.h.  */
91120 _ACEOF
91121 cat confdefs.h >>conftest.$ac_ext
91122 cat >>conftest.$ac_ext <<_ACEOF
91123 /* end confdefs.h.  */
91124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91126 #define $ac_func innocuous_$ac_func
91127
91128 /* System header to define __stub macros and hopefully few prototypes,
91129     which can conflict with char $ac_func (); below.
91130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91131     <limits.h> exists even on freestanding compilers.  */
91132
91133 #ifdef __STDC__
91134 # include <limits.h>
91135 #else
91136 # include <assert.h>
91137 #endif
91138
91139 #undef $ac_func
91140
91141 /* Override any gcc2 internal prototype to avoid an error.  */
91142 #ifdef __cplusplus
91143 extern "C"
91144 {
91145 #endif
91146 /* We use char because int might match the return type of a gcc2
91147    builtin and then its argument prototype would still apply.  */
91148 char $ac_func ();
91149 /* The GNU C library defines this for functions which it implements
91150     to always fail with ENOSYS.  Some functions are actually named
91151     something starting with __ and the normal name is an alias.  */
91152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91153 choke me
91154 #else
91155 char (*f) () = $ac_func;
91156 #endif
91157 #ifdef __cplusplus
91158 }
91159 #endif
91160
91161 int
91162 main ()
91163 {
91164 return f != $ac_func;
91165   ;
91166   return 0;
91167 }
91168 _ACEOF
91169 rm -f conftest.$ac_objext conftest$ac_exeext
91170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91171   (eval $ac_link) 2>conftest.er1
91172   ac_status=$?
91173   grep -v '^ *+' conftest.er1 >conftest.err
91174   rm -f conftest.er1
91175   cat conftest.err >&5
91176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91177   (exit $ac_status); } &&
91178          { ac_try='test -z "$ac_c_werror_flag"
91179                          || test ! -s conftest.err'
91180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91181   (eval $ac_try) 2>&5
91182   ac_status=$?
91183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91184   (exit $ac_status); }; } &&
91185          { ac_try='test -s conftest$ac_exeext'
91186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91187   (eval $ac_try) 2>&5
91188   ac_status=$?
91189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91190   (exit $ac_status); }; }; then
91191   eval "$as_ac_var=yes"
91192 else
91193   echo "$as_me: failed program was:" >&5
91194 sed 's/^/| /' conftest.$ac_ext >&5
91195
91196 eval "$as_ac_var=no"
91197 fi
91198 rm -f conftest.err conftest.$ac_objext \
91199       conftest$ac_exeext conftest.$ac_ext
91200 fi
91201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91203 if test `eval echo '${'$as_ac_var'}'` = yes; then
91204   cat >>confdefs.h <<_ACEOF
91205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91206 _ACEOF
91207
91208 fi
91209 done
91210
91211   else
91212
91213   echo "$as_me:$LINENO: checking for _expl declaration" >&5
91214 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91215   if test x${glibcxx_cv_func__expl_use+set} != xset; then
91216     if test "${glibcxx_cv_func__expl_use+set}" = set; then
91217   echo $ECHO_N "(cached) $ECHO_C" >&6
91218 else
91219
91220
91221
91222       ac_ext=cc
91223 ac_cpp='$CXXCPP $CPPFLAGS'
91224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91227
91228       cat >conftest.$ac_ext <<_ACEOF
91229 /* confdefs.h.  */
91230 _ACEOF
91231 cat confdefs.h >>conftest.$ac_ext
91232 cat >>conftest.$ac_ext <<_ACEOF
91233 /* end confdefs.h.  */
91234 #include <math.h>
91235                       #ifdef HAVE_IEEEFP_H
91236                       #include <ieeefp.h>
91237                       #endif
91238
91239 int
91240 main ()
91241 {
91242  _expl(0);
91243   ;
91244   return 0;
91245 }
91246 _ACEOF
91247 rm -f conftest.$ac_objext
91248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91249   (eval $ac_compile) 2>conftest.er1
91250   ac_status=$?
91251   grep -v '^ *+' conftest.er1 >conftest.err
91252   rm -f conftest.er1
91253   cat conftest.err >&5
91254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91255   (exit $ac_status); } &&
91256          { ac_try='test -z "$ac_cxx_werror_flag"
91257                          || test ! -s conftest.err'
91258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91259   (eval $ac_try) 2>&5
91260   ac_status=$?
91261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91262   (exit $ac_status); }; } &&
91263          { ac_try='test -s conftest.$ac_objext'
91264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91265   (eval $ac_try) 2>&5
91266   ac_status=$?
91267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91268   (exit $ac_status); }; }; then
91269   glibcxx_cv_func__expl_use=yes
91270 else
91271   echo "$as_me: failed program was:" >&5
91272 sed 's/^/| /' conftest.$ac_ext >&5
91273
91274 glibcxx_cv_func__expl_use=no
91275 fi
91276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91277       ac_ext=c
91278 ac_cpp='$CPP $CPPFLAGS'
91279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91282
91283
91284 fi
91285
91286   fi
91287   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91288 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91289
91290     if test x$glibcxx_cv_func__expl_use = x"yes"; then
91291
91292 for ac_func in _expl
91293 do
91294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91295 echo "$as_me:$LINENO: checking for $ac_func" >&5
91296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91297 if eval "test \"\${$as_ac_var+set}\" = set"; then
91298   echo $ECHO_N "(cached) $ECHO_C" >&6
91299 else
91300   if test x$gcc_no_link = xyes; then
91301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91303    { (exit 1); exit 1; }; }
91304 fi
91305 cat >conftest.$ac_ext <<_ACEOF
91306 /* confdefs.h.  */
91307 _ACEOF
91308 cat confdefs.h >>conftest.$ac_ext
91309 cat >>conftest.$ac_ext <<_ACEOF
91310 /* end confdefs.h.  */
91311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91313 #define $ac_func innocuous_$ac_func
91314
91315 /* System header to define __stub macros and hopefully few prototypes,
91316     which can conflict with char $ac_func (); below.
91317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91318     <limits.h> exists even on freestanding compilers.  */
91319
91320 #ifdef __STDC__
91321 # include <limits.h>
91322 #else
91323 # include <assert.h>
91324 #endif
91325
91326 #undef $ac_func
91327
91328 /* Override any gcc2 internal prototype to avoid an error.  */
91329 #ifdef __cplusplus
91330 extern "C"
91331 {
91332 #endif
91333 /* We use char because int might match the return type of a gcc2
91334    builtin and then its argument prototype would still apply.  */
91335 char $ac_func ();
91336 /* The GNU C library defines this for functions which it implements
91337     to always fail with ENOSYS.  Some functions are actually named
91338     something starting with __ and the normal name is an alias.  */
91339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91340 choke me
91341 #else
91342 char (*f) () = $ac_func;
91343 #endif
91344 #ifdef __cplusplus
91345 }
91346 #endif
91347
91348 int
91349 main ()
91350 {
91351 return f != $ac_func;
91352   ;
91353   return 0;
91354 }
91355 _ACEOF
91356 rm -f conftest.$ac_objext conftest$ac_exeext
91357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91358   (eval $ac_link) 2>conftest.er1
91359   ac_status=$?
91360   grep -v '^ *+' conftest.er1 >conftest.err
91361   rm -f conftest.er1
91362   cat conftest.err >&5
91363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91364   (exit $ac_status); } &&
91365          { ac_try='test -z "$ac_c_werror_flag"
91366                          || test ! -s conftest.err'
91367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91368   (eval $ac_try) 2>&5
91369   ac_status=$?
91370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91371   (exit $ac_status); }; } &&
91372          { ac_try='test -s conftest$ac_exeext'
91373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91374   (eval $ac_try) 2>&5
91375   ac_status=$?
91376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91377   (exit $ac_status); }; }; then
91378   eval "$as_ac_var=yes"
91379 else
91380   echo "$as_me: failed program was:" >&5
91381 sed 's/^/| /' conftest.$ac_ext >&5
91382
91383 eval "$as_ac_var=no"
91384 fi
91385 rm -f conftest.err conftest.$ac_objext \
91386       conftest$ac_exeext conftest.$ac_ext
91387 fi
91388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91390 if test `eval echo '${'$as_ac_var'}'` = yes; then
91391   cat >>confdefs.h <<_ACEOF
91392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91393 _ACEOF
91394
91395 fi
91396 done
91397
91398     fi
91399   fi
91400
91401
91402
91403
91404
91405
91406   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91407 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91408   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91409     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91410   echo $ECHO_N "(cached) $ECHO_C" >&6
91411 else
91412
91413
91414
91415       ac_ext=cc
91416 ac_cpp='$CXXCPP $CPPFLAGS'
91417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91420
91421       cat >conftest.$ac_ext <<_ACEOF
91422 /* confdefs.h.  */
91423 _ACEOF
91424 cat confdefs.h >>conftest.$ac_ext
91425 cat >>conftest.$ac_ext <<_ACEOF
91426 /* end confdefs.h.  */
91427 #include <math.h>
91428                       #ifdef HAVE_IEEEFP_H
91429                       #include <ieeefp.h>
91430                       #endif
91431
91432 int
91433 main ()
91434 {
91435  fabsl(0);
91436   ;
91437   return 0;
91438 }
91439 _ACEOF
91440 rm -f conftest.$ac_objext
91441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91442   (eval $ac_compile) 2>conftest.er1
91443   ac_status=$?
91444   grep -v '^ *+' conftest.er1 >conftest.err
91445   rm -f conftest.er1
91446   cat conftest.err >&5
91447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91448   (exit $ac_status); } &&
91449          { ac_try='test -z "$ac_cxx_werror_flag"
91450                          || test ! -s conftest.err'
91451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91452   (eval $ac_try) 2>&5
91453   ac_status=$?
91454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91455   (exit $ac_status); }; } &&
91456          { ac_try='test -s conftest.$ac_objext'
91457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91458   (eval $ac_try) 2>&5
91459   ac_status=$?
91460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91461   (exit $ac_status); }; }; then
91462   glibcxx_cv_func_fabsl_use=yes
91463 else
91464   echo "$as_me: failed program was:" >&5
91465 sed 's/^/| /' conftest.$ac_ext >&5
91466
91467 glibcxx_cv_func_fabsl_use=no
91468 fi
91469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91470       ac_ext=c
91471 ac_cpp='$CPP $CPPFLAGS'
91472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91475
91476
91477 fi
91478
91479   fi
91480   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91481 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91482
91483   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91484
91485 for ac_func in fabsl
91486 do
91487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91488 echo "$as_me:$LINENO: checking for $ac_func" >&5
91489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91490 if eval "test \"\${$as_ac_var+set}\" = set"; then
91491   echo $ECHO_N "(cached) $ECHO_C" >&6
91492 else
91493   if test x$gcc_no_link = xyes; then
91494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91496    { (exit 1); exit 1; }; }
91497 fi
91498 cat >conftest.$ac_ext <<_ACEOF
91499 /* confdefs.h.  */
91500 _ACEOF
91501 cat confdefs.h >>conftest.$ac_ext
91502 cat >>conftest.$ac_ext <<_ACEOF
91503 /* end confdefs.h.  */
91504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91505    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91506 #define $ac_func innocuous_$ac_func
91507
91508 /* System header to define __stub macros and hopefully few prototypes,
91509     which can conflict with char $ac_func (); below.
91510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91511     <limits.h> exists even on freestanding compilers.  */
91512
91513 #ifdef __STDC__
91514 # include <limits.h>
91515 #else
91516 # include <assert.h>
91517 #endif
91518
91519 #undef $ac_func
91520
91521 /* Override any gcc2 internal prototype to avoid an error.  */
91522 #ifdef __cplusplus
91523 extern "C"
91524 {
91525 #endif
91526 /* We use char because int might match the return type of a gcc2
91527    builtin and then its argument prototype would still apply.  */
91528 char $ac_func ();
91529 /* The GNU C library defines this for functions which it implements
91530     to always fail with ENOSYS.  Some functions are actually named
91531     something starting with __ and the normal name is an alias.  */
91532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91533 choke me
91534 #else
91535 char (*f) () = $ac_func;
91536 #endif
91537 #ifdef __cplusplus
91538 }
91539 #endif
91540
91541 int
91542 main ()
91543 {
91544 return f != $ac_func;
91545   ;
91546   return 0;
91547 }
91548 _ACEOF
91549 rm -f conftest.$ac_objext conftest$ac_exeext
91550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91551   (eval $ac_link) 2>conftest.er1
91552   ac_status=$?
91553   grep -v '^ *+' conftest.er1 >conftest.err
91554   rm -f conftest.er1
91555   cat conftest.err >&5
91556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91557   (exit $ac_status); } &&
91558          { ac_try='test -z "$ac_c_werror_flag"
91559                          || test ! -s conftest.err'
91560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91561   (eval $ac_try) 2>&5
91562   ac_status=$?
91563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91564   (exit $ac_status); }; } &&
91565          { ac_try='test -s conftest$ac_exeext'
91566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91567   (eval $ac_try) 2>&5
91568   ac_status=$?
91569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91570   (exit $ac_status); }; }; then
91571   eval "$as_ac_var=yes"
91572 else
91573   echo "$as_me: failed program was:" >&5
91574 sed 's/^/| /' conftest.$ac_ext >&5
91575
91576 eval "$as_ac_var=no"
91577 fi
91578 rm -f conftest.err conftest.$ac_objext \
91579       conftest$ac_exeext conftest.$ac_ext
91580 fi
91581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91583 if test `eval echo '${'$as_ac_var'}'` = yes; then
91584   cat >>confdefs.h <<_ACEOF
91585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91586 _ACEOF
91587
91588 fi
91589 done
91590
91591   else
91592
91593   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91594 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91595   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
91596     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
91597   echo $ECHO_N "(cached) $ECHO_C" >&6
91598 else
91599
91600
91601
91602       ac_ext=cc
91603 ac_cpp='$CXXCPP $CPPFLAGS'
91604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91607
91608       cat >conftest.$ac_ext <<_ACEOF
91609 /* confdefs.h.  */
91610 _ACEOF
91611 cat confdefs.h >>conftest.$ac_ext
91612 cat >>conftest.$ac_ext <<_ACEOF
91613 /* end confdefs.h.  */
91614 #include <math.h>
91615                       #ifdef HAVE_IEEEFP_H
91616                       #include <ieeefp.h>
91617                       #endif
91618
91619 int
91620 main ()
91621 {
91622  _fabsl(0);
91623   ;
91624   return 0;
91625 }
91626 _ACEOF
91627 rm -f conftest.$ac_objext
91628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91629   (eval $ac_compile) 2>conftest.er1
91630   ac_status=$?
91631   grep -v '^ *+' conftest.er1 >conftest.err
91632   rm -f conftest.er1
91633   cat conftest.err >&5
91634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91635   (exit $ac_status); } &&
91636          { ac_try='test -z "$ac_cxx_werror_flag"
91637                          || test ! -s conftest.err'
91638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91639   (eval $ac_try) 2>&5
91640   ac_status=$?
91641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91642   (exit $ac_status); }; } &&
91643          { ac_try='test -s conftest.$ac_objext'
91644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91645   (eval $ac_try) 2>&5
91646   ac_status=$?
91647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91648   (exit $ac_status); }; }; then
91649   glibcxx_cv_func__fabsl_use=yes
91650 else
91651   echo "$as_me: failed program was:" >&5
91652 sed 's/^/| /' conftest.$ac_ext >&5
91653
91654 glibcxx_cv_func__fabsl_use=no
91655 fi
91656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91657       ac_ext=c
91658 ac_cpp='$CPP $CPPFLAGS'
91659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91662
91663
91664 fi
91665
91666   fi
91667   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
91668 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
91669
91670     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
91671
91672 for ac_func in _fabsl
91673 do
91674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91675 echo "$as_me:$LINENO: checking for $ac_func" >&5
91676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91677 if eval "test \"\${$as_ac_var+set}\" = set"; then
91678   echo $ECHO_N "(cached) $ECHO_C" >&6
91679 else
91680   if test x$gcc_no_link = xyes; then
91681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91683    { (exit 1); exit 1; }; }
91684 fi
91685 cat >conftest.$ac_ext <<_ACEOF
91686 /* confdefs.h.  */
91687 _ACEOF
91688 cat confdefs.h >>conftest.$ac_ext
91689 cat >>conftest.$ac_ext <<_ACEOF
91690 /* end confdefs.h.  */
91691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91693 #define $ac_func innocuous_$ac_func
91694
91695 /* System header to define __stub macros and hopefully few prototypes,
91696     which can conflict with char $ac_func (); below.
91697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91698     <limits.h> exists even on freestanding compilers.  */
91699
91700 #ifdef __STDC__
91701 # include <limits.h>
91702 #else
91703 # include <assert.h>
91704 #endif
91705
91706 #undef $ac_func
91707
91708 /* Override any gcc2 internal prototype to avoid an error.  */
91709 #ifdef __cplusplus
91710 extern "C"
91711 {
91712 #endif
91713 /* We use char because int might match the return type of a gcc2
91714    builtin and then its argument prototype would still apply.  */
91715 char $ac_func ();
91716 /* The GNU C library defines this for functions which it implements
91717     to always fail with ENOSYS.  Some functions are actually named
91718     something starting with __ and the normal name is an alias.  */
91719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91720 choke me
91721 #else
91722 char (*f) () = $ac_func;
91723 #endif
91724 #ifdef __cplusplus
91725 }
91726 #endif
91727
91728 int
91729 main ()
91730 {
91731 return f != $ac_func;
91732   ;
91733   return 0;
91734 }
91735 _ACEOF
91736 rm -f conftest.$ac_objext conftest$ac_exeext
91737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91738   (eval $ac_link) 2>conftest.er1
91739   ac_status=$?
91740   grep -v '^ *+' conftest.er1 >conftest.err
91741   rm -f conftest.er1
91742   cat conftest.err >&5
91743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91744   (exit $ac_status); } &&
91745          { ac_try='test -z "$ac_c_werror_flag"
91746                          || test ! -s conftest.err'
91747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91748   (eval $ac_try) 2>&5
91749   ac_status=$?
91750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91751   (exit $ac_status); }; } &&
91752          { ac_try='test -s conftest$ac_exeext'
91753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91754   (eval $ac_try) 2>&5
91755   ac_status=$?
91756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91757   (exit $ac_status); }; }; then
91758   eval "$as_ac_var=yes"
91759 else
91760   echo "$as_me: failed program was:" >&5
91761 sed 's/^/| /' conftest.$ac_ext >&5
91762
91763 eval "$as_ac_var=no"
91764 fi
91765 rm -f conftest.err conftest.$ac_objext \
91766       conftest$ac_exeext conftest.$ac_ext
91767 fi
91768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91770 if test `eval echo '${'$as_ac_var'}'` = yes; then
91771   cat >>confdefs.h <<_ACEOF
91772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91773 _ACEOF
91774
91775 fi
91776 done
91777
91778     fi
91779   fi
91780
91781
91782
91783
91784
91785
91786   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
91787 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
91788   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
91789     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
91790   echo $ECHO_N "(cached) $ECHO_C" >&6
91791 else
91792
91793
91794
91795       ac_ext=cc
91796 ac_cpp='$CXXCPP $CPPFLAGS'
91797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91800
91801       cat >conftest.$ac_ext <<_ACEOF
91802 /* confdefs.h.  */
91803 _ACEOF
91804 cat confdefs.h >>conftest.$ac_ext
91805 cat >>conftest.$ac_ext <<_ACEOF
91806 /* end confdefs.h.  */
91807 #include <math.h>
91808 int
91809 main ()
91810 {
91811  fmodl(0, 0);
91812   ;
91813   return 0;
91814 }
91815 _ACEOF
91816 rm -f conftest.$ac_objext
91817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91818   (eval $ac_compile) 2>conftest.er1
91819   ac_status=$?
91820   grep -v '^ *+' conftest.er1 >conftest.err
91821   rm -f conftest.er1
91822   cat conftest.err >&5
91823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91824   (exit $ac_status); } &&
91825          { ac_try='test -z "$ac_cxx_werror_flag"
91826                          || test ! -s conftest.err'
91827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91828   (eval $ac_try) 2>&5
91829   ac_status=$?
91830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91831   (exit $ac_status); }; } &&
91832          { ac_try='test -s conftest.$ac_objext'
91833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91834   (eval $ac_try) 2>&5
91835   ac_status=$?
91836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91837   (exit $ac_status); }; }; then
91838   glibcxx_cv_func_fmodl_use=yes
91839 else
91840   echo "$as_me: failed program was:" >&5
91841 sed 's/^/| /' conftest.$ac_ext >&5
91842
91843 glibcxx_cv_func_fmodl_use=no
91844 fi
91845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91846       ac_ext=c
91847 ac_cpp='$CPP $CPPFLAGS'
91848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91851
91852
91853 fi
91854
91855   fi
91856   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
91857 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
91858
91859   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
91860
91861 for ac_func in fmodl
91862 do
91863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91864 echo "$as_me:$LINENO: checking for $ac_func" >&5
91865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91866 if eval "test \"\${$as_ac_var+set}\" = set"; then
91867   echo $ECHO_N "(cached) $ECHO_C" >&6
91868 else
91869   if test x$gcc_no_link = xyes; then
91870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91872    { (exit 1); exit 1; }; }
91873 fi
91874 cat >conftest.$ac_ext <<_ACEOF
91875 /* confdefs.h.  */
91876 _ACEOF
91877 cat confdefs.h >>conftest.$ac_ext
91878 cat >>conftest.$ac_ext <<_ACEOF
91879 /* end confdefs.h.  */
91880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91882 #define $ac_func innocuous_$ac_func
91883
91884 /* System header to define __stub macros and hopefully few prototypes,
91885     which can conflict with char $ac_func (); below.
91886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91887     <limits.h> exists even on freestanding compilers.  */
91888
91889 #ifdef __STDC__
91890 # include <limits.h>
91891 #else
91892 # include <assert.h>
91893 #endif
91894
91895 #undef $ac_func
91896
91897 /* Override any gcc2 internal prototype to avoid an error.  */
91898 #ifdef __cplusplus
91899 extern "C"
91900 {
91901 #endif
91902 /* We use char because int might match the return type of a gcc2
91903    builtin and then its argument prototype would still apply.  */
91904 char $ac_func ();
91905 /* The GNU C library defines this for functions which it implements
91906     to always fail with ENOSYS.  Some functions are actually named
91907     something starting with __ and the normal name is an alias.  */
91908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91909 choke me
91910 #else
91911 char (*f) () = $ac_func;
91912 #endif
91913 #ifdef __cplusplus
91914 }
91915 #endif
91916
91917 int
91918 main ()
91919 {
91920 return f != $ac_func;
91921   ;
91922   return 0;
91923 }
91924 _ACEOF
91925 rm -f conftest.$ac_objext conftest$ac_exeext
91926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91927   (eval $ac_link) 2>conftest.er1
91928   ac_status=$?
91929   grep -v '^ *+' conftest.er1 >conftest.err
91930   rm -f conftest.er1
91931   cat conftest.err >&5
91932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91933   (exit $ac_status); } &&
91934          { ac_try='test -z "$ac_c_werror_flag"
91935                          || test ! -s conftest.err'
91936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91937   (eval $ac_try) 2>&5
91938   ac_status=$?
91939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91940   (exit $ac_status); }; } &&
91941          { ac_try='test -s conftest$ac_exeext'
91942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91943   (eval $ac_try) 2>&5
91944   ac_status=$?
91945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91946   (exit $ac_status); }; }; then
91947   eval "$as_ac_var=yes"
91948 else
91949   echo "$as_me: failed program was:" >&5
91950 sed 's/^/| /' conftest.$ac_ext >&5
91951
91952 eval "$as_ac_var=no"
91953 fi
91954 rm -f conftest.err conftest.$ac_objext \
91955       conftest$ac_exeext conftest.$ac_ext
91956 fi
91957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91959 if test `eval echo '${'$as_ac_var'}'` = yes; then
91960   cat >>confdefs.h <<_ACEOF
91961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91962 _ACEOF
91963
91964 fi
91965 done
91966
91967   else
91968
91969   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
91970 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
91971   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
91972     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
91973   echo $ECHO_N "(cached) $ECHO_C" >&6
91974 else
91975
91976
91977
91978       ac_ext=cc
91979 ac_cpp='$CXXCPP $CPPFLAGS'
91980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91983
91984       cat >conftest.$ac_ext <<_ACEOF
91985 /* confdefs.h.  */
91986 _ACEOF
91987 cat confdefs.h >>conftest.$ac_ext
91988 cat >>conftest.$ac_ext <<_ACEOF
91989 /* end confdefs.h.  */
91990 #include <math.h>
91991 int
91992 main ()
91993 {
91994  _fmodl(0, 0);
91995   ;
91996   return 0;
91997 }
91998 _ACEOF
91999 rm -f conftest.$ac_objext
92000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92001   (eval $ac_compile) 2>conftest.er1
92002   ac_status=$?
92003   grep -v '^ *+' conftest.er1 >conftest.err
92004   rm -f conftest.er1
92005   cat conftest.err >&5
92006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92007   (exit $ac_status); } &&
92008          { ac_try='test -z "$ac_cxx_werror_flag"
92009                          || test ! -s conftest.err'
92010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92011   (eval $ac_try) 2>&5
92012   ac_status=$?
92013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92014   (exit $ac_status); }; } &&
92015          { ac_try='test -s conftest.$ac_objext'
92016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92017   (eval $ac_try) 2>&5
92018   ac_status=$?
92019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92020   (exit $ac_status); }; }; then
92021   glibcxx_cv_func__fmodl_use=yes
92022 else
92023   echo "$as_me: failed program was:" >&5
92024 sed 's/^/| /' conftest.$ac_ext >&5
92025
92026 glibcxx_cv_func__fmodl_use=no
92027 fi
92028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92029       ac_ext=c
92030 ac_cpp='$CPP $CPPFLAGS'
92031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92034
92035
92036 fi
92037
92038   fi
92039   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92040 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92041
92042     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92043
92044 for ac_func in _fmodl
92045 do
92046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92047 echo "$as_me:$LINENO: checking for $ac_func" >&5
92048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92049 if eval "test \"\${$as_ac_var+set}\" = set"; then
92050   echo $ECHO_N "(cached) $ECHO_C" >&6
92051 else
92052   if test x$gcc_no_link = xyes; then
92053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92055    { (exit 1); exit 1; }; }
92056 fi
92057 cat >conftest.$ac_ext <<_ACEOF
92058 /* confdefs.h.  */
92059 _ACEOF
92060 cat confdefs.h >>conftest.$ac_ext
92061 cat >>conftest.$ac_ext <<_ACEOF
92062 /* end confdefs.h.  */
92063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92065 #define $ac_func innocuous_$ac_func
92066
92067 /* System header to define __stub macros and hopefully few prototypes,
92068     which can conflict with char $ac_func (); below.
92069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92070     <limits.h> exists even on freestanding compilers.  */
92071
92072 #ifdef __STDC__
92073 # include <limits.h>
92074 #else
92075 # include <assert.h>
92076 #endif
92077
92078 #undef $ac_func
92079
92080 /* Override any gcc2 internal prototype to avoid an error.  */
92081 #ifdef __cplusplus
92082 extern "C"
92083 {
92084 #endif
92085 /* We use char because int might match the return type of a gcc2
92086    builtin and then its argument prototype would still apply.  */
92087 char $ac_func ();
92088 /* The GNU C library defines this for functions which it implements
92089     to always fail with ENOSYS.  Some functions are actually named
92090     something starting with __ and the normal name is an alias.  */
92091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92092 choke me
92093 #else
92094 char (*f) () = $ac_func;
92095 #endif
92096 #ifdef __cplusplus
92097 }
92098 #endif
92099
92100 int
92101 main ()
92102 {
92103 return f != $ac_func;
92104   ;
92105   return 0;
92106 }
92107 _ACEOF
92108 rm -f conftest.$ac_objext conftest$ac_exeext
92109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92110   (eval $ac_link) 2>conftest.er1
92111   ac_status=$?
92112   grep -v '^ *+' conftest.er1 >conftest.err
92113   rm -f conftest.er1
92114   cat conftest.err >&5
92115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92116   (exit $ac_status); } &&
92117          { ac_try='test -z "$ac_c_werror_flag"
92118                          || test ! -s conftest.err'
92119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92120   (eval $ac_try) 2>&5
92121   ac_status=$?
92122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92123   (exit $ac_status); }; } &&
92124          { ac_try='test -s conftest$ac_exeext'
92125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92126   (eval $ac_try) 2>&5
92127   ac_status=$?
92128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92129   (exit $ac_status); }; }; then
92130   eval "$as_ac_var=yes"
92131 else
92132   echo "$as_me: failed program was:" >&5
92133 sed 's/^/| /' conftest.$ac_ext >&5
92134
92135 eval "$as_ac_var=no"
92136 fi
92137 rm -f conftest.err conftest.$ac_objext \
92138       conftest$ac_exeext conftest.$ac_ext
92139 fi
92140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92142 if test `eval echo '${'$as_ac_var'}'` = yes; then
92143   cat >>confdefs.h <<_ACEOF
92144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92145 _ACEOF
92146
92147 fi
92148 done
92149
92150     fi
92151   fi
92152
92153
92154
92155
92156
92157
92158   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92159 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92160   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92161     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92162   echo $ECHO_N "(cached) $ECHO_C" >&6
92163 else
92164
92165
92166
92167       ac_ext=cc
92168 ac_cpp='$CXXCPP $CPPFLAGS'
92169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92172
92173       cat >conftest.$ac_ext <<_ACEOF
92174 /* confdefs.h.  */
92175 _ACEOF
92176 cat confdefs.h >>conftest.$ac_ext
92177 cat >>conftest.$ac_ext <<_ACEOF
92178 /* end confdefs.h.  */
92179 #include <math.h>
92180 int
92181 main ()
92182 {
92183  frexpl(0, 0);
92184   ;
92185   return 0;
92186 }
92187 _ACEOF
92188 rm -f conftest.$ac_objext
92189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92190   (eval $ac_compile) 2>conftest.er1
92191   ac_status=$?
92192   grep -v '^ *+' conftest.er1 >conftest.err
92193   rm -f conftest.er1
92194   cat conftest.err >&5
92195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92196   (exit $ac_status); } &&
92197          { ac_try='test -z "$ac_cxx_werror_flag"
92198                          || test ! -s conftest.err'
92199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92200   (eval $ac_try) 2>&5
92201   ac_status=$?
92202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92203   (exit $ac_status); }; } &&
92204          { ac_try='test -s conftest.$ac_objext'
92205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92206   (eval $ac_try) 2>&5
92207   ac_status=$?
92208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92209   (exit $ac_status); }; }; then
92210   glibcxx_cv_func_frexpl_use=yes
92211 else
92212   echo "$as_me: failed program was:" >&5
92213 sed 's/^/| /' conftest.$ac_ext >&5
92214
92215 glibcxx_cv_func_frexpl_use=no
92216 fi
92217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92218       ac_ext=c
92219 ac_cpp='$CPP $CPPFLAGS'
92220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92223
92224
92225 fi
92226
92227   fi
92228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92229 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92230
92231   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92232
92233 for ac_func in frexpl
92234 do
92235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92236 echo "$as_me:$LINENO: checking for $ac_func" >&5
92237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92238 if eval "test \"\${$as_ac_var+set}\" = set"; then
92239   echo $ECHO_N "(cached) $ECHO_C" >&6
92240 else
92241   if test x$gcc_no_link = xyes; then
92242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92244    { (exit 1); exit 1; }; }
92245 fi
92246 cat >conftest.$ac_ext <<_ACEOF
92247 /* confdefs.h.  */
92248 _ACEOF
92249 cat confdefs.h >>conftest.$ac_ext
92250 cat >>conftest.$ac_ext <<_ACEOF
92251 /* end confdefs.h.  */
92252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92254 #define $ac_func innocuous_$ac_func
92255
92256 /* System header to define __stub macros and hopefully few prototypes,
92257     which can conflict with char $ac_func (); below.
92258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92259     <limits.h> exists even on freestanding compilers.  */
92260
92261 #ifdef __STDC__
92262 # include <limits.h>
92263 #else
92264 # include <assert.h>
92265 #endif
92266
92267 #undef $ac_func
92268
92269 /* Override any gcc2 internal prototype to avoid an error.  */
92270 #ifdef __cplusplus
92271 extern "C"
92272 {
92273 #endif
92274 /* We use char because int might match the return type of a gcc2
92275    builtin and then its argument prototype would still apply.  */
92276 char $ac_func ();
92277 /* The GNU C library defines this for functions which it implements
92278     to always fail with ENOSYS.  Some functions are actually named
92279     something starting with __ and the normal name is an alias.  */
92280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92281 choke me
92282 #else
92283 char (*f) () = $ac_func;
92284 #endif
92285 #ifdef __cplusplus
92286 }
92287 #endif
92288
92289 int
92290 main ()
92291 {
92292 return f != $ac_func;
92293   ;
92294   return 0;
92295 }
92296 _ACEOF
92297 rm -f conftest.$ac_objext conftest$ac_exeext
92298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92299   (eval $ac_link) 2>conftest.er1
92300   ac_status=$?
92301   grep -v '^ *+' conftest.er1 >conftest.err
92302   rm -f conftest.er1
92303   cat conftest.err >&5
92304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92305   (exit $ac_status); } &&
92306          { ac_try='test -z "$ac_c_werror_flag"
92307                          || test ! -s conftest.err'
92308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92309   (eval $ac_try) 2>&5
92310   ac_status=$?
92311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92312   (exit $ac_status); }; } &&
92313          { ac_try='test -s conftest$ac_exeext'
92314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92315   (eval $ac_try) 2>&5
92316   ac_status=$?
92317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92318   (exit $ac_status); }; }; then
92319   eval "$as_ac_var=yes"
92320 else
92321   echo "$as_me: failed program was:" >&5
92322 sed 's/^/| /' conftest.$ac_ext >&5
92323
92324 eval "$as_ac_var=no"
92325 fi
92326 rm -f conftest.err conftest.$ac_objext \
92327       conftest$ac_exeext conftest.$ac_ext
92328 fi
92329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92331 if test `eval echo '${'$as_ac_var'}'` = yes; then
92332   cat >>confdefs.h <<_ACEOF
92333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92334 _ACEOF
92335
92336 fi
92337 done
92338
92339   else
92340
92341   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92342 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92343   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92344     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92345   echo $ECHO_N "(cached) $ECHO_C" >&6
92346 else
92347
92348
92349
92350       ac_ext=cc
92351 ac_cpp='$CXXCPP $CPPFLAGS'
92352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92355
92356       cat >conftest.$ac_ext <<_ACEOF
92357 /* confdefs.h.  */
92358 _ACEOF
92359 cat confdefs.h >>conftest.$ac_ext
92360 cat >>conftest.$ac_ext <<_ACEOF
92361 /* end confdefs.h.  */
92362 #include <math.h>
92363 int
92364 main ()
92365 {
92366  _frexpl(0, 0);
92367   ;
92368   return 0;
92369 }
92370 _ACEOF
92371 rm -f conftest.$ac_objext
92372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92373   (eval $ac_compile) 2>conftest.er1
92374   ac_status=$?
92375   grep -v '^ *+' conftest.er1 >conftest.err
92376   rm -f conftest.er1
92377   cat conftest.err >&5
92378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92379   (exit $ac_status); } &&
92380          { ac_try='test -z "$ac_cxx_werror_flag"
92381                          || test ! -s conftest.err'
92382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92383   (eval $ac_try) 2>&5
92384   ac_status=$?
92385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92386   (exit $ac_status); }; } &&
92387          { ac_try='test -s conftest.$ac_objext'
92388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92389   (eval $ac_try) 2>&5
92390   ac_status=$?
92391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92392   (exit $ac_status); }; }; then
92393   glibcxx_cv_func__frexpl_use=yes
92394 else
92395   echo "$as_me: failed program was:" >&5
92396 sed 's/^/| /' conftest.$ac_ext >&5
92397
92398 glibcxx_cv_func__frexpl_use=no
92399 fi
92400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92401       ac_ext=c
92402 ac_cpp='$CPP $CPPFLAGS'
92403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92406
92407
92408 fi
92409
92410   fi
92411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92412 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92413
92414     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92415
92416 for ac_func in _frexpl
92417 do
92418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92419 echo "$as_me:$LINENO: checking for $ac_func" >&5
92420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92421 if eval "test \"\${$as_ac_var+set}\" = set"; then
92422   echo $ECHO_N "(cached) $ECHO_C" >&6
92423 else
92424   if test x$gcc_no_link = xyes; then
92425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92427    { (exit 1); exit 1; }; }
92428 fi
92429 cat >conftest.$ac_ext <<_ACEOF
92430 /* confdefs.h.  */
92431 _ACEOF
92432 cat confdefs.h >>conftest.$ac_ext
92433 cat >>conftest.$ac_ext <<_ACEOF
92434 /* end confdefs.h.  */
92435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92437 #define $ac_func innocuous_$ac_func
92438
92439 /* System header to define __stub macros and hopefully few prototypes,
92440     which can conflict with char $ac_func (); below.
92441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92442     <limits.h> exists even on freestanding compilers.  */
92443
92444 #ifdef __STDC__
92445 # include <limits.h>
92446 #else
92447 # include <assert.h>
92448 #endif
92449
92450 #undef $ac_func
92451
92452 /* Override any gcc2 internal prototype to avoid an error.  */
92453 #ifdef __cplusplus
92454 extern "C"
92455 {
92456 #endif
92457 /* We use char because int might match the return type of a gcc2
92458    builtin and then its argument prototype would still apply.  */
92459 char $ac_func ();
92460 /* The GNU C library defines this for functions which it implements
92461     to always fail with ENOSYS.  Some functions are actually named
92462     something starting with __ and the normal name is an alias.  */
92463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92464 choke me
92465 #else
92466 char (*f) () = $ac_func;
92467 #endif
92468 #ifdef __cplusplus
92469 }
92470 #endif
92471
92472 int
92473 main ()
92474 {
92475 return f != $ac_func;
92476   ;
92477   return 0;
92478 }
92479 _ACEOF
92480 rm -f conftest.$ac_objext conftest$ac_exeext
92481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92482   (eval $ac_link) 2>conftest.er1
92483   ac_status=$?
92484   grep -v '^ *+' conftest.er1 >conftest.err
92485   rm -f conftest.er1
92486   cat conftest.err >&5
92487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92488   (exit $ac_status); } &&
92489          { ac_try='test -z "$ac_c_werror_flag"
92490                          || test ! -s conftest.err'
92491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92492   (eval $ac_try) 2>&5
92493   ac_status=$?
92494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92495   (exit $ac_status); }; } &&
92496          { ac_try='test -s conftest$ac_exeext'
92497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92498   (eval $ac_try) 2>&5
92499   ac_status=$?
92500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92501   (exit $ac_status); }; }; then
92502   eval "$as_ac_var=yes"
92503 else
92504   echo "$as_me: failed program was:" >&5
92505 sed 's/^/| /' conftest.$ac_ext >&5
92506
92507 eval "$as_ac_var=no"
92508 fi
92509 rm -f conftest.err conftest.$ac_objext \
92510       conftest$ac_exeext conftest.$ac_ext
92511 fi
92512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92514 if test `eval echo '${'$as_ac_var'}'` = yes; then
92515   cat >>confdefs.h <<_ACEOF
92516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92517 _ACEOF
92518
92519 fi
92520 done
92521
92522     fi
92523   fi
92524
92525
92526
92527
92528
92529
92530   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92531 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92532   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92533     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92534   echo $ECHO_N "(cached) $ECHO_C" >&6
92535 else
92536
92537
92538
92539       ac_ext=cc
92540 ac_cpp='$CXXCPP $CPPFLAGS'
92541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92544
92545       cat >conftest.$ac_ext <<_ACEOF
92546 /* confdefs.h.  */
92547 _ACEOF
92548 cat confdefs.h >>conftest.$ac_ext
92549 cat >>conftest.$ac_ext <<_ACEOF
92550 /* end confdefs.h.  */
92551 #include <math.h>
92552 int
92553 main ()
92554 {
92555  hypotl(0, 0);
92556   ;
92557   return 0;
92558 }
92559 _ACEOF
92560 rm -f conftest.$ac_objext
92561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92562   (eval $ac_compile) 2>conftest.er1
92563   ac_status=$?
92564   grep -v '^ *+' conftest.er1 >conftest.err
92565   rm -f conftest.er1
92566   cat conftest.err >&5
92567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92568   (exit $ac_status); } &&
92569          { ac_try='test -z "$ac_cxx_werror_flag"
92570                          || test ! -s conftest.err'
92571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92572   (eval $ac_try) 2>&5
92573   ac_status=$?
92574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92575   (exit $ac_status); }; } &&
92576          { ac_try='test -s conftest.$ac_objext'
92577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92578   (eval $ac_try) 2>&5
92579   ac_status=$?
92580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92581   (exit $ac_status); }; }; then
92582   glibcxx_cv_func_hypotl_use=yes
92583 else
92584   echo "$as_me: failed program was:" >&5
92585 sed 's/^/| /' conftest.$ac_ext >&5
92586
92587 glibcxx_cv_func_hypotl_use=no
92588 fi
92589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92590       ac_ext=c
92591 ac_cpp='$CPP $CPPFLAGS'
92592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92595
92596
92597 fi
92598
92599   fi
92600   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
92601 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
92602
92603   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
92604
92605 for ac_func in hypotl
92606 do
92607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92608 echo "$as_me:$LINENO: checking for $ac_func" >&5
92609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92610 if eval "test \"\${$as_ac_var+set}\" = set"; then
92611   echo $ECHO_N "(cached) $ECHO_C" >&6
92612 else
92613   if test x$gcc_no_link = xyes; then
92614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92616    { (exit 1); exit 1; }; }
92617 fi
92618 cat >conftest.$ac_ext <<_ACEOF
92619 /* confdefs.h.  */
92620 _ACEOF
92621 cat confdefs.h >>conftest.$ac_ext
92622 cat >>conftest.$ac_ext <<_ACEOF
92623 /* end confdefs.h.  */
92624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92626 #define $ac_func innocuous_$ac_func
92627
92628 /* System header to define __stub macros and hopefully few prototypes,
92629     which can conflict with char $ac_func (); below.
92630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92631     <limits.h> exists even on freestanding compilers.  */
92632
92633 #ifdef __STDC__
92634 # include <limits.h>
92635 #else
92636 # include <assert.h>
92637 #endif
92638
92639 #undef $ac_func
92640
92641 /* Override any gcc2 internal prototype to avoid an error.  */
92642 #ifdef __cplusplus
92643 extern "C"
92644 {
92645 #endif
92646 /* We use char because int might match the return type of a gcc2
92647    builtin and then its argument prototype would still apply.  */
92648 char $ac_func ();
92649 /* The GNU C library defines this for functions which it implements
92650     to always fail with ENOSYS.  Some functions are actually named
92651     something starting with __ and the normal name is an alias.  */
92652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92653 choke me
92654 #else
92655 char (*f) () = $ac_func;
92656 #endif
92657 #ifdef __cplusplus
92658 }
92659 #endif
92660
92661 int
92662 main ()
92663 {
92664 return f != $ac_func;
92665   ;
92666   return 0;
92667 }
92668 _ACEOF
92669 rm -f conftest.$ac_objext conftest$ac_exeext
92670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92671   (eval $ac_link) 2>conftest.er1
92672   ac_status=$?
92673   grep -v '^ *+' conftest.er1 >conftest.err
92674   rm -f conftest.er1
92675   cat conftest.err >&5
92676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92677   (exit $ac_status); } &&
92678          { ac_try='test -z "$ac_c_werror_flag"
92679                          || test ! -s conftest.err'
92680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92681   (eval $ac_try) 2>&5
92682   ac_status=$?
92683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92684   (exit $ac_status); }; } &&
92685          { ac_try='test -s conftest$ac_exeext'
92686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92687   (eval $ac_try) 2>&5
92688   ac_status=$?
92689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92690   (exit $ac_status); }; }; then
92691   eval "$as_ac_var=yes"
92692 else
92693   echo "$as_me: failed program was:" >&5
92694 sed 's/^/| /' conftest.$ac_ext >&5
92695
92696 eval "$as_ac_var=no"
92697 fi
92698 rm -f conftest.err conftest.$ac_objext \
92699       conftest$ac_exeext conftest.$ac_ext
92700 fi
92701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92703 if test `eval echo '${'$as_ac_var'}'` = yes; then
92704   cat >>confdefs.h <<_ACEOF
92705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92706 _ACEOF
92707
92708 fi
92709 done
92710
92711   else
92712
92713   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92714 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92715   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92716     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92717   echo $ECHO_N "(cached) $ECHO_C" >&6
92718 else
92719
92720
92721
92722       ac_ext=cc
92723 ac_cpp='$CXXCPP $CPPFLAGS'
92724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92727
92728       cat >conftest.$ac_ext <<_ACEOF
92729 /* confdefs.h.  */
92730 _ACEOF
92731 cat confdefs.h >>conftest.$ac_ext
92732 cat >>conftest.$ac_ext <<_ACEOF
92733 /* end confdefs.h.  */
92734 #include <math.h>
92735 int
92736 main ()
92737 {
92738  _hypotl(0, 0);
92739   ;
92740   return 0;
92741 }
92742 _ACEOF
92743 rm -f conftest.$ac_objext
92744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92745   (eval $ac_compile) 2>conftest.er1
92746   ac_status=$?
92747   grep -v '^ *+' conftest.er1 >conftest.err
92748   rm -f conftest.er1
92749   cat conftest.err >&5
92750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92751   (exit $ac_status); } &&
92752          { ac_try='test -z "$ac_cxx_werror_flag"
92753                          || test ! -s conftest.err'
92754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92755   (eval $ac_try) 2>&5
92756   ac_status=$?
92757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92758   (exit $ac_status); }; } &&
92759          { ac_try='test -s conftest.$ac_objext'
92760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92761   (eval $ac_try) 2>&5
92762   ac_status=$?
92763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92764   (exit $ac_status); }; }; then
92765   glibcxx_cv_func__hypotl_use=yes
92766 else
92767   echo "$as_me: failed program was:" >&5
92768 sed 's/^/| /' conftest.$ac_ext >&5
92769
92770 glibcxx_cv_func__hypotl_use=no
92771 fi
92772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92773       ac_ext=c
92774 ac_cpp='$CPP $CPPFLAGS'
92775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92778
92779
92780 fi
92781
92782   fi
92783   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
92784 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
92785
92786     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
92787
92788 for ac_func in _hypotl
92789 do
92790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92791 echo "$as_me:$LINENO: checking for $ac_func" >&5
92792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92793 if eval "test \"\${$as_ac_var+set}\" = set"; then
92794   echo $ECHO_N "(cached) $ECHO_C" >&6
92795 else
92796   if test x$gcc_no_link = xyes; then
92797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92799    { (exit 1); exit 1; }; }
92800 fi
92801 cat >conftest.$ac_ext <<_ACEOF
92802 /* confdefs.h.  */
92803 _ACEOF
92804 cat confdefs.h >>conftest.$ac_ext
92805 cat >>conftest.$ac_ext <<_ACEOF
92806 /* end confdefs.h.  */
92807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92809 #define $ac_func innocuous_$ac_func
92810
92811 /* System header to define __stub macros and hopefully few prototypes,
92812     which can conflict with char $ac_func (); below.
92813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92814     <limits.h> exists even on freestanding compilers.  */
92815
92816 #ifdef __STDC__
92817 # include <limits.h>
92818 #else
92819 # include <assert.h>
92820 #endif
92821
92822 #undef $ac_func
92823
92824 /* Override any gcc2 internal prototype to avoid an error.  */
92825 #ifdef __cplusplus
92826 extern "C"
92827 {
92828 #endif
92829 /* We use char because int might match the return type of a gcc2
92830    builtin and then its argument prototype would still apply.  */
92831 char $ac_func ();
92832 /* The GNU C library defines this for functions which it implements
92833     to always fail with ENOSYS.  Some functions are actually named
92834     something starting with __ and the normal name is an alias.  */
92835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92836 choke me
92837 #else
92838 char (*f) () = $ac_func;
92839 #endif
92840 #ifdef __cplusplus
92841 }
92842 #endif
92843
92844 int
92845 main ()
92846 {
92847 return f != $ac_func;
92848   ;
92849   return 0;
92850 }
92851 _ACEOF
92852 rm -f conftest.$ac_objext conftest$ac_exeext
92853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92854   (eval $ac_link) 2>conftest.er1
92855   ac_status=$?
92856   grep -v '^ *+' conftest.er1 >conftest.err
92857   rm -f conftest.er1
92858   cat conftest.err >&5
92859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92860   (exit $ac_status); } &&
92861          { ac_try='test -z "$ac_c_werror_flag"
92862                          || test ! -s conftest.err'
92863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92864   (eval $ac_try) 2>&5
92865   ac_status=$?
92866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92867   (exit $ac_status); }; } &&
92868          { ac_try='test -s conftest$ac_exeext'
92869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92870   (eval $ac_try) 2>&5
92871   ac_status=$?
92872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92873   (exit $ac_status); }; }; then
92874   eval "$as_ac_var=yes"
92875 else
92876   echo "$as_me: failed program was:" >&5
92877 sed 's/^/| /' conftest.$ac_ext >&5
92878
92879 eval "$as_ac_var=no"
92880 fi
92881 rm -f conftest.err conftest.$ac_objext \
92882       conftest$ac_exeext conftest.$ac_ext
92883 fi
92884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92886 if test `eval echo '${'$as_ac_var'}'` = yes; then
92887   cat >>confdefs.h <<_ACEOF
92888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92889 _ACEOF
92890
92891 fi
92892 done
92893
92894     fi
92895   fi
92896
92897
92898
92899
92900
92901
92902   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
92903 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
92904   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
92905     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
92906   echo $ECHO_N "(cached) $ECHO_C" >&6
92907 else
92908
92909
92910
92911       ac_ext=cc
92912 ac_cpp='$CXXCPP $CPPFLAGS'
92913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92916
92917       cat >conftest.$ac_ext <<_ACEOF
92918 /* confdefs.h.  */
92919 _ACEOF
92920 cat confdefs.h >>conftest.$ac_ext
92921 cat >>conftest.$ac_ext <<_ACEOF
92922 /* end confdefs.h.  */
92923 #include <math.h>
92924 int
92925 main ()
92926 {
92927  ldexpl(0, 0);
92928   ;
92929   return 0;
92930 }
92931 _ACEOF
92932 rm -f conftest.$ac_objext
92933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92934   (eval $ac_compile) 2>conftest.er1
92935   ac_status=$?
92936   grep -v '^ *+' conftest.er1 >conftest.err
92937   rm -f conftest.er1
92938   cat conftest.err >&5
92939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92940   (exit $ac_status); } &&
92941          { ac_try='test -z "$ac_cxx_werror_flag"
92942                          || test ! -s conftest.err'
92943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92944   (eval $ac_try) 2>&5
92945   ac_status=$?
92946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92947   (exit $ac_status); }; } &&
92948          { ac_try='test -s conftest.$ac_objext'
92949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92950   (eval $ac_try) 2>&5
92951   ac_status=$?
92952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92953   (exit $ac_status); }; }; then
92954   glibcxx_cv_func_ldexpl_use=yes
92955 else
92956   echo "$as_me: failed program was:" >&5
92957 sed 's/^/| /' conftest.$ac_ext >&5
92958
92959 glibcxx_cv_func_ldexpl_use=no
92960 fi
92961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92962       ac_ext=c
92963 ac_cpp='$CPP $CPPFLAGS'
92964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92967
92968
92969 fi
92970
92971   fi
92972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
92973 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
92974
92975   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
92976
92977 for ac_func in ldexpl
92978 do
92979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92980 echo "$as_me:$LINENO: checking for $ac_func" >&5
92981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92982 if eval "test \"\${$as_ac_var+set}\" = set"; then
92983   echo $ECHO_N "(cached) $ECHO_C" >&6
92984 else
92985   if test x$gcc_no_link = xyes; then
92986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92988    { (exit 1); exit 1; }; }
92989 fi
92990 cat >conftest.$ac_ext <<_ACEOF
92991 /* confdefs.h.  */
92992 _ACEOF
92993 cat confdefs.h >>conftest.$ac_ext
92994 cat >>conftest.$ac_ext <<_ACEOF
92995 /* end confdefs.h.  */
92996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92998 #define $ac_func innocuous_$ac_func
92999
93000 /* System header to define __stub macros and hopefully few prototypes,
93001     which can conflict with char $ac_func (); below.
93002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93003     <limits.h> exists even on freestanding compilers.  */
93004
93005 #ifdef __STDC__
93006 # include <limits.h>
93007 #else
93008 # include <assert.h>
93009 #endif
93010
93011 #undef $ac_func
93012
93013 /* Override any gcc2 internal prototype to avoid an error.  */
93014 #ifdef __cplusplus
93015 extern "C"
93016 {
93017 #endif
93018 /* We use char because int might match the return type of a gcc2
93019    builtin and then its argument prototype would still apply.  */
93020 char $ac_func ();
93021 /* The GNU C library defines this for functions which it implements
93022     to always fail with ENOSYS.  Some functions are actually named
93023     something starting with __ and the normal name is an alias.  */
93024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93025 choke me
93026 #else
93027 char (*f) () = $ac_func;
93028 #endif
93029 #ifdef __cplusplus
93030 }
93031 #endif
93032
93033 int
93034 main ()
93035 {
93036 return f != $ac_func;
93037   ;
93038   return 0;
93039 }
93040 _ACEOF
93041 rm -f conftest.$ac_objext conftest$ac_exeext
93042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93043   (eval $ac_link) 2>conftest.er1
93044   ac_status=$?
93045   grep -v '^ *+' conftest.er1 >conftest.err
93046   rm -f conftest.er1
93047   cat conftest.err >&5
93048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93049   (exit $ac_status); } &&
93050          { ac_try='test -z "$ac_c_werror_flag"
93051                          || test ! -s conftest.err'
93052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93053   (eval $ac_try) 2>&5
93054   ac_status=$?
93055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93056   (exit $ac_status); }; } &&
93057          { ac_try='test -s conftest$ac_exeext'
93058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93059   (eval $ac_try) 2>&5
93060   ac_status=$?
93061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93062   (exit $ac_status); }; }; then
93063   eval "$as_ac_var=yes"
93064 else
93065   echo "$as_me: failed program was:" >&5
93066 sed 's/^/| /' conftest.$ac_ext >&5
93067
93068 eval "$as_ac_var=no"
93069 fi
93070 rm -f conftest.err conftest.$ac_objext \
93071       conftest$ac_exeext conftest.$ac_ext
93072 fi
93073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93075 if test `eval echo '${'$as_ac_var'}'` = yes; then
93076   cat >>confdefs.h <<_ACEOF
93077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93078 _ACEOF
93079
93080 fi
93081 done
93082
93083   else
93084
93085   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93086 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93087   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93088     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93089   echo $ECHO_N "(cached) $ECHO_C" >&6
93090 else
93091
93092
93093
93094       ac_ext=cc
93095 ac_cpp='$CXXCPP $CPPFLAGS'
93096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93099
93100       cat >conftest.$ac_ext <<_ACEOF
93101 /* confdefs.h.  */
93102 _ACEOF
93103 cat confdefs.h >>conftest.$ac_ext
93104 cat >>conftest.$ac_ext <<_ACEOF
93105 /* end confdefs.h.  */
93106 #include <math.h>
93107 int
93108 main ()
93109 {
93110  _ldexpl(0, 0);
93111   ;
93112   return 0;
93113 }
93114 _ACEOF
93115 rm -f conftest.$ac_objext
93116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93117   (eval $ac_compile) 2>conftest.er1
93118   ac_status=$?
93119   grep -v '^ *+' conftest.er1 >conftest.err
93120   rm -f conftest.er1
93121   cat conftest.err >&5
93122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93123   (exit $ac_status); } &&
93124          { ac_try='test -z "$ac_cxx_werror_flag"
93125                          || test ! -s conftest.err'
93126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93127   (eval $ac_try) 2>&5
93128   ac_status=$?
93129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93130   (exit $ac_status); }; } &&
93131          { ac_try='test -s conftest.$ac_objext'
93132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93133   (eval $ac_try) 2>&5
93134   ac_status=$?
93135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93136   (exit $ac_status); }; }; then
93137   glibcxx_cv_func__ldexpl_use=yes
93138 else
93139   echo "$as_me: failed program was:" >&5
93140 sed 's/^/| /' conftest.$ac_ext >&5
93141
93142 glibcxx_cv_func__ldexpl_use=no
93143 fi
93144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93145       ac_ext=c
93146 ac_cpp='$CPP $CPPFLAGS'
93147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93150
93151
93152 fi
93153
93154   fi
93155   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93156 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93157
93158     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93159
93160 for ac_func in _ldexpl
93161 do
93162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93163 echo "$as_me:$LINENO: checking for $ac_func" >&5
93164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93165 if eval "test \"\${$as_ac_var+set}\" = set"; then
93166   echo $ECHO_N "(cached) $ECHO_C" >&6
93167 else
93168   if test x$gcc_no_link = xyes; then
93169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93171    { (exit 1); exit 1; }; }
93172 fi
93173 cat >conftest.$ac_ext <<_ACEOF
93174 /* confdefs.h.  */
93175 _ACEOF
93176 cat confdefs.h >>conftest.$ac_ext
93177 cat >>conftest.$ac_ext <<_ACEOF
93178 /* end confdefs.h.  */
93179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93181 #define $ac_func innocuous_$ac_func
93182
93183 /* System header to define __stub macros and hopefully few prototypes,
93184     which can conflict with char $ac_func (); below.
93185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93186     <limits.h> exists even on freestanding compilers.  */
93187
93188 #ifdef __STDC__
93189 # include <limits.h>
93190 #else
93191 # include <assert.h>
93192 #endif
93193
93194 #undef $ac_func
93195
93196 /* Override any gcc2 internal prototype to avoid an error.  */
93197 #ifdef __cplusplus
93198 extern "C"
93199 {
93200 #endif
93201 /* We use char because int might match the return type of a gcc2
93202    builtin and then its argument prototype would still apply.  */
93203 char $ac_func ();
93204 /* The GNU C library defines this for functions which it implements
93205     to always fail with ENOSYS.  Some functions are actually named
93206     something starting with __ and the normal name is an alias.  */
93207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93208 choke me
93209 #else
93210 char (*f) () = $ac_func;
93211 #endif
93212 #ifdef __cplusplus
93213 }
93214 #endif
93215
93216 int
93217 main ()
93218 {
93219 return f != $ac_func;
93220   ;
93221   return 0;
93222 }
93223 _ACEOF
93224 rm -f conftest.$ac_objext conftest$ac_exeext
93225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93226   (eval $ac_link) 2>conftest.er1
93227   ac_status=$?
93228   grep -v '^ *+' conftest.er1 >conftest.err
93229   rm -f conftest.er1
93230   cat conftest.err >&5
93231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93232   (exit $ac_status); } &&
93233          { ac_try='test -z "$ac_c_werror_flag"
93234                          || test ! -s conftest.err'
93235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93236   (eval $ac_try) 2>&5
93237   ac_status=$?
93238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93239   (exit $ac_status); }; } &&
93240          { ac_try='test -s conftest$ac_exeext'
93241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93242   (eval $ac_try) 2>&5
93243   ac_status=$?
93244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93245   (exit $ac_status); }; }; then
93246   eval "$as_ac_var=yes"
93247 else
93248   echo "$as_me: failed program was:" >&5
93249 sed 's/^/| /' conftest.$ac_ext >&5
93250
93251 eval "$as_ac_var=no"
93252 fi
93253 rm -f conftest.err conftest.$ac_objext \
93254       conftest$ac_exeext conftest.$ac_ext
93255 fi
93256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93258 if test `eval echo '${'$as_ac_var'}'` = yes; then
93259   cat >>confdefs.h <<_ACEOF
93260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93261 _ACEOF
93262
93263 fi
93264 done
93265
93266     fi
93267   fi
93268
93269
93270
93271
93272
93273
93274   echo "$as_me:$LINENO: checking for logl declaration" >&5
93275 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93276   if test x${glibcxx_cv_func_logl_use+set} != xset; then
93277     if test "${glibcxx_cv_func_logl_use+set}" = set; then
93278   echo $ECHO_N "(cached) $ECHO_C" >&6
93279 else
93280
93281
93282
93283       ac_ext=cc
93284 ac_cpp='$CXXCPP $CPPFLAGS'
93285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93288
93289       cat >conftest.$ac_ext <<_ACEOF
93290 /* confdefs.h.  */
93291 _ACEOF
93292 cat confdefs.h >>conftest.$ac_ext
93293 cat >>conftest.$ac_ext <<_ACEOF
93294 /* end confdefs.h.  */
93295 #include <math.h>
93296                       #ifdef HAVE_IEEEFP_H
93297                       #include <ieeefp.h>
93298                       #endif
93299
93300 int
93301 main ()
93302 {
93303  logl(0);
93304   ;
93305   return 0;
93306 }
93307 _ACEOF
93308 rm -f conftest.$ac_objext
93309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93310   (eval $ac_compile) 2>conftest.er1
93311   ac_status=$?
93312   grep -v '^ *+' conftest.er1 >conftest.err
93313   rm -f conftest.er1
93314   cat conftest.err >&5
93315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93316   (exit $ac_status); } &&
93317          { ac_try='test -z "$ac_cxx_werror_flag"
93318                          || test ! -s conftest.err'
93319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93320   (eval $ac_try) 2>&5
93321   ac_status=$?
93322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93323   (exit $ac_status); }; } &&
93324          { ac_try='test -s conftest.$ac_objext'
93325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93326   (eval $ac_try) 2>&5
93327   ac_status=$?
93328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93329   (exit $ac_status); }; }; then
93330   glibcxx_cv_func_logl_use=yes
93331 else
93332   echo "$as_me: failed program was:" >&5
93333 sed 's/^/| /' conftest.$ac_ext >&5
93334
93335 glibcxx_cv_func_logl_use=no
93336 fi
93337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93338       ac_ext=c
93339 ac_cpp='$CPP $CPPFLAGS'
93340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93343
93344
93345 fi
93346
93347   fi
93348   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93349 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93350
93351   if test x$glibcxx_cv_func_logl_use = x"yes"; then
93352
93353 for ac_func in logl
93354 do
93355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93356 echo "$as_me:$LINENO: checking for $ac_func" >&5
93357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93358 if eval "test \"\${$as_ac_var+set}\" = set"; then
93359   echo $ECHO_N "(cached) $ECHO_C" >&6
93360 else
93361   if test x$gcc_no_link = xyes; then
93362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93364    { (exit 1); exit 1; }; }
93365 fi
93366 cat >conftest.$ac_ext <<_ACEOF
93367 /* confdefs.h.  */
93368 _ACEOF
93369 cat confdefs.h >>conftest.$ac_ext
93370 cat >>conftest.$ac_ext <<_ACEOF
93371 /* end confdefs.h.  */
93372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93374 #define $ac_func innocuous_$ac_func
93375
93376 /* System header to define __stub macros and hopefully few prototypes,
93377     which can conflict with char $ac_func (); below.
93378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93379     <limits.h> exists even on freestanding compilers.  */
93380
93381 #ifdef __STDC__
93382 # include <limits.h>
93383 #else
93384 # include <assert.h>
93385 #endif
93386
93387 #undef $ac_func
93388
93389 /* Override any gcc2 internal prototype to avoid an error.  */
93390 #ifdef __cplusplus
93391 extern "C"
93392 {
93393 #endif
93394 /* We use char because int might match the return type of a gcc2
93395    builtin and then its argument prototype would still apply.  */
93396 char $ac_func ();
93397 /* The GNU C library defines this for functions which it implements
93398     to always fail with ENOSYS.  Some functions are actually named
93399     something starting with __ and the normal name is an alias.  */
93400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93401 choke me
93402 #else
93403 char (*f) () = $ac_func;
93404 #endif
93405 #ifdef __cplusplus
93406 }
93407 #endif
93408
93409 int
93410 main ()
93411 {
93412 return f != $ac_func;
93413   ;
93414   return 0;
93415 }
93416 _ACEOF
93417 rm -f conftest.$ac_objext conftest$ac_exeext
93418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93419   (eval $ac_link) 2>conftest.er1
93420   ac_status=$?
93421   grep -v '^ *+' conftest.er1 >conftest.err
93422   rm -f conftest.er1
93423   cat conftest.err >&5
93424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93425   (exit $ac_status); } &&
93426          { ac_try='test -z "$ac_c_werror_flag"
93427                          || test ! -s conftest.err'
93428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93429   (eval $ac_try) 2>&5
93430   ac_status=$?
93431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93432   (exit $ac_status); }; } &&
93433          { ac_try='test -s conftest$ac_exeext'
93434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93435   (eval $ac_try) 2>&5
93436   ac_status=$?
93437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93438   (exit $ac_status); }; }; then
93439   eval "$as_ac_var=yes"
93440 else
93441   echo "$as_me: failed program was:" >&5
93442 sed 's/^/| /' conftest.$ac_ext >&5
93443
93444 eval "$as_ac_var=no"
93445 fi
93446 rm -f conftest.err conftest.$ac_objext \
93447       conftest$ac_exeext conftest.$ac_ext
93448 fi
93449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93451 if test `eval echo '${'$as_ac_var'}'` = yes; then
93452   cat >>confdefs.h <<_ACEOF
93453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93454 _ACEOF
93455
93456 fi
93457 done
93458
93459   else
93460
93461   echo "$as_me:$LINENO: checking for _logl declaration" >&5
93462 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93463   if test x${glibcxx_cv_func__logl_use+set} != xset; then
93464     if test "${glibcxx_cv_func__logl_use+set}" = set; then
93465   echo $ECHO_N "(cached) $ECHO_C" >&6
93466 else
93467
93468
93469
93470       ac_ext=cc
93471 ac_cpp='$CXXCPP $CPPFLAGS'
93472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93475
93476       cat >conftest.$ac_ext <<_ACEOF
93477 /* confdefs.h.  */
93478 _ACEOF
93479 cat confdefs.h >>conftest.$ac_ext
93480 cat >>conftest.$ac_ext <<_ACEOF
93481 /* end confdefs.h.  */
93482 #include <math.h>
93483                       #ifdef HAVE_IEEEFP_H
93484                       #include <ieeefp.h>
93485                       #endif
93486
93487 int
93488 main ()
93489 {
93490  _logl(0);
93491   ;
93492   return 0;
93493 }
93494 _ACEOF
93495 rm -f conftest.$ac_objext
93496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93497   (eval $ac_compile) 2>conftest.er1
93498   ac_status=$?
93499   grep -v '^ *+' conftest.er1 >conftest.err
93500   rm -f conftest.er1
93501   cat conftest.err >&5
93502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93503   (exit $ac_status); } &&
93504          { ac_try='test -z "$ac_cxx_werror_flag"
93505                          || test ! -s conftest.err'
93506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93507   (eval $ac_try) 2>&5
93508   ac_status=$?
93509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93510   (exit $ac_status); }; } &&
93511          { ac_try='test -s conftest.$ac_objext'
93512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93513   (eval $ac_try) 2>&5
93514   ac_status=$?
93515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93516   (exit $ac_status); }; }; then
93517   glibcxx_cv_func__logl_use=yes
93518 else
93519   echo "$as_me: failed program was:" >&5
93520 sed 's/^/| /' conftest.$ac_ext >&5
93521
93522 glibcxx_cv_func__logl_use=no
93523 fi
93524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93525       ac_ext=c
93526 ac_cpp='$CPP $CPPFLAGS'
93527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93530
93531
93532 fi
93533
93534   fi
93535   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93536 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93537
93538     if test x$glibcxx_cv_func__logl_use = x"yes"; then
93539
93540 for ac_func in _logl
93541 do
93542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93543 echo "$as_me:$LINENO: checking for $ac_func" >&5
93544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93545 if eval "test \"\${$as_ac_var+set}\" = set"; then
93546   echo $ECHO_N "(cached) $ECHO_C" >&6
93547 else
93548   if test x$gcc_no_link = xyes; then
93549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93551    { (exit 1); exit 1; }; }
93552 fi
93553 cat >conftest.$ac_ext <<_ACEOF
93554 /* confdefs.h.  */
93555 _ACEOF
93556 cat confdefs.h >>conftest.$ac_ext
93557 cat >>conftest.$ac_ext <<_ACEOF
93558 /* end confdefs.h.  */
93559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93561 #define $ac_func innocuous_$ac_func
93562
93563 /* System header to define __stub macros and hopefully few prototypes,
93564     which can conflict with char $ac_func (); below.
93565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93566     <limits.h> exists even on freestanding compilers.  */
93567
93568 #ifdef __STDC__
93569 # include <limits.h>
93570 #else
93571 # include <assert.h>
93572 #endif
93573
93574 #undef $ac_func
93575
93576 /* Override any gcc2 internal prototype to avoid an error.  */
93577 #ifdef __cplusplus
93578 extern "C"
93579 {
93580 #endif
93581 /* We use char because int might match the return type of a gcc2
93582    builtin and then its argument prototype would still apply.  */
93583 char $ac_func ();
93584 /* The GNU C library defines this for functions which it implements
93585     to always fail with ENOSYS.  Some functions are actually named
93586     something starting with __ and the normal name is an alias.  */
93587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93588 choke me
93589 #else
93590 char (*f) () = $ac_func;
93591 #endif
93592 #ifdef __cplusplus
93593 }
93594 #endif
93595
93596 int
93597 main ()
93598 {
93599 return f != $ac_func;
93600   ;
93601   return 0;
93602 }
93603 _ACEOF
93604 rm -f conftest.$ac_objext conftest$ac_exeext
93605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93606   (eval $ac_link) 2>conftest.er1
93607   ac_status=$?
93608   grep -v '^ *+' conftest.er1 >conftest.err
93609   rm -f conftest.er1
93610   cat conftest.err >&5
93611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93612   (exit $ac_status); } &&
93613          { ac_try='test -z "$ac_c_werror_flag"
93614                          || test ! -s conftest.err'
93615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93616   (eval $ac_try) 2>&5
93617   ac_status=$?
93618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93619   (exit $ac_status); }; } &&
93620          { ac_try='test -s conftest$ac_exeext'
93621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93622   (eval $ac_try) 2>&5
93623   ac_status=$?
93624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93625   (exit $ac_status); }; }; then
93626   eval "$as_ac_var=yes"
93627 else
93628   echo "$as_me: failed program was:" >&5
93629 sed 's/^/| /' conftest.$ac_ext >&5
93630
93631 eval "$as_ac_var=no"
93632 fi
93633 rm -f conftest.err conftest.$ac_objext \
93634       conftest$ac_exeext conftest.$ac_ext
93635 fi
93636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93638 if test `eval echo '${'$as_ac_var'}'` = yes; then
93639   cat >>confdefs.h <<_ACEOF
93640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93641 _ACEOF
93642
93643 fi
93644 done
93645
93646     fi
93647   fi
93648
93649
93650
93651
93652
93653
93654   echo "$as_me:$LINENO: checking for log10l declaration" >&5
93655 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
93656   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
93657     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
93658   echo $ECHO_N "(cached) $ECHO_C" >&6
93659 else
93660
93661
93662
93663       ac_ext=cc
93664 ac_cpp='$CXXCPP $CPPFLAGS'
93665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93668
93669       cat >conftest.$ac_ext <<_ACEOF
93670 /* confdefs.h.  */
93671 _ACEOF
93672 cat confdefs.h >>conftest.$ac_ext
93673 cat >>conftest.$ac_ext <<_ACEOF
93674 /* end confdefs.h.  */
93675 #include <math.h>
93676                       #ifdef HAVE_IEEEFP_H
93677                       #include <ieeefp.h>
93678                       #endif
93679
93680 int
93681 main ()
93682 {
93683  log10l(0);
93684   ;
93685   return 0;
93686 }
93687 _ACEOF
93688 rm -f conftest.$ac_objext
93689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93690   (eval $ac_compile) 2>conftest.er1
93691   ac_status=$?
93692   grep -v '^ *+' conftest.er1 >conftest.err
93693   rm -f conftest.er1
93694   cat conftest.err >&5
93695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93696   (exit $ac_status); } &&
93697          { ac_try='test -z "$ac_cxx_werror_flag"
93698                          || test ! -s conftest.err'
93699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93700   (eval $ac_try) 2>&5
93701   ac_status=$?
93702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93703   (exit $ac_status); }; } &&
93704          { ac_try='test -s conftest.$ac_objext'
93705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93706   (eval $ac_try) 2>&5
93707   ac_status=$?
93708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93709   (exit $ac_status); }; }; then
93710   glibcxx_cv_func_log10l_use=yes
93711 else
93712   echo "$as_me: failed program was:" >&5
93713 sed 's/^/| /' conftest.$ac_ext >&5
93714
93715 glibcxx_cv_func_log10l_use=no
93716 fi
93717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93718       ac_ext=c
93719 ac_cpp='$CPP $CPPFLAGS'
93720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93723
93724
93725 fi
93726
93727   fi
93728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
93729 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
93730
93731   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
93732
93733 for ac_func in log10l
93734 do
93735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93736 echo "$as_me:$LINENO: checking for $ac_func" >&5
93737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93738 if eval "test \"\${$as_ac_var+set}\" = set"; then
93739   echo $ECHO_N "(cached) $ECHO_C" >&6
93740 else
93741   if test x$gcc_no_link = xyes; then
93742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93744    { (exit 1); exit 1; }; }
93745 fi
93746 cat >conftest.$ac_ext <<_ACEOF
93747 /* confdefs.h.  */
93748 _ACEOF
93749 cat confdefs.h >>conftest.$ac_ext
93750 cat >>conftest.$ac_ext <<_ACEOF
93751 /* end confdefs.h.  */
93752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93754 #define $ac_func innocuous_$ac_func
93755
93756 /* System header to define __stub macros and hopefully few prototypes,
93757     which can conflict with char $ac_func (); below.
93758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93759     <limits.h> exists even on freestanding compilers.  */
93760
93761 #ifdef __STDC__
93762 # include <limits.h>
93763 #else
93764 # include <assert.h>
93765 #endif
93766
93767 #undef $ac_func
93768
93769 /* Override any gcc2 internal prototype to avoid an error.  */
93770 #ifdef __cplusplus
93771 extern "C"
93772 {
93773 #endif
93774 /* We use char because int might match the return type of a gcc2
93775    builtin and then its argument prototype would still apply.  */
93776 char $ac_func ();
93777 /* The GNU C library defines this for functions which it implements
93778     to always fail with ENOSYS.  Some functions are actually named
93779     something starting with __ and the normal name is an alias.  */
93780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93781 choke me
93782 #else
93783 char (*f) () = $ac_func;
93784 #endif
93785 #ifdef __cplusplus
93786 }
93787 #endif
93788
93789 int
93790 main ()
93791 {
93792 return f != $ac_func;
93793   ;
93794   return 0;
93795 }
93796 _ACEOF
93797 rm -f conftest.$ac_objext conftest$ac_exeext
93798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93799   (eval $ac_link) 2>conftest.er1
93800   ac_status=$?
93801   grep -v '^ *+' conftest.er1 >conftest.err
93802   rm -f conftest.er1
93803   cat conftest.err >&5
93804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93805   (exit $ac_status); } &&
93806          { ac_try='test -z "$ac_c_werror_flag"
93807                          || test ! -s conftest.err'
93808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93809   (eval $ac_try) 2>&5
93810   ac_status=$?
93811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93812   (exit $ac_status); }; } &&
93813          { ac_try='test -s conftest$ac_exeext'
93814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93815   (eval $ac_try) 2>&5
93816   ac_status=$?
93817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93818   (exit $ac_status); }; }; then
93819   eval "$as_ac_var=yes"
93820 else
93821   echo "$as_me: failed program was:" >&5
93822 sed 's/^/| /' conftest.$ac_ext >&5
93823
93824 eval "$as_ac_var=no"
93825 fi
93826 rm -f conftest.err conftest.$ac_objext \
93827       conftest$ac_exeext conftest.$ac_ext
93828 fi
93829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93831 if test `eval echo '${'$as_ac_var'}'` = yes; then
93832   cat >>confdefs.h <<_ACEOF
93833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93834 _ACEOF
93835
93836 fi
93837 done
93838
93839   else
93840
93841   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
93842 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
93843   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
93844     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
93845   echo $ECHO_N "(cached) $ECHO_C" >&6
93846 else
93847
93848
93849
93850       ac_ext=cc
93851 ac_cpp='$CXXCPP $CPPFLAGS'
93852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93855
93856       cat >conftest.$ac_ext <<_ACEOF
93857 /* confdefs.h.  */
93858 _ACEOF
93859 cat confdefs.h >>conftest.$ac_ext
93860 cat >>conftest.$ac_ext <<_ACEOF
93861 /* end confdefs.h.  */
93862 #include <math.h>
93863                       #ifdef HAVE_IEEEFP_H
93864                       #include <ieeefp.h>
93865                       #endif
93866
93867 int
93868 main ()
93869 {
93870  _log10l(0);
93871   ;
93872   return 0;
93873 }
93874 _ACEOF
93875 rm -f conftest.$ac_objext
93876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93877   (eval $ac_compile) 2>conftest.er1
93878   ac_status=$?
93879   grep -v '^ *+' conftest.er1 >conftest.err
93880   rm -f conftest.er1
93881   cat conftest.err >&5
93882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93883   (exit $ac_status); } &&
93884          { ac_try='test -z "$ac_cxx_werror_flag"
93885                          || test ! -s conftest.err'
93886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93887   (eval $ac_try) 2>&5
93888   ac_status=$?
93889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93890   (exit $ac_status); }; } &&
93891          { ac_try='test -s conftest.$ac_objext'
93892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93893   (eval $ac_try) 2>&5
93894   ac_status=$?
93895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93896   (exit $ac_status); }; }; then
93897   glibcxx_cv_func__log10l_use=yes
93898 else
93899   echo "$as_me: failed program was:" >&5
93900 sed 's/^/| /' conftest.$ac_ext >&5
93901
93902 glibcxx_cv_func__log10l_use=no
93903 fi
93904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93905       ac_ext=c
93906 ac_cpp='$CPP $CPPFLAGS'
93907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93910
93911
93912 fi
93913
93914   fi
93915   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
93916 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
93917
93918     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
93919
93920 for ac_func in _log10l
93921 do
93922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93923 echo "$as_me:$LINENO: checking for $ac_func" >&5
93924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93925 if eval "test \"\${$as_ac_var+set}\" = set"; then
93926   echo $ECHO_N "(cached) $ECHO_C" >&6
93927 else
93928   if test x$gcc_no_link = xyes; then
93929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93931    { (exit 1); exit 1; }; }
93932 fi
93933 cat >conftest.$ac_ext <<_ACEOF
93934 /* confdefs.h.  */
93935 _ACEOF
93936 cat confdefs.h >>conftest.$ac_ext
93937 cat >>conftest.$ac_ext <<_ACEOF
93938 /* end confdefs.h.  */
93939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93941 #define $ac_func innocuous_$ac_func
93942
93943 /* System header to define __stub macros and hopefully few prototypes,
93944     which can conflict with char $ac_func (); below.
93945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93946     <limits.h> exists even on freestanding compilers.  */
93947
93948 #ifdef __STDC__
93949 # include <limits.h>
93950 #else
93951 # include <assert.h>
93952 #endif
93953
93954 #undef $ac_func
93955
93956 /* Override any gcc2 internal prototype to avoid an error.  */
93957 #ifdef __cplusplus
93958 extern "C"
93959 {
93960 #endif
93961 /* We use char because int might match the return type of a gcc2
93962    builtin and then its argument prototype would still apply.  */
93963 char $ac_func ();
93964 /* The GNU C library defines this for functions which it implements
93965     to always fail with ENOSYS.  Some functions are actually named
93966     something starting with __ and the normal name is an alias.  */
93967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93968 choke me
93969 #else
93970 char (*f) () = $ac_func;
93971 #endif
93972 #ifdef __cplusplus
93973 }
93974 #endif
93975
93976 int
93977 main ()
93978 {
93979 return f != $ac_func;
93980   ;
93981   return 0;
93982 }
93983 _ACEOF
93984 rm -f conftest.$ac_objext conftest$ac_exeext
93985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93986   (eval $ac_link) 2>conftest.er1
93987   ac_status=$?
93988   grep -v '^ *+' conftest.er1 >conftest.err
93989   rm -f conftest.er1
93990   cat conftest.err >&5
93991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93992   (exit $ac_status); } &&
93993          { ac_try='test -z "$ac_c_werror_flag"
93994                          || test ! -s conftest.err'
93995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93996   (eval $ac_try) 2>&5
93997   ac_status=$?
93998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93999   (exit $ac_status); }; } &&
94000          { ac_try='test -s conftest$ac_exeext'
94001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94002   (eval $ac_try) 2>&5
94003   ac_status=$?
94004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94005   (exit $ac_status); }; }; then
94006   eval "$as_ac_var=yes"
94007 else
94008   echo "$as_me: failed program was:" >&5
94009 sed 's/^/| /' conftest.$ac_ext >&5
94010
94011 eval "$as_ac_var=no"
94012 fi
94013 rm -f conftest.err conftest.$ac_objext \
94014       conftest$ac_exeext conftest.$ac_ext
94015 fi
94016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94018 if test `eval echo '${'$as_ac_var'}'` = yes; then
94019   cat >>confdefs.h <<_ACEOF
94020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94021 _ACEOF
94022
94023 fi
94024 done
94025
94026     fi
94027   fi
94028
94029
94030
94031
94032
94033
94034   echo "$as_me:$LINENO: checking for modfl declaration" >&5
94035 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94036   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94037     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94038   echo $ECHO_N "(cached) $ECHO_C" >&6
94039 else
94040
94041
94042
94043       ac_ext=cc
94044 ac_cpp='$CXXCPP $CPPFLAGS'
94045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94048
94049       cat >conftest.$ac_ext <<_ACEOF
94050 /* confdefs.h.  */
94051 _ACEOF
94052 cat confdefs.h >>conftest.$ac_ext
94053 cat >>conftest.$ac_ext <<_ACEOF
94054 /* end confdefs.h.  */
94055 #include <math.h>
94056 int
94057 main ()
94058 {
94059  modfl(0, 0);
94060   ;
94061   return 0;
94062 }
94063 _ACEOF
94064 rm -f conftest.$ac_objext
94065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94066   (eval $ac_compile) 2>conftest.er1
94067   ac_status=$?
94068   grep -v '^ *+' conftest.er1 >conftest.err
94069   rm -f conftest.er1
94070   cat conftest.err >&5
94071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94072   (exit $ac_status); } &&
94073          { ac_try='test -z "$ac_cxx_werror_flag"
94074                          || test ! -s conftest.err'
94075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94076   (eval $ac_try) 2>&5
94077   ac_status=$?
94078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94079   (exit $ac_status); }; } &&
94080          { ac_try='test -s conftest.$ac_objext'
94081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94082   (eval $ac_try) 2>&5
94083   ac_status=$?
94084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94085   (exit $ac_status); }; }; then
94086   glibcxx_cv_func_modfl_use=yes
94087 else
94088   echo "$as_me: failed program was:" >&5
94089 sed 's/^/| /' conftest.$ac_ext >&5
94090
94091 glibcxx_cv_func_modfl_use=no
94092 fi
94093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94094       ac_ext=c
94095 ac_cpp='$CPP $CPPFLAGS'
94096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94099
94100
94101 fi
94102
94103   fi
94104   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94105 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94106
94107   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94108
94109 for ac_func in modfl
94110 do
94111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94112 echo "$as_me:$LINENO: checking for $ac_func" >&5
94113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94114 if eval "test \"\${$as_ac_var+set}\" = set"; then
94115   echo $ECHO_N "(cached) $ECHO_C" >&6
94116 else
94117   if test x$gcc_no_link = xyes; then
94118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94120    { (exit 1); exit 1; }; }
94121 fi
94122 cat >conftest.$ac_ext <<_ACEOF
94123 /* confdefs.h.  */
94124 _ACEOF
94125 cat confdefs.h >>conftest.$ac_ext
94126 cat >>conftest.$ac_ext <<_ACEOF
94127 /* end confdefs.h.  */
94128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94130 #define $ac_func innocuous_$ac_func
94131
94132 /* System header to define __stub macros and hopefully few prototypes,
94133     which can conflict with char $ac_func (); below.
94134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94135     <limits.h> exists even on freestanding compilers.  */
94136
94137 #ifdef __STDC__
94138 # include <limits.h>
94139 #else
94140 # include <assert.h>
94141 #endif
94142
94143 #undef $ac_func
94144
94145 /* Override any gcc2 internal prototype to avoid an error.  */
94146 #ifdef __cplusplus
94147 extern "C"
94148 {
94149 #endif
94150 /* We use char because int might match the return type of a gcc2
94151    builtin and then its argument prototype would still apply.  */
94152 char $ac_func ();
94153 /* The GNU C library defines this for functions which it implements
94154     to always fail with ENOSYS.  Some functions are actually named
94155     something starting with __ and the normal name is an alias.  */
94156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94157 choke me
94158 #else
94159 char (*f) () = $ac_func;
94160 #endif
94161 #ifdef __cplusplus
94162 }
94163 #endif
94164
94165 int
94166 main ()
94167 {
94168 return f != $ac_func;
94169   ;
94170   return 0;
94171 }
94172 _ACEOF
94173 rm -f conftest.$ac_objext conftest$ac_exeext
94174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94175   (eval $ac_link) 2>conftest.er1
94176   ac_status=$?
94177   grep -v '^ *+' conftest.er1 >conftest.err
94178   rm -f conftest.er1
94179   cat conftest.err >&5
94180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94181   (exit $ac_status); } &&
94182          { ac_try='test -z "$ac_c_werror_flag"
94183                          || test ! -s conftest.err'
94184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94185   (eval $ac_try) 2>&5
94186   ac_status=$?
94187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94188   (exit $ac_status); }; } &&
94189          { ac_try='test -s conftest$ac_exeext'
94190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94191   (eval $ac_try) 2>&5
94192   ac_status=$?
94193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94194   (exit $ac_status); }; }; then
94195   eval "$as_ac_var=yes"
94196 else
94197   echo "$as_me: failed program was:" >&5
94198 sed 's/^/| /' conftest.$ac_ext >&5
94199
94200 eval "$as_ac_var=no"
94201 fi
94202 rm -f conftest.err conftest.$ac_objext \
94203       conftest$ac_exeext conftest.$ac_ext
94204 fi
94205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94207 if test `eval echo '${'$as_ac_var'}'` = yes; then
94208   cat >>confdefs.h <<_ACEOF
94209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94210 _ACEOF
94211
94212 fi
94213 done
94214
94215   else
94216
94217   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94218 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94219   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94220     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94221   echo $ECHO_N "(cached) $ECHO_C" >&6
94222 else
94223
94224
94225
94226       ac_ext=cc
94227 ac_cpp='$CXXCPP $CPPFLAGS'
94228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94231
94232       cat >conftest.$ac_ext <<_ACEOF
94233 /* confdefs.h.  */
94234 _ACEOF
94235 cat confdefs.h >>conftest.$ac_ext
94236 cat >>conftest.$ac_ext <<_ACEOF
94237 /* end confdefs.h.  */
94238 #include <math.h>
94239 int
94240 main ()
94241 {
94242  _modfl(0, 0);
94243   ;
94244   return 0;
94245 }
94246 _ACEOF
94247 rm -f conftest.$ac_objext
94248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94249   (eval $ac_compile) 2>conftest.er1
94250   ac_status=$?
94251   grep -v '^ *+' conftest.er1 >conftest.err
94252   rm -f conftest.er1
94253   cat conftest.err >&5
94254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94255   (exit $ac_status); } &&
94256          { ac_try='test -z "$ac_cxx_werror_flag"
94257                          || test ! -s conftest.err'
94258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94259   (eval $ac_try) 2>&5
94260   ac_status=$?
94261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94262   (exit $ac_status); }; } &&
94263          { ac_try='test -s conftest.$ac_objext'
94264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94265   (eval $ac_try) 2>&5
94266   ac_status=$?
94267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94268   (exit $ac_status); }; }; then
94269   glibcxx_cv_func__modfl_use=yes
94270 else
94271   echo "$as_me: failed program was:" >&5
94272 sed 's/^/| /' conftest.$ac_ext >&5
94273
94274 glibcxx_cv_func__modfl_use=no
94275 fi
94276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94277       ac_ext=c
94278 ac_cpp='$CPP $CPPFLAGS'
94279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94282
94283
94284 fi
94285
94286   fi
94287   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94288 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94289
94290     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94291
94292 for ac_func in _modfl
94293 do
94294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94295 echo "$as_me:$LINENO: checking for $ac_func" >&5
94296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94297 if eval "test \"\${$as_ac_var+set}\" = set"; then
94298   echo $ECHO_N "(cached) $ECHO_C" >&6
94299 else
94300   if test x$gcc_no_link = xyes; then
94301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94303    { (exit 1); exit 1; }; }
94304 fi
94305 cat >conftest.$ac_ext <<_ACEOF
94306 /* confdefs.h.  */
94307 _ACEOF
94308 cat confdefs.h >>conftest.$ac_ext
94309 cat >>conftest.$ac_ext <<_ACEOF
94310 /* end confdefs.h.  */
94311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94313 #define $ac_func innocuous_$ac_func
94314
94315 /* System header to define __stub macros and hopefully few prototypes,
94316     which can conflict with char $ac_func (); below.
94317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94318     <limits.h> exists even on freestanding compilers.  */
94319
94320 #ifdef __STDC__
94321 # include <limits.h>
94322 #else
94323 # include <assert.h>
94324 #endif
94325
94326 #undef $ac_func
94327
94328 /* Override any gcc2 internal prototype to avoid an error.  */
94329 #ifdef __cplusplus
94330 extern "C"
94331 {
94332 #endif
94333 /* We use char because int might match the return type of a gcc2
94334    builtin and then its argument prototype would still apply.  */
94335 char $ac_func ();
94336 /* The GNU C library defines this for functions which it implements
94337     to always fail with ENOSYS.  Some functions are actually named
94338     something starting with __ and the normal name is an alias.  */
94339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94340 choke me
94341 #else
94342 char (*f) () = $ac_func;
94343 #endif
94344 #ifdef __cplusplus
94345 }
94346 #endif
94347
94348 int
94349 main ()
94350 {
94351 return f != $ac_func;
94352   ;
94353   return 0;
94354 }
94355 _ACEOF
94356 rm -f conftest.$ac_objext conftest$ac_exeext
94357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94358   (eval $ac_link) 2>conftest.er1
94359   ac_status=$?
94360   grep -v '^ *+' conftest.er1 >conftest.err
94361   rm -f conftest.er1
94362   cat conftest.err >&5
94363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94364   (exit $ac_status); } &&
94365          { ac_try='test -z "$ac_c_werror_flag"
94366                          || test ! -s conftest.err'
94367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94368   (eval $ac_try) 2>&5
94369   ac_status=$?
94370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94371   (exit $ac_status); }; } &&
94372          { ac_try='test -s conftest$ac_exeext'
94373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94374   (eval $ac_try) 2>&5
94375   ac_status=$?
94376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94377   (exit $ac_status); }; }; then
94378   eval "$as_ac_var=yes"
94379 else
94380   echo "$as_me: failed program was:" >&5
94381 sed 's/^/| /' conftest.$ac_ext >&5
94382
94383 eval "$as_ac_var=no"
94384 fi
94385 rm -f conftest.err conftest.$ac_objext \
94386       conftest$ac_exeext conftest.$ac_ext
94387 fi
94388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94390 if test `eval echo '${'$as_ac_var'}'` = yes; then
94391   cat >>confdefs.h <<_ACEOF
94392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94393 _ACEOF
94394
94395 fi
94396 done
94397
94398     fi
94399   fi
94400
94401
94402
94403
94404
94405
94406   echo "$as_me:$LINENO: checking for powl declaration" >&5
94407 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94408   if test x${glibcxx_cv_func_powl_use+set} != xset; then
94409     if test "${glibcxx_cv_func_powl_use+set}" = set; then
94410   echo $ECHO_N "(cached) $ECHO_C" >&6
94411 else
94412
94413
94414
94415       ac_ext=cc
94416 ac_cpp='$CXXCPP $CPPFLAGS'
94417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94420
94421       cat >conftest.$ac_ext <<_ACEOF
94422 /* confdefs.h.  */
94423 _ACEOF
94424 cat confdefs.h >>conftest.$ac_ext
94425 cat >>conftest.$ac_ext <<_ACEOF
94426 /* end confdefs.h.  */
94427 #include <math.h>
94428 int
94429 main ()
94430 {
94431  powl(0, 0);
94432   ;
94433   return 0;
94434 }
94435 _ACEOF
94436 rm -f conftest.$ac_objext
94437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94438   (eval $ac_compile) 2>conftest.er1
94439   ac_status=$?
94440   grep -v '^ *+' conftest.er1 >conftest.err
94441   rm -f conftest.er1
94442   cat conftest.err >&5
94443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94444   (exit $ac_status); } &&
94445          { ac_try='test -z "$ac_cxx_werror_flag"
94446                          || test ! -s conftest.err'
94447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94448   (eval $ac_try) 2>&5
94449   ac_status=$?
94450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94451   (exit $ac_status); }; } &&
94452          { ac_try='test -s conftest.$ac_objext'
94453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94454   (eval $ac_try) 2>&5
94455   ac_status=$?
94456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94457   (exit $ac_status); }; }; then
94458   glibcxx_cv_func_powl_use=yes
94459 else
94460   echo "$as_me: failed program was:" >&5
94461 sed 's/^/| /' conftest.$ac_ext >&5
94462
94463 glibcxx_cv_func_powl_use=no
94464 fi
94465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94466       ac_ext=c
94467 ac_cpp='$CPP $CPPFLAGS'
94468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94471
94472
94473 fi
94474
94475   fi
94476   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94477 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94478
94479   if test x$glibcxx_cv_func_powl_use = x"yes"; then
94480
94481 for ac_func in powl
94482 do
94483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94484 echo "$as_me:$LINENO: checking for $ac_func" >&5
94485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94486 if eval "test \"\${$as_ac_var+set}\" = set"; then
94487   echo $ECHO_N "(cached) $ECHO_C" >&6
94488 else
94489   if test x$gcc_no_link = xyes; then
94490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94492    { (exit 1); exit 1; }; }
94493 fi
94494 cat >conftest.$ac_ext <<_ACEOF
94495 /* confdefs.h.  */
94496 _ACEOF
94497 cat confdefs.h >>conftest.$ac_ext
94498 cat >>conftest.$ac_ext <<_ACEOF
94499 /* end confdefs.h.  */
94500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94502 #define $ac_func innocuous_$ac_func
94503
94504 /* System header to define __stub macros and hopefully few prototypes,
94505     which can conflict with char $ac_func (); below.
94506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94507     <limits.h> exists even on freestanding compilers.  */
94508
94509 #ifdef __STDC__
94510 # include <limits.h>
94511 #else
94512 # include <assert.h>
94513 #endif
94514
94515 #undef $ac_func
94516
94517 /* Override any gcc2 internal prototype to avoid an error.  */
94518 #ifdef __cplusplus
94519 extern "C"
94520 {
94521 #endif
94522 /* We use char because int might match the return type of a gcc2
94523    builtin and then its argument prototype would still apply.  */
94524 char $ac_func ();
94525 /* The GNU C library defines this for functions which it implements
94526     to always fail with ENOSYS.  Some functions are actually named
94527     something starting with __ and the normal name is an alias.  */
94528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94529 choke me
94530 #else
94531 char (*f) () = $ac_func;
94532 #endif
94533 #ifdef __cplusplus
94534 }
94535 #endif
94536
94537 int
94538 main ()
94539 {
94540 return f != $ac_func;
94541   ;
94542   return 0;
94543 }
94544 _ACEOF
94545 rm -f conftest.$ac_objext conftest$ac_exeext
94546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94547   (eval $ac_link) 2>conftest.er1
94548   ac_status=$?
94549   grep -v '^ *+' conftest.er1 >conftest.err
94550   rm -f conftest.er1
94551   cat conftest.err >&5
94552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94553   (exit $ac_status); } &&
94554          { ac_try='test -z "$ac_c_werror_flag"
94555                          || test ! -s conftest.err'
94556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94557   (eval $ac_try) 2>&5
94558   ac_status=$?
94559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94560   (exit $ac_status); }; } &&
94561          { ac_try='test -s conftest$ac_exeext'
94562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94563   (eval $ac_try) 2>&5
94564   ac_status=$?
94565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94566   (exit $ac_status); }; }; then
94567   eval "$as_ac_var=yes"
94568 else
94569   echo "$as_me: failed program was:" >&5
94570 sed 's/^/| /' conftest.$ac_ext >&5
94571
94572 eval "$as_ac_var=no"
94573 fi
94574 rm -f conftest.err conftest.$ac_objext \
94575       conftest$ac_exeext conftest.$ac_ext
94576 fi
94577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94579 if test `eval echo '${'$as_ac_var'}'` = yes; then
94580   cat >>confdefs.h <<_ACEOF
94581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94582 _ACEOF
94583
94584 fi
94585 done
94586
94587   else
94588
94589   echo "$as_me:$LINENO: checking for _powl declaration" >&5
94590 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94591   if test x${glibcxx_cv_func__powl_use+set} != xset; then
94592     if test "${glibcxx_cv_func__powl_use+set}" = set; then
94593   echo $ECHO_N "(cached) $ECHO_C" >&6
94594 else
94595
94596
94597
94598       ac_ext=cc
94599 ac_cpp='$CXXCPP $CPPFLAGS'
94600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94603
94604       cat >conftest.$ac_ext <<_ACEOF
94605 /* confdefs.h.  */
94606 _ACEOF
94607 cat confdefs.h >>conftest.$ac_ext
94608 cat >>conftest.$ac_ext <<_ACEOF
94609 /* end confdefs.h.  */
94610 #include <math.h>
94611 int
94612 main ()
94613 {
94614  _powl(0, 0);
94615   ;
94616   return 0;
94617 }
94618 _ACEOF
94619 rm -f conftest.$ac_objext
94620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94621   (eval $ac_compile) 2>conftest.er1
94622   ac_status=$?
94623   grep -v '^ *+' conftest.er1 >conftest.err
94624   rm -f conftest.er1
94625   cat conftest.err >&5
94626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94627   (exit $ac_status); } &&
94628          { ac_try='test -z "$ac_cxx_werror_flag"
94629                          || test ! -s conftest.err'
94630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94631   (eval $ac_try) 2>&5
94632   ac_status=$?
94633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94634   (exit $ac_status); }; } &&
94635          { ac_try='test -s conftest.$ac_objext'
94636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94637   (eval $ac_try) 2>&5
94638   ac_status=$?
94639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94640   (exit $ac_status); }; }; then
94641   glibcxx_cv_func__powl_use=yes
94642 else
94643   echo "$as_me: failed program was:" >&5
94644 sed 's/^/| /' conftest.$ac_ext >&5
94645
94646 glibcxx_cv_func__powl_use=no
94647 fi
94648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94649       ac_ext=c
94650 ac_cpp='$CPP $CPPFLAGS'
94651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94654
94655
94656 fi
94657
94658   fi
94659   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
94660 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
94661
94662     if test x$glibcxx_cv_func__powl_use = x"yes"; then
94663
94664 for ac_func in _powl
94665 do
94666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94667 echo "$as_me:$LINENO: checking for $ac_func" >&5
94668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94669 if eval "test \"\${$as_ac_var+set}\" = set"; then
94670   echo $ECHO_N "(cached) $ECHO_C" >&6
94671 else
94672   if test x$gcc_no_link = xyes; then
94673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94675    { (exit 1); exit 1; }; }
94676 fi
94677 cat >conftest.$ac_ext <<_ACEOF
94678 /* confdefs.h.  */
94679 _ACEOF
94680 cat confdefs.h >>conftest.$ac_ext
94681 cat >>conftest.$ac_ext <<_ACEOF
94682 /* end confdefs.h.  */
94683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94685 #define $ac_func innocuous_$ac_func
94686
94687 /* System header to define __stub macros and hopefully few prototypes,
94688     which can conflict with char $ac_func (); below.
94689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94690     <limits.h> exists even on freestanding compilers.  */
94691
94692 #ifdef __STDC__
94693 # include <limits.h>
94694 #else
94695 # include <assert.h>
94696 #endif
94697
94698 #undef $ac_func
94699
94700 /* Override any gcc2 internal prototype to avoid an error.  */
94701 #ifdef __cplusplus
94702 extern "C"
94703 {
94704 #endif
94705 /* We use char because int might match the return type of a gcc2
94706    builtin and then its argument prototype would still apply.  */
94707 char $ac_func ();
94708 /* The GNU C library defines this for functions which it implements
94709     to always fail with ENOSYS.  Some functions are actually named
94710     something starting with __ and the normal name is an alias.  */
94711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94712 choke me
94713 #else
94714 char (*f) () = $ac_func;
94715 #endif
94716 #ifdef __cplusplus
94717 }
94718 #endif
94719
94720 int
94721 main ()
94722 {
94723 return f != $ac_func;
94724   ;
94725   return 0;
94726 }
94727 _ACEOF
94728 rm -f conftest.$ac_objext conftest$ac_exeext
94729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94730   (eval $ac_link) 2>conftest.er1
94731   ac_status=$?
94732   grep -v '^ *+' conftest.er1 >conftest.err
94733   rm -f conftest.er1
94734   cat conftest.err >&5
94735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94736   (exit $ac_status); } &&
94737          { ac_try='test -z "$ac_c_werror_flag"
94738                          || test ! -s conftest.err'
94739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94740   (eval $ac_try) 2>&5
94741   ac_status=$?
94742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94743   (exit $ac_status); }; } &&
94744          { ac_try='test -s conftest$ac_exeext'
94745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94746   (eval $ac_try) 2>&5
94747   ac_status=$?
94748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94749   (exit $ac_status); }; }; then
94750   eval "$as_ac_var=yes"
94751 else
94752   echo "$as_me: failed program was:" >&5
94753 sed 's/^/| /' conftest.$ac_ext >&5
94754
94755 eval "$as_ac_var=no"
94756 fi
94757 rm -f conftest.err conftest.$ac_objext \
94758       conftest$ac_exeext conftest.$ac_ext
94759 fi
94760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94762 if test `eval echo '${'$as_ac_var'}'` = yes; then
94763   cat >>confdefs.h <<_ACEOF
94764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94765 _ACEOF
94766
94767 fi
94768 done
94769
94770     fi
94771   fi
94772
94773
94774
94775
94776
94777
94778   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
94779 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
94780   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
94781     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
94782   echo $ECHO_N "(cached) $ECHO_C" >&6
94783 else
94784
94785
94786
94787       ac_ext=cc
94788 ac_cpp='$CXXCPP $CPPFLAGS'
94789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94792
94793       cat >conftest.$ac_ext <<_ACEOF
94794 /* confdefs.h.  */
94795 _ACEOF
94796 cat confdefs.h >>conftest.$ac_ext
94797 cat >>conftest.$ac_ext <<_ACEOF
94798 /* end confdefs.h.  */
94799 #include <math.h>
94800                       #ifdef HAVE_IEEEFP_H
94801                       #include <ieeefp.h>
94802                       #endif
94803
94804 int
94805 main ()
94806 {
94807  sqrtl(0);
94808   ;
94809   return 0;
94810 }
94811 _ACEOF
94812 rm -f conftest.$ac_objext
94813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94814   (eval $ac_compile) 2>conftest.er1
94815   ac_status=$?
94816   grep -v '^ *+' conftest.er1 >conftest.err
94817   rm -f conftest.er1
94818   cat conftest.err >&5
94819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94820   (exit $ac_status); } &&
94821          { ac_try='test -z "$ac_cxx_werror_flag"
94822                          || test ! -s conftest.err'
94823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94824   (eval $ac_try) 2>&5
94825   ac_status=$?
94826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94827   (exit $ac_status); }; } &&
94828          { ac_try='test -s conftest.$ac_objext'
94829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94830   (eval $ac_try) 2>&5
94831   ac_status=$?
94832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94833   (exit $ac_status); }; }; then
94834   glibcxx_cv_func_sqrtl_use=yes
94835 else
94836   echo "$as_me: failed program was:" >&5
94837 sed 's/^/| /' conftest.$ac_ext >&5
94838
94839 glibcxx_cv_func_sqrtl_use=no
94840 fi
94841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94842       ac_ext=c
94843 ac_cpp='$CPP $CPPFLAGS'
94844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94847
94848
94849 fi
94850
94851   fi
94852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
94853 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
94854
94855   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
94856
94857 for ac_func in sqrtl
94858 do
94859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94860 echo "$as_me:$LINENO: checking for $ac_func" >&5
94861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94862 if eval "test \"\${$as_ac_var+set}\" = set"; then
94863   echo $ECHO_N "(cached) $ECHO_C" >&6
94864 else
94865   if test x$gcc_no_link = xyes; then
94866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94868    { (exit 1); exit 1; }; }
94869 fi
94870 cat >conftest.$ac_ext <<_ACEOF
94871 /* confdefs.h.  */
94872 _ACEOF
94873 cat confdefs.h >>conftest.$ac_ext
94874 cat >>conftest.$ac_ext <<_ACEOF
94875 /* end confdefs.h.  */
94876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94878 #define $ac_func innocuous_$ac_func
94879
94880 /* System header to define __stub macros and hopefully few prototypes,
94881     which can conflict with char $ac_func (); below.
94882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94883     <limits.h> exists even on freestanding compilers.  */
94884
94885 #ifdef __STDC__
94886 # include <limits.h>
94887 #else
94888 # include <assert.h>
94889 #endif
94890
94891 #undef $ac_func
94892
94893 /* Override any gcc2 internal prototype to avoid an error.  */
94894 #ifdef __cplusplus
94895 extern "C"
94896 {
94897 #endif
94898 /* We use char because int might match the return type of a gcc2
94899    builtin and then its argument prototype would still apply.  */
94900 char $ac_func ();
94901 /* The GNU C library defines this for functions which it implements
94902     to always fail with ENOSYS.  Some functions are actually named
94903     something starting with __ and the normal name is an alias.  */
94904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94905 choke me
94906 #else
94907 char (*f) () = $ac_func;
94908 #endif
94909 #ifdef __cplusplus
94910 }
94911 #endif
94912
94913 int
94914 main ()
94915 {
94916 return f != $ac_func;
94917   ;
94918   return 0;
94919 }
94920 _ACEOF
94921 rm -f conftest.$ac_objext conftest$ac_exeext
94922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94923   (eval $ac_link) 2>conftest.er1
94924   ac_status=$?
94925   grep -v '^ *+' conftest.er1 >conftest.err
94926   rm -f conftest.er1
94927   cat conftest.err >&5
94928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94929   (exit $ac_status); } &&
94930          { ac_try='test -z "$ac_c_werror_flag"
94931                          || test ! -s conftest.err'
94932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94933   (eval $ac_try) 2>&5
94934   ac_status=$?
94935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94936   (exit $ac_status); }; } &&
94937          { ac_try='test -s conftest$ac_exeext'
94938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94939   (eval $ac_try) 2>&5
94940   ac_status=$?
94941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94942   (exit $ac_status); }; }; then
94943   eval "$as_ac_var=yes"
94944 else
94945   echo "$as_me: failed program was:" >&5
94946 sed 's/^/| /' conftest.$ac_ext >&5
94947
94948 eval "$as_ac_var=no"
94949 fi
94950 rm -f conftest.err conftest.$ac_objext \
94951       conftest$ac_exeext conftest.$ac_ext
94952 fi
94953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94955 if test `eval echo '${'$as_ac_var'}'` = yes; then
94956   cat >>confdefs.h <<_ACEOF
94957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94958 _ACEOF
94959
94960 fi
94961 done
94962
94963   else
94964
94965   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
94966 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
94967   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
94968     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
94969   echo $ECHO_N "(cached) $ECHO_C" >&6
94970 else
94971
94972
94973
94974       ac_ext=cc
94975 ac_cpp='$CXXCPP $CPPFLAGS'
94976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94979
94980       cat >conftest.$ac_ext <<_ACEOF
94981 /* confdefs.h.  */
94982 _ACEOF
94983 cat confdefs.h >>conftest.$ac_ext
94984 cat >>conftest.$ac_ext <<_ACEOF
94985 /* end confdefs.h.  */
94986 #include <math.h>
94987                       #ifdef HAVE_IEEEFP_H
94988                       #include <ieeefp.h>
94989                       #endif
94990
94991 int
94992 main ()
94993 {
94994  _sqrtl(0);
94995   ;
94996   return 0;
94997 }
94998 _ACEOF
94999 rm -f conftest.$ac_objext
95000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95001   (eval $ac_compile) 2>conftest.er1
95002   ac_status=$?
95003   grep -v '^ *+' conftest.er1 >conftest.err
95004   rm -f conftest.er1
95005   cat conftest.err >&5
95006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95007   (exit $ac_status); } &&
95008          { ac_try='test -z "$ac_cxx_werror_flag"
95009                          || test ! -s conftest.err'
95010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95011   (eval $ac_try) 2>&5
95012   ac_status=$?
95013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95014   (exit $ac_status); }; } &&
95015          { ac_try='test -s conftest.$ac_objext'
95016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95017   (eval $ac_try) 2>&5
95018   ac_status=$?
95019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95020   (exit $ac_status); }; }; then
95021   glibcxx_cv_func__sqrtl_use=yes
95022 else
95023   echo "$as_me: failed program was:" >&5
95024 sed 's/^/| /' conftest.$ac_ext >&5
95025
95026 glibcxx_cv_func__sqrtl_use=no
95027 fi
95028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95029       ac_ext=c
95030 ac_cpp='$CPP $CPPFLAGS'
95031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95034
95035
95036 fi
95037
95038   fi
95039   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95040 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95041
95042     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95043
95044 for ac_func in _sqrtl
95045 do
95046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95047 echo "$as_me:$LINENO: checking for $ac_func" >&5
95048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95049 if eval "test \"\${$as_ac_var+set}\" = set"; then
95050   echo $ECHO_N "(cached) $ECHO_C" >&6
95051 else
95052   if test x$gcc_no_link = xyes; then
95053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95055    { (exit 1); exit 1; }; }
95056 fi
95057 cat >conftest.$ac_ext <<_ACEOF
95058 /* confdefs.h.  */
95059 _ACEOF
95060 cat confdefs.h >>conftest.$ac_ext
95061 cat >>conftest.$ac_ext <<_ACEOF
95062 /* end confdefs.h.  */
95063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95065 #define $ac_func innocuous_$ac_func
95066
95067 /* System header to define __stub macros and hopefully few prototypes,
95068     which can conflict with char $ac_func (); below.
95069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95070     <limits.h> exists even on freestanding compilers.  */
95071
95072 #ifdef __STDC__
95073 # include <limits.h>
95074 #else
95075 # include <assert.h>
95076 #endif
95077
95078 #undef $ac_func
95079
95080 /* Override any gcc2 internal prototype to avoid an error.  */
95081 #ifdef __cplusplus
95082 extern "C"
95083 {
95084 #endif
95085 /* We use char because int might match the return type of a gcc2
95086    builtin and then its argument prototype would still apply.  */
95087 char $ac_func ();
95088 /* The GNU C library defines this for functions which it implements
95089     to always fail with ENOSYS.  Some functions are actually named
95090     something starting with __ and the normal name is an alias.  */
95091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95092 choke me
95093 #else
95094 char (*f) () = $ac_func;
95095 #endif
95096 #ifdef __cplusplus
95097 }
95098 #endif
95099
95100 int
95101 main ()
95102 {
95103 return f != $ac_func;
95104   ;
95105   return 0;
95106 }
95107 _ACEOF
95108 rm -f conftest.$ac_objext conftest$ac_exeext
95109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95110   (eval $ac_link) 2>conftest.er1
95111   ac_status=$?
95112   grep -v '^ *+' conftest.er1 >conftest.err
95113   rm -f conftest.er1
95114   cat conftest.err >&5
95115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95116   (exit $ac_status); } &&
95117          { ac_try='test -z "$ac_c_werror_flag"
95118                          || test ! -s conftest.err'
95119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95120   (eval $ac_try) 2>&5
95121   ac_status=$?
95122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95123   (exit $ac_status); }; } &&
95124          { ac_try='test -s conftest$ac_exeext'
95125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95126   (eval $ac_try) 2>&5
95127   ac_status=$?
95128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95129   (exit $ac_status); }; }; then
95130   eval "$as_ac_var=yes"
95131 else
95132   echo "$as_me: failed program was:" >&5
95133 sed 's/^/| /' conftest.$ac_ext >&5
95134
95135 eval "$as_ac_var=no"
95136 fi
95137 rm -f conftest.err conftest.$ac_objext \
95138       conftest$ac_exeext conftest.$ac_ext
95139 fi
95140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95142 if test `eval echo '${'$as_ac_var'}'` = yes; then
95143   cat >>confdefs.h <<_ACEOF
95144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95145 _ACEOF
95146
95147 fi
95148 done
95149
95150     fi
95151   fi
95152
95153
95154
95155
95156
95157
95158   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95159 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95160   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95161     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95162   echo $ECHO_N "(cached) $ECHO_C" >&6
95163 else
95164
95165
95166
95167       ac_ext=cc
95168 ac_cpp='$CXXCPP $CPPFLAGS'
95169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95172
95173       cat >conftest.$ac_ext <<_ACEOF
95174 /* confdefs.h.  */
95175 _ACEOF
95176 cat confdefs.h >>conftest.$ac_ext
95177 cat >>conftest.$ac_ext <<_ACEOF
95178 /* end confdefs.h.  */
95179 #include <math.h>
95180 int
95181 main ()
95182 {
95183  sincosl(0, 0, 0);
95184   ;
95185   return 0;
95186 }
95187 _ACEOF
95188 rm -f conftest.$ac_objext
95189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95190   (eval $ac_compile) 2>conftest.er1
95191   ac_status=$?
95192   grep -v '^ *+' conftest.er1 >conftest.err
95193   rm -f conftest.er1
95194   cat conftest.err >&5
95195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95196   (exit $ac_status); } &&
95197          { ac_try='test -z "$ac_cxx_werror_flag"
95198                          || test ! -s conftest.err'
95199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95200   (eval $ac_try) 2>&5
95201   ac_status=$?
95202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95203   (exit $ac_status); }; } &&
95204          { ac_try='test -s conftest.$ac_objext'
95205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95206   (eval $ac_try) 2>&5
95207   ac_status=$?
95208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95209   (exit $ac_status); }; }; then
95210   glibcxx_cv_func_sincosl_use=yes
95211 else
95212   echo "$as_me: failed program was:" >&5
95213 sed 's/^/| /' conftest.$ac_ext >&5
95214
95215 glibcxx_cv_func_sincosl_use=no
95216 fi
95217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95218       ac_ext=c
95219 ac_cpp='$CPP $CPPFLAGS'
95220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95223
95224
95225 fi
95226
95227   fi
95228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95229 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95230
95231   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95232
95233 for ac_func in sincosl
95234 do
95235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95236 echo "$as_me:$LINENO: checking for $ac_func" >&5
95237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95238 if eval "test \"\${$as_ac_var+set}\" = set"; then
95239   echo $ECHO_N "(cached) $ECHO_C" >&6
95240 else
95241   if test x$gcc_no_link = xyes; then
95242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95244    { (exit 1); exit 1; }; }
95245 fi
95246 cat >conftest.$ac_ext <<_ACEOF
95247 /* confdefs.h.  */
95248 _ACEOF
95249 cat confdefs.h >>conftest.$ac_ext
95250 cat >>conftest.$ac_ext <<_ACEOF
95251 /* end confdefs.h.  */
95252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95254 #define $ac_func innocuous_$ac_func
95255
95256 /* System header to define __stub macros and hopefully few prototypes,
95257     which can conflict with char $ac_func (); below.
95258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95259     <limits.h> exists even on freestanding compilers.  */
95260
95261 #ifdef __STDC__
95262 # include <limits.h>
95263 #else
95264 # include <assert.h>
95265 #endif
95266
95267 #undef $ac_func
95268
95269 /* Override any gcc2 internal prototype to avoid an error.  */
95270 #ifdef __cplusplus
95271 extern "C"
95272 {
95273 #endif
95274 /* We use char because int might match the return type of a gcc2
95275    builtin and then its argument prototype would still apply.  */
95276 char $ac_func ();
95277 /* The GNU C library defines this for functions which it implements
95278     to always fail with ENOSYS.  Some functions are actually named
95279     something starting with __ and the normal name is an alias.  */
95280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95281 choke me
95282 #else
95283 char (*f) () = $ac_func;
95284 #endif
95285 #ifdef __cplusplus
95286 }
95287 #endif
95288
95289 int
95290 main ()
95291 {
95292 return f != $ac_func;
95293   ;
95294   return 0;
95295 }
95296 _ACEOF
95297 rm -f conftest.$ac_objext conftest$ac_exeext
95298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95299   (eval $ac_link) 2>conftest.er1
95300   ac_status=$?
95301   grep -v '^ *+' conftest.er1 >conftest.err
95302   rm -f conftest.er1
95303   cat conftest.err >&5
95304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95305   (exit $ac_status); } &&
95306          { ac_try='test -z "$ac_c_werror_flag"
95307                          || test ! -s conftest.err'
95308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95309   (eval $ac_try) 2>&5
95310   ac_status=$?
95311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95312   (exit $ac_status); }; } &&
95313          { ac_try='test -s conftest$ac_exeext'
95314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95315   (eval $ac_try) 2>&5
95316   ac_status=$?
95317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95318   (exit $ac_status); }; }; then
95319   eval "$as_ac_var=yes"
95320 else
95321   echo "$as_me: failed program was:" >&5
95322 sed 's/^/| /' conftest.$ac_ext >&5
95323
95324 eval "$as_ac_var=no"
95325 fi
95326 rm -f conftest.err conftest.$ac_objext \
95327       conftest$ac_exeext conftest.$ac_ext
95328 fi
95329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95331 if test `eval echo '${'$as_ac_var'}'` = yes; then
95332   cat >>confdefs.h <<_ACEOF
95333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95334 _ACEOF
95335
95336 fi
95337 done
95338
95339   else
95340
95341   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95342 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95343   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95344     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95345   echo $ECHO_N "(cached) $ECHO_C" >&6
95346 else
95347
95348
95349
95350       ac_ext=cc
95351 ac_cpp='$CXXCPP $CPPFLAGS'
95352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95355
95356       cat >conftest.$ac_ext <<_ACEOF
95357 /* confdefs.h.  */
95358 _ACEOF
95359 cat confdefs.h >>conftest.$ac_ext
95360 cat >>conftest.$ac_ext <<_ACEOF
95361 /* end confdefs.h.  */
95362 #include <math.h>
95363 int
95364 main ()
95365 {
95366  _sincosl(0, 0, 0);
95367   ;
95368   return 0;
95369 }
95370 _ACEOF
95371 rm -f conftest.$ac_objext
95372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95373   (eval $ac_compile) 2>conftest.er1
95374   ac_status=$?
95375   grep -v '^ *+' conftest.er1 >conftest.err
95376   rm -f conftest.er1
95377   cat conftest.err >&5
95378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95379   (exit $ac_status); } &&
95380          { ac_try='test -z "$ac_cxx_werror_flag"
95381                          || test ! -s conftest.err'
95382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95383   (eval $ac_try) 2>&5
95384   ac_status=$?
95385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95386   (exit $ac_status); }; } &&
95387          { ac_try='test -s conftest.$ac_objext'
95388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95389   (eval $ac_try) 2>&5
95390   ac_status=$?
95391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95392   (exit $ac_status); }; }; then
95393   glibcxx_cv_func__sincosl_use=yes
95394 else
95395   echo "$as_me: failed program was:" >&5
95396 sed 's/^/| /' conftest.$ac_ext >&5
95397
95398 glibcxx_cv_func__sincosl_use=no
95399 fi
95400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95401       ac_ext=c
95402 ac_cpp='$CPP $CPPFLAGS'
95403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95406
95407
95408 fi
95409
95410   fi
95411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95412 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95413
95414     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95415
95416 for ac_func in _sincosl
95417 do
95418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95419 echo "$as_me:$LINENO: checking for $ac_func" >&5
95420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95421 if eval "test \"\${$as_ac_var+set}\" = set"; then
95422   echo $ECHO_N "(cached) $ECHO_C" >&6
95423 else
95424   if test x$gcc_no_link = xyes; then
95425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95427    { (exit 1); exit 1; }; }
95428 fi
95429 cat >conftest.$ac_ext <<_ACEOF
95430 /* confdefs.h.  */
95431 _ACEOF
95432 cat confdefs.h >>conftest.$ac_ext
95433 cat >>conftest.$ac_ext <<_ACEOF
95434 /* end confdefs.h.  */
95435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95437 #define $ac_func innocuous_$ac_func
95438
95439 /* System header to define __stub macros and hopefully few prototypes,
95440     which can conflict with char $ac_func (); below.
95441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95442     <limits.h> exists even on freestanding compilers.  */
95443
95444 #ifdef __STDC__
95445 # include <limits.h>
95446 #else
95447 # include <assert.h>
95448 #endif
95449
95450 #undef $ac_func
95451
95452 /* Override any gcc2 internal prototype to avoid an error.  */
95453 #ifdef __cplusplus
95454 extern "C"
95455 {
95456 #endif
95457 /* We use char because int might match the return type of a gcc2
95458    builtin and then its argument prototype would still apply.  */
95459 char $ac_func ();
95460 /* The GNU C library defines this for functions which it implements
95461     to always fail with ENOSYS.  Some functions are actually named
95462     something starting with __ and the normal name is an alias.  */
95463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95464 choke me
95465 #else
95466 char (*f) () = $ac_func;
95467 #endif
95468 #ifdef __cplusplus
95469 }
95470 #endif
95471
95472 int
95473 main ()
95474 {
95475 return f != $ac_func;
95476   ;
95477   return 0;
95478 }
95479 _ACEOF
95480 rm -f conftest.$ac_objext conftest$ac_exeext
95481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95482   (eval $ac_link) 2>conftest.er1
95483   ac_status=$?
95484   grep -v '^ *+' conftest.er1 >conftest.err
95485   rm -f conftest.er1
95486   cat conftest.err >&5
95487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95488   (exit $ac_status); } &&
95489          { ac_try='test -z "$ac_c_werror_flag"
95490                          || test ! -s conftest.err'
95491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95492   (eval $ac_try) 2>&5
95493   ac_status=$?
95494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95495   (exit $ac_status); }; } &&
95496          { ac_try='test -s conftest$ac_exeext'
95497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95498   (eval $ac_try) 2>&5
95499   ac_status=$?
95500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95501   (exit $ac_status); }; }; then
95502   eval "$as_ac_var=yes"
95503 else
95504   echo "$as_me: failed program was:" >&5
95505 sed 's/^/| /' conftest.$ac_ext >&5
95506
95507 eval "$as_ac_var=no"
95508 fi
95509 rm -f conftest.err conftest.$ac_objext \
95510       conftest$ac_exeext conftest.$ac_ext
95511 fi
95512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95514 if test `eval echo '${'$as_ac_var'}'` = yes; then
95515   cat >>confdefs.h <<_ACEOF
95516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95517 _ACEOF
95518
95519 fi
95520 done
95521
95522     fi
95523   fi
95524
95525
95526
95527
95528
95529
95530   echo "$as_me:$LINENO: checking for finitel declaration" >&5
95531 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95532   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95533     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95534   echo $ECHO_N "(cached) $ECHO_C" >&6
95535 else
95536
95537
95538
95539       ac_ext=cc
95540 ac_cpp='$CXXCPP $CPPFLAGS'
95541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95544
95545       cat >conftest.$ac_ext <<_ACEOF
95546 /* confdefs.h.  */
95547 _ACEOF
95548 cat confdefs.h >>conftest.$ac_ext
95549 cat >>conftest.$ac_ext <<_ACEOF
95550 /* end confdefs.h.  */
95551 #include <math.h>
95552                       #ifdef HAVE_IEEEFP_H
95553                       #include <ieeefp.h>
95554                       #endif
95555
95556 int
95557 main ()
95558 {
95559  finitel(0);
95560   ;
95561   return 0;
95562 }
95563 _ACEOF
95564 rm -f conftest.$ac_objext
95565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95566   (eval $ac_compile) 2>conftest.er1
95567   ac_status=$?
95568   grep -v '^ *+' conftest.er1 >conftest.err
95569   rm -f conftest.er1
95570   cat conftest.err >&5
95571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95572   (exit $ac_status); } &&
95573          { ac_try='test -z "$ac_cxx_werror_flag"
95574                          || test ! -s conftest.err'
95575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95576   (eval $ac_try) 2>&5
95577   ac_status=$?
95578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95579   (exit $ac_status); }; } &&
95580          { ac_try='test -s conftest.$ac_objext'
95581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95582   (eval $ac_try) 2>&5
95583   ac_status=$?
95584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95585   (exit $ac_status); }; }; then
95586   glibcxx_cv_func_finitel_use=yes
95587 else
95588   echo "$as_me: failed program was:" >&5
95589 sed 's/^/| /' conftest.$ac_ext >&5
95590
95591 glibcxx_cv_func_finitel_use=no
95592 fi
95593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95594       ac_ext=c
95595 ac_cpp='$CPP $CPPFLAGS'
95596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95599
95600
95601 fi
95602
95603   fi
95604   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
95605 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
95606
95607   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
95608
95609 for ac_func in finitel
95610 do
95611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95612 echo "$as_me:$LINENO: checking for $ac_func" >&5
95613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95614 if eval "test \"\${$as_ac_var+set}\" = set"; then
95615   echo $ECHO_N "(cached) $ECHO_C" >&6
95616 else
95617   if test x$gcc_no_link = xyes; then
95618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95620    { (exit 1); exit 1; }; }
95621 fi
95622 cat >conftest.$ac_ext <<_ACEOF
95623 /* confdefs.h.  */
95624 _ACEOF
95625 cat confdefs.h >>conftest.$ac_ext
95626 cat >>conftest.$ac_ext <<_ACEOF
95627 /* end confdefs.h.  */
95628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95630 #define $ac_func innocuous_$ac_func
95631
95632 /* System header to define __stub macros and hopefully few prototypes,
95633     which can conflict with char $ac_func (); below.
95634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95635     <limits.h> exists even on freestanding compilers.  */
95636
95637 #ifdef __STDC__
95638 # include <limits.h>
95639 #else
95640 # include <assert.h>
95641 #endif
95642
95643 #undef $ac_func
95644
95645 /* Override any gcc2 internal prototype to avoid an error.  */
95646 #ifdef __cplusplus
95647 extern "C"
95648 {
95649 #endif
95650 /* We use char because int might match the return type of a gcc2
95651    builtin and then its argument prototype would still apply.  */
95652 char $ac_func ();
95653 /* The GNU C library defines this for functions which it implements
95654     to always fail with ENOSYS.  Some functions are actually named
95655     something starting with __ and the normal name is an alias.  */
95656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95657 choke me
95658 #else
95659 char (*f) () = $ac_func;
95660 #endif
95661 #ifdef __cplusplus
95662 }
95663 #endif
95664
95665 int
95666 main ()
95667 {
95668 return f != $ac_func;
95669   ;
95670   return 0;
95671 }
95672 _ACEOF
95673 rm -f conftest.$ac_objext conftest$ac_exeext
95674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95675   (eval $ac_link) 2>conftest.er1
95676   ac_status=$?
95677   grep -v '^ *+' conftest.er1 >conftest.err
95678   rm -f conftest.er1
95679   cat conftest.err >&5
95680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95681   (exit $ac_status); } &&
95682          { ac_try='test -z "$ac_c_werror_flag"
95683                          || test ! -s conftest.err'
95684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95685   (eval $ac_try) 2>&5
95686   ac_status=$?
95687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95688   (exit $ac_status); }; } &&
95689          { ac_try='test -s conftest$ac_exeext'
95690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95691   (eval $ac_try) 2>&5
95692   ac_status=$?
95693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95694   (exit $ac_status); }; }; then
95695   eval "$as_ac_var=yes"
95696 else
95697   echo "$as_me: failed program was:" >&5
95698 sed 's/^/| /' conftest.$ac_ext >&5
95699
95700 eval "$as_ac_var=no"
95701 fi
95702 rm -f conftest.err conftest.$ac_objext \
95703       conftest$ac_exeext conftest.$ac_ext
95704 fi
95705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95707 if test `eval echo '${'$as_ac_var'}'` = yes; then
95708   cat >>confdefs.h <<_ACEOF
95709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95710 _ACEOF
95711
95712 fi
95713 done
95714
95715   else
95716
95717   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
95718 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
95719   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
95720     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
95721   echo $ECHO_N "(cached) $ECHO_C" >&6
95722 else
95723
95724
95725
95726       ac_ext=cc
95727 ac_cpp='$CXXCPP $CPPFLAGS'
95728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95731
95732       cat >conftest.$ac_ext <<_ACEOF
95733 /* confdefs.h.  */
95734 _ACEOF
95735 cat confdefs.h >>conftest.$ac_ext
95736 cat >>conftest.$ac_ext <<_ACEOF
95737 /* end confdefs.h.  */
95738 #include <math.h>
95739                       #ifdef HAVE_IEEEFP_H
95740                       #include <ieeefp.h>
95741                       #endif
95742
95743 int
95744 main ()
95745 {
95746  _finitel(0);
95747   ;
95748   return 0;
95749 }
95750 _ACEOF
95751 rm -f conftest.$ac_objext
95752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95753   (eval $ac_compile) 2>conftest.er1
95754   ac_status=$?
95755   grep -v '^ *+' conftest.er1 >conftest.err
95756   rm -f conftest.er1
95757   cat conftest.err >&5
95758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95759   (exit $ac_status); } &&
95760          { ac_try='test -z "$ac_cxx_werror_flag"
95761                          || test ! -s conftest.err'
95762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95763   (eval $ac_try) 2>&5
95764   ac_status=$?
95765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95766   (exit $ac_status); }; } &&
95767          { ac_try='test -s conftest.$ac_objext'
95768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95769   (eval $ac_try) 2>&5
95770   ac_status=$?
95771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95772   (exit $ac_status); }; }; then
95773   glibcxx_cv_func__finitel_use=yes
95774 else
95775   echo "$as_me: failed program was:" >&5
95776 sed 's/^/| /' conftest.$ac_ext >&5
95777
95778 glibcxx_cv_func__finitel_use=no
95779 fi
95780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95781       ac_ext=c
95782 ac_cpp='$CPP $CPPFLAGS'
95783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95786
95787
95788 fi
95789
95790   fi
95791   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
95792 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
95793
95794     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
95795
95796 for ac_func in _finitel
95797 do
95798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95799 echo "$as_me:$LINENO: checking for $ac_func" >&5
95800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95801 if eval "test \"\${$as_ac_var+set}\" = set"; then
95802   echo $ECHO_N "(cached) $ECHO_C" >&6
95803 else
95804   if test x$gcc_no_link = xyes; then
95805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95807    { (exit 1); exit 1; }; }
95808 fi
95809 cat >conftest.$ac_ext <<_ACEOF
95810 /* confdefs.h.  */
95811 _ACEOF
95812 cat confdefs.h >>conftest.$ac_ext
95813 cat >>conftest.$ac_ext <<_ACEOF
95814 /* end confdefs.h.  */
95815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95817 #define $ac_func innocuous_$ac_func
95818
95819 /* System header to define __stub macros and hopefully few prototypes,
95820     which can conflict with char $ac_func (); below.
95821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95822     <limits.h> exists even on freestanding compilers.  */
95823
95824 #ifdef __STDC__
95825 # include <limits.h>
95826 #else
95827 # include <assert.h>
95828 #endif
95829
95830 #undef $ac_func
95831
95832 /* Override any gcc2 internal prototype to avoid an error.  */
95833 #ifdef __cplusplus
95834 extern "C"
95835 {
95836 #endif
95837 /* We use char because int might match the return type of a gcc2
95838    builtin and then its argument prototype would still apply.  */
95839 char $ac_func ();
95840 /* The GNU C library defines this for functions which it implements
95841     to always fail with ENOSYS.  Some functions are actually named
95842     something starting with __ and the normal name is an alias.  */
95843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95844 choke me
95845 #else
95846 char (*f) () = $ac_func;
95847 #endif
95848 #ifdef __cplusplus
95849 }
95850 #endif
95851
95852 int
95853 main ()
95854 {
95855 return f != $ac_func;
95856   ;
95857   return 0;
95858 }
95859 _ACEOF
95860 rm -f conftest.$ac_objext conftest$ac_exeext
95861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95862   (eval $ac_link) 2>conftest.er1
95863   ac_status=$?
95864   grep -v '^ *+' conftest.er1 >conftest.err
95865   rm -f conftest.er1
95866   cat conftest.err >&5
95867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95868   (exit $ac_status); } &&
95869          { ac_try='test -z "$ac_c_werror_flag"
95870                          || test ! -s conftest.err'
95871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95872   (eval $ac_try) 2>&5
95873   ac_status=$?
95874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95875   (exit $ac_status); }; } &&
95876          { ac_try='test -s conftest$ac_exeext'
95877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95878   (eval $ac_try) 2>&5
95879   ac_status=$?
95880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95881   (exit $ac_status); }; }; then
95882   eval "$as_ac_var=yes"
95883 else
95884   echo "$as_me: failed program was:" >&5
95885 sed 's/^/| /' conftest.$ac_ext >&5
95886
95887 eval "$as_ac_var=no"
95888 fi
95889 rm -f conftest.err conftest.$ac_objext \
95890       conftest$ac_exeext conftest.$ac_ext
95891 fi
95892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95894 if test `eval echo '${'$as_ac_var'}'` = yes; then
95895   cat >>confdefs.h <<_ACEOF
95896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95897 _ACEOF
95898
95899 fi
95900 done
95901
95902     fi
95903   fi
95904
95905
95906
95907
95908
95909   LIBS="$ac_save_LIBS"
95910   CXXFLAGS="$ac_save_CXXFLAGS"
95911
95912
95913
95914   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
95915 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
95916   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
95917     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
95918   echo $ECHO_N "(cached) $ECHO_C" >&6
95919 else
95920
95921
95922
95923       ac_ext=cc
95924 ac_cpp='$CXXCPP $CPPFLAGS'
95925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95928
95929       cat >conftest.$ac_ext <<_ACEOF
95930 /* confdefs.h.  */
95931 _ACEOF
95932 cat confdefs.h >>conftest.$ac_ext
95933 cat >>conftest.$ac_ext <<_ACEOF
95934 /* end confdefs.h.  */
95935 #include <math.h>
95936 int
95937 main ()
95938 {
95939  __builtin_abs(0);
95940   ;
95941   return 0;
95942 }
95943 _ACEOF
95944 rm -f conftest.$ac_objext
95945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95946   (eval $ac_compile) 2>conftest.er1
95947   ac_status=$?
95948   grep -v '^ *+' conftest.er1 >conftest.err
95949   rm -f conftest.er1
95950   cat conftest.err >&5
95951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95952   (exit $ac_status); } &&
95953          { ac_try='test -z "$ac_cxx_werror_flag"
95954                          || test ! -s conftest.err'
95955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95956   (eval $ac_try) 2>&5
95957   ac_status=$?
95958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95959   (exit $ac_status); }; } &&
95960          { ac_try='test -s conftest.$ac_objext'
95961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95962   (eval $ac_try) 2>&5
95963   ac_status=$?
95964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95965   (exit $ac_status); }; }; then
95966   glibcxx_cv_func___builtin_abs_use=yes
95967 else
95968   echo "$as_me: failed program was:" >&5
95969 sed 's/^/| /' conftest.$ac_ext >&5
95970
95971 glibcxx_cv_func___builtin_abs_use=no
95972 fi
95973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95974       ac_ext=c
95975 ac_cpp='$CPP $CPPFLAGS'
95976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95979
95980
95981 fi
95982
95983   fi
95984   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
95985 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
95986   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
95987     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
95988 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
95989     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
95990       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
95991   echo $ECHO_N "(cached) $ECHO_C" >&6
95992 else
95993
95994         if test x$gcc_no_link = xyes; then
95995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95997    { (exit 1); exit 1; }; }
95998 fi
95999 cat >conftest.$ac_ext <<_ACEOF
96000 /* confdefs.h.  */
96001 _ACEOF
96002 cat confdefs.h >>conftest.$ac_ext
96003 cat >>conftest.$ac_ext <<_ACEOF
96004 /* end confdefs.h.  */
96005 #include <math.h>
96006 int
96007 main ()
96008 {
96009  __builtin_abs(0);
96010   ;
96011   return 0;
96012 }
96013 _ACEOF
96014 rm -f conftest.$ac_objext conftest$ac_exeext
96015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96016   (eval $ac_link) 2>conftest.er1
96017   ac_status=$?
96018   grep -v '^ *+' conftest.er1 >conftest.err
96019   rm -f conftest.er1
96020   cat conftest.err >&5
96021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96022   (exit $ac_status); } &&
96023          { ac_try='test -z "$ac_c_werror_flag"
96024                          || test ! -s conftest.err'
96025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96026   (eval $ac_try) 2>&5
96027   ac_status=$?
96028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96029   (exit $ac_status); }; } &&
96030          { ac_try='test -s conftest$ac_exeext'
96031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96032   (eval $ac_try) 2>&5
96033   ac_status=$?
96034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96035   (exit $ac_status); }; }; then
96036   glibcxx_cv_func___builtin_abs_link=yes
96037 else
96038   echo "$as_me: failed program was:" >&5
96039 sed 's/^/| /' conftest.$ac_ext >&5
96040
96041 glibcxx_cv_func___builtin_abs_link=no
96042 fi
96043 rm -f conftest.err conftest.$ac_objext \
96044       conftest$ac_exeext conftest.$ac_ext
96045
96046 fi
96047
96048     fi
96049     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96050 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96051
96052     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96053
96054 cat >>confdefs.h <<\_ACEOF
96055 #define HAVE___BUILTIN_ABS 1
96056 _ACEOF
96057
96058     fi
96059
96060   fi
96061
96062
96063   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96064 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96065   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96066     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96067   echo $ECHO_N "(cached) $ECHO_C" >&6
96068 else
96069
96070
96071
96072       ac_ext=cc
96073 ac_cpp='$CXXCPP $CPPFLAGS'
96074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96077
96078       cat >conftest.$ac_ext <<_ACEOF
96079 /* confdefs.h.  */
96080 _ACEOF
96081 cat confdefs.h >>conftest.$ac_ext
96082 cat >>conftest.$ac_ext <<_ACEOF
96083 /* end confdefs.h.  */
96084 #include <math.h>
96085 int
96086 main ()
96087 {
96088  __builtin_fabsf(0);
96089   ;
96090   return 0;
96091 }
96092 _ACEOF
96093 rm -f conftest.$ac_objext
96094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96095   (eval $ac_compile) 2>conftest.er1
96096   ac_status=$?
96097   grep -v '^ *+' conftest.er1 >conftest.err
96098   rm -f conftest.er1
96099   cat conftest.err >&5
96100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96101   (exit $ac_status); } &&
96102          { ac_try='test -z "$ac_cxx_werror_flag"
96103                          || test ! -s conftest.err'
96104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96105   (eval $ac_try) 2>&5
96106   ac_status=$?
96107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96108   (exit $ac_status); }; } &&
96109          { ac_try='test -s conftest.$ac_objext'
96110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96111   (eval $ac_try) 2>&5
96112   ac_status=$?
96113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96114   (exit $ac_status); }; }; then
96115   glibcxx_cv_func___builtin_fabsf_use=yes
96116 else
96117   echo "$as_me: failed program was:" >&5
96118 sed 's/^/| /' conftest.$ac_ext >&5
96119
96120 glibcxx_cv_func___builtin_fabsf_use=no
96121 fi
96122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96123       ac_ext=c
96124 ac_cpp='$CPP $CPPFLAGS'
96125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96128
96129
96130 fi
96131
96132   fi
96133   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96134 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96135   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96136     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96137 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96138     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96139       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96140   echo $ECHO_N "(cached) $ECHO_C" >&6
96141 else
96142
96143         if test x$gcc_no_link = xyes; then
96144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96146    { (exit 1); exit 1; }; }
96147 fi
96148 cat >conftest.$ac_ext <<_ACEOF
96149 /* confdefs.h.  */
96150 _ACEOF
96151 cat confdefs.h >>conftest.$ac_ext
96152 cat >>conftest.$ac_ext <<_ACEOF
96153 /* end confdefs.h.  */
96154 #include <math.h>
96155 int
96156 main ()
96157 {
96158  __builtin_fabsf(0);
96159   ;
96160   return 0;
96161 }
96162 _ACEOF
96163 rm -f conftest.$ac_objext conftest$ac_exeext
96164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96165   (eval $ac_link) 2>conftest.er1
96166   ac_status=$?
96167   grep -v '^ *+' conftest.er1 >conftest.err
96168   rm -f conftest.er1
96169   cat conftest.err >&5
96170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96171   (exit $ac_status); } &&
96172          { ac_try='test -z "$ac_c_werror_flag"
96173                          || test ! -s conftest.err'
96174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96175   (eval $ac_try) 2>&5
96176   ac_status=$?
96177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96178   (exit $ac_status); }; } &&
96179          { ac_try='test -s conftest$ac_exeext'
96180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96181   (eval $ac_try) 2>&5
96182   ac_status=$?
96183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96184   (exit $ac_status); }; }; then
96185   glibcxx_cv_func___builtin_fabsf_link=yes
96186 else
96187   echo "$as_me: failed program was:" >&5
96188 sed 's/^/| /' conftest.$ac_ext >&5
96189
96190 glibcxx_cv_func___builtin_fabsf_link=no
96191 fi
96192 rm -f conftest.err conftest.$ac_objext \
96193       conftest$ac_exeext conftest.$ac_ext
96194
96195 fi
96196
96197     fi
96198     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96199 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96200
96201     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96202
96203 cat >>confdefs.h <<\_ACEOF
96204 #define HAVE___BUILTIN_FABSF 1
96205 _ACEOF
96206
96207     fi
96208
96209   fi
96210
96211
96212   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96213 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96214   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96215     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96216   echo $ECHO_N "(cached) $ECHO_C" >&6
96217 else
96218
96219
96220
96221       ac_ext=cc
96222 ac_cpp='$CXXCPP $CPPFLAGS'
96223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96226
96227       cat >conftest.$ac_ext <<_ACEOF
96228 /* confdefs.h.  */
96229 _ACEOF
96230 cat confdefs.h >>conftest.$ac_ext
96231 cat >>conftest.$ac_ext <<_ACEOF
96232 /* end confdefs.h.  */
96233 #include <math.h>
96234 int
96235 main ()
96236 {
96237  __builtin_fabs(0);
96238   ;
96239   return 0;
96240 }
96241 _ACEOF
96242 rm -f conftest.$ac_objext
96243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96244   (eval $ac_compile) 2>conftest.er1
96245   ac_status=$?
96246   grep -v '^ *+' conftest.er1 >conftest.err
96247   rm -f conftest.er1
96248   cat conftest.err >&5
96249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96250   (exit $ac_status); } &&
96251          { ac_try='test -z "$ac_cxx_werror_flag"
96252                          || test ! -s conftest.err'
96253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96254   (eval $ac_try) 2>&5
96255   ac_status=$?
96256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96257   (exit $ac_status); }; } &&
96258          { ac_try='test -s conftest.$ac_objext'
96259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96260   (eval $ac_try) 2>&5
96261   ac_status=$?
96262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96263   (exit $ac_status); }; }; then
96264   glibcxx_cv_func___builtin_fabs_use=yes
96265 else
96266   echo "$as_me: failed program was:" >&5
96267 sed 's/^/| /' conftest.$ac_ext >&5
96268
96269 glibcxx_cv_func___builtin_fabs_use=no
96270 fi
96271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96272       ac_ext=c
96273 ac_cpp='$CPP $CPPFLAGS'
96274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96277
96278
96279 fi
96280
96281   fi
96282   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96283 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96284   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96285     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96286 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96287     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96288       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96289   echo $ECHO_N "(cached) $ECHO_C" >&6
96290 else
96291
96292         if test x$gcc_no_link = xyes; then
96293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96295    { (exit 1); exit 1; }; }
96296 fi
96297 cat >conftest.$ac_ext <<_ACEOF
96298 /* confdefs.h.  */
96299 _ACEOF
96300 cat confdefs.h >>conftest.$ac_ext
96301 cat >>conftest.$ac_ext <<_ACEOF
96302 /* end confdefs.h.  */
96303 #include <math.h>
96304 int
96305 main ()
96306 {
96307  __builtin_fabs(0);
96308   ;
96309   return 0;
96310 }
96311 _ACEOF
96312 rm -f conftest.$ac_objext conftest$ac_exeext
96313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96314   (eval $ac_link) 2>conftest.er1
96315   ac_status=$?
96316   grep -v '^ *+' conftest.er1 >conftest.err
96317   rm -f conftest.er1
96318   cat conftest.err >&5
96319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96320   (exit $ac_status); } &&
96321          { ac_try='test -z "$ac_c_werror_flag"
96322                          || test ! -s conftest.err'
96323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96324   (eval $ac_try) 2>&5
96325   ac_status=$?
96326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96327   (exit $ac_status); }; } &&
96328          { ac_try='test -s conftest$ac_exeext'
96329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96330   (eval $ac_try) 2>&5
96331   ac_status=$?
96332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96333   (exit $ac_status); }; }; then
96334   glibcxx_cv_func___builtin_fabs_link=yes
96335 else
96336   echo "$as_me: failed program was:" >&5
96337 sed 's/^/| /' conftest.$ac_ext >&5
96338
96339 glibcxx_cv_func___builtin_fabs_link=no
96340 fi
96341 rm -f conftest.err conftest.$ac_objext \
96342       conftest$ac_exeext conftest.$ac_ext
96343
96344 fi
96345
96346     fi
96347     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96348 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96349
96350     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96351
96352 cat >>confdefs.h <<\_ACEOF
96353 #define HAVE___BUILTIN_FABS 1
96354 _ACEOF
96355
96356     fi
96357
96358   fi
96359
96360
96361   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96362 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96363   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96364     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96365   echo $ECHO_N "(cached) $ECHO_C" >&6
96366 else
96367
96368
96369
96370       ac_ext=cc
96371 ac_cpp='$CXXCPP $CPPFLAGS'
96372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96375
96376       cat >conftest.$ac_ext <<_ACEOF
96377 /* confdefs.h.  */
96378 _ACEOF
96379 cat confdefs.h >>conftest.$ac_ext
96380 cat >>conftest.$ac_ext <<_ACEOF
96381 /* end confdefs.h.  */
96382 #include <math.h>
96383 int
96384 main ()
96385 {
96386  __builtin_fabsl(0);
96387   ;
96388   return 0;
96389 }
96390 _ACEOF
96391 rm -f conftest.$ac_objext
96392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96393   (eval $ac_compile) 2>conftest.er1
96394   ac_status=$?
96395   grep -v '^ *+' conftest.er1 >conftest.err
96396   rm -f conftest.er1
96397   cat conftest.err >&5
96398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96399   (exit $ac_status); } &&
96400          { ac_try='test -z "$ac_cxx_werror_flag"
96401                          || test ! -s conftest.err'
96402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96403   (eval $ac_try) 2>&5
96404   ac_status=$?
96405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96406   (exit $ac_status); }; } &&
96407          { ac_try='test -s conftest.$ac_objext'
96408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96409   (eval $ac_try) 2>&5
96410   ac_status=$?
96411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96412   (exit $ac_status); }; }; then
96413   glibcxx_cv_func___builtin_fabsl_use=yes
96414 else
96415   echo "$as_me: failed program was:" >&5
96416 sed 's/^/| /' conftest.$ac_ext >&5
96417
96418 glibcxx_cv_func___builtin_fabsl_use=no
96419 fi
96420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96421       ac_ext=c
96422 ac_cpp='$CPP $CPPFLAGS'
96423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96426
96427
96428 fi
96429
96430   fi
96431   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96432 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96433   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96434     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96435 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96436     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96437       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96438   echo $ECHO_N "(cached) $ECHO_C" >&6
96439 else
96440
96441         if test x$gcc_no_link = xyes; then
96442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96444    { (exit 1); exit 1; }; }
96445 fi
96446 cat >conftest.$ac_ext <<_ACEOF
96447 /* confdefs.h.  */
96448 _ACEOF
96449 cat confdefs.h >>conftest.$ac_ext
96450 cat >>conftest.$ac_ext <<_ACEOF
96451 /* end confdefs.h.  */
96452 #include <math.h>
96453 int
96454 main ()
96455 {
96456  __builtin_fabsl(0);
96457   ;
96458   return 0;
96459 }
96460 _ACEOF
96461 rm -f conftest.$ac_objext conftest$ac_exeext
96462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96463   (eval $ac_link) 2>conftest.er1
96464   ac_status=$?
96465   grep -v '^ *+' conftest.er1 >conftest.err
96466   rm -f conftest.er1
96467   cat conftest.err >&5
96468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96469   (exit $ac_status); } &&
96470          { ac_try='test -z "$ac_c_werror_flag"
96471                          || test ! -s conftest.err'
96472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96473   (eval $ac_try) 2>&5
96474   ac_status=$?
96475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96476   (exit $ac_status); }; } &&
96477          { ac_try='test -s conftest$ac_exeext'
96478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96479   (eval $ac_try) 2>&5
96480   ac_status=$?
96481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96482   (exit $ac_status); }; }; then
96483   glibcxx_cv_func___builtin_fabsl_link=yes
96484 else
96485   echo "$as_me: failed program was:" >&5
96486 sed 's/^/| /' conftest.$ac_ext >&5
96487
96488 glibcxx_cv_func___builtin_fabsl_link=no
96489 fi
96490 rm -f conftest.err conftest.$ac_objext \
96491       conftest$ac_exeext conftest.$ac_ext
96492
96493 fi
96494
96495     fi
96496     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96497 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96498
96499     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96500
96501 cat >>confdefs.h <<\_ACEOF
96502 #define HAVE___BUILTIN_FABSL 1
96503 _ACEOF
96504
96505     fi
96506
96507   fi
96508
96509
96510   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96511 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96512   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96513     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96514   echo $ECHO_N "(cached) $ECHO_C" >&6
96515 else
96516
96517
96518
96519       ac_ext=cc
96520 ac_cpp='$CXXCPP $CPPFLAGS'
96521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96524
96525       cat >conftest.$ac_ext <<_ACEOF
96526 /* confdefs.h.  */
96527 _ACEOF
96528 cat confdefs.h >>conftest.$ac_ext
96529 cat >>conftest.$ac_ext <<_ACEOF
96530 /* end confdefs.h.  */
96531 #include <math.h>
96532 int
96533 main ()
96534 {
96535  __builtin_labs(0);
96536   ;
96537   return 0;
96538 }
96539 _ACEOF
96540 rm -f conftest.$ac_objext
96541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96542   (eval $ac_compile) 2>conftest.er1
96543   ac_status=$?
96544   grep -v '^ *+' conftest.er1 >conftest.err
96545   rm -f conftest.er1
96546   cat conftest.err >&5
96547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96548   (exit $ac_status); } &&
96549          { ac_try='test -z "$ac_cxx_werror_flag"
96550                          || test ! -s conftest.err'
96551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96552   (eval $ac_try) 2>&5
96553   ac_status=$?
96554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96555   (exit $ac_status); }; } &&
96556          { ac_try='test -s conftest.$ac_objext'
96557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96558   (eval $ac_try) 2>&5
96559   ac_status=$?
96560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96561   (exit $ac_status); }; }; then
96562   glibcxx_cv_func___builtin_labs_use=yes
96563 else
96564   echo "$as_me: failed program was:" >&5
96565 sed 's/^/| /' conftest.$ac_ext >&5
96566
96567 glibcxx_cv_func___builtin_labs_use=no
96568 fi
96569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96570       ac_ext=c
96571 ac_cpp='$CPP $CPPFLAGS'
96572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96575
96576
96577 fi
96578
96579   fi
96580   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96581 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96582   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96583     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96584 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96585     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96586       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96587   echo $ECHO_N "(cached) $ECHO_C" >&6
96588 else
96589
96590         if test x$gcc_no_link = xyes; then
96591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96593    { (exit 1); exit 1; }; }
96594 fi
96595 cat >conftest.$ac_ext <<_ACEOF
96596 /* confdefs.h.  */
96597 _ACEOF
96598 cat confdefs.h >>conftest.$ac_ext
96599 cat >>conftest.$ac_ext <<_ACEOF
96600 /* end confdefs.h.  */
96601 #include <math.h>
96602 int
96603 main ()
96604 {
96605  __builtin_labs(0);
96606   ;
96607   return 0;
96608 }
96609 _ACEOF
96610 rm -f conftest.$ac_objext conftest$ac_exeext
96611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96612   (eval $ac_link) 2>conftest.er1
96613   ac_status=$?
96614   grep -v '^ *+' conftest.er1 >conftest.err
96615   rm -f conftest.er1
96616   cat conftest.err >&5
96617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96618   (exit $ac_status); } &&
96619          { ac_try='test -z "$ac_c_werror_flag"
96620                          || test ! -s conftest.err'
96621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96622   (eval $ac_try) 2>&5
96623   ac_status=$?
96624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96625   (exit $ac_status); }; } &&
96626          { ac_try='test -s conftest$ac_exeext'
96627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96628   (eval $ac_try) 2>&5
96629   ac_status=$?
96630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96631   (exit $ac_status); }; }; then
96632   glibcxx_cv_func___builtin_labs_link=yes
96633 else
96634   echo "$as_me: failed program was:" >&5
96635 sed 's/^/| /' conftest.$ac_ext >&5
96636
96637 glibcxx_cv_func___builtin_labs_link=no
96638 fi
96639 rm -f conftest.err conftest.$ac_objext \
96640       conftest$ac_exeext conftest.$ac_ext
96641
96642 fi
96643
96644     fi
96645     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
96646 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
96647
96648     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
96649
96650 cat >>confdefs.h <<\_ACEOF
96651 #define HAVE___BUILTIN_LABS 1
96652 _ACEOF
96653
96654     fi
96655
96656   fi
96657
96658
96659
96660   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
96661 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
96662   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
96663     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
96664   echo $ECHO_N "(cached) $ECHO_C" >&6
96665 else
96666
96667
96668
96669       ac_ext=cc
96670 ac_cpp='$CXXCPP $CPPFLAGS'
96671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96674
96675       cat >conftest.$ac_ext <<_ACEOF
96676 /* confdefs.h.  */
96677 _ACEOF
96678 cat confdefs.h >>conftest.$ac_ext
96679 cat >>conftest.$ac_ext <<_ACEOF
96680 /* end confdefs.h.  */
96681 #include <math.h>
96682 int
96683 main ()
96684 {
96685  __builtin_sqrtf(0);
96686   ;
96687   return 0;
96688 }
96689 _ACEOF
96690 rm -f conftest.$ac_objext
96691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96692   (eval $ac_compile) 2>conftest.er1
96693   ac_status=$?
96694   grep -v '^ *+' conftest.er1 >conftest.err
96695   rm -f conftest.er1
96696   cat conftest.err >&5
96697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96698   (exit $ac_status); } &&
96699          { ac_try='test -z "$ac_cxx_werror_flag"
96700                          || test ! -s conftest.err'
96701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96702   (eval $ac_try) 2>&5
96703   ac_status=$?
96704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96705   (exit $ac_status); }; } &&
96706          { ac_try='test -s conftest.$ac_objext'
96707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96708   (eval $ac_try) 2>&5
96709   ac_status=$?
96710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96711   (exit $ac_status); }; }; then
96712   glibcxx_cv_func___builtin_sqrtf_use=yes
96713 else
96714   echo "$as_me: failed program was:" >&5
96715 sed 's/^/| /' conftest.$ac_ext >&5
96716
96717 glibcxx_cv_func___builtin_sqrtf_use=no
96718 fi
96719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96720       ac_ext=c
96721 ac_cpp='$CPP $CPPFLAGS'
96722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96725
96726
96727 fi
96728
96729   fi
96730   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
96731 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
96732   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
96733     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
96734 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
96735     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
96736       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
96737   echo $ECHO_N "(cached) $ECHO_C" >&6
96738 else
96739
96740         if test x$gcc_no_link = xyes; then
96741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96743    { (exit 1); exit 1; }; }
96744 fi
96745 cat >conftest.$ac_ext <<_ACEOF
96746 /* confdefs.h.  */
96747 _ACEOF
96748 cat confdefs.h >>conftest.$ac_ext
96749 cat >>conftest.$ac_ext <<_ACEOF
96750 /* end confdefs.h.  */
96751 #include <math.h>
96752 int
96753 main ()
96754 {
96755  __builtin_sqrtf(0);
96756   ;
96757   return 0;
96758 }
96759 _ACEOF
96760 rm -f conftest.$ac_objext conftest$ac_exeext
96761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96762   (eval $ac_link) 2>conftest.er1
96763   ac_status=$?
96764   grep -v '^ *+' conftest.er1 >conftest.err
96765   rm -f conftest.er1
96766   cat conftest.err >&5
96767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96768   (exit $ac_status); } &&
96769          { ac_try='test -z "$ac_c_werror_flag"
96770                          || test ! -s conftest.err'
96771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96772   (eval $ac_try) 2>&5
96773   ac_status=$?
96774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96775   (exit $ac_status); }; } &&
96776          { ac_try='test -s conftest$ac_exeext'
96777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96778   (eval $ac_try) 2>&5
96779   ac_status=$?
96780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96781   (exit $ac_status); }; }; then
96782   glibcxx_cv_func___builtin_sqrtf_link=yes
96783 else
96784   echo "$as_me: failed program was:" >&5
96785 sed 's/^/| /' conftest.$ac_ext >&5
96786
96787 glibcxx_cv_func___builtin_sqrtf_link=no
96788 fi
96789 rm -f conftest.err conftest.$ac_objext \
96790       conftest$ac_exeext conftest.$ac_ext
96791
96792 fi
96793
96794     fi
96795     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
96796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
96797
96798     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
96799
96800 cat >>confdefs.h <<\_ACEOF
96801 #define HAVE___BUILTIN_SQRTF 1
96802 _ACEOF
96803
96804     fi
96805
96806   fi
96807
96808
96809   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
96810 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
96811   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
96812     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
96813   echo $ECHO_N "(cached) $ECHO_C" >&6
96814 else
96815
96816
96817
96818       ac_ext=cc
96819 ac_cpp='$CXXCPP $CPPFLAGS'
96820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96823
96824       cat >conftest.$ac_ext <<_ACEOF
96825 /* confdefs.h.  */
96826 _ACEOF
96827 cat confdefs.h >>conftest.$ac_ext
96828 cat >>conftest.$ac_ext <<_ACEOF
96829 /* end confdefs.h.  */
96830 #include <math.h>
96831 int
96832 main ()
96833 {
96834  __builtin_sqrt(0);
96835   ;
96836   return 0;
96837 }
96838 _ACEOF
96839 rm -f conftest.$ac_objext
96840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96841   (eval $ac_compile) 2>conftest.er1
96842   ac_status=$?
96843   grep -v '^ *+' conftest.er1 >conftest.err
96844   rm -f conftest.er1
96845   cat conftest.err >&5
96846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96847   (exit $ac_status); } &&
96848          { ac_try='test -z "$ac_cxx_werror_flag"
96849                          || test ! -s conftest.err'
96850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96851   (eval $ac_try) 2>&5
96852   ac_status=$?
96853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96854   (exit $ac_status); }; } &&
96855          { ac_try='test -s conftest.$ac_objext'
96856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96857   (eval $ac_try) 2>&5
96858   ac_status=$?
96859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96860   (exit $ac_status); }; }; then
96861   glibcxx_cv_func___builtin_sqrt_use=yes
96862 else
96863   echo "$as_me: failed program was:" >&5
96864 sed 's/^/| /' conftest.$ac_ext >&5
96865
96866 glibcxx_cv_func___builtin_sqrt_use=no
96867 fi
96868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96869       ac_ext=c
96870 ac_cpp='$CPP $CPPFLAGS'
96871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96874
96875
96876 fi
96877
96878   fi
96879   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
96880 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
96881   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
96882     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
96883 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
96884     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
96885       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
96886   echo $ECHO_N "(cached) $ECHO_C" >&6
96887 else
96888
96889         if test x$gcc_no_link = xyes; then
96890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96892    { (exit 1); exit 1; }; }
96893 fi
96894 cat >conftest.$ac_ext <<_ACEOF
96895 /* confdefs.h.  */
96896 _ACEOF
96897 cat confdefs.h >>conftest.$ac_ext
96898 cat >>conftest.$ac_ext <<_ACEOF
96899 /* end confdefs.h.  */
96900 #include <math.h>
96901 int
96902 main ()
96903 {
96904  __builtin_sqrt(0);
96905   ;
96906   return 0;
96907 }
96908 _ACEOF
96909 rm -f conftest.$ac_objext conftest$ac_exeext
96910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96911   (eval $ac_link) 2>conftest.er1
96912   ac_status=$?
96913   grep -v '^ *+' conftest.er1 >conftest.err
96914   rm -f conftest.er1
96915   cat conftest.err >&5
96916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96917   (exit $ac_status); } &&
96918          { ac_try='test -z "$ac_c_werror_flag"
96919                          || test ! -s conftest.err'
96920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96921   (eval $ac_try) 2>&5
96922   ac_status=$?
96923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96924   (exit $ac_status); }; } &&
96925          { ac_try='test -s conftest$ac_exeext'
96926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96927   (eval $ac_try) 2>&5
96928   ac_status=$?
96929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96930   (exit $ac_status); }; }; then
96931   glibcxx_cv_func___builtin_sqrt_link=yes
96932 else
96933   echo "$as_me: failed program was:" >&5
96934 sed 's/^/| /' conftest.$ac_ext >&5
96935
96936 glibcxx_cv_func___builtin_sqrt_link=no
96937 fi
96938 rm -f conftest.err conftest.$ac_objext \
96939       conftest$ac_exeext conftest.$ac_ext
96940
96941 fi
96942
96943     fi
96944     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
96945 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
96946
96947     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
96948
96949 cat >>confdefs.h <<\_ACEOF
96950 #define HAVE___BUILTIN_SQRT 1
96951 _ACEOF
96952
96953     fi
96954
96955   fi
96956
96957
96958   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
96959 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
96960   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
96961     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
96962   echo $ECHO_N "(cached) $ECHO_C" >&6
96963 else
96964
96965
96966
96967       ac_ext=cc
96968 ac_cpp='$CXXCPP $CPPFLAGS'
96969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96972
96973       cat >conftest.$ac_ext <<_ACEOF
96974 /* confdefs.h.  */
96975 _ACEOF
96976 cat confdefs.h >>conftest.$ac_ext
96977 cat >>conftest.$ac_ext <<_ACEOF
96978 /* end confdefs.h.  */
96979 #include <math.h>
96980 int
96981 main ()
96982 {
96983  __builtin_sqrtl(0);
96984   ;
96985   return 0;
96986 }
96987 _ACEOF
96988 rm -f conftest.$ac_objext
96989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96990   (eval $ac_compile) 2>conftest.er1
96991   ac_status=$?
96992   grep -v '^ *+' conftest.er1 >conftest.err
96993   rm -f conftest.er1
96994   cat conftest.err >&5
96995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96996   (exit $ac_status); } &&
96997          { ac_try='test -z "$ac_cxx_werror_flag"
96998                          || test ! -s conftest.err'
96999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97000   (eval $ac_try) 2>&5
97001   ac_status=$?
97002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97003   (exit $ac_status); }; } &&
97004          { ac_try='test -s conftest.$ac_objext'
97005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97006   (eval $ac_try) 2>&5
97007   ac_status=$?
97008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97009   (exit $ac_status); }; }; then
97010   glibcxx_cv_func___builtin_sqrtl_use=yes
97011 else
97012   echo "$as_me: failed program was:" >&5
97013 sed 's/^/| /' conftest.$ac_ext >&5
97014
97015 glibcxx_cv_func___builtin_sqrtl_use=no
97016 fi
97017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97018       ac_ext=c
97019 ac_cpp='$CPP $CPPFLAGS'
97020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97023
97024
97025 fi
97026
97027   fi
97028   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97029 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97030   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97031     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97032 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97033     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97034       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97035   echo $ECHO_N "(cached) $ECHO_C" >&6
97036 else
97037
97038         if test x$gcc_no_link = xyes; then
97039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97041    { (exit 1); exit 1; }; }
97042 fi
97043 cat >conftest.$ac_ext <<_ACEOF
97044 /* confdefs.h.  */
97045 _ACEOF
97046 cat confdefs.h >>conftest.$ac_ext
97047 cat >>conftest.$ac_ext <<_ACEOF
97048 /* end confdefs.h.  */
97049 #include <math.h>
97050 int
97051 main ()
97052 {
97053  __builtin_sqrtl(0);
97054   ;
97055   return 0;
97056 }
97057 _ACEOF
97058 rm -f conftest.$ac_objext conftest$ac_exeext
97059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97060   (eval $ac_link) 2>conftest.er1
97061   ac_status=$?
97062   grep -v '^ *+' conftest.er1 >conftest.err
97063   rm -f conftest.er1
97064   cat conftest.err >&5
97065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97066   (exit $ac_status); } &&
97067          { ac_try='test -z "$ac_c_werror_flag"
97068                          || test ! -s conftest.err'
97069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97070   (eval $ac_try) 2>&5
97071   ac_status=$?
97072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97073   (exit $ac_status); }; } &&
97074          { ac_try='test -s conftest$ac_exeext'
97075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97076   (eval $ac_try) 2>&5
97077   ac_status=$?
97078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97079   (exit $ac_status); }; }; then
97080   glibcxx_cv_func___builtin_sqrtl_link=yes
97081 else
97082   echo "$as_me: failed program was:" >&5
97083 sed 's/^/| /' conftest.$ac_ext >&5
97084
97085 glibcxx_cv_func___builtin_sqrtl_link=no
97086 fi
97087 rm -f conftest.err conftest.$ac_objext \
97088       conftest$ac_exeext conftest.$ac_ext
97089
97090 fi
97091
97092     fi
97093     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97095
97096     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97097
97098 cat >>confdefs.h <<\_ACEOF
97099 #define HAVE___BUILTIN_SQRTL 1
97100 _ACEOF
97101
97102     fi
97103
97104   fi
97105
97106
97107
97108   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97109 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97110   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97111     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97112   echo $ECHO_N "(cached) $ECHO_C" >&6
97113 else
97114
97115
97116
97117       ac_ext=cc
97118 ac_cpp='$CXXCPP $CPPFLAGS'
97119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97122
97123       cat >conftest.$ac_ext <<_ACEOF
97124 /* confdefs.h.  */
97125 _ACEOF
97126 cat confdefs.h >>conftest.$ac_ext
97127 cat >>conftest.$ac_ext <<_ACEOF
97128 /* end confdefs.h.  */
97129 #include <math.h>
97130 int
97131 main ()
97132 {
97133  __builtin_sinf(0);
97134   ;
97135   return 0;
97136 }
97137 _ACEOF
97138 rm -f conftest.$ac_objext
97139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97140   (eval $ac_compile) 2>conftest.er1
97141   ac_status=$?
97142   grep -v '^ *+' conftest.er1 >conftest.err
97143   rm -f conftest.er1
97144   cat conftest.err >&5
97145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97146   (exit $ac_status); } &&
97147          { ac_try='test -z "$ac_cxx_werror_flag"
97148                          || test ! -s conftest.err'
97149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97150   (eval $ac_try) 2>&5
97151   ac_status=$?
97152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97153   (exit $ac_status); }; } &&
97154          { ac_try='test -s conftest.$ac_objext'
97155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97156   (eval $ac_try) 2>&5
97157   ac_status=$?
97158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97159   (exit $ac_status); }; }; then
97160   glibcxx_cv_func___builtin_sinf_use=yes
97161 else
97162   echo "$as_me: failed program was:" >&5
97163 sed 's/^/| /' conftest.$ac_ext >&5
97164
97165 glibcxx_cv_func___builtin_sinf_use=no
97166 fi
97167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97168       ac_ext=c
97169 ac_cpp='$CPP $CPPFLAGS'
97170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97173
97174
97175 fi
97176
97177   fi
97178   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97179 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97180   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97181     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97182 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97183     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97184       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97185   echo $ECHO_N "(cached) $ECHO_C" >&6
97186 else
97187
97188         if test x$gcc_no_link = xyes; then
97189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97191    { (exit 1); exit 1; }; }
97192 fi
97193 cat >conftest.$ac_ext <<_ACEOF
97194 /* confdefs.h.  */
97195 _ACEOF
97196 cat confdefs.h >>conftest.$ac_ext
97197 cat >>conftest.$ac_ext <<_ACEOF
97198 /* end confdefs.h.  */
97199 #include <math.h>
97200 int
97201 main ()
97202 {
97203  __builtin_sinf(0);
97204   ;
97205   return 0;
97206 }
97207 _ACEOF
97208 rm -f conftest.$ac_objext conftest$ac_exeext
97209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97210   (eval $ac_link) 2>conftest.er1
97211   ac_status=$?
97212   grep -v '^ *+' conftest.er1 >conftest.err
97213   rm -f conftest.er1
97214   cat conftest.err >&5
97215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97216   (exit $ac_status); } &&
97217          { ac_try='test -z "$ac_c_werror_flag"
97218                          || test ! -s conftest.err'
97219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97220   (eval $ac_try) 2>&5
97221   ac_status=$?
97222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97223   (exit $ac_status); }; } &&
97224          { ac_try='test -s conftest$ac_exeext'
97225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97226   (eval $ac_try) 2>&5
97227   ac_status=$?
97228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97229   (exit $ac_status); }; }; then
97230   glibcxx_cv_func___builtin_sinf_link=yes
97231 else
97232   echo "$as_me: failed program was:" >&5
97233 sed 's/^/| /' conftest.$ac_ext >&5
97234
97235 glibcxx_cv_func___builtin_sinf_link=no
97236 fi
97237 rm -f conftest.err conftest.$ac_objext \
97238       conftest$ac_exeext conftest.$ac_ext
97239
97240 fi
97241
97242     fi
97243     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97245
97246     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97247
97248 cat >>confdefs.h <<\_ACEOF
97249 #define HAVE___BUILTIN_SINF 1
97250 _ACEOF
97251
97252     fi
97253
97254   fi
97255
97256
97257   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97258 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97259   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97260     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97261   echo $ECHO_N "(cached) $ECHO_C" >&6
97262 else
97263
97264
97265
97266       ac_ext=cc
97267 ac_cpp='$CXXCPP $CPPFLAGS'
97268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97271
97272       cat >conftest.$ac_ext <<_ACEOF
97273 /* confdefs.h.  */
97274 _ACEOF
97275 cat confdefs.h >>conftest.$ac_ext
97276 cat >>conftest.$ac_ext <<_ACEOF
97277 /* end confdefs.h.  */
97278 #include <math.h>
97279 int
97280 main ()
97281 {
97282  __builtin_sin(0);
97283   ;
97284   return 0;
97285 }
97286 _ACEOF
97287 rm -f conftest.$ac_objext
97288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97289   (eval $ac_compile) 2>conftest.er1
97290   ac_status=$?
97291   grep -v '^ *+' conftest.er1 >conftest.err
97292   rm -f conftest.er1
97293   cat conftest.err >&5
97294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97295   (exit $ac_status); } &&
97296          { ac_try='test -z "$ac_cxx_werror_flag"
97297                          || test ! -s conftest.err'
97298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97299   (eval $ac_try) 2>&5
97300   ac_status=$?
97301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97302   (exit $ac_status); }; } &&
97303          { ac_try='test -s conftest.$ac_objext'
97304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97305   (eval $ac_try) 2>&5
97306   ac_status=$?
97307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97308   (exit $ac_status); }; }; then
97309   glibcxx_cv_func___builtin_sin_use=yes
97310 else
97311   echo "$as_me: failed program was:" >&5
97312 sed 's/^/| /' conftest.$ac_ext >&5
97313
97314 glibcxx_cv_func___builtin_sin_use=no
97315 fi
97316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97317       ac_ext=c
97318 ac_cpp='$CPP $CPPFLAGS'
97319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97322
97323
97324 fi
97325
97326   fi
97327   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97328 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97329   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97330     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97331 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97332     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97333       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97334   echo $ECHO_N "(cached) $ECHO_C" >&6
97335 else
97336
97337         if test x$gcc_no_link = xyes; then
97338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97340    { (exit 1); exit 1; }; }
97341 fi
97342 cat >conftest.$ac_ext <<_ACEOF
97343 /* confdefs.h.  */
97344 _ACEOF
97345 cat confdefs.h >>conftest.$ac_ext
97346 cat >>conftest.$ac_ext <<_ACEOF
97347 /* end confdefs.h.  */
97348 #include <math.h>
97349 int
97350 main ()
97351 {
97352  __builtin_sin(0);
97353   ;
97354   return 0;
97355 }
97356 _ACEOF
97357 rm -f conftest.$ac_objext conftest$ac_exeext
97358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97359   (eval $ac_link) 2>conftest.er1
97360   ac_status=$?
97361   grep -v '^ *+' conftest.er1 >conftest.err
97362   rm -f conftest.er1
97363   cat conftest.err >&5
97364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97365   (exit $ac_status); } &&
97366          { ac_try='test -z "$ac_c_werror_flag"
97367                          || test ! -s conftest.err'
97368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97369   (eval $ac_try) 2>&5
97370   ac_status=$?
97371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97372   (exit $ac_status); }; } &&
97373          { ac_try='test -s conftest$ac_exeext'
97374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97375   (eval $ac_try) 2>&5
97376   ac_status=$?
97377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97378   (exit $ac_status); }; }; then
97379   glibcxx_cv_func___builtin_sin_link=yes
97380 else
97381   echo "$as_me: failed program was:" >&5
97382 sed 's/^/| /' conftest.$ac_ext >&5
97383
97384 glibcxx_cv_func___builtin_sin_link=no
97385 fi
97386 rm -f conftest.err conftest.$ac_objext \
97387       conftest$ac_exeext conftest.$ac_ext
97388
97389 fi
97390
97391     fi
97392     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97393 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97394
97395     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97396
97397 cat >>confdefs.h <<\_ACEOF
97398 #define HAVE___BUILTIN_SIN 1
97399 _ACEOF
97400
97401     fi
97402
97403   fi
97404
97405
97406   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97407 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97408   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97409     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97410   echo $ECHO_N "(cached) $ECHO_C" >&6
97411 else
97412
97413
97414
97415       ac_ext=cc
97416 ac_cpp='$CXXCPP $CPPFLAGS'
97417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97420
97421       cat >conftest.$ac_ext <<_ACEOF
97422 /* confdefs.h.  */
97423 _ACEOF
97424 cat confdefs.h >>conftest.$ac_ext
97425 cat >>conftest.$ac_ext <<_ACEOF
97426 /* end confdefs.h.  */
97427 #include <math.h>
97428 int
97429 main ()
97430 {
97431  __builtin_sinl(0);
97432   ;
97433   return 0;
97434 }
97435 _ACEOF
97436 rm -f conftest.$ac_objext
97437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97438   (eval $ac_compile) 2>conftest.er1
97439   ac_status=$?
97440   grep -v '^ *+' conftest.er1 >conftest.err
97441   rm -f conftest.er1
97442   cat conftest.err >&5
97443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97444   (exit $ac_status); } &&
97445          { ac_try='test -z "$ac_cxx_werror_flag"
97446                          || test ! -s conftest.err'
97447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97448   (eval $ac_try) 2>&5
97449   ac_status=$?
97450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97451   (exit $ac_status); }; } &&
97452          { ac_try='test -s conftest.$ac_objext'
97453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97454   (eval $ac_try) 2>&5
97455   ac_status=$?
97456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97457   (exit $ac_status); }; }; then
97458   glibcxx_cv_func___builtin_sinl_use=yes
97459 else
97460   echo "$as_me: failed program was:" >&5
97461 sed 's/^/| /' conftest.$ac_ext >&5
97462
97463 glibcxx_cv_func___builtin_sinl_use=no
97464 fi
97465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97466       ac_ext=c
97467 ac_cpp='$CPP $CPPFLAGS'
97468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97471
97472
97473 fi
97474
97475   fi
97476   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97477 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97478   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97479     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97480 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97481     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97482       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97483   echo $ECHO_N "(cached) $ECHO_C" >&6
97484 else
97485
97486         if test x$gcc_no_link = xyes; then
97487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97489    { (exit 1); exit 1; }; }
97490 fi
97491 cat >conftest.$ac_ext <<_ACEOF
97492 /* confdefs.h.  */
97493 _ACEOF
97494 cat confdefs.h >>conftest.$ac_ext
97495 cat >>conftest.$ac_ext <<_ACEOF
97496 /* end confdefs.h.  */
97497 #include <math.h>
97498 int
97499 main ()
97500 {
97501  __builtin_sinl(0);
97502   ;
97503   return 0;
97504 }
97505 _ACEOF
97506 rm -f conftest.$ac_objext conftest$ac_exeext
97507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97508   (eval $ac_link) 2>conftest.er1
97509   ac_status=$?
97510   grep -v '^ *+' conftest.er1 >conftest.err
97511   rm -f conftest.er1
97512   cat conftest.err >&5
97513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97514   (exit $ac_status); } &&
97515          { ac_try='test -z "$ac_c_werror_flag"
97516                          || test ! -s conftest.err'
97517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97518   (eval $ac_try) 2>&5
97519   ac_status=$?
97520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97521   (exit $ac_status); }; } &&
97522          { ac_try='test -s conftest$ac_exeext'
97523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97524   (eval $ac_try) 2>&5
97525   ac_status=$?
97526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97527   (exit $ac_status); }; }; then
97528   glibcxx_cv_func___builtin_sinl_link=yes
97529 else
97530   echo "$as_me: failed program was:" >&5
97531 sed 's/^/| /' conftest.$ac_ext >&5
97532
97533 glibcxx_cv_func___builtin_sinl_link=no
97534 fi
97535 rm -f conftest.err conftest.$ac_objext \
97536       conftest$ac_exeext conftest.$ac_ext
97537
97538 fi
97539
97540     fi
97541     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97542 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97543
97544     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97545
97546 cat >>confdefs.h <<\_ACEOF
97547 #define HAVE___BUILTIN_SINL 1
97548 _ACEOF
97549
97550     fi
97551
97552   fi
97553
97554
97555
97556   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97557 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97558   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97559     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97560   echo $ECHO_N "(cached) $ECHO_C" >&6
97561 else
97562
97563
97564
97565       ac_ext=cc
97566 ac_cpp='$CXXCPP $CPPFLAGS'
97567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97570
97571       cat >conftest.$ac_ext <<_ACEOF
97572 /* confdefs.h.  */
97573 _ACEOF
97574 cat confdefs.h >>conftest.$ac_ext
97575 cat >>conftest.$ac_ext <<_ACEOF
97576 /* end confdefs.h.  */
97577 #include <math.h>
97578 int
97579 main ()
97580 {
97581  __builtin_cosf(0);
97582   ;
97583   return 0;
97584 }
97585 _ACEOF
97586 rm -f conftest.$ac_objext
97587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97588   (eval $ac_compile) 2>conftest.er1
97589   ac_status=$?
97590   grep -v '^ *+' conftest.er1 >conftest.err
97591   rm -f conftest.er1
97592   cat conftest.err >&5
97593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97594   (exit $ac_status); } &&
97595          { ac_try='test -z "$ac_cxx_werror_flag"
97596                          || test ! -s conftest.err'
97597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97598   (eval $ac_try) 2>&5
97599   ac_status=$?
97600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97601   (exit $ac_status); }; } &&
97602          { ac_try='test -s conftest.$ac_objext'
97603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97604   (eval $ac_try) 2>&5
97605   ac_status=$?
97606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97607   (exit $ac_status); }; }; then
97608   glibcxx_cv_func___builtin_cosf_use=yes
97609 else
97610   echo "$as_me: failed program was:" >&5
97611 sed 's/^/| /' conftest.$ac_ext >&5
97612
97613 glibcxx_cv_func___builtin_cosf_use=no
97614 fi
97615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97616       ac_ext=c
97617 ac_cpp='$CPP $CPPFLAGS'
97618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97621
97622
97623 fi
97624
97625   fi
97626   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
97627 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
97628   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
97629     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
97630 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
97631     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
97632       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
97633   echo $ECHO_N "(cached) $ECHO_C" >&6
97634 else
97635
97636         if test x$gcc_no_link = xyes; then
97637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97639    { (exit 1); exit 1; }; }
97640 fi
97641 cat >conftest.$ac_ext <<_ACEOF
97642 /* confdefs.h.  */
97643 _ACEOF
97644 cat confdefs.h >>conftest.$ac_ext
97645 cat >>conftest.$ac_ext <<_ACEOF
97646 /* end confdefs.h.  */
97647 #include <math.h>
97648 int
97649 main ()
97650 {
97651  __builtin_cosf(0);
97652   ;
97653   return 0;
97654 }
97655 _ACEOF
97656 rm -f conftest.$ac_objext conftest$ac_exeext
97657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97658   (eval $ac_link) 2>conftest.er1
97659   ac_status=$?
97660   grep -v '^ *+' conftest.er1 >conftest.err
97661   rm -f conftest.er1
97662   cat conftest.err >&5
97663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97664   (exit $ac_status); } &&
97665          { ac_try='test -z "$ac_c_werror_flag"
97666                          || test ! -s conftest.err'
97667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97668   (eval $ac_try) 2>&5
97669   ac_status=$?
97670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97671   (exit $ac_status); }; } &&
97672          { ac_try='test -s conftest$ac_exeext'
97673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97674   (eval $ac_try) 2>&5
97675   ac_status=$?
97676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97677   (exit $ac_status); }; }; then
97678   glibcxx_cv_func___builtin_cosf_link=yes
97679 else
97680   echo "$as_me: failed program was:" >&5
97681 sed 's/^/| /' conftest.$ac_ext >&5
97682
97683 glibcxx_cv_func___builtin_cosf_link=no
97684 fi
97685 rm -f conftest.err conftest.$ac_objext \
97686       conftest$ac_exeext conftest.$ac_ext
97687
97688 fi
97689
97690     fi
97691     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
97692 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
97693
97694     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
97695
97696 cat >>confdefs.h <<\_ACEOF
97697 #define HAVE___BUILTIN_COSF 1
97698 _ACEOF
97699
97700     fi
97701
97702   fi
97703
97704
97705   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
97706 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
97707   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
97708     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
97709   echo $ECHO_N "(cached) $ECHO_C" >&6
97710 else
97711
97712
97713
97714       ac_ext=cc
97715 ac_cpp='$CXXCPP $CPPFLAGS'
97716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97719
97720       cat >conftest.$ac_ext <<_ACEOF
97721 /* confdefs.h.  */
97722 _ACEOF
97723 cat confdefs.h >>conftest.$ac_ext
97724 cat >>conftest.$ac_ext <<_ACEOF
97725 /* end confdefs.h.  */
97726 #include <math.h>
97727 int
97728 main ()
97729 {
97730  __builtin_cos(0);
97731   ;
97732   return 0;
97733 }
97734 _ACEOF
97735 rm -f conftest.$ac_objext
97736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97737   (eval $ac_compile) 2>conftest.er1
97738   ac_status=$?
97739   grep -v '^ *+' conftest.er1 >conftest.err
97740   rm -f conftest.er1
97741   cat conftest.err >&5
97742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97743   (exit $ac_status); } &&
97744          { ac_try='test -z "$ac_cxx_werror_flag"
97745                          || test ! -s conftest.err'
97746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97747   (eval $ac_try) 2>&5
97748   ac_status=$?
97749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97750   (exit $ac_status); }; } &&
97751          { ac_try='test -s conftest.$ac_objext'
97752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97753   (eval $ac_try) 2>&5
97754   ac_status=$?
97755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97756   (exit $ac_status); }; }; then
97757   glibcxx_cv_func___builtin_cos_use=yes
97758 else
97759   echo "$as_me: failed program was:" >&5
97760 sed 's/^/| /' conftest.$ac_ext >&5
97761
97762 glibcxx_cv_func___builtin_cos_use=no
97763 fi
97764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97765       ac_ext=c
97766 ac_cpp='$CPP $CPPFLAGS'
97767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97770
97771
97772 fi
97773
97774   fi
97775   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
97776 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
97777   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
97778     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
97779 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
97780     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
97781       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
97782   echo $ECHO_N "(cached) $ECHO_C" >&6
97783 else
97784
97785         if test x$gcc_no_link = xyes; then
97786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97788    { (exit 1); exit 1; }; }
97789 fi
97790 cat >conftest.$ac_ext <<_ACEOF
97791 /* confdefs.h.  */
97792 _ACEOF
97793 cat confdefs.h >>conftest.$ac_ext
97794 cat >>conftest.$ac_ext <<_ACEOF
97795 /* end confdefs.h.  */
97796 #include <math.h>
97797 int
97798 main ()
97799 {
97800  __builtin_cos(0);
97801   ;
97802   return 0;
97803 }
97804 _ACEOF
97805 rm -f conftest.$ac_objext conftest$ac_exeext
97806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97807   (eval $ac_link) 2>conftest.er1
97808   ac_status=$?
97809   grep -v '^ *+' conftest.er1 >conftest.err
97810   rm -f conftest.er1
97811   cat conftest.err >&5
97812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97813   (exit $ac_status); } &&
97814          { ac_try='test -z "$ac_c_werror_flag"
97815                          || test ! -s conftest.err'
97816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97817   (eval $ac_try) 2>&5
97818   ac_status=$?
97819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97820   (exit $ac_status); }; } &&
97821          { ac_try='test -s conftest$ac_exeext'
97822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97823   (eval $ac_try) 2>&5
97824   ac_status=$?
97825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97826   (exit $ac_status); }; }; then
97827   glibcxx_cv_func___builtin_cos_link=yes
97828 else
97829   echo "$as_me: failed program was:" >&5
97830 sed 's/^/| /' conftest.$ac_ext >&5
97831
97832 glibcxx_cv_func___builtin_cos_link=no
97833 fi
97834 rm -f conftest.err conftest.$ac_objext \
97835       conftest$ac_exeext conftest.$ac_ext
97836
97837 fi
97838
97839     fi
97840     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
97841 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
97842
97843     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
97844
97845 cat >>confdefs.h <<\_ACEOF
97846 #define HAVE___BUILTIN_COS 1
97847 _ACEOF
97848
97849     fi
97850
97851   fi
97852
97853
97854   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
97855 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
97856   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
97857     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
97858   echo $ECHO_N "(cached) $ECHO_C" >&6
97859 else
97860
97861
97862
97863       ac_ext=cc
97864 ac_cpp='$CXXCPP $CPPFLAGS'
97865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97868
97869       cat >conftest.$ac_ext <<_ACEOF
97870 /* confdefs.h.  */
97871 _ACEOF
97872 cat confdefs.h >>conftest.$ac_ext
97873 cat >>conftest.$ac_ext <<_ACEOF
97874 /* end confdefs.h.  */
97875 #include <math.h>
97876 int
97877 main ()
97878 {
97879  __builtin_cosl(0);
97880   ;
97881   return 0;
97882 }
97883 _ACEOF
97884 rm -f conftest.$ac_objext
97885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97886   (eval $ac_compile) 2>conftest.er1
97887   ac_status=$?
97888   grep -v '^ *+' conftest.er1 >conftest.err
97889   rm -f conftest.er1
97890   cat conftest.err >&5
97891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97892   (exit $ac_status); } &&
97893          { ac_try='test -z "$ac_cxx_werror_flag"
97894                          || test ! -s conftest.err'
97895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97896   (eval $ac_try) 2>&5
97897   ac_status=$?
97898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97899   (exit $ac_status); }; } &&
97900          { ac_try='test -s conftest.$ac_objext'
97901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97902   (eval $ac_try) 2>&5
97903   ac_status=$?
97904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97905   (exit $ac_status); }; }; then
97906   glibcxx_cv_func___builtin_cosl_use=yes
97907 else
97908   echo "$as_me: failed program was:" >&5
97909 sed 's/^/| /' conftest.$ac_ext >&5
97910
97911 glibcxx_cv_func___builtin_cosl_use=no
97912 fi
97913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97914       ac_ext=c
97915 ac_cpp='$CPP $CPPFLAGS'
97916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97919
97920
97921 fi
97922
97923   fi
97924   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
97925 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
97926   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
97927     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
97928 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
97929     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
97930       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
97931   echo $ECHO_N "(cached) $ECHO_C" >&6
97932 else
97933
97934         if test x$gcc_no_link = xyes; then
97935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97937    { (exit 1); exit 1; }; }
97938 fi
97939 cat >conftest.$ac_ext <<_ACEOF
97940 /* confdefs.h.  */
97941 _ACEOF
97942 cat confdefs.h >>conftest.$ac_ext
97943 cat >>conftest.$ac_ext <<_ACEOF
97944 /* end confdefs.h.  */
97945 #include <math.h>
97946 int
97947 main ()
97948 {
97949  __builtin_cosl(0);
97950   ;
97951   return 0;
97952 }
97953 _ACEOF
97954 rm -f conftest.$ac_objext conftest$ac_exeext
97955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97956   (eval $ac_link) 2>conftest.er1
97957   ac_status=$?
97958   grep -v '^ *+' conftest.er1 >conftest.err
97959   rm -f conftest.er1
97960   cat conftest.err >&5
97961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97962   (exit $ac_status); } &&
97963          { ac_try='test -z "$ac_c_werror_flag"
97964                          || test ! -s conftest.err'
97965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97966   (eval $ac_try) 2>&5
97967   ac_status=$?
97968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97969   (exit $ac_status); }; } &&
97970          { ac_try='test -s conftest$ac_exeext'
97971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97972   (eval $ac_try) 2>&5
97973   ac_status=$?
97974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97975   (exit $ac_status); }; }; then
97976   glibcxx_cv_func___builtin_cosl_link=yes
97977 else
97978   echo "$as_me: failed program was:" >&5
97979 sed 's/^/| /' conftest.$ac_ext >&5
97980
97981 glibcxx_cv_func___builtin_cosl_link=no
97982 fi
97983 rm -f conftest.err conftest.$ac_objext \
97984       conftest$ac_exeext conftest.$ac_ext
97985
97986 fi
97987
97988     fi
97989     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
97990 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
97991
97992     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
97993
97994 cat >>confdefs.h <<\_ACEOF
97995 #define HAVE___BUILTIN_COSL 1
97996 _ACEOF
97997
97998     fi
97999
98000   fi
98001
98002
98003
98004
98005 echo "$as_me:$LINENO: checking for main in -lm" >&5
98006 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98007 if test "${ac_cv_lib_m_main+set}" = set; then
98008   echo $ECHO_N "(cached) $ECHO_C" >&6
98009 else
98010   ac_check_lib_save_LIBS=$LIBS
98011 LIBS="-lm  $LIBS"
98012 if test x$gcc_no_link = xyes; then
98013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98015    { (exit 1); exit 1; }; }
98016 fi
98017 cat >conftest.$ac_ext <<_ACEOF
98018 /* confdefs.h.  */
98019 _ACEOF
98020 cat confdefs.h >>conftest.$ac_ext
98021 cat >>conftest.$ac_ext <<_ACEOF
98022 /* end confdefs.h.  */
98023
98024
98025 int
98026 main ()
98027 {
98028 main ();
98029   ;
98030   return 0;
98031 }
98032 _ACEOF
98033 rm -f conftest.$ac_objext conftest$ac_exeext
98034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98035   (eval $ac_link) 2>conftest.er1
98036   ac_status=$?
98037   grep -v '^ *+' conftest.er1 >conftest.err
98038   rm -f conftest.er1
98039   cat conftest.err >&5
98040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98041   (exit $ac_status); } &&
98042          { ac_try='test -z "$ac_c_werror_flag"
98043                          || test ! -s conftest.err'
98044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98045   (eval $ac_try) 2>&5
98046   ac_status=$?
98047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98048   (exit $ac_status); }; } &&
98049          { ac_try='test -s conftest$ac_exeext'
98050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98051   (eval $ac_try) 2>&5
98052   ac_status=$?
98053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98054   (exit $ac_status); }; }; then
98055   ac_cv_lib_m_main=yes
98056 else
98057   echo "$as_me: failed program was:" >&5
98058 sed 's/^/| /' conftest.$ac_ext >&5
98059
98060 ac_cv_lib_m_main=no
98061 fi
98062 rm -f conftest.err conftest.$ac_objext \
98063       conftest$ac_exeext conftest.$ac_ext
98064 LIBS=$ac_check_lib_save_LIBS
98065 fi
98066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98067 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98068 if test $ac_cv_lib_m_main = yes; then
98069   cat >>confdefs.h <<_ACEOF
98070 #define HAVE_LIBM 1
98071 _ACEOF
98072
98073   LIBS="-lm $LIBS"
98074
98075 fi
98076
98077
98078 for ac_func in copysignf
98079 do
98080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98081 echo "$as_me:$LINENO: checking for $ac_func" >&5
98082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98083 if eval "test \"\${$as_ac_var+set}\" = set"; then
98084   echo $ECHO_N "(cached) $ECHO_C" >&6
98085 else
98086   if test x$gcc_no_link = xyes; then
98087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98089    { (exit 1); exit 1; }; }
98090 fi
98091 cat >conftest.$ac_ext <<_ACEOF
98092 /* confdefs.h.  */
98093 _ACEOF
98094 cat confdefs.h >>conftest.$ac_ext
98095 cat >>conftest.$ac_ext <<_ACEOF
98096 /* end confdefs.h.  */
98097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98099 #define $ac_func innocuous_$ac_func
98100
98101 /* System header to define __stub macros and hopefully few prototypes,
98102     which can conflict with char $ac_func (); below.
98103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98104     <limits.h> exists even on freestanding compilers.  */
98105
98106 #ifdef __STDC__
98107 # include <limits.h>
98108 #else
98109 # include <assert.h>
98110 #endif
98111
98112 #undef $ac_func
98113
98114 /* Override any gcc2 internal prototype to avoid an error.  */
98115 #ifdef __cplusplus
98116 extern "C"
98117 {
98118 #endif
98119 /* We use char because int might match the return type of a gcc2
98120    builtin and then its argument prototype would still apply.  */
98121 char $ac_func ();
98122 /* The GNU C library defines this for functions which it implements
98123     to always fail with ENOSYS.  Some functions are actually named
98124     something starting with __ and the normal name is an alias.  */
98125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98126 choke me
98127 #else
98128 char (*f) () = $ac_func;
98129 #endif
98130 #ifdef __cplusplus
98131 }
98132 #endif
98133
98134 int
98135 main ()
98136 {
98137 return f != $ac_func;
98138   ;
98139   return 0;
98140 }
98141 _ACEOF
98142 rm -f conftest.$ac_objext conftest$ac_exeext
98143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98144   (eval $ac_link) 2>conftest.er1
98145   ac_status=$?
98146   grep -v '^ *+' conftest.er1 >conftest.err
98147   rm -f conftest.er1
98148   cat conftest.err >&5
98149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98150   (exit $ac_status); } &&
98151          { ac_try='test -z "$ac_c_werror_flag"
98152                          || test ! -s conftest.err'
98153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98154   (eval $ac_try) 2>&5
98155   ac_status=$?
98156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98157   (exit $ac_status); }; } &&
98158          { ac_try='test -s conftest$ac_exeext'
98159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98160   (eval $ac_try) 2>&5
98161   ac_status=$?
98162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163   (exit $ac_status); }; }; then
98164   eval "$as_ac_var=yes"
98165 else
98166   echo "$as_me: failed program was:" >&5
98167 sed 's/^/| /' conftest.$ac_ext >&5
98168
98169 eval "$as_ac_var=no"
98170 fi
98171 rm -f conftest.err conftest.$ac_objext \
98172       conftest$ac_exeext conftest.$ac_ext
98173 fi
98174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98176 if test `eval echo '${'$as_ac_var'}'` = yes; then
98177   cat >>confdefs.h <<_ACEOF
98178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98179 _ACEOF
98180
98181 else
98182   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98183 fi
98184 done
98185
98186
98187
98188 for ac_func in __signbit
98189 do
98190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98191 echo "$as_me:$LINENO: checking for $ac_func" >&5
98192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98193 if eval "test \"\${$as_ac_var+set}\" = set"; then
98194   echo $ECHO_N "(cached) $ECHO_C" >&6
98195 else
98196   if test x$gcc_no_link = xyes; then
98197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98199    { (exit 1); exit 1; }; }
98200 fi
98201 cat >conftest.$ac_ext <<_ACEOF
98202 /* confdefs.h.  */
98203 _ACEOF
98204 cat confdefs.h >>conftest.$ac_ext
98205 cat >>conftest.$ac_ext <<_ACEOF
98206 /* end confdefs.h.  */
98207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98209 #define $ac_func innocuous_$ac_func
98210
98211 /* System header to define __stub macros and hopefully few prototypes,
98212     which can conflict with char $ac_func (); below.
98213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98214     <limits.h> exists even on freestanding compilers.  */
98215
98216 #ifdef __STDC__
98217 # include <limits.h>
98218 #else
98219 # include <assert.h>
98220 #endif
98221
98222 #undef $ac_func
98223
98224 /* Override any gcc2 internal prototype to avoid an error.  */
98225 #ifdef __cplusplus
98226 extern "C"
98227 {
98228 #endif
98229 /* We use char because int might match the return type of a gcc2
98230    builtin and then its argument prototype would still apply.  */
98231 char $ac_func ();
98232 /* The GNU C library defines this for functions which it implements
98233     to always fail with ENOSYS.  Some functions are actually named
98234     something starting with __ and the normal name is an alias.  */
98235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98236 choke me
98237 #else
98238 char (*f) () = $ac_func;
98239 #endif
98240 #ifdef __cplusplus
98241 }
98242 #endif
98243
98244 int
98245 main ()
98246 {
98247 return f != $ac_func;
98248   ;
98249   return 0;
98250 }
98251 _ACEOF
98252 rm -f conftest.$ac_objext conftest$ac_exeext
98253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98254   (eval $ac_link) 2>conftest.er1
98255   ac_status=$?
98256   grep -v '^ *+' conftest.er1 >conftest.err
98257   rm -f conftest.er1
98258   cat conftest.err >&5
98259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98260   (exit $ac_status); } &&
98261          { ac_try='test -z "$ac_c_werror_flag"
98262                          || test ! -s conftest.err'
98263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98264   (eval $ac_try) 2>&5
98265   ac_status=$?
98266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98267   (exit $ac_status); }; } &&
98268          { ac_try='test -s conftest$ac_exeext'
98269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98270   (eval $ac_try) 2>&5
98271   ac_status=$?
98272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98273   (exit $ac_status); }; }; then
98274   eval "$as_ac_var=yes"
98275 else
98276   echo "$as_me: failed program was:" >&5
98277 sed 's/^/| /' conftest.$ac_ext >&5
98278
98279 eval "$as_ac_var=no"
98280 fi
98281 rm -f conftest.err conftest.$ac_objext \
98282       conftest$ac_exeext conftest.$ac_ext
98283 fi
98284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98286 if test `eval echo '${'$as_ac_var'}'` = yes; then
98287   cat >>confdefs.h <<_ACEOF
98288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98289 _ACEOF
98290
98291 else
98292   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98293 fi
98294 done
98295
98296
98297
98298 for ac_func in __signbitf
98299 do
98300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98301 echo "$as_me:$LINENO: checking for $ac_func" >&5
98302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98303 if eval "test \"\${$as_ac_var+set}\" = set"; then
98304   echo $ECHO_N "(cached) $ECHO_C" >&6
98305 else
98306   if test x$gcc_no_link = xyes; then
98307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98309    { (exit 1); exit 1; }; }
98310 fi
98311 cat >conftest.$ac_ext <<_ACEOF
98312 /* confdefs.h.  */
98313 _ACEOF
98314 cat confdefs.h >>conftest.$ac_ext
98315 cat >>conftest.$ac_ext <<_ACEOF
98316 /* end confdefs.h.  */
98317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98319 #define $ac_func innocuous_$ac_func
98320
98321 /* System header to define __stub macros and hopefully few prototypes,
98322     which can conflict with char $ac_func (); below.
98323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98324     <limits.h> exists even on freestanding compilers.  */
98325
98326 #ifdef __STDC__
98327 # include <limits.h>
98328 #else
98329 # include <assert.h>
98330 #endif
98331
98332 #undef $ac_func
98333
98334 /* Override any gcc2 internal prototype to avoid an error.  */
98335 #ifdef __cplusplus
98336 extern "C"
98337 {
98338 #endif
98339 /* We use char because int might match the return type of a gcc2
98340    builtin and then its argument prototype would still apply.  */
98341 char $ac_func ();
98342 /* The GNU C library defines this for functions which it implements
98343     to always fail with ENOSYS.  Some functions are actually named
98344     something starting with __ and the normal name is an alias.  */
98345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98346 choke me
98347 #else
98348 char (*f) () = $ac_func;
98349 #endif
98350 #ifdef __cplusplus
98351 }
98352 #endif
98353
98354 int
98355 main ()
98356 {
98357 return f != $ac_func;
98358   ;
98359   return 0;
98360 }
98361 _ACEOF
98362 rm -f conftest.$ac_objext conftest$ac_exeext
98363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98364   (eval $ac_link) 2>conftest.er1
98365   ac_status=$?
98366   grep -v '^ *+' conftest.er1 >conftest.err
98367   rm -f conftest.er1
98368   cat conftest.err >&5
98369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98370   (exit $ac_status); } &&
98371          { ac_try='test -z "$ac_c_werror_flag"
98372                          || test ! -s conftest.err'
98373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98374   (eval $ac_try) 2>&5
98375   ac_status=$?
98376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98377   (exit $ac_status); }; } &&
98378          { ac_try='test -s conftest$ac_exeext'
98379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98380   (eval $ac_try) 2>&5
98381   ac_status=$?
98382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98383   (exit $ac_status); }; }; then
98384   eval "$as_ac_var=yes"
98385 else
98386   echo "$as_me: failed program was:" >&5
98387 sed 's/^/| /' conftest.$ac_ext >&5
98388
98389 eval "$as_ac_var=no"
98390 fi
98391 rm -f conftest.err conftest.$ac_objext \
98392       conftest$ac_exeext conftest.$ac_ext
98393 fi
98394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98396 if test `eval echo '${'$as_ac_var'}'` = yes; then
98397   cat >>confdefs.h <<_ACEOF
98398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98399 _ACEOF
98400
98401 else
98402   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98403 fi
98404 done
98405
98406
98407           if test x$ac_cv_func_copysignl = x"yes"; then
98408
98409 for ac_func in __signbitl
98410 do
98411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98412 echo "$as_me:$LINENO: checking for $ac_func" >&5
98413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98414 if eval "test \"\${$as_ac_var+set}\" = set"; then
98415   echo $ECHO_N "(cached) $ECHO_C" >&6
98416 else
98417   if test x$gcc_no_link = xyes; then
98418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98420    { (exit 1); exit 1; }; }
98421 fi
98422 cat >conftest.$ac_ext <<_ACEOF
98423 /* confdefs.h.  */
98424 _ACEOF
98425 cat confdefs.h >>conftest.$ac_ext
98426 cat >>conftest.$ac_ext <<_ACEOF
98427 /* end confdefs.h.  */
98428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98430 #define $ac_func innocuous_$ac_func
98431
98432 /* System header to define __stub macros and hopefully few prototypes,
98433     which can conflict with char $ac_func (); below.
98434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98435     <limits.h> exists even on freestanding compilers.  */
98436
98437 #ifdef __STDC__
98438 # include <limits.h>
98439 #else
98440 # include <assert.h>
98441 #endif
98442
98443 #undef $ac_func
98444
98445 /* Override any gcc2 internal prototype to avoid an error.  */
98446 #ifdef __cplusplus
98447 extern "C"
98448 {
98449 #endif
98450 /* We use char because int might match the return type of a gcc2
98451    builtin and then its argument prototype would still apply.  */
98452 char $ac_func ();
98453 /* The GNU C library defines this for functions which it implements
98454     to always fail with ENOSYS.  Some functions are actually named
98455     something starting with __ and the normal name is an alias.  */
98456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98457 choke me
98458 #else
98459 char (*f) () = $ac_func;
98460 #endif
98461 #ifdef __cplusplus
98462 }
98463 #endif
98464
98465 int
98466 main ()
98467 {
98468 return f != $ac_func;
98469   ;
98470   return 0;
98471 }
98472 _ACEOF
98473 rm -f conftest.$ac_objext conftest$ac_exeext
98474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98475   (eval $ac_link) 2>conftest.er1
98476   ac_status=$?
98477   grep -v '^ *+' conftest.er1 >conftest.err
98478   rm -f conftest.er1
98479   cat conftest.err >&5
98480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98481   (exit $ac_status); } &&
98482          { ac_try='test -z "$ac_c_werror_flag"
98483                          || test ! -s conftest.err'
98484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98485   (eval $ac_try) 2>&5
98486   ac_status=$?
98487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98488   (exit $ac_status); }; } &&
98489          { ac_try='test -s conftest$ac_exeext'
98490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98491   (eval $ac_try) 2>&5
98492   ac_status=$?
98493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98494   (exit $ac_status); }; }; then
98495   eval "$as_ac_var=yes"
98496 else
98497   echo "$as_me: failed program was:" >&5
98498 sed 's/^/| /' conftest.$ac_ext >&5
98499
98500 eval "$as_ac_var=no"
98501 fi
98502 rm -f conftest.err conftest.$ac_objext \
98503       conftest$ac_exeext conftest.$ac_ext
98504 fi
98505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98507 if test `eval echo '${'$as_ac_var'}'` = yes; then
98508   cat >>confdefs.h <<_ACEOF
98509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98510 _ACEOF
98511
98512 else
98513   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98514 fi
98515 done
98516
98517   fi
98518
98519   # Used in libmath/Makefile.am.
98520   if test -n "$LIBMATHOBJS"; then
98521     need_libmath=yes
98522   fi
98523
98524
98525
98526
98527   enable_iconv=no
98528   # Only continue checking if the ISO C99 headers exist and support is on.
98529   if test x"$enable_wchar_t" = xyes; then
98530
98531     # From Bruno Haible's AM_ICONV, but without link tests.
98532     # Check for existence of libiconv.a providing XPG2 wchar_t support.
98533     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
98534     # those with the standalone portable GNU libiconv installed).
98535
98536 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
98537 if test "${with_libiconv_prefix+set}" = set; then
98538   withval="$with_libiconv_prefix"
98539     for dir in `echo "$withval" | tr : ' '`; do
98540       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
98541       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
98542     done
98543     LIBICONV="$LIBICONV -liconv"
98544
98545 fi;
98546    if test x"$LIBICONV" != x; then
98547      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
98548 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
98549    fi
98550
98551     # Use iconv for wchar_t to char conversions. As such, check for
98552     # X/Open Portability Guide, version 2 features (XPG2).
98553     if test "${ac_cv_header_iconv_h+set}" = set; then
98554   echo "$as_me:$LINENO: checking for iconv.h" >&5
98555 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98556 if test "${ac_cv_header_iconv_h+set}" = set; then
98557   echo $ECHO_N "(cached) $ECHO_C" >&6
98558 fi
98559 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98560 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98561 else
98562   # Is the header compilable?
98563 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98564 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98565 cat >conftest.$ac_ext <<_ACEOF
98566 /* confdefs.h.  */
98567 _ACEOF
98568 cat confdefs.h >>conftest.$ac_ext
98569 cat >>conftest.$ac_ext <<_ACEOF
98570 /* end confdefs.h.  */
98571 $ac_includes_default
98572 #include <iconv.h>
98573 _ACEOF
98574 rm -f conftest.$ac_objext
98575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98576   (eval $ac_compile) 2>conftest.er1
98577   ac_status=$?
98578   grep -v '^ *+' conftest.er1 >conftest.err
98579   rm -f conftest.er1
98580   cat conftest.err >&5
98581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98582   (exit $ac_status); } &&
98583          { ac_try='test -z "$ac_c_werror_flag"
98584                          || test ! -s conftest.err'
98585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98586   (eval $ac_try) 2>&5
98587   ac_status=$?
98588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98589   (exit $ac_status); }; } &&
98590          { ac_try='test -s conftest.$ac_objext'
98591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98592   (eval $ac_try) 2>&5
98593   ac_status=$?
98594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98595   (exit $ac_status); }; }; then
98596   ac_header_compiler=yes
98597 else
98598   echo "$as_me: failed program was:" >&5
98599 sed 's/^/| /' conftest.$ac_ext >&5
98600
98601 ac_header_compiler=no
98602 fi
98603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98605 echo "${ECHO_T}$ac_header_compiler" >&6
98606
98607 # Is the header present?
98608 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98609 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98610 cat >conftest.$ac_ext <<_ACEOF
98611 /* confdefs.h.  */
98612 _ACEOF
98613 cat confdefs.h >>conftest.$ac_ext
98614 cat >>conftest.$ac_ext <<_ACEOF
98615 /* end confdefs.h.  */
98616 #include <iconv.h>
98617 _ACEOF
98618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98619   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98620   ac_status=$?
98621   grep -v '^ *+' conftest.er1 >conftest.err
98622   rm -f conftest.er1
98623   cat conftest.err >&5
98624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98625   (exit $ac_status); } >/dev/null; then
98626   if test -s conftest.err; then
98627     ac_cpp_err=$ac_c_preproc_warn_flag
98628     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98629   else
98630     ac_cpp_err=
98631   fi
98632 else
98633   ac_cpp_err=yes
98634 fi
98635 if test -z "$ac_cpp_err"; then
98636   ac_header_preproc=yes
98637 else
98638   echo "$as_me: failed program was:" >&5
98639 sed 's/^/| /' conftest.$ac_ext >&5
98640
98641   ac_header_preproc=no
98642 fi
98643 rm -f conftest.err conftest.$ac_ext
98644 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98645 echo "${ECHO_T}$ac_header_preproc" >&6
98646
98647 # So?  What about this header?
98648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98649   yes:no: )
98650     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
98651 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98652     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
98653 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
98654     ac_header_preproc=yes
98655     ;;
98656   no:yes:* )
98657     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
98658 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
98659     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
98660 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
98661     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
98662 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
98663     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
98664 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
98665     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
98666 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
98667     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
98668 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
98669     (
98670       cat <<\_ASBOX
98671 ## ----------------------------------------- ##
98672 ## Report this to the package-unused lists.  ##
98673 ## ----------------------------------------- ##
98674 _ASBOX
98675     ) |
98676       sed "s/^/$as_me: WARNING:     /" >&2
98677     ;;
98678 esac
98679 echo "$as_me:$LINENO: checking for iconv.h" >&5
98680 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98681 if test "${ac_cv_header_iconv_h+set}" = set; then
98682   echo $ECHO_N "(cached) $ECHO_C" >&6
98683 else
98684   ac_cv_header_iconv_h=$ac_header_preproc
98685 fi
98686 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98687 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98688
98689 fi
98690 if test $ac_cv_header_iconv_h = yes; then
98691   ac_has_iconv_h=yes
98692 else
98693   ac_has_iconv_h=no
98694 fi
98695
98696
98697     if test "${ac_cv_header_langinfo_h+set}" = set; then
98698   echo "$as_me:$LINENO: checking for langinfo.h" >&5
98699 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98700 if test "${ac_cv_header_langinfo_h+set}" = set; then
98701   echo $ECHO_N "(cached) $ECHO_C" >&6
98702 fi
98703 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98704 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98705 else
98706   # Is the header compilable?
98707 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
98708 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
98709 cat >conftest.$ac_ext <<_ACEOF
98710 /* confdefs.h.  */
98711 _ACEOF
98712 cat confdefs.h >>conftest.$ac_ext
98713 cat >>conftest.$ac_ext <<_ACEOF
98714 /* end confdefs.h.  */
98715 $ac_includes_default
98716 #include <langinfo.h>
98717 _ACEOF
98718 rm -f conftest.$ac_objext
98719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98720   (eval $ac_compile) 2>conftest.er1
98721   ac_status=$?
98722   grep -v '^ *+' conftest.er1 >conftest.err
98723   rm -f conftest.er1
98724   cat conftest.err >&5
98725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98726   (exit $ac_status); } &&
98727          { ac_try='test -z "$ac_c_werror_flag"
98728                          || test ! -s conftest.err'
98729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98730   (eval $ac_try) 2>&5
98731   ac_status=$?
98732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98733   (exit $ac_status); }; } &&
98734          { ac_try='test -s conftest.$ac_objext'
98735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98736   (eval $ac_try) 2>&5
98737   ac_status=$?
98738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98739   (exit $ac_status); }; }; then
98740   ac_header_compiler=yes
98741 else
98742   echo "$as_me: failed program was:" >&5
98743 sed 's/^/| /' conftest.$ac_ext >&5
98744
98745 ac_header_compiler=no
98746 fi
98747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98749 echo "${ECHO_T}$ac_header_compiler" >&6
98750
98751 # Is the header present?
98752 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
98753 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
98754 cat >conftest.$ac_ext <<_ACEOF
98755 /* confdefs.h.  */
98756 _ACEOF
98757 cat confdefs.h >>conftest.$ac_ext
98758 cat >>conftest.$ac_ext <<_ACEOF
98759 /* end confdefs.h.  */
98760 #include <langinfo.h>
98761 _ACEOF
98762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98763   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98764   ac_status=$?
98765   grep -v '^ *+' conftest.er1 >conftest.err
98766   rm -f conftest.er1
98767   cat conftest.err >&5
98768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98769   (exit $ac_status); } >/dev/null; then
98770   if test -s conftest.err; then
98771     ac_cpp_err=$ac_c_preproc_warn_flag
98772     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98773   else
98774     ac_cpp_err=
98775   fi
98776 else
98777   ac_cpp_err=yes
98778 fi
98779 if test -z "$ac_cpp_err"; then
98780   ac_header_preproc=yes
98781 else
98782   echo "$as_me: failed program was:" >&5
98783 sed 's/^/| /' conftest.$ac_ext >&5
98784
98785   ac_header_preproc=no
98786 fi
98787 rm -f conftest.err conftest.$ac_ext
98788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98789 echo "${ECHO_T}$ac_header_preproc" >&6
98790
98791 # So?  What about this header?
98792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98793   yes:no: )
98794     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
98795 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98796     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
98797 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
98798     ac_header_preproc=yes
98799     ;;
98800   no:yes:* )
98801     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
98802 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
98803     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
98804 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
98805     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
98806 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
98807     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
98808 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
98809     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
98810 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
98811     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
98812 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
98813     (
98814       cat <<\_ASBOX
98815 ## ----------------------------------------- ##
98816 ## Report this to the package-unused lists.  ##
98817 ## ----------------------------------------- ##
98818 _ASBOX
98819     ) |
98820       sed "s/^/$as_me: WARNING:     /" >&2
98821     ;;
98822 esac
98823 echo "$as_me:$LINENO: checking for langinfo.h" >&5
98824 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98825 if test "${ac_cv_header_langinfo_h+set}" = set; then
98826   echo $ECHO_N "(cached) $ECHO_C" >&6
98827 else
98828   ac_cv_header_langinfo_h=$ac_header_preproc
98829 fi
98830 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98831 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98832
98833 fi
98834 if test $ac_cv_header_langinfo_h = yes; then
98835   ac_has_langinfo_h=yes
98836 else
98837   ac_has_langinfo_h=no
98838 fi
98839
98840
98841
98842     ac_save_LIBS="$LIBS"
98843     LIBS="$LIBS $LIBICONV"
98844
98845
98846
98847
98848 for ac_func in iconv_open iconv_close iconv nl_langinfo
98849 do
98850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98851 echo "$as_me:$LINENO: checking for $ac_func" >&5
98852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98853 if eval "test \"\${$as_ac_var+set}\" = set"; then
98854   echo $ECHO_N "(cached) $ECHO_C" >&6
98855 else
98856   if test x$gcc_no_link = xyes; then
98857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98859    { (exit 1); exit 1; }; }
98860 fi
98861 cat >conftest.$ac_ext <<_ACEOF
98862 /* confdefs.h.  */
98863 _ACEOF
98864 cat confdefs.h >>conftest.$ac_ext
98865 cat >>conftest.$ac_ext <<_ACEOF
98866 /* end confdefs.h.  */
98867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98869 #define $ac_func innocuous_$ac_func
98870
98871 /* System header to define __stub macros and hopefully few prototypes,
98872     which can conflict with char $ac_func (); below.
98873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98874     <limits.h> exists even on freestanding compilers.  */
98875
98876 #ifdef __STDC__
98877 # include <limits.h>
98878 #else
98879 # include <assert.h>
98880 #endif
98881
98882 #undef $ac_func
98883
98884 /* Override any gcc2 internal prototype to avoid an error.  */
98885 #ifdef __cplusplus
98886 extern "C"
98887 {
98888 #endif
98889 /* We use char because int might match the return type of a gcc2
98890    builtin and then its argument prototype would still apply.  */
98891 char $ac_func ();
98892 /* The GNU C library defines this for functions which it implements
98893     to always fail with ENOSYS.  Some functions are actually named
98894     something starting with __ and the normal name is an alias.  */
98895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98896 choke me
98897 #else
98898 char (*f) () = $ac_func;
98899 #endif
98900 #ifdef __cplusplus
98901 }
98902 #endif
98903
98904 int
98905 main ()
98906 {
98907 return f != $ac_func;
98908   ;
98909   return 0;
98910 }
98911 _ACEOF
98912 rm -f conftest.$ac_objext conftest$ac_exeext
98913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98914   (eval $ac_link) 2>conftest.er1
98915   ac_status=$?
98916   grep -v '^ *+' conftest.er1 >conftest.err
98917   rm -f conftest.er1
98918   cat conftest.err >&5
98919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98920   (exit $ac_status); } &&
98921          { ac_try='test -z "$ac_c_werror_flag"
98922                          || test ! -s conftest.err'
98923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98924   (eval $ac_try) 2>&5
98925   ac_status=$?
98926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98927   (exit $ac_status); }; } &&
98928          { ac_try='test -s conftest$ac_exeext'
98929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98930   (eval $ac_try) 2>&5
98931   ac_status=$?
98932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98933   (exit $ac_status); }; }; then
98934   eval "$as_ac_var=yes"
98935 else
98936   echo "$as_me: failed program was:" >&5
98937 sed 's/^/| /' conftest.$ac_ext >&5
98938
98939 eval "$as_ac_var=no"
98940 fi
98941 rm -f conftest.err conftest.$ac_objext \
98942       conftest$ac_exeext conftest.$ac_ext
98943 fi
98944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98946 if test `eval echo '${'$as_ac_var'}'` = yes; then
98947   cat >>confdefs.h <<_ACEOF
98948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98949 _ACEOF
98950  ac_XPG2funcs=yes
98951 else
98952   ac_XPG2funcs=no
98953 fi
98954 done
98955
98956     LIBS="$ac_save_LIBS"
98957
98958     if test x"$ac_has_iconv_h" = xyes &&
98959        test x"$ac_has_langinfo_h" = xyes &&
98960        test x"$ac_XPG2funcs" = xyes;
98961     then
98962
98963 cat >>confdefs.h <<\_ACEOF
98964 #define _GLIBCXX_USE_ICONV 1
98965 _ACEOF
98966
98967       enable_iconv=yes
98968
98969     fi
98970   fi
98971   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
98972 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
98973   echo "$as_me:$LINENO: result: $enable_iconv" >&5
98974 echo "${ECHO_T}$enable_iconv" >&6
98975
98976
98977   ac_test_CXXFLAGS="${CXXFLAGS+set}"
98978   ac_save_CXXFLAGS="$CXXFLAGS"
98979   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
98980
98981
98982   echo "$as_me:$LINENO: checking for strtold declaration" >&5
98983 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
98984   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
98985     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
98986   echo $ECHO_N "(cached) $ECHO_C" >&6
98987 else
98988
98989
98990
98991       ac_ext=cc
98992 ac_cpp='$CXXCPP $CPPFLAGS'
98993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98996
98997       cat >conftest.$ac_ext <<_ACEOF
98998 /* confdefs.h.  */
98999 _ACEOF
99000 cat confdefs.h >>conftest.$ac_ext
99001 cat >>conftest.$ac_ext <<_ACEOF
99002 /* end confdefs.h.  */
99003 #include <stdlib.h>
99004 int
99005 main ()
99006 {
99007  strtold(0, 0);
99008   ;
99009   return 0;
99010 }
99011 _ACEOF
99012 rm -f conftest.$ac_objext
99013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99014   (eval $ac_compile) 2>conftest.er1
99015   ac_status=$?
99016   grep -v '^ *+' conftest.er1 >conftest.err
99017   rm -f conftest.er1
99018   cat conftest.err >&5
99019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99020   (exit $ac_status); } &&
99021          { ac_try='test -z "$ac_cxx_werror_flag"
99022                          || test ! -s conftest.err'
99023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99024   (eval $ac_try) 2>&5
99025   ac_status=$?
99026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99027   (exit $ac_status); }; } &&
99028          { ac_try='test -s conftest.$ac_objext'
99029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99030   (eval $ac_try) 2>&5
99031   ac_status=$?
99032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99033   (exit $ac_status); }; }; then
99034   glibcxx_cv_func_strtold_use=yes
99035 else
99036   echo "$as_me: failed program was:" >&5
99037 sed 's/^/| /' conftest.$ac_ext >&5
99038
99039 glibcxx_cv_func_strtold_use=no
99040 fi
99041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99042       ac_ext=c
99043 ac_cpp='$CPP $CPPFLAGS'
99044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99047
99048
99049 fi
99050
99051   fi
99052   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99053 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99054   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99055
99056 for ac_func in strtold
99057 do
99058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99059 echo "$as_me:$LINENO: checking for $ac_func" >&5
99060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99061 if eval "test \"\${$as_ac_var+set}\" = set"; then
99062   echo $ECHO_N "(cached) $ECHO_C" >&6
99063 else
99064   if test x$gcc_no_link = xyes; then
99065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99067    { (exit 1); exit 1; }; }
99068 fi
99069 cat >conftest.$ac_ext <<_ACEOF
99070 /* confdefs.h.  */
99071 _ACEOF
99072 cat confdefs.h >>conftest.$ac_ext
99073 cat >>conftest.$ac_ext <<_ACEOF
99074 /* end confdefs.h.  */
99075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99077 #define $ac_func innocuous_$ac_func
99078
99079 /* System header to define __stub macros and hopefully few prototypes,
99080     which can conflict with char $ac_func (); below.
99081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99082     <limits.h> exists even on freestanding compilers.  */
99083
99084 #ifdef __STDC__
99085 # include <limits.h>
99086 #else
99087 # include <assert.h>
99088 #endif
99089
99090 #undef $ac_func
99091
99092 /* Override any gcc2 internal prototype to avoid an error.  */
99093 #ifdef __cplusplus
99094 extern "C"
99095 {
99096 #endif
99097 /* We use char because int might match the return type of a gcc2
99098    builtin and then its argument prototype would still apply.  */
99099 char $ac_func ();
99100 /* The GNU C library defines this for functions which it implements
99101     to always fail with ENOSYS.  Some functions are actually named
99102     something starting with __ and the normal name is an alias.  */
99103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99104 choke me
99105 #else
99106 char (*f) () = $ac_func;
99107 #endif
99108 #ifdef __cplusplus
99109 }
99110 #endif
99111
99112 int
99113 main ()
99114 {
99115 return f != $ac_func;
99116   ;
99117   return 0;
99118 }
99119 _ACEOF
99120 rm -f conftest.$ac_objext conftest$ac_exeext
99121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99122   (eval $ac_link) 2>conftest.er1
99123   ac_status=$?
99124   grep -v '^ *+' conftest.er1 >conftest.err
99125   rm -f conftest.er1
99126   cat conftest.err >&5
99127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99128   (exit $ac_status); } &&
99129          { ac_try='test -z "$ac_c_werror_flag"
99130                          || test ! -s conftest.err'
99131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99132   (eval $ac_try) 2>&5
99133   ac_status=$?
99134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99135   (exit $ac_status); }; } &&
99136          { ac_try='test -s conftest$ac_exeext'
99137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99138   (eval $ac_try) 2>&5
99139   ac_status=$?
99140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99141   (exit $ac_status); }; }; then
99142   eval "$as_ac_var=yes"
99143 else
99144   echo "$as_me: failed program was:" >&5
99145 sed 's/^/| /' conftest.$ac_ext >&5
99146
99147 eval "$as_ac_var=no"
99148 fi
99149 rm -f conftest.err conftest.$ac_objext \
99150       conftest$ac_exeext conftest.$ac_ext
99151 fi
99152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99154 if test `eval echo '${'$as_ac_var'}'` = yes; then
99155   cat >>confdefs.h <<_ACEOF
99156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99157 _ACEOF
99158
99159 fi
99160 done
99161
99162   fi
99163
99164
99165
99166
99167
99168   echo "$as_me:$LINENO: checking for strtof declaration" >&5
99169 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99170   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99171     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99172   echo $ECHO_N "(cached) $ECHO_C" >&6
99173 else
99174
99175
99176
99177       ac_ext=cc
99178 ac_cpp='$CXXCPP $CPPFLAGS'
99179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99182
99183       cat >conftest.$ac_ext <<_ACEOF
99184 /* confdefs.h.  */
99185 _ACEOF
99186 cat confdefs.h >>conftest.$ac_ext
99187 cat >>conftest.$ac_ext <<_ACEOF
99188 /* end confdefs.h.  */
99189 #include <stdlib.h>
99190 int
99191 main ()
99192 {
99193  strtof(0, 0);
99194   ;
99195   return 0;
99196 }
99197 _ACEOF
99198 rm -f conftest.$ac_objext
99199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99200   (eval $ac_compile) 2>conftest.er1
99201   ac_status=$?
99202   grep -v '^ *+' conftest.er1 >conftest.err
99203   rm -f conftest.er1
99204   cat conftest.err >&5
99205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99206   (exit $ac_status); } &&
99207          { ac_try='test -z "$ac_cxx_werror_flag"
99208                          || test ! -s conftest.err'
99209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99210   (eval $ac_try) 2>&5
99211   ac_status=$?
99212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99213   (exit $ac_status); }; } &&
99214          { ac_try='test -s conftest.$ac_objext'
99215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99216   (eval $ac_try) 2>&5
99217   ac_status=$?
99218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99219   (exit $ac_status); }; }; then
99220   glibcxx_cv_func_strtof_use=yes
99221 else
99222   echo "$as_me: failed program was:" >&5
99223 sed 's/^/| /' conftest.$ac_ext >&5
99224
99225 glibcxx_cv_func_strtof_use=no
99226 fi
99227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99228       ac_ext=c
99229 ac_cpp='$CPP $CPPFLAGS'
99230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99233
99234
99235 fi
99236
99237   fi
99238   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99239 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99240   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99241
99242 for ac_func in strtof
99243 do
99244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99245 echo "$as_me:$LINENO: checking for $ac_func" >&5
99246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99247 if eval "test \"\${$as_ac_var+set}\" = set"; then
99248   echo $ECHO_N "(cached) $ECHO_C" >&6
99249 else
99250   if test x$gcc_no_link = xyes; then
99251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99253    { (exit 1); exit 1; }; }
99254 fi
99255 cat >conftest.$ac_ext <<_ACEOF
99256 /* confdefs.h.  */
99257 _ACEOF
99258 cat confdefs.h >>conftest.$ac_ext
99259 cat >>conftest.$ac_ext <<_ACEOF
99260 /* end confdefs.h.  */
99261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99263 #define $ac_func innocuous_$ac_func
99264
99265 /* System header to define __stub macros and hopefully few prototypes,
99266     which can conflict with char $ac_func (); below.
99267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99268     <limits.h> exists even on freestanding compilers.  */
99269
99270 #ifdef __STDC__
99271 # include <limits.h>
99272 #else
99273 # include <assert.h>
99274 #endif
99275
99276 #undef $ac_func
99277
99278 /* Override any gcc2 internal prototype to avoid an error.  */
99279 #ifdef __cplusplus
99280 extern "C"
99281 {
99282 #endif
99283 /* We use char because int might match the return type of a gcc2
99284    builtin and then its argument prototype would still apply.  */
99285 char $ac_func ();
99286 /* The GNU C library defines this for functions which it implements
99287     to always fail with ENOSYS.  Some functions are actually named
99288     something starting with __ and the normal name is an alias.  */
99289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99290 choke me
99291 #else
99292 char (*f) () = $ac_func;
99293 #endif
99294 #ifdef __cplusplus
99295 }
99296 #endif
99297
99298 int
99299 main ()
99300 {
99301 return f != $ac_func;
99302   ;
99303   return 0;
99304 }
99305 _ACEOF
99306 rm -f conftest.$ac_objext conftest$ac_exeext
99307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99308   (eval $ac_link) 2>conftest.er1
99309   ac_status=$?
99310   grep -v '^ *+' conftest.er1 >conftest.err
99311   rm -f conftest.er1
99312   cat conftest.err >&5
99313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99314   (exit $ac_status); } &&
99315          { ac_try='test -z "$ac_c_werror_flag"
99316                          || test ! -s conftest.err'
99317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99318   (eval $ac_try) 2>&5
99319   ac_status=$?
99320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99321   (exit $ac_status); }; } &&
99322          { ac_try='test -s conftest$ac_exeext'
99323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99324   (eval $ac_try) 2>&5
99325   ac_status=$?
99326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99327   (exit $ac_status); }; }; then
99328   eval "$as_ac_var=yes"
99329 else
99330   echo "$as_me: failed program was:" >&5
99331 sed 's/^/| /' conftest.$ac_ext >&5
99332
99333 eval "$as_ac_var=no"
99334 fi
99335 rm -f conftest.err conftest.$ac_objext \
99336       conftest$ac_exeext conftest.$ac_ext
99337 fi
99338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99340 if test `eval echo '${'$as_ac_var'}'` = yes; then
99341   cat >>confdefs.h <<_ACEOF
99342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99343 _ACEOF
99344
99345 fi
99346 done
99347
99348   fi
99349
99350
99351
99352
99353
99354   CXXFLAGS="$ac_save_CXXFLAGS"
99355
99356
99357     # For LFS.
99358     cat >>confdefs.h <<\_ACEOF
99359 #define HAVE_INT64_T 1
99360 _ACEOF
99361
99362
99363
99364
99365   ac_ext=cc
99366 ac_cpp='$CXXCPP $CPPFLAGS'
99367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99370
99371   ac_save_CXXFLAGS="$CXXFLAGS"
99372   CXXFLAGS="$CXXFLAGS -fno-exceptions"
99373   echo "$as_me:$LINENO: checking for LFS support" >&5
99374 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
99375   if test "${glibcxx_cv_LFS+set}" = set; then
99376   echo $ECHO_N "(cached) $ECHO_C" >&6
99377 else
99378
99379     if test x$gcc_no_link = xyes; then
99380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99382    { (exit 1); exit 1; }; }
99383 fi
99384 cat >conftest.$ac_ext <<_ACEOF
99385 /* confdefs.h.  */
99386 _ACEOF
99387 cat confdefs.h >>conftest.$ac_ext
99388 cat >>conftest.$ac_ext <<_ACEOF
99389 /* end confdefs.h.  */
99390 #include <unistd.h>
99391        #include <stdio.h>
99392        #include <sys/stat.h>
99393
99394 int
99395 main ()
99396 {
99397 FILE* fp;
99398        fopen64("t", "w");
99399        fseeko64(fp, 0, SEEK_CUR);
99400        ftello64(fp);
99401        lseek64(1, 0, SEEK_CUR);
99402        struct stat64 buf;
99403        fstat64(1, &buf);
99404   ;
99405   return 0;
99406 }
99407 _ACEOF
99408 rm -f conftest.$ac_objext conftest$ac_exeext
99409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99410   (eval $ac_link) 2>conftest.er1
99411   ac_status=$?
99412   grep -v '^ *+' conftest.er1 >conftest.err
99413   rm -f conftest.er1
99414   cat conftest.err >&5
99415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416   (exit $ac_status); } &&
99417          { ac_try='test -z "$ac_cxx_werror_flag"
99418                          || test ! -s conftest.err'
99419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99420   (eval $ac_try) 2>&5
99421   ac_status=$?
99422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99423   (exit $ac_status); }; } &&
99424          { ac_try='test -s conftest$ac_exeext'
99425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99426   (eval $ac_try) 2>&5
99427   ac_status=$?
99428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99429   (exit $ac_status); }; }; then
99430   glibcxx_cv_LFS=yes
99431 else
99432   echo "$as_me: failed program was:" >&5
99433 sed 's/^/| /' conftest.$ac_ext >&5
99434
99435 glibcxx_cv_LFS=no
99436 fi
99437 rm -f conftest.err conftest.$ac_objext \
99438       conftest$ac_exeext conftest.$ac_ext
99439
99440 fi
99441
99442   if test $glibcxx_cv_LFS = yes; then
99443
99444 cat >>confdefs.h <<\_ACEOF
99445 #define _GLIBCXX_USE_LFS 1
99446 _ACEOF
99447
99448   fi
99449   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
99450 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
99451   CXXFLAGS="$ac_save_CXXFLAGS"
99452   ac_ext=c
99453 ac_cpp='$CPP $CPPFLAGS'
99454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99457
99458
99459
99460     # For showmanyc_helper().
99461
99462
99463 for ac_header in sys/ioctl.h sys/filio.h
99464 do
99465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99467   echo "$as_me:$LINENO: checking for $ac_header" >&5
99468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99470   echo $ECHO_N "(cached) $ECHO_C" >&6
99471 fi
99472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99474 else
99475   # Is the header compilable?
99476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99478 cat >conftest.$ac_ext <<_ACEOF
99479 /* confdefs.h.  */
99480 _ACEOF
99481 cat confdefs.h >>conftest.$ac_ext
99482 cat >>conftest.$ac_ext <<_ACEOF
99483 /* end confdefs.h.  */
99484 $ac_includes_default
99485 #include <$ac_header>
99486 _ACEOF
99487 rm -f conftest.$ac_objext
99488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99489   (eval $ac_compile) 2>conftest.er1
99490   ac_status=$?
99491   grep -v '^ *+' conftest.er1 >conftest.err
99492   rm -f conftest.er1
99493   cat conftest.err >&5
99494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99495   (exit $ac_status); } &&
99496          { ac_try='test -z "$ac_c_werror_flag"
99497                          || test ! -s conftest.err'
99498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99499   (eval $ac_try) 2>&5
99500   ac_status=$?
99501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99502   (exit $ac_status); }; } &&
99503          { ac_try='test -s conftest.$ac_objext'
99504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99505   (eval $ac_try) 2>&5
99506   ac_status=$?
99507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99508   (exit $ac_status); }; }; then
99509   ac_header_compiler=yes
99510 else
99511   echo "$as_me: failed program was:" >&5
99512 sed 's/^/| /' conftest.$ac_ext >&5
99513
99514 ac_header_compiler=no
99515 fi
99516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99518 echo "${ECHO_T}$ac_header_compiler" >&6
99519
99520 # Is the header present?
99521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99523 cat >conftest.$ac_ext <<_ACEOF
99524 /* confdefs.h.  */
99525 _ACEOF
99526 cat confdefs.h >>conftest.$ac_ext
99527 cat >>conftest.$ac_ext <<_ACEOF
99528 /* end confdefs.h.  */
99529 #include <$ac_header>
99530 _ACEOF
99531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99532   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99533   ac_status=$?
99534   grep -v '^ *+' conftest.er1 >conftest.err
99535   rm -f conftest.er1
99536   cat conftest.err >&5
99537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99538   (exit $ac_status); } >/dev/null; then
99539   if test -s conftest.err; then
99540     ac_cpp_err=$ac_c_preproc_warn_flag
99541     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99542   else
99543     ac_cpp_err=
99544   fi
99545 else
99546   ac_cpp_err=yes
99547 fi
99548 if test -z "$ac_cpp_err"; then
99549   ac_header_preproc=yes
99550 else
99551   echo "$as_me: failed program was:" >&5
99552 sed 's/^/| /' conftest.$ac_ext >&5
99553
99554   ac_header_preproc=no
99555 fi
99556 rm -f conftest.err conftest.$ac_ext
99557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99558 echo "${ECHO_T}$ac_header_preproc" >&6
99559
99560 # So?  What about this header?
99561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99562   yes:no: )
99563     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99565     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99567     ac_header_preproc=yes
99568     ;;
99569   no:yes:* )
99570     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99572     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
99573 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
99574     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99576     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
99577 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
99578     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99580     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99582     (
99583       cat <<\_ASBOX
99584 ## ----------------------------------------- ##
99585 ## Report this to the package-unused lists.  ##
99586 ## ----------------------------------------- ##
99587 _ASBOX
99588     ) |
99589       sed "s/^/$as_me: WARNING:     /" >&2
99590     ;;
99591 esac
99592 echo "$as_me:$LINENO: checking for $ac_header" >&5
99593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99595   echo $ECHO_N "(cached) $ECHO_C" >&6
99596 else
99597   eval "$as_ac_Header=\$ac_header_preproc"
99598 fi
99599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99601
99602 fi
99603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99604   cat >>confdefs.h <<_ACEOF
99605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99606 _ACEOF
99607
99608 fi
99609
99610 done
99611
99612
99613   echo "$as_me:$LINENO: checking for poll" >&5
99614 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99615   if test "${glibcxx_cv_POLL+set}" = set; then
99616   echo $ECHO_N "(cached) $ECHO_C" >&6
99617 else
99618
99619     if test x$gcc_no_link = xyes; then
99620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99622    { (exit 1); exit 1; }; }
99623 fi
99624 cat >conftest.$ac_ext <<_ACEOF
99625 /* confdefs.h.  */
99626 _ACEOF
99627 cat confdefs.h >>conftest.$ac_ext
99628 cat >>conftest.$ac_ext <<_ACEOF
99629 /* end confdefs.h.  */
99630 #include <poll.h>
99631 int
99632 main ()
99633 {
99634 struct pollfd pfd[1];
99635        pfd[0].events = POLLIN;
99636        poll(pfd, 1, 0);
99637   ;
99638   return 0;
99639 }
99640 _ACEOF
99641 rm -f conftest.$ac_objext conftest$ac_exeext
99642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99643   (eval $ac_link) 2>conftest.er1
99644   ac_status=$?
99645   grep -v '^ *+' conftest.er1 >conftest.err
99646   rm -f conftest.er1
99647   cat conftest.err >&5
99648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99649   (exit $ac_status); } &&
99650          { ac_try='test -z "$ac_c_werror_flag"
99651                          || test ! -s conftest.err'
99652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99653   (eval $ac_try) 2>&5
99654   ac_status=$?
99655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99656   (exit $ac_status); }; } &&
99657          { ac_try='test -s conftest$ac_exeext'
99658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99659   (eval $ac_try) 2>&5
99660   ac_status=$?
99661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99662   (exit $ac_status); }; }; then
99663   glibcxx_cv_POLL=yes
99664 else
99665   echo "$as_me: failed program was:" >&5
99666 sed 's/^/| /' conftest.$ac_ext >&5
99667
99668 glibcxx_cv_POLL=no
99669 fi
99670 rm -f conftest.err conftest.$ac_objext \
99671       conftest$ac_exeext conftest.$ac_ext
99672
99673 fi
99674
99675   if test $glibcxx_cv_POLL = yes; then
99676
99677 cat >>confdefs.h <<\_ACEOF
99678 #define HAVE_POLL 1
99679 _ACEOF
99680
99681   fi
99682   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
99683 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
99684
99685
99686   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
99687 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
99688   if test "${glibcxx_cv_S_ISREG+set}" = set; then
99689   echo $ECHO_N "(cached) $ECHO_C" >&6
99690 else
99691
99692     if test x$gcc_no_link = xyes; then
99693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99695    { (exit 1); exit 1; }; }
99696 fi
99697 cat >conftest.$ac_ext <<_ACEOF
99698 /* confdefs.h.  */
99699 _ACEOF
99700 cat confdefs.h >>conftest.$ac_ext
99701 cat >>conftest.$ac_ext <<_ACEOF
99702 /* end confdefs.h.  */
99703 #include <sys/stat.h>
99704 int
99705 main ()
99706 {
99707 struct stat buffer;
99708        fstat(0, &buffer);
99709        S_ISREG(buffer.st_mode);
99710   ;
99711   return 0;
99712 }
99713 _ACEOF
99714 rm -f conftest.$ac_objext conftest$ac_exeext
99715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99716   (eval $ac_link) 2>conftest.er1
99717   ac_status=$?
99718   grep -v '^ *+' conftest.er1 >conftest.err
99719   rm -f conftest.er1
99720   cat conftest.err >&5
99721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99722   (exit $ac_status); } &&
99723          { ac_try='test -z "$ac_c_werror_flag"
99724                          || test ! -s conftest.err'
99725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99726   (eval $ac_try) 2>&5
99727   ac_status=$?
99728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99729   (exit $ac_status); }; } &&
99730          { ac_try='test -s conftest$ac_exeext'
99731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99732   (eval $ac_try) 2>&5
99733   ac_status=$?
99734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99735   (exit $ac_status); }; }; then
99736   glibcxx_cv_S_ISREG=yes
99737 else
99738   echo "$as_me: failed program was:" >&5
99739 sed 's/^/| /' conftest.$ac_ext >&5
99740
99741 glibcxx_cv_S_ISREG=no
99742 fi
99743 rm -f conftest.err conftest.$ac_objext \
99744       conftest$ac_exeext conftest.$ac_ext
99745
99746 fi
99747
99748   if test "${glibcxx_cv_S_IFREG+set}" = set; then
99749   echo $ECHO_N "(cached) $ECHO_C" >&6
99750 else
99751
99752     if test x$gcc_no_link = xyes; then
99753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99755    { (exit 1); exit 1; }; }
99756 fi
99757 cat >conftest.$ac_ext <<_ACEOF
99758 /* confdefs.h.  */
99759 _ACEOF
99760 cat confdefs.h >>conftest.$ac_ext
99761 cat >>conftest.$ac_ext <<_ACEOF
99762 /* end confdefs.h.  */
99763 #include <sys/stat.h>
99764 int
99765 main ()
99766 {
99767 struct stat buffer;
99768        fstat(0, &buffer);
99769        S_IFREG & buffer.st_mode;
99770   ;
99771   return 0;
99772 }
99773 _ACEOF
99774 rm -f conftest.$ac_objext conftest$ac_exeext
99775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99776   (eval $ac_link) 2>conftest.er1
99777   ac_status=$?
99778   grep -v '^ *+' conftest.er1 >conftest.err
99779   rm -f conftest.er1
99780   cat conftest.err >&5
99781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99782   (exit $ac_status); } &&
99783          { ac_try='test -z "$ac_c_werror_flag"
99784                          || test ! -s conftest.err'
99785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99786   (eval $ac_try) 2>&5
99787   ac_status=$?
99788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99789   (exit $ac_status); }; } &&
99790          { ac_try='test -s conftest$ac_exeext'
99791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99792   (eval $ac_try) 2>&5
99793   ac_status=$?
99794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99795   (exit $ac_status); }; }; then
99796   glibcxx_cv_S_IFREG=yes
99797 else
99798   echo "$as_me: failed program was:" >&5
99799 sed 's/^/| /' conftest.$ac_ext >&5
99800
99801 glibcxx_cv_S_IFREG=no
99802 fi
99803 rm -f conftest.err conftest.$ac_objext \
99804       conftest$ac_exeext conftest.$ac_ext
99805
99806 fi
99807
99808   res=no
99809   if test $glibcxx_cv_S_ISREG = yes; then
99810
99811 cat >>confdefs.h <<\_ACEOF
99812 #define HAVE_S_ISREG 1
99813 _ACEOF
99814
99815     res=S_ISREG
99816   elif test $glibcxx_cv_S_IFREG = yes; then
99817
99818 cat >>confdefs.h <<\_ACEOF
99819 #define HAVE_S_IFREG 1
99820 _ACEOF
99821
99822     res=S_IFREG
99823   fi
99824   echo "$as_me:$LINENO: result: $res" >&5
99825 echo "${ECHO_T}$res" >&6
99826
99827
99828     # For xsputn_2().
99829
99830 for ac_header in sys/uio.h
99831 do
99832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99834   echo "$as_me:$LINENO: checking for $ac_header" >&5
99835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99837   echo $ECHO_N "(cached) $ECHO_C" >&6
99838 fi
99839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99841 else
99842   # Is the header compilable?
99843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99845 cat >conftest.$ac_ext <<_ACEOF
99846 /* confdefs.h.  */
99847 _ACEOF
99848 cat confdefs.h >>conftest.$ac_ext
99849 cat >>conftest.$ac_ext <<_ACEOF
99850 /* end confdefs.h.  */
99851 $ac_includes_default
99852 #include <$ac_header>
99853 _ACEOF
99854 rm -f conftest.$ac_objext
99855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99856   (eval $ac_compile) 2>conftest.er1
99857   ac_status=$?
99858   grep -v '^ *+' conftest.er1 >conftest.err
99859   rm -f conftest.er1
99860   cat conftest.err >&5
99861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99862   (exit $ac_status); } &&
99863          { ac_try='test -z "$ac_c_werror_flag"
99864                          || test ! -s conftest.err'
99865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99866   (eval $ac_try) 2>&5
99867   ac_status=$?
99868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99869   (exit $ac_status); }; } &&
99870          { ac_try='test -s conftest.$ac_objext'
99871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99872   (eval $ac_try) 2>&5
99873   ac_status=$?
99874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99875   (exit $ac_status); }; }; then
99876   ac_header_compiler=yes
99877 else
99878   echo "$as_me: failed program was:" >&5
99879 sed 's/^/| /' conftest.$ac_ext >&5
99880
99881 ac_header_compiler=no
99882 fi
99883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99885 echo "${ECHO_T}$ac_header_compiler" >&6
99886
99887 # Is the header present?
99888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99890 cat >conftest.$ac_ext <<_ACEOF
99891 /* confdefs.h.  */
99892 _ACEOF
99893 cat confdefs.h >>conftest.$ac_ext
99894 cat >>conftest.$ac_ext <<_ACEOF
99895 /* end confdefs.h.  */
99896 #include <$ac_header>
99897 _ACEOF
99898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99899   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99900   ac_status=$?
99901   grep -v '^ *+' conftest.er1 >conftest.err
99902   rm -f conftest.er1
99903   cat conftest.err >&5
99904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99905   (exit $ac_status); } >/dev/null; then
99906   if test -s conftest.err; then
99907     ac_cpp_err=$ac_c_preproc_warn_flag
99908     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99909   else
99910     ac_cpp_err=
99911   fi
99912 else
99913   ac_cpp_err=yes
99914 fi
99915 if test -z "$ac_cpp_err"; then
99916   ac_header_preproc=yes
99917 else
99918   echo "$as_me: failed program was:" >&5
99919 sed 's/^/| /' conftest.$ac_ext >&5
99920
99921   ac_header_preproc=no
99922 fi
99923 rm -f conftest.err conftest.$ac_ext
99924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99925 echo "${ECHO_T}$ac_header_preproc" >&6
99926
99927 # So?  What about this header?
99928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99929   yes:no: )
99930     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99932     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99934     ac_header_preproc=yes
99935     ;;
99936   no:yes:* )
99937     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99939     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
99940 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
99941     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99943     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
99944 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
99945     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99947     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99949     (
99950       cat <<\_ASBOX
99951 ## ----------------------------------------- ##
99952 ## Report this to the package-unused lists.  ##
99953 ## ----------------------------------------- ##
99954 _ASBOX
99955     ) |
99956       sed "s/^/$as_me: WARNING:     /" >&2
99957     ;;
99958 esac
99959 echo "$as_me:$LINENO: checking for $ac_header" >&5
99960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99962   echo $ECHO_N "(cached) $ECHO_C" >&6
99963 else
99964   eval "$as_ac_Header=\$ac_header_preproc"
99965 fi
99966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99968
99969 fi
99970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99971   cat >>confdefs.h <<_ACEOF
99972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99973 _ACEOF
99974
99975 fi
99976
99977 done
99978
99979
99980   echo "$as_me:$LINENO: checking for writev" >&5
99981 echo $ECHO_N "checking for writev... $ECHO_C" >&6
99982   if test "${glibcxx_cv_WRITEV+set}" = set; then
99983   echo $ECHO_N "(cached) $ECHO_C" >&6
99984 else
99985
99986     if test x$gcc_no_link = xyes; then
99987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99989    { (exit 1); exit 1; }; }
99990 fi
99991 cat >conftest.$ac_ext <<_ACEOF
99992 /* confdefs.h.  */
99993 _ACEOF
99994 cat confdefs.h >>conftest.$ac_ext
99995 cat >>conftest.$ac_ext <<_ACEOF
99996 /* end confdefs.h.  */
99997 #include <sys/uio.h>
99998 int
99999 main ()
100000 {
100001 struct iovec iov[2];
100002        writev(0, iov, 0);
100003   ;
100004   return 0;
100005 }
100006 _ACEOF
100007 rm -f conftest.$ac_objext conftest$ac_exeext
100008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100009   (eval $ac_link) 2>conftest.er1
100010   ac_status=$?
100011   grep -v '^ *+' conftest.er1 >conftest.err
100012   rm -f conftest.er1
100013   cat conftest.err >&5
100014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100015   (exit $ac_status); } &&
100016          { ac_try='test -z "$ac_c_werror_flag"
100017                          || test ! -s conftest.err'
100018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100019   (eval $ac_try) 2>&5
100020   ac_status=$?
100021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100022   (exit $ac_status); }; } &&
100023          { ac_try='test -s conftest$ac_exeext'
100024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100025   (eval $ac_try) 2>&5
100026   ac_status=$?
100027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100028   (exit $ac_status); }; }; then
100029   glibcxx_cv_WRITEV=yes
100030 else
100031   echo "$as_me: failed program was:" >&5
100032 sed 's/^/| /' conftest.$ac_ext >&5
100033
100034 glibcxx_cv_WRITEV=no
100035 fi
100036 rm -f conftest.err conftest.$ac_objext \
100037       conftest$ac_exeext conftest.$ac_ext
100038
100039 fi
100040
100041   if test $glibcxx_cv_WRITEV = yes; then
100042
100043 cat >>confdefs.h <<\_ACEOF
100044 #define HAVE_WRITEV 1
100045 _ACEOF
100046
100047   fi
100048   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100049 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100050
100051     ;;
100052   *-mingw32*)
100053
100054
100055
100056 for ac_header in sys/types.h locale.h float.h
100057 do
100058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100060   echo "$as_me:$LINENO: checking for $ac_header" >&5
100061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100063   echo $ECHO_N "(cached) $ECHO_C" >&6
100064 fi
100065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100067 else
100068   # Is the header compilable?
100069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100071 cat >conftest.$ac_ext <<_ACEOF
100072 /* confdefs.h.  */
100073 _ACEOF
100074 cat confdefs.h >>conftest.$ac_ext
100075 cat >>conftest.$ac_ext <<_ACEOF
100076 /* end confdefs.h.  */
100077 $ac_includes_default
100078 #include <$ac_header>
100079 _ACEOF
100080 rm -f conftest.$ac_objext
100081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100082   (eval $ac_compile) 2>conftest.er1
100083   ac_status=$?
100084   grep -v '^ *+' conftest.er1 >conftest.err
100085   rm -f conftest.er1
100086   cat conftest.err >&5
100087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100088   (exit $ac_status); } &&
100089          { ac_try='test -z "$ac_c_werror_flag"
100090                          || test ! -s conftest.err'
100091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100092   (eval $ac_try) 2>&5
100093   ac_status=$?
100094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100095   (exit $ac_status); }; } &&
100096          { ac_try='test -s conftest.$ac_objext'
100097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100098   (eval $ac_try) 2>&5
100099   ac_status=$?
100100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100101   (exit $ac_status); }; }; then
100102   ac_header_compiler=yes
100103 else
100104   echo "$as_me: failed program was:" >&5
100105 sed 's/^/| /' conftest.$ac_ext >&5
100106
100107 ac_header_compiler=no
100108 fi
100109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100111 echo "${ECHO_T}$ac_header_compiler" >&6
100112
100113 # Is the header present?
100114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100116 cat >conftest.$ac_ext <<_ACEOF
100117 /* confdefs.h.  */
100118 _ACEOF
100119 cat confdefs.h >>conftest.$ac_ext
100120 cat >>conftest.$ac_ext <<_ACEOF
100121 /* end confdefs.h.  */
100122 #include <$ac_header>
100123 _ACEOF
100124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100125   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100126   ac_status=$?
100127   grep -v '^ *+' conftest.er1 >conftest.err
100128   rm -f conftest.er1
100129   cat conftest.err >&5
100130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100131   (exit $ac_status); } >/dev/null; then
100132   if test -s conftest.err; then
100133     ac_cpp_err=$ac_c_preproc_warn_flag
100134     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100135   else
100136     ac_cpp_err=
100137   fi
100138 else
100139   ac_cpp_err=yes
100140 fi
100141 if test -z "$ac_cpp_err"; then
100142   ac_header_preproc=yes
100143 else
100144   echo "$as_me: failed program was:" >&5
100145 sed 's/^/| /' conftest.$ac_ext >&5
100146
100147   ac_header_preproc=no
100148 fi
100149 rm -f conftest.err conftest.$ac_ext
100150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100151 echo "${ECHO_T}$ac_header_preproc" >&6
100152
100153 # So?  What about this header?
100154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100155   yes:no: )
100156     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100158     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100160     ac_header_preproc=yes
100161     ;;
100162   no:yes:* )
100163     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100165     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100166 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100167     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100169     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100170 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100171     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100173     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100175     (
100176       cat <<\_ASBOX
100177 ## ----------------------------------------- ##
100178 ## Report this to the package-unused lists.  ##
100179 ## ----------------------------------------- ##
100180 _ASBOX
100181     ) |
100182       sed "s/^/$as_me: WARNING:     /" >&2
100183     ;;
100184 esac
100185 echo "$as_me:$LINENO: checking for $ac_header" >&5
100186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100188   echo $ECHO_N "(cached) $ECHO_C" >&6
100189 else
100190   eval "$as_ac_Header=\$ac_header_preproc"
100191 fi
100192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100194
100195 fi
100196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100197   cat >>confdefs.h <<_ACEOF
100198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100199 _ACEOF
100200
100201 fi
100202
100203 done
100204
100205
100206   # If we're not using GNU ld, then there's no point in even trying these
100207   # tests.  Check for that first.  We should have already tested for gld
100208   # by now (in libtool), but require it now just to be safe...
100209   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100210   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100211
100212
100213
100214   # The name set by libtool depends on the version of libtool.  Shame on us
100215   # for depending on an impl detail, but c'est la vie.  Older versions used
100216   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100217   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100218   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100219   # set (hence we're using an older libtool), then set it.
100220   if test x${with_gnu_ld+set} != xset; then
100221     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100222       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100223       with_gnu_ld=no
100224     else
100225       with_gnu_ld=$ac_cv_prog_gnu_ld
100226     fi
100227   fi
100228
100229   # Start by getting the version number.  I think the libtool test already
100230   # does some of this, but throws away the result.
100231   if test x"$with_gnu_ld" = x"yes"; then
100232     echo "$as_me:$LINENO: checking for ld version" >&5
100233 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100234
100235     ldver=`$LD --version 2>/dev/null | head -1 | \
100236            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100237
100238     glibcxx_gnu_ld_version=`echo $ldver | \
100239            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100240     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100241 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100242   fi
100243
100244   # Set --gc-sections.
100245   glibcxx_gcsections_min_ld=21602
100246   if test x"$with_gnu_ld" = x"yes" &&
100247         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100248
100249     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100250     # NB: This flag only works reliably after 2.16.1. Configure tests
100251     # for this are difficult, so hard wire a value that should work.
100252
100253     # All these tests are for C++, but run with the "C" compiler driver.
100254     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100255     ac_test_CFLAGS="${CFLAGS+set}"
100256     ac_save_CFLAGS="$CFLAGS"
100257     CFLAGS='-x c++ -Wl,--gc-sections'
100258
100259     # Check for -Wl,--gc-sections
100260     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100261 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100262     if test x$gcc_no_link = xyes; then
100263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100265    { (exit 1); exit 1; }; }
100266 fi
100267 cat >conftest.$ac_ext <<_ACEOF
100268 /* confdefs.h.  */
100269 _ACEOF
100270 cat confdefs.h >>conftest.$ac_ext
100271 cat >>conftest.$ac_ext <<_ACEOF
100272 /* end confdefs.h.  */
100273  int one(void) { return 1; }
100274      int two(void) { return 2; }
100275
100276 int
100277 main ()
100278 {
100279  two();
100280   ;
100281   return 0;
100282 }
100283 _ACEOF
100284 rm -f conftest.$ac_objext conftest$ac_exeext
100285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100286   (eval $ac_link) 2>conftest.er1
100287   ac_status=$?
100288   grep -v '^ *+' conftest.er1 >conftest.err
100289   rm -f conftest.er1
100290   cat conftest.err >&5
100291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100292   (exit $ac_status); } &&
100293          { ac_try='test -z "$ac_c_werror_flag"
100294                          || test ! -s conftest.err'
100295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100296   (eval $ac_try) 2>&5
100297   ac_status=$?
100298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100299   (exit $ac_status); }; } &&
100300          { ac_try='test -s conftest$ac_exeext'
100301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100302   (eval $ac_try) 2>&5
100303   ac_status=$?
100304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100305   (exit $ac_status); }; }; then
100306   ac_gcsections=yes
100307 else
100308   echo "$as_me: failed program was:" >&5
100309 sed 's/^/| /' conftest.$ac_ext >&5
100310
100311 ac_gcsections=no
100312 fi
100313 rm -f conftest.err conftest.$ac_objext \
100314       conftest$ac_exeext conftest.$ac_ext
100315     if test "$ac_gcsections" = "yes"; then
100316       rm -f conftest.c
100317       touch conftest.c
100318       if $CC -c conftest.c; then
100319         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100320            grep "Warning: gc-sections option ignored" > /dev/null; then
100321           ac_gcsections=no
100322         fi
100323       fi
100324       rm -f conftest.c conftest.o conftest
100325     fi
100326     if test "$ac_gcsections" = "yes"; then
100327       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100328     fi
100329     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100330 echo "${ECHO_T}$ac_gcsections" >&6
100331
100332     if test "$ac_test_CFLAGS" = set; then
100333       CFLAGS="$ac_save_CFLAGS"
100334     else
100335       # this is the suspicious part
100336       CFLAGS=''
100337     fi
100338   fi
100339
100340   # Set -z,relro.
100341   # Note this is only for shared objects.
100342   ac_ld_relro=no
100343   if test x"$with_gnu_ld" = x"yes"; then
100344     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100345 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100346     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100347     if test -n "$cxx_z_relo"; then
100348       OPT_LDFLAGS="-Wl,-z,relro"
100349       ac_ld_relro=yes
100350     fi
100351     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100352 echo "${ECHO_T}$ac_ld_relro" >&6
100353   fi
100354
100355   # Set linker optimization flags.
100356   if test x"$with_gnu_ld" = x"yes"; then
100357     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100358   fi
100359
100360
100361
100362
100363
100364
100365 echo "$as_me:$LINENO: checking for main in -lm" >&5
100366 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100367 if test "${ac_cv_lib_m_main+set}" = set; then
100368   echo $ECHO_N "(cached) $ECHO_C" >&6
100369 else
100370   ac_check_lib_save_LIBS=$LIBS
100371 LIBS="-lm  $LIBS"
100372 if test x$gcc_no_link = xyes; then
100373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100375    { (exit 1); exit 1; }; }
100376 fi
100377 cat >conftest.$ac_ext <<_ACEOF
100378 /* confdefs.h.  */
100379 _ACEOF
100380 cat confdefs.h >>conftest.$ac_ext
100381 cat >>conftest.$ac_ext <<_ACEOF
100382 /* end confdefs.h.  */
100383
100384
100385 int
100386 main ()
100387 {
100388 main ();
100389   ;
100390   return 0;
100391 }
100392 _ACEOF
100393 rm -f conftest.$ac_objext conftest$ac_exeext
100394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100395   (eval $ac_link) 2>conftest.er1
100396   ac_status=$?
100397   grep -v '^ *+' conftest.er1 >conftest.err
100398   rm -f conftest.er1
100399   cat conftest.err >&5
100400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100401   (exit $ac_status); } &&
100402          { ac_try='test -z "$ac_c_werror_flag"
100403                          || test ! -s conftest.err'
100404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100405   (eval $ac_try) 2>&5
100406   ac_status=$?
100407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100408   (exit $ac_status); }; } &&
100409          { ac_try='test -s conftest$ac_exeext'
100410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100411   (eval $ac_try) 2>&5
100412   ac_status=$?
100413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100414   (exit $ac_status); }; }; then
100415   ac_cv_lib_m_main=yes
100416 else
100417   echo "$as_me: failed program was:" >&5
100418 sed 's/^/| /' conftest.$ac_ext >&5
100419
100420 ac_cv_lib_m_main=no
100421 fi
100422 rm -f conftest.err conftest.$ac_objext \
100423       conftest$ac_exeext conftest.$ac_ext
100424 LIBS=$ac_check_lib_save_LIBS
100425 fi
100426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100427 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100428 if test $ac_cv_lib_m_main = yes; then
100429   cat >>confdefs.h <<_ACEOF
100430 #define HAVE_LIBM 1
100431 _ACEOF
100432
100433   LIBS="-lm $LIBS"
100434
100435 fi
100436
100437
100438 for ac_func in copysignf
100439 do
100440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100441 echo "$as_me:$LINENO: checking for $ac_func" >&5
100442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100443 if eval "test \"\${$as_ac_var+set}\" = set"; then
100444   echo $ECHO_N "(cached) $ECHO_C" >&6
100445 else
100446   if test x$gcc_no_link = xyes; then
100447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100449    { (exit 1); exit 1; }; }
100450 fi
100451 cat >conftest.$ac_ext <<_ACEOF
100452 /* confdefs.h.  */
100453 _ACEOF
100454 cat confdefs.h >>conftest.$ac_ext
100455 cat >>conftest.$ac_ext <<_ACEOF
100456 /* end confdefs.h.  */
100457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100459 #define $ac_func innocuous_$ac_func
100460
100461 /* System header to define __stub macros and hopefully few prototypes,
100462     which can conflict with char $ac_func (); below.
100463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100464     <limits.h> exists even on freestanding compilers.  */
100465
100466 #ifdef __STDC__
100467 # include <limits.h>
100468 #else
100469 # include <assert.h>
100470 #endif
100471
100472 #undef $ac_func
100473
100474 /* Override any gcc2 internal prototype to avoid an error.  */
100475 #ifdef __cplusplus
100476 extern "C"
100477 {
100478 #endif
100479 /* We use char because int might match the return type of a gcc2
100480    builtin and then its argument prototype would still apply.  */
100481 char $ac_func ();
100482 /* The GNU C library defines this for functions which it implements
100483     to always fail with ENOSYS.  Some functions are actually named
100484     something starting with __ and the normal name is an alias.  */
100485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100486 choke me
100487 #else
100488 char (*f) () = $ac_func;
100489 #endif
100490 #ifdef __cplusplus
100491 }
100492 #endif
100493
100494 int
100495 main ()
100496 {
100497 return f != $ac_func;
100498   ;
100499   return 0;
100500 }
100501 _ACEOF
100502 rm -f conftest.$ac_objext conftest$ac_exeext
100503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100504   (eval $ac_link) 2>conftest.er1
100505   ac_status=$?
100506   grep -v '^ *+' conftest.er1 >conftest.err
100507   rm -f conftest.er1
100508   cat conftest.err >&5
100509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100510   (exit $ac_status); } &&
100511          { ac_try='test -z "$ac_c_werror_flag"
100512                          || test ! -s conftest.err'
100513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100514   (eval $ac_try) 2>&5
100515   ac_status=$?
100516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100517   (exit $ac_status); }; } &&
100518          { ac_try='test -s conftest$ac_exeext'
100519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100520   (eval $ac_try) 2>&5
100521   ac_status=$?
100522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100523   (exit $ac_status); }; }; then
100524   eval "$as_ac_var=yes"
100525 else
100526   echo "$as_me: failed program was:" >&5
100527 sed 's/^/| /' conftest.$ac_ext >&5
100528
100529 eval "$as_ac_var=no"
100530 fi
100531 rm -f conftest.err conftest.$ac_objext \
100532       conftest$ac_exeext conftest.$ac_ext
100533 fi
100534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100536 if test `eval echo '${'$as_ac_var'}'` = yes; then
100537   cat >>confdefs.h <<_ACEOF
100538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100539 _ACEOF
100540
100541 else
100542   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100543 fi
100544 done
100545
100546
100547
100548 for ac_func in __signbit
100549 do
100550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100551 echo "$as_me:$LINENO: checking for $ac_func" >&5
100552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100553 if eval "test \"\${$as_ac_var+set}\" = set"; then
100554   echo $ECHO_N "(cached) $ECHO_C" >&6
100555 else
100556   if test x$gcc_no_link = xyes; then
100557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100559    { (exit 1); exit 1; }; }
100560 fi
100561 cat >conftest.$ac_ext <<_ACEOF
100562 /* confdefs.h.  */
100563 _ACEOF
100564 cat confdefs.h >>conftest.$ac_ext
100565 cat >>conftest.$ac_ext <<_ACEOF
100566 /* end confdefs.h.  */
100567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100569 #define $ac_func innocuous_$ac_func
100570
100571 /* System header to define __stub macros and hopefully few prototypes,
100572     which can conflict with char $ac_func (); below.
100573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100574     <limits.h> exists even on freestanding compilers.  */
100575
100576 #ifdef __STDC__
100577 # include <limits.h>
100578 #else
100579 # include <assert.h>
100580 #endif
100581
100582 #undef $ac_func
100583
100584 /* Override any gcc2 internal prototype to avoid an error.  */
100585 #ifdef __cplusplus
100586 extern "C"
100587 {
100588 #endif
100589 /* We use char because int might match the return type of a gcc2
100590    builtin and then its argument prototype would still apply.  */
100591 char $ac_func ();
100592 /* The GNU C library defines this for functions which it implements
100593     to always fail with ENOSYS.  Some functions are actually named
100594     something starting with __ and the normal name is an alias.  */
100595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100596 choke me
100597 #else
100598 char (*f) () = $ac_func;
100599 #endif
100600 #ifdef __cplusplus
100601 }
100602 #endif
100603
100604 int
100605 main ()
100606 {
100607 return f != $ac_func;
100608   ;
100609   return 0;
100610 }
100611 _ACEOF
100612 rm -f conftest.$ac_objext conftest$ac_exeext
100613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100614   (eval $ac_link) 2>conftest.er1
100615   ac_status=$?
100616   grep -v '^ *+' conftest.er1 >conftest.err
100617   rm -f conftest.er1
100618   cat conftest.err >&5
100619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100620   (exit $ac_status); } &&
100621          { ac_try='test -z "$ac_c_werror_flag"
100622                          || test ! -s conftest.err'
100623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100624   (eval $ac_try) 2>&5
100625   ac_status=$?
100626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100627   (exit $ac_status); }; } &&
100628          { ac_try='test -s conftest$ac_exeext'
100629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100630   (eval $ac_try) 2>&5
100631   ac_status=$?
100632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100633   (exit $ac_status); }; }; then
100634   eval "$as_ac_var=yes"
100635 else
100636   echo "$as_me: failed program was:" >&5
100637 sed 's/^/| /' conftest.$ac_ext >&5
100638
100639 eval "$as_ac_var=no"
100640 fi
100641 rm -f conftest.err conftest.$ac_objext \
100642       conftest$ac_exeext conftest.$ac_ext
100643 fi
100644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100646 if test `eval echo '${'$as_ac_var'}'` = yes; then
100647   cat >>confdefs.h <<_ACEOF
100648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100649 _ACEOF
100650
100651 else
100652   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100653 fi
100654 done
100655
100656
100657
100658 for ac_func in __signbitf
100659 do
100660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100661 echo "$as_me:$LINENO: checking for $ac_func" >&5
100662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100663 if eval "test \"\${$as_ac_var+set}\" = set"; then
100664   echo $ECHO_N "(cached) $ECHO_C" >&6
100665 else
100666   if test x$gcc_no_link = xyes; then
100667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100669    { (exit 1); exit 1; }; }
100670 fi
100671 cat >conftest.$ac_ext <<_ACEOF
100672 /* confdefs.h.  */
100673 _ACEOF
100674 cat confdefs.h >>conftest.$ac_ext
100675 cat >>conftest.$ac_ext <<_ACEOF
100676 /* end confdefs.h.  */
100677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100679 #define $ac_func innocuous_$ac_func
100680
100681 /* System header to define __stub macros and hopefully few prototypes,
100682     which can conflict with char $ac_func (); below.
100683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100684     <limits.h> exists even on freestanding compilers.  */
100685
100686 #ifdef __STDC__
100687 # include <limits.h>
100688 #else
100689 # include <assert.h>
100690 #endif
100691
100692 #undef $ac_func
100693
100694 /* Override any gcc2 internal prototype to avoid an error.  */
100695 #ifdef __cplusplus
100696 extern "C"
100697 {
100698 #endif
100699 /* We use char because int might match the return type of a gcc2
100700    builtin and then its argument prototype would still apply.  */
100701 char $ac_func ();
100702 /* The GNU C library defines this for functions which it implements
100703     to always fail with ENOSYS.  Some functions are actually named
100704     something starting with __ and the normal name is an alias.  */
100705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100706 choke me
100707 #else
100708 char (*f) () = $ac_func;
100709 #endif
100710 #ifdef __cplusplus
100711 }
100712 #endif
100713
100714 int
100715 main ()
100716 {
100717 return f != $ac_func;
100718   ;
100719   return 0;
100720 }
100721 _ACEOF
100722 rm -f conftest.$ac_objext conftest$ac_exeext
100723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100724   (eval $ac_link) 2>conftest.er1
100725   ac_status=$?
100726   grep -v '^ *+' conftest.er1 >conftest.err
100727   rm -f conftest.er1
100728   cat conftest.err >&5
100729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100730   (exit $ac_status); } &&
100731          { ac_try='test -z "$ac_c_werror_flag"
100732                          || test ! -s conftest.err'
100733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100734   (eval $ac_try) 2>&5
100735   ac_status=$?
100736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100737   (exit $ac_status); }; } &&
100738          { ac_try='test -s conftest$ac_exeext'
100739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100740   (eval $ac_try) 2>&5
100741   ac_status=$?
100742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100743   (exit $ac_status); }; }; then
100744   eval "$as_ac_var=yes"
100745 else
100746   echo "$as_me: failed program was:" >&5
100747 sed 's/^/| /' conftest.$ac_ext >&5
100748
100749 eval "$as_ac_var=no"
100750 fi
100751 rm -f conftest.err conftest.$ac_objext \
100752       conftest$ac_exeext conftest.$ac_ext
100753 fi
100754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100756 if test `eval echo '${'$as_ac_var'}'` = yes; then
100757   cat >>confdefs.h <<_ACEOF
100758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100759 _ACEOF
100760
100761 else
100762   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100763 fi
100764 done
100765
100766
100767           if test x$ac_cv_func_copysignl = x"yes"; then
100768
100769 for ac_func in __signbitl
100770 do
100771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100772 echo "$as_me:$LINENO: checking for $ac_func" >&5
100773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100774 if eval "test \"\${$as_ac_var+set}\" = set"; then
100775   echo $ECHO_N "(cached) $ECHO_C" >&6
100776 else
100777   if test x$gcc_no_link = xyes; then
100778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100780    { (exit 1); exit 1; }; }
100781 fi
100782 cat >conftest.$ac_ext <<_ACEOF
100783 /* confdefs.h.  */
100784 _ACEOF
100785 cat confdefs.h >>conftest.$ac_ext
100786 cat >>conftest.$ac_ext <<_ACEOF
100787 /* end confdefs.h.  */
100788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100790 #define $ac_func innocuous_$ac_func
100791
100792 /* System header to define __stub macros and hopefully few prototypes,
100793     which can conflict with char $ac_func (); below.
100794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100795     <limits.h> exists even on freestanding compilers.  */
100796
100797 #ifdef __STDC__
100798 # include <limits.h>
100799 #else
100800 # include <assert.h>
100801 #endif
100802
100803 #undef $ac_func
100804
100805 /* Override any gcc2 internal prototype to avoid an error.  */
100806 #ifdef __cplusplus
100807 extern "C"
100808 {
100809 #endif
100810 /* We use char because int might match the return type of a gcc2
100811    builtin and then its argument prototype would still apply.  */
100812 char $ac_func ();
100813 /* The GNU C library defines this for functions which it implements
100814     to always fail with ENOSYS.  Some functions are actually named
100815     something starting with __ and the normal name is an alias.  */
100816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100817 choke me
100818 #else
100819 char (*f) () = $ac_func;
100820 #endif
100821 #ifdef __cplusplus
100822 }
100823 #endif
100824
100825 int
100826 main ()
100827 {
100828 return f != $ac_func;
100829   ;
100830   return 0;
100831 }
100832 _ACEOF
100833 rm -f conftest.$ac_objext conftest$ac_exeext
100834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100835   (eval $ac_link) 2>conftest.er1
100836   ac_status=$?
100837   grep -v '^ *+' conftest.er1 >conftest.err
100838   rm -f conftest.er1
100839   cat conftest.err >&5
100840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100841   (exit $ac_status); } &&
100842          { ac_try='test -z "$ac_c_werror_flag"
100843                          || test ! -s conftest.err'
100844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100845   (eval $ac_try) 2>&5
100846   ac_status=$?
100847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100848   (exit $ac_status); }; } &&
100849          { ac_try='test -s conftest$ac_exeext'
100850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100851   (eval $ac_try) 2>&5
100852   ac_status=$?
100853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100854   (exit $ac_status); }; }; then
100855   eval "$as_ac_var=yes"
100856 else
100857   echo "$as_me: failed program was:" >&5
100858 sed 's/^/| /' conftest.$ac_ext >&5
100859
100860 eval "$as_ac_var=no"
100861 fi
100862 rm -f conftest.err conftest.$ac_objext \
100863       conftest$ac_exeext conftest.$ac_ext
100864 fi
100865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100867 if test `eval echo '${'$as_ac_var'}'` = yes; then
100868   cat >>confdefs.h <<_ACEOF
100869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100870 _ACEOF
100871
100872 else
100873   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100874 fi
100875 done
100876
100877   fi
100878
100879   # Used in libmath/Makefile.am.
100880   if test -n "$LIBMATHOBJS"; then
100881     need_libmath=yes
100882   fi
100883
100884
100885     ;;
100886   *-netbsd*)
100887
100888
100889
100890
100891
100892
100893
100894
100895
100896
100897
100898
100899 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
100900       machine/endian.h machine/param.h sys/machine.h sys/types.h \
100901       fp.h locale.h float.h inttypes.h
100902 do
100903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100905   echo "$as_me:$LINENO: checking for $ac_header" >&5
100906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100908   echo $ECHO_N "(cached) $ECHO_C" >&6
100909 fi
100910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100912 else
100913   # Is the header compilable?
100914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100916 cat >conftest.$ac_ext <<_ACEOF
100917 /* confdefs.h.  */
100918 _ACEOF
100919 cat confdefs.h >>conftest.$ac_ext
100920 cat >>conftest.$ac_ext <<_ACEOF
100921 /* end confdefs.h.  */
100922 $ac_includes_default
100923 #include <$ac_header>
100924 _ACEOF
100925 rm -f conftest.$ac_objext
100926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100927   (eval $ac_compile) 2>conftest.er1
100928   ac_status=$?
100929   grep -v '^ *+' conftest.er1 >conftest.err
100930   rm -f conftest.er1
100931   cat conftest.err >&5
100932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100933   (exit $ac_status); } &&
100934          { ac_try='test -z "$ac_c_werror_flag"
100935                          || test ! -s conftest.err'
100936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100937   (eval $ac_try) 2>&5
100938   ac_status=$?
100939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100940   (exit $ac_status); }; } &&
100941          { ac_try='test -s conftest.$ac_objext'
100942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100943   (eval $ac_try) 2>&5
100944   ac_status=$?
100945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100946   (exit $ac_status); }; }; then
100947   ac_header_compiler=yes
100948 else
100949   echo "$as_me: failed program was:" >&5
100950 sed 's/^/| /' conftest.$ac_ext >&5
100951
100952 ac_header_compiler=no
100953 fi
100954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100956 echo "${ECHO_T}$ac_header_compiler" >&6
100957
100958 # Is the header present?
100959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100961 cat >conftest.$ac_ext <<_ACEOF
100962 /* confdefs.h.  */
100963 _ACEOF
100964 cat confdefs.h >>conftest.$ac_ext
100965 cat >>conftest.$ac_ext <<_ACEOF
100966 /* end confdefs.h.  */
100967 #include <$ac_header>
100968 _ACEOF
100969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100970   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100971   ac_status=$?
100972   grep -v '^ *+' conftest.er1 >conftest.err
100973   rm -f conftest.er1
100974   cat conftest.err >&5
100975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100976   (exit $ac_status); } >/dev/null; then
100977   if test -s conftest.err; then
100978     ac_cpp_err=$ac_c_preproc_warn_flag
100979     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100980   else
100981     ac_cpp_err=
100982   fi
100983 else
100984   ac_cpp_err=yes
100985 fi
100986 if test -z "$ac_cpp_err"; then
100987   ac_header_preproc=yes
100988 else
100989   echo "$as_me: failed program was:" >&5
100990 sed 's/^/| /' conftest.$ac_ext >&5
100991
100992   ac_header_preproc=no
100993 fi
100994 rm -f conftest.err conftest.$ac_ext
100995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100996 echo "${ECHO_T}$ac_header_preproc" >&6
100997
100998 # So?  What about this header?
100999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101000   yes:no: )
101001     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101003     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101005     ac_header_preproc=yes
101006     ;;
101007   no:yes:* )
101008     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101010     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
101011 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
101012     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101014     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
101015 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
101016     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101018     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101020     (
101021       cat <<\_ASBOX
101022 ## ----------------------------------------- ##
101023 ## Report this to the package-unused lists.  ##
101024 ## ----------------------------------------- ##
101025 _ASBOX
101026     ) |
101027       sed "s/^/$as_me: WARNING:     /" >&2
101028     ;;
101029 esac
101030 echo "$as_me:$LINENO: checking for $ac_header" >&5
101031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101033   echo $ECHO_N "(cached) $ECHO_C" >&6
101034 else
101035   eval "$as_ac_Header=\$ac_header_preproc"
101036 fi
101037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101039
101040 fi
101041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101042   cat >>confdefs.h <<_ACEOF
101043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101044 _ACEOF
101045
101046 fi
101047
101048 done
101049
101050     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101051
101052
101053   # If we're not using GNU ld, then there's no point in even trying these
101054   # tests.  Check for that first.  We should have already tested for gld
101055   # by now (in libtool), but require it now just to be safe...
101056   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101057   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101058
101059
101060
101061   # The name set by libtool depends on the version of libtool.  Shame on us
101062   # for depending on an impl detail, but c'est la vie.  Older versions used
101063   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101064   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101065   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101066   # set (hence we're using an older libtool), then set it.
101067   if test x${with_gnu_ld+set} != xset; then
101068     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101069       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101070       with_gnu_ld=no
101071     else
101072       with_gnu_ld=$ac_cv_prog_gnu_ld
101073     fi
101074   fi
101075
101076   # Start by getting the version number.  I think the libtool test already
101077   # does some of this, but throws away the result.
101078   if test x"$with_gnu_ld" = x"yes"; then
101079     echo "$as_me:$LINENO: checking for ld version" >&5
101080 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101081
101082     ldver=`$LD --version 2>/dev/null | head -1 | \
101083            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101084
101085     glibcxx_gnu_ld_version=`echo $ldver | \
101086            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101087     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101088 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101089   fi
101090
101091   # Set --gc-sections.
101092   glibcxx_gcsections_min_ld=21602
101093   if test x"$with_gnu_ld" = x"yes" &&
101094         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101095
101096     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101097     # NB: This flag only works reliably after 2.16.1. Configure tests
101098     # for this are difficult, so hard wire a value that should work.
101099
101100     # All these tests are for C++, but run with the "C" compiler driver.
101101     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101102     ac_test_CFLAGS="${CFLAGS+set}"
101103     ac_save_CFLAGS="$CFLAGS"
101104     CFLAGS='-x c++ -Wl,--gc-sections'
101105
101106     # Check for -Wl,--gc-sections
101107     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101108 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101109     if test x$gcc_no_link = xyes; then
101110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101112    { (exit 1); exit 1; }; }
101113 fi
101114 cat >conftest.$ac_ext <<_ACEOF
101115 /* confdefs.h.  */
101116 _ACEOF
101117 cat confdefs.h >>conftest.$ac_ext
101118 cat >>conftest.$ac_ext <<_ACEOF
101119 /* end confdefs.h.  */
101120  int one(void) { return 1; }
101121      int two(void) { return 2; }
101122
101123 int
101124 main ()
101125 {
101126  two();
101127   ;
101128   return 0;
101129 }
101130 _ACEOF
101131 rm -f conftest.$ac_objext conftest$ac_exeext
101132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101133   (eval $ac_link) 2>conftest.er1
101134   ac_status=$?
101135   grep -v '^ *+' conftest.er1 >conftest.err
101136   rm -f conftest.er1
101137   cat conftest.err >&5
101138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101139   (exit $ac_status); } &&
101140          { ac_try='test -z "$ac_c_werror_flag"
101141                          || test ! -s conftest.err'
101142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101143   (eval $ac_try) 2>&5
101144   ac_status=$?
101145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101146   (exit $ac_status); }; } &&
101147          { ac_try='test -s conftest$ac_exeext'
101148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101149   (eval $ac_try) 2>&5
101150   ac_status=$?
101151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101152   (exit $ac_status); }; }; then
101153   ac_gcsections=yes
101154 else
101155   echo "$as_me: failed program was:" >&5
101156 sed 's/^/| /' conftest.$ac_ext >&5
101157
101158 ac_gcsections=no
101159 fi
101160 rm -f conftest.err conftest.$ac_objext \
101161       conftest$ac_exeext conftest.$ac_ext
101162     if test "$ac_gcsections" = "yes"; then
101163       rm -f conftest.c
101164       touch conftest.c
101165       if $CC -c conftest.c; then
101166         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101167            grep "Warning: gc-sections option ignored" > /dev/null; then
101168           ac_gcsections=no
101169         fi
101170       fi
101171       rm -f conftest.c conftest.o conftest
101172     fi
101173     if test "$ac_gcsections" = "yes"; then
101174       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101175     fi
101176     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101177 echo "${ECHO_T}$ac_gcsections" >&6
101178
101179     if test "$ac_test_CFLAGS" = set; then
101180       CFLAGS="$ac_save_CFLAGS"
101181     else
101182       # this is the suspicious part
101183       CFLAGS=''
101184     fi
101185   fi
101186
101187   # Set -z,relro.
101188   # Note this is only for shared objects.
101189   ac_ld_relro=no
101190   if test x"$with_gnu_ld" = x"yes"; then
101191     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101192 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101193     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101194     if test -n "$cxx_z_relo"; then
101195       OPT_LDFLAGS="-Wl,-z,relro"
101196       ac_ld_relro=yes
101197     fi
101198     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101199 echo "${ECHO_T}$ac_ld_relro" >&6
101200   fi
101201
101202   # Set linker optimization flags.
101203   if test x"$with_gnu_ld" = x"yes"; then
101204     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101205   fi
101206
101207
101208
101209
101210
101211
101212 echo "$as_me:$LINENO: checking for main in -lm" >&5
101213 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101214 if test "${ac_cv_lib_m_main+set}" = set; then
101215   echo $ECHO_N "(cached) $ECHO_C" >&6
101216 else
101217   ac_check_lib_save_LIBS=$LIBS
101218 LIBS="-lm  $LIBS"
101219 if test x$gcc_no_link = xyes; then
101220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101222    { (exit 1); exit 1; }; }
101223 fi
101224 cat >conftest.$ac_ext <<_ACEOF
101225 /* confdefs.h.  */
101226 _ACEOF
101227 cat confdefs.h >>conftest.$ac_ext
101228 cat >>conftest.$ac_ext <<_ACEOF
101229 /* end confdefs.h.  */
101230
101231
101232 int
101233 main ()
101234 {
101235 main ();
101236   ;
101237   return 0;
101238 }
101239 _ACEOF
101240 rm -f conftest.$ac_objext conftest$ac_exeext
101241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101242   (eval $ac_link) 2>conftest.er1
101243   ac_status=$?
101244   grep -v '^ *+' conftest.er1 >conftest.err
101245   rm -f conftest.er1
101246   cat conftest.err >&5
101247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101248   (exit $ac_status); } &&
101249          { ac_try='test -z "$ac_c_werror_flag"
101250                          || test ! -s conftest.err'
101251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101252   (eval $ac_try) 2>&5
101253   ac_status=$?
101254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101255   (exit $ac_status); }; } &&
101256          { ac_try='test -s conftest$ac_exeext'
101257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101258   (eval $ac_try) 2>&5
101259   ac_status=$?
101260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101261   (exit $ac_status); }; }; then
101262   ac_cv_lib_m_main=yes
101263 else
101264   echo "$as_me: failed program was:" >&5
101265 sed 's/^/| /' conftest.$ac_ext >&5
101266
101267 ac_cv_lib_m_main=no
101268 fi
101269 rm -f conftest.err conftest.$ac_objext \
101270       conftest$ac_exeext conftest.$ac_ext
101271 LIBS=$ac_check_lib_save_LIBS
101272 fi
101273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101274 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101275 if test $ac_cv_lib_m_main = yes; then
101276   cat >>confdefs.h <<_ACEOF
101277 #define HAVE_LIBM 1
101278 _ACEOF
101279
101280   LIBS="-lm $LIBS"
101281
101282 fi
101283
101284
101285 for ac_func in copysignf
101286 do
101287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101288 echo "$as_me:$LINENO: checking for $ac_func" >&5
101289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101290 if eval "test \"\${$as_ac_var+set}\" = set"; then
101291   echo $ECHO_N "(cached) $ECHO_C" >&6
101292 else
101293   if test x$gcc_no_link = xyes; then
101294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101296    { (exit 1); exit 1; }; }
101297 fi
101298 cat >conftest.$ac_ext <<_ACEOF
101299 /* confdefs.h.  */
101300 _ACEOF
101301 cat confdefs.h >>conftest.$ac_ext
101302 cat >>conftest.$ac_ext <<_ACEOF
101303 /* end confdefs.h.  */
101304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101306 #define $ac_func innocuous_$ac_func
101307
101308 /* System header to define __stub macros and hopefully few prototypes,
101309     which can conflict with char $ac_func (); below.
101310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101311     <limits.h> exists even on freestanding compilers.  */
101312
101313 #ifdef __STDC__
101314 # include <limits.h>
101315 #else
101316 # include <assert.h>
101317 #endif
101318
101319 #undef $ac_func
101320
101321 /* Override any gcc2 internal prototype to avoid an error.  */
101322 #ifdef __cplusplus
101323 extern "C"
101324 {
101325 #endif
101326 /* We use char because int might match the return type of a gcc2
101327    builtin and then its argument prototype would still apply.  */
101328 char $ac_func ();
101329 /* The GNU C library defines this for functions which it implements
101330     to always fail with ENOSYS.  Some functions are actually named
101331     something starting with __ and the normal name is an alias.  */
101332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101333 choke me
101334 #else
101335 char (*f) () = $ac_func;
101336 #endif
101337 #ifdef __cplusplus
101338 }
101339 #endif
101340
101341 int
101342 main ()
101343 {
101344 return f != $ac_func;
101345   ;
101346   return 0;
101347 }
101348 _ACEOF
101349 rm -f conftest.$ac_objext conftest$ac_exeext
101350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101351   (eval $ac_link) 2>conftest.er1
101352   ac_status=$?
101353   grep -v '^ *+' conftest.er1 >conftest.err
101354   rm -f conftest.er1
101355   cat conftest.err >&5
101356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101357   (exit $ac_status); } &&
101358          { ac_try='test -z "$ac_c_werror_flag"
101359                          || test ! -s conftest.err'
101360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101361   (eval $ac_try) 2>&5
101362   ac_status=$?
101363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101364   (exit $ac_status); }; } &&
101365          { ac_try='test -s conftest$ac_exeext'
101366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101367   (eval $ac_try) 2>&5
101368   ac_status=$?
101369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101370   (exit $ac_status); }; }; then
101371   eval "$as_ac_var=yes"
101372 else
101373   echo "$as_me: failed program was:" >&5
101374 sed 's/^/| /' conftest.$ac_ext >&5
101375
101376 eval "$as_ac_var=no"
101377 fi
101378 rm -f conftest.err conftest.$ac_objext \
101379       conftest$ac_exeext conftest.$ac_ext
101380 fi
101381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101383 if test `eval echo '${'$as_ac_var'}'` = yes; then
101384   cat >>confdefs.h <<_ACEOF
101385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101386 _ACEOF
101387
101388 else
101389   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101390 fi
101391 done
101392
101393
101394
101395 for ac_func in __signbit
101396 do
101397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101398 echo "$as_me:$LINENO: checking for $ac_func" >&5
101399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101400 if eval "test \"\${$as_ac_var+set}\" = set"; then
101401   echo $ECHO_N "(cached) $ECHO_C" >&6
101402 else
101403   if test x$gcc_no_link = xyes; then
101404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101406    { (exit 1); exit 1; }; }
101407 fi
101408 cat >conftest.$ac_ext <<_ACEOF
101409 /* confdefs.h.  */
101410 _ACEOF
101411 cat confdefs.h >>conftest.$ac_ext
101412 cat >>conftest.$ac_ext <<_ACEOF
101413 /* end confdefs.h.  */
101414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101416 #define $ac_func innocuous_$ac_func
101417
101418 /* System header to define __stub macros and hopefully few prototypes,
101419     which can conflict with char $ac_func (); below.
101420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101421     <limits.h> exists even on freestanding compilers.  */
101422
101423 #ifdef __STDC__
101424 # include <limits.h>
101425 #else
101426 # include <assert.h>
101427 #endif
101428
101429 #undef $ac_func
101430
101431 /* Override any gcc2 internal prototype to avoid an error.  */
101432 #ifdef __cplusplus
101433 extern "C"
101434 {
101435 #endif
101436 /* We use char because int might match the return type of a gcc2
101437    builtin and then its argument prototype would still apply.  */
101438 char $ac_func ();
101439 /* The GNU C library defines this for functions which it implements
101440     to always fail with ENOSYS.  Some functions are actually named
101441     something starting with __ and the normal name is an alias.  */
101442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101443 choke me
101444 #else
101445 char (*f) () = $ac_func;
101446 #endif
101447 #ifdef __cplusplus
101448 }
101449 #endif
101450
101451 int
101452 main ()
101453 {
101454 return f != $ac_func;
101455   ;
101456   return 0;
101457 }
101458 _ACEOF
101459 rm -f conftest.$ac_objext conftest$ac_exeext
101460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101461   (eval $ac_link) 2>conftest.er1
101462   ac_status=$?
101463   grep -v '^ *+' conftest.er1 >conftest.err
101464   rm -f conftest.er1
101465   cat conftest.err >&5
101466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101467   (exit $ac_status); } &&
101468          { ac_try='test -z "$ac_c_werror_flag"
101469                          || test ! -s conftest.err'
101470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101471   (eval $ac_try) 2>&5
101472   ac_status=$?
101473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101474   (exit $ac_status); }; } &&
101475          { ac_try='test -s conftest$ac_exeext'
101476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101477   (eval $ac_try) 2>&5
101478   ac_status=$?
101479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101480   (exit $ac_status); }; }; then
101481   eval "$as_ac_var=yes"
101482 else
101483   echo "$as_me: failed program was:" >&5
101484 sed 's/^/| /' conftest.$ac_ext >&5
101485
101486 eval "$as_ac_var=no"
101487 fi
101488 rm -f conftest.err conftest.$ac_objext \
101489       conftest$ac_exeext conftest.$ac_ext
101490 fi
101491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101493 if test `eval echo '${'$as_ac_var'}'` = yes; then
101494   cat >>confdefs.h <<_ACEOF
101495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101496 _ACEOF
101497
101498 else
101499   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101500 fi
101501 done
101502
101503
101504
101505 for ac_func in __signbitf
101506 do
101507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101508 echo "$as_me:$LINENO: checking for $ac_func" >&5
101509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101510 if eval "test \"\${$as_ac_var+set}\" = set"; then
101511   echo $ECHO_N "(cached) $ECHO_C" >&6
101512 else
101513   if test x$gcc_no_link = xyes; then
101514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101516    { (exit 1); exit 1; }; }
101517 fi
101518 cat >conftest.$ac_ext <<_ACEOF
101519 /* confdefs.h.  */
101520 _ACEOF
101521 cat confdefs.h >>conftest.$ac_ext
101522 cat >>conftest.$ac_ext <<_ACEOF
101523 /* end confdefs.h.  */
101524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101526 #define $ac_func innocuous_$ac_func
101527
101528 /* System header to define __stub macros and hopefully few prototypes,
101529     which can conflict with char $ac_func (); below.
101530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101531     <limits.h> exists even on freestanding compilers.  */
101532
101533 #ifdef __STDC__
101534 # include <limits.h>
101535 #else
101536 # include <assert.h>
101537 #endif
101538
101539 #undef $ac_func
101540
101541 /* Override any gcc2 internal prototype to avoid an error.  */
101542 #ifdef __cplusplus
101543 extern "C"
101544 {
101545 #endif
101546 /* We use char because int might match the return type of a gcc2
101547    builtin and then its argument prototype would still apply.  */
101548 char $ac_func ();
101549 /* The GNU C library defines this for functions which it implements
101550     to always fail with ENOSYS.  Some functions are actually named
101551     something starting with __ and the normal name is an alias.  */
101552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101553 choke me
101554 #else
101555 char (*f) () = $ac_func;
101556 #endif
101557 #ifdef __cplusplus
101558 }
101559 #endif
101560
101561 int
101562 main ()
101563 {
101564 return f != $ac_func;
101565   ;
101566   return 0;
101567 }
101568 _ACEOF
101569 rm -f conftest.$ac_objext conftest$ac_exeext
101570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101571   (eval $ac_link) 2>conftest.er1
101572   ac_status=$?
101573   grep -v '^ *+' conftest.er1 >conftest.err
101574   rm -f conftest.er1
101575   cat conftest.err >&5
101576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101577   (exit $ac_status); } &&
101578          { ac_try='test -z "$ac_c_werror_flag"
101579                          || test ! -s conftest.err'
101580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101581   (eval $ac_try) 2>&5
101582   ac_status=$?
101583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101584   (exit $ac_status); }; } &&
101585          { ac_try='test -s conftest$ac_exeext'
101586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101587   (eval $ac_try) 2>&5
101588   ac_status=$?
101589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101590   (exit $ac_status); }; }; then
101591   eval "$as_ac_var=yes"
101592 else
101593   echo "$as_me: failed program was:" >&5
101594 sed 's/^/| /' conftest.$ac_ext >&5
101595
101596 eval "$as_ac_var=no"
101597 fi
101598 rm -f conftest.err conftest.$ac_objext \
101599       conftest$ac_exeext conftest.$ac_ext
101600 fi
101601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101603 if test `eval echo '${'$as_ac_var'}'` = yes; then
101604   cat >>confdefs.h <<_ACEOF
101605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101606 _ACEOF
101607
101608 else
101609   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101610 fi
101611 done
101612
101613
101614           if test x$ac_cv_func_copysignl = x"yes"; then
101615
101616 for ac_func in __signbitl
101617 do
101618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101619 echo "$as_me:$LINENO: checking for $ac_func" >&5
101620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101621 if eval "test \"\${$as_ac_var+set}\" = set"; then
101622   echo $ECHO_N "(cached) $ECHO_C" >&6
101623 else
101624   if test x$gcc_no_link = xyes; then
101625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101627    { (exit 1); exit 1; }; }
101628 fi
101629 cat >conftest.$ac_ext <<_ACEOF
101630 /* confdefs.h.  */
101631 _ACEOF
101632 cat confdefs.h >>conftest.$ac_ext
101633 cat >>conftest.$ac_ext <<_ACEOF
101634 /* end confdefs.h.  */
101635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101637 #define $ac_func innocuous_$ac_func
101638
101639 /* System header to define __stub macros and hopefully few prototypes,
101640     which can conflict with char $ac_func (); below.
101641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101642     <limits.h> exists even on freestanding compilers.  */
101643
101644 #ifdef __STDC__
101645 # include <limits.h>
101646 #else
101647 # include <assert.h>
101648 #endif
101649
101650 #undef $ac_func
101651
101652 /* Override any gcc2 internal prototype to avoid an error.  */
101653 #ifdef __cplusplus
101654 extern "C"
101655 {
101656 #endif
101657 /* We use char because int might match the return type of a gcc2
101658    builtin and then its argument prototype would still apply.  */
101659 char $ac_func ();
101660 /* The GNU C library defines this for functions which it implements
101661     to always fail with ENOSYS.  Some functions are actually named
101662     something starting with __ and the normal name is an alias.  */
101663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101664 choke me
101665 #else
101666 char (*f) () = $ac_func;
101667 #endif
101668 #ifdef __cplusplus
101669 }
101670 #endif
101671
101672 int
101673 main ()
101674 {
101675 return f != $ac_func;
101676   ;
101677   return 0;
101678 }
101679 _ACEOF
101680 rm -f conftest.$ac_objext conftest$ac_exeext
101681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101682   (eval $ac_link) 2>conftest.er1
101683   ac_status=$?
101684   grep -v '^ *+' conftest.er1 >conftest.err
101685   rm -f conftest.er1
101686   cat conftest.err >&5
101687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101688   (exit $ac_status); } &&
101689          { ac_try='test -z "$ac_c_werror_flag"
101690                          || test ! -s conftest.err'
101691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101692   (eval $ac_try) 2>&5
101693   ac_status=$?
101694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101695   (exit $ac_status); }; } &&
101696          { ac_try='test -s conftest$ac_exeext'
101697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101698   (eval $ac_try) 2>&5
101699   ac_status=$?
101700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101701   (exit $ac_status); }; }; then
101702   eval "$as_ac_var=yes"
101703 else
101704   echo "$as_me: failed program was:" >&5
101705 sed 's/^/| /' conftest.$ac_ext >&5
101706
101707 eval "$as_ac_var=no"
101708 fi
101709 rm -f conftest.err conftest.$ac_objext \
101710       conftest$ac_exeext conftest.$ac_ext
101711 fi
101712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101714 if test `eval echo '${'$as_ac_var'}'` = yes; then
101715   cat >>confdefs.h <<_ACEOF
101716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101717 _ACEOF
101718
101719 else
101720   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101721 fi
101722 done
101723
101724   fi
101725
101726   # Used in libmath/Makefile.am.
101727   if test -n "$LIBMATHOBJS"; then
101728     need_libmath=yes
101729   fi
101730
101731
101732
101733
101734   enable_iconv=no
101735   # Only continue checking if the ISO C99 headers exist and support is on.
101736   if test x"$enable_wchar_t" = xyes; then
101737
101738     # From Bruno Haible's AM_ICONV, but without link tests.
101739     # Check for existence of libiconv.a providing XPG2 wchar_t support.
101740     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
101741     # those with the standalone portable GNU libiconv installed).
101742
101743 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
101744 if test "${with_libiconv_prefix+set}" = set; then
101745   withval="$with_libiconv_prefix"
101746     for dir in `echo "$withval" | tr : ' '`; do
101747       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
101748       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
101749     done
101750     LIBICONV="$LIBICONV -liconv"
101751
101752 fi;
101753    if test x"$LIBICONV" != x; then
101754      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
101755 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
101756    fi
101757
101758     # Use iconv for wchar_t to char conversions. As such, check for
101759     # X/Open Portability Guide, version 2 features (XPG2).
101760     if test "${ac_cv_header_iconv_h+set}" = set; then
101761   echo "$as_me:$LINENO: checking for iconv.h" >&5
101762 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101763 if test "${ac_cv_header_iconv_h+set}" = set; then
101764   echo $ECHO_N "(cached) $ECHO_C" >&6
101765 fi
101766 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101767 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101768 else
101769   # Is the header compilable?
101770 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101771 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101772 cat >conftest.$ac_ext <<_ACEOF
101773 /* confdefs.h.  */
101774 _ACEOF
101775 cat confdefs.h >>conftest.$ac_ext
101776 cat >>conftest.$ac_ext <<_ACEOF
101777 /* end confdefs.h.  */
101778 $ac_includes_default
101779 #include <iconv.h>
101780 _ACEOF
101781 rm -f conftest.$ac_objext
101782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101783   (eval $ac_compile) 2>conftest.er1
101784   ac_status=$?
101785   grep -v '^ *+' conftest.er1 >conftest.err
101786   rm -f conftest.er1
101787   cat conftest.err >&5
101788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101789   (exit $ac_status); } &&
101790          { ac_try='test -z "$ac_c_werror_flag"
101791                          || test ! -s conftest.err'
101792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101793   (eval $ac_try) 2>&5
101794   ac_status=$?
101795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101796   (exit $ac_status); }; } &&
101797          { ac_try='test -s conftest.$ac_objext'
101798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101799   (eval $ac_try) 2>&5
101800   ac_status=$?
101801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101802   (exit $ac_status); }; }; then
101803   ac_header_compiler=yes
101804 else
101805   echo "$as_me: failed program was:" >&5
101806 sed 's/^/| /' conftest.$ac_ext >&5
101807
101808 ac_header_compiler=no
101809 fi
101810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101812 echo "${ECHO_T}$ac_header_compiler" >&6
101813
101814 # Is the header present?
101815 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101816 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101817 cat >conftest.$ac_ext <<_ACEOF
101818 /* confdefs.h.  */
101819 _ACEOF
101820 cat confdefs.h >>conftest.$ac_ext
101821 cat >>conftest.$ac_ext <<_ACEOF
101822 /* end confdefs.h.  */
101823 #include <iconv.h>
101824 _ACEOF
101825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101826   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101827   ac_status=$?
101828   grep -v '^ *+' conftest.er1 >conftest.err
101829   rm -f conftest.er1
101830   cat conftest.err >&5
101831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101832   (exit $ac_status); } >/dev/null; then
101833   if test -s conftest.err; then
101834     ac_cpp_err=$ac_c_preproc_warn_flag
101835     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101836   else
101837     ac_cpp_err=
101838   fi
101839 else
101840   ac_cpp_err=yes
101841 fi
101842 if test -z "$ac_cpp_err"; then
101843   ac_header_preproc=yes
101844 else
101845   echo "$as_me: failed program was:" >&5
101846 sed 's/^/| /' conftest.$ac_ext >&5
101847
101848   ac_header_preproc=no
101849 fi
101850 rm -f conftest.err conftest.$ac_ext
101851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101852 echo "${ECHO_T}$ac_header_preproc" >&6
101853
101854 # So?  What about this header?
101855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101856   yes:no: )
101857     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101858 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101859     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101860 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101861     ac_header_preproc=yes
101862     ;;
101863   no:yes:* )
101864     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101865 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101866     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
101867 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
101868     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101869 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101870     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
101871 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
101872     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101873 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101874     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101875 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101876     (
101877       cat <<\_ASBOX
101878 ## ----------------------------------------- ##
101879 ## Report this to the package-unused lists.  ##
101880 ## ----------------------------------------- ##
101881 _ASBOX
101882     ) |
101883       sed "s/^/$as_me: WARNING:     /" >&2
101884     ;;
101885 esac
101886 echo "$as_me:$LINENO: checking for iconv.h" >&5
101887 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101888 if test "${ac_cv_header_iconv_h+set}" = set; then
101889   echo $ECHO_N "(cached) $ECHO_C" >&6
101890 else
101891   ac_cv_header_iconv_h=$ac_header_preproc
101892 fi
101893 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101894 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101895
101896 fi
101897 if test $ac_cv_header_iconv_h = yes; then
101898   ac_has_iconv_h=yes
101899 else
101900   ac_has_iconv_h=no
101901 fi
101902
101903
101904     if test "${ac_cv_header_langinfo_h+set}" = set; then
101905   echo "$as_me:$LINENO: checking for langinfo.h" >&5
101906 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101907 if test "${ac_cv_header_langinfo_h+set}" = set; then
101908   echo $ECHO_N "(cached) $ECHO_C" >&6
101909 fi
101910 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101911 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101912 else
101913   # Is the header compilable?
101914 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101915 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101916 cat >conftest.$ac_ext <<_ACEOF
101917 /* confdefs.h.  */
101918 _ACEOF
101919 cat confdefs.h >>conftest.$ac_ext
101920 cat >>conftest.$ac_ext <<_ACEOF
101921 /* end confdefs.h.  */
101922 $ac_includes_default
101923 #include <langinfo.h>
101924 _ACEOF
101925 rm -f conftest.$ac_objext
101926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101927   (eval $ac_compile) 2>conftest.er1
101928   ac_status=$?
101929   grep -v '^ *+' conftest.er1 >conftest.err
101930   rm -f conftest.er1
101931   cat conftest.err >&5
101932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101933   (exit $ac_status); } &&
101934          { ac_try='test -z "$ac_c_werror_flag"
101935                          || test ! -s conftest.err'
101936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101937   (eval $ac_try) 2>&5
101938   ac_status=$?
101939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101940   (exit $ac_status); }; } &&
101941          { ac_try='test -s conftest.$ac_objext'
101942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101943   (eval $ac_try) 2>&5
101944   ac_status=$?
101945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101946   (exit $ac_status); }; }; then
101947   ac_header_compiler=yes
101948 else
101949   echo "$as_me: failed program was:" >&5
101950 sed 's/^/| /' conftest.$ac_ext >&5
101951
101952 ac_header_compiler=no
101953 fi
101954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101956 echo "${ECHO_T}$ac_header_compiler" >&6
101957
101958 # Is the header present?
101959 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101960 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101961 cat >conftest.$ac_ext <<_ACEOF
101962 /* confdefs.h.  */
101963 _ACEOF
101964 cat confdefs.h >>conftest.$ac_ext
101965 cat >>conftest.$ac_ext <<_ACEOF
101966 /* end confdefs.h.  */
101967 #include <langinfo.h>
101968 _ACEOF
101969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101970   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101971   ac_status=$?
101972   grep -v '^ *+' conftest.er1 >conftest.err
101973   rm -f conftest.er1
101974   cat conftest.err >&5
101975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101976   (exit $ac_status); } >/dev/null; then
101977   if test -s conftest.err; then
101978     ac_cpp_err=$ac_c_preproc_warn_flag
101979     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101980   else
101981     ac_cpp_err=
101982   fi
101983 else
101984   ac_cpp_err=yes
101985 fi
101986 if test -z "$ac_cpp_err"; then
101987   ac_header_preproc=yes
101988 else
101989   echo "$as_me: failed program was:" >&5
101990 sed 's/^/| /' conftest.$ac_ext >&5
101991
101992   ac_header_preproc=no
101993 fi
101994 rm -f conftest.err conftest.$ac_ext
101995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101996 echo "${ECHO_T}$ac_header_preproc" >&6
101997
101998 # So?  What about this header?
101999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102000   yes:no: )
102001     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102002 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102003     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102004 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102005     ac_header_preproc=yes
102006     ;;
102007   no:yes:* )
102008     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102009 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102010     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
102011 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
102012     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102013 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102014     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
102015 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102016     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102017 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102018     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102019 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102020     (
102021       cat <<\_ASBOX
102022 ## ----------------------------------------- ##
102023 ## Report this to the package-unused lists.  ##
102024 ## ----------------------------------------- ##
102025 _ASBOX
102026     ) |
102027       sed "s/^/$as_me: WARNING:     /" >&2
102028     ;;
102029 esac
102030 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102031 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102032 if test "${ac_cv_header_langinfo_h+set}" = set; then
102033   echo $ECHO_N "(cached) $ECHO_C" >&6
102034 else
102035   ac_cv_header_langinfo_h=$ac_header_preproc
102036 fi
102037 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102038 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102039
102040 fi
102041 if test $ac_cv_header_langinfo_h = yes; then
102042   ac_has_langinfo_h=yes
102043 else
102044   ac_has_langinfo_h=no
102045 fi
102046
102047
102048
102049     ac_save_LIBS="$LIBS"
102050     LIBS="$LIBS $LIBICONV"
102051
102052
102053
102054
102055 for ac_func in iconv_open iconv_close iconv nl_langinfo
102056 do
102057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102058 echo "$as_me:$LINENO: checking for $ac_func" >&5
102059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102060 if eval "test \"\${$as_ac_var+set}\" = set"; then
102061   echo $ECHO_N "(cached) $ECHO_C" >&6
102062 else
102063   if test x$gcc_no_link = xyes; then
102064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102066    { (exit 1); exit 1; }; }
102067 fi
102068 cat >conftest.$ac_ext <<_ACEOF
102069 /* confdefs.h.  */
102070 _ACEOF
102071 cat confdefs.h >>conftest.$ac_ext
102072 cat >>conftest.$ac_ext <<_ACEOF
102073 /* end confdefs.h.  */
102074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102076 #define $ac_func innocuous_$ac_func
102077
102078 /* System header to define __stub macros and hopefully few prototypes,
102079     which can conflict with char $ac_func (); below.
102080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102081     <limits.h> exists even on freestanding compilers.  */
102082
102083 #ifdef __STDC__
102084 # include <limits.h>
102085 #else
102086 # include <assert.h>
102087 #endif
102088
102089 #undef $ac_func
102090
102091 /* Override any gcc2 internal prototype to avoid an error.  */
102092 #ifdef __cplusplus
102093 extern "C"
102094 {
102095 #endif
102096 /* We use char because int might match the return type of a gcc2
102097    builtin and then its argument prototype would still apply.  */
102098 char $ac_func ();
102099 /* The GNU C library defines this for functions which it implements
102100     to always fail with ENOSYS.  Some functions are actually named
102101     something starting with __ and the normal name is an alias.  */
102102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102103 choke me
102104 #else
102105 char (*f) () = $ac_func;
102106 #endif
102107 #ifdef __cplusplus
102108 }
102109 #endif
102110
102111 int
102112 main ()
102113 {
102114 return f != $ac_func;
102115   ;
102116   return 0;
102117 }
102118 _ACEOF
102119 rm -f conftest.$ac_objext conftest$ac_exeext
102120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102121   (eval $ac_link) 2>conftest.er1
102122   ac_status=$?
102123   grep -v '^ *+' conftest.er1 >conftest.err
102124   rm -f conftest.er1
102125   cat conftest.err >&5
102126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102127   (exit $ac_status); } &&
102128          { ac_try='test -z "$ac_c_werror_flag"
102129                          || test ! -s conftest.err'
102130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102131   (eval $ac_try) 2>&5
102132   ac_status=$?
102133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102134   (exit $ac_status); }; } &&
102135          { ac_try='test -s conftest$ac_exeext'
102136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102137   (eval $ac_try) 2>&5
102138   ac_status=$?
102139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102140   (exit $ac_status); }; }; then
102141   eval "$as_ac_var=yes"
102142 else
102143   echo "$as_me: failed program was:" >&5
102144 sed 's/^/| /' conftest.$ac_ext >&5
102145
102146 eval "$as_ac_var=no"
102147 fi
102148 rm -f conftest.err conftest.$ac_objext \
102149       conftest$ac_exeext conftest.$ac_ext
102150 fi
102151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102153 if test `eval echo '${'$as_ac_var'}'` = yes; then
102154   cat >>confdefs.h <<_ACEOF
102155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102156 _ACEOF
102157  ac_XPG2funcs=yes
102158 else
102159   ac_XPG2funcs=no
102160 fi
102161 done
102162
102163     LIBS="$ac_save_LIBS"
102164
102165     if test x"$ac_has_iconv_h" = xyes &&
102166        test x"$ac_has_langinfo_h" = xyes &&
102167        test x"$ac_XPG2funcs" = xyes;
102168     then
102169
102170 cat >>confdefs.h <<\_ACEOF
102171 #define _GLIBCXX_USE_ICONV 1
102172 _ACEOF
102173
102174       enable_iconv=yes
102175
102176     fi
102177   fi
102178   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102179 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102180   echo "$as_me:$LINENO: result: $enable_iconv" >&5
102181 echo "${ECHO_T}$enable_iconv" >&6
102182
102183     cat >>confdefs.h <<\_ACEOF
102184 #define HAVE_COPYSIGN 1
102185 _ACEOF
102186
102187     cat >>confdefs.h <<\_ACEOF
102188 #define HAVE_COPYSIGNF 1
102189 _ACEOF
102190
102191     cat >>confdefs.h <<\_ACEOF
102192 #define HAVE_FINITEF 1
102193 _ACEOF
102194
102195     cat >>confdefs.h <<\_ACEOF
102196 #define HAVE_FINITE 1
102197 _ACEOF
102198
102199     cat >>confdefs.h <<\_ACEOF
102200 #define HAVE_FREXPF 1
102201 _ACEOF
102202
102203     cat >>confdefs.h <<\_ACEOF
102204 #define HAVE_HYPOTF 1
102205 _ACEOF
102206
102207     cat >>confdefs.h <<\_ACEOF
102208 #define HAVE_ISINF 1
102209 _ACEOF
102210
102211     cat >>confdefs.h <<\_ACEOF
102212 #define HAVE_ISINFF 1
102213 _ACEOF
102214
102215     cat >>confdefs.h <<\_ACEOF
102216 #define HAVE_ISNAN 1
102217 _ACEOF
102218
102219     cat >>confdefs.h <<\_ACEOF
102220 #define HAVE_ISNANF 1
102221 _ACEOF
102222
102223     if test x"long_double_math_on_this_cpu" = x"yes"; then
102224       cat >>confdefs.h <<\_ACEOF
102225 #define HAVE_FINITEL 1
102226 _ACEOF
102227
102228       cat >>confdefs.h <<\_ACEOF
102229 #define HAVE_ISINFL 1
102230 _ACEOF
102231
102232       cat >>confdefs.h <<\_ACEOF
102233 #define HAVE_ISNANL 1
102234 _ACEOF
102235
102236     fi
102237     ;;
102238   *-netware)
102239
102240
102241
102242
102243
102244
102245
102246
102247 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
102248       sys/types.h locale.h float.h inttypes.h
102249 do
102250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102252   echo "$as_me:$LINENO: checking for $ac_header" >&5
102253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102255   echo $ECHO_N "(cached) $ECHO_C" >&6
102256 fi
102257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102259 else
102260   # Is the header compilable?
102261 echo "$as_me:$LINENO: checking $ac_header usability" >&5
102262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102263 cat >conftest.$ac_ext <<_ACEOF
102264 /* confdefs.h.  */
102265 _ACEOF
102266 cat confdefs.h >>conftest.$ac_ext
102267 cat >>conftest.$ac_ext <<_ACEOF
102268 /* end confdefs.h.  */
102269 $ac_includes_default
102270 #include <$ac_header>
102271 _ACEOF
102272 rm -f conftest.$ac_objext
102273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102274   (eval $ac_compile) 2>conftest.er1
102275   ac_status=$?
102276   grep -v '^ *+' conftest.er1 >conftest.err
102277   rm -f conftest.er1
102278   cat conftest.err >&5
102279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102280   (exit $ac_status); } &&
102281          { ac_try='test -z "$ac_c_werror_flag"
102282                          || test ! -s conftest.err'
102283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102284   (eval $ac_try) 2>&5
102285   ac_status=$?
102286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102287   (exit $ac_status); }; } &&
102288          { ac_try='test -s conftest.$ac_objext'
102289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102290   (eval $ac_try) 2>&5
102291   ac_status=$?
102292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102293   (exit $ac_status); }; }; then
102294   ac_header_compiler=yes
102295 else
102296   echo "$as_me: failed program was:" >&5
102297 sed 's/^/| /' conftest.$ac_ext >&5
102298
102299 ac_header_compiler=no
102300 fi
102301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102303 echo "${ECHO_T}$ac_header_compiler" >&6
102304
102305 # Is the header present?
102306 echo "$as_me:$LINENO: checking $ac_header presence" >&5
102307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102308 cat >conftest.$ac_ext <<_ACEOF
102309 /* confdefs.h.  */
102310 _ACEOF
102311 cat confdefs.h >>conftest.$ac_ext
102312 cat >>conftest.$ac_ext <<_ACEOF
102313 /* end confdefs.h.  */
102314 #include <$ac_header>
102315 _ACEOF
102316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102318   ac_status=$?
102319   grep -v '^ *+' conftest.er1 >conftest.err
102320   rm -f conftest.er1
102321   cat conftest.err >&5
102322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102323   (exit $ac_status); } >/dev/null; then
102324   if test -s conftest.err; then
102325     ac_cpp_err=$ac_c_preproc_warn_flag
102326     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102327   else
102328     ac_cpp_err=
102329   fi
102330 else
102331   ac_cpp_err=yes
102332 fi
102333 if test -z "$ac_cpp_err"; then
102334   ac_header_preproc=yes
102335 else
102336   echo "$as_me: failed program was:" >&5
102337 sed 's/^/| /' conftest.$ac_ext >&5
102338
102339   ac_header_preproc=no
102340 fi
102341 rm -f conftest.err conftest.$ac_ext
102342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102343 echo "${ECHO_T}$ac_header_preproc" >&6
102344
102345 # So?  What about this header?
102346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102347   yes:no: )
102348     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102349 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102350     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102351 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102352     ac_header_preproc=yes
102353     ;;
102354   no:yes:* )
102355     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102357     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
102358 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
102359     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102360 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102361     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
102362 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
102363     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102365     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102366 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102367     (
102368       cat <<\_ASBOX
102369 ## ----------------------------------------- ##
102370 ## Report this to the package-unused lists.  ##
102371 ## ----------------------------------------- ##
102372 _ASBOX
102373     ) |
102374       sed "s/^/$as_me: WARNING:     /" >&2
102375     ;;
102376 esac
102377 echo "$as_me:$LINENO: checking for $ac_header" >&5
102378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102380   echo $ECHO_N "(cached) $ECHO_C" >&6
102381 else
102382   eval "$as_ac_Header=\$ac_header_preproc"
102383 fi
102384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102386
102387 fi
102388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
102389   cat >>confdefs.h <<_ACEOF
102390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102391 _ACEOF
102392
102393 fi
102394
102395 done
102396
102397     SECTION_FLAGS='-ffunction-sections -fdata-sections'
102398
102399
102400   # If we're not using GNU ld, then there's no point in even trying these
102401   # tests.  Check for that first.  We should have already tested for gld
102402   # by now (in libtool), but require it now just to be safe...
102403   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102404   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102405
102406
102407
102408   # The name set by libtool depends on the version of libtool.  Shame on us
102409   # for depending on an impl detail, but c'est la vie.  Older versions used
102410   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102411   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102412   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102413   # set (hence we're using an older libtool), then set it.
102414   if test x${with_gnu_ld+set} != xset; then
102415     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102416       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102417       with_gnu_ld=no
102418     else
102419       with_gnu_ld=$ac_cv_prog_gnu_ld
102420     fi
102421   fi
102422
102423   # Start by getting the version number.  I think the libtool test already
102424   # does some of this, but throws away the result.
102425   if test x"$with_gnu_ld" = x"yes"; then
102426     echo "$as_me:$LINENO: checking for ld version" >&5
102427 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102428
102429     ldver=`$LD --version 2>/dev/null | head -1 | \
102430            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
102431
102432     glibcxx_gnu_ld_version=`echo $ldver | \
102433            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102434     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102435 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102436   fi
102437
102438   # Set --gc-sections.
102439   glibcxx_gcsections_min_ld=21602
102440   if test x"$with_gnu_ld" = x"yes" &&
102441         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102442
102443     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102444     # NB: This flag only works reliably after 2.16.1. Configure tests
102445     # for this are difficult, so hard wire a value that should work.
102446
102447     # All these tests are for C++, but run with the "C" compiler driver.
102448     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102449     ac_test_CFLAGS="${CFLAGS+set}"
102450     ac_save_CFLAGS="$CFLAGS"
102451     CFLAGS='-x c++ -Wl,--gc-sections'
102452
102453     # Check for -Wl,--gc-sections
102454     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102455 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102456     if test x$gcc_no_link = xyes; then
102457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102459    { (exit 1); exit 1; }; }
102460 fi
102461 cat >conftest.$ac_ext <<_ACEOF
102462 /* confdefs.h.  */
102463 _ACEOF
102464 cat confdefs.h >>conftest.$ac_ext
102465 cat >>conftest.$ac_ext <<_ACEOF
102466 /* end confdefs.h.  */
102467  int one(void) { return 1; }
102468      int two(void) { return 2; }
102469
102470 int
102471 main ()
102472 {
102473  two();
102474   ;
102475   return 0;
102476 }
102477 _ACEOF
102478 rm -f conftest.$ac_objext conftest$ac_exeext
102479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102480   (eval $ac_link) 2>conftest.er1
102481   ac_status=$?
102482   grep -v '^ *+' conftest.er1 >conftest.err
102483   rm -f conftest.er1
102484   cat conftest.err >&5
102485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102486   (exit $ac_status); } &&
102487          { ac_try='test -z "$ac_c_werror_flag"
102488                          || test ! -s conftest.err'
102489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102490   (eval $ac_try) 2>&5
102491   ac_status=$?
102492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102493   (exit $ac_status); }; } &&
102494          { ac_try='test -s conftest$ac_exeext'
102495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102496   (eval $ac_try) 2>&5
102497   ac_status=$?
102498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102499   (exit $ac_status); }; }; then
102500   ac_gcsections=yes
102501 else
102502   echo "$as_me: failed program was:" >&5
102503 sed 's/^/| /' conftest.$ac_ext >&5
102504
102505 ac_gcsections=no
102506 fi
102507 rm -f conftest.err conftest.$ac_objext \
102508       conftest$ac_exeext conftest.$ac_ext
102509     if test "$ac_gcsections" = "yes"; then
102510       rm -f conftest.c
102511       touch conftest.c
102512       if $CC -c conftest.c; then
102513         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102514            grep "Warning: gc-sections option ignored" > /dev/null; then
102515           ac_gcsections=no
102516         fi
102517       fi
102518       rm -f conftest.c conftest.o conftest
102519     fi
102520     if test "$ac_gcsections" = "yes"; then
102521       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102522     fi
102523     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102524 echo "${ECHO_T}$ac_gcsections" >&6
102525
102526     if test "$ac_test_CFLAGS" = set; then
102527       CFLAGS="$ac_save_CFLAGS"
102528     else
102529       # this is the suspicious part
102530       CFLAGS=''
102531     fi
102532   fi
102533
102534   # Set -z,relro.
102535   # Note this is only for shared objects.
102536   ac_ld_relro=no
102537   if test x"$with_gnu_ld" = x"yes"; then
102538     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102539 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102540     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102541     if test -n "$cxx_z_relo"; then
102542       OPT_LDFLAGS="-Wl,-z,relro"
102543       ac_ld_relro=yes
102544     fi
102545     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102546 echo "${ECHO_T}$ac_ld_relro" >&6
102547   fi
102548
102549   # Set linker optimization flags.
102550   if test x"$with_gnu_ld" = x"yes"; then
102551     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102552   fi
102553
102554
102555
102556
102557
102558
102559 echo "$as_me:$LINENO: checking for main in -lm" >&5
102560 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102561 if test "${ac_cv_lib_m_main+set}" = set; then
102562   echo $ECHO_N "(cached) $ECHO_C" >&6
102563 else
102564   ac_check_lib_save_LIBS=$LIBS
102565 LIBS="-lm  $LIBS"
102566 if test x$gcc_no_link = xyes; then
102567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102569    { (exit 1); exit 1; }; }
102570 fi
102571 cat >conftest.$ac_ext <<_ACEOF
102572 /* confdefs.h.  */
102573 _ACEOF
102574 cat confdefs.h >>conftest.$ac_ext
102575 cat >>conftest.$ac_ext <<_ACEOF
102576 /* end confdefs.h.  */
102577
102578
102579 int
102580 main ()
102581 {
102582 main ();
102583   ;
102584   return 0;
102585 }
102586 _ACEOF
102587 rm -f conftest.$ac_objext conftest$ac_exeext
102588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102589   (eval $ac_link) 2>conftest.er1
102590   ac_status=$?
102591   grep -v '^ *+' conftest.er1 >conftest.err
102592   rm -f conftest.er1
102593   cat conftest.err >&5
102594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102595   (exit $ac_status); } &&
102596          { ac_try='test -z "$ac_c_werror_flag"
102597                          || test ! -s conftest.err'
102598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102599   (eval $ac_try) 2>&5
102600   ac_status=$?
102601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102602   (exit $ac_status); }; } &&
102603          { ac_try='test -s conftest$ac_exeext'
102604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102605   (eval $ac_try) 2>&5
102606   ac_status=$?
102607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102608   (exit $ac_status); }; }; then
102609   ac_cv_lib_m_main=yes
102610 else
102611   echo "$as_me: failed program was:" >&5
102612 sed 's/^/| /' conftest.$ac_ext >&5
102613
102614 ac_cv_lib_m_main=no
102615 fi
102616 rm -f conftest.err conftest.$ac_objext \
102617       conftest$ac_exeext conftest.$ac_ext
102618 LIBS=$ac_check_lib_save_LIBS
102619 fi
102620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102621 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102622 if test $ac_cv_lib_m_main = yes; then
102623   cat >>confdefs.h <<_ACEOF
102624 #define HAVE_LIBM 1
102625 _ACEOF
102626
102627   LIBS="-lm $LIBS"
102628
102629 fi
102630
102631
102632 for ac_func in copysignf
102633 do
102634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102635 echo "$as_me:$LINENO: checking for $ac_func" >&5
102636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102637 if eval "test \"\${$as_ac_var+set}\" = set"; then
102638   echo $ECHO_N "(cached) $ECHO_C" >&6
102639 else
102640   if test x$gcc_no_link = xyes; then
102641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102643    { (exit 1); exit 1; }; }
102644 fi
102645 cat >conftest.$ac_ext <<_ACEOF
102646 /* confdefs.h.  */
102647 _ACEOF
102648 cat confdefs.h >>conftest.$ac_ext
102649 cat >>conftest.$ac_ext <<_ACEOF
102650 /* end confdefs.h.  */
102651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102653 #define $ac_func innocuous_$ac_func
102654
102655 /* System header to define __stub macros and hopefully few prototypes,
102656     which can conflict with char $ac_func (); below.
102657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102658     <limits.h> exists even on freestanding compilers.  */
102659
102660 #ifdef __STDC__
102661 # include <limits.h>
102662 #else
102663 # include <assert.h>
102664 #endif
102665
102666 #undef $ac_func
102667
102668 /* Override any gcc2 internal prototype to avoid an error.  */
102669 #ifdef __cplusplus
102670 extern "C"
102671 {
102672 #endif
102673 /* We use char because int might match the return type of a gcc2
102674    builtin and then its argument prototype would still apply.  */
102675 char $ac_func ();
102676 /* The GNU C library defines this for functions which it implements
102677     to always fail with ENOSYS.  Some functions are actually named
102678     something starting with __ and the normal name is an alias.  */
102679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102680 choke me
102681 #else
102682 char (*f) () = $ac_func;
102683 #endif
102684 #ifdef __cplusplus
102685 }
102686 #endif
102687
102688 int
102689 main ()
102690 {
102691 return f != $ac_func;
102692   ;
102693   return 0;
102694 }
102695 _ACEOF
102696 rm -f conftest.$ac_objext conftest$ac_exeext
102697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102698   (eval $ac_link) 2>conftest.er1
102699   ac_status=$?
102700   grep -v '^ *+' conftest.er1 >conftest.err
102701   rm -f conftest.er1
102702   cat conftest.err >&5
102703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102704   (exit $ac_status); } &&
102705          { ac_try='test -z "$ac_c_werror_flag"
102706                          || test ! -s conftest.err'
102707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102708   (eval $ac_try) 2>&5
102709   ac_status=$?
102710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102711   (exit $ac_status); }; } &&
102712          { ac_try='test -s conftest$ac_exeext'
102713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102714   (eval $ac_try) 2>&5
102715   ac_status=$?
102716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102717   (exit $ac_status); }; }; then
102718   eval "$as_ac_var=yes"
102719 else
102720   echo "$as_me: failed program was:" >&5
102721 sed 's/^/| /' conftest.$ac_ext >&5
102722
102723 eval "$as_ac_var=no"
102724 fi
102725 rm -f conftest.err conftest.$ac_objext \
102726       conftest$ac_exeext conftest.$ac_ext
102727 fi
102728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102730 if test `eval echo '${'$as_ac_var'}'` = yes; then
102731   cat >>confdefs.h <<_ACEOF
102732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102733 _ACEOF
102734
102735 else
102736   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102737 fi
102738 done
102739
102740
102741
102742 for ac_func in __signbit
102743 do
102744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102745 echo "$as_me:$LINENO: checking for $ac_func" >&5
102746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102747 if eval "test \"\${$as_ac_var+set}\" = set"; then
102748   echo $ECHO_N "(cached) $ECHO_C" >&6
102749 else
102750   if test x$gcc_no_link = xyes; then
102751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102753    { (exit 1); exit 1; }; }
102754 fi
102755 cat >conftest.$ac_ext <<_ACEOF
102756 /* confdefs.h.  */
102757 _ACEOF
102758 cat confdefs.h >>conftest.$ac_ext
102759 cat >>conftest.$ac_ext <<_ACEOF
102760 /* end confdefs.h.  */
102761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102763 #define $ac_func innocuous_$ac_func
102764
102765 /* System header to define __stub macros and hopefully few prototypes,
102766     which can conflict with char $ac_func (); below.
102767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102768     <limits.h> exists even on freestanding compilers.  */
102769
102770 #ifdef __STDC__
102771 # include <limits.h>
102772 #else
102773 # include <assert.h>
102774 #endif
102775
102776 #undef $ac_func
102777
102778 /* Override any gcc2 internal prototype to avoid an error.  */
102779 #ifdef __cplusplus
102780 extern "C"
102781 {
102782 #endif
102783 /* We use char because int might match the return type of a gcc2
102784    builtin and then its argument prototype would still apply.  */
102785 char $ac_func ();
102786 /* The GNU C library defines this for functions which it implements
102787     to always fail with ENOSYS.  Some functions are actually named
102788     something starting with __ and the normal name is an alias.  */
102789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102790 choke me
102791 #else
102792 char (*f) () = $ac_func;
102793 #endif
102794 #ifdef __cplusplus
102795 }
102796 #endif
102797
102798 int
102799 main ()
102800 {
102801 return f != $ac_func;
102802   ;
102803   return 0;
102804 }
102805 _ACEOF
102806 rm -f conftest.$ac_objext conftest$ac_exeext
102807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102808   (eval $ac_link) 2>conftest.er1
102809   ac_status=$?
102810   grep -v '^ *+' conftest.er1 >conftest.err
102811   rm -f conftest.er1
102812   cat conftest.err >&5
102813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102814   (exit $ac_status); } &&
102815          { ac_try='test -z "$ac_c_werror_flag"
102816                          || test ! -s conftest.err'
102817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102818   (eval $ac_try) 2>&5
102819   ac_status=$?
102820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102821   (exit $ac_status); }; } &&
102822          { ac_try='test -s conftest$ac_exeext'
102823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102824   (eval $ac_try) 2>&5
102825   ac_status=$?
102826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102827   (exit $ac_status); }; }; then
102828   eval "$as_ac_var=yes"
102829 else
102830   echo "$as_me: failed program was:" >&5
102831 sed 's/^/| /' conftest.$ac_ext >&5
102832
102833 eval "$as_ac_var=no"
102834 fi
102835 rm -f conftest.err conftest.$ac_objext \
102836       conftest$ac_exeext conftest.$ac_ext
102837 fi
102838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102840 if test `eval echo '${'$as_ac_var'}'` = yes; then
102841   cat >>confdefs.h <<_ACEOF
102842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102843 _ACEOF
102844
102845 else
102846   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102847 fi
102848 done
102849
102850
102851
102852 for ac_func in __signbitf
102853 do
102854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102855 echo "$as_me:$LINENO: checking for $ac_func" >&5
102856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102857 if eval "test \"\${$as_ac_var+set}\" = set"; then
102858   echo $ECHO_N "(cached) $ECHO_C" >&6
102859 else
102860   if test x$gcc_no_link = xyes; then
102861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102863    { (exit 1); exit 1; }; }
102864 fi
102865 cat >conftest.$ac_ext <<_ACEOF
102866 /* confdefs.h.  */
102867 _ACEOF
102868 cat confdefs.h >>conftest.$ac_ext
102869 cat >>conftest.$ac_ext <<_ACEOF
102870 /* end confdefs.h.  */
102871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102873 #define $ac_func innocuous_$ac_func
102874
102875 /* System header to define __stub macros and hopefully few prototypes,
102876     which can conflict with char $ac_func (); below.
102877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102878     <limits.h> exists even on freestanding compilers.  */
102879
102880 #ifdef __STDC__
102881 # include <limits.h>
102882 #else
102883 # include <assert.h>
102884 #endif
102885
102886 #undef $ac_func
102887
102888 /* Override any gcc2 internal prototype to avoid an error.  */
102889 #ifdef __cplusplus
102890 extern "C"
102891 {
102892 #endif
102893 /* We use char because int might match the return type of a gcc2
102894    builtin and then its argument prototype would still apply.  */
102895 char $ac_func ();
102896 /* The GNU C library defines this for functions which it implements
102897     to always fail with ENOSYS.  Some functions are actually named
102898     something starting with __ and the normal name is an alias.  */
102899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102900 choke me
102901 #else
102902 char (*f) () = $ac_func;
102903 #endif
102904 #ifdef __cplusplus
102905 }
102906 #endif
102907
102908 int
102909 main ()
102910 {
102911 return f != $ac_func;
102912   ;
102913   return 0;
102914 }
102915 _ACEOF
102916 rm -f conftest.$ac_objext conftest$ac_exeext
102917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102918   (eval $ac_link) 2>conftest.er1
102919   ac_status=$?
102920   grep -v '^ *+' conftest.er1 >conftest.err
102921   rm -f conftest.er1
102922   cat conftest.err >&5
102923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102924   (exit $ac_status); } &&
102925          { ac_try='test -z "$ac_c_werror_flag"
102926                          || test ! -s conftest.err'
102927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102928   (eval $ac_try) 2>&5
102929   ac_status=$?
102930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102931   (exit $ac_status); }; } &&
102932          { ac_try='test -s conftest$ac_exeext'
102933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102934   (eval $ac_try) 2>&5
102935   ac_status=$?
102936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102937   (exit $ac_status); }; }; then
102938   eval "$as_ac_var=yes"
102939 else
102940   echo "$as_me: failed program was:" >&5
102941 sed 's/^/| /' conftest.$ac_ext >&5
102942
102943 eval "$as_ac_var=no"
102944 fi
102945 rm -f conftest.err conftest.$ac_objext \
102946       conftest$ac_exeext conftest.$ac_ext
102947 fi
102948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102950 if test `eval echo '${'$as_ac_var'}'` = yes; then
102951   cat >>confdefs.h <<_ACEOF
102952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102953 _ACEOF
102954
102955 else
102956   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102957 fi
102958 done
102959
102960
102961           if test x$ac_cv_func_copysignl = x"yes"; then
102962
102963 for ac_func in __signbitl
102964 do
102965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102966 echo "$as_me:$LINENO: checking for $ac_func" >&5
102967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102968 if eval "test \"\${$as_ac_var+set}\" = set"; then
102969   echo $ECHO_N "(cached) $ECHO_C" >&6
102970 else
102971   if test x$gcc_no_link = xyes; then
102972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102974    { (exit 1); exit 1; }; }
102975 fi
102976 cat >conftest.$ac_ext <<_ACEOF
102977 /* confdefs.h.  */
102978 _ACEOF
102979 cat confdefs.h >>conftest.$ac_ext
102980 cat >>conftest.$ac_ext <<_ACEOF
102981 /* end confdefs.h.  */
102982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102984 #define $ac_func innocuous_$ac_func
102985
102986 /* System header to define __stub macros and hopefully few prototypes,
102987     which can conflict with char $ac_func (); below.
102988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102989     <limits.h> exists even on freestanding compilers.  */
102990
102991 #ifdef __STDC__
102992 # include <limits.h>
102993 #else
102994 # include <assert.h>
102995 #endif
102996
102997 #undef $ac_func
102998
102999 /* Override any gcc2 internal prototype to avoid an error.  */
103000 #ifdef __cplusplus
103001 extern "C"
103002 {
103003 #endif
103004 /* We use char because int might match the return type of a gcc2
103005    builtin and then its argument prototype would still apply.  */
103006 char $ac_func ();
103007 /* The GNU C library defines this for functions which it implements
103008     to always fail with ENOSYS.  Some functions are actually named
103009     something starting with __ and the normal name is an alias.  */
103010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103011 choke me
103012 #else
103013 char (*f) () = $ac_func;
103014 #endif
103015 #ifdef __cplusplus
103016 }
103017 #endif
103018
103019 int
103020 main ()
103021 {
103022 return f != $ac_func;
103023   ;
103024   return 0;
103025 }
103026 _ACEOF
103027 rm -f conftest.$ac_objext conftest$ac_exeext
103028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103029   (eval $ac_link) 2>conftest.er1
103030   ac_status=$?
103031   grep -v '^ *+' conftest.er1 >conftest.err
103032   rm -f conftest.er1
103033   cat conftest.err >&5
103034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103035   (exit $ac_status); } &&
103036          { ac_try='test -z "$ac_c_werror_flag"
103037                          || test ! -s conftest.err'
103038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103039   (eval $ac_try) 2>&5
103040   ac_status=$?
103041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103042   (exit $ac_status); }; } &&
103043          { ac_try='test -s conftest$ac_exeext'
103044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103045   (eval $ac_try) 2>&5
103046   ac_status=$?
103047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103048   (exit $ac_status); }; }; then
103049   eval "$as_ac_var=yes"
103050 else
103051   echo "$as_me: failed program was:" >&5
103052 sed 's/^/| /' conftest.$ac_ext >&5
103053
103054 eval "$as_ac_var=no"
103055 fi
103056 rm -f conftest.err conftest.$ac_objext \
103057       conftest$ac_exeext conftest.$ac_ext
103058 fi
103059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103061 if test `eval echo '${'$as_ac_var'}'` = yes; then
103062   cat >>confdefs.h <<_ACEOF
103063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103064 _ACEOF
103065
103066 else
103067   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103068 fi
103069 done
103070
103071   fi
103072
103073   # Used in libmath/Makefile.am.
103074   if test -n "$LIBMATHOBJS"; then
103075     need_libmath=yes
103076   fi
103077
103078
103079
103080
103081   enable_iconv=no
103082   # Only continue checking if the ISO C99 headers exist and support is on.
103083   if test x"$enable_wchar_t" = xyes; then
103084
103085     # From Bruno Haible's AM_ICONV, but without link tests.
103086     # Check for existence of libiconv.a providing XPG2 wchar_t support.
103087     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
103088     # those with the standalone portable GNU libiconv installed).
103089
103090 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
103091 if test "${with_libiconv_prefix+set}" = set; then
103092   withval="$with_libiconv_prefix"
103093     for dir in `echo "$withval" | tr : ' '`; do
103094       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
103095       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
103096     done
103097     LIBICONV="$LIBICONV -liconv"
103098
103099 fi;
103100    if test x"$LIBICONV" != x; then
103101      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
103102 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
103103    fi
103104
103105     # Use iconv for wchar_t to char conversions. As such, check for
103106     # X/Open Portability Guide, version 2 features (XPG2).
103107     if test "${ac_cv_header_iconv_h+set}" = set; then
103108   echo "$as_me:$LINENO: checking for iconv.h" >&5
103109 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103110 if test "${ac_cv_header_iconv_h+set}" = set; then
103111   echo $ECHO_N "(cached) $ECHO_C" >&6
103112 fi
103113 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103114 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103115 else
103116   # Is the header compilable?
103117 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103118 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103119 cat >conftest.$ac_ext <<_ACEOF
103120 /* confdefs.h.  */
103121 _ACEOF
103122 cat confdefs.h >>conftest.$ac_ext
103123 cat >>conftest.$ac_ext <<_ACEOF
103124 /* end confdefs.h.  */
103125 $ac_includes_default
103126 #include <iconv.h>
103127 _ACEOF
103128 rm -f conftest.$ac_objext
103129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103130   (eval $ac_compile) 2>conftest.er1
103131   ac_status=$?
103132   grep -v '^ *+' conftest.er1 >conftest.err
103133   rm -f conftest.er1
103134   cat conftest.err >&5
103135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103136   (exit $ac_status); } &&
103137          { ac_try='test -z "$ac_c_werror_flag"
103138                          || test ! -s conftest.err'
103139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103140   (eval $ac_try) 2>&5
103141   ac_status=$?
103142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103143   (exit $ac_status); }; } &&
103144          { ac_try='test -s conftest.$ac_objext'
103145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103146   (eval $ac_try) 2>&5
103147   ac_status=$?
103148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103149   (exit $ac_status); }; }; then
103150   ac_header_compiler=yes
103151 else
103152   echo "$as_me: failed program was:" >&5
103153 sed 's/^/| /' conftest.$ac_ext >&5
103154
103155 ac_header_compiler=no
103156 fi
103157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103159 echo "${ECHO_T}$ac_header_compiler" >&6
103160
103161 # Is the header present?
103162 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103163 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103164 cat >conftest.$ac_ext <<_ACEOF
103165 /* confdefs.h.  */
103166 _ACEOF
103167 cat confdefs.h >>conftest.$ac_ext
103168 cat >>conftest.$ac_ext <<_ACEOF
103169 /* end confdefs.h.  */
103170 #include <iconv.h>
103171 _ACEOF
103172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103173   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103174   ac_status=$?
103175   grep -v '^ *+' conftest.er1 >conftest.err
103176   rm -f conftest.er1
103177   cat conftest.err >&5
103178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103179   (exit $ac_status); } >/dev/null; then
103180   if test -s conftest.err; then
103181     ac_cpp_err=$ac_c_preproc_warn_flag
103182     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103183   else
103184     ac_cpp_err=
103185   fi
103186 else
103187   ac_cpp_err=yes
103188 fi
103189 if test -z "$ac_cpp_err"; then
103190   ac_header_preproc=yes
103191 else
103192   echo "$as_me: failed program was:" >&5
103193 sed 's/^/| /' conftest.$ac_ext >&5
103194
103195   ac_header_preproc=no
103196 fi
103197 rm -f conftest.err conftest.$ac_ext
103198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103199 echo "${ECHO_T}$ac_header_preproc" >&6
103200
103201 # So?  What about this header?
103202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103203   yes:no: )
103204     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103205 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103206     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103207 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103208     ac_header_preproc=yes
103209     ;;
103210   no:yes:* )
103211     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103212 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103213     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
103214 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
103215     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103216 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103217     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
103218 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103219     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103220 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103221     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103222 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103223     (
103224       cat <<\_ASBOX
103225 ## ----------------------------------------- ##
103226 ## Report this to the package-unused lists.  ##
103227 ## ----------------------------------------- ##
103228 _ASBOX
103229     ) |
103230       sed "s/^/$as_me: WARNING:     /" >&2
103231     ;;
103232 esac
103233 echo "$as_me:$LINENO: checking for iconv.h" >&5
103234 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103235 if test "${ac_cv_header_iconv_h+set}" = set; then
103236   echo $ECHO_N "(cached) $ECHO_C" >&6
103237 else
103238   ac_cv_header_iconv_h=$ac_header_preproc
103239 fi
103240 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103241 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103242
103243 fi
103244 if test $ac_cv_header_iconv_h = yes; then
103245   ac_has_iconv_h=yes
103246 else
103247   ac_has_iconv_h=no
103248 fi
103249
103250
103251     if test "${ac_cv_header_langinfo_h+set}" = set; then
103252   echo "$as_me:$LINENO: checking for langinfo.h" >&5
103253 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103254 if test "${ac_cv_header_langinfo_h+set}" = set; then
103255   echo $ECHO_N "(cached) $ECHO_C" >&6
103256 fi
103257 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103258 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103259 else
103260   # Is the header compilable?
103261 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103262 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
103263 cat >conftest.$ac_ext <<_ACEOF
103264 /* confdefs.h.  */
103265 _ACEOF
103266 cat confdefs.h >>conftest.$ac_ext
103267 cat >>conftest.$ac_ext <<_ACEOF
103268 /* end confdefs.h.  */
103269 $ac_includes_default
103270 #include <langinfo.h>
103271 _ACEOF
103272 rm -f conftest.$ac_objext
103273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103274   (eval $ac_compile) 2>conftest.er1
103275   ac_status=$?
103276   grep -v '^ *+' conftest.er1 >conftest.err
103277   rm -f conftest.er1
103278   cat conftest.err >&5
103279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103280   (exit $ac_status); } &&
103281          { ac_try='test -z "$ac_c_werror_flag"
103282                          || test ! -s conftest.err'
103283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103284   (eval $ac_try) 2>&5
103285   ac_status=$?
103286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103287   (exit $ac_status); }; } &&
103288          { ac_try='test -s conftest.$ac_objext'
103289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103290   (eval $ac_try) 2>&5
103291   ac_status=$?
103292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103293   (exit $ac_status); }; }; then
103294   ac_header_compiler=yes
103295 else
103296   echo "$as_me: failed program was:" >&5
103297 sed 's/^/| /' conftest.$ac_ext >&5
103298
103299 ac_header_compiler=no
103300 fi
103301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103303 echo "${ECHO_T}$ac_header_compiler" >&6
103304
103305 # Is the header present?
103306 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
103307 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
103308 cat >conftest.$ac_ext <<_ACEOF
103309 /* confdefs.h.  */
103310 _ACEOF
103311 cat confdefs.h >>conftest.$ac_ext
103312 cat >>conftest.$ac_ext <<_ACEOF
103313 /* end confdefs.h.  */
103314 #include <langinfo.h>
103315 _ACEOF
103316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103318   ac_status=$?
103319   grep -v '^ *+' conftest.er1 >conftest.err
103320   rm -f conftest.er1
103321   cat conftest.err >&5
103322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103323   (exit $ac_status); } >/dev/null; then
103324   if test -s conftest.err; then
103325     ac_cpp_err=$ac_c_preproc_warn_flag
103326     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103327   else
103328     ac_cpp_err=
103329   fi
103330 else
103331   ac_cpp_err=yes
103332 fi
103333 if test -z "$ac_cpp_err"; then
103334   ac_header_preproc=yes
103335 else
103336   echo "$as_me: failed program was:" >&5
103337 sed 's/^/| /' conftest.$ac_ext >&5
103338
103339   ac_header_preproc=no
103340 fi
103341 rm -f conftest.err conftest.$ac_ext
103342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103343 echo "${ECHO_T}$ac_header_preproc" >&6
103344
103345 # So?  What about this header?
103346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103347   yes:no: )
103348     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
103349 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103350     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
103351 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
103352     ac_header_preproc=yes
103353     ;;
103354   no:yes:* )
103355     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
103356 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
103357     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
103358 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
103359     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
103360 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
103361     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
103362 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103363     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
103364 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
103365     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
103366 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
103367     (
103368       cat <<\_ASBOX
103369 ## ----------------------------------------- ##
103370 ## Report this to the package-unused lists.  ##
103371 ## ----------------------------------------- ##
103372 _ASBOX
103373     ) |
103374       sed "s/^/$as_me: WARNING:     /" >&2
103375     ;;
103376 esac
103377 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103378 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103379 if test "${ac_cv_header_langinfo_h+set}" = set; then
103380   echo $ECHO_N "(cached) $ECHO_C" >&6
103381 else
103382   ac_cv_header_langinfo_h=$ac_header_preproc
103383 fi
103384 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103385 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103386
103387 fi
103388 if test $ac_cv_header_langinfo_h = yes; then
103389   ac_has_langinfo_h=yes
103390 else
103391   ac_has_langinfo_h=no
103392 fi
103393
103394
103395
103396     ac_save_LIBS="$LIBS"
103397     LIBS="$LIBS $LIBICONV"
103398
103399
103400
103401
103402 for ac_func in iconv_open iconv_close iconv nl_langinfo
103403 do
103404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103405 echo "$as_me:$LINENO: checking for $ac_func" >&5
103406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103407 if eval "test \"\${$as_ac_var+set}\" = set"; then
103408   echo $ECHO_N "(cached) $ECHO_C" >&6
103409 else
103410   if test x$gcc_no_link = xyes; then
103411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103413    { (exit 1); exit 1; }; }
103414 fi
103415 cat >conftest.$ac_ext <<_ACEOF
103416 /* confdefs.h.  */
103417 _ACEOF
103418 cat confdefs.h >>conftest.$ac_ext
103419 cat >>conftest.$ac_ext <<_ACEOF
103420 /* end confdefs.h.  */
103421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103423 #define $ac_func innocuous_$ac_func
103424
103425 /* System header to define __stub macros and hopefully few prototypes,
103426     which can conflict with char $ac_func (); below.
103427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103428     <limits.h> exists even on freestanding compilers.  */
103429
103430 #ifdef __STDC__
103431 # include <limits.h>
103432 #else
103433 # include <assert.h>
103434 #endif
103435
103436 #undef $ac_func
103437
103438 /* Override any gcc2 internal prototype to avoid an error.  */
103439 #ifdef __cplusplus
103440 extern "C"
103441 {
103442 #endif
103443 /* We use char because int might match the return type of a gcc2
103444    builtin and then its argument prototype would still apply.  */
103445 char $ac_func ();
103446 /* The GNU C library defines this for functions which it implements
103447     to always fail with ENOSYS.  Some functions are actually named
103448     something starting with __ and the normal name is an alias.  */
103449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103450 choke me
103451 #else
103452 char (*f) () = $ac_func;
103453 #endif
103454 #ifdef __cplusplus
103455 }
103456 #endif
103457
103458 int
103459 main ()
103460 {
103461 return f != $ac_func;
103462   ;
103463   return 0;
103464 }
103465 _ACEOF
103466 rm -f conftest.$ac_objext conftest$ac_exeext
103467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103468   (eval $ac_link) 2>conftest.er1
103469   ac_status=$?
103470   grep -v '^ *+' conftest.er1 >conftest.err
103471   rm -f conftest.er1
103472   cat conftest.err >&5
103473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103474   (exit $ac_status); } &&
103475          { ac_try='test -z "$ac_c_werror_flag"
103476                          || test ! -s conftest.err'
103477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103478   (eval $ac_try) 2>&5
103479   ac_status=$?
103480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103481   (exit $ac_status); }; } &&
103482          { ac_try='test -s conftest$ac_exeext'
103483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103484   (eval $ac_try) 2>&5
103485   ac_status=$?
103486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103487   (exit $ac_status); }; }; then
103488   eval "$as_ac_var=yes"
103489 else
103490   echo "$as_me: failed program was:" >&5
103491 sed 's/^/| /' conftest.$ac_ext >&5
103492
103493 eval "$as_ac_var=no"
103494 fi
103495 rm -f conftest.err conftest.$ac_objext \
103496       conftest$ac_exeext conftest.$ac_ext
103497 fi
103498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103500 if test `eval echo '${'$as_ac_var'}'` = yes; then
103501   cat >>confdefs.h <<_ACEOF
103502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103503 _ACEOF
103504  ac_XPG2funcs=yes
103505 else
103506   ac_XPG2funcs=no
103507 fi
103508 done
103509
103510     LIBS="$ac_save_LIBS"
103511
103512     if test x"$ac_has_iconv_h" = xyes &&
103513        test x"$ac_has_langinfo_h" = xyes &&
103514        test x"$ac_XPG2funcs" = xyes;
103515     then
103516
103517 cat >>confdefs.h <<\_ACEOF
103518 #define _GLIBCXX_USE_ICONV 1
103519 _ACEOF
103520
103521       enable_iconv=yes
103522
103523     fi
103524   fi
103525   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
103526 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
103527   echo "$as_me:$LINENO: result: $enable_iconv" >&5
103528 echo "${ECHO_T}$enable_iconv" >&6
103529
103530     cat >>confdefs.h <<\_ACEOF
103531 #define HAVE_HYPOT 1
103532 _ACEOF
103533
103534     cat >>confdefs.h <<\_ACEOF
103535 #define HAVE_ISINF 1
103536 _ACEOF
103537
103538     cat >>confdefs.h <<\_ACEOF
103539 #define HAVE_ISNAN 1
103540 _ACEOF
103541
103542
103543     # For showmanyc_helper().
103544
103545
103546 for ac_header in sys/ioctl.h sys/filio.h
103547 do
103548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103550   echo "$as_me:$LINENO: checking for $ac_header" >&5
103551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103553   echo $ECHO_N "(cached) $ECHO_C" >&6
103554 fi
103555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103557 else
103558   # Is the header compilable?
103559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103561 cat >conftest.$ac_ext <<_ACEOF
103562 /* confdefs.h.  */
103563 _ACEOF
103564 cat confdefs.h >>conftest.$ac_ext
103565 cat >>conftest.$ac_ext <<_ACEOF
103566 /* end confdefs.h.  */
103567 $ac_includes_default
103568 #include <$ac_header>
103569 _ACEOF
103570 rm -f conftest.$ac_objext
103571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103572   (eval $ac_compile) 2>conftest.er1
103573   ac_status=$?
103574   grep -v '^ *+' conftest.er1 >conftest.err
103575   rm -f conftest.er1
103576   cat conftest.err >&5
103577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103578   (exit $ac_status); } &&
103579          { ac_try='test -z "$ac_c_werror_flag"
103580                          || test ! -s conftest.err'
103581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103582   (eval $ac_try) 2>&5
103583   ac_status=$?
103584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103585   (exit $ac_status); }; } &&
103586          { ac_try='test -s conftest.$ac_objext'
103587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103588   (eval $ac_try) 2>&5
103589   ac_status=$?
103590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103591   (exit $ac_status); }; }; then
103592   ac_header_compiler=yes
103593 else
103594   echo "$as_me: failed program was:" >&5
103595 sed 's/^/| /' conftest.$ac_ext >&5
103596
103597 ac_header_compiler=no
103598 fi
103599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103601 echo "${ECHO_T}$ac_header_compiler" >&6
103602
103603 # Is the header present?
103604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103606 cat >conftest.$ac_ext <<_ACEOF
103607 /* confdefs.h.  */
103608 _ACEOF
103609 cat confdefs.h >>conftest.$ac_ext
103610 cat >>conftest.$ac_ext <<_ACEOF
103611 /* end confdefs.h.  */
103612 #include <$ac_header>
103613 _ACEOF
103614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103615   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103616   ac_status=$?
103617   grep -v '^ *+' conftest.er1 >conftest.err
103618   rm -f conftest.er1
103619   cat conftest.err >&5
103620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103621   (exit $ac_status); } >/dev/null; then
103622   if test -s conftest.err; then
103623     ac_cpp_err=$ac_c_preproc_warn_flag
103624     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103625   else
103626     ac_cpp_err=
103627   fi
103628 else
103629   ac_cpp_err=yes
103630 fi
103631 if test -z "$ac_cpp_err"; then
103632   ac_header_preproc=yes
103633 else
103634   echo "$as_me: failed program was:" >&5
103635 sed 's/^/| /' conftest.$ac_ext >&5
103636
103637   ac_header_preproc=no
103638 fi
103639 rm -f conftest.err conftest.$ac_ext
103640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103641 echo "${ECHO_T}$ac_header_preproc" >&6
103642
103643 # So?  What about this header?
103644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103645   yes:no: )
103646     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103648     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103650     ac_header_preproc=yes
103651     ;;
103652   no:yes:* )
103653     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103655     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
103656 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
103657     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103659     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
103660 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
103661     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103663     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103665     (
103666       cat <<\_ASBOX
103667 ## ----------------------------------------- ##
103668 ## Report this to the package-unused lists.  ##
103669 ## ----------------------------------------- ##
103670 _ASBOX
103671     ) |
103672       sed "s/^/$as_me: WARNING:     /" >&2
103673     ;;
103674 esac
103675 echo "$as_me:$LINENO: checking for $ac_header" >&5
103676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103678   echo $ECHO_N "(cached) $ECHO_C" >&6
103679 else
103680   eval "$as_ac_Header=\$ac_header_preproc"
103681 fi
103682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103684
103685 fi
103686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103687   cat >>confdefs.h <<_ACEOF
103688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103689 _ACEOF
103690
103691 fi
103692
103693 done
103694
103695
103696   echo "$as_me:$LINENO: checking for poll" >&5
103697 echo $ECHO_N "checking for poll... $ECHO_C" >&6
103698   if test "${glibcxx_cv_POLL+set}" = set; then
103699   echo $ECHO_N "(cached) $ECHO_C" >&6
103700 else
103701
103702     if test x$gcc_no_link = xyes; then
103703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103705    { (exit 1); exit 1; }; }
103706 fi
103707 cat >conftest.$ac_ext <<_ACEOF
103708 /* confdefs.h.  */
103709 _ACEOF
103710 cat confdefs.h >>conftest.$ac_ext
103711 cat >>conftest.$ac_ext <<_ACEOF
103712 /* end confdefs.h.  */
103713 #include <poll.h>
103714 int
103715 main ()
103716 {
103717 struct pollfd pfd[1];
103718        pfd[0].events = POLLIN;
103719        poll(pfd, 1, 0);
103720   ;
103721   return 0;
103722 }
103723 _ACEOF
103724 rm -f conftest.$ac_objext conftest$ac_exeext
103725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103726   (eval $ac_link) 2>conftest.er1
103727   ac_status=$?
103728   grep -v '^ *+' conftest.er1 >conftest.err
103729   rm -f conftest.er1
103730   cat conftest.err >&5
103731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103732   (exit $ac_status); } &&
103733          { ac_try='test -z "$ac_c_werror_flag"
103734                          || test ! -s conftest.err'
103735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103736   (eval $ac_try) 2>&5
103737   ac_status=$?
103738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103739   (exit $ac_status); }; } &&
103740          { ac_try='test -s conftest$ac_exeext'
103741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103742   (eval $ac_try) 2>&5
103743   ac_status=$?
103744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103745   (exit $ac_status); }; }; then
103746   glibcxx_cv_POLL=yes
103747 else
103748   echo "$as_me: failed program was:" >&5
103749 sed 's/^/| /' conftest.$ac_ext >&5
103750
103751 glibcxx_cv_POLL=no
103752 fi
103753 rm -f conftest.err conftest.$ac_objext \
103754       conftest$ac_exeext conftest.$ac_ext
103755
103756 fi
103757
103758   if test $glibcxx_cv_POLL = yes; then
103759
103760 cat >>confdefs.h <<\_ACEOF
103761 #define HAVE_POLL 1
103762 _ACEOF
103763
103764   fi
103765   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
103766 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
103767
103768
103769   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
103770 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
103771   if test "${glibcxx_cv_S_ISREG+set}" = set; then
103772   echo $ECHO_N "(cached) $ECHO_C" >&6
103773 else
103774
103775     if test x$gcc_no_link = xyes; then
103776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103778    { (exit 1); exit 1; }; }
103779 fi
103780 cat >conftest.$ac_ext <<_ACEOF
103781 /* confdefs.h.  */
103782 _ACEOF
103783 cat confdefs.h >>conftest.$ac_ext
103784 cat >>conftest.$ac_ext <<_ACEOF
103785 /* end confdefs.h.  */
103786 #include <sys/stat.h>
103787 int
103788 main ()
103789 {
103790 struct stat buffer;
103791        fstat(0, &buffer);
103792        S_ISREG(buffer.st_mode);
103793   ;
103794   return 0;
103795 }
103796 _ACEOF
103797 rm -f conftest.$ac_objext conftest$ac_exeext
103798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103799   (eval $ac_link) 2>conftest.er1
103800   ac_status=$?
103801   grep -v '^ *+' conftest.er1 >conftest.err
103802   rm -f conftest.er1
103803   cat conftest.err >&5
103804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103805   (exit $ac_status); } &&
103806          { ac_try='test -z "$ac_c_werror_flag"
103807                          || test ! -s conftest.err'
103808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103809   (eval $ac_try) 2>&5
103810   ac_status=$?
103811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103812   (exit $ac_status); }; } &&
103813          { ac_try='test -s conftest$ac_exeext'
103814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103815   (eval $ac_try) 2>&5
103816   ac_status=$?
103817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103818   (exit $ac_status); }; }; then
103819   glibcxx_cv_S_ISREG=yes
103820 else
103821   echo "$as_me: failed program was:" >&5
103822 sed 's/^/| /' conftest.$ac_ext >&5
103823
103824 glibcxx_cv_S_ISREG=no
103825 fi
103826 rm -f conftest.err conftest.$ac_objext \
103827       conftest$ac_exeext conftest.$ac_ext
103828
103829 fi
103830
103831   if test "${glibcxx_cv_S_IFREG+set}" = set; then
103832   echo $ECHO_N "(cached) $ECHO_C" >&6
103833 else
103834
103835     if test x$gcc_no_link = xyes; then
103836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103838    { (exit 1); exit 1; }; }
103839 fi
103840 cat >conftest.$ac_ext <<_ACEOF
103841 /* confdefs.h.  */
103842 _ACEOF
103843 cat confdefs.h >>conftest.$ac_ext
103844 cat >>conftest.$ac_ext <<_ACEOF
103845 /* end confdefs.h.  */
103846 #include <sys/stat.h>
103847 int
103848 main ()
103849 {
103850 struct stat buffer;
103851        fstat(0, &buffer);
103852        S_IFREG & buffer.st_mode;
103853   ;
103854   return 0;
103855 }
103856 _ACEOF
103857 rm -f conftest.$ac_objext conftest$ac_exeext
103858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103859   (eval $ac_link) 2>conftest.er1
103860   ac_status=$?
103861   grep -v '^ *+' conftest.er1 >conftest.err
103862   rm -f conftest.er1
103863   cat conftest.err >&5
103864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103865   (exit $ac_status); } &&
103866          { ac_try='test -z "$ac_c_werror_flag"
103867                          || test ! -s conftest.err'
103868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103869   (eval $ac_try) 2>&5
103870   ac_status=$?
103871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103872   (exit $ac_status); }; } &&
103873          { ac_try='test -s conftest$ac_exeext'
103874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103875   (eval $ac_try) 2>&5
103876   ac_status=$?
103877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103878   (exit $ac_status); }; }; then
103879   glibcxx_cv_S_IFREG=yes
103880 else
103881   echo "$as_me: failed program was:" >&5
103882 sed 's/^/| /' conftest.$ac_ext >&5
103883
103884 glibcxx_cv_S_IFREG=no
103885 fi
103886 rm -f conftest.err conftest.$ac_objext \
103887       conftest$ac_exeext conftest.$ac_ext
103888
103889 fi
103890
103891   res=no
103892   if test $glibcxx_cv_S_ISREG = yes; then
103893
103894 cat >>confdefs.h <<\_ACEOF
103895 #define HAVE_S_ISREG 1
103896 _ACEOF
103897
103898     res=S_ISREG
103899   elif test $glibcxx_cv_S_IFREG = yes; then
103900
103901 cat >>confdefs.h <<\_ACEOF
103902 #define HAVE_S_IFREG 1
103903 _ACEOF
103904
103905     res=S_IFREG
103906   fi
103907   echo "$as_me:$LINENO: result: $res" >&5
103908 echo "${ECHO_T}$res" >&6
103909
103910
103911     # For xsputn_2().
103912
103913 for ac_header in sys/uio.h
103914 do
103915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103917   echo "$as_me:$LINENO: checking for $ac_header" >&5
103918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103920   echo $ECHO_N "(cached) $ECHO_C" >&6
103921 fi
103922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103924 else
103925   # Is the header compilable?
103926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103928 cat >conftest.$ac_ext <<_ACEOF
103929 /* confdefs.h.  */
103930 _ACEOF
103931 cat confdefs.h >>conftest.$ac_ext
103932 cat >>conftest.$ac_ext <<_ACEOF
103933 /* end confdefs.h.  */
103934 $ac_includes_default
103935 #include <$ac_header>
103936 _ACEOF
103937 rm -f conftest.$ac_objext
103938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103939   (eval $ac_compile) 2>conftest.er1
103940   ac_status=$?
103941   grep -v '^ *+' conftest.er1 >conftest.err
103942   rm -f conftest.er1
103943   cat conftest.err >&5
103944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103945   (exit $ac_status); } &&
103946          { ac_try='test -z "$ac_c_werror_flag"
103947                          || test ! -s conftest.err'
103948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103949   (eval $ac_try) 2>&5
103950   ac_status=$?
103951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103952   (exit $ac_status); }; } &&
103953          { ac_try='test -s conftest.$ac_objext'
103954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103955   (eval $ac_try) 2>&5
103956   ac_status=$?
103957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103958   (exit $ac_status); }; }; then
103959   ac_header_compiler=yes
103960 else
103961   echo "$as_me: failed program was:" >&5
103962 sed 's/^/| /' conftest.$ac_ext >&5
103963
103964 ac_header_compiler=no
103965 fi
103966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103968 echo "${ECHO_T}$ac_header_compiler" >&6
103969
103970 # Is the header present?
103971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103973 cat >conftest.$ac_ext <<_ACEOF
103974 /* confdefs.h.  */
103975 _ACEOF
103976 cat confdefs.h >>conftest.$ac_ext
103977 cat >>conftest.$ac_ext <<_ACEOF
103978 /* end confdefs.h.  */
103979 #include <$ac_header>
103980 _ACEOF
103981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103982   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103983   ac_status=$?
103984   grep -v '^ *+' conftest.er1 >conftest.err
103985   rm -f conftest.er1
103986   cat conftest.err >&5
103987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103988   (exit $ac_status); } >/dev/null; then
103989   if test -s conftest.err; then
103990     ac_cpp_err=$ac_c_preproc_warn_flag
103991     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103992   else
103993     ac_cpp_err=
103994   fi
103995 else
103996   ac_cpp_err=yes
103997 fi
103998 if test -z "$ac_cpp_err"; then
103999   ac_header_preproc=yes
104000 else
104001   echo "$as_me: failed program was:" >&5
104002 sed 's/^/| /' conftest.$ac_ext >&5
104003
104004   ac_header_preproc=no
104005 fi
104006 rm -f conftest.err conftest.$ac_ext
104007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104008 echo "${ECHO_T}$ac_header_preproc" >&6
104009
104010 # So?  What about this header?
104011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104012   yes:no: )
104013     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104015     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104017     ac_header_preproc=yes
104018     ;;
104019   no:yes:* )
104020     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104022     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104023 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104024     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104026     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104027 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104028     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104030     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104032     (
104033       cat <<\_ASBOX
104034 ## ----------------------------------------- ##
104035 ## Report this to the package-unused lists.  ##
104036 ## ----------------------------------------- ##
104037 _ASBOX
104038     ) |
104039       sed "s/^/$as_me: WARNING:     /" >&2
104040     ;;
104041 esac
104042 echo "$as_me:$LINENO: checking for $ac_header" >&5
104043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104045   echo $ECHO_N "(cached) $ECHO_C" >&6
104046 else
104047   eval "$as_ac_Header=\$ac_header_preproc"
104048 fi
104049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104051
104052 fi
104053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104054   cat >>confdefs.h <<_ACEOF
104055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104056 _ACEOF
104057
104058 fi
104059
104060 done
104061
104062
104063   echo "$as_me:$LINENO: checking for writev" >&5
104064 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104065   if test "${glibcxx_cv_WRITEV+set}" = set; then
104066   echo $ECHO_N "(cached) $ECHO_C" >&6
104067 else
104068
104069     if test x$gcc_no_link = xyes; then
104070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104072    { (exit 1); exit 1; }; }
104073 fi
104074 cat >conftest.$ac_ext <<_ACEOF
104075 /* confdefs.h.  */
104076 _ACEOF
104077 cat confdefs.h >>conftest.$ac_ext
104078 cat >>conftest.$ac_ext <<_ACEOF
104079 /* end confdefs.h.  */
104080 #include <sys/uio.h>
104081 int
104082 main ()
104083 {
104084 struct iovec iov[2];
104085        writev(0, iov, 0);
104086   ;
104087   return 0;
104088 }
104089 _ACEOF
104090 rm -f conftest.$ac_objext conftest$ac_exeext
104091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104092   (eval $ac_link) 2>conftest.er1
104093   ac_status=$?
104094   grep -v '^ *+' conftest.er1 >conftest.err
104095   rm -f conftest.er1
104096   cat conftest.err >&5
104097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104098   (exit $ac_status); } &&
104099          { ac_try='test -z "$ac_c_werror_flag"
104100                          || test ! -s conftest.err'
104101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104102   (eval $ac_try) 2>&5
104103   ac_status=$?
104104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104105   (exit $ac_status); }; } &&
104106          { ac_try='test -s conftest$ac_exeext'
104107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104108   (eval $ac_try) 2>&5
104109   ac_status=$?
104110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104111   (exit $ac_status); }; }; then
104112   glibcxx_cv_WRITEV=yes
104113 else
104114   echo "$as_me: failed program was:" >&5
104115 sed 's/^/| /' conftest.$ac_ext >&5
104116
104117 glibcxx_cv_WRITEV=no
104118 fi
104119 rm -f conftest.err conftest.$ac_objext \
104120       conftest$ac_exeext conftest.$ac_ext
104121
104122 fi
104123
104124   if test $glibcxx_cv_WRITEV = yes; then
104125
104126 cat >>confdefs.h <<\_ACEOF
104127 #define HAVE_WRITEV 1
104128 _ACEOF
104129
104130   fi
104131   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104132 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104133
104134     ;;
104135   *-qnx6.1* | *-qnx6.2*)
104136     SECTION_FLAGS='-ffunction-sections -fdata-sections'
104137
104138
104139   # If we're not using GNU ld, then there's no point in even trying these
104140   # tests.  Check for that first.  We should have already tested for gld
104141   # by now (in libtool), but require it now just to be safe...
104142   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104143   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104144
104145
104146
104147   # The name set by libtool depends on the version of libtool.  Shame on us
104148   # for depending on an impl detail, but c'est la vie.  Older versions used
104149   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104150   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104151   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
104152   # set (hence we're using an older libtool), then set it.
104153   if test x${with_gnu_ld+set} != xset; then
104154     if test x${ac_cv_prog_gnu_ld+set} != xset; then
104155       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
104156       with_gnu_ld=no
104157     else
104158       with_gnu_ld=$ac_cv_prog_gnu_ld
104159     fi
104160   fi
104161
104162   # Start by getting the version number.  I think the libtool test already
104163   # does some of this, but throws away the result.
104164   if test x"$with_gnu_ld" = x"yes"; then
104165     echo "$as_me:$LINENO: checking for ld version" >&5
104166 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104167
104168     ldver=`$LD --version 2>/dev/null | head -1 | \
104169            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
104170
104171     glibcxx_gnu_ld_version=`echo $ldver | \
104172            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104173     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104174 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104175   fi
104176
104177   # Set --gc-sections.
104178   glibcxx_gcsections_min_ld=21602
104179   if test x"$with_gnu_ld" = x"yes" &&
104180         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104181
104182     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
104183     # NB: This flag only works reliably after 2.16.1. Configure tests
104184     # for this are difficult, so hard wire a value that should work.
104185
104186     # All these tests are for C++, but run with the "C" compiler driver.
104187     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
104188     ac_test_CFLAGS="${CFLAGS+set}"
104189     ac_save_CFLAGS="$CFLAGS"
104190     CFLAGS='-x c++ -Wl,--gc-sections'
104191
104192     # Check for -Wl,--gc-sections
104193     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104194 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
104195     if test x$gcc_no_link = xyes; then
104196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104198    { (exit 1); exit 1; }; }
104199 fi
104200 cat >conftest.$ac_ext <<_ACEOF
104201 /* confdefs.h.  */
104202 _ACEOF
104203 cat confdefs.h >>conftest.$ac_ext
104204 cat >>conftest.$ac_ext <<_ACEOF
104205 /* end confdefs.h.  */
104206  int one(void) { return 1; }
104207      int two(void) { return 2; }
104208
104209 int
104210 main ()
104211 {
104212  two();
104213   ;
104214   return 0;
104215 }
104216 _ACEOF
104217 rm -f conftest.$ac_objext conftest$ac_exeext
104218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104219   (eval $ac_link) 2>conftest.er1
104220   ac_status=$?
104221   grep -v '^ *+' conftest.er1 >conftest.err
104222   rm -f conftest.er1
104223   cat conftest.err >&5
104224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104225   (exit $ac_status); } &&
104226          { ac_try='test -z "$ac_c_werror_flag"
104227                          || test ! -s conftest.err'
104228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104229   (eval $ac_try) 2>&5
104230   ac_status=$?
104231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104232   (exit $ac_status); }; } &&
104233          { ac_try='test -s conftest$ac_exeext'
104234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104235   (eval $ac_try) 2>&5
104236   ac_status=$?
104237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104238   (exit $ac_status); }; }; then
104239   ac_gcsections=yes
104240 else
104241   echo "$as_me: failed program was:" >&5
104242 sed 's/^/| /' conftest.$ac_ext >&5
104243
104244 ac_gcsections=no
104245 fi
104246 rm -f conftest.err conftest.$ac_objext \
104247       conftest$ac_exeext conftest.$ac_ext
104248     if test "$ac_gcsections" = "yes"; then
104249       rm -f conftest.c
104250       touch conftest.c
104251       if $CC -c conftest.c; then
104252         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104253            grep "Warning: gc-sections option ignored" > /dev/null; then
104254           ac_gcsections=no
104255         fi
104256       fi
104257       rm -f conftest.c conftest.o conftest
104258     fi
104259     if test "$ac_gcsections" = "yes"; then
104260       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104261     fi
104262     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104263 echo "${ECHO_T}$ac_gcsections" >&6
104264
104265     if test "$ac_test_CFLAGS" = set; then
104266       CFLAGS="$ac_save_CFLAGS"
104267     else
104268       # this is the suspicious part
104269       CFLAGS=''
104270     fi
104271   fi
104272
104273   # Set -z,relro.
104274   # Note this is only for shared objects.
104275   ac_ld_relro=no
104276   if test x"$with_gnu_ld" = x"yes"; then
104277     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104278 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
104279     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104280     if test -n "$cxx_z_relo"; then
104281       OPT_LDFLAGS="-Wl,-z,relro"
104282       ac_ld_relro=yes
104283     fi
104284     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104285 echo "${ECHO_T}$ac_ld_relro" >&6
104286   fi
104287
104288   # Set linker optimization flags.
104289   if test x"$with_gnu_ld" = x"yes"; then
104290     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104291   fi
104292
104293
104294
104295
104296
104297
104298 echo "$as_me:$LINENO: checking for main in -lm" >&5
104299 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
104300 if test "${ac_cv_lib_m_main+set}" = set; then
104301   echo $ECHO_N "(cached) $ECHO_C" >&6
104302 else
104303   ac_check_lib_save_LIBS=$LIBS
104304 LIBS="-lm  $LIBS"
104305 if test x$gcc_no_link = xyes; then
104306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104308    { (exit 1); exit 1; }; }
104309 fi
104310 cat >conftest.$ac_ext <<_ACEOF
104311 /* confdefs.h.  */
104312 _ACEOF
104313 cat confdefs.h >>conftest.$ac_ext
104314 cat >>conftest.$ac_ext <<_ACEOF
104315 /* end confdefs.h.  */
104316
104317
104318 int
104319 main ()
104320 {
104321 main ();
104322   ;
104323   return 0;
104324 }
104325 _ACEOF
104326 rm -f conftest.$ac_objext conftest$ac_exeext
104327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104328   (eval $ac_link) 2>conftest.er1
104329   ac_status=$?
104330   grep -v '^ *+' conftest.er1 >conftest.err
104331   rm -f conftest.er1
104332   cat conftest.err >&5
104333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104334   (exit $ac_status); } &&
104335          { ac_try='test -z "$ac_c_werror_flag"
104336                          || test ! -s conftest.err'
104337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104338   (eval $ac_try) 2>&5
104339   ac_status=$?
104340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104341   (exit $ac_status); }; } &&
104342          { ac_try='test -s conftest$ac_exeext'
104343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104344   (eval $ac_try) 2>&5
104345   ac_status=$?
104346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104347   (exit $ac_status); }; }; then
104348   ac_cv_lib_m_main=yes
104349 else
104350   echo "$as_me: failed program was:" >&5
104351 sed 's/^/| /' conftest.$ac_ext >&5
104352
104353 ac_cv_lib_m_main=no
104354 fi
104355 rm -f conftest.err conftest.$ac_objext \
104356       conftest$ac_exeext conftest.$ac_ext
104357 LIBS=$ac_check_lib_save_LIBS
104358 fi
104359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104360 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
104361 if test $ac_cv_lib_m_main = yes; then
104362   cat >>confdefs.h <<_ACEOF
104363 #define HAVE_LIBM 1
104364 _ACEOF
104365
104366   LIBS="-lm $LIBS"
104367
104368 fi
104369
104370
104371 for ac_func in copysignf
104372 do
104373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104374 echo "$as_me:$LINENO: checking for $ac_func" >&5
104375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104376 if eval "test \"\${$as_ac_var+set}\" = set"; then
104377   echo $ECHO_N "(cached) $ECHO_C" >&6
104378 else
104379   if test x$gcc_no_link = xyes; then
104380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104382    { (exit 1); exit 1; }; }
104383 fi
104384 cat >conftest.$ac_ext <<_ACEOF
104385 /* confdefs.h.  */
104386 _ACEOF
104387 cat confdefs.h >>conftest.$ac_ext
104388 cat >>conftest.$ac_ext <<_ACEOF
104389 /* end confdefs.h.  */
104390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104391    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104392 #define $ac_func innocuous_$ac_func
104393
104394 /* System header to define __stub macros and hopefully few prototypes,
104395     which can conflict with char $ac_func (); below.
104396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104397     <limits.h> exists even on freestanding compilers.  */
104398
104399 #ifdef __STDC__
104400 # include <limits.h>
104401 #else
104402 # include <assert.h>
104403 #endif
104404
104405 #undef $ac_func
104406
104407 /* Override any gcc2 internal prototype to avoid an error.  */
104408 #ifdef __cplusplus
104409 extern "C"
104410 {
104411 #endif
104412 /* We use char because int might match the return type of a gcc2
104413    builtin and then its argument prototype would still apply.  */
104414 char $ac_func ();
104415 /* The GNU C library defines this for functions which it implements
104416     to always fail with ENOSYS.  Some functions are actually named
104417     something starting with __ and the normal name is an alias.  */
104418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104419 choke me
104420 #else
104421 char (*f) () = $ac_func;
104422 #endif
104423 #ifdef __cplusplus
104424 }
104425 #endif
104426
104427 int
104428 main ()
104429 {
104430 return f != $ac_func;
104431   ;
104432   return 0;
104433 }
104434 _ACEOF
104435 rm -f conftest.$ac_objext conftest$ac_exeext
104436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104437   (eval $ac_link) 2>conftest.er1
104438   ac_status=$?
104439   grep -v '^ *+' conftest.er1 >conftest.err
104440   rm -f conftest.er1
104441   cat conftest.err >&5
104442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104443   (exit $ac_status); } &&
104444          { ac_try='test -z "$ac_c_werror_flag"
104445                          || test ! -s conftest.err'
104446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104447   (eval $ac_try) 2>&5
104448   ac_status=$?
104449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104450   (exit $ac_status); }; } &&
104451          { ac_try='test -s conftest$ac_exeext'
104452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104453   (eval $ac_try) 2>&5
104454   ac_status=$?
104455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104456   (exit $ac_status); }; }; then
104457   eval "$as_ac_var=yes"
104458 else
104459   echo "$as_me: failed program was:" >&5
104460 sed 's/^/| /' conftest.$ac_ext >&5
104461
104462 eval "$as_ac_var=no"
104463 fi
104464 rm -f conftest.err conftest.$ac_objext \
104465       conftest$ac_exeext conftest.$ac_ext
104466 fi
104467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104469 if test `eval echo '${'$as_ac_var'}'` = yes; then
104470   cat >>confdefs.h <<_ACEOF
104471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104472 _ACEOF
104473
104474 else
104475   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
104476 fi
104477 done
104478
104479
104480
104481 for ac_func in __signbit
104482 do
104483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104484 echo "$as_me:$LINENO: checking for $ac_func" >&5
104485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104486 if eval "test \"\${$as_ac_var+set}\" = set"; then
104487   echo $ECHO_N "(cached) $ECHO_C" >&6
104488 else
104489   if test x$gcc_no_link = xyes; then
104490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104492    { (exit 1); exit 1; }; }
104493 fi
104494 cat >conftest.$ac_ext <<_ACEOF
104495 /* confdefs.h.  */
104496 _ACEOF
104497 cat confdefs.h >>conftest.$ac_ext
104498 cat >>conftest.$ac_ext <<_ACEOF
104499 /* end confdefs.h.  */
104500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104502 #define $ac_func innocuous_$ac_func
104503
104504 /* System header to define __stub macros and hopefully few prototypes,
104505     which can conflict with char $ac_func (); below.
104506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104507     <limits.h> exists even on freestanding compilers.  */
104508
104509 #ifdef __STDC__
104510 # include <limits.h>
104511 #else
104512 # include <assert.h>
104513 #endif
104514
104515 #undef $ac_func
104516
104517 /* Override any gcc2 internal prototype to avoid an error.  */
104518 #ifdef __cplusplus
104519 extern "C"
104520 {
104521 #endif
104522 /* We use char because int might match the return type of a gcc2
104523    builtin and then its argument prototype would still apply.  */
104524 char $ac_func ();
104525 /* The GNU C library defines this for functions which it implements
104526     to always fail with ENOSYS.  Some functions are actually named
104527     something starting with __ and the normal name is an alias.  */
104528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104529 choke me
104530 #else
104531 char (*f) () = $ac_func;
104532 #endif
104533 #ifdef __cplusplus
104534 }
104535 #endif
104536
104537 int
104538 main ()
104539 {
104540 return f != $ac_func;
104541   ;
104542   return 0;
104543 }
104544 _ACEOF
104545 rm -f conftest.$ac_objext conftest$ac_exeext
104546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104547   (eval $ac_link) 2>conftest.er1
104548   ac_status=$?
104549   grep -v '^ *+' conftest.er1 >conftest.err
104550   rm -f conftest.er1
104551   cat conftest.err >&5
104552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104553   (exit $ac_status); } &&
104554          { ac_try='test -z "$ac_c_werror_flag"
104555                          || test ! -s conftest.err'
104556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104557   (eval $ac_try) 2>&5
104558   ac_status=$?
104559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104560   (exit $ac_status); }; } &&
104561          { ac_try='test -s conftest$ac_exeext'
104562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104563   (eval $ac_try) 2>&5
104564   ac_status=$?
104565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104566   (exit $ac_status); }; }; then
104567   eval "$as_ac_var=yes"
104568 else
104569   echo "$as_me: failed program was:" >&5
104570 sed 's/^/| /' conftest.$ac_ext >&5
104571
104572 eval "$as_ac_var=no"
104573 fi
104574 rm -f conftest.err conftest.$ac_objext \
104575       conftest$ac_exeext conftest.$ac_ext
104576 fi
104577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104579 if test `eval echo '${'$as_ac_var'}'` = yes; then
104580   cat >>confdefs.h <<_ACEOF
104581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104582 _ACEOF
104583
104584 else
104585   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
104586 fi
104587 done
104588
104589
104590
104591 for ac_func in __signbitf
104592 do
104593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104594 echo "$as_me:$LINENO: checking for $ac_func" >&5
104595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104596 if eval "test \"\${$as_ac_var+set}\" = set"; then
104597   echo $ECHO_N "(cached) $ECHO_C" >&6
104598 else
104599   if test x$gcc_no_link = xyes; then
104600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104602    { (exit 1); exit 1; }; }
104603 fi
104604 cat >conftest.$ac_ext <<_ACEOF
104605 /* confdefs.h.  */
104606 _ACEOF
104607 cat confdefs.h >>conftest.$ac_ext
104608 cat >>conftest.$ac_ext <<_ACEOF
104609 /* end confdefs.h.  */
104610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104612 #define $ac_func innocuous_$ac_func
104613
104614 /* System header to define __stub macros and hopefully few prototypes,
104615     which can conflict with char $ac_func (); below.
104616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104617     <limits.h> exists even on freestanding compilers.  */
104618
104619 #ifdef __STDC__
104620 # include <limits.h>
104621 #else
104622 # include <assert.h>
104623 #endif
104624
104625 #undef $ac_func
104626
104627 /* Override any gcc2 internal prototype to avoid an error.  */
104628 #ifdef __cplusplus
104629 extern "C"
104630 {
104631 #endif
104632 /* We use char because int might match the return type of a gcc2
104633    builtin and then its argument prototype would still apply.  */
104634 char $ac_func ();
104635 /* The GNU C library defines this for functions which it implements
104636     to always fail with ENOSYS.  Some functions are actually named
104637     something starting with __ and the normal name is an alias.  */
104638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104639 choke me
104640 #else
104641 char (*f) () = $ac_func;
104642 #endif
104643 #ifdef __cplusplus
104644 }
104645 #endif
104646
104647 int
104648 main ()
104649 {
104650 return f != $ac_func;
104651   ;
104652   return 0;
104653 }
104654 _ACEOF
104655 rm -f conftest.$ac_objext conftest$ac_exeext
104656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104657   (eval $ac_link) 2>conftest.er1
104658   ac_status=$?
104659   grep -v '^ *+' conftest.er1 >conftest.err
104660   rm -f conftest.er1
104661   cat conftest.err >&5
104662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104663   (exit $ac_status); } &&
104664          { ac_try='test -z "$ac_c_werror_flag"
104665                          || test ! -s conftest.err'
104666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104667   (eval $ac_try) 2>&5
104668   ac_status=$?
104669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104670   (exit $ac_status); }; } &&
104671          { ac_try='test -s conftest$ac_exeext'
104672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104673   (eval $ac_try) 2>&5
104674   ac_status=$?
104675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104676   (exit $ac_status); }; }; then
104677   eval "$as_ac_var=yes"
104678 else
104679   echo "$as_me: failed program was:" >&5
104680 sed 's/^/| /' conftest.$ac_ext >&5
104681
104682 eval "$as_ac_var=no"
104683 fi
104684 rm -f conftest.err conftest.$ac_objext \
104685       conftest$ac_exeext conftest.$ac_ext
104686 fi
104687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104689 if test `eval echo '${'$as_ac_var'}'` = yes; then
104690   cat >>confdefs.h <<_ACEOF
104691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104692 _ACEOF
104693
104694 else
104695   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
104696 fi
104697 done
104698
104699
104700           if test x$ac_cv_func_copysignl = x"yes"; then
104701
104702 for ac_func in __signbitl
104703 do
104704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104705 echo "$as_me:$LINENO: checking for $ac_func" >&5
104706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104707 if eval "test \"\${$as_ac_var+set}\" = set"; then
104708   echo $ECHO_N "(cached) $ECHO_C" >&6
104709 else
104710   if test x$gcc_no_link = xyes; then
104711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104713    { (exit 1); exit 1; }; }
104714 fi
104715 cat >conftest.$ac_ext <<_ACEOF
104716 /* confdefs.h.  */
104717 _ACEOF
104718 cat confdefs.h >>conftest.$ac_ext
104719 cat >>conftest.$ac_ext <<_ACEOF
104720 /* end confdefs.h.  */
104721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104723 #define $ac_func innocuous_$ac_func
104724
104725 /* System header to define __stub macros and hopefully few prototypes,
104726     which can conflict with char $ac_func (); below.
104727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104728     <limits.h> exists even on freestanding compilers.  */
104729
104730 #ifdef __STDC__
104731 # include <limits.h>
104732 #else
104733 # include <assert.h>
104734 #endif
104735
104736 #undef $ac_func
104737
104738 /* Override any gcc2 internal prototype to avoid an error.  */
104739 #ifdef __cplusplus
104740 extern "C"
104741 {
104742 #endif
104743 /* We use char because int might match the return type of a gcc2
104744    builtin and then its argument prototype would still apply.  */
104745 char $ac_func ();
104746 /* The GNU C library defines this for functions which it implements
104747     to always fail with ENOSYS.  Some functions are actually named
104748     something starting with __ and the normal name is an alias.  */
104749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104750 choke me
104751 #else
104752 char (*f) () = $ac_func;
104753 #endif
104754 #ifdef __cplusplus
104755 }
104756 #endif
104757
104758 int
104759 main ()
104760 {
104761 return f != $ac_func;
104762   ;
104763   return 0;
104764 }
104765 _ACEOF
104766 rm -f conftest.$ac_objext conftest$ac_exeext
104767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104768   (eval $ac_link) 2>conftest.er1
104769   ac_status=$?
104770   grep -v '^ *+' conftest.er1 >conftest.err
104771   rm -f conftest.er1
104772   cat conftest.err >&5
104773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104774   (exit $ac_status); } &&
104775          { ac_try='test -z "$ac_c_werror_flag"
104776                          || test ! -s conftest.err'
104777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104778   (eval $ac_try) 2>&5
104779   ac_status=$?
104780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104781   (exit $ac_status); }; } &&
104782          { ac_try='test -s conftest$ac_exeext'
104783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104784   (eval $ac_try) 2>&5
104785   ac_status=$?
104786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104787   (exit $ac_status); }; }; then
104788   eval "$as_ac_var=yes"
104789 else
104790   echo "$as_me: failed program was:" >&5
104791 sed 's/^/| /' conftest.$ac_ext >&5
104792
104793 eval "$as_ac_var=no"
104794 fi
104795 rm -f conftest.err conftest.$ac_objext \
104796       conftest$ac_exeext conftest.$ac_ext
104797 fi
104798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104800 if test `eval echo '${'$as_ac_var'}'` = yes; then
104801   cat >>confdefs.h <<_ACEOF
104802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104803 _ACEOF
104804
104805 else
104806   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104807 fi
104808 done
104809
104810   fi
104811
104812   # Used in libmath/Makefile.am.
104813   if test -n "$LIBMATHOBJS"; then
104814     need_libmath=yes
104815   fi
104816
104817
104818
104819
104820   enable_iconv=no
104821   # Only continue checking if the ISO C99 headers exist and support is on.
104822   if test x"$enable_wchar_t" = xyes; then
104823
104824     # From Bruno Haible's AM_ICONV, but without link tests.
104825     # Check for existence of libiconv.a providing XPG2 wchar_t support.
104826     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
104827     # those with the standalone portable GNU libiconv installed).
104828
104829 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
104830 if test "${with_libiconv_prefix+set}" = set; then
104831   withval="$with_libiconv_prefix"
104832     for dir in `echo "$withval" | tr : ' '`; do
104833       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
104834       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
104835     done
104836     LIBICONV="$LIBICONV -liconv"
104837
104838 fi;
104839    if test x"$LIBICONV" != x; then
104840      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
104841 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
104842    fi
104843
104844     # Use iconv for wchar_t to char conversions. As such, check for
104845     # X/Open Portability Guide, version 2 features (XPG2).
104846     if test "${ac_cv_header_iconv_h+set}" = set; then
104847   echo "$as_me:$LINENO: checking for iconv.h" >&5
104848 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
104849 if test "${ac_cv_header_iconv_h+set}" = set; then
104850   echo $ECHO_N "(cached) $ECHO_C" >&6
104851 fi
104852 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
104853 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
104854 else
104855   # Is the header compilable?
104856 echo "$as_me:$LINENO: checking iconv.h usability" >&5
104857 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
104858 cat >conftest.$ac_ext <<_ACEOF
104859 /* confdefs.h.  */
104860 _ACEOF
104861 cat confdefs.h >>conftest.$ac_ext
104862 cat >>conftest.$ac_ext <<_ACEOF
104863 /* end confdefs.h.  */
104864 $ac_includes_default
104865 #include <iconv.h>
104866 _ACEOF
104867 rm -f conftest.$ac_objext
104868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104869   (eval $ac_compile) 2>conftest.er1
104870   ac_status=$?
104871   grep -v '^ *+' conftest.er1 >conftest.err
104872   rm -f conftest.er1
104873   cat conftest.err >&5
104874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104875   (exit $ac_status); } &&
104876          { ac_try='test -z "$ac_c_werror_flag"
104877                          || test ! -s conftest.err'
104878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104879   (eval $ac_try) 2>&5
104880   ac_status=$?
104881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104882   (exit $ac_status); }; } &&
104883          { ac_try='test -s conftest.$ac_objext'
104884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104885   (eval $ac_try) 2>&5
104886   ac_status=$?
104887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104888   (exit $ac_status); }; }; then
104889   ac_header_compiler=yes
104890 else
104891   echo "$as_me: failed program was:" >&5
104892 sed 's/^/| /' conftest.$ac_ext >&5
104893
104894 ac_header_compiler=no
104895 fi
104896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104898 echo "${ECHO_T}$ac_header_compiler" >&6
104899
104900 # Is the header present?
104901 echo "$as_me:$LINENO: checking iconv.h presence" >&5
104902 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
104903 cat >conftest.$ac_ext <<_ACEOF
104904 /* confdefs.h.  */
104905 _ACEOF
104906 cat confdefs.h >>conftest.$ac_ext
104907 cat >>conftest.$ac_ext <<_ACEOF
104908 /* end confdefs.h.  */
104909 #include <iconv.h>
104910 _ACEOF
104911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104912   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104913   ac_status=$?
104914   grep -v '^ *+' conftest.er1 >conftest.err
104915   rm -f conftest.er1
104916   cat conftest.err >&5
104917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104918   (exit $ac_status); } >/dev/null; then
104919   if test -s conftest.err; then
104920     ac_cpp_err=$ac_c_preproc_warn_flag
104921     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104922   else
104923     ac_cpp_err=
104924   fi
104925 else
104926   ac_cpp_err=yes
104927 fi
104928 if test -z "$ac_cpp_err"; then
104929   ac_header_preproc=yes
104930 else
104931   echo "$as_me: failed program was:" >&5
104932 sed 's/^/| /' conftest.$ac_ext >&5
104933
104934   ac_header_preproc=no
104935 fi
104936 rm -f conftest.err conftest.$ac_ext
104937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104938 echo "${ECHO_T}$ac_header_preproc" >&6
104939
104940 # So?  What about this header?
104941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104942   yes:no: )
104943     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
104944 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104945     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
104946 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
104947     ac_header_preproc=yes
104948     ;;
104949   no:yes:* )
104950     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
104951 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
104952     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
104953 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
104954     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
104955 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
104956     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
104957 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
104958     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
104959 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
104960     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
104961 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
104962     (
104963       cat <<\_ASBOX
104964 ## ----------------------------------------- ##
104965 ## Report this to the package-unused lists.  ##
104966 ## ----------------------------------------- ##
104967 _ASBOX
104968     ) |
104969       sed "s/^/$as_me: WARNING:     /" >&2
104970     ;;
104971 esac
104972 echo "$as_me:$LINENO: checking for iconv.h" >&5
104973 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
104974 if test "${ac_cv_header_iconv_h+set}" = set; then
104975   echo $ECHO_N "(cached) $ECHO_C" >&6
104976 else
104977   ac_cv_header_iconv_h=$ac_header_preproc
104978 fi
104979 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
104980 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
104981
104982 fi
104983 if test $ac_cv_header_iconv_h = yes; then
104984   ac_has_iconv_h=yes
104985 else
104986   ac_has_iconv_h=no
104987 fi
104988
104989
104990     if test "${ac_cv_header_langinfo_h+set}" = set; then
104991   echo "$as_me:$LINENO: checking for langinfo.h" >&5
104992 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104993 if test "${ac_cv_header_langinfo_h+set}" = set; then
104994   echo $ECHO_N "(cached) $ECHO_C" >&6
104995 fi
104996 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104997 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104998 else
104999   # Is the header compilable?
105000 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105001 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105002 cat >conftest.$ac_ext <<_ACEOF
105003 /* confdefs.h.  */
105004 _ACEOF
105005 cat confdefs.h >>conftest.$ac_ext
105006 cat >>conftest.$ac_ext <<_ACEOF
105007 /* end confdefs.h.  */
105008 $ac_includes_default
105009 #include <langinfo.h>
105010 _ACEOF
105011 rm -f conftest.$ac_objext
105012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105013   (eval $ac_compile) 2>conftest.er1
105014   ac_status=$?
105015   grep -v '^ *+' conftest.er1 >conftest.err
105016   rm -f conftest.er1
105017   cat conftest.err >&5
105018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105019   (exit $ac_status); } &&
105020          { ac_try='test -z "$ac_c_werror_flag"
105021                          || test ! -s conftest.err'
105022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105023   (eval $ac_try) 2>&5
105024   ac_status=$?
105025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105026   (exit $ac_status); }; } &&
105027          { ac_try='test -s conftest.$ac_objext'
105028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105029   (eval $ac_try) 2>&5
105030   ac_status=$?
105031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105032   (exit $ac_status); }; }; then
105033   ac_header_compiler=yes
105034 else
105035   echo "$as_me: failed program was:" >&5
105036 sed 's/^/| /' conftest.$ac_ext >&5
105037
105038 ac_header_compiler=no
105039 fi
105040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105042 echo "${ECHO_T}$ac_header_compiler" >&6
105043
105044 # Is the header present?
105045 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105046 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105047 cat >conftest.$ac_ext <<_ACEOF
105048 /* confdefs.h.  */
105049 _ACEOF
105050 cat confdefs.h >>conftest.$ac_ext
105051 cat >>conftest.$ac_ext <<_ACEOF
105052 /* end confdefs.h.  */
105053 #include <langinfo.h>
105054 _ACEOF
105055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105056   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105057   ac_status=$?
105058   grep -v '^ *+' conftest.er1 >conftest.err
105059   rm -f conftest.er1
105060   cat conftest.err >&5
105061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105062   (exit $ac_status); } >/dev/null; then
105063   if test -s conftest.err; then
105064     ac_cpp_err=$ac_c_preproc_warn_flag
105065     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105066   else
105067     ac_cpp_err=
105068   fi
105069 else
105070   ac_cpp_err=yes
105071 fi
105072 if test -z "$ac_cpp_err"; then
105073   ac_header_preproc=yes
105074 else
105075   echo "$as_me: failed program was:" >&5
105076 sed 's/^/| /' conftest.$ac_ext >&5
105077
105078   ac_header_preproc=no
105079 fi
105080 rm -f conftest.err conftest.$ac_ext
105081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105082 echo "${ECHO_T}$ac_header_preproc" >&6
105083
105084 # So?  What about this header?
105085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105086   yes:no: )
105087     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105088 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105089     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105090 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105091     ac_header_preproc=yes
105092     ;;
105093   no:yes:* )
105094     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105095 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105096     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
105097 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
105098     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105099 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105100     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
105101 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105102     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105103 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105104     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105105 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105106     (
105107       cat <<\_ASBOX
105108 ## ----------------------------------------- ##
105109 ## Report this to the package-unused lists.  ##
105110 ## ----------------------------------------- ##
105111 _ASBOX
105112     ) |
105113       sed "s/^/$as_me: WARNING:     /" >&2
105114     ;;
105115 esac
105116 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105117 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105118 if test "${ac_cv_header_langinfo_h+set}" = set; then
105119   echo $ECHO_N "(cached) $ECHO_C" >&6
105120 else
105121   ac_cv_header_langinfo_h=$ac_header_preproc
105122 fi
105123 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105124 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105125
105126 fi
105127 if test $ac_cv_header_langinfo_h = yes; then
105128   ac_has_langinfo_h=yes
105129 else
105130   ac_has_langinfo_h=no
105131 fi
105132
105133
105134
105135     ac_save_LIBS="$LIBS"
105136     LIBS="$LIBS $LIBICONV"
105137
105138
105139
105140
105141 for ac_func in iconv_open iconv_close iconv nl_langinfo
105142 do
105143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105144 echo "$as_me:$LINENO: checking for $ac_func" >&5
105145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105146 if eval "test \"\${$as_ac_var+set}\" = set"; then
105147   echo $ECHO_N "(cached) $ECHO_C" >&6
105148 else
105149   if test x$gcc_no_link = xyes; then
105150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105152    { (exit 1); exit 1; }; }
105153 fi
105154 cat >conftest.$ac_ext <<_ACEOF
105155 /* confdefs.h.  */
105156 _ACEOF
105157 cat confdefs.h >>conftest.$ac_ext
105158 cat >>conftest.$ac_ext <<_ACEOF
105159 /* end confdefs.h.  */
105160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105162 #define $ac_func innocuous_$ac_func
105163
105164 /* System header to define __stub macros and hopefully few prototypes,
105165     which can conflict with char $ac_func (); below.
105166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105167     <limits.h> exists even on freestanding compilers.  */
105168
105169 #ifdef __STDC__
105170 # include <limits.h>
105171 #else
105172 # include <assert.h>
105173 #endif
105174
105175 #undef $ac_func
105176
105177 /* Override any gcc2 internal prototype to avoid an error.  */
105178 #ifdef __cplusplus
105179 extern "C"
105180 {
105181 #endif
105182 /* We use char because int might match the return type of a gcc2
105183    builtin and then its argument prototype would still apply.  */
105184 char $ac_func ();
105185 /* The GNU C library defines this for functions which it implements
105186     to always fail with ENOSYS.  Some functions are actually named
105187     something starting with __ and the normal name is an alias.  */
105188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105189 choke me
105190 #else
105191 char (*f) () = $ac_func;
105192 #endif
105193 #ifdef __cplusplus
105194 }
105195 #endif
105196
105197 int
105198 main ()
105199 {
105200 return f != $ac_func;
105201   ;
105202   return 0;
105203 }
105204 _ACEOF
105205 rm -f conftest.$ac_objext conftest$ac_exeext
105206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105207   (eval $ac_link) 2>conftest.er1
105208   ac_status=$?
105209   grep -v '^ *+' conftest.er1 >conftest.err
105210   rm -f conftest.er1
105211   cat conftest.err >&5
105212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105213   (exit $ac_status); } &&
105214          { ac_try='test -z "$ac_c_werror_flag"
105215                          || test ! -s conftest.err'
105216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105217   (eval $ac_try) 2>&5
105218   ac_status=$?
105219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105220   (exit $ac_status); }; } &&
105221          { ac_try='test -s conftest$ac_exeext'
105222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105223   (eval $ac_try) 2>&5
105224   ac_status=$?
105225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105226   (exit $ac_status); }; }; then
105227   eval "$as_ac_var=yes"
105228 else
105229   echo "$as_me: failed program was:" >&5
105230 sed 's/^/| /' conftest.$ac_ext >&5
105231
105232 eval "$as_ac_var=no"
105233 fi
105234 rm -f conftest.err conftest.$ac_objext \
105235       conftest$ac_exeext conftest.$ac_ext
105236 fi
105237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105239 if test `eval echo '${'$as_ac_var'}'` = yes; then
105240   cat >>confdefs.h <<_ACEOF
105241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105242 _ACEOF
105243  ac_XPG2funcs=yes
105244 else
105245   ac_XPG2funcs=no
105246 fi
105247 done
105248
105249     LIBS="$ac_save_LIBS"
105250
105251     if test x"$ac_has_iconv_h" = xyes &&
105252        test x"$ac_has_langinfo_h" = xyes &&
105253        test x"$ac_XPG2funcs" = xyes;
105254     then
105255
105256 cat >>confdefs.h <<\_ACEOF
105257 #define _GLIBCXX_USE_ICONV 1
105258 _ACEOF
105259
105260       enable_iconv=yes
105261
105262     fi
105263   fi
105264   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105265 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105266   echo "$as_me:$LINENO: result: $enable_iconv" >&5
105267 echo "${ECHO_T}$enable_iconv" >&6
105268
105269     cat >>confdefs.h <<\_ACEOF
105270 #define HAVE_COSF 1
105271 _ACEOF
105272
105273     cat >>confdefs.h <<\_ACEOF
105274 #define HAVE_COSL 1
105275 _ACEOF
105276
105277     cat >>confdefs.h <<\_ACEOF
105278 #define HAVE_COSHF 1
105279 _ACEOF
105280
105281     cat >>confdefs.h <<\_ACEOF
105282 #define HAVE_COSHL 1
105283 _ACEOF
105284
105285     cat >>confdefs.h <<\_ACEOF
105286 #define HAVE_LOGF 1
105287 _ACEOF
105288
105289     cat >>confdefs.h <<\_ACEOF
105290 #define HAVE_LOGL 1
105291 _ACEOF
105292
105293     cat >>confdefs.h <<\_ACEOF
105294 #define HAVE_LOG10F 1
105295 _ACEOF
105296
105297     cat >>confdefs.h <<\_ACEOF
105298 #define HAVE_LOG10L 1
105299 _ACEOF
105300
105301     cat >>confdefs.h <<\_ACEOF
105302 #define HAVE_SINF 1
105303 _ACEOF
105304
105305     cat >>confdefs.h <<\_ACEOF
105306 #define HAVE_SINL 1
105307 _ACEOF
105308
105309     cat >>confdefs.h <<\_ACEOF
105310 #define HAVE_SINHF 1
105311 _ACEOF
105312
105313     cat >>confdefs.h <<\_ACEOF
105314 #define HAVE_SINHL 1
105315 _ACEOF
105316
105317     ;;
105318   *-solaris*)
105319     case "$target" in
105320     #  *-solaris2.5)
105321     #    os_include_dir="os/solaris/solaris2.5"
105322     #    ;;
105323     #  *-solaris2.6)
105324     #    os_include_dir="os/solaris/solaris2.6"
105325     #    ;;
105326       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
105327
105328   # If we're not using GNU ld, then there's no point in even trying these
105329   # tests.  Check for that first.  We should have already tested for gld
105330   # by now (in libtool), but require it now just to be safe...
105331   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105332   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105333
105334
105335
105336   # The name set by libtool depends on the version of libtool.  Shame on us
105337   # for depending on an impl detail, but c'est la vie.  Older versions used
105338   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
105339   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
105340   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
105341   # set (hence we're using an older libtool), then set it.
105342   if test x${with_gnu_ld+set} != xset; then
105343     if test x${ac_cv_prog_gnu_ld+set} != xset; then
105344       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
105345       with_gnu_ld=no
105346     else
105347       with_gnu_ld=$ac_cv_prog_gnu_ld
105348     fi
105349   fi
105350
105351   # Start by getting the version number.  I think the libtool test already
105352   # does some of this, but throws away the result.
105353   if test x"$with_gnu_ld" = x"yes"; then
105354     echo "$as_me:$LINENO: checking for ld version" >&5
105355 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
105356
105357     ldver=`$LD --version 2>/dev/null | head -1 | \
105358            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
105359
105360     glibcxx_gnu_ld_version=`echo $ldver | \
105361            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
105362     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
105363 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
105364   fi
105365
105366   # Set --gc-sections.
105367   glibcxx_gcsections_min_ld=21602
105368   if test x"$with_gnu_ld" = x"yes" &&
105369         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
105370
105371     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
105372     # NB: This flag only works reliably after 2.16.1. Configure tests
105373     # for this are difficult, so hard wire a value that should work.
105374
105375     # All these tests are for C++, but run with the "C" compiler driver.
105376     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
105377     ac_test_CFLAGS="${CFLAGS+set}"
105378     ac_save_CFLAGS="$CFLAGS"
105379     CFLAGS='-x c++ -Wl,--gc-sections'
105380
105381     # Check for -Wl,--gc-sections
105382     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
105383 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
105384     if test x$gcc_no_link = xyes; then
105385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105387    { (exit 1); exit 1; }; }
105388 fi
105389 cat >conftest.$ac_ext <<_ACEOF
105390 /* confdefs.h.  */
105391 _ACEOF
105392 cat confdefs.h >>conftest.$ac_ext
105393 cat >>conftest.$ac_ext <<_ACEOF
105394 /* end confdefs.h.  */
105395  int one(void) { return 1; }
105396      int two(void) { return 2; }
105397
105398 int
105399 main ()
105400 {
105401  two();
105402   ;
105403   return 0;
105404 }
105405 _ACEOF
105406 rm -f conftest.$ac_objext conftest$ac_exeext
105407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105408   (eval $ac_link) 2>conftest.er1
105409   ac_status=$?
105410   grep -v '^ *+' conftest.er1 >conftest.err
105411   rm -f conftest.er1
105412   cat conftest.err >&5
105413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105414   (exit $ac_status); } &&
105415          { ac_try='test -z "$ac_c_werror_flag"
105416                          || test ! -s conftest.err'
105417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105418   (eval $ac_try) 2>&5
105419   ac_status=$?
105420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105421   (exit $ac_status); }; } &&
105422          { ac_try='test -s conftest$ac_exeext'
105423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105424   (eval $ac_try) 2>&5
105425   ac_status=$?
105426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105427   (exit $ac_status); }; }; then
105428   ac_gcsections=yes
105429 else
105430   echo "$as_me: failed program was:" >&5
105431 sed 's/^/| /' conftest.$ac_ext >&5
105432
105433 ac_gcsections=no
105434 fi
105435 rm -f conftest.err conftest.$ac_objext \
105436       conftest$ac_exeext conftest.$ac_ext
105437     if test "$ac_gcsections" = "yes"; then
105438       rm -f conftest.c
105439       touch conftest.c
105440       if $CC -c conftest.c; then
105441         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105442            grep "Warning: gc-sections option ignored" > /dev/null; then
105443           ac_gcsections=no
105444         fi
105445       fi
105446       rm -f conftest.c conftest.o conftest
105447     fi
105448     if test "$ac_gcsections" = "yes"; then
105449       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105450     fi
105451     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105452 echo "${ECHO_T}$ac_gcsections" >&6
105453
105454     if test "$ac_test_CFLAGS" = set; then
105455       CFLAGS="$ac_save_CFLAGS"
105456     else
105457       # this is the suspicious part
105458       CFLAGS=''
105459     fi
105460   fi
105461
105462   # Set -z,relro.
105463   # Note this is only for shared objects.
105464   ac_ld_relro=no
105465   if test x"$with_gnu_ld" = x"yes"; then
105466     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105467 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105468     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105469     if test -n "$cxx_z_relo"; then
105470       OPT_LDFLAGS="-Wl,-z,relro"
105471       ac_ld_relro=yes
105472     fi
105473     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105474 echo "${ECHO_T}$ac_ld_relro" >&6
105475   fi
105476
105477   # Set linker optimization flags.
105478   if test x"$with_gnu_ld" = x"yes"; then
105479     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105480   fi
105481
105482
105483
105484
105485          cat >>confdefs.h <<\_ACEOF
105486 #define HAVE_GETPAGESIZE 1
105487 _ACEOF
105488
105489          cat >>confdefs.h <<\_ACEOF
105490 #define HAVE_SIGSETJMP 1
105491 _ACEOF
105492
105493          cat >>confdefs.h <<\_ACEOF
105494 #define HAVE_MBSTATE_T 1
105495 _ACEOF
105496
105497          cat >>confdefs.h <<\_ACEOF
105498 #define HAVE_POLL 1
105499 _ACEOF
105500
105501          cat >>confdefs.h <<\_ACEOF
105502 #define HAVE_S_ISREG 1
105503 _ACEOF
105504
105505          cat >>confdefs.h <<\_ACEOF
105506 #define HAVE_LC_MESSAGES 1
105507 _ACEOF
105508
105509          cat >>confdefs.h <<\_ACEOF
105510 #define HAVE_FINITE 1
105511 _ACEOF
105512
105513          cat >>confdefs.h <<\_ACEOF
105514 #define HAVE_FPCLASS 1
105515 _ACEOF
105516
105517          cat >>confdefs.h <<\_ACEOF
105518 #define HAVE_GETPAGESIZE 1
105519 _ACEOF
105520
105521          cat >>confdefs.h <<\_ACEOF
105522 #define HAVE_NL_LANGINFO 1
105523 _ACEOF
105524
105525          cat >>confdefs.h <<\_ACEOF
105526 #define HAVE_ICONV 1
105527 _ACEOF
105528
105529          cat >>confdefs.h <<\_ACEOF
105530 #define HAVE_ICONV_CLOSE 1
105531 _ACEOF
105532
105533          cat >>confdefs.h <<\_ACEOF
105534 #define HAVE_ICONV_OPEN 1
105535 _ACEOF
105536
105537          # Look for the pieces required for wchar_t support in order to
105538          # get all the right HAVE_* macros defined.
105539
105540
105541   enable_iconv=no
105542   # Only continue checking if the ISO C99 headers exist and support is on.
105543   if test x"$enable_wchar_t" = xyes; then
105544
105545     # From Bruno Haible's AM_ICONV, but without link tests.
105546     # Check for existence of libiconv.a providing XPG2 wchar_t support.
105547     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
105548     # those with the standalone portable GNU libiconv installed).
105549
105550 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
105551 if test "${with_libiconv_prefix+set}" = set; then
105552   withval="$with_libiconv_prefix"
105553     for dir in `echo "$withval" | tr : ' '`; do
105554       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
105555       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
105556     done
105557     LIBICONV="$LIBICONV -liconv"
105558
105559 fi;
105560    if test x"$LIBICONV" != x; then
105561      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
105562 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
105563    fi
105564
105565     # Use iconv for wchar_t to char conversions. As such, check for
105566     # X/Open Portability Guide, version 2 features (XPG2).
105567     if test "${ac_cv_header_iconv_h+set}" = set; then
105568   echo "$as_me:$LINENO: checking for iconv.h" >&5
105569 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105570 if test "${ac_cv_header_iconv_h+set}" = set; then
105571   echo $ECHO_N "(cached) $ECHO_C" >&6
105572 fi
105573 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105574 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105575 else
105576   # Is the header compilable?
105577 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105578 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105579 cat >conftest.$ac_ext <<_ACEOF
105580 /* confdefs.h.  */
105581 _ACEOF
105582 cat confdefs.h >>conftest.$ac_ext
105583 cat >>conftest.$ac_ext <<_ACEOF
105584 /* end confdefs.h.  */
105585 $ac_includes_default
105586 #include <iconv.h>
105587 _ACEOF
105588 rm -f conftest.$ac_objext
105589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105590   (eval $ac_compile) 2>conftest.er1
105591   ac_status=$?
105592   grep -v '^ *+' conftest.er1 >conftest.err
105593   rm -f conftest.er1
105594   cat conftest.err >&5
105595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105596   (exit $ac_status); } &&
105597          { ac_try='test -z "$ac_c_werror_flag"
105598                          || test ! -s conftest.err'
105599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105600   (eval $ac_try) 2>&5
105601   ac_status=$?
105602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105603   (exit $ac_status); }; } &&
105604          { ac_try='test -s conftest.$ac_objext'
105605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105606   (eval $ac_try) 2>&5
105607   ac_status=$?
105608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105609   (exit $ac_status); }; }; then
105610   ac_header_compiler=yes
105611 else
105612   echo "$as_me: failed program was:" >&5
105613 sed 's/^/| /' conftest.$ac_ext >&5
105614
105615 ac_header_compiler=no
105616 fi
105617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105619 echo "${ECHO_T}$ac_header_compiler" >&6
105620
105621 # Is the header present?
105622 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105623 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105624 cat >conftest.$ac_ext <<_ACEOF
105625 /* confdefs.h.  */
105626 _ACEOF
105627 cat confdefs.h >>conftest.$ac_ext
105628 cat >>conftest.$ac_ext <<_ACEOF
105629 /* end confdefs.h.  */
105630 #include <iconv.h>
105631 _ACEOF
105632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105633   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105634   ac_status=$?
105635   grep -v '^ *+' conftest.er1 >conftest.err
105636   rm -f conftest.er1
105637   cat conftest.err >&5
105638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105639   (exit $ac_status); } >/dev/null; then
105640   if test -s conftest.err; then
105641     ac_cpp_err=$ac_c_preproc_warn_flag
105642     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105643   else
105644     ac_cpp_err=
105645   fi
105646 else
105647   ac_cpp_err=yes
105648 fi
105649 if test -z "$ac_cpp_err"; then
105650   ac_header_preproc=yes
105651 else
105652   echo "$as_me: failed program was:" >&5
105653 sed 's/^/| /' conftest.$ac_ext >&5
105654
105655   ac_header_preproc=no
105656 fi
105657 rm -f conftest.err conftest.$ac_ext
105658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105659 echo "${ECHO_T}$ac_header_preproc" >&6
105660
105661 # So?  What about this header?
105662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105663   yes:no: )
105664     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105665 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105666     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105667 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105668     ac_header_preproc=yes
105669     ;;
105670   no:yes:* )
105671     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105672 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105673     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
105674 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
105675     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105676 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105677     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
105678 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105679     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105680 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105681     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105682 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105683     (
105684       cat <<\_ASBOX
105685 ## ----------------------------------------- ##
105686 ## Report this to the package-unused lists.  ##
105687 ## ----------------------------------------- ##
105688 _ASBOX
105689     ) |
105690       sed "s/^/$as_me: WARNING:     /" >&2
105691     ;;
105692 esac
105693 echo "$as_me:$LINENO: checking for iconv.h" >&5
105694 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105695 if test "${ac_cv_header_iconv_h+set}" = set; then
105696   echo $ECHO_N "(cached) $ECHO_C" >&6
105697 else
105698   ac_cv_header_iconv_h=$ac_header_preproc
105699 fi
105700 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105701 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105702
105703 fi
105704 if test $ac_cv_header_iconv_h = yes; then
105705   ac_has_iconv_h=yes
105706 else
105707   ac_has_iconv_h=no
105708 fi
105709
105710
105711     if test "${ac_cv_header_langinfo_h+set}" = set; then
105712   echo "$as_me:$LINENO: checking for langinfo.h" >&5
105713 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105714 if test "${ac_cv_header_langinfo_h+set}" = set; then
105715   echo $ECHO_N "(cached) $ECHO_C" >&6
105716 fi
105717 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105718 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105719 else
105720   # Is the header compilable?
105721 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105722 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105723 cat >conftest.$ac_ext <<_ACEOF
105724 /* confdefs.h.  */
105725 _ACEOF
105726 cat confdefs.h >>conftest.$ac_ext
105727 cat >>conftest.$ac_ext <<_ACEOF
105728 /* end confdefs.h.  */
105729 $ac_includes_default
105730 #include <langinfo.h>
105731 _ACEOF
105732 rm -f conftest.$ac_objext
105733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105734   (eval $ac_compile) 2>conftest.er1
105735   ac_status=$?
105736   grep -v '^ *+' conftest.er1 >conftest.err
105737   rm -f conftest.er1
105738   cat conftest.err >&5
105739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105740   (exit $ac_status); } &&
105741          { ac_try='test -z "$ac_c_werror_flag"
105742                          || test ! -s conftest.err'
105743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105744   (eval $ac_try) 2>&5
105745   ac_status=$?
105746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105747   (exit $ac_status); }; } &&
105748          { ac_try='test -s conftest.$ac_objext'
105749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105750   (eval $ac_try) 2>&5
105751   ac_status=$?
105752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105753   (exit $ac_status); }; }; then
105754   ac_header_compiler=yes
105755 else
105756   echo "$as_me: failed program was:" >&5
105757 sed 's/^/| /' conftest.$ac_ext >&5
105758
105759 ac_header_compiler=no
105760 fi
105761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105763 echo "${ECHO_T}$ac_header_compiler" >&6
105764
105765 # Is the header present?
105766 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105767 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105768 cat >conftest.$ac_ext <<_ACEOF
105769 /* confdefs.h.  */
105770 _ACEOF
105771 cat confdefs.h >>conftest.$ac_ext
105772 cat >>conftest.$ac_ext <<_ACEOF
105773 /* end confdefs.h.  */
105774 #include <langinfo.h>
105775 _ACEOF
105776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105777   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105778   ac_status=$?
105779   grep -v '^ *+' conftest.er1 >conftest.err
105780   rm -f conftest.er1
105781   cat conftest.err >&5
105782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105783   (exit $ac_status); } >/dev/null; then
105784   if test -s conftest.err; then
105785     ac_cpp_err=$ac_c_preproc_warn_flag
105786     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105787   else
105788     ac_cpp_err=
105789   fi
105790 else
105791   ac_cpp_err=yes
105792 fi
105793 if test -z "$ac_cpp_err"; then
105794   ac_header_preproc=yes
105795 else
105796   echo "$as_me: failed program was:" >&5
105797 sed 's/^/| /' conftest.$ac_ext >&5
105798
105799   ac_header_preproc=no
105800 fi
105801 rm -f conftest.err conftest.$ac_ext
105802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105803 echo "${ECHO_T}$ac_header_preproc" >&6
105804
105805 # So?  What about this header?
105806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105807   yes:no: )
105808     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105809 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105810     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105811 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105812     ac_header_preproc=yes
105813     ;;
105814   no:yes:* )
105815     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105816 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105817     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
105818 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
105819     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105820 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105821     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
105822 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105823     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105824 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105825     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105826 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105827     (
105828       cat <<\_ASBOX
105829 ## ----------------------------------------- ##
105830 ## Report this to the package-unused lists.  ##
105831 ## ----------------------------------------- ##
105832 _ASBOX
105833     ) |
105834       sed "s/^/$as_me: WARNING:     /" >&2
105835     ;;
105836 esac
105837 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105838 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105839 if test "${ac_cv_header_langinfo_h+set}" = set; then
105840   echo $ECHO_N "(cached) $ECHO_C" >&6
105841 else
105842   ac_cv_header_langinfo_h=$ac_header_preproc
105843 fi
105844 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105845 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105846
105847 fi
105848 if test $ac_cv_header_langinfo_h = yes; then
105849   ac_has_langinfo_h=yes
105850 else
105851   ac_has_langinfo_h=no
105852 fi
105853
105854
105855
105856     ac_save_LIBS="$LIBS"
105857     LIBS="$LIBS $LIBICONV"
105858
105859
105860
105861
105862 for ac_func in iconv_open iconv_close iconv nl_langinfo
105863 do
105864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105865 echo "$as_me:$LINENO: checking for $ac_func" >&5
105866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105867 if eval "test \"\${$as_ac_var+set}\" = set"; then
105868   echo $ECHO_N "(cached) $ECHO_C" >&6
105869 else
105870   if test x$gcc_no_link = xyes; then
105871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105873    { (exit 1); exit 1; }; }
105874 fi
105875 cat >conftest.$ac_ext <<_ACEOF
105876 /* confdefs.h.  */
105877 _ACEOF
105878 cat confdefs.h >>conftest.$ac_ext
105879 cat >>conftest.$ac_ext <<_ACEOF
105880 /* end confdefs.h.  */
105881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105883 #define $ac_func innocuous_$ac_func
105884
105885 /* System header to define __stub macros and hopefully few prototypes,
105886     which can conflict with char $ac_func (); below.
105887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105888     <limits.h> exists even on freestanding compilers.  */
105889
105890 #ifdef __STDC__
105891 # include <limits.h>
105892 #else
105893 # include <assert.h>
105894 #endif
105895
105896 #undef $ac_func
105897
105898 /* Override any gcc2 internal prototype to avoid an error.  */
105899 #ifdef __cplusplus
105900 extern "C"
105901 {
105902 #endif
105903 /* We use char because int might match the return type of a gcc2
105904    builtin and then its argument prototype would still apply.  */
105905 char $ac_func ();
105906 /* The GNU C library defines this for functions which it implements
105907     to always fail with ENOSYS.  Some functions are actually named
105908     something starting with __ and the normal name is an alias.  */
105909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105910 choke me
105911 #else
105912 char (*f) () = $ac_func;
105913 #endif
105914 #ifdef __cplusplus
105915 }
105916 #endif
105917
105918 int
105919 main ()
105920 {
105921 return f != $ac_func;
105922   ;
105923   return 0;
105924 }
105925 _ACEOF
105926 rm -f conftest.$ac_objext conftest$ac_exeext
105927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105928   (eval $ac_link) 2>conftest.er1
105929   ac_status=$?
105930   grep -v '^ *+' conftest.er1 >conftest.err
105931   rm -f conftest.er1
105932   cat conftest.err >&5
105933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105934   (exit $ac_status); } &&
105935          { ac_try='test -z "$ac_c_werror_flag"
105936                          || test ! -s conftest.err'
105937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105938   (eval $ac_try) 2>&5
105939   ac_status=$?
105940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105941   (exit $ac_status); }; } &&
105942          { ac_try='test -s conftest$ac_exeext'
105943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105944   (eval $ac_try) 2>&5
105945   ac_status=$?
105946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105947   (exit $ac_status); }; }; then
105948   eval "$as_ac_var=yes"
105949 else
105950   echo "$as_me: failed program was:" >&5
105951 sed 's/^/| /' conftest.$ac_ext >&5
105952
105953 eval "$as_ac_var=no"
105954 fi
105955 rm -f conftest.err conftest.$ac_objext \
105956       conftest$ac_exeext conftest.$ac_ext
105957 fi
105958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105960 if test `eval echo '${'$as_ac_var'}'` = yes; then
105961   cat >>confdefs.h <<_ACEOF
105962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105963 _ACEOF
105964  ac_XPG2funcs=yes
105965 else
105966   ac_XPG2funcs=no
105967 fi
105968 done
105969
105970     LIBS="$ac_save_LIBS"
105971
105972     if test x"$ac_has_iconv_h" = xyes &&
105973        test x"$ac_has_langinfo_h" = xyes &&
105974        test x"$ac_XPG2funcs" = xyes;
105975     then
105976
105977 cat >>confdefs.h <<\_ACEOF
105978 #define _GLIBCXX_USE_ICONV 1
105979 _ACEOF
105980
105981       enable_iconv=yes
105982
105983     fi
105984   fi
105985   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105986 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105987   echo "$as_me:$LINENO: result: $enable_iconv" >&5
105988 echo "${ECHO_T}$enable_iconv" >&6
105989
105990          # All of the dependencies for wide character support are here, so
105991          # turn it on.  This requires some syncronization with the
105992          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
105993          cat >>confdefs.h <<\_ACEOF
105994 #define _GLIBCXX_USE_WCHAR_T 1
105995 _ACEOF
105996
105997          # Are these tested for even when cross?
105998          cat >>confdefs.h <<\_ACEOF
105999 #define HAVE_FLOAT_H 1
106000 _ACEOF
106001
106002          cat >>confdefs.h <<\_ACEOF
106003 #define HAVE_IEEEFP_H 1
106004 _ACEOF
106005
106006          cat >>confdefs.h <<\_ACEOF
106007 #define HAVE_INTTYPES_H 1
106008 _ACEOF
106009
106010          cat >>confdefs.h <<\_ACEOF
106011 #define HAVE_LOCALE_H 1
106012 _ACEOF
106013
106014          cat >>confdefs.h <<\_ACEOF
106015 #define HAVE_NAN_H 1
106016 _ACEOF
106017
106018          cat >>confdefs.h <<\_ACEOF
106019 #define HAVE_SYS_FILIO_H 1
106020 _ACEOF
106021
106022          cat >>confdefs.h <<\_ACEOF
106023 #define HAVE_SYS_IOCTL_H 1
106024 _ACEOF
106025
106026          cat >>confdefs.h <<\_ACEOF
106027 #define HAVE_SYS_ISA_DEFS_H 1
106028 _ACEOF
106029
106030          cat >>confdefs.h <<\_ACEOF
106031 #define HAVE_SYS_RESOURCE_H 1
106032 _ACEOF
106033
106034          cat >>confdefs.h <<\_ACEOF
106035 #define HAVE_SYS_TIME_H 1
106036 _ACEOF
106037
106038          cat >>confdefs.h <<\_ACEOF
106039 #define HAVE_SYS_TYPES_H 1
106040 _ACEOF
106041
106042          cat >>confdefs.h <<\_ACEOF
106043 #define HAVE_UNISTD_H 1
106044 _ACEOF
106045
106046          cat >>confdefs.h <<\_ACEOF
106047 #define HAVE_WCHAR_H 1
106048 _ACEOF
106049
106050          cat >>confdefs.h <<\_ACEOF
106051 #define HAVE_WCTYPE_H 1
106052 _ACEOF
106053
106054          cat >>confdefs.h <<\_ACEOF
106055 #define HAVE_LIBM 1
106056 _ACEOF
106057
106058         ;;
106059     esac
106060     case "$target" in
106061       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106062         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106063         cat >>confdefs.h <<\_ACEOF
106064 #define HAVE___BUILTIN_ABS 1
106065 _ACEOF
106066
106067         cat >>confdefs.h <<\_ACEOF
106068 #define HAVE___BUILTIN_LABS 1
106069 _ACEOF
106070
106071         cat >>confdefs.h <<\_ACEOF
106072 #define HAVE___BUILTIN_FABS 1
106073 _ACEOF
106074
106075         cat >>confdefs.h <<\_ACEOF
106076 #define HAVE___BUILTIN_FABSF 1
106077 _ACEOF
106078
106079         cat >>confdefs.h <<\_ACEOF
106080 #define HAVE___BUILTIN_FABSL 1
106081 _ACEOF
106082
106083         cat >>confdefs.h <<\_ACEOF
106084 #define HAVE___BUILTIN_COS 1
106085 _ACEOF
106086
106087         cat >>confdefs.h <<\_ACEOF
106088 #define HAVE___BUILTIN_COSF 1
106089 _ACEOF
106090
106091         cat >>confdefs.h <<\_ACEOF
106092 #define HAVE___BUILTIN_SIN 1
106093 _ACEOF
106094
106095         cat >>confdefs.h <<\_ACEOF
106096 #define HAVE___BUILTIN_SINF 1
106097 _ACEOF
106098
106099        ;;
106100     esac
106101     case "$target" in
106102       *-*-solaris2.10)
106103       # These two C99 functions are present only in Solaris >= 10
106104       cat >>confdefs.h <<\_ACEOF
106105 #define HAVE_STRTOF 1
106106 _ACEOF
106107
106108       cat >>confdefs.h <<\_ACEOF
106109 #define HAVE_STRTOLD 1
106110 _ACEOF
106111
106112      ;;
106113     esac
106114     cat >>confdefs.h <<\_ACEOF
106115 #define HAVE_MMAP 1
106116 _ACEOF
106117
106118     cat >>confdefs.h <<\_ACEOF
106119 #define HAVE_COPYSIGN 1
106120 _ACEOF
106121
106122     cat >>confdefs.h <<\_ACEOF
106123 #define HAVE_ISNAN 1
106124 _ACEOF
106125
106126     cat >>confdefs.h <<\_ACEOF
106127 #define HAVE_ISNANF 1
106128 _ACEOF
106129
106130     cat >>confdefs.h <<\_ACEOF
106131 #define HAVE_MODFF 1
106132 _ACEOF
106133
106134     cat >>confdefs.h <<\_ACEOF
106135 #define HAVE_HYPOT 1
106136 _ACEOF
106137
106138     ;;
106139   *-tpf)
106140
106141
106142
106143
106144
106145
106146
106147
106148 for ac_header in nan.h endian.h machine/endian.h  \
106149       sys/param.h sys/types.h locale.h float.h inttypes.h
106150 do
106151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106153   echo "$as_me:$LINENO: checking for $ac_header" >&5
106154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106156   echo $ECHO_N "(cached) $ECHO_C" >&6
106157 fi
106158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106160 else
106161   # Is the header compilable?
106162 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106163 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106164 cat >conftest.$ac_ext <<_ACEOF
106165 /* confdefs.h.  */
106166 _ACEOF
106167 cat confdefs.h >>conftest.$ac_ext
106168 cat >>conftest.$ac_ext <<_ACEOF
106169 /* end confdefs.h.  */
106170 $ac_includes_default
106171 #include <$ac_header>
106172 _ACEOF
106173 rm -f conftest.$ac_objext
106174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106175   (eval $ac_compile) 2>conftest.er1
106176   ac_status=$?
106177   grep -v '^ *+' conftest.er1 >conftest.err
106178   rm -f conftest.er1
106179   cat conftest.err >&5
106180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106181   (exit $ac_status); } &&
106182          { ac_try='test -z "$ac_c_werror_flag"
106183                          || test ! -s conftest.err'
106184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106185   (eval $ac_try) 2>&5
106186   ac_status=$?
106187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106188   (exit $ac_status); }; } &&
106189          { ac_try='test -s conftest.$ac_objext'
106190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106191   (eval $ac_try) 2>&5
106192   ac_status=$?
106193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106194   (exit $ac_status); }; }; then
106195   ac_header_compiler=yes
106196 else
106197   echo "$as_me: failed program was:" >&5
106198 sed 's/^/| /' conftest.$ac_ext >&5
106199
106200 ac_header_compiler=no
106201 fi
106202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106204 echo "${ECHO_T}$ac_header_compiler" >&6
106205
106206 # Is the header present?
106207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106209 cat >conftest.$ac_ext <<_ACEOF
106210 /* confdefs.h.  */
106211 _ACEOF
106212 cat confdefs.h >>conftest.$ac_ext
106213 cat >>conftest.$ac_ext <<_ACEOF
106214 /* end confdefs.h.  */
106215 #include <$ac_header>
106216 _ACEOF
106217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106218   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106219   ac_status=$?
106220   grep -v '^ *+' conftest.er1 >conftest.err
106221   rm -f conftest.er1
106222   cat conftest.err >&5
106223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106224   (exit $ac_status); } >/dev/null; then
106225   if test -s conftest.err; then
106226     ac_cpp_err=$ac_c_preproc_warn_flag
106227     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106228   else
106229     ac_cpp_err=
106230   fi
106231 else
106232   ac_cpp_err=yes
106233 fi
106234 if test -z "$ac_cpp_err"; then
106235   ac_header_preproc=yes
106236 else
106237   echo "$as_me: failed program was:" >&5
106238 sed 's/^/| /' conftest.$ac_ext >&5
106239
106240   ac_header_preproc=no
106241 fi
106242 rm -f conftest.err conftest.$ac_ext
106243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106244 echo "${ECHO_T}$ac_header_preproc" >&6
106245
106246 # So?  What about this header?
106247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106248   yes:no: )
106249     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
106250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
106251     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
106252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
106253     ac_header_preproc=yes
106254     ;;
106255   no:yes:* )
106256     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
106257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
106258     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
106259 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
106260     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
106261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
106262     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
106263 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
106264     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
106265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
106266     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
106267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
106268     (
106269       cat <<\_ASBOX
106270 ## ----------------------------------------- ##
106271 ## Report this to the package-unused lists.  ##
106272 ## ----------------------------------------- ##
106273 _ASBOX
106274     ) |
106275       sed "s/^/$as_me: WARNING:     /" >&2
106276     ;;
106277 esac
106278 echo "$as_me:$LINENO: checking for $ac_header" >&5
106279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106281   echo $ECHO_N "(cached) $ECHO_C" >&6
106282 else
106283   eval "$as_ac_Header=\$ac_header_preproc"
106284 fi
106285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106287
106288 fi
106289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
106290   cat >>confdefs.h <<_ACEOF
106291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
106292 _ACEOF
106293
106294 fi
106295
106296 done
106297
106298     SECTION_FLAGS='-ffunction-sections -fdata-sections'
106299
106300
106301   # If we're not using GNU ld, then there's no point in even trying these
106302   # tests.  Check for that first.  We should have already tested for gld
106303   # by now (in libtool), but require it now just to be safe...
106304   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
106305   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
106306
106307
106308
106309   # The name set by libtool depends on the version of libtool.  Shame on us
106310   # for depending on an impl detail, but c'est la vie.  Older versions used
106311   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
106312   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
106313   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
106314   # set (hence we're using an older libtool), then set it.
106315   if test x${with_gnu_ld+set} != xset; then
106316     if test x${ac_cv_prog_gnu_ld+set} != xset; then
106317       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
106318       with_gnu_ld=no
106319     else
106320       with_gnu_ld=$ac_cv_prog_gnu_ld
106321     fi
106322   fi
106323
106324   # Start by getting the version number.  I think the libtool test already
106325   # does some of this, but throws away the result.
106326   if test x"$with_gnu_ld" = x"yes"; then
106327     echo "$as_me:$LINENO: checking for ld version" >&5
106328 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
106329
106330     ldver=`$LD --version 2>/dev/null | head -1 | \
106331            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
106332
106333     glibcxx_gnu_ld_version=`echo $ldver | \
106334            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
106335     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
106336 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
106337   fi
106338
106339   # Set --gc-sections.
106340   glibcxx_gcsections_min_ld=21602
106341   if test x"$with_gnu_ld" = x"yes" &&
106342         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
106343
106344     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
106345     # NB: This flag only works reliably after 2.16.1. Configure tests
106346     # for this are difficult, so hard wire a value that should work.
106347
106348     # All these tests are for C++, but run with the "C" compiler driver.
106349     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
106350     ac_test_CFLAGS="${CFLAGS+set}"
106351     ac_save_CFLAGS="$CFLAGS"
106352     CFLAGS='-x c++ -Wl,--gc-sections'
106353
106354     # Check for -Wl,--gc-sections
106355     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
106356 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
106357     if test x$gcc_no_link = xyes; then
106358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106360    { (exit 1); exit 1; }; }
106361 fi
106362 cat >conftest.$ac_ext <<_ACEOF
106363 /* confdefs.h.  */
106364 _ACEOF
106365 cat confdefs.h >>conftest.$ac_ext
106366 cat >>conftest.$ac_ext <<_ACEOF
106367 /* end confdefs.h.  */
106368  int one(void) { return 1; }
106369      int two(void) { return 2; }
106370
106371 int
106372 main ()
106373 {
106374  two();
106375   ;
106376   return 0;
106377 }
106378 _ACEOF
106379 rm -f conftest.$ac_objext conftest$ac_exeext
106380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106381   (eval $ac_link) 2>conftest.er1
106382   ac_status=$?
106383   grep -v '^ *+' conftest.er1 >conftest.err
106384   rm -f conftest.er1
106385   cat conftest.err >&5
106386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106387   (exit $ac_status); } &&
106388          { ac_try='test -z "$ac_c_werror_flag"
106389                          || test ! -s conftest.err'
106390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106391   (eval $ac_try) 2>&5
106392   ac_status=$?
106393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106394   (exit $ac_status); }; } &&
106395          { ac_try='test -s conftest$ac_exeext'
106396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106397   (eval $ac_try) 2>&5
106398   ac_status=$?
106399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106400   (exit $ac_status); }; }; then
106401   ac_gcsections=yes
106402 else
106403   echo "$as_me: failed program was:" >&5
106404 sed 's/^/| /' conftest.$ac_ext >&5
106405
106406 ac_gcsections=no
106407 fi
106408 rm -f conftest.err conftest.$ac_objext \
106409       conftest$ac_exeext conftest.$ac_ext
106410     if test "$ac_gcsections" = "yes"; then
106411       rm -f conftest.c
106412       touch conftest.c
106413       if $CC -c conftest.c; then
106414         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
106415            grep "Warning: gc-sections option ignored" > /dev/null; then
106416           ac_gcsections=no
106417         fi
106418       fi
106419       rm -f conftest.c conftest.o conftest
106420     fi
106421     if test "$ac_gcsections" = "yes"; then
106422       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
106423     fi
106424     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
106425 echo "${ECHO_T}$ac_gcsections" >&6
106426
106427     if test "$ac_test_CFLAGS" = set; then
106428       CFLAGS="$ac_save_CFLAGS"
106429     else
106430       # this is the suspicious part
106431       CFLAGS=''
106432     fi
106433   fi
106434
106435   # Set -z,relro.
106436   # Note this is only for shared objects.
106437   ac_ld_relro=no
106438   if test x"$with_gnu_ld" = x"yes"; then
106439     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
106440 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
106441     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
106442     if test -n "$cxx_z_relo"; then
106443       OPT_LDFLAGS="-Wl,-z,relro"
106444       ac_ld_relro=yes
106445     fi
106446     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
106447 echo "${ECHO_T}$ac_ld_relro" >&6
106448   fi
106449
106450   # Set linker optimization flags.
106451   if test x"$with_gnu_ld" = x"yes"; then
106452     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
106453   fi
106454
106455
106456
106457
106458
106459
106460 echo "$as_me:$LINENO: checking for main in -lm" >&5
106461 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106462 if test "${ac_cv_lib_m_main+set}" = set; then
106463   echo $ECHO_N "(cached) $ECHO_C" >&6
106464 else
106465   ac_check_lib_save_LIBS=$LIBS
106466 LIBS="-lm  $LIBS"
106467 if test x$gcc_no_link = xyes; then
106468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106470    { (exit 1); exit 1; }; }
106471 fi
106472 cat >conftest.$ac_ext <<_ACEOF
106473 /* confdefs.h.  */
106474 _ACEOF
106475 cat confdefs.h >>conftest.$ac_ext
106476 cat >>conftest.$ac_ext <<_ACEOF
106477 /* end confdefs.h.  */
106478
106479
106480 int
106481 main ()
106482 {
106483 main ();
106484   ;
106485   return 0;
106486 }
106487 _ACEOF
106488 rm -f conftest.$ac_objext conftest$ac_exeext
106489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106490   (eval $ac_link) 2>conftest.er1
106491   ac_status=$?
106492   grep -v '^ *+' conftest.er1 >conftest.err
106493   rm -f conftest.er1
106494   cat conftest.err >&5
106495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106496   (exit $ac_status); } &&
106497          { ac_try='test -z "$ac_c_werror_flag"
106498                          || test ! -s conftest.err'
106499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106500   (eval $ac_try) 2>&5
106501   ac_status=$?
106502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106503   (exit $ac_status); }; } &&
106504          { ac_try='test -s conftest$ac_exeext'
106505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106506   (eval $ac_try) 2>&5
106507   ac_status=$?
106508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106509   (exit $ac_status); }; }; then
106510   ac_cv_lib_m_main=yes
106511 else
106512   echo "$as_me: failed program was:" >&5
106513 sed 's/^/| /' conftest.$ac_ext >&5
106514
106515 ac_cv_lib_m_main=no
106516 fi
106517 rm -f conftest.err conftest.$ac_objext \
106518       conftest$ac_exeext conftest.$ac_ext
106519 LIBS=$ac_check_lib_save_LIBS
106520 fi
106521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106522 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
106523 if test $ac_cv_lib_m_main = yes; then
106524   cat >>confdefs.h <<_ACEOF
106525 #define HAVE_LIBM 1
106526 _ACEOF
106527
106528   LIBS="-lm $LIBS"
106529
106530 fi
106531
106532
106533 for ac_func in copysignf
106534 do
106535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106536 echo "$as_me:$LINENO: checking for $ac_func" >&5
106537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106538 if eval "test \"\${$as_ac_var+set}\" = set"; then
106539   echo $ECHO_N "(cached) $ECHO_C" >&6
106540 else
106541   if test x$gcc_no_link = xyes; then
106542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106544    { (exit 1); exit 1; }; }
106545 fi
106546 cat >conftest.$ac_ext <<_ACEOF
106547 /* confdefs.h.  */
106548 _ACEOF
106549 cat confdefs.h >>conftest.$ac_ext
106550 cat >>conftest.$ac_ext <<_ACEOF
106551 /* end confdefs.h.  */
106552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106554 #define $ac_func innocuous_$ac_func
106555
106556 /* System header to define __stub macros and hopefully few prototypes,
106557     which can conflict with char $ac_func (); below.
106558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106559     <limits.h> exists even on freestanding compilers.  */
106560
106561 #ifdef __STDC__
106562 # include <limits.h>
106563 #else
106564 # include <assert.h>
106565 #endif
106566
106567 #undef $ac_func
106568
106569 /* Override any gcc2 internal prototype to avoid an error.  */
106570 #ifdef __cplusplus
106571 extern "C"
106572 {
106573 #endif
106574 /* We use char because int might match the return type of a gcc2
106575    builtin and then its argument prototype would still apply.  */
106576 char $ac_func ();
106577 /* The GNU C library defines this for functions which it implements
106578     to always fail with ENOSYS.  Some functions are actually named
106579     something starting with __ and the normal name is an alias.  */
106580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106581 choke me
106582 #else
106583 char (*f) () = $ac_func;
106584 #endif
106585 #ifdef __cplusplus
106586 }
106587 #endif
106588
106589 int
106590 main ()
106591 {
106592 return f != $ac_func;
106593   ;
106594   return 0;
106595 }
106596 _ACEOF
106597 rm -f conftest.$ac_objext conftest$ac_exeext
106598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106599   (eval $ac_link) 2>conftest.er1
106600   ac_status=$?
106601   grep -v '^ *+' conftest.er1 >conftest.err
106602   rm -f conftest.er1
106603   cat conftest.err >&5
106604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106605   (exit $ac_status); } &&
106606          { ac_try='test -z "$ac_c_werror_flag"
106607                          || test ! -s conftest.err'
106608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106609   (eval $ac_try) 2>&5
106610   ac_status=$?
106611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106612   (exit $ac_status); }; } &&
106613          { ac_try='test -s conftest$ac_exeext'
106614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106615   (eval $ac_try) 2>&5
106616   ac_status=$?
106617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106618   (exit $ac_status); }; }; then
106619   eval "$as_ac_var=yes"
106620 else
106621   echo "$as_me: failed program was:" >&5
106622 sed 's/^/| /' conftest.$ac_ext >&5
106623
106624 eval "$as_ac_var=no"
106625 fi
106626 rm -f conftest.err conftest.$ac_objext \
106627       conftest$ac_exeext conftest.$ac_ext
106628 fi
106629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106631 if test `eval echo '${'$as_ac_var'}'` = yes; then
106632   cat >>confdefs.h <<_ACEOF
106633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106634 _ACEOF
106635
106636 else
106637   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
106638 fi
106639 done
106640
106641
106642
106643 for ac_func in __signbit
106644 do
106645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106646 echo "$as_me:$LINENO: checking for $ac_func" >&5
106647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106648 if eval "test \"\${$as_ac_var+set}\" = set"; then
106649   echo $ECHO_N "(cached) $ECHO_C" >&6
106650 else
106651   if test x$gcc_no_link = xyes; then
106652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106654    { (exit 1); exit 1; }; }
106655 fi
106656 cat >conftest.$ac_ext <<_ACEOF
106657 /* confdefs.h.  */
106658 _ACEOF
106659 cat confdefs.h >>conftest.$ac_ext
106660 cat >>conftest.$ac_ext <<_ACEOF
106661 /* end confdefs.h.  */
106662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106664 #define $ac_func innocuous_$ac_func
106665
106666 /* System header to define __stub macros and hopefully few prototypes,
106667     which can conflict with char $ac_func (); below.
106668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106669     <limits.h> exists even on freestanding compilers.  */
106670
106671 #ifdef __STDC__
106672 # include <limits.h>
106673 #else
106674 # include <assert.h>
106675 #endif
106676
106677 #undef $ac_func
106678
106679 /* Override any gcc2 internal prototype to avoid an error.  */
106680 #ifdef __cplusplus
106681 extern "C"
106682 {
106683 #endif
106684 /* We use char because int might match the return type of a gcc2
106685    builtin and then its argument prototype would still apply.  */
106686 char $ac_func ();
106687 /* The GNU C library defines this for functions which it implements
106688     to always fail with ENOSYS.  Some functions are actually named
106689     something starting with __ and the normal name is an alias.  */
106690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106691 choke me
106692 #else
106693 char (*f) () = $ac_func;
106694 #endif
106695 #ifdef __cplusplus
106696 }
106697 #endif
106698
106699 int
106700 main ()
106701 {
106702 return f != $ac_func;
106703   ;
106704   return 0;
106705 }
106706 _ACEOF
106707 rm -f conftest.$ac_objext conftest$ac_exeext
106708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106709   (eval $ac_link) 2>conftest.er1
106710   ac_status=$?
106711   grep -v '^ *+' conftest.er1 >conftest.err
106712   rm -f conftest.er1
106713   cat conftest.err >&5
106714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106715   (exit $ac_status); } &&
106716          { ac_try='test -z "$ac_c_werror_flag"
106717                          || test ! -s conftest.err'
106718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106719   (eval $ac_try) 2>&5
106720   ac_status=$?
106721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106722   (exit $ac_status); }; } &&
106723          { ac_try='test -s conftest$ac_exeext'
106724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106725   (eval $ac_try) 2>&5
106726   ac_status=$?
106727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106728   (exit $ac_status); }; }; then
106729   eval "$as_ac_var=yes"
106730 else
106731   echo "$as_me: failed program was:" >&5
106732 sed 's/^/| /' conftest.$ac_ext >&5
106733
106734 eval "$as_ac_var=no"
106735 fi
106736 rm -f conftest.err conftest.$ac_objext \
106737       conftest$ac_exeext conftest.$ac_ext
106738 fi
106739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106741 if test `eval echo '${'$as_ac_var'}'` = yes; then
106742   cat >>confdefs.h <<_ACEOF
106743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106744 _ACEOF
106745
106746 else
106747   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
106748 fi
106749 done
106750
106751
106752
106753 for ac_func in __signbitf
106754 do
106755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106756 echo "$as_me:$LINENO: checking for $ac_func" >&5
106757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106758 if eval "test \"\${$as_ac_var+set}\" = set"; then
106759   echo $ECHO_N "(cached) $ECHO_C" >&6
106760 else
106761   if test x$gcc_no_link = xyes; then
106762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106764    { (exit 1); exit 1; }; }
106765 fi
106766 cat >conftest.$ac_ext <<_ACEOF
106767 /* confdefs.h.  */
106768 _ACEOF
106769 cat confdefs.h >>conftest.$ac_ext
106770 cat >>conftest.$ac_ext <<_ACEOF
106771 /* end confdefs.h.  */
106772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106774 #define $ac_func innocuous_$ac_func
106775
106776 /* System header to define __stub macros and hopefully few prototypes,
106777     which can conflict with char $ac_func (); below.
106778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106779     <limits.h> exists even on freestanding compilers.  */
106780
106781 #ifdef __STDC__
106782 # include <limits.h>
106783 #else
106784 # include <assert.h>
106785 #endif
106786
106787 #undef $ac_func
106788
106789 /* Override any gcc2 internal prototype to avoid an error.  */
106790 #ifdef __cplusplus
106791 extern "C"
106792 {
106793 #endif
106794 /* We use char because int might match the return type of a gcc2
106795    builtin and then its argument prototype would still apply.  */
106796 char $ac_func ();
106797 /* The GNU C library defines this for functions which it implements
106798     to always fail with ENOSYS.  Some functions are actually named
106799     something starting with __ and the normal name is an alias.  */
106800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106801 choke me
106802 #else
106803 char (*f) () = $ac_func;
106804 #endif
106805 #ifdef __cplusplus
106806 }
106807 #endif
106808
106809 int
106810 main ()
106811 {
106812 return f != $ac_func;
106813   ;
106814   return 0;
106815 }
106816 _ACEOF
106817 rm -f conftest.$ac_objext conftest$ac_exeext
106818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106819   (eval $ac_link) 2>conftest.er1
106820   ac_status=$?
106821   grep -v '^ *+' conftest.er1 >conftest.err
106822   rm -f conftest.er1
106823   cat conftest.err >&5
106824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106825   (exit $ac_status); } &&
106826          { ac_try='test -z "$ac_c_werror_flag"
106827                          || test ! -s conftest.err'
106828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106829   (eval $ac_try) 2>&5
106830   ac_status=$?
106831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106832   (exit $ac_status); }; } &&
106833          { ac_try='test -s conftest$ac_exeext'
106834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106835   (eval $ac_try) 2>&5
106836   ac_status=$?
106837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106838   (exit $ac_status); }; }; then
106839   eval "$as_ac_var=yes"
106840 else
106841   echo "$as_me: failed program was:" >&5
106842 sed 's/^/| /' conftest.$ac_ext >&5
106843
106844 eval "$as_ac_var=no"
106845 fi
106846 rm -f conftest.err conftest.$ac_objext \
106847       conftest$ac_exeext conftest.$ac_ext
106848 fi
106849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106851 if test `eval echo '${'$as_ac_var'}'` = yes; then
106852   cat >>confdefs.h <<_ACEOF
106853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106854 _ACEOF
106855
106856 else
106857   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
106858 fi
106859 done
106860
106861
106862           if test x$ac_cv_func_copysignl = x"yes"; then
106863
106864 for ac_func in __signbitl
106865 do
106866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106867 echo "$as_me:$LINENO: checking for $ac_func" >&5
106868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106869 if eval "test \"\${$as_ac_var+set}\" = set"; then
106870   echo $ECHO_N "(cached) $ECHO_C" >&6
106871 else
106872   if test x$gcc_no_link = xyes; then
106873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106875    { (exit 1); exit 1; }; }
106876 fi
106877 cat >conftest.$ac_ext <<_ACEOF
106878 /* confdefs.h.  */
106879 _ACEOF
106880 cat confdefs.h >>conftest.$ac_ext
106881 cat >>conftest.$ac_ext <<_ACEOF
106882 /* end confdefs.h.  */
106883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106885 #define $ac_func innocuous_$ac_func
106886
106887 /* System header to define __stub macros and hopefully few prototypes,
106888     which can conflict with char $ac_func (); below.
106889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106890     <limits.h> exists even on freestanding compilers.  */
106891
106892 #ifdef __STDC__
106893 # include <limits.h>
106894 #else
106895 # include <assert.h>
106896 #endif
106897
106898 #undef $ac_func
106899
106900 /* Override any gcc2 internal prototype to avoid an error.  */
106901 #ifdef __cplusplus
106902 extern "C"
106903 {
106904 #endif
106905 /* We use char because int might match the return type of a gcc2
106906    builtin and then its argument prototype would still apply.  */
106907 char $ac_func ();
106908 /* The GNU C library defines this for functions which it implements
106909     to always fail with ENOSYS.  Some functions are actually named
106910     something starting with __ and the normal name is an alias.  */
106911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106912 choke me
106913 #else
106914 char (*f) () = $ac_func;
106915 #endif
106916 #ifdef __cplusplus
106917 }
106918 #endif
106919
106920 int
106921 main ()
106922 {
106923 return f != $ac_func;
106924   ;
106925   return 0;
106926 }
106927 _ACEOF
106928 rm -f conftest.$ac_objext conftest$ac_exeext
106929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106930   (eval $ac_link) 2>conftest.er1
106931   ac_status=$?
106932   grep -v '^ *+' conftest.er1 >conftest.err
106933   rm -f conftest.er1
106934   cat conftest.err >&5
106935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106936   (exit $ac_status); } &&
106937          { ac_try='test -z "$ac_c_werror_flag"
106938                          || test ! -s conftest.err'
106939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106940   (eval $ac_try) 2>&5
106941   ac_status=$?
106942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106943   (exit $ac_status); }; } &&
106944          { ac_try='test -s conftest$ac_exeext'
106945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106946   (eval $ac_try) 2>&5
106947   ac_status=$?
106948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106949   (exit $ac_status); }; }; then
106950   eval "$as_ac_var=yes"
106951 else
106952   echo "$as_me: failed program was:" >&5
106953 sed 's/^/| /' conftest.$ac_ext >&5
106954
106955 eval "$as_ac_var=no"
106956 fi
106957 rm -f conftest.err conftest.$ac_objext \
106958       conftest$ac_exeext conftest.$ac_ext
106959 fi
106960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106962 if test `eval echo '${'$as_ac_var'}'` = yes; then
106963   cat >>confdefs.h <<_ACEOF
106964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106965 _ACEOF
106966
106967 else
106968   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
106969 fi
106970 done
106971
106972   fi
106973
106974   # Used in libmath/Makefile.am.
106975   if test -n "$LIBMATHOBJS"; then
106976     need_libmath=yes
106977   fi
106978
106979
106980
106981
106982   enable_iconv=no
106983   # Only continue checking if the ISO C99 headers exist and support is on.
106984   if test x"$enable_wchar_t" = xyes; then
106985
106986     # From Bruno Haible's AM_ICONV, but without link tests.
106987     # Check for existence of libiconv.a providing XPG2 wchar_t support.
106988     # Some systems have iconv in libc, some have it in libiconv (OSF/1 and
106989     # those with the standalone portable GNU libiconv installed).
106990
106991 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
106992 if test "${with_libiconv_prefix+set}" = set; then
106993   withval="$with_libiconv_prefix"
106994     for dir in `echo "$withval" | tr : ' '`; do
106995       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
106996       if test -d $dir/lib; then LIBICONV="$LIBICONV -L$dir/lib"; fi
106997     done
106998     LIBICONV="$LIBICONV -liconv"
106999
107000 fi;
107001    if test x"$LIBICONV" != x; then
107002      { echo "$as_me:$LINENO: --with-libiconv-prefix is $LIBICONV" >&5
107003 echo "$as_me: --with-libiconv-prefix is $LIBICONV" >&6;}
107004    fi
107005
107006     # Use iconv for wchar_t to char conversions. As such, check for
107007     # X/Open Portability Guide, version 2 features (XPG2).
107008     if test "${ac_cv_header_iconv_h+set}" = set; then
107009   echo "$as_me:$LINENO: checking for iconv.h" >&5
107010 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107011 if test "${ac_cv_header_iconv_h+set}" = set; then
107012   echo $ECHO_N "(cached) $ECHO_C" >&6
107013 fi
107014 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107015 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107016 else
107017   # Is the header compilable?
107018 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107019 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107020 cat >conftest.$ac_ext <<_ACEOF
107021 /* confdefs.h.  */
107022 _ACEOF
107023 cat confdefs.h >>conftest.$ac_ext
107024 cat >>conftest.$ac_ext <<_ACEOF
107025 /* end confdefs.h.  */
107026 $ac_includes_default
107027 #include <iconv.h>
107028 _ACEOF
107029 rm -f conftest.$ac_objext
107030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107031   (eval $ac_compile) 2>conftest.er1
107032   ac_status=$?
107033   grep -v '^ *+' conftest.er1 >conftest.err
107034   rm -f conftest.er1
107035   cat conftest.err >&5
107036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107037   (exit $ac_status); } &&
107038          { ac_try='test -z "$ac_c_werror_flag"
107039                          || test ! -s conftest.err'
107040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107041   (eval $ac_try) 2>&5
107042   ac_status=$?
107043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107044   (exit $ac_status); }; } &&
107045          { ac_try='test -s conftest.$ac_objext'
107046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107047   (eval $ac_try) 2>&5
107048   ac_status=$?
107049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107050   (exit $ac_status); }; }; then
107051   ac_header_compiler=yes
107052 else
107053   echo "$as_me: failed program was:" >&5
107054 sed 's/^/| /' conftest.$ac_ext >&5
107055
107056 ac_header_compiler=no
107057 fi
107058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107060 echo "${ECHO_T}$ac_header_compiler" >&6
107061
107062 # Is the header present?
107063 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107064 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107065 cat >conftest.$ac_ext <<_ACEOF
107066 /* confdefs.h.  */
107067 _ACEOF
107068 cat confdefs.h >>conftest.$ac_ext
107069 cat >>conftest.$ac_ext <<_ACEOF
107070 /* end confdefs.h.  */
107071 #include <iconv.h>
107072 _ACEOF
107073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107074   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107075   ac_status=$?
107076   grep -v '^ *+' conftest.er1 >conftest.err
107077   rm -f conftest.er1
107078   cat conftest.err >&5
107079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107080   (exit $ac_status); } >/dev/null; then
107081   if test -s conftest.err; then
107082     ac_cpp_err=$ac_c_preproc_warn_flag
107083     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107084   else
107085     ac_cpp_err=
107086   fi
107087 else
107088   ac_cpp_err=yes
107089 fi
107090 if test -z "$ac_cpp_err"; then
107091   ac_header_preproc=yes
107092 else
107093   echo "$as_me: failed program was:" >&5
107094 sed 's/^/| /' conftest.$ac_ext >&5
107095
107096   ac_header_preproc=no
107097 fi
107098 rm -f conftest.err conftest.$ac_ext
107099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107100 echo "${ECHO_T}$ac_header_preproc" >&6
107101
107102 # So?  What about this header?
107103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107104   yes:no: )
107105     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107106 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107107     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107108 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107109     ac_header_preproc=yes
107110     ;;
107111   no:yes:* )
107112     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107113 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107114     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
107115 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
107116     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107117 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107118     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
107119 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107120     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107121 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107122     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107123 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107124     (
107125       cat <<\_ASBOX
107126 ## ----------------------------------------- ##
107127 ## Report this to the package-unused lists.  ##
107128 ## ----------------------------------------- ##
107129 _ASBOX
107130     ) |
107131       sed "s/^/$as_me: WARNING:     /" >&2
107132     ;;
107133 esac
107134 echo "$as_me:$LINENO: checking for iconv.h" >&5
107135 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107136 if test "${ac_cv_header_iconv_h+set}" = set; then
107137   echo $ECHO_N "(cached) $ECHO_C" >&6
107138 else
107139   ac_cv_header_iconv_h=$ac_header_preproc
107140 fi
107141 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107142 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107143
107144 fi
107145 if test $ac_cv_header_iconv_h = yes; then
107146   ac_has_iconv_h=yes
107147 else
107148   ac_has_iconv_h=no
107149 fi
107150
107151
107152     if test "${ac_cv_header_langinfo_h+set}" = set; then
107153   echo "$as_me:$LINENO: checking for langinfo.h" >&5
107154 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107155 if test "${ac_cv_header_langinfo_h+set}" = set; then
107156   echo $ECHO_N "(cached) $ECHO_C" >&6
107157 fi
107158 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107159 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107160 else
107161   # Is the header compilable?
107162 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107163 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107164 cat >conftest.$ac_ext <<_ACEOF
107165 /* confdefs.h.  */
107166 _ACEOF
107167 cat confdefs.h >>conftest.$ac_ext
107168 cat >>conftest.$ac_ext <<_ACEOF
107169 /* end confdefs.h.  */
107170 $ac_includes_default
107171 #include <langinfo.h>
107172 _ACEOF
107173 rm -f conftest.$ac_objext
107174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107175   (eval $ac_compile) 2>conftest.er1
107176   ac_status=$?
107177   grep -v '^ *+' conftest.er1 >conftest.err
107178   rm -f conftest.er1
107179   cat conftest.err >&5
107180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107181   (exit $ac_status); } &&
107182          { ac_try='test -z "$ac_c_werror_flag"
107183                          || test ! -s conftest.err'
107184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107185   (eval $ac_try) 2>&5
107186   ac_status=$?
107187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107188   (exit $ac_status); }; } &&
107189          { ac_try='test -s conftest.$ac_objext'
107190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107191   (eval $ac_try) 2>&5
107192   ac_status=$?
107193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107194   (exit $ac_status); }; }; then
107195   ac_header_compiler=yes
107196 else
107197   echo "$as_me: failed program was:" >&5
107198 sed 's/^/| /' conftest.$ac_ext >&5
107199
107200 ac_header_compiler=no
107201 fi
107202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107204 echo "${ECHO_T}$ac_header_compiler" >&6
107205
107206 # Is the header present?
107207 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107208 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107209 cat >conftest.$ac_ext <<_ACEOF
107210 /* confdefs.h.  */
107211 _ACEOF
107212 cat confdefs.h >>conftest.$ac_ext
107213 cat >>conftest.$ac_ext <<_ACEOF
107214 /* end confdefs.h.  */
107215 #include <langinfo.h>
107216 _ACEOF
107217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107218   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107219   ac_status=$?
107220   grep -v '^ *+' conftest.er1 >conftest.err
107221   rm -f conftest.er1
107222   cat conftest.err >&5
107223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107224   (exit $ac_status); } >/dev/null; then
107225   if test -s conftest.err; then
107226     ac_cpp_err=$ac_c_preproc_warn_flag
107227     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107228   else
107229     ac_cpp_err=
107230   fi
107231 else
107232   ac_cpp_err=yes
107233 fi
107234 if test -z "$ac_cpp_err"; then
107235   ac_header_preproc=yes
107236 else
107237   echo "$as_me: failed program was:" >&5
107238 sed 's/^/| /' conftest.$ac_ext >&5
107239
107240   ac_header_preproc=no
107241 fi
107242 rm -f conftest.err conftest.$ac_ext
107243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107244 echo "${ECHO_T}$ac_header_preproc" >&6
107245
107246 # So?  What about this header?
107247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107248   yes:no: )
107249     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107250 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107251     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107252 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107253     ac_header_preproc=yes
107254     ;;
107255   no:yes:* )
107256     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
107257 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
107258     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
107259 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
107260     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
107261 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
107262     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
107263 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107264     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
107265 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
107266     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
107267 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
107268     (
107269       cat <<\_ASBOX
107270 ## ----------------------------------------- ##
107271 ## Report this to the package-unused lists.  ##
107272 ## ----------------------------------------- ##
107273 _ASBOX
107274     ) |
107275       sed "s/^/$as_me: WARNING:     /" >&2
107276     ;;
107277 esac
107278 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107279 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107280 if test "${ac_cv_header_langinfo_h+set}" = set; then
107281   echo $ECHO_N "(cached) $ECHO_C" >&6
107282 else
107283   ac_cv_header_langinfo_h=$ac_header_preproc
107284 fi
107285 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107286 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107287
107288 fi
107289 if test $ac_cv_header_langinfo_h = yes; then
107290   ac_has_langinfo_h=yes
107291 else
107292   ac_has_langinfo_h=no
107293 fi
107294
107295
107296
107297     ac_save_LIBS="$LIBS"
107298     LIBS="$LIBS $LIBICONV"
107299
107300
107301
107302
107303 for ac_func in iconv_open iconv_close iconv nl_langinfo
107304 do
107305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107306 echo "$as_me:$LINENO: checking for $ac_func" >&5
107307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107308 if eval "test \"\${$as_ac_var+set}\" = set"; then
107309   echo $ECHO_N "(cached) $ECHO_C" >&6
107310 else
107311   if test x$gcc_no_link = xyes; then
107312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107314    { (exit 1); exit 1; }; }
107315 fi
107316 cat >conftest.$ac_ext <<_ACEOF
107317 /* confdefs.h.  */
107318 _ACEOF
107319 cat confdefs.h >>conftest.$ac_ext
107320 cat >>conftest.$ac_ext <<_ACEOF
107321 /* end confdefs.h.  */
107322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107324 #define $ac_func innocuous_$ac_func
107325
107326 /* System header to define __stub macros and hopefully few prototypes,
107327     which can conflict with char $ac_func (); below.
107328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107329     <limits.h> exists even on freestanding compilers.  */
107330
107331 #ifdef __STDC__
107332 # include <limits.h>
107333 #else
107334 # include <assert.h>
107335 #endif
107336
107337 #undef $ac_func
107338
107339 /* Override any gcc2 internal prototype to avoid an error.  */
107340 #ifdef __cplusplus
107341 extern "C"
107342 {
107343 #endif
107344 /* We use char because int might match the return type of a gcc2
107345    builtin and then its argument prototype would still apply.  */
107346 char $ac_func ();
107347 /* The GNU C library defines this for functions which it implements
107348     to always fail with ENOSYS.  Some functions are actually named
107349     something starting with __ and the normal name is an alias.  */
107350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107351 choke me
107352 #else
107353 char (*f) () = $ac_func;
107354 #endif
107355 #ifdef __cplusplus
107356 }
107357 #endif
107358
107359 int
107360 main ()
107361 {
107362 return f != $ac_func;
107363   ;
107364   return 0;
107365 }
107366 _ACEOF
107367 rm -f conftest.$ac_objext conftest$ac_exeext
107368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107369   (eval $ac_link) 2>conftest.er1
107370   ac_status=$?
107371   grep -v '^ *+' conftest.er1 >conftest.err
107372   rm -f conftest.er1
107373   cat conftest.err >&5
107374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107375   (exit $ac_status); } &&
107376          { ac_try='test -z "$ac_c_werror_flag"
107377                          || test ! -s conftest.err'
107378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107379   (eval $ac_try) 2>&5
107380   ac_status=$?
107381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107382   (exit $ac_status); }; } &&
107383          { ac_try='test -s conftest$ac_exeext'
107384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107385   (eval $ac_try) 2>&5
107386   ac_status=$?
107387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107388   (exit $ac_status); }; }; then
107389   eval "$as_ac_var=yes"
107390 else
107391   echo "$as_me: failed program was:" >&5
107392 sed 's/^/| /' conftest.$ac_ext >&5
107393
107394 eval "$as_ac_var=no"
107395 fi
107396 rm -f conftest.err conftest.$ac_objext \
107397       conftest$ac_exeext conftest.$ac_ext
107398 fi
107399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107401 if test `eval echo '${'$as_ac_var'}'` = yes; then
107402   cat >>confdefs.h <<_ACEOF
107403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107404 _ACEOF
107405  ac_XPG2funcs=yes
107406 else
107407   ac_XPG2funcs=no
107408 fi
107409 done
107410
107411     LIBS="$ac_save_LIBS"
107412
107413     if test x"$ac_has_iconv_h" = xyes &&
107414        test x"$ac_has_langinfo_h" = xyes &&
107415        test x"$ac_XPG2funcs" = xyes;
107416     then
107417
107418 cat >>confdefs.h <<\_ACEOF
107419 #define _GLIBCXX_USE_ICONV 1
107420 _ACEOF
107421
107422       enable_iconv=yes
107423
107424     fi
107425   fi
107426   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
107427 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
107428   echo "$as_me:$LINENO: result: $enable_iconv" >&5
107429 echo "${ECHO_T}$enable_iconv" >&6
107430
107431     cat >>confdefs.h <<\_ACEOF
107432 #define HAVE_COPYSIGN 1
107433 _ACEOF
107434
107435     cat >>confdefs.h <<\_ACEOF
107436 #define HAVE_COPYSIGNF 1
107437 _ACEOF
107438
107439     cat >>confdefs.h <<\_ACEOF
107440 #define HAVE_FINITE 1
107441 _ACEOF
107442
107443     cat >>confdefs.h <<\_ACEOF
107444 #define HAVE_FINITEF 1
107445 _ACEOF
107446
107447     cat >>confdefs.h <<\_ACEOF
107448 #define HAVE_FREXPF 1
107449 _ACEOF
107450
107451     cat >>confdefs.h <<\_ACEOF
107452 #define HAVE_HYPOTF 1
107453 _ACEOF
107454
107455     cat >>confdefs.h <<\_ACEOF
107456 #define HAVE_ISINF 1
107457 _ACEOF
107458
107459     cat >>confdefs.h <<\_ACEOF
107460 #define HAVE_ISINFF 1
107461 _ACEOF
107462
107463     cat >>confdefs.h <<\_ACEOF
107464 #define HAVE_ISNAN 1
107465 _ACEOF
107466
107467     cat >>confdefs.h <<\_ACEOF
107468 #define HAVE_ISNANF 1
107469 _ACEOF
107470
107471     cat >>confdefs.h <<\_ACEOF
107472 #define HAVE_SINCOS 1
107473 _ACEOF
107474
107475     cat >>confdefs.h <<\_ACEOF
107476 #define HAVE_SINCOSF 1
107477 _ACEOF
107478
107479     if test x"long_double_math_on_this_cpu" = x"yes"; then
107480       cat >>confdefs.h <<\_ACEOF
107481 #define HAVE_FINITEL 1
107482 _ACEOF
107483
107484       cat >>confdefs.h <<\_ACEOF
107485 #define HAVE_HYPOTL 1
107486 _ACEOF
107487
107488       cat >>confdefs.h <<\_ACEOF
107489 #define HAVE_ISINFL 1
107490 _ACEOF
107491
107492       cat >>confdefs.h <<\_ACEOF
107493 #define HAVE_ISNANL 1
107494 _ACEOF
107495
107496     fi
107497     ;;
107498   *-vxworks)
107499     cat >>confdefs.h <<\_ACEOF
107500 #define HAVE_MMAP 1
107501 _ACEOF
107502
107503     cat >>confdefs.h <<\_ACEOF
107504 #define HAVE_ACOSF 1
107505 _ACEOF
107506
107507     cat >>confdefs.h <<\_ACEOF
107508 #define HAVE_ASINF 1
107509 _ACEOF
107510
107511     cat >>confdefs.h <<\_ACEOF
107512 #define HAVE_ATAN2F 1
107513 _ACEOF
107514
107515     cat >>confdefs.h <<\_ACEOF
107516 #define HAVE_ATANF 1
107517 _ACEOF
107518
107519     cat >>confdefs.h <<\_ACEOF
107520 #define HAVE_CEILF 1
107521 _ACEOF
107522
107523     cat >>confdefs.h <<\_ACEOF
107524 #define HAVE_COSF 1
107525 _ACEOF
107526
107527     cat >>confdefs.h <<\_ACEOF
107528 #define HAVE_COSHF 1
107529 _ACEOF
107530
107531     cat >>confdefs.h <<\_ACEOF
107532 #define HAVE_EXPF 1
107533 _ACEOF
107534
107535     cat >>confdefs.h <<\_ACEOF
107536 #define HAVE_FABSF 1
107537 _ACEOF
107538
107539     cat >>confdefs.h <<\_ACEOF
107540 #define HAVE_FLOORF 1
107541 _ACEOF
107542
107543     cat >>confdefs.h <<\_ACEOF
107544 #define HAVE_FMODF 1
107545 _ACEOF
107546
107547     cat >>confdefs.h <<\_ACEOF
107548 #define HAVE_HYPOT 1
107549 _ACEOF
107550
107551     cat >>confdefs.h <<\_ACEOF
107552 #define HAVE_LOG10F 1
107553 _ACEOF
107554
107555     cat >>confdefs.h <<\_ACEOF
107556 #define HAVE_LOGF 1
107557 _ACEOF
107558
107559     cat >>confdefs.h <<\_ACEOF
107560 #define HAVE_POWF 1
107561 _ACEOF
107562
107563     cat >>confdefs.h <<\_ACEOF
107564 #define HAVE_SINF 1
107565 _ACEOF
107566
107567     cat >>confdefs.h <<\_ACEOF
107568 #define HAVE_SINHF 1
107569 _ACEOF
107570
107571     cat >>confdefs.h <<\_ACEOF
107572 #define HAVE_SQRTF 1
107573 _ACEOF
107574
107575     cat >>confdefs.h <<\_ACEOF
107576 #define HAVE_TANF 1
107577 _ACEOF
107578
107579     cat >>confdefs.h <<\_ACEOF
107580 #define HAVE_TANHF 1
107581 _ACEOF
107582
107583     ;;
107584   *-windiss*)
107585     cat >>confdefs.h <<\_ACEOF
107586 #define HAVE_ACOSF 1
107587 _ACEOF
107588
107589     cat >>confdefs.h <<\_ACEOF
107590 #define HAVE_ACOSL 1
107591 _ACEOF
107592
107593     cat >>confdefs.h <<\_ACEOF
107594 #define HAVE_ASINF 1
107595 _ACEOF
107596
107597     cat >>confdefs.h <<\_ACEOF
107598 #define HAVE_ASINL 1
107599 _ACEOF
107600
107601     cat >>confdefs.h <<\_ACEOF
107602 #define HAVE_ATAN2F 1
107603 _ACEOF
107604
107605     cat >>confdefs.h <<\_ACEOF
107606 #define HAVE_ATAN2L 1
107607 _ACEOF
107608
107609     cat >>confdefs.h <<\_ACEOF
107610 #define HAVE_ATANF 1
107611 _ACEOF
107612
107613     cat >>confdefs.h <<\_ACEOF
107614 #define HAVE_ATANL 1
107615 _ACEOF
107616
107617     cat >>confdefs.h <<\_ACEOF
107618 #define HAVE_CEILF 1
107619 _ACEOF
107620
107621     cat >>confdefs.h <<\_ACEOF
107622 #define HAVE_CEILL 1
107623 _ACEOF
107624
107625     cat >>confdefs.h <<\_ACEOF
107626 #define HAVE_COPYSIGN 1
107627 _ACEOF
107628
107629     cat >>confdefs.h <<\_ACEOF
107630 #define HAVE_COPYSIGNF 1
107631 _ACEOF
107632
107633     cat >>confdefs.h <<\_ACEOF
107634 #define HAVE_COSF 1
107635 _ACEOF
107636
107637     cat >>confdefs.h <<\_ACEOF
107638 #define HAVE_COSL 1
107639 _ACEOF
107640
107641     cat >>confdefs.h <<\_ACEOF
107642 #define HAVE_COSHF 1
107643 _ACEOF
107644
107645     cat >>confdefs.h <<\_ACEOF
107646 #define HAVE_COSHL 1
107647 _ACEOF
107648
107649     cat >>confdefs.h <<\_ACEOF
107650 #define HAVE_EXPF 1
107651 _ACEOF
107652
107653     cat >>confdefs.h <<\_ACEOF
107654 #define HAVE_EXPL 1
107655 _ACEOF
107656
107657     cat >>confdefs.h <<\_ACEOF
107658 #define HAVE_FABSF 1
107659 _ACEOF
107660
107661     cat >>confdefs.h <<\_ACEOF
107662 #define HAVE_FABSL 1
107663 _ACEOF
107664
107665     cat >>confdefs.h <<\_ACEOF
107666 #define HAVE_FLOORF 1
107667 _ACEOF
107668
107669     cat >>confdefs.h <<\_ACEOF
107670 #define HAVE_FLOORL 1
107671 _ACEOF
107672
107673     cat >>confdefs.h <<\_ACEOF
107674 #define HAVE_FMODF 1
107675 _ACEOF
107676
107677     cat >>confdefs.h <<\_ACEOF
107678 #define HAVE_FMODL 1
107679 _ACEOF
107680
107681     cat >>confdefs.h <<\_ACEOF
107682 #define HAVE_FREXPF 1
107683 _ACEOF
107684
107685     cat >>confdefs.h <<\_ACEOF
107686 #define HAVE_FREXPL 1
107687 _ACEOF
107688
107689     cat >>confdefs.h <<\_ACEOF
107690 #define HAVE_LDEXPF 1
107691 _ACEOF
107692
107693     cat >>confdefs.h <<\_ACEOF
107694 #define HAVE_LDEXPL 1
107695 _ACEOF
107696
107697     cat >>confdefs.h <<\_ACEOF
107698 #define HAVE_LOG10F 1
107699 _ACEOF
107700
107701     cat >>confdefs.h <<\_ACEOF
107702 #define HAVE_LOG10L 1
107703 _ACEOF
107704
107705     cat >>confdefs.h <<\_ACEOF
107706 #define HAVE_LOGF 1
107707 _ACEOF
107708
107709     cat >>confdefs.h <<\_ACEOF
107710 #define HAVE_MODFF 1
107711 _ACEOF
107712
107713     cat >>confdefs.h <<\_ACEOF
107714 #define HAVE_MODFL 1
107715 _ACEOF
107716
107717     cat >>confdefs.h <<\_ACEOF
107718 #define HAVE_POWF 1
107719 _ACEOF
107720
107721     cat >>confdefs.h <<\_ACEOF
107722 #define HAVE_POWL 1
107723 _ACEOF
107724
107725     cat >>confdefs.h <<\_ACEOF
107726 #define HAVE_SINF 1
107727 _ACEOF
107728
107729     cat >>confdefs.h <<\_ACEOF
107730 #define HAVE_SINL 1
107731 _ACEOF
107732
107733     cat >>confdefs.h <<\_ACEOF
107734 #define HAVE_SINHF 1
107735 _ACEOF
107736
107737     cat >>confdefs.h <<\_ACEOF
107738 #define HAVE_SINHL 1
107739 _ACEOF
107740
107741     cat >>confdefs.h <<\_ACEOF
107742 #define HAVE_SQRTF 1
107743 _ACEOF
107744
107745     cat >>confdefs.h <<\_ACEOF
107746 #define HAVE_SQRTL 1
107747 _ACEOF
107748
107749     cat >>confdefs.h <<\_ACEOF
107750 #define HAVE_TANF 1
107751 _ACEOF
107752
107753     cat >>confdefs.h <<\_ACEOF
107754 #define HAVE_TANL 1
107755 _ACEOF
107756
107757     cat >>confdefs.h <<\_ACEOF
107758 #define HAVE_TANHF 1
107759 _ACEOF
107760
107761     cat >>confdefs.h <<\_ACEOF
107762 #define HAVE_TANHL 1
107763 _ACEOF
107764
107765     ;;
107766   *)
107767     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
107768 echo "$as_me: error: No support for this host/target combination." >&2;}
107769    { (exit 1); exit 1; }; }
107770    ;;
107771 esac
107772
107773   fi
107774
107775   # At some point, we should differentiate between architectures
107776   # like x86, which have long double versions, and alpha/powerpc/etc.,
107777   # which don't. For the time being, punt.
107778   if test x"long_double_math_on_this_cpu" = x"yes"; then
107779     cat >>confdefs.h <<\_ACEOF
107780 #define HAVE_ACOSL 1
107781 _ACEOF
107782
107783     cat >>confdefs.h <<\_ACEOF
107784 #define HAVE_ASINL 1
107785 _ACEOF
107786
107787     cat >>confdefs.h <<\_ACEOF
107788 #define HAVE_ATAN2L 1
107789 _ACEOF
107790
107791     cat >>confdefs.h <<\_ACEOF
107792 #define HAVE_ATANL 1
107793 _ACEOF
107794
107795     cat >>confdefs.h <<\_ACEOF
107796 #define HAVE_CEILL 1
107797 _ACEOF
107798
107799     cat >>confdefs.h <<\_ACEOF
107800 #define HAVE_COPYSIGNL 1
107801 _ACEOF
107802
107803     cat >>confdefs.h <<\_ACEOF
107804 #define HAVE_COSL 1
107805 _ACEOF
107806
107807     cat >>confdefs.h <<\_ACEOF
107808 #define HAVE_COSHL 1
107809 _ACEOF
107810
107811     cat >>confdefs.h <<\_ACEOF
107812 #define HAVE_EXPL 1
107813 _ACEOF
107814
107815     cat >>confdefs.h <<\_ACEOF
107816 #define HAVE_FABSL 1
107817 _ACEOF
107818
107819     cat >>confdefs.h <<\_ACEOF
107820 #define HAVE_FLOORL 1
107821 _ACEOF
107822
107823     cat >>confdefs.h <<\_ACEOF
107824 #define HAVE_FMODL 1
107825 _ACEOF
107826
107827     cat >>confdefs.h <<\_ACEOF
107828 #define HAVE_FREXPL 1
107829 _ACEOF
107830
107831     cat >>confdefs.h <<\_ACEOF
107832 #define HAVE_LDEXPL 1
107833 _ACEOF
107834
107835     cat >>confdefs.h <<\_ACEOF
107836 #define HAVE_LOG10L 1
107837 _ACEOF
107838
107839     cat >>confdefs.h <<\_ACEOF
107840 #define HAVE_LOGL 1
107841 _ACEOF
107842
107843     cat >>confdefs.h <<\_ACEOF
107844 #define HAVE_MODFL 1
107845 _ACEOF
107846
107847     cat >>confdefs.h <<\_ACEOF
107848 #define HAVE_POWL 1
107849 _ACEOF
107850
107851     cat >>confdefs.h <<\_ACEOF
107852 #define HAVE_SINCOSL 1
107853 _ACEOF
107854
107855     cat >>confdefs.h <<\_ACEOF
107856 #define HAVE_SINL 1
107857 _ACEOF
107858
107859     cat >>confdefs.h <<\_ACEOF
107860 #define HAVE_SINHL 1
107861 _ACEOF
107862
107863     cat >>confdefs.h <<\_ACEOF
107864 #define HAVE_SQRTL 1
107865 _ACEOF
107866
107867     cat >>confdefs.h <<\_ACEOF
107868 #define HAVE_TANL 1
107869 _ACEOF
107870
107871     cat >>confdefs.h <<\_ACEOF
107872 #define HAVE_TANHL 1
107873 _ACEOF
107874
107875   fi
107876
107877   # Assume we have _Unwind_GetIPInfo for cross-compiles.
107878   cat >>confdefs.h <<\_ACEOF
107879 #define HAVE_GETIPINFO 1
107880 _ACEOF
107881
107882
107883 fi
107884
107885 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
107886
107887
107888  # Check whether --enable-symvers or --disable-symvers was given.
107889 if test "${enable_symvers+set}" = set; then
107890   enableval="$enable_symvers"
107891
107892       case "$enableval" in
107893        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
107894        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
107895 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
107896    { (exit 1); exit 1; }; } ;;
107897                           esac
107898
107899 else
107900   enable_symvers=yes
107901 fi;
107902
107903
107904 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
107905 # don't know enough about $LD to do tricks...
107906
107907
107908 # Turn a 'yes' into a suitable default.
107909 if test x$enable_symvers = xyes ; then
107910   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
107911     enable_symvers=no
107912   else
107913     if test $with_gnu_ld = yes ; then
107914       enable_symvers=gnu
107915     else
107916       case ${target_os} in
107917         darwin*)
107918           enable_symvers=darwin ;;
107919         *)
107920           enable_symvers=no ;;
107921       esac
107922     fi
107923   fi
107924 fi
107925
107926 # Check to see if 'darwin' or 'darwin-export' can win.
107927 if test x$enable_symvers = xdarwin-export ; then
107928     enable_symvers=darwin
107929 fi
107930
107931 # Check to see if 'gnu' can win.
107932 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
107933   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
107934   echo "$as_me:$LINENO: checking for shared libgcc" >&5
107935 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
107936   ac_save_CFLAGS="$CFLAGS"
107937   CFLAGS=' -lgcc_s'
107938   if test x$gcc_no_link = xyes; then
107939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107941    { (exit 1); exit 1; }; }
107942 fi
107943 cat >conftest.$ac_ext <<_ACEOF
107944 /* confdefs.h.  */
107945 _ACEOF
107946 cat confdefs.h >>conftest.$ac_ext
107947 cat >>conftest.$ac_ext <<_ACEOF
107948 /* end confdefs.h.  */
107949
107950 int
107951 main ()
107952 {
107953 return 0;
107954   ;
107955   return 0;
107956 }
107957 _ACEOF
107958 rm -f conftest.$ac_objext conftest$ac_exeext
107959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107960   (eval $ac_link) 2>conftest.er1
107961   ac_status=$?
107962   grep -v '^ *+' conftest.er1 >conftest.err
107963   rm -f conftest.er1
107964   cat conftest.err >&5
107965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107966   (exit $ac_status); } &&
107967          { ac_try='test -z "$ac_c_werror_flag"
107968                          || test ! -s conftest.err'
107969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107970   (eval $ac_try) 2>&5
107971   ac_status=$?
107972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107973   (exit $ac_status); }; } &&
107974          { ac_try='test -s conftest$ac_exeext'
107975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107976   (eval $ac_try) 2>&5
107977   ac_status=$?
107978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107979   (exit $ac_status); }; }; then
107980   glibcxx_shared_libgcc=yes
107981 else
107982   echo "$as_me: failed program was:" >&5
107983 sed 's/^/| /' conftest.$ac_ext >&5
107984
107985 glibcxx_shared_libgcc=no
107986 fi
107987 rm -f conftest.err conftest.$ac_objext \
107988       conftest$ac_exeext conftest.$ac_ext
107989   CFLAGS="$ac_save_CFLAGS"
107990   if test $glibcxx_shared_libgcc = no; then
107991     cat > conftest.c <<EOF
107992 int main (void) { return 0; }
107993 EOF
107994     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
107995                              -shared -shared-libgcc -o conftest.so \
107996                              conftest.c -v 2>&1 >/dev/null \
107997                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
107998     rm -f conftest.c conftest.so
107999     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108000       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108001       if test x$gcc_no_link = xyes; then
108002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108004    { (exit 1); exit 1; }; }
108005 fi
108006 cat >conftest.$ac_ext <<_ACEOF
108007 /* confdefs.h.  */
108008 _ACEOF
108009 cat confdefs.h >>conftest.$ac_ext
108010 cat >>conftest.$ac_ext <<_ACEOF
108011 /* end confdefs.h.  */
108012
108013 int
108014 main ()
108015 {
108016 return 0;
108017   ;
108018   return 0;
108019 }
108020 _ACEOF
108021 rm -f conftest.$ac_objext conftest$ac_exeext
108022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108023   (eval $ac_link) 2>conftest.er1
108024   ac_status=$?
108025   grep -v '^ *+' conftest.er1 >conftest.err
108026   rm -f conftest.er1
108027   cat conftest.err >&5
108028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108029   (exit $ac_status); } &&
108030          { ac_try='test -z "$ac_c_werror_flag"
108031                          || test ! -s conftest.err'
108032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108033   (eval $ac_try) 2>&5
108034   ac_status=$?
108035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108036   (exit $ac_status); }; } &&
108037          { ac_try='test -s conftest$ac_exeext'
108038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108039   (eval $ac_try) 2>&5
108040   ac_status=$?
108041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108042   (exit $ac_status); }; }; then
108043   glibcxx_shared_libgcc=yes
108044 else
108045   echo "$as_me: failed program was:" >&5
108046 sed 's/^/| /' conftest.$ac_ext >&5
108047
108048 fi
108049 rm -f conftest.err conftest.$ac_objext \
108050       conftest$ac_exeext conftest.$ac_ext
108051       CFLAGS="$ac_save_CFLAGS"
108052     fi
108053   fi
108054   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108055 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108056
108057   # For GNU ld, we need at least this version.  The format is described in
108058   # GLIBCXX_CHECK_LINKER_FEATURES above.
108059   glibcxx_min_gnu_ld_version=21400
108060
108061   # If no shared libgcc, can't win.
108062   if test $glibcxx_shared_libgcc != yes; then
108063       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108064 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108065       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108066 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108067       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108068 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108069       enable_symvers=no
108070   elif test $with_gnu_ld != yes ; then
108071     # just fail for now
108072     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108073 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108074     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108075 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108076     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108077 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108078     enable_symvers=no
108079   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108080     # The right tools, the right setup, but too old.  Fallbacks?
108081     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108082 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108083     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108084 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108085     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108086 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108087     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108088 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108089     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108090 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108091     enable_symvers=no
108092   fi
108093 fi
108094
108095 # Everything parsed; figure out what file to use.
108096 case $enable_symvers in
108097   no)
108098     SYMVER_FILE=config/abi/pre/none.ver
108099     ;;
108100   gnu)
108101     SYMVER_FILE=config/abi/pre/gnu.ver
108102
108103 cat >>confdefs.h <<\_ACEOF
108104 #define _GLIBCXX_SYMVER_GNU 1
108105 _ACEOF
108106
108107     ;;
108108   gnu-versioned-namespace)
108109     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108110
108111 cat >>confdefs.h <<\_ACEOF
108112 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108113 _ACEOF
108114
108115     ;;
108116   darwin)
108117     SYMVER_FILE=config/abi/pre/gnu.ver
108118
108119 cat >>confdefs.h <<\_ACEOF
108120 #define _GLIBCXX_SYMVER_DARWIN 1
108121 _ACEOF
108122
108123     ;;
108124 esac
108125
108126 if test x$enable_symvers != xno ; then
108127
108128 cat >>confdefs.h <<\_ACEOF
108129 #define _GLIBCXX_SYMVER 1
108130 _ACEOF
108131
108132 fi
108133
108134
108135
108136
108137
108138
108139
108140 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108141 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108142
108143 # Now, set up compatibility support, if any.
108144 # In addition, need this to deal with std::size_t mangling in
108145 # src/compatibility.cc.  In a perfect world, could use
108146 # typeid(std::size_t).name()[0] to do direct substitution.
108147 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108148 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108149 ac_save_CFLAGS="$CFLAGS"
108150 CFLAGS="-Werror"
108151 cat >conftest.$ac_ext <<_ACEOF
108152 /* confdefs.h.  */
108153 _ACEOF
108154 cat confdefs.h >>conftest.$ac_ext
108155 cat >>conftest.$ac_ext <<_ACEOF
108156 /* end confdefs.h.  */
108157
108158 int
108159 main ()
108160 {
108161 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108162   ;
108163   return 0;
108164 }
108165 _ACEOF
108166 rm -f conftest.$ac_objext
108167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108168   (eval $ac_compile) 2>conftest.er1
108169   ac_status=$?
108170   grep -v '^ *+' conftest.er1 >conftest.err
108171   rm -f conftest.er1
108172   cat conftest.err >&5
108173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108174   (exit $ac_status); } &&
108175          { ac_try='test -z "$ac_c_werror_flag"
108176                          || test ! -s conftest.err'
108177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108178   (eval $ac_try) 2>&5
108179   ac_status=$?
108180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108181   (exit $ac_status); }; } &&
108182          { ac_try='test -s conftest.$ac_objext'
108183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108184   (eval $ac_try) 2>&5
108185   ac_status=$?
108186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108187   (exit $ac_status); }; }; then
108188   glibcxx_size_t_is_i=yes
108189 else
108190   echo "$as_me: failed program was:" >&5
108191 sed 's/^/| /' conftest.$ac_ext >&5
108192
108193 glibcxx_size_t_is_i=no
108194 fi
108195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108196 CFLAGS=$ac_save_CFLAGS
108197 if test "$glibcxx_size_t_is_i" = yes; then
108198
108199 cat >>confdefs.h <<\_ACEOF
108200 #define _GLIBCXX_SIZE_T_IS_UINT 1
108201 _ACEOF
108202
108203 fi
108204 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
108205 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
108206
108207 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
108208 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
108209 ac_save_CFLAGS="$CFLAGS"
108210 CFLAGS="-Werror"
108211 cat >conftest.$ac_ext <<_ACEOF
108212 /* confdefs.h.  */
108213 _ACEOF
108214 cat confdefs.h >>conftest.$ac_ext
108215 cat >>conftest.$ac_ext <<_ACEOF
108216 /* end confdefs.h.  */
108217
108218 int
108219 main ()
108220 {
108221 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
108222   ;
108223   return 0;
108224 }
108225 _ACEOF
108226 rm -f conftest.$ac_objext
108227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108228   (eval $ac_compile) 2>conftest.er1
108229   ac_status=$?
108230   grep -v '^ *+' conftest.er1 >conftest.err
108231   rm -f conftest.er1
108232   cat conftest.err >&5
108233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108234   (exit $ac_status); } &&
108235          { ac_try='test -z "$ac_c_werror_flag"
108236                          || test ! -s conftest.err'
108237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108238   (eval $ac_try) 2>&5
108239   ac_status=$?
108240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108241   (exit $ac_status); }; } &&
108242          { ac_try='test -s conftest.$ac_objext'
108243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108244   (eval $ac_try) 2>&5
108245   ac_status=$?
108246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108247   (exit $ac_status); }; }; then
108248   glibcxx_ptrdiff_t_is_i=yes
108249 else
108250   echo "$as_me: failed program was:" >&5
108251 sed 's/^/| /' conftest.$ac_ext >&5
108252
108253 glibcxx_ptrdiff_t_is_i=no
108254 fi
108255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108256 CFLAGS=$ac_save_CFLAGS
108257 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
108258
108259 cat >>confdefs.h <<\_ACEOF
108260 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
108261 _ACEOF
108262
108263 fi
108264 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
108265 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
108266
108267
108268  # Check whether --enable-visibility or --disable-visibility was given.
108269 if test "${enable_visibility+set}" = set; then
108270   enableval="$enable_visibility"
108271
108272       case "$enableval" in
108273        yes|no) ;;
108274        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
108275 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
108276    { (exit 1); exit 1; }; } ;;
108277       esac
108278
108279 else
108280   enable_visibility=yes
108281 fi;
108282
108283
108284 if test x$enable_visibility = xyes ; then
108285       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
108286 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
108287 if test "${have_attribute_visibility+set}" = set; then
108288   echo $ECHO_N "(cached) $ECHO_C" >&6
108289 else
108290
108291   save_CFLAGS="$CFLAGS"
108292   CFLAGS="$CFLAGS -Werror"
108293   cat >conftest.$ac_ext <<_ACEOF
108294 /* confdefs.h.  */
108295 _ACEOF
108296 cat confdefs.h >>conftest.$ac_ext
108297 cat >>conftest.$ac_ext <<_ACEOF
108298 /* end confdefs.h.  */
108299 void __attribute__((visibility("hidden"))) foo(void) { }
108300 int
108301 main ()
108302 {
108303
108304   ;
108305   return 0;
108306 }
108307 _ACEOF
108308 rm -f conftest.$ac_objext
108309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108310   (eval $ac_compile) 2>conftest.er1
108311   ac_status=$?
108312   grep -v '^ *+' conftest.er1 >conftest.err
108313   rm -f conftest.er1
108314   cat conftest.err >&5
108315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108316   (exit $ac_status); } &&
108317          { ac_try='test -z "$ac_c_werror_flag"
108318                          || test ! -s conftest.err'
108319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108320   (eval $ac_try) 2>&5
108321   ac_status=$?
108322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108323   (exit $ac_status); }; } &&
108324          { ac_try='test -s conftest.$ac_objext'
108325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108326   (eval $ac_try) 2>&5
108327   ac_status=$?
108328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108329   (exit $ac_status); }; }; then
108330   have_attribute_visibility=yes
108331 else
108332   echo "$as_me: failed program was:" >&5
108333 sed 's/^/| /' conftest.$ac_ext >&5
108334
108335 have_attribute_visibility=no
108336 fi
108337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108338   CFLAGS="$save_CFLAGS"
108339 fi
108340 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
108341 echo "${ECHO_T}$have_attribute_visibility" >&6
108342   if test $have_attribute_visibility = no; then
108343     enable_visibility=no
108344   fi
108345 fi
108346
108347
108348 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
108349 echo "$as_me: visibility supported: $enable_visibility" >&6;}
108350
108351
108352 ac_ldbl_compat=no
108353 case "$target" in
108354   powerpc*-*-*gnu* | \
108355   sparc*-*-linux* | \
108356   s390*-*-linux* | \
108357   alpha*-*-linux*)
108358   cat >conftest.$ac_ext <<_ACEOF
108359 /* confdefs.h.  */
108360 _ACEOF
108361 cat confdefs.h >>conftest.$ac_ext
108362 cat >>conftest.$ac_ext <<_ACEOF
108363 /* end confdefs.h.  */
108364
108365 int
108366 main ()
108367 {
108368
108369 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
108370 #error no need for long double compatibility
108371 #endif
108372
108373   ;
108374   return 0;
108375 }
108376 _ACEOF
108377 rm -f conftest.$ac_objext
108378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108379   (eval $ac_compile) 2>conftest.er1
108380   ac_status=$?
108381   grep -v '^ *+' conftest.er1 >conftest.err
108382   rm -f conftest.er1
108383   cat conftest.err >&5
108384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108385   (exit $ac_status); } &&
108386          { ac_try='test -z "$ac_c_werror_flag"
108387                          || test ! -s conftest.err'
108388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108389   (eval $ac_try) 2>&5
108390   ac_status=$?
108391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108392   (exit $ac_status); }; } &&
108393          { ac_try='test -s conftest.$ac_objext'
108394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108395   (eval $ac_try) 2>&5
108396   ac_status=$?
108397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108398   (exit $ac_status); }; }; then
108399   ac_ldbl_compat=yes
108400 else
108401   echo "$as_me: failed program was:" >&5
108402 sed 's/^/| /' conftest.$ac_ext >&5
108403
108404 ac_ldbl_compat=no
108405 fi
108406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108407   if test "$ac_ldbl_compat" = yes; then
108408
108409 cat >>confdefs.h <<\_ACEOF
108410 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
108411 _ACEOF
108412
108413     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
108414   fi
108415 esac
108416
108417
108418 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
108419
108420   if $GLIBCXX_IS_NATIVE ; then
108421     # Do checks for resource limit functions.
108422
108423   setrlimit_have_headers=yes
108424
108425
108426
108427 for ac_header in unistd.h sys/time.h sys/resource.h
108428 do
108429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108431   echo "$as_me:$LINENO: checking for $ac_header" >&5
108432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108434   echo $ECHO_N "(cached) $ECHO_C" >&6
108435 fi
108436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108438 else
108439   # Is the header compilable?
108440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108442 cat >conftest.$ac_ext <<_ACEOF
108443 /* confdefs.h.  */
108444 _ACEOF
108445 cat confdefs.h >>conftest.$ac_ext
108446 cat >>conftest.$ac_ext <<_ACEOF
108447 /* end confdefs.h.  */
108448 $ac_includes_default
108449 #include <$ac_header>
108450 _ACEOF
108451 rm -f conftest.$ac_objext
108452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108453   (eval $ac_compile) 2>conftest.er1
108454   ac_status=$?
108455   grep -v '^ *+' conftest.er1 >conftest.err
108456   rm -f conftest.er1
108457   cat conftest.err >&5
108458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108459   (exit $ac_status); } &&
108460          { ac_try='test -z "$ac_c_werror_flag"
108461                          || test ! -s conftest.err'
108462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108463   (eval $ac_try) 2>&5
108464   ac_status=$?
108465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108466   (exit $ac_status); }; } &&
108467          { ac_try='test -s conftest.$ac_objext'
108468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108469   (eval $ac_try) 2>&5
108470   ac_status=$?
108471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108472   (exit $ac_status); }; }; then
108473   ac_header_compiler=yes
108474 else
108475   echo "$as_me: failed program was:" >&5
108476 sed 's/^/| /' conftest.$ac_ext >&5
108477
108478 ac_header_compiler=no
108479 fi
108480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108482 echo "${ECHO_T}$ac_header_compiler" >&6
108483
108484 # Is the header present?
108485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108487 cat >conftest.$ac_ext <<_ACEOF
108488 /* confdefs.h.  */
108489 _ACEOF
108490 cat confdefs.h >>conftest.$ac_ext
108491 cat >>conftest.$ac_ext <<_ACEOF
108492 /* end confdefs.h.  */
108493 #include <$ac_header>
108494 _ACEOF
108495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108496   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108497   ac_status=$?
108498   grep -v '^ *+' conftest.er1 >conftest.err
108499   rm -f conftest.er1
108500   cat conftest.err >&5
108501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108502   (exit $ac_status); } >/dev/null; then
108503   if test -s conftest.err; then
108504     ac_cpp_err=$ac_c_preproc_warn_flag
108505     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108506   else
108507     ac_cpp_err=
108508   fi
108509 else
108510   ac_cpp_err=yes
108511 fi
108512 if test -z "$ac_cpp_err"; then
108513   ac_header_preproc=yes
108514 else
108515   echo "$as_me: failed program was:" >&5
108516 sed 's/^/| /' conftest.$ac_ext >&5
108517
108518   ac_header_preproc=no
108519 fi
108520 rm -f conftest.err conftest.$ac_ext
108521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108522 echo "${ECHO_T}$ac_header_preproc" >&6
108523
108524 # So?  What about this header?
108525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108526   yes:no: )
108527     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108529     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108531     ac_header_preproc=yes
108532     ;;
108533   no:yes:* )
108534     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108536     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108537 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108538     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108540     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108541 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108542     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108544     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108546     (
108547       cat <<\_ASBOX
108548 ## ----------------------------------------- ##
108549 ## Report this to the package-unused lists.  ##
108550 ## ----------------------------------------- ##
108551 _ASBOX
108552     ) |
108553       sed "s/^/$as_me: WARNING:     /" >&2
108554     ;;
108555 esac
108556 echo "$as_me:$LINENO: checking for $ac_header" >&5
108557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108559   echo $ECHO_N "(cached) $ECHO_C" >&6
108560 else
108561   eval "$as_ac_Header=\$ac_header_preproc"
108562 fi
108563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108565
108566 fi
108567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108568   cat >>confdefs.h <<_ACEOF
108569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108570 _ACEOF
108571
108572 else
108573   setrlimit_have_headers=no
108574 fi
108575
108576 done
108577
108578   # If don't have the headers, then we can't run the tests now, and we
108579   # won't be seeing any of these during testsuite compilation.
108580   if test $setrlimit_have_headers = yes; then
108581     # Can't do these in a loop, else the resulting syntax is wrong.
108582
108583   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
108584 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
108585   cat >conftest.$ac_ext <<_ACEOF
108586 /* confdefs.h.  */
108587 _ACEOF
108588 cat confdefs.h >>conftest.$ac_ext
108589 cat >>conftest.$ac_ext <<_ACEOF
108590 /* end confdefs.h.  */
108591 #include <unistd.h>
108592      #include <sys/time.h>
108593      #include <sys/resource.h>
108594
108595 int
108596 main ()
108597 {
108598  int f = RLIMIT_DATA ;
108599   ;
108600   return 0;
108601 }
108602 _ACEOF
108603 rm -f conftest.$ac_objext
108604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108605   (eval $ac_compile) 2>conftest.er1
108606   ac_status=$?
108607   grep -v '^ *+' conftest.er1 >conftest.err
108608   rm -f conftest.er1
108609   cat conftest.err >&5
108610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108611   (exit $ac_status); } &&
108612          { ac_try='test -z "$ac_c_werror_flag"
108613                          || test ! -s conftest.err'
108614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108615   (eval $ac_try) 2>&5
108616   ac_status=$?
108617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108618   (exit $ac_status); }; } &&
108619          { ac_try='test -s conftest.$ac_objext'
108620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108621   (eval $ac_try) 2>&5
108622   ac_status=$?
108623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108624   (exit $ac_status); }; }; then
108625   glibcxx_mresult=1
108626 else
108627   echo "$as_me: failed program was:" >&5
108628 sed 's/^/| /' conftest.$ac_ext >&5
108629
108630 glibcxx_mresult=0
108631 fi
108632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108633
108634 cat >>confdefs.h <<_ACEOF
108635 #define HAVE_LIMIT_DATA $glibcxx_mresult
108636 _ACEOF
108637
108638   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108639   echo "$as_me:$LINENO: result: $res" >&5
108640 echo "${ECHO_T}$res" >&6
108641
108642
108643   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
108644 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
108645   cat >conftest.$ac_ext <<_ACEOF
108646 /* confdefs.h.  */
108647 _ACEOF
108648 cat confdefs.h >>conftest.$ac_ext
108649 cat >>conftest.$ac_ext <<_ACEOF
108650 /* end confdefs.h.  */
108651 #include <unistd.h>
108652      #include <sys/time.h>
108653      #include <sys/resource.h>
108654
108655 int
108656 main ()
108657 {
108658  int f = RLIMIT_RSS ;
108659   ;
108660   return 0;
108661 }
108662 _ACEOF
108663 rm -f conftest.$ac_objext
108664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108665   (eval $ac_compile) 2>conftest.er1
108666   ac_status=$?
108667   grep -v '^ *+' conftest.er1 >conftest.err
108668   rm -f conftest.er1
108669   cat conftest.err >&5
108670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108671   (exit $ac_status); } &&
108672          { ac_try='test -z "$ac_c_werror_flag"
108673                          || test ! -s conftest.err'
108674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108675   (eval $ac_try) 2>&5
108676   ac_status=$?
108677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108678   (exit $ac_status); }; } &&
108679          { ac_try='test -s conftest.$ac_objext'
108680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108681   (eval $ac_try) 2>&5
108682   ac_status=$?
108683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108684   (exit $ac_status); }; }; then
108685   glibcxx_mresult=1
108686 else
108687   echo "$as_me: failed program was:" >&5
108688 sed 's/^/| /' conftest.$ac_ext >&5
108689
108690 glibcxx_mresult=0
108691 fi
108692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108693
108694 cat >>confdefs.h <<_ACEOF
108695 #define HAVE_LIMIT_RSS $glibcxx_mresult
108696 _ACEOF
108697
108698   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108699   echo "$as_me:$LINENO: result: $res" >&5
108700 echo "${ECHO_T}$res" >&6
108701
108702
108703   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
108704 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
108705   cat >conftest.$ac_ext <<_ACEOF
108706 /* confdefs.h.  */
108707 _ACEOF
108708 cat confdefs.h >>conftest.$ac_ext
108709 cat >>conftest.$ac_ext <<_ACEOF
108710 /* end confdefs.h.  */
108711 #include <unistd.h>
108712      #include <sys/time.h>
108713      #include <sys/resource.h>
108714
108715 int
108716 main ()
108717 {
108718  int f = RLIMIT_VMEM ;
108719   ;
108720   return 0;
108721 }
108722 _ACEOF
108723 rm -f conftest.$ac_objext
108724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108725   (eval $ac_compile) 2>conftest.er1
108726   ac_status=$?
108727   grep -v '^ *+' conftest.er1 >conftest.err
108728   rm -f conftest.er1
108729   cat conftest.err >&5
108730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108731   (exit $ac_status); } &&
108732          { ac_try='test -z "$ac_c_werror_flag"
108733                          || test ! -s conftest.err'
108734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108735   (eval $ac_try) 2>&5
108736   ac_status=$?
108737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108738   (exit $ac_status); }; } &&
108739          { ac_try='test -s conftest.$ac_objext'
108740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108741   (eval $ac_try) 2>&5
108742   ac_status=$?
108743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108744   (exit $ac_status); }; }; then
108745   glibcxx_mresult=1
108746 else
108747   echo "$as_me: failed program was:" >&5
108748 sed 's/^/| /' conftest.$ac_ext >&5
108749
108750 glibcxx_mresult=0
108751 fi
108752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108753
108754 cat >>confdefs.h <<_ACEOF
108755 #define HAVE_LIMIT_VMEM $glibcxx_mresult
108756 _ACEOF
108757
108758   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108759   echo "$as_me:$LINENO: result: $res" >&5
108760 echo "${ECHO_T}$res" >&6
108761
108762
108763   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
108764 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
108765   cat >conftest.$ac_ext <<_ACEOF
108766 /* confdefs.h.  */
108767 _ACEOF
108768 cat confdefs.h >>conftest.$ac_ext
108769 cat >>conftest.$ac_ext <<_ACEOF
108770 /* end confdefs.h.  */
108771 #include <unistd.h>
108772      #include <sys/time.h>
108773      #include <sys/resource.h>
108774
108775 int
108776 main ()
108777 {
108778  int f = RLIMIT_AS ;
108779   ;
108780   return 0;
108781 }
108782 _ACEOF
108783 rm -f conftest.$ac_objext
108784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108785   (eval $ac_compile) 2>conftest.er1
108786   ac_status=$?
108787   grep -v '^ *+' conftest.er1 >conftest.err
108788   rm -f conftest.er1
108789   cat conftest.err >&5
108790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108791   (exit $ac_status); } &&
108792          { ac_try='test -z "$ac_c_werror_flag"
108793                          || test ! -s conftest.err'
108794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108795   (eval $ac_try) 2>&5
108796   ac_status=$?
108797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108798   (exit $ac_status); }; } &&
108799          { ac_try='test -s conftest.$ac_objext'
108800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108801   (eval $ac_try) 2>&5
108802   ac_status=$?
108803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108804   (exit $ac_status); }; }; then
108805   glibcxx_mresult=1
108806 else
108807   echo "$as_me: failed program was:" >&5
108808 sed 's/^/| /' conftest.$ac_ext >&5
108809
108810 glibcxx_mresult=0
108811 fi
108812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108813
108814 cat >>confdefs.h <<_ACEOF
108815 #define HAVE_LIMIT_AS $glibcxx_mresult
108816 _ACEOF
108817
108818   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108819   echo "$as_me:$LINENO: result: $res" >&5
108820 echo "${ECHO_T}$res" >&6
108821
108822
108823   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
108824 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
108825   cat >conftest.$ac_ext <<_ACEOF
108826 /* confdefs.h.  */
108827 _ACEOF
108828 cat confdefs.h >>conftest.$ac_ext
108829 cat >>conftest.$ac_ext <<_ACEOF
108830 /* end confdefs.h.  */
108831 #include <unistd.h>
108832      #include <sys/time.h>
108833      #include <sys/resource.h>
108834
108835 int
108836 main ()
108837 {
108838  int f = RLIMIT_FSIZE ;
108839   ;
108840   return 0;
108841 }
108842 _ACEOF
108843 rm -f conftest.$ac_objext
108844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108845   (eval $ac_compile) 2>conftest.er1
108846   ac_status=$?
108847   grep -v '^ *+' conftest.er1 >conftest.err
108848   rm -f conftest.er1
108849   cat conftest.err >&5
108850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108851   (exit $ac_status); } &&
108852          { ac_try='test -z "$ac_c_werror_flag"
108853                          || test ! -s conftest.err'
108854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108855   (eval $ac_try) 2>&5
108856   ac_status=$?
108857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108858   (exit $ac_status); }; } &&
108859          { ac_try='test -s conftest.$ac_objext'
108860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108861   (eval $ac_try) 2>&5
108862   ac_status=$?
108863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108864   (exit $ac_status); }; }; then
108865   glibcxx_mresult=1
108866 else
108867   echo "$as_me: failed program was:" >&5
108868 sed 's/^/| /' conftest.$ac_ext >&5
108869
108870 glibcxx_mresult=0
108871 fi
108872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108873
108874 cat >>confdefs.h <<_ACEOF
108875 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
108876 _ACEOF
108877
108878   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108879   echo "$as_me:$LINENO: result: $res" >&5
108880 echo "${ECHO_T}$res" >&6
108881
108882
108883     # Check for rlimit, setrlimit.
108884     if test "${ac_setrlimit+set}" = set; then
108885   echo $ECHO_N "(cached) $ECHO_C" >&6
108886 else
108887
108888       cat >conftest.$ac_ext <<_ACEOF
108889 /* confdefs.h.  */
108890 _ACEOF
108891 cat confdefs.h >>conftest.$ac_ext
108892 cat >>conftest.$ac_ext <<_ACEOF
108893 /* end confdefs.h.  */
108894 #include <unistd.h>
108895          #include <sys/time.h>
108896          #include <sys/resource.h>
108897
108898 int
108899 main ()
108900 {
108901 struct rlimit r;
108902          setrlimit(0, &r);
108903   ;
108904   return 0;
108905 }
108906 _ACEOF
108907 rm -f conftest.$ac_objext
108908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108909   (eval $ac_compile) 2>conftest.er1
108910   ac_status=$?
108911   grep -v '^ *+' conftest.er1 >conftest.err
108912   rm -f conftest.er1
108913   cat conftest.err >&5
108914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108915   (exit $ac_status); } &&
108916          { ac_try='test -z "$ac_c_werror_flag"
108917                          || test ! -s conftest.err'
108918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108919   (eval $ac_try) 2>&5
108920   ac_status=$?
108921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108922   (exit $ac_status); }; } &&
108923          { ac_try='test -s conftest.$ac_objext'
108924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108925   (eval $ac_try) 2>&5
108926   ac_status=$?
108927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108928   (exit $ac_status); }; }; then
108929   ac_setrlimit=yes
108930 else
108931   echo "$as_me: failed program was:" >&5
108932 sed 's/^/| /' conftest.$ac_ext >&5
108933
108934 ac_setrlimit=no
108935 fi
108936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108937
108938 fi
108939
108940   fi
108941
108942   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
108943 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
108944   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
108945     ac_res_limits=yes
108946
108947 cat >>confdefs.h <<\_ACEOF
108948 #define _GLIBCXX_RES_LIMITS 1
108949 _ACEOF
108950
108951   else
108952     ac_res_limits=no
108953   fi
108954   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
108955 echo "${ECHO_T}$ac_res_limits" >&6
108956
108957
108958     # Look for setenv, so that extended locale tests can be performed.
108959
108960   echo "$as_me:$LINENO: checking for setenv declaration" >&5
108961 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
108962   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
108963     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
108964   echo $ECHO_N "(cached) $ECHO_C" >&6
108965 else
108966
108967
108968
108969       ac_ext=cc
108970 ac_cpp='$CXXCPP $CPPFLAGS'
108971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108974
108975       cat >conftest.$ac_ext <<_ACEOF
108976 /* confdefs.h.  */
108977 _ACEOF
108978 cat confdefs.h >>conftest.$ac_ext
108979 cat >>conftest.$ac_ext <<_ACEOF
108980 /* end confdefs.h.  */
108981 #include <stdlib.h>
108982 int
108983 main ()
108984 {
108985  setenv(0, 0, 0);
108986   ;
108987   return 0;
108988 }
108989 _ACEOF
108990 rm -f conftest.$ac_objext
108991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108992   (eval $ac_compile) 2>conftest.er1
108993   ac_status=$?
108994   grep -v '^ *+' conftest.er1 >conftest.err
108995   rm -f conftest.er1
108996   cat conftest.err >&5
108997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108998   (exit $ac_status); } &&
108999          { ac_try='test -z "$ac_cxx_werror_flag"
109000                          || test ! -s conftest.err'
109001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109002   (eval $ac_try) 2>&5
109003   ac_status=$?
109004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109005   (exit $ac_status); }; } &&
109006          { ac_try='test -s conftest.$ac_objext'
109007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109008   (eval $ac_try) 2>&5
109009   ac_status=$?
109010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109011   (exit $ac_status); }; }; then
109012   glibcxx_cv_func_setenv_use=yes
109013 else
109014   echo "$as_me: failed program was:" >&5
109015 sed 's/^/| /' conftest.$ac_ext >&5
109016
109017 glibcxx_cv_func_setenv_use=no
109018 fi
109019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109020       ac_ext=c
109021 ac_cpp='$CPP $CPPFLAGS'
109022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109025
109026
109027 fi
109028
109029   fi
109030   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109031 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109032   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109033
109034 for ac_func in setenv
109035 do
109036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109037 echo "$as_me:$LINENO: checking for $ac_func" >&5
109038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109039 if eval "test \"\${$as_ac_var+set}\" = set"; then
109040   echo $ECHO_N "(cached) $ECHO_C" >&6
109041 else
109042   if test x$gcc_no_link = xyes; then
109043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109045    { (exit 1); exit 1; }; }
109046 fi
109047 cat >conftest.$ac_ext <<_ACEOF
109048 /* confdefs.h.  */
109049 _ACEOF
109050 cat confdefs.h >>conftest.$ac_ext
109051 cat >>conftest.$ac_ext <<_ACEOF
109052 /* end confdefs.h.  */
109053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109055 #define $ac_func innocuous_$ac_func
109056
109057 /* System header to define __stub macros and hopefully few prototypes,
109058     which can conflict with char $ac_func (); below.
109059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109060     <limits.h> exists even on freestanding compilers.  */
109061
109062 #ifdef __STDC__
109063 # include <limits.h>
109064 #else
109065 # include <assert.h>
109066 #endif
109067
109068 #undef $ac_func
109069
109070 /* Override any gcc2 internal prototype to avoid an error.  */
109071 #ifdef __cplusplus
109072 extern "C"
109073 {
109074 #endif
109075 /* We use char because int might match the return type of a gcc2
109076    builtin and then its argument prototype would still apply.  */
109077 char $ac_func ();
109078 /* The GNU C library defines this for functions which it implements
109079     to always fail with ENOSYS.  Some functions are actually named
109080     something starting with __ and the normal name is an alias.  */
109081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109082 choke me
109083 #else
109084 char (*f) () = $ac_func;
109085 #endif
109086 #ifdef __cplusplus
109087 }
109088 #endif
109089
109090 int
109091 main ()
109092 {
109093 return f != $ac_func;
109094   ;
109095   return 0;
109096 }
109097 _ACEOF
109098 rm -f conftest.$ac_objext conftest$ac_exeext
109099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109100   (eval $ac_link) 2>conftest.er1
109101   ac_status=$?
109102   grep -v '^ *+' conftest.er1 >conftest.err
109103   rm -f conftest.er1
109104   cat conftest.err >&5
109105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109106   (exit $ac_status); } &&
109107          { ac_try='test -z "$ac_c_werror_flag"
109108                          || test ! -s conftest.err'
109109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109110   (eval $ac_try) 2>&5
109111   ac_status=$?
109112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109113   (exit $ac_status); }; } &&
109114          { ac_try='test -s conftest$ac_exeext'
109115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109116   (eval $ac_try) 2>&5
109117   ac_status=$?
109118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109119   (exit $ac_status); }; }; then
109120   eval "$as_ac_var=yes"
109121 else
109122   echo "$as_me: failed program was:" >&5
109123 sed 's/^/| /' conftest.$ac_ext >&5
109124
109125 eval "$as_ac_var=no"
109126 fi
109127 rm -f conftest.err conftest.$ac_objext \
109128       conftest$ac_exeext conftest.$ac_ext
109129 fi
109130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109132 if test `eval echo '${'$as_ac_var'}'` = yes; then
109133   cat >>confdefs.h <<_ACEOF
109134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109135 _ACEOF
109136
109137 fi
109138 done
109139
109140   fi
109141
109142   fi
109143
109144   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109145      test $enable_symvers != no; then
109146     case "$host" in
109147       *-*-cygwin*)
109148         enable_abi_check=no ;;
109149       *)
109150         enable_abi_check=yes ;;
109151     esac
109152   else
109153     # Only build this as native, since automake does not understand
109154     # CXX_FOR_BUILD.
109155     enable_abi_check=no
109156   fi
109157
109158   # Export file names for ABI checking.
109159   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109160
109161
109162
109163 # Propagate the target-specific source directories through the build chain.
109164 ATOMICITY_SRCDIR=config/${atomicity_dir}
109165 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109166 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109167 OS_INC_SRCDIR=config/${os_include_dir}
109168 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109169
109170
109171
109172
109173
109174
109175
109176 # Determine cross-compile flags and AM_CONDITIONALs.
109177 #AC_SUBST(GLIBCXX_IS_NATIVE)
109178 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109179 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109180 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
109181
109182
109183 if test $is_hosted = yes; then
109184   GLIBCXX_HOSTED_TRUE=
109185   GLIBCXX_HOSTED_FALSE='#'
109186 else
109187   GLIBCXX_HOSTED_TRUE='#'
109188   GLIBCXX_HOSTED_FALSE=
109189 fi
109190
109191
109192
109193
109194 if test $enable_libstdcxx_pch = yes; then
109195   GLIBCXX_BUILD_PCH_TRUE=
109196   GLIBCXX_BUILD_PCH_FALSE='#'
109197 else
109198   GLIBCXX_BUILD_PCH_TRUE='#'
109199   GLIBCXX_BUILD_PCH_FALSE=
109200 fi
109201
109202
109203
109204
109205 if test $enable_cheaders = c; then
109206   GLIBCXX_C_HEADERS_C_TRUE=
109207   GLIBCXX_C_HEADERS_C_FALSE='#'
109208 else
109209   GLIBCXX_C_HEADERS_C_TRUE='#'
109210   GLIBCXX_C_HEADERS_C_FALSE=
109211 fi
109212
109213
109214
109215
109216 if test $enable_cheaders = c_std; then
109217   GLIBCXX_C_HEADERS_C_STD_TRUE=
109218   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109219 else
109220   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109221   GLIBCXX_C_HEADERS_C_STD_FALSE=
109222 fi
109223
109224
109225
109226
109227 if test $c_compatibility = yes; then
109228   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109229   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109230 else
109231   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109232   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109233 fi
109234
109235
109236
109237
109238 if test $enable_libstdcxx_debug = yes; then
109239   GLIBCXX_BUILD_DEBUG_TRUE=
109240   GLIBCXX_BUILD_DEBUG_FALSE='#'
109241 else
109242   GLIBCXX_BUILD_DEBUG_TRUE='#'
109243   GLIBCXX_BUILD_DEBUG_FALSE=
109244 fi
109245
109246
109247
109248
109249 if test $enable_symvers != no; then
109250   ENABLE_SYMVERS_TRUE=
109251   ENABLE_SYMVERS_FALSE='#'
109252 else
109253   ENABLE_SYMVERS_TRUE='#'
109254   ENABLE_SYMVERS_FALSE=
109255 fi
109256
109257
109258
109259
109260 if test $enable_symvers = gnu; then
109261   ENABLE_SYMVERS_GNU_TRUE=
109262   ENABLE_SYMVERS_GNU_FALSE='#'
109263 else
109264   ENABLE_SYMVERS_GNU_TRUE='#'
109265   ENABLE_SYMVERS_GNU_FALSE=
109266 fi
109267
109268
109269
109270
109271 if test $enable_symvers = gnu-versioned-namespace; then
109272   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
109273   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
109274 else
109275   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
109276   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
109277 fi
109278
109279
109280
109281
109282 if test $enable_symvers = darwin; then
109283   ENABLE_SYMVERS_DARWIN_TRUE=
109284   ENABLE_SYMVERS_DARWIN_FALSE='#'
109285 else
109286   ENABLE_SYMVERS_DARWIN_TRUE='#'
109287   ENABLE_SYMVERS_DARWIN_FALSE=
109288 fi
109289
109290
109291
109292
109293 if test $enable_visibility = yes; then
109294   ENABLE_VISIBILITY_TRUE=
109295   ENABLE_VISIBILITY_FALSE='#'
109296 else
109297   ENABLE_VISIBILITY_TRUE='#'
109298   ENABLE_VISIBILITY_FALSE=
109299 fi
109300
109301
109302
109303
109304 if test $ac_ldbl_compat = yes; then
109305   GLIBCXX_LDBL_COMPAT_TRUE=
109306   GLIBCXX_LDBL_COMPAT_FALSE='#'
109307 else
109308   GLIBCXX_LDBL_COMPAT_TRUE='#'
109309   GLIBCXX_LDBL_COMPAT_FALSE=
109310 fi
109311
109312
109313
109314
109315 cat >confcache <<\_ACEOF
109316 # This file is a shell script that caches the results of configure
109317 # tests run on this system so they can be shared between configure
109318 # scripts and configure runs, see configure's option --config-cache.
109319 # It is not useful on other systems.  If it contains results you don't
109320 # want to keep, you may remove or edit it.
109321 #
109322 # config.status only pays attention to the cache file if you give it
109323 # the --recheck option to rerun configure.
109324 #
109325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109327 # following values.
109328
109329 _ACEOF
109330
109331 # The following way of writing the cache mishandles newlines in values,
109332 # but we know of no workaround that is simple, portable, and efficient.
109333 # So, don't put newlines in cache variables' values.
109334 # Ultrix sh set writes to stderr and can't be redirected directly,
109335 # and sets the high bit in the cache file unless we assign to the vars.
109336 {
109337   (set) 2>&1 |
109338     case `(ac_space=' '; set | grep ac_space) 2>&1` in
109339     *ac_space=\ *)
109340       # `set' does not quote correctly, so add quotes (double-quote
109341       # substitution turns \\\\ into \\, and sed turns \\ into \).
109342       sed -n \
109343         "s/'/'\\\\''/g;
109344           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109345       ;;
109346     *)
109347       # `set' quotes correctly as required by POSIX, so do not add quotes.
109348       sed -n \
109349         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109350       ;;
109351     esac;
109352 } |
109353   sed '
109354      t clear
109355      : clear
109356      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109357      t end
109358      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109359      : end' >>confcache
109360 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109361   if test -w $cache_file; then
109362     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109363     cat confcache >$cache_file
109364   else
109365     echo "not updating unwritable cache $cache_file"
109366   fi
109367 fi
109368 rm -f confcache
109369
109370 if test ${multilib} = yes; then
109371   multilib_arg="--enable-multilib"
109372 else
109373   multilib_arg=
109374 fi
109375
109376 # Export all the install information.
109377
109378   glibcxx_toolexecdir=no
109379   glibcxx_toolexeclibdir=no
109380   glibcxx_prefixdir=$prefix
109381
109382   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109383 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109384
109385 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109386 if test "${with_gxx_include_dir+set}" = set; then
109387   withval="$with_gxx_include_dir"
109388   case "$withval" in
109389       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109390 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
109391    { (exit 1); exit 1; }; } ;;
109392       no)  gxx_include_dir=no ;;
109393       *)   gxx_include_dir=$withval ;;
109394      esac
109395 else
109396   gxx_include_dir=no
109397 fi;
109398   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109399 echo "${ECHO_T}$gxx_include_dir" >&6
109400
109401   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
109402 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
109403   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
109404 if test "${enable_version_specific_runtime_libs+set}" = set; then
109405   enableval="$enable_version_specific_runtime_libs"
109406   case "$enableval" in
109407       yes) version_specific_libs=yes ;;
109408       no)  version_specific_libs=no ;;
109409       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
109410 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
109411    { (exit 1); exit 1; }; };;
109412      esac
109413 else
109414   version_specific_libs=no
109415 fi;
109416   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
109417 echo "${ECHO_T}$version_specific_libs" >&6
109418
109419   # Default case for install directory for include files.
109420   if test $version_specific_libs = no && test $gxx_include_dir = no; then
109421     gxx_include_dir='include/c++/${gcc_version}'
109422     if test -n "$with_cross_host" &&
109423        test x"$with_cross_host" != x"no"; then
109424       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
109425     else
109426       gxx_include_dir='${prefix}/'"$gxx_include_dir"
109427     fi
109428   fi
109429
109430   # Version-specific runtime libs processing.
109431   if test $version_specific_libs = yes; then
109432     # Need the gcc compiler version to know where to install libraries
109433     # and header files if --enable-version-specific-runtime-libs option
109434     # is selected.  FIXME: these variables are misnamed, there are
109435     # no executables installed in _toolexecdir or _toolexeclibdir.
109436     if test x"$gxx_include_dir" = x"no"; then
109437       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
109438     fi
109439     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109440     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
109441   fi
109442
109443   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
109444   # Install a library built with a cross compiler in tooldir, not libdir.
109445   if test x"$glibcxx_toolexecdir" = x"no"; then
109446     if test -n "$with_cross_host" &&
109447        test x"$with_cross_host" != x"no"; then
109448       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
109449       glibcxx_toolexeclibdir='${toolexecdir}/lib'
109450     else
109451       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109452       glibcxx_toolexeclibdir='${libdir}'
109453     fi
109454     multi_os_directory=`$CXX -print-multi-os-directory`
109455     case $multi_os_directory in
109456       .) ;; # Avoid trailing /.
109457       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
109458     esac
109459   fi
109460
109461   echo "$as_me:$LINENO: checking for install location" >&5
109462 echo $ECHO_N "checking for install location... $ECHO_C" >&6
109463   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109464 echo "${ECHO_T}$gxx_include_dir" >&6
109465
109466
109467
109468
109469
109470
109471
109472 # Export all the include and flag information to Makefiles.
109473
109474   # Used for every C++ compile we perform.
109475   GLIBCXX_INCLUDES="\
109476 -I$glibcxx_builddir/include/$host_alias \
109477 -I$glibcxx_builddir/include \
109478 -I$glibcxx_srcdir/libsupc++"
109479
109480   # For Canadian crosses, pick this up too.
109481   if test $CANADIAN = yes; then
109482     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
109483   fi
109484
109485   # Stuff in the actual top level.  Currently only used by libsupc++ to
109486   # get unwind* headers from the gcc dir.
109487   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
109488   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
109489
109490   # Now, export this to all the little Makefiles....
109491
109492
109493
109494
109495   # Optimization flags that are probably a good idea for thrill-seekers. Just
109496   # uncomment the lines below and make, everything else is ready to go...
109497   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
109498   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
109499
109500
109501   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
109502
109503
109504
109505 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
109506    grep "enable shared" > /dev/null;
109507 then
109508   LIBSUPCXX_PICFLAGS=-prefer-pic
109509 else
109510   LIBSUPCXX_PICFLAGS=
109511 fi
109512
109513
109514                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
109515
109516           ac_config_files="$ac_config_files scripts/testsuite_flags"
109517
109518
109519           ac_config_commands="$ac_config_commands default"
109520
109521
109522 cat >confcache <<\_ACEOF
109523 # This file is a shell script that caches the results of configure
109524 # tests run on this system so they can be shared between configure
109525 # scripts and configure runs, see configure's option --config-cache.
109526 # It is not useful on other systems.  If it contains results you don't
109527 # want to keep, you may remove or edit it.
109528 #
109529 # config.status only pays attention to the cache file if you give it
109530 # the --recheck option to rerun configure.
109531 #
109532 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109533 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109534 # following values.
109535
109536 _ACEOF
109537
109538 # The following way of writing the cache mishandles newlines in values,
109539 # but we know of no workaround that is simple, portable, and efficient.
109540 # So, don't put newlines in cache variables' values.
109541 # Ultrix sh set writes to stderr and can't be redirected directly,
109542 # and sets the high bit in the cache file unless we assign to the vars.
109543 {
109544   (set) 2>&1 |
109545     case `(ac_space=' '; set | grep ac_space) 2>&1` in
109546     *ac_space=\ *)
109547       # `set' does not quote correctly, so add quotes (double-quote
109548       # substitution turns \\\\ into \\, and sed turns \\ into \).
109549       sed -n \
109550         "s/'/'\\\\''/g;
109551           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109552       ;;
109553     *)
109554       # `set' quotes correctly as required by POSIX, so do not add quotes.
109555       sed -n \
109556         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109557       ;;
109558     esac;
109559 } |
109560   sed '
109561      t clear
109562      : clear
109563      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109564      t end
109565      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109566      : end' >>confcache
109567 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109568   if test -w $cache_file; then
109569     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109570     cat confcache >$cache_file
109571   else
109572     echo "not updating unwritable cache $cache_file"
109573   fi
109574 fi
109575 rm -f confcache
109576
109577 test "x$prefix" = xNONE && prefix=$ac_default_prefix
109578 # Let make expand exec_prefix.
109579 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
109580
109581 # VPATH may cause trouble with some makes, so we remove $(srcdir),
109582 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
109583 # trailing colons and then remove the whole line if VPATH becomes empty
109584 # (actually we leave an empty line to preserve line numbers).
109585 if test "x$srcdir" = x.; then
109586   ac_vpsub='/^[  ]*VPATH[        ]*=/{
109587 s/:*\$(srcdir):*/:/;
109588 s/:*\${srcdir}:*/:/;
109589 s/:*@srcdir@:*/:/;
109590 s/^\([^=]*=[     ]*\):*/\1/;
109591 s/:*$//;
109592 s/^[^=]*=[       ]*$//;
109593 }'
109594 fi
109595
109596 DEFS=-DHAVE_CONFIG_H
109597
109598 ac_libobjs=
109599 ac_ltlibobjs=
109600 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
109601   # 1. Remove the extension, and $U if already installed.
109602   ac_i=`echo "$ac_i" |
109603          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
109604   # 2. Add them.
109605   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
109606   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
109607 done
109608 LIBOBJS=$ac_libobjs
109609
109610 LTLIBOBJS=$ac_ltlibobjs
109611
109612
109613 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
109614   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
109615 Usually this means the macro was only invoked conditionally." >&5
109616 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
109617 Usually this means the macro was only invoked conditionally." >&2;}
109618    { (exit 1); exit 1; }; }
109619 fi
109620 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
109621   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109622 Usually this means the macro was only invoked conditionally." >&5
109623 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109624 Usually this means the macro was only invoked conditionally." >&2;}
109625    { (exit 1); exit 1; }; }
109626 fi
109627 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
109628   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109629 Usually this means the macro was only invoked conditionally." >&5
109630 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109631 Usually this means the macro was only invoked conditionally." >&2;}
109632    { (exit 1); exit 1; }; }
109633 fi
109634 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
109635   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109636 Usually this means the macro was only invoked conditionally." >&5
109637 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109638 Usually this means the macro was only invoked conditionally." >&2;}
109639    { (exit 1); exit 1; }; }
109640 fi
109641 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
109642   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109643 Usually this means the macro was only invoked conditionally." >&5
109644 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109645 Usually this means the macro was only invoked conditionally." >&2;}
109646    { (exit 1); exit 1; }; }
109647 fi
109648 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
109649   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109650 Usually this means the macro was only invoked conditionally." >&5
109651 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109652 Usually this means the macro was only invoked conditionally." >&2;}
109653    { (exit 1); exit 1; }; }
109654 fi
109655 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
109656   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109657 Usually this means the macro was only invoked conditionally." >&5
109658 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109659 Usually this means the macro was only invoked conditionally." >&2;}
109660    { (exit 1); exit 1; }; }
109661 fi
109662 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
109663   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
109664 Usually this means the macro was only invoked conditionally." >&5
109665 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
109666 Usually this means the macro was only invoked conditionally." >&2;}
109667    { (exit 1); exit 1; }; }
109668 fi
109669 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
109670   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109671 Usually this means the macro was only invoked conditionally." >&5
109672 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109673 Usually this means the macro was only invoked conditionally." >&2;}
109674    { (exit 1); exit 1; }; }
109675 fi
109676 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
109677   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109678 Usually this means the macro was only invoked conditionally." >&5
109679 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109680 Usually this means the macro was only invoked conditionally." >&2;}
109681    { (exit 1); exit 1; }; }
109682 fi
109683 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
109684   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109685 Usually this means the macro was only invoked conditionally." >&5
109686 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109687 Usually this means the macro was only invoked conditionally." >&2;}
109688    { (exit 1); exit 1; }; }
109689 fi
109690 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
109691   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109692 Usually this means the macro was only invoked conditionally." >&5
109693 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109694 Usually this means the macro was only invoked conditionally." >&2;}
109695    { (exit 1); exit 1; }; }
109696 fi
109697 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
109698   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109699 Usually this means the macro was only invoked conditionally." >&5
109700 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109701 Usually this means the macro was only invoked conditionally." >&2;}
109702    { (exit 1); exit 1; }; }
109703 fi
109704
109705 : ${CONFIG_STATUS=./config.status}
109706 ac_clean_files_save=$ac_clean_files
109707 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
109708 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
109709 echo "$as_me: creating $CONFIG_STATUS" >&6;}
109710 cat >$CONFIG_STATUS <<_ACEOF
109711 #! $SHELL
109712 # Generated by $as_me.
109713 # Run this file to recreate the current configuration.
109714 # Compiler output produced by configure, useful for debugging
109715 # configure, is in config.log if it exists.
109716
109717 debug=false
109718 ac_cs_recheck=false
109719 ac_cs_silent=false
109720 SHELL=\${CONFIG_SHELL-$SHELL}
109721 _ACEOF
109722
109723 cat >>$CONFIG_STATUS <<\_ACEOF
109724 ## --------------------- ##
109725 ## M4sh Initialization.  ##
109726 ## --------------------- ##
109727
109728 # Be Bourne compatible
109729 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
109730   emulate sh
109731   NULLCMD=:
109732   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
109733   # is contrary to our usage.  Disable this feature.
109734   alias -g '${1+"$@"}'='"$@"'
109735 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
109736   set -o posix
109737 fi
109738 DUALCASE=1; export DUALCASE # for MKS sh
109739
109740 # Support unset when possible.
109741 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
109742   as_unset=unset
109743 else
109744   as_unset=false
109745 fi
109746
109747
109748 # Work around bugs in pre-3.0 UWIN ksh.
109749 $as_unset ENV MAIL MAILPATH
109750 PS1='$ '
109751 PS2='> '
109752 PS4='+ '
109753
109754 # NLS nuisances.
109755 for as_var in \
109756   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
109757   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109758   LC_TELEPHONE LC_TIME
109759 do
109760   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109761     eval $as_var=C; export $as_var
109762   else
109763     $as_unset $as_var
109764   fi
109765 done
109766
109767 # Required to use basename.
109768 if expr a : '\(a\)' >/dev/null 2>&1; then
109769   as_expr=expr
109770 else
109771   as_expr=false
109772 fi
109773
109774 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
109775   as_basename=basename
109776 else
109777   as_basename=false
109778 fi
109779
109780
109781 # Name of the executable.
109782 as_me=`$as_basename "$0" ||
109783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
109784          X"$0" : 'X\(//\)$' \| \
109785          X"$0" : 'X\(/\)$' \| \
109786          .     : '\(.\)' 2>/dev/null ||
109787 echo X/"$0" |
109788     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
109789           /^X\/\(\/\/\)$/{ s//\1/; q; }
109790           /^X\/\(\/\).*/{ s//\1/; q; }
109791           s/.*/./; q'`
109792
109793
109794 # PATH needs CR, and LINENO needs CR and PATH.
109795 # Avoid depending upon Character Ranges.
109796 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
109797 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
109798 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
109799 as_cr_digits='0123456789'
109800 as_cr_alnum=$as_cr_Letters$as_cr_digits
109801
109802 # The user is always right.
109803 if test "${PATH_SEPARATOR+set}" != set; then
109804   echo "#! /bin/sh" >conf$$.sh
109805   echo  "exit 0"   >>conf$$.sh
109806   chmod +x conf$$.sh
109807   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
109808     PATH_SEPARATOR=';'
109809   else
109810     PATH_SEPARATOR=:
109811   fi
109812   rm -f conf$$.sh
109813 fi
109814
109815
109816   as_lineno_1=$LINENO
109817   as_lineno_2=$LINENO
109818   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109819   test "x$as_lineno_1" != "x$as_lineno_2" &&
109820   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
109821   # Find who we are.  Look in the path if we contain no path at all
109822   # relative or not.
109823   case $0 in
109824     *[\\/]* ) as_myself=$0 ;;
109825     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109826 for as_dir in $PATH
109827 do
109828   IFS=$as_save_IFS
109829   test -z "$as_dir" && as_dir=.
109830   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109831 done
109832
109833        ;;
109834   esac
109835   # We did not find ourselves, most probably we were run as `sh COMMAND'
109836   # in which case we are not to be found in the path.
109837   if test "x$as_myself" = x; then
109838     as_myself=$0
109839   fi
109840   if test ! -f "$as_myself"; then
109841     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
109842 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
109843    { (exit 1); exit 1; }; }
109844   fi
109845   case $CONFIG_SHELL in
109846   '')
109847     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109848 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
109849 do
109850   IFS=$as_save_IFS
109851   test -z "$as_dir" && as_dir=.
109852   for as_base in sh bash ksh sh5; do
109853          case $as_dir in
109854          /*)
109855            if ("$as_dir/$as_base" -c '
109856   as_lineno_1=$LINENO
109857   as_lineno_2=$LINENO
109858   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109859   test "x$as_lineno_1" != "x$as_lineno_2" &&
109860   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
109861              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
109862              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
109863              CONFIG_SHELL=$as_dir/$as_base
109864              export CONFIG_SHELL
109865              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
109866            fi;;
109867          esac
109868        done
109869 done
109870 ;;
109871   esac
109872
109873   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
109874   # uniformly replaced by the line number.  The first 'sed' inserts a
109875   # line-number line before each line; the second 'sed' does the real
109876   # work.  The second script uses 'N' to pair each line-number line
109877   # with the numbered line, and appends trailing '-' during
109878   # substitution so that $LINENO is not a special case at line end.
109879   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
109880   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
109881   sed '=' <$as_myself |
109882     sed '
109883       N
109884       s,$,-,
109885       : loop
109886       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
109887       t loop
109888       s,-$,,
109889       s,^['$as_cr_digits']*\n,,
109890     ' >$as_me.lineno &&
109891   chmod +x $as_me.lineno ||
109892     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
109893 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
109894    { (exit 1); exit 1; }; }
109895
109896   # Don't try to exec as it changes $[0], causing all sort of problems
109897   # (the dirname of $[0] is not the place where we might find the
109898   # original and so on.  Autoconf is especially sensible to this).
109899   . ./$as_me.lineno
109900   # Exit status is that of the last command.
109901   exit
109902 }
109903
109904
109905 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
109906   *c*,-n*) ECHO_N= ECHO_C='
109907 ' ECHO_T='      ' ;;
109908   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
109909   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
109910 esac
109911
109912 if expr a : '\(a\)' >/dev/null 2>&1; then
109913   as_expr=expr
109914 else
109915   as_expr=false
109916 fi
109917
109918 rm -f conf$$ conf$$.exe conf$$.file
109919 echo >conf$$.file
109920 if ln -s conf$$.file conf$$ 2>/dev/null; then
109921   # We could just check for DJGPP; but this test a) works b) is more generic
109922   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
109923   if test -f conf$$.exe; then
109924     # Don't use ln at all; we don't have any links
109925     as_ln_s='cp -p'
109926   else
109927     as_ln_s='ln -s'
109928   fi
109929 elif ln conf$$.file conf$$ 2>/dev/null; then
109930   as_ln_s=ln
109931 else
109932   as_ln_s='cp -p'
109933 fi
109934 rm -f conf$$ conf$$.exe conf$$.file
109935
109936 if mkdir -p . 2>/dev/null; then
109937   as_mkdir_p=:
109938 else
109939   test -d ./-p && rmdir ./-p
109940   as_mkdir_p=false
109941 fi
109942
109943 as_executable_p="test -f"
109944
109945 # Sed expression to map a string onto a valid CPP name.
109946 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
109947
109948 # Sed expression to map a string onto a valid variable name.
109949 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
109950
109951
109952 # IFS
109953 # We need space, tab and new line, in precisely that order.
109954 as_nl='
109955 '
109956 IFS="   $as_nl"
109957
109958 # CDPATH.
109959 $as_unset CDPATH
109960
109961 exec 6>&1
109962
109963 # Open the log real soon, to keep \$[0] and so on meaningful, and to
109964 # report actual input values of CONFIG_FILES etc. instead of their
109965 # values after options handling.  Logging --version etc. is OK.
109966 exec 5>>config.log
109967 {
109968   echo
109969   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
109970 ## Running $as_me. ##
109971 _ASBOX
109972 } >&5
109973 cat >&5 <<_CSEOF
109974
109975 This file was extended by package-unused $as_me version-unused, which was
109976 generated by GNU Autoconf 2.59.  Invocation command line was
109977
109978   CONFIG_FILES    = $CONFIG_FILES
109979   CONFIG_HEADERS  = $CONFIG_HEADERS
109980   CONFIG_LINKS    = $CONFIG_LINKS
109981   CONFIG_COMMANDS = $CONFIG_COMMANDS
109982   $ $0 $@
109983
109984 _CSEOF
109985 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
109986 echo >&5
109987 _ACEOF
109988
109989 # Files that config.status was made for.
109990 if test -n "$ac_config_files"; then
109991   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
109992 fi
109993
109994 if test -n "$ac_config_headers"; then
109995   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
109996 fi
109997
109998 if test -n "$ac_config_links"; then
109999   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110000 fi
110001
110002 if test -n "$ac_config_commands"; then
110003   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110004 fi
110005
110006 cat >>$CONFIG_STATUS <<\_ACEOF
110007
110008 ac_cs_usage="\
110009 \`$as_me' instantiates files from templates according to the
110010 current configuration.
110011
110012 Usage: $0 [OPTIONS] [FILE]...
110013
110014   -h, --help       print this help, then exit
110015   -V, --version    print version number, then exit
110016   -q, --quiet      do not print progress messages
110017   -d, --debug      don't remove temporary files
110018       --recheck    update $as_me by reconfiguring in the same conditions
110019   --file=FILE[:TEMPLATE]
110020                    instantiate the configuration file FILE
110021   --header=FILE[:TEMPLATE]
110022                    instantiate the configuration header FILE
110023
110024 Configuration files:
110025 $config_files
110026
110027 Configuration headers:
110028 $config_headers
110029
110030 Configuration commands:
110031 $config_commands
110032
110033 Report bugs to <bug-autoconf@gnu.org>."
110034 _ACEOF
110035
110036 cat >>$CONFIG_STATUS <<_ACEOF
110037 ac_cs_version="\\
110038 package-unused config.status version-unused
110039 configured by $0, generated by GNU Autoconf 2.59,
110040   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110041
110042 Copyright (C) 2003 Free Software Foundation, Inc.
110043 This config.status script is free software; the Free Software Foundation
110044 gives unlimited permission to copy, distribute and modify it."
110045 srcdir=$srcdir
110046 INSTALL="$INSTALL"
110047 _ACEOF
110048
110049 cat >>$CONFIG_STATUS <<\_ACEOF
110050 # If no file are specified by the user, then we need to provide default
110051 # value.  By we need to know if files were specified by the user.
110052 ac_need_defaults=:
110053 while test $# != 0
110054 do
110055   case $1 in
110056   --*=*)
110057     ac_option=`expr "x$1" : 'x\([^=]*\)='`
110058     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110059     ac_shift=:
110060     ;;
110061   -*)
110062     ac_option=$1
110063     ac_optarg=$2
110064     ac_shift=shift
110065     ;;
110066   *) # This is not an option, so the user has probably given explicit
110067      # arguments.
110068      ac_option=$1
110069      ac_need_defaults=false;;
110070   esac
110071
110072   case $ac_option in
110073   # Handling of the options.
110074 _ACEOF
110075 cat >>$CONFIG_STATUS <<\_ACEOF
110076   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110077     ac_cs_recheck=: ;;
110078   --version | --vers* | -V )
110079     echo "$ac_cs_version"; exit 0 ;;
110080   --he | --h)
110081     # Conflict between --help and --header
110082     { { echo "$as_me:$LINENO: error: ambiguous option: $1
110083 Try \`$0 --help' for more information." >&5
110084 echo "$as_me: error: ambiguous option: $1
110085 Try \`$0 --help' for more information." >&2;}
110086    { (exit 1); exit 1; }; };;
110087   --help | --hel | -h )
110088     echo "$ac_cs_usage"; exit 0 ;;
110089   --debug | --d* | -d )
110090     debug=: ;;
110091   --file | --fil | --fi | --f )
110092     $ac_shift
110093     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110094     ac_need_defaults=false;;
110095   --header | --heade | --head | --hea )
110096     $ac_shift
110097     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110098     ac_need_defaults=false;;
110099   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110100   | -silent | --silent | --silen | --sile | --sil | --si | --s)
110101     ac_cs_silent=: ;;
110102
110103   # This is an error.
110104   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110105 Try \`$0 --help' for more information." >&5
110106 echo "$as_me: error: unrecognized option: $1
110107 Try \`$0 --help' for more information." >&2;}
110108    { (exit 1); exit 1; }; } ;;
110109
110110   *) ac_config_targets="$ac_config_targets $1" ;;
110111
110112   esac
110113   shift
110114 done
110115
110116 ac_configure_extra_args=
110117
110118 if $ac_cs_silent; then
110119   exec 6>/dev/null
110120   ac_configure_extra_args="$ac_configure_extra_args --silent"
110121 fi
110122
110123 _ACEOF
110124 cat >>$CONFIG_STATUS <<_ACEOF
110125 if \$ac_cs_recheck; then
110126   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110127   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110128 fi
110129
110130 _ACEOF
110131
110132 cat >>$CONFIG_STATUS <<_ACEOF
110133 #
110134 # INIT-COMMANDS section.
110135 #
110136
110137
110138 srcdir="$srcdir"
110139 host="$host"
110140 target="$target"
110141 with_multisubdir="$with_multisubdir"
110142 with_multisrctop="$with_multisrctop"
110143 with_target_subdir="$with_target_subdir"
110144 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110145 multi_basedir="$multi_basedir"
110146 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110147 CC="$CC"
110148
110149 # Variables needed in config.status (file generation) which aren't already
110150 # passed by autoconf.
110151 SUBDIRS="$SUBDIRS"
110152
110153
110154 _ACEOF
110155
110156
110157
110158 cat >>$CONFIG_STATUS <<\_ACEOF
110159 for ac_config_target in $ac_config_targets
110160 do
110161   case "$ac_config_target" in
110162   # Handling of arguments.
110163   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110164   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110165   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110166   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110167   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110168   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110169   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110170   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110171   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110172   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110173   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110174   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110175 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110176    { (exit 1); exit 1; }; };;
110177   esac
110178 done
110179
110180 # If the user did not use the arguments to specify the items to instantiate,
110181 # then the envvar interface is used.  Set only those that are not.
110182 # We use the long form for the default assignment because of an extremely
110183 # bizarre bug on SunOS 4.1.3.
110184 if $ac_need_defaults; then
110185   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110186   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110187   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110188 fi
110189
110190 # Have a temporary directory for convenience.  Make it in the build tree
110191 # simply because there is no reason to put it here, and in addition,
110192 # creating and moving files from /tmp can sometimes cause problems.
110193 # Create a temporary directory, and hook for its removal unless debugging.
110194 $debug ||
110195 {
110196   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110197   trap '{ (exit 1); exit 1; }' 1 2 13 15
110198 }
110199
110200 # Create a (secure) tmp directory for tmp files.
110201
110202 {
110203   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110204   test -n "$tmp" && test -d "$tmp"
110205 }  ||
110206 {
110207   tmp=./confstat$$-$RANDOM
110208   (umask 077 && mkdir $tmp)
110209 } ||
110210 {
110211    echo "$me: cannot create a temporary directory in ." >&2
110212    { (exit 1); exit 1; }
110213 }
110214
110215 _ACEOF
110216
110217 cat >>$CONFIG_STATUS <<_ACEOF
110218
110219 #
110220 # CONFIG_FILES section.
110221 #
110222
110223 # No need to generate the scripts if there are no CONFIG_FILES.
110224 # This happens for instance when ./config.status config.h
110225 if test -n "\$CONFIG_FILES"; then
110226   # Protect against being on the right side of a sed subst in config.status.
110227   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110228    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110229 s,@SHELL@,$SHELL,;t t
110230 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110231 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110232 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110233 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110234 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110235 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110236 s,@exec_prefix@,$exec_prefix,;t t
110237 s,@prefix@,$prefix,;t t
110238 s,@program_transform_name@,$program_transform_name,;t t
110239 s,@bindir@,$bindir,;t t
110240 s,@sbindir@,$sbindir,;t t
110241 s,@libexecdir@,$libexecdir,;t t
110242 s,@datadir@,$datadir,;t t
110243 s,@sysconfdir@,$sysconfdir,;t t
110244 s,@sharedstatedir@,$sharedstatedir,;t t
110245 s,@localstatedir@,$localstatedir,;t t
110246 s,@libdir@,$libdir,;t t
110247 s,@includedir@,$includedir,;t t
110248 s,@oldincludedir@,$oldincludedir,;t t
110249 s,@infodir@,$infodir,;t t
110250 s,@mandir@,$mandir,;t t
110251 s,@build_alias@,$build_alias,;t t
110252 s,@host_alias@,$host_alias,;t t
110253 s,@target_alias@,$target_alias,;t t
110254 s,@DEFS@,$DEFS,;t t
110255 s,@ECHO_C@,$ECHO_C,;t t
110256 s,@ECHO_N@,$ECHO_N,;t t
110257 s,@ECHO_T@,$ECHO_T,;t t
110258 s,@LIBS@,$LIBS,;t t
110259 s,@libtool_VERSION@,$libtool_VERSION,;t t
110260 s,@multi_basedir@,$multi_basedir,;t t
110261 s,@build@,$build,;t t
110262 s,@build_cpu@,$build_cpu,;t t
110263 s,@build_vendor@,$build_vendor,;t t
110264 s,@build_os@,$build_os,;t t
110265 s,@host@,$host,;t t
110266 s,@host_cpu@,$host_cpu,;t t
110267 s,@host_vendor@,$host_vendor,;t t
110268 s,@host_os@,$host_os,;t t
110269 s,@target@,$target,;t t
110270 s,@target_cpu@,$target_cpu,;t t
110271 s,@target_vendor@,$target_vendor,;t t
110272 s,@target_os@,$target_os,;t t
110273 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
110274 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
110275 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
110276 s,@CYGPATH_W@,$CYGPATH_W,;t t
110277 s,@PACKAGE@,$PACKAGE,;t t
110278 s,@VERSION@,$VERSION,;t t
110279 s,@ACLOCAL@,$ACLOCAL,;t t
110280 s,@AUTOCONF@,$AUTOCONF,;t t
110281 s,@AUTOMAKE@,$AUTOMAKE,;t t
110282 s,@AUTOHEADER@,$AUTOHEADER,;t t
110283 s,@MAKEINFO@,$MAKEINFO,;t t
110284 s,@install_sh@,$install_sh,;t t
110285 s,@STRIP@,$STRIP,;t t
110286 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110287 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110288 s,@mkdir_p@,$mkdir_p,;t t
110289 s,@AWK@,$AWK,;t t
110290 s,@SET_MAKE@,$SET_MAKE,;t t
110291 s,@am__leading_dot@,$am__leading_dot,;t t
110292 s,@AMTAR@,$AMTAR,;t t
110293 s,@am__tar@,$am__tar,;t t
110294 s,@am__untar@,$am__untar,;t t
110295 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110296 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110297 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110298 s,@CC@,$CC,;t t
110299 s,@ac_ct_CC@,$ac_ct_CC,;t t
110300 s,@EXEEXT@,$EXEEXT,;t t
110301 s,@OBJEXT@,$OBJEXT,;t t
110302 s,@CXX@,$CXX,;t t
110303 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110304 s,@CFLAGS@,$CFLAGS,;t t
110305 s,@CXXFLAGS@,$CXXFLAGS,;t t
110306 s,@LN_S@,$LN_S,;t t
110307 s,@AS@,$AS,;t t
110308 s,@ac_ct_AS@,$ac_ct_AS,;t t
110309 s,@AR@,$AR,;t t
110310 s,@ac_ct_AR@,$ac_ct_AR,;t t
110311 s,@RANLIB@,$RANLIB,;t t
110312 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110313 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110314 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110315 s,@MAINT@,$MAINT,;t t
110316 s,@CPP@,$CPP,;t t
110317 s,@CPPFLAGS@,$CPPFLAGS,;t t
110318 s,@EGREP@,$EGREP,;t t
110319 s,@LIBTOOL@,$LIBTOOL,;t t
110320 s,@CXXCPP@,$CXXCPP,;t t
110321 s,@enable_shared@,$enable_shared,;t t
110322 s,@enable_static@,$enable_static,;t t
110323 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110324 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110325 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110326 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110327 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110328 s,@CSTDIO_H@,$CSTDIO_H,;t t
110329 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110330 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110331 s,@check_msgfmt@,$check_msgfmt,;t t
110332 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110333 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110334 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110335 s,@USE_NLS@,$USE_NLS,;t t
110336 s,@CLOCALE_H@,$CLOCALE_H,;t t
110337 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110338 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110339 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110340 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
110341 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
110342 s,@CMONEY_CC@,$CMONEY_CC,;t t
110343 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
110344 s,@CTIME_H@,$CTIME_H,;t t
110345 s,@CTIME_CC@,$CTIME_CC,;t t
110346 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
110347 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
110348 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
110349 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
110350 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
110351 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
110352 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
110353 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
110354 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
110355 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
110356 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
110357 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
110358 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
110359 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
110360 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
110361 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
110362 s,@WERROR@,$WERROR,;t t
110363 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
110364 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
110365 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
110366 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
110367 s,@LIBICONV@,$LIBICONV,;t t
110368 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
110369 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
110370 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
110371 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
110372 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
110373 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
110374 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
110375 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
110376 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
110377 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
110378 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
110379 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
110380 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
110381 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
110382 s,@baseline_dir@,$baseline_dir,;t t
110383 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
110384 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
110385 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
110386 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
110387 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
110388 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
110389 s,@gxx_include_dir@,$gxx_include_dir,;t t
110390 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
110391 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
110392 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
110393 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
110394 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
110395 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
110396 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
110397 s,@LIBOBJS@,$LIBOBJS,;t t
110398 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
110399 CEOF
110400
110401 _ACEOF
110402
110403   cat >>$CONFIG_STATUS <<\_ACEOF
110404   # Split the substitutions into bite-sized pieces for seds with
110405   # small command number limits, like on Digital OSF/1 and HP-UX.
110406   ac_max_sed_lines=48
110407   ac_sed_frag=1 # Number of current file.
110408   ac_beg=1 # First line for current file.
110409   ac_end=$ac_max_sed_lines # Line after last line for current file.
110410   ac_more_lines=:
110411   ac_sed_cmds=
110412   while $ac_more_lines; do
110413     if test $ac_beg -gt 1; then
110414       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110415     else
110416       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110417     fi
110418     if test ! -s $tmp/subs.frag; then
110419       ac_more_lines=false
110420     else
110421       # The purpose of the label and of the branching condition is to
110422       # speed up the sed processing (if there are no `@' at all, there
110423       # is no need to browse any of the substitutions).
110424       # These are the two extra sed commands mentioned above.
110425       (echo ':t
110426   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
110427       if test -z "$ac_sed_cmds"; then
110428         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
110429       else
110430         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
110431       fi
110432       ac_sed_frag=`expr $ac_sed_frag + 1`
110433       ac_beg=$ac_end
110434       ac_end=`expr $ac_end + $ac_max_sed_lines`
110435     fi
110436   done
110437   if test -z "$ac_sed_cmds"; then
110438     ac_sed_cmds=cat
110439   fi
110440 fi # test -n "$CONFIG_FILES"
110441
110442 _ACEOF
110443 cat >>$CONFIG_STATUS <<\_ACEOF
110444 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
110445   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110446   case $ac_file in
110447   - | *:- | *:-:* ) # input from stdin
110448         cat >$tmp/stdin
110449         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110450         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110451   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110452         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110453   * )   ac_file_in=$ac_file.in ;;
110454   esac
110455
110456   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
110457   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110459          X"$ac_file" : 'X\(//\)[^/]' \| \
110460          X"$ac_file" : 'X\(//\)$' \| \
110461          X"$ac_file" : 'X\(/\)' \| \
110462          .     : '\(.\)' 2>/dev/null ||
110463 echo X"$ac_file" |
110464     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110465           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110466           /^X\(\/\/\)$/{ s//\1/; q; }
110467           /^X\(\/\).*/{ s//\1/; q; }
110468           s/.*/./; q'`
110469   { if $as_mkdir_p; then
110470     mkdir -p "$ac_dir"
110471   else
110472     as_dir="$ac_dir"
110473     as_dirs=
110474     while test ! -d "$as_dir"; do
110475       as_dirs="$as_dir $as_dirs"
110476       as_dir=`(dirname "$as_dir") 2>/dev/null ||
110477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110478          X"$as_dir" : 'X\(//\)[^/]' \| \
110479          X"$as_dir" : 'X\(//\)$' \| \
110480          X"$as_dir" : 'X\(/\)' \| \
110481          .     : '\(.\)' 2>/dev/null ||
110482 echo X"$as_dir" |
110483     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110484           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110485           /^X\(\/\/\)$/{ s//\1/; q; }
110486           /^X\(\/\).*/{ s//\1/; q; }
110487           s/.*/./; q'`
110488     done
110489     test ! -n "$as_dirs" || mkdir $as_dirs
110490   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110492    { (exit 1); exit 1; }; }; }
110493
110494   ac_builddir=.
110495
110496 if test "$ac_dir" != .; then
110497   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110498   # A "../" for each directory in $ac_dir_suffix.
110499   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110500 else
110501   ac_dir_suffix= ac_top_builddir=
110502 fi
110503
110504 case $srcdir in
110505   .)  # No --srcdir option.  We are building in place.
110506     ac_srcdir=.
110507     if test -z "$ac_top_builddir"; then
110508        ac_top_srcdir=.
110509     else
110510        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110511     fi ;;
110512   [\\/]* | ?:[\\/]* )  # Absolute path.
110513     ac_srcdir=$srcdir$ac_dir_suffix;
110514     ac_top_srcdir=$srcdir ;;
110515   *) # Relative path.
110516     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110517     ac_top_srcdir=$ac_top_builddir$srcdir ;;
110518 esac
110519
110520 # Do not use `cd foo && pwd` to compute absolute paths, because
110521 # the directories may not exist.
110522 case `pwd` in
110523 .) ac_abs_builddir="$ac_dir";;
110524 *)
110525   case "$ac_dir" in
110526   .) ac_abs_builddir=`pwd`;;
110527   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110528   *) ac_abs_builddir=`pwd`/"$ac_dir";;
110529   esac;;
110530 esac
110531 case $ac_abs_builddir in
110532 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110533 *)
110534   case ${ac_top_builddir}. in
110535   .) ac_abs_top_builddir=$ac_abs_builddir;;
110536   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110537   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110538   esac;;
110539 esac
110540 case $ac_abs_builddir in
110541 .) ac_abs_srcdir=$ac_srcdir;;
110542 *)
110543   case $ac_srcdir in
110544   .) ac_abs_srcdir=$ac_abs_builddir;;
110545   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110546   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110547   esac;;
110548 esac
110549 case $ac_abs_builddir in
110550 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110551 *)
110552   case $ac_top_srcdir in
110553   .) ac_abs_top_srcdir=$ac_abs_builddir;;
110554   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110555   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110556   esac;;
110557 esac
110558
110559
110560   case $INSTALL in
110561   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
110562   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
110563   esac
110564
110565   if test x"$ac_file" != x-; then
110566     { echo "$as_me:$LINENO: creating $ac_file" >&5
110567 echo "$as_me: creating $ac_file" >&6;}
110568     rm -f "$ac_file"
110569   fi
110570   # Let's still pretend it is `configure' which instantiates (i.e., don't
110571   # use $as_me), people would be surprised to read:
110572   #    /* config.h.  Generated by config.status.  */
110573   if test x"$ac_file" = x-; then
110574     configure_input=
110575   else
110576     configure_input="$ac_file.  "
110577   fi
110578   configure_input=$configure_input"Generated from `echo $ac_file_in |
110579                                      sed 's,.*/,,'` by configure."
110580
110581   # First look for the input files in the build tree, otherwise in the
110582   # src tree.
110583   ac_file_inputs=`IFS=:
110584     for f in $ac_file_in; do
110585       case $f in
110586       -) echo $tmp/stdin ;;
110587       [\\/$]*)
110588          # Absolute (can't be DOS-style, as IFS=:)
110589          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110590 echo "$as_me: error: cannot find input file: $f" >&2;}
110591    { (exit 1); exit 1; }; }
110592          echo "$f";;
110593       *) # Relative
110594          if test -f "$f"; then
110595            # Build tree
110596            echo "$f"
110597          elif test -f "$srcdir/$f"; then
110598            # Source tree
110599            echo "$srcdir/$f"
110600          else
110601            # /dev/null tree
110602            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110603 echo "$as_me: error: cannot find input file: $f" >&2;}
110604    { (exit 1); exit 1; }; }
110605          fi;;
110606       esac
110607     done` || { (exit 1); exit 1; }
110608 _ACEOF
110609 cat >>$CONFIG_STATUS <<_ACEOF
110610   sed "$ac_vpsub
110611 $extrasub
110612 _ACEOF
110613 cat >>$CONFIG_STATUS <<\_ACEOF
110614 :t
110615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
110616 s,@configure_input@,$configure_input,;t t
110617 s,@srcdir@,$ac_srcdir,;t t
110618 s,@abs_srcdir@,$ac_abs_srcdir,;t t
110619 s,@top_srcdir@,$ac_top_srcdir,;t t
110620 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
110621 s,@builddir@,$ac_builddir,;t t
110622 s,@abs_builddir@,$ac_abs_builddir,;t t
110623 s,@top_builddir@,$ac_top_builddir,;t t
110624 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
110625 s,@INSTALL@,$ac_INSTALL,;t t
110626 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
110627   rm -f $tmp/stdin
110628   if test x"$ac_file" != x-; then
110629     mv $tmp/out $ac_file
110630   else
110631     cat $tmp/out
110632     rm -f $tmp/out
110633   fi
110634
110635   # Run the commands associated with the file.
110636   case $ac_file in
110637     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
110638   esac
110639 done
110640 _ACEOF
110641 cat >>$CONFIG_STATUS <<\_ACEOF
110642
110643 #
110644 # CONFIG_HEADER section.
110645 #
110646
110647 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
110648 # NAME is the cpp macro being defined and VALUE is the value it is being given.
110649 #
110650 # ac_d sets the value in "#define NAME VALUE" lines.
110651 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
110652 ac_dB='[         ].*$,\1#\2'
110653 ac_dC=' '
110654 ac_dD=',;t'
110655 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
110656 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
110657 ac_uB='$,\1#\2define\3'
110658 ac_uC=' '
110659 ac_uD=',;t'
110660
110661 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
110662   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110663   case $ac_file in
110664   - | *:- | *:-:* ) # input from stdin
110665         cat >$tmp/stdin
110666         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110667         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110668   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110669         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110670   * )   ac_file_in=$ac_file.in ;;
110671   esac
110672
110673   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
110674 echo "$as_me: creating $ac_file" >&6;}
110675
110676   # First look for the input files in the build tree, otherwise in the
110677   # src tree.
110678   ac_file_inputs=`IFS=:
110679     for f in $ac_file_in; do
110680       case $f in
110681       -) echo $tmp/stdin ;;
110682       [\\/$]*)
110683          # Absolute (can't be DOS-style, as IFS=:)
110684          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110685 echo "$as_me: error: cannot find input file: $f" >&2;}
110686    { (exit 1); exit 1; }; }
110687          # Do quote $f, to prevent DOS paths from being IFS'd.
110688          echo "$f";;
110689       *) # Relative
110690          if test -f "$f"; then
110691            # Build tree
110692            echo "$f"
110693          elif test -f "$srcdir/$f"; then
110694            # Source tree
110695            echo "$srcdir/$f"
110696          else
110697            # /dev/null tree
110698            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110699 echo "$as_me: error: cannot find input file: $f" >&2;}
110700    { (exit 1); exit 1; }; }
110701          fi;;
110702       esac
110703     done` || { (exit 1); exit 1; }
110704   # Remove the trailing spaces.
110705   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
110706
110707 _ACEOF
110708
110709 # Transform confdefs.h into two sed scripts, `conftest.defines' and
110710 # `conftest.undefs', that substitutes the proper values into
110711 # config.h.in to produce config.h.  The first handles `#define'
110712 # templates, and the second `#undef' templates.
110713 # And first: Protect against being on the right side of a sed subst in
110714 # config.status.  Protect against being in an unquoted here document
110715 # in config.status.
110716 rm -f conftest.defines conftest.undefs
110717 # Using a here document instead of a string reduces the quoting nightmare.
110718 # Putting comments in sed scripts is not portable.
110719 #
110720 # `end' is used to avoid that the second main sed command (meant for
110721 # 0-ary CPP macros) applies to n-ary macro definitions.
110722 # See the Autoconf documentation for `clear'.
110723 cat >confdef2sed.sed <<\_ACEOF
110724 s/[\\&,]/\\&/g
110725 s,[\\$`],\\&,g
110726 t clear
110727 : clear
110728 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
110729 t end
110730 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
110731 : end
110732 _ACEOF
110733 # If some macros were called several times there might be several times
110734 # the same #defines, which is useless.  Nevertheless, we may not want to
110735 # sort them, since we want the *last* AC-DEFINE to be honored.
110736 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
110737 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
110738 rm -f confdef2sed.sed
110739
110740 # This sed command replaces #undef with comments.  This is necessary, for
110741 # example, in the case of _POSIX_SOURCE, which is predefined and required
110742 # on some systems where configure will not decide to define it.
110743 cat >>conftest.undefs <<\_ACEOF
110744 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
110745 _ACEOF
110746
110747 # Break up conftest.defines because some shells have a limit on the size
110748 # of here documents, and old seds have small limits too (100 cmds).
110749 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
110750 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
110751 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
110752 echo '  :' >>$CONFIG_STATUS
110753 rm -f conftest.tail
110754 while grep . conftest.defines >/dev/null
110755 do
110756   # Write a limited-size here document to $tmp/defines.sed.
110757   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
110758   # Speed up: don't consider the non `#define' lines.
110759   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
110760   # Work around the forget-to-reset-the-flag bug.
110761   echo 't clr' >>$CONFIG_STATUS
110762   echo ': clr' >>$CONFIG_STATUS
110763   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
110764   echo 'CEOF
110765   sed -f $tmp/defines.sed $tmp/in >$tmp/out
110766   rm -f $tmp/in
110767   mv $tmp/out $tmp/in
110768 ' >>$CONFIG_STATUS
110769   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
110770   rm -f conftest.defines
110771   mv conftest.tail conftest.defines
110772 done
110773 rm -f conftest.defines
110774 echo '  fi # grep' >>$CONFIG_STATUS
110775 echo >>$CONFIG_STATUS
110776
110777 # Break up conftest.undefs because some shells have a limit on the size
110778 # of here documents, and old seds have small limits too (100 cmds).
110779 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
110780 rm -f conftest.tail
110781 while grep . conftest.undefs >/dev/null
110782 do
110783   # Write a limited-size here document to $tmp/undefs.sed.
110784   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
110785   # Speed up: don't consider the non `#undef'
110786   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
110787   # Work around the forget-to-reset-the-flag bug.
110788   echo 't clr' >>$CONFIG_STATUS
110789   echo ': clr' >>$CONFIG_STATUS
110790   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
110791   echo 'CEOF
110792   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
110793   rm -f $tmp/in
110794   mv $tmp/out $tmp/in
110795 ' >>$CONFIG_STATUS
110796   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
110797   rm -f conftest.undefs
110798   mv conftest.tail conftest.undefs
110799 done
110800 rm -f conftest.undefs
110801
110802 cat >>$CONFIG_STATUS <<\_ACEOF
110803   # Let's still pretend it is `configure' which instantiates (i.e., don't
110804   # use $as_me), people would be surprised to read:
110805   #    /* config.h.  Generated by config.status.  */
110806   if test x"$ac_file" = x-; then
110807     echo "/* Generated by configure.  */" >$tmp/config.h
110808   else
110809     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
110810   fi
110811   cat $tmp/in >>$tmp/config.h
110812   rm -f $tmp/in
110813   if test x"$ac_file" != x-; then
110814     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
110815       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
110816 echo "$as_me: $ac_file is unchanged" >&6;}
110817     else
110818       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110819 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110820          X"$ac_file" : 'X\(//\)[^/]' \| \
110821          X"$ac_file" : 'X\(//\)$' \| \
110822          X"$ac_file" : 'X\(/\)' \| \
110823          .     : '\(.\)' 2>/dev/null ||
110824 echo X"$ac_file" |
110825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110826           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110827           /^X\(\/\/\)$/{ s//\1/; q; }
110828           /^X\(\/\).*/{ s//\1/; q; }
110829           s/.*/./; q'`
110830       { if $as_mkdir_p; then
110831     mkdir -p "$ac_dir"
110832   else
110833     as_dir="$ac_dir"
110834     as_dirs=
110835     while test ! -d "$as_dir"; do
110836       as_dirs="$as_dir $as_dirs"
110837       as_dir=`(dirname "$as_dir") 2>/dev/null ||
110838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110839          X"$as_dir" : 'X\(//\)[^/]' \| \
110840          X"$as_dir" : 'X\(//\)$' \| \
110841          X"$as_dir" : 'X\(/\)' \| \
110842          .     : '\(.\)' 2>/dev/null ||
110843 echo X"$as_dir" |
110844     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110845           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110846           /^X\(\/\/\)$/{ s//\1/; q; }
110847           /^X\(\/\).*/{ s//\1/; q; }
110848           s/.*/./; q'`
110849     done
110850     test ! -n "$as_dirs" || mkdir $as_dirs
110851   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110853    { (exit 1); exit 1; }; }; }
110854
110855       rm -f $ac_file
110856       mv $tmp/config.h $ac_file
110857     fi
110858   else
110859     cat $tmp/config.h
110860     rm -f $tmp/config.h
110861   fi
110862 # Compute $ac_file's index in $config_headers.
110863 _am_stamp_count=1
110864 for _am_header in $config_headers :; do
110865   case $_am_header in
110866     $ac_file | $ac_file:* )
110867       break ;;
110868     * )
110869       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
110870   esac
110871 done
110872 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
110873 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110874          X$ac_file : 'X\(//\)[^/]' \| \
110875          X$ac_file : 'X\(//\)$' \| \
110876          X$ac_file : 'X\(/\)' \| \
110877          .     : '\(.\)' 2>/dev/null ||
110878 echo X$ac_file |
110879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110880           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110881           /^X\(\/\/\)$/{ s//\1/; q; }
110882           /^X\(\/\).*/{ s//\1/; q; }
110883           s/.*/./; q'`/stamp-h$_am_stamp_count
110884 done
110885 _ACEOF
110886 cat >>$CONFIG_STATUS <<\_ACEOF
110887
110888 #
110889 # CONFIG_COMMANDS section.
110890 #
110891 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
110892   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
110893   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
110894   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
110895 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110896          X"$ac_dest" : 'X\(//\)[^/]' \| \
110897          X"$ac_dest" : 'X\(//\)$' \| \
110898          X"$ac_dest" : 'X\(/\)' \| \
110899          .     : '\(.\)' 2>/dev/null ||
110900 echo X"$ac_dest" |
110901     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110902           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110903           /^X\(\/\/\)$/{ s//\1/; q; }
110904           /^X\(\/\).*/{ s//\1/; q; }
110905           s/.*/./; q'`
110906   { if $as_mkdir_p; then
110907     mkdir -p "$ac_dir"
110908   else
110909     as_dir="$ac_dir"
110910     as_dirs=
110911     while test ! -d "$as_dir"; do
110912       as_dirs="$as_dir $as_dirs"
110913       as_dir=`(dirname "$as_dir") 2>/dev/null ||
110914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110915          X"$as_dir" : 'X\(//\)[^/]' \| \
110916          X"$as_dir" : 'X\(//\)$' \| \
110917          X"$as_dir" : 'X\(/\)' \| \
110918          .     : '\(.\)' 2>/dev/null ||
110919 echo X"$as_dir" |
110920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110921           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110922           /^X\(\/\/\)$/{ s//\1/; q; }
110923           /^X\(\/\).*/{ s//\1/; q; }
110924           s/.*/./; q'`
110925     done
110926     test ! -n "$as_dirs" || mkdir $as_dirs
110927   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110928 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110929    { (exit 1); exit 1; }; }; }
110930
110931   ac_builddir=.
110932
110933 if test "$ac_dir" != .; then
110934   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110935   # A "../" for each directory in $ac_dir_suffix.
110936   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110937 else
110938   ac_dir_suffix= ac_top_builddir=
110939 fi
110940
110941 case $srcdir in
110942   .)  # No --srcdir option.  We are building in place.
110943     ac_srcdir=.
110944     if test -z "$ac_top_builddir"; then
110945        ac_top_srcdir=.
110946     else
110947        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110948     fi ;;
110949   [\\/]* | ?:[\\/]* )  # Absolute path.
110950     ac_srcdir=$srcdir$ac_dir_suffix;
110951     ac_top_srcdir=$srcdir ;;
110952   *) # Relative path.
110953     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110954     ac_top_srcdir=$ac_top_builddir$srcdir ;;
110955 esac
110956
110957 # Do not use `cd foo && pwd` to compute absolute paths, because
110958 # the directories may not exist.
110959 case `pwd` in
110960 .) ac_abs_builddir="$ac_dir";;
110961 *)
110962   case "$ac_dir" in
110963   .) ac_abs_builddir=`pwd`;;
110964   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110965   *) ac_abs_builddir=`pwd`/"$ac_dir";;
110966   esac;;
110967 esac
110968 case $ac_abs_builddir in
110969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110970 *)
110971   case ${ac_top_builddir}. in
110972   .) ac_abs_top_builddir=$ac_abs_builddir;;
110973   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110974   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110975   esac;;
110976 esac
110977 case $ac_abs_builddir in
110978 .) ac_abs_srcdir=$ac_srcdir;;
110979 *)
110980   case $ac_srcdir in
110981   .) ac_abs_srcdir=$ac_abs_builddir;;
110982   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110983   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110984   esac;;
110985 esac
110986 case $ac_abs_builddir in
110987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110988 *)
110989   case $ac_top_srcdir in
110990   .) ac_abs_top_srcdir=$ac_abs_builddir;;
110991   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110992   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110993   esac;;
110994 esac
110995
110996
110997   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
110998 echo "$as_me: executing $ac_dest commands" >&6;}
110999   case $ac_dest in
111000     default-1 )
111001 # Only add multilib support code if we just rebuilt the top-level
111002 # Makefile.
111003 case " $CONFIG_FILES " in
111004  *" Makefile "*)
111005    ac_file=Makefile . ${multi_basedir}/config-ml.in
111006    ;;
111007 esac ;;
111008     default ) if test -n "$CONFIG_FILES"; then
111009    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111010    # that multilib installs will end up installed in the correct place.
111011    # The testsuite needs it for multilib-aware ABI baseline files.
111012    # To work around this not being passed down from config-ml.in ->
111013    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111014    # append it here.  Only modify Makefiles that have just been created.
111015    #
111016    # Also, get rid of this simulated-VPATH thing that automake does.
111017    cat > vpsed << \_EOF
111018 s!`test -f '$<' || echo '$(srcdir)/'`!!
111019 _EOF
111020    for i in $SUBDIRS; do
111021     case $CONFIG_FILES in
111022      *${i}/Makefile*)
111023        #echo "Adding MULTISUBDIR to $i/Makefile"
111024        sed -f vpsed $i/Makefile > tmp
111025        grep '^MULTISUBDIR =' Makefile >> tmp
111026        mv tmp $i/Makefile
111027        ;;
111028     esac
111029    done
111030    rm vpsed
111031  fi
111032  (cd include && ${MAKE-make})
111033  ;;
111034   esac
111035 done
111036 _ACEOF
111037
111038 cat >>$CONFIG_STATUS <<\_ACEOF
111039
111040 { (exit 0); exit 0; }
111041 _ACEOF
111042 chmod +x $CONFIG_STATUS
111043 ac_clean_files=$ac_clean_files_save
111044
111045
111046 # configure is writing to config.log, and then calls config.status.
111047 # config.status does its own redirection, appending to config.log.
111048 # Unfortunately, on DOS this fails, as config.log is still kept open
111049 # by configure, so config.status won't be able to write to it; its
111050 # output is simply discarded.  So we exec the FD to /dev/null,
111051 # effectively closing config.log, so it can be properly (re)opened and
111052 # appended to by config.status.  When coming back to configure, we
111053 # need to make the FD available again.
111054 if test "$no_create" != yes; then
111055   ac_cs_success=:
111056   ac_config_status_args=
111057   test "$silent" = yes &&
111058     ac_config_status_args="$ac_config_status_args --quiet"
111059   exec 5>/dev/null
111060   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111061   exec 5>>config.log
111062   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111063   # would make configure fail if this is the last instruction.
111064   $ac_cs_success || { (exit 1); exit 1; }
111065 fi
111066